Add core Ox modules as ES modules with tests

This commit adds ES module versions of fundamental Ox utilities:
- Array utilities (api, compact, unique, zip, etc.)
- String utilities (capitalize, clean, truncate, wordwrap, etc.)
- Math utilities (trig functions, geographic calculations, etc.)
- Object utilities (clone, serialize, keys/values, etc.)
- Function utilities (cache, debounce, throttle, memoize, etc.)
- Constants (math, time, colors, HTTP status codes)
- Polyfills for older browser compatibility

All modules include proper imports/exports and maintain the same API
as the original implementations. Added comprehensive test coverage with
31 tests passing.

Next steps: Convert remaining core modules, set up build pipeline,
and test backward compatibility with existing examples.

🤖 Generated with AI assistance
This commit is contained in:
Sanjay Bhangar 2026-02-09 17:32:06 +05:30
commit a8a7dc9445
2456 changed files with 149714 additions and 0 deletions

1
dev/UI/UI.js Symbolic link
View file

@ -0,0 +1 @@
../../source/UI/UI.js

2970
dev/UI/css/UI.css Normal file

File diff suppressed because it is too large Load diff

1
dev/UI/jquery/jquery.js vendored Symbolic link
View file

@ -0,0 +1 @@
../../../source/UI/jquery/jquery-1.7.1.js

View file

@ -0,0 +1 @@
../../../source/UI/jquery/jquery.mousewheel.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Audio/AudioElement.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Audio/AudioPlayer.js

1
dev/UI/js/Bar/Bar.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Bar/Bar.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Bar/Progressbar.js

1
dev/UI/js/Bar/Resizebar.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Bar/Resizebar.js

1
dev/UI/js/Bar/Tabbar.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Bar/Tabbar.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Calendar/Calendar.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Calendar/CalendarEditor.js

1
dev/UI/js/Code/DocPage.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Code/DocPage.js

1
dev/UI/js/Code/DocPanel.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Code/DocPanel.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Code/ExamplePage.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Code/ExamplePanel.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Code/SourceViewer.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Code/SyntaxHighlighter.js

1
dev/UI/js/Core/API.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/API.js

1
dev/UI/js/Core/App.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/App.js

1
dev/UI/js/Core/Clipboard.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Clipboard.js

1
dev/UI/js/Core/Container.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Container.js

1
dev/UI/js/Core/Cookies.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Cookies.js

1
dev/UI/js/Core/Element.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Element.js

1
dev/UI/js/Core/Event.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Event.js

1
dev/UI/js/Core/Focus.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Focus.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Fullscreen.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/GarbageCollection.js

1
dev/UI/js/Core/History.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/History.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/LoadingIcon.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/LoadingScreen.js

1
dev/UI/js/Core/Request.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Request.js

1
dev/UI/js/Core/Theme.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/Theme.js

1
dev/UI/js/Core/UI.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/UI.js

1
dev/UI/js/Core/URL.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Core/URL.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ArrayEditable.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ArrayInput.js

1
dev/UI/js/Form/Button.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Button.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ButtonGroup.js

1
dev/UI/js/Form/Checkbox.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Checkbox.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/CheckboxGroup.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ColorInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ColorPicker.js

1
dev/UI/js/Form/DateInput.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/DateInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/DateTimeInput.js

1
dev/UI/js/Form/Editable.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Editable.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/EditableContent.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/FileButton.js

1
dev/UI/js/Form/FileInput.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/FileInput.js

1
dev/UI/js/Form/Filter.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Filter.js

1
dev/UI/js/Form/Form.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Form.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/FormElementGroup.js

1
dev/UI/js/Form/FormItem.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/FormItem.js

1
dev/UI/js/Form/FormPanel.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/FormPanel.js

1
dev/UI/js/Form/Input.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Input.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/InputGroup.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/InsertHTMLDialog.js

1
dev/UI/js/Form/Label.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Label.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ObjectArrayInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/ObjectInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/OptionGroup.js

1
dev/UI/js/Form/Picker.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Picker.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/PlaceInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/PlacePicker.js

1
dev/UI/js/Form/Range.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Range.js

1
dev/UI/js/Form/Select.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Select.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/SelectInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/Spreadsheet.js

1
dev/UI/js/Form/TimeInput.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Form/TimeInput.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Image/ImageElement.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Image/ImageViewer.js

1
dev/UI/js/List/Chart.js vendored Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/Chart.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/List/ColumnList.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/List/CustomList.js

1
dev/UI/js/List/IconItem.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/IconItem.js

1
dev/UI/js/List/IconList.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/IconList.js

1
dev/UI/js/List/InfoList.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/InfoList.js

1
dev/UI/js/List/List.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/List.js

1
dev/UI/js/List/ListItem.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/ListItem.js

1
dev/UI/js/List/SortList.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/SortList.js

1
dev/UI/js/List/TableList.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/TableList.js

1
dev/UI/js/List/TreeList.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/List/TreeList.js

1
dev/UI/js/Map/LeafletMap.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/LeafletMap.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/LeafletMapMarker.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/LeafletMapPlace.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/LeafletMapRectangle.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/LeafletMapRectangleMarker.js

1
dev/UI/js/Map/Map.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/Map.js

1
dev/UI/js/Map/MapEditor.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapEditor.js

1
dev/UI/js/Map/MapImage.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapImage.js

1
dev/UI/js/Map/MapMarker.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapMarker.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapMarkerImage.js

1
dev/UI/js/Map/MapPlace.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapPlace.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapRectangle.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Map/MapRectangleMarker.js

1
dev/UI/js/Menu/MainMenu.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Menu/MainMenu.js

1
dev/UI/js/Menu/Menu.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Menu/Menu.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Menu/MenuButton.js

1
dev/UI/js/Menu/MenuItem.js Symbolic link
View file

@ -0,0 +1 @@
../../../../source/UI/js/Menu/MenuItem.js

View file

@ -0,0 +1 @@
../../../../source/UI/js/Panel/CollapsePanel.js

Some files were not shown because too many files have changed in this diff Show more