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

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