@refinitiv-ui/efx-grid 6.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +17 -0
- package/README.md +61 -0
- package/lib/column-format-dialog/index.d.ts +1 -0
- package/lib/column-format-dialog/index.js +1 -0
- package/lib/column-format-dialog/lib/column-format-dialog.d.ts +64 -0
- package/lib/column-format-dialog/lib/column-format-dialog.js +2713 -0
- package/lib/column-format-dialog/lib/locale/translation-de.d.ts +7 -0
- package/lib/column-format-dialog/lib/locale/translation-de.js +94 -0
- package/lib/column-format-dialog/lib/locale/translation-en.d.ts +7 -0
- package/lib/column-format-dialog/lib/locale/translation-en.js +94 -0
- package/lib/column-format-dialog/lib/locale/translation-ja.d.ts +7 -0
- package/lib/column-format-dialog/lib/locale/translation-ja.js +94 -0
- package/lib/column-format-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
- package/lib/column-format-dialog/lib/locale/translation-zh-hant.js +94 -0
- package/lib/column-format-dialog/lib/locale/translation-zh.d.ts +7 -0
- package/lib/column-format-dialog/lib/locale/translation-zh.js +94 -0
- package/lib/column-format-dialog/lib/locale/translation.d.ts +11 -0
- package/lib/column-format-dialog/lib/locale/translation.js +18 -0
- package/lib/column-format-dialog/lib/preview-table.d.ts +151 -0
- package/lib/column-format-dialog/lib/preview-table.js +995 -0
- package/lib/column-format-dialog/themes/base.less +429 -0
- package/lib/column-format-dialog/themes/elemental/column-format-dialog.less +1 -0
- package/lib/column-format-dialog/themes/elemental/dark/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/elemental/dark/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/elemental/dark/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/elemental/dark/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/elemental/dark/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/elemental/dark.js +16 -0
- package/lib/column-format-dialog/themes/elemental/defaults.less +1 -0
- package/lib/column-format-dialog/themes/elemental/index.less +5 -0
- package/lib/column-format-dialog/themes/elemental/light/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/elemental/light/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/elemental/light/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/elemental/light/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/elemental/light/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/elemental/light/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/elemental/light.js +16 -0
- package/lib/column-format-dialog/themes/halo/column-format-dialog.less +6 -0
- package/lib/column-format-dialog/themes/halo/dark/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/halo/dark/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/halo/dark/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/halo/dark/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/halo/dark/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/halo/dark/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/halo/dark.js +16 -0
- package/lib/column-format-dialog/themes/halo/defaults.less +1 -0
- package/lib/column-format-dialog/themes/halo/index.less +5 -0
- package/lib/column-format-dialog/themes/halo/light/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/halo/light/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/halo/light/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/halo/light/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/halo/light/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/halo/light/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/halo/light.js +16 -0
- package/lib/column-format-dialog/themes/luna/column-format-dialog.less +1 -0
- package/lib/column-format-dialog/themes/luna/default/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/luna/default/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/luna/default/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/luna/default/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/luna/default/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/luna/default/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/luna/defaults.less +1 -0
- package/lib/column-format-dialog/themes/luna/index.less +5 -0
- package/lib/column-format-dialog/themes/solar/charcoal/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/solar/charcoal/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/solar/charcoal/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/solar/charcoal/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/solar/charcoal.js +16 -0
- package/lib/column-format-dialog/themes/solar/column-format-dialog.less +6 -0
- package/lib/column-format-dialog/themes/solar/defaults.less +1 -0
- package/lib/column-format-dialog/themes/solar/index.less +5 -0
- package/lib/column-format-dialog/themes/solar/pearl/column-format-dialog.js +4 -0
- package/lib/column-format-dialog/themes/solar/pearl/css/native-elements.css +0 -0
- package/lib/column-format-dialog/themes/solar/pearl/es5/all-elements.js +2 -0
- package/lib/column-format-dialog/themes/solar/pearl/imports/all-elements.js +1 -0
- package/lib/column-format-dialog/themes/solar/pearl/imports/custom-elements.js +1 -0
- package/lib/column-format-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
- package/lib/column-format-dialog/themes/solar/pearl.js +16 -0
- package/lib/column-selection-dialog/index.d.ts +1 -0
- package/lib/column-selection-dialog/index.js +1 -0
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +41 -0
- package/lib/column-selection-dialog/lib/column-selection-dialog.js +1410 -0
- package/lib/column-selection-dialog/lib/locale/translation-de.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-de.js +19 -0
- package/lib/column-selection-dialog/lib/locale/translation-en.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-en.js +19 -0
- package/lib/column-selection-dialog/lib/locale/translation-ja.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-ja.js +19 -0
- package/lib/column-selection-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-zh-hant.js +19 -0
- package/lib/column-selection-dialog/lib/locale/translation-zh.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-zh.js +19 -0
- package/lib/column-selection-dialog/lib/locale/translation.d.ts +11 -0
- package/lib/column-selection-dialog/lib/locale/translation.js +18 -0
- package/lib/column-selection-dialog/themes/base.less +189 -0
- package/lib/column-selection-dialog/themes/elemental/column-selection-dialog.less +1 -0
- package/lib/column-selection-dialog/themes/elemental/dark/column-selection-dialog.js +4 -0
- package/lib/column-selection-dialog/themes/elemental/dark/css/native-elements.css +0 -0
- package/lib/column-selection-dialog/themes/elemental/dark/es5/all-elements.js +2 -0
- package/lib/column-selection-dialog/themes/elemental/dark/imports/all-elements.js +1 -0
- package/lib/column-selection-dialog/themes/elemental/dark/imports/custom-elements.js +1 -0
- package/lib/column-selection-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
- package/lib/column-selection-dialog/themes/elemental/dark.js +6 -0
- package/lib/column-selection-dialog/themes/elemental/defaults.less +1 -0
- package/lib/column-selection-dialog/themes/elemental/index.less +5 -0
- package/lib/column-selection-dialog/themes/elemental/light/column-selection-dialog.js +4 -0
- package/lib/column-selection-dialog/themes/elemental/light/css/native-elements.css +0 -0
- package/lib/column-selection-dialog/themes/elemental/light/es5/all-elements.js +2 -0
- package/lib/column-selection-dialog/themes/elemental/light/imports/all-elements.js +1 -0
- package/lib/column-selection-dialog/themes/elemental/light/imports/custom-elements.js +1 -0
- package/lib/column-selection-dialog/themes/elemental/light/imports/native-elements.js +0 -0
- package/lib/column-selection-dialog/themes/elemental/light.js +6 -0
- package/lib/column-selection-dialog/themes/halo/column-selection-dialog.less +22 -0
- package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +4 -0
- package/lib/column-selection-dialog/themes/halo/dark/css/native-elements.css +0 -0
- package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +2 -0
- package/lib/column-selection-dialog/themes/halo/dark/imports/all-elements.js +1 -0
- package/lib/column-selection-dialog/themes/halo/dark/imports/custom-elements.js +1 -0
- package/lib/column-selection-dialog/themes/halo/dark/imports/native-elements.js +0 -0
- package/lib/column-selection-dialog/themes/halo/dark.js +6 -0
- package/lib/column-selection-dialog/themes/halo/defaults.less +1 -0
- package/lib/column-selection-dialog/themes/halo/index.less +6 -0
- package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +4 -0
- package/lib/column-selection-dialog/themes/halo/light/css/native-elements.css +0 -0
- package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +2 -0
- package/lib/column-selection-dialog/themes/halo/light/imports/all-elements.js +1 -0
- package/lib/column-selection-dialog/themes/halo/light/imports/custom-elements.js +1 -0
- package/lib/column-selection-dialog/themes/halo/light/imports/native-elements.js +0 -0
- package/lib/column-selection-dialog/themes/halo/light.js +6 -0
- package/lib/column-selection-dialog/themes/solar/charcoal/column-selection-dialog.js +4 -0
- package/lib/column-selection-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
- package/lib/column-selection-dialog/themes/solar/charcoal/es5/all-elements.js +2 -0
- package/lib/column-selection-dialog/themes/solar/charcoal/imports/all-elements.js +1 -0
- package/lib/column-selection-dialog/themes/solar/charcoal/imports/custom-elements.js +1 -0
- package/lib/column-selection-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
- package/lib/column-selection-dialog/themes/solar/charcoal.js +6 -0
- package/lib/column-selection-dialog/themes/solar/column-selection-dialog.less +1 -0
- package/lib/column-selection-dialog/themes/solar/defaults.less +1 -0
- package/lib/column-selection-dialog/themes/solar/index.less +6 -0
- package/lib/column-selection-dialog/themes/solar/pearl/column-selection-dialog.js +4 -0
- package/lib/column-selection-dialog/themes/solar/pearl/css/native-elements.css +0 -0
- package/lib/column-selection-dialog/themes/solar/pearl/es5/all-elements.js +2 -0
- package/lib/column-selection-dialog/themes/solar/pearl/imports/all-elements.js +1 -0
- package/lib/column-selection-dialog/themes/solar/pearl/imports/custom-elements.js +1 -0
- package/lib/column-selection-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
- package/lib/column-selection-dialog/themes/solar/pearl.js +6 -0
- package/lib/core/dist/core.css +1 -0
- package/lib/core/dist/core.js +28075 -0
- package/lib/core/dist/core.min.js +1 -0
- package/lib/core/es6/data/ColumnStats.d.ts +42 -0
- package/lib/core/es6/data/ColumnStats.js +428 -0
- package/lib/core/es6/data/DataCache.d.ts +81 -0
- package/lib/core/es6/data/DataCache.js +1317 -0
- package/lib/core/es6/data/DataTable.d.ts +125 -0
- package/lib/core/es6/data/DataTable.js +1655 -0
- package/lib/core/es6/data/DataView.d.ts +280 -0
- package/lib/core/es6/data/DataView.js +3654 -0
- package/lib/core/es6/data/Segment.d.ts +38 -0
- package/lib/core/es6/data/Segment.js +193 -0
- package/lib/core/es6/data/SegmentCollection.d.ts +58 -0
- package/lib/core/es6/data/SegmentCollection.js +431 -0
- package/lib/core/es6/grid/Core.d.ts +387 -0
- package/lib/core/es6/grid/Core.js +4939 -0
- package/lib/core/es6/grid/ILayoutGrid.d.ts +204 -0
- package/lib/core/es6/grid/ILayoutGrid.js +658 -0
- package/lib/core/es6/grid/LayoutGrid.d.ts +23 -0
- package/lib/core/es6/grid/LayoutGrid.js +2602 -0
- package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +18 -0
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +907 -0
- package/lib/core/es6/grid/components/Cell.d.ts +50 -0
- package/lib/core/es6/grid/components/Cell.js +740 -0
- package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +19 -0
- package/lib/core/es6/grid/components/CellFloatingPanel.js +123 -0
- package/lib/core/es6/grid/components/CellSpan.d.ts +18 -0
- package/lib/core/es6/grid/components/CellSpan.js +99 -0
- package/lib/core/es6/grid/components/CellSpans.d.ts +38 -0
- package/lib/core/es6/grid/components/CellSpans.js +341 -0
- package/lib/core/es6/grid/components/Column.d.ts +22 -0
- package/lib/core/es6/grid/components/Column.js +612 -0
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +125 -0
- package/lib/core/es6/grid/components/ElementWrapper.js +714 -0
- package/lib/core/es6/grid/components/HScrollbar.d.ts +24 -0
- package/lib/core/es6/grid/components/HScrollbar.js +222 -0
- package/lib/core/es6/grid/components/Scrollbar.d.ts +61 -0
- package/lib/core/es6/grid/components/Scrollbar.js +1374 -0
- package/lib/core/es6/grid/components/StretchedCells.d.ts +17 -0
- package/lib/core/es6/grid/components/StretchedCells.js +328 -0
- package/lib/core/es6/grid/components/VScrollbar.d.ts +18 -0
- package/lib/core/es6/grid/components/VScrollbar.js +139 -0
- package/lib/core/es6/grid/components/VirtualItems.d.ts +12 -0
- package/lib/core/es6/grid/components/VirtualItems.js +51 -0
- package/lib/core/es6/grid/event/EventDispatcher.d.ts +16 -0
- package/lib/core/es6/grid/event/EventDispatcher.js +138 -0
- package/lib/core/es6/grid/event/EventListeners.d.ts +34 -0
- package/lib/core/es6/grid/event/EventListeners.js +163 -0
- package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.d.ts +24 -0
- package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.js +615 -0
- package/lib/core/es6/grid/plugins/Plugin.d.ts +28 -0
- package/lib/core/es6/grid/plugins/Plugin.js +272 -0
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +127 -0
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +1707 -0
- package/lib/core/es6/grid/util/Conflator.d.ts +32 -0
- package/lib/core/es6/grid/util/Conflator.js +191 -0
- package/lib/core/es6/grid/util/ElementFrameWork.d.ts +18 -0
- package/lib/core/es6/grid/util/ElementFrameWork.js +227 -0
- package/lib/core/es6/grid/util/HttpRequest.d.ts +53 -0
- package/lib/core/es6/grid/util/HttpRequest.js +371 -0
- package/lib/core/es6/grid/util/PercentBar.d.ts +43 -0
- package/lib/core/es6/grid/util/PercentBar.js +390 -0
- package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +41 -0
- package/lib/core/es6/grid/util/PercentBarRenderer.js +316 -0
- package/lib/core/es6/grid/util/RangeBar.d.ts +25 -0
- package/lib/core/es6/grid/util/RangeBar.js +255 -0
- package/lib/core/es6/grid/util/Reverter.d.ts +14 -0
- package/lib/core/es6/grid/util/Reverter.js +79 -0
- package/lib/core/es6/grid/util/SectionSettings.d.ts +79 -0
- package/lib/core/es6/grid/util/SectionSettings.js +674 -0
- package/lib/core/es6/grid/util/SelectionList.d.ts +50 -0
- package/lib/core/es6/grid/util/SelectionList.js +422 -0
- package/lib/core/es6/grid/util/TrackLayout.d.ts +84 -0
- package/lib/core/es6/grid/util/TrackLayout.js +850 -0
- package/lib/core/es6/grid/util/Virtualizer.d.ts +40 -0
- package/lib/core/es6/grid/util/Virtualizer.js +340 -0
- package/lib/core/es6/grid/util/util.d.ts +18 -0
- package/lib/core/es6/grid/util/util.js +450 -0
- package/lib/core/es6/index.d.ts +84 -0
- package/lib/core/es6/index.js +132 -0
- package/lib/core/es6/tr-grid-theme.d.ts +5 -0
- package/lib/core/es6/tr-grid-theme.js +5 -0
- package/lib/filter-dialog/index.d.ts +1 -0
- package/lib/filter-dialog/index.js +1 -0
- package/lib/filter-dialog/lib/checkbox-list.d.ts +27 -0
- package/lib/filter-dialog/lib/checkbox-list.js +336 -0
- package/lib/filter-dialog/lib/filter-dialog.d.ts +53 -0
- package/lib/filter-dialog/lib/filter-dialog.js +860 -0
- package/lib/filter-dialog/lib/locale/translation-de.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-de.js +37 -0
- package/lib/filter-dialog/lib/locale/translation-en.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-en.js +37 -0
- package/lib/filter-dialog/lib/locale/translation-ja.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-ja.js +37 -0
- package/lib/filter-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-zh-hant.js +37 -0
- package/lib/filter-dialog/lib/locale/translation-zh.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-zh.js +37 -0
- package/lib/filter-dialog/lib/locale/translation.d.ts +11 -0
- package/lib/filter-dialog/lib/locale/translation.js +18 -0
- package/lib/filter-dialog/themes/base-checkbox.less +37 -0
- package/lib/filter-dialog/themes/base.less +102 -0
- package/lib/filter-dialog/themes/elemental/checkbox-list.less +3 -0
- package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +4 -0
- package/lib/filter-dialog/themes/elemental/dark/css/native-elements.css +0 -0
- package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +4 -0
- package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +5 -0
- package/lib/filter-dialog/themes/elemental/dark/imports/all-elements.js +2 -0
- package/lib/filter-dialog/themes/elemental/dark/imports/custom-elements.js +2 -0
- package/lib/filter-dialog/themes/elemental/dark/imports/native-elements.js +0 -0
- package/lib/filter-dialog/themes/elemental/dark.js +11 -0
- package/lib/filter-dialog/themes/elemental/defaults.less +3 -0
- package/lib/filter-dialog/themes/elemental/filter-dialog.less +1 -0
- package/lib/filter-dialog/themes/elemental/index.less +6 -0
- package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +4 -0
- package/lib/filter-dialog/themes/elemental/light/css/native-elements.css +0 -0
- package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +4 -0
- package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +5 -0
- package/lib/filter-dialog/themes/elemental/light/imports/all-elements.js +2 -0
- package/lib/filter-dialog/themes/elemental/light/imports/custom-elements.js +2 -0
- package/lib/filter-dialog/themes/elemental/light/imports/native-elements.js +0 -0
- package/lib/filter-dialog/themes/elemental/light.js +11 -0
- package/lib/filter-dialog/themes/halo/checkbox-list.less +3 -0
- package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +4 -0
- package/lib/filter-dialog/themes/halo/dark/css/native-elements.css +0 -0
- package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +4 -0
- package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +5 -0
- package/lib/filter-dialog/themes/halo/dark/imports/all-elements.js +2 -0
- package/lib/filter-dialog/themes/halo/dark/imports/custom-elements.js +2 -0
- package/lib/filter-dialog/themes/halo/dark/imports/native-elements.js +0 -0
- package/lib/filter-dialog/themes/halo/dark.js +11 -0
- package/lib/filter-dialog/themes/halo/defaults.less +3 -0
- package/lib/filter-dialog/themes/halo/filter-dialog.less +9 -0
- package/lib/filter-dialog/themes/halo/index.less +6 -0
- package/lib/filter-dialog/themes/halo/light/checkbox-list.js +4 -0
- package/lib/filter-dialog/themes/halo/light/css/native-elements.css +0 -0
- package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +4 -0
- package/lib/filter-dialog/themes/halo/light/filter-dialog.js +5 -0
- package/lib/filter-dialog/themes/halo/light/imports/all-elements.js +2 -0
- package/lib/filter-dialog/themes/halo/light/imports/custom-elements.js +2 -0
- package/lib/filter-dialog/themes/halo/light/imports/native-elements.js +0 -0
- package/lib/filter-dialog/themes/halo/light.js +11 -0
- package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +4 -0
- package/lib/filter-dialog/themes/solar/charcoal/css/native-elements.css +0 -0
- package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +4 -0
- package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +5 -0
- package/lib/filter-dialog/themes/solar/charcoal/imports/all-elements.js +2 -0
- package/lib/filter-dialog/themes/solar/charcoal/imports/custom-elements.js +2 -0
- package/lib/filter-dialog/themes/solar/charcoal/imports/native-elements.js +0 -0
- package/lib/filter-dialog/themes/solar/charcoal.js +11 -0
- package/lib/filter-dialog/themes/solar/checkbox-list.less +3 -0
- package/lib/filter-dialog/themes/solar/defaults.less +3 -0
- package/lib/filter-dialog/themes/solar/filter-dialog.less +5 -0
- package/lib/filter-dialog/themes/solar/index.less +6 -0
- package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +4 -0
- package/lib/filter-dialog/themes/solar/pearl/css/native-elements.css +0 -0
- package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +4 -0
- package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +5 -0
- package/lib/filter-dialog/themes/solar/pearl/imports/all-elements.js +2 -0
- package/lib/filter-dialog/themes/solar/pearl/imports/custom-elements.js +2 -0
- package/lib/filter-dialog/themes/solar/pearl/imports/native-elements.js +0 -0
- package/lib/filter-dialog/themes/solar/pearl.js +11 -0
- package/lib/formatters/es6/CoralButtonFormatter.d.ts +22 -0
- package/lib/formatters/es6/CoralButtonFormatter.js +40 -0
- package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +12 -0
- package/lib/formatters/es6/CoralCheckboxFormatter.js +45 -0
- package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +23 -0
- package/lib/formatters/es6/CoralComboBoxFormatter.js +102 -0
- package/lib/formatters/es6/CoralIconFormatter.d.ts +23 -0
- package/lib/formatters/es6/CoralIconFormatter.js +45 -0
- package/lib/formatters/es6/CoralInputFormatter.d.ts +12 -0
- package/lib/formatters/es6/CoralInputFormatter.js +40 -0
- package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +22 -0
- package/lib/formatters/es6/CoralRadioButtonFormatter.js +80 -0
- package/lib/formatters/es6/CoralSelectFormatter.d.ts +23 -0
- package/lib/formatters/es6/CoralSelectFormatter.js +66 -0
- package/lib/formatters/es6/CoralToggleFormatter.d.ts +12 -0
- package/lib/formatters/es6/CoralToggleFormatter.js +47 -0
- package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +14 -0
- package/lib/formatters/es6/DuplexEmeraldDateTimePickerFormatter.js +119 -0
- package/lib/formatters/es6/EFButtonFormatter.d.ts +22 -0
- package/lib/formatters/es6/EFButtonFormatter.js +40 -0
- package/lib/formatters/es6/EFCheckboxFormatter.d.ts +12 -0
- package/lib/formatters/es6/EFCheckboxFormatter.js +45 -0
- package/lib/formatters/es6/EFComboBoxFormatter.d.ts +23 -0
- package/lib/formatters/es6/EFComboBoxFormatter.js +68 -0
- package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +13 -0
- package/lib/formatters/es6/EFDateTimePickerFormatter.js +55 -0
- package/lib/formatters/es6/EFIconFormatter.d.ts +23 -0
- package/lib/formatters/es6/EFIconFormatter.js +45 -0
- package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +12 -0
- package/lib/formatters/es6/EFNumberFieldFormatter.js +40 -0
- package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +22 -0
- package/lib/formatters/es6/EFRadioButtonFormatter.js +80 -0
- package/lib/formatters/es6/EFSelectFormatter.d.ts +23 -0
- package/lib/formatters/es6/EFSelectFormatter.js +66 -0
- package/lib/formatters/es6/EFTextFieldFormatter.d.ts +12 -0
- package/lib/formatters/es6/EFTextFieldFormatter.js +40 -0
- package/lib/formatters/es6/EFToggleFormatter.d.ts +12 -0
- package/lib/formatters/es6/EFToggleFormatter.js +47 -0
- package/lib/formatters/es6/EmeraldDateTimePickerFormatter.d.ts +13 -0
- package/lib/formatters/es6/EmeraldDateTimePickerFormatter.js +55 -0
- package/lib/formatters/es6/FormatterBuilder.d.ts +22 -0
- package/lib/formatters/es6/FormatterBuilder.js +334 -0
- package/lib/formatters/es6/NumericInputFormatter.d.ts +13 -0
- package/lib/formatters/es6/NumericInputFormatter.js +64 -0
- package/lib/formatters/es6/PercentBarFormatter.d.ts +25 -0
- package/lib/formatters/es6/PercentBarFormatter.js +62 -0
- package/lib/formatters/es6/SimpleImageFormatter.d.ts +21 -0
- package/lib/formatters/es6/SimpleImageFormatter.js +64 -0
- package/lib/formatters/es6/SimpleInputFormatter.d.ts +12 -0
- package/lib/formatters/es6/SimpleInputFormatter.js +40 -0
- package/lib/formatters/es6/SimpleLinkFormatter.d.ts +21 -0
- package/lib/formatters/es6/SimpleLinkFormatter.js +48 -0
- package/lib/formatters/es6/SimpleTickerFormatter.d.ts +25 -0
- package/lib/formatters/es6/SimpleTickerFormatter.js +65 -0
- package/lib/formatters/es6/SimpleToggleFormatter.d.ts +22 -0
- package/lib/formatters/es6/SimpleToggleFormatter.js +132 -0
- package/lib/formatters/es6/TextFormatter.d.ts +12 -0
- package/lib/formatters/es6/TextFormatter.js +30 -0
- package/lib/formatters/es6/index.d.ts +43 -0
- package/lib/formatters/es6/index.js +67 -0
- package/lib/grid/index.d.ts +1 -0
- package/lib/grid/index.js +2 -0
- package/lib/grid/lib/efx-grid.d.ts +32 -0
- package/lib/grid/lib/efx-grid.js +469 -0
- package/lib/grid/themes/base.less +134 -0
- package/lib/grid/themes/halo/dark/css/native-elements.css +0 -0
- package/lib/grid/themes/halo/dark/efx-grid.js +4 -0
- package/lib/grid/themes/halo/dark/es5/all-elements.js +2 -0
- package/lib/grid/themes/halo/dark/imports/all-elements.js +1 -0
- package/lib/grid/themes/halo/dark/imports/custom-elements.js +1 -0
- package/lib/grid/themes/halo/dark/imports/native-elements.js +0 -0
- package/lib/grid/themes/halo/dark.js +3 -0
- package/lib/grid/themes/halo/efx-grid.less +92 -0
- package/lib/grid/themes/halo/index.less +3 -0
- package/lib/grid/themes/halo/light/css/native-elements.css +0 -0
- package/lib/grid/themes/halo/light/efx-grid.js +4 -0
- package/lib/grid/themes/halo/light/es5/all-elements.js +2 -0
- package/lib/grid/themes/halo/light/imports/all-elements.js +1 -0
- package/lib/grid/themes/halo/light/imports/custom-elements.js +1 -0
- package/lib/grid/themes/halo/light/imports/native-elements.js +0 -0
- package/lib/grid/themes/halo/light.js +3 -0
- package/lib/grid/themes/solar/charcoal/css/native-elements.css +0 -0
- package/lib/grid/themes/solar/charcoal/efx-grid.js +4 -0
- package/lib/grid/themes/solar/charcoal/es5/all-elements.js +2 -0
- package/lib/grid/themes/solar/charcoal/imports/all-elements.js +1 -0
- package/lib/grid/themes/solar/charcoal/imports/custom-elements.js +1 -0
- package/lib/grid/themes/solar/charcoal/imports/native-elements.js +0 -0
- package/lib/grid/themes/solar/charcoal.js +3 -0
- package/lib/grid/themes/solar/efx-grid.less +27 -0
- package/lib/grid/themes/solar/index.less +3 -0
- package/lib/grid/themes/solar/pearl/css/native-elements.css +0 -0
- package/lib/grid/themes/solar/pearl/efx-grid.js +4 -0
- package/lib/grid/themes/solar/pearl/es5/all-elements.js +2 -0
- package/lib/grid/themes/solar/pearl/imports/all-elements.js +1 -0
- package/lib/grid/themes/solar/pearl/imports/custom-elements.js +1 -0
- package/lib/grid/themes/solar/pearl/imports/native-elements.js +0 -0
- package/lib/grid/themes/solar/pearl.js +3 -0
- package/lib/index.d.ts +102 -0
- package/lib/index.js +102 -0
- package/lib/row-segmenting/es6/RowSegmenting.d.ts +83 -0
- package/lib/row-segmenting/es6/RowSegmenting.js +592 -0
- package/lib/row-segmenting/es6/index.d.ts +1 -0
- package/lib/row-segmenting/es6/index.js +1 -0
- package/lib/rt-grid/dist/rt-grid.js +44672 -0
- package/lib/rt-grid/dist/rt-grid.min.js +1 -0
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +141 -0
- package/lib/rt-grid/es6/ColumnDefinition.js +1074 -0
- package/lib/rt-grid/es6/DataConnector.d.ts +37 -0
- package/lib/rt-grid/es6/DataConnector.js +266 -0
- package/lib/rt-grid/es6/FieldDefinition.d.ts +20 -0
- package/lib/rt-grid/es6/FieldDefinition.js +418 -0
- package/lib/rt-grid/es6/Grid.d.ts +261 -0
- package/lib/rt-grid/es6/Grid.js +2893 -0
- package/lib/rt-grid/es6/PredefinedFormula.d.ts +16 -0
- package/lib/rt-grid/es6/PredefinedFormula.js +33 -0
- package/lib/rt-grid/es6/ReferenceCounter.d.ts +38 -0
- package/lib/rt-grid/es6/ReferenceCounter.js +230 -0
- package/lib/rt-grid/es6/RowDefinition.d.ts +120 -0
- package/lib/rt-grid/es6/RowDefinition.js +873 -0
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +21 -0
- package/lib/rt-grid/es6/SnapshotFiller.js +252 -0
- package/lib/rt-grid/es6/StyleLoader.d.ts +17 -0
- package/lib/rt-grid/es6/StyleLoader.js +47 -0
- package/lib/rt-grid/es6/index.d.ts +8 -0
- package/lib/rt-grid/es6/index.js +43 -0
- package/lib/statistics-row/es6/StatisticsRow.d.ts +67 -0
- package/lib/statistics-row/es6/StatisticsRow.js +786 -0
- package/lib/statistics-row/es6/index.d.ts +1 -0
- package/lib/statistics-row/es6/index.js +1 -0
- package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.d.ts +45 -0
- package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.js +431 -0
- package/lib/tr-grid-auto-tooltip/es6/index.d.ts +1 -0
- package/lib/tr-grid-auto-tooltip/es6/index.js +1 -0
- package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +67 -0
- package/lib/tr-grid-cell-selection/es6/CellSelection.js +1777 -0
- package/lib/tr-grid-cell-selection/es6/index.d.ts +1 -0
- package/lib/tr-grid-cell-selection/es6/index.js +1 -0
- package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +69 -0
- package/lib/tr-grid-checkbox/es6/Checkbox.js +1476 -0
- package/lib/tr-grid-checkbox/es6/index.d.ts +1 -0
- package/lib/tr-grid-checkbox/es6/index.js +1 -0
- package/lib/tr-grid-column-fitter/es6/ColumnFitter.d.ts +56 -0
- package/lib/tr-grid-column-fitter/es6/ColumnFitter.js +1000 -0
- package/lib/tr-grid-column-fitter/es6/index.d.ts +1 -0
- package/lib/tr-grid-column-fitter/es6/index.js +1 -0
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.d.ts +89 -0
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +615 -0
- package/lib/tr-grid-column-formatting/es6/index.d.ts +1 -0
- package/lib/tr-grid-column-formatting/es6/index.js +1 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +60 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +913 -0
- package/lib/tr-grid-column-grouping/es6/index.d.ts +1 -0
- package/lib/tr-grid-column-grouping/es6/index.js +1 -0
- package/lib/tr-grid-column-resizing/es6/ColumnResizing.d.ts +68 -0
- package/lib/tr-grid-column-resizing/es6/ColumnResizing.js +1013 -0
- package/lib/tr-grid-column-resizing/es6/index.d.ts +1 -0
- package/lib/tr-grid-column-resizing/es6/index.js +1 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.d.ts +70 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +928 -0
- package/lib/tr-grid-column-selection/es6/index.d.ts +1 -0
- package/lib/tr-grid-column-selection/es6/index.js +1 -0
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +76 -0
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +1227 -0
- package/lib/tr-grid-column-stack/es6/index.d.ts +1 -0
- package/lib/tr-grid-column-stack/es6/index.js +1 -0
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +70 -0
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +947 -0
- package/lib/tr-grid-conditional-coloring/es6/index.d.ts +1 -0
- package/lib/tr-grid-conditional-coloring/es6/index.js +1 -0
- package/lib/tr-grid-content-wrap/es6/ContentWrap.d.ts +43 -0
- package/lib/tr-grid-content-wrap/es6/ContentWrap.js +478 -0
- package/lib/tr-grid-content-wrap/es6/index.d.ts +1 -0
- package/lib/tr-grid-content-wrap/es6/index.js +1 -0
- package/lib/tr-grid-contextmenu/es6/ContextMenu.d.ts +83 -0
- package/lib/tr-grid-contextmenu/es6/ContextMenu.js +471 -0
- package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +22 -0
- package/lib/tr-grid-contextmenu/es6/MenuEventAPI.js +133 -0
- package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +39 -0
- package/lib/tr-grid-contextmenu/es6/MenuItem.js +245 -0
- package/lib/tr-grid-contextmenu/es6/PopupMenu.d.ts +29 -0
- package/lib/tr-grid-contextmenu/es6/PopupMenu.js +292 -0
- package/lib/tr-grid-contextmenu/es6/index.d.ts +1 -0
- package/lib/tr-grid-contextmenu/es6/index.js +1 -0
- package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +57 -0
- package/lib/tr-grid-filter-input/es6/FilterInput.js +928 -0
- package/lib/tr-grid-filter-input/es6/index.d.ts +1 -0
- package/lib/tr-grid-filter-input/es6/index.js +1 -0
- package/lib/tr-grid-heat-map/es6/HeatMap.d.ts +44 -0
- package/lib/tr-grid-heat-map/es6/HeatMap.js +394 -0
- package/lib/tr-grid-heat-map/es6/index.d.ts +1 -0
- package/lib/tr-grid-heat-map/es6/index.js +1 -0
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +129 -0
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +1977 -0
- package/lib/tr-grid-in-cell-editing/es6/index.d.ts +1 -0
- package/lib/tr-grid-in-cell-editing/es6/index.js +1 -0
- package/lib/tr-grid-pagination/es6/Pagination.d.ts +57 -0
- package/lib/tr-grid-pagination/es6/Pagination.js +427 -0
- package/lib/tr-grid-pagination/es6/index.d.ts +1 -0
- package/lib/tr-grid-pagination/es6/index.js +1 -0
- package/lib/tr-grid-percent-bar/es6/PercentBar.d.ts +60 -0
- package/lib/tr-grid-percent-bar/es6/PercentBar.js +801 -0
- package/lib/tr-grid-percent-bar/es6/index.d.ts +1 -0
- package/lib/tr-grid-percent-bar/es6/index.js +1 -0
- package/lib/tr-grid-printer/es6/CellWriter.d.ts +49 -0
- package/lib/tr-grid-printer/es6/CellWriter.js +226 -0
- package/lib/tr-grid-printer/es6/ColumnWriter.d.ts +12 -0
- package/lib/tr-grid-printer/es6/ColumnWriter.js +21 -0
- package/lib/tr-grid-printer/es6/GridPrinter.d.ts +32 -0
- package/lib/tr-grid-printer/es6/GridPrinter.js +761 -0
- package/lib/tr-grid-printer/es6/PrintTrait.d.ts +38 -0
- package/lib/tr-grid-printer/es6/PrintTrait.js +481 -0
- package/lib/tr-grid-printer/es6/SectionWriter.d.ts +54 -0
- package/lib/tr-grid-printer/es6/SectionWriter.js +205 -0
- package/lib/tr-grid-printer/es6/index.d.ts +1 -0
- package/lib/tr-grid-printer/es6/index.js +1 -0
- package/lib/tr-grid-range-bar/es6/RangeBar.d.ts +39 -0
- package/lib/tr-grid-range-bar/es6/RangeBar.js +353 -0
- package/lib/tr-grid-range-bar/es6/index.d.ts +1 -0
- package/lib/tr-grid-range-bar/es6/index.js +1 -0
- package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +53 -0
- package/lib/tr-grid-row-dragging/es6/RowDragging.js +794 -0
- package/lib/tr-grid-row-dragging/es6/index.d.ts +1 -0
- package/lib/tr-grid-row-dragging/es6/index.js +1 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +118 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +1884 -0
- package/lib/tr-grid-row-filtering/es6/index.d.ts +1 -0
- package/lib/tr-grid-row-filtering/es6/index.js +1 -0
- package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +109 -0
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1541 -0
- package/lib/tr-grid-row-grouping/es6/index.d.ts +1 -0
- package/lib/tr-grid-row-grouping/es6/index.js +1 -0
- package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +74 -0
- package/lib/tr-grid-row-selection/es6/RowSelection.js +1202 -0
- package/lib/tr-grid-row-selection/es6/index.d.ts +1 -0
- package/lib/tr-grid-row-selection/es6/index.js +1 -0
- package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +60 -0
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +611 -0
- package/lib/tr-grid-rowcoloring/es6/index.d.ts +1 -0
- package/lib/tr-grid-rowcoloring/es6/index.js +1 -0
- package/lib/tr-grid-textformatting/es6/TextFormatting.d.ts +77 -0
- package/lib/tr-grid-textformatting/es6/TextFormatting.js +574 -0
- package/lib/tr-grid-textformatting/es6/index.d.ts +1 -0
- package/lib/tr-grid-textformatting/es6/index.js +1 -0
- package/lib/tr-grid-titlewrap/es6/TitleWrap.d.ts +29 -0
- package/lib/tr-grid-titlewrap/es6/TitleWrap.js +431 -0
- package/lib/tr-grid-titlewrap/es6/index.d.ts +1 -0
- package/lib/tr-grid-titlewrap/es6/index.js +1 -0
- package/lib/tr-grid-util/es6/CellPainter.d.ts +136 -0
- package/lib/tr-grid-util/es6/CellPainter.js +1128 -0
- package/lib/tr-grid-util/es6/Conflator.d.ts +34 -0
- package/lib/tr-grid-util/es6/Conflator.js +193 -0
- package/lib/tr-grid-util/es6/CoralItems.d.ts +10 -0
- package/lib/tr-grid-util/es6/CoralItems.js +42 -0
- package/lib/tr-grid-util/es6/DateTime.d.ts +57 -0
- package/lib/tr-grid-util/es6/DateTime.js +508 -0
- package/lib/tr-grid-util/es6/Deferred.d.ts +14 -0
- package/lib/tr-grid-util/es6/Deferred.js +98 -0
- package/lib/tr-grid-util/es6/Delay.d.ts +20 -0
- package/lib/tr-grid-util/es6/Delay.js +85 -0
- package/lib/tr-grid-util/es6/Dom.d.ts +32 -0
- package/lib/tr-grid-util/es6/Dom.js +346 -0
- package/lib/tr-grid-util/es6/ElementObserver.d.ts +10 -0
- package/lib/tr-grid-util/es6/ElementObserver.js +101 -0
- package/lib/tr-grid-util/es6/ElementWrapper.d.ts +23 -0
- package/lib/tr-grid-util/es6/ElementWrapper.js +83 -0
- package/lib/tr-grid-util/es6/ElfDate.d.ts +26 -0
- package/lib/tr-grid-util/es6/ElfDate.js +163 -0
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +33 -0
- package/lib/tr-grid-util/es6/ElfUtil.js +458 -0
- package/lib/tr-grid-util/es6/EventDispatcher.d.ts +26 -0
- package/lib/tr-grid-util/es6/EventDispatcher.js +161 -0
- package/lib/tr-grid-util/es6/ExpanderIcon.d.ts +27 -0
- package/lib/tr-grid-util/es6/ExpanderIcon.js +169 -0
- package/lib/tr-grid-util/es6/Ext.d.ts +10 -0
- package/lib/tr-grid-util/es6/Ext.js +52 -0
- package/lib/tr-grid-util/es6/FieldFormatter.d.ts +55 -0
- package/lib/tr-grid-util/es6/FieldFormatter.js +432 -0
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +48 -0
- package/lib/tr-grid-util/es6/FilterBuilder.js +521 -0
- package/lib/tr-grid-util/es6/FilterOperators.d.ts +41 -0
- package/lib/tr-grid-util/es6/FilterOperators.js +181 -0
- package/lib/tr-grid-util/es6/GridPlugin.d.ts +72 -0
- package/lib/tr-grid-util/es6/GridPlugin.js +747 -0
- package/lib/tr-grid-util/es6/Icon.d.ts +14 -0
- package/lib/tr-grid-util/es6/Icon.js +61 -0
- package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +42 -0
- package/lib/tr-grid-util/es6/MouseDownTrait.js +237 -0
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +32 -0
- package/lib/tr-grid-util/es6/MultiTableManager.js +506 -0
- package/lib/tr-grid-util/es6/NumberFormatter.d.ts +83 -0
- package/lib/tr-grid-util/es6/NumberFormatter.js +471 -0
- package/lib/tr-grid-util/es6/PercentBar.d.ts +71 -0
- package/lib/tr-grid-util/es6/PercentBar.js +600 -0
- package/lib/tr-grid-util/es6/Perf.d.ts +32 -0
- package/lib/tr-grid-util/es6/Perf.js +162 -0
- package/lib/tr-grid-util/es6/Popup.d.ts +84 -0
- package/lib/tr-grid-util/es6/Popup.js +818 -0
- package/lib/tr-grid-util/es6/RangeBar.d.ts +33 -0
- package/lib/tr-grid-util/es6/RangeBar.js +259 -0
- package/lib/tr-grid-util/es6/RequestQueue.d.ts +30 -0
- package/lib/tr-grid-util/es6/RequestQueue.js +239 -0
- package/lib/tr-grid-util/es6/RowPainter.d.ts +23 -0
- package/lib/tr-grid-util/es6/RowPainter.js +188 -0
- package/lib/tr-grid-util/es6/SubTable.d.ts +74 -0
- package/lib/tr-grid-util/es6/SubTable.js +558 -0
- package/lib/tr-grid-util/es6/Table.d.ts +125 -0
- package/lib/tr-grid-util/es6/Table.js +790 -0
- package/lib/tr-grid-util/es6/TextHighlighter.d.ts +18 -0
- package/lib/tr-grid-util/es6/TextHighlighter.js +273 -0
- package/lib/tr-grid-util/es6/TickCodes.d.ts +8 -0
- package/lib/tr-grid-util/es6/TickCodes.js +33 -0
- package/lib/tr-grid-util/es6/Timer.d.ts +16 -0
- package/lib/tr-grid-util/es6/Timer.js +49 -0
- package/lib/tr-grid-util/es6/TouchProxy.d.ts +46 -0
- package/lib/tr-grid-util/es6/TouchProxy.js +212 -0
- package/lib/tr-grid-util/es6/Util.d.ts +65 -0
- package/lib/tr-grid-util/es6/Util.js +528 -0
- package/lib/tr-grid-util/es6/formula/ADCService.d.ts +11 -0
- package/lib/tr-grid-util/es6/formula/ADCService.js +72 -0
- package/lib/tr-grid-util/es6/formula/ADCSubscription.d.ts +17 -0
- package/lib/tr-grid-util/es6/formula/ADCSubscription.js +317 -0
- package/lib/tr-grid-util/es6/formula/AdFinService.d.ts +12 -0
- package/lib/tr-grid-util/es6/formula/AdFinService.js +61 -0
- package/lib/tr-grid-util/es6/formula/AdFinSubscription.d.ts +19 -0
- package/lib/tr-grid-util/es6/formula/AdFinSubscription.js +310 -0
- package/lib/tr-grid-util/es6/formula/Engine.d.ts +56 -0
- package/lib/tr-grid-util/es6/formula/Engine.js +592 -0
- package/lib/tr-grid-util/es6/formula/Formula.d.ts +68 -0
- package/lib/tr-grid-util/es6/formula/Formula.js +882 -0
- package/lib/tr-grid-util/es6/formula/IntervalSubscription.d.ts +16 -0
- package/lib/tr-grid-util/es6/formula/IntervalSubscription.js +165 -0
- package/lib/tr-grid-util/es6/formula/Realtime.d.ts +18 -0
- package/lib/tr-grid-util/es6/formula/Realtime.js +279 -0
- package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +18 -0
- package/lib/tr-grid-util/es6/formula/RealtimeService.js +203 -0
- package/lib/tr-grid-util/es6/formula/TSIService.d.ts +11 -0
- package/lib/tr-grid-util/es6/formula/TSIService.js +51 -0
- package/lib/tr-grid-util/es6/formula/TSISubscription.d.ts +18 -0
- package/lib/tr-grid-util/es6/formula/TSISubscription.js +1015 -0
- package/lib/tr-grid-util/es6/formula/VariableToken.d.ts +30 -0
- package/lib/tr-grid-util/es6/formula/VariableToken.js +314 -0
- package/lib/tr-grid-util/es6/formula/functions/AdFin.d.ts +9 -0
- package/lib/tr-grid-util/es6/formula/functions/AdFin.js +1778 -0
- package/lib/tr-grid-util/es6/formula/functions/Excel.d.ts +8 -0
- package/lib/tr-grid-util/es6/formula/functions/Excel.js +21 -0
- package/lib/tr-grid-util/es6/formula/functions/Info.d.ts +8 -0
- package/lib/tr-grid-util/es6/formula/functions/Info.js +192 -0
- package/lib/tr-grid-util/es6/formula/functions/Internal.d.ts +8 -0
- package/lib/tr-grid-util/es6/formula/functions/Internal.js +90 -0
- package/lib/tr-grid-util/es6/formula/functions/Logic.d.ts +12 -0
- package/lib/tr-grid-util/es6/formula/functions/Logic.js +176 -0
- package/lib/tr-grid-util/es6/formula/functions/Math.d.ts +18 -0
- package/lib/tr-grid-util/es6/formula/functions/Math.js +1624 -0
- package/lib/tr-grid-util/es6/formula/functions/Statistics.d.ts +18 -0
- package/lib/tr-grid-util/es6/formula/functions/Statistics.js +234 -0
- package/lib/tr-grid-util/es6/formula/functions/Text.d.ts +10 -0
- package/lib/tr-grid-util/es6/formula/functions/Text.js +676 -0
- package/lib/tr-grid-util/es6/index.d.ts +63 -0
- package/lib/tr-grid-util/es6/index.js +99 -0
- package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +28 -0
- package/lib/tr-grid-util/es6/jet/CollectionDict.js +141 -0
- package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +114 -0
- package/lib/tr-grid-util/es6/jet/DataGenerator.js +827 -0
- package/lib/tr-grid-util/es6/jet/DataSet.d.ts +8 -0
- package/lib/tr-grid-util/es6/jet/DataSet.js +392 -0
- package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +21 -0
- package/lib/tr-grid-util/es6/jet/MockArchive.js +56 -0
- package/lib/tr-grid-util/es6/jet/MockJET.d.ts +25 -0
- package/lib/tr-grid-util/es6/jet/MockJET.js +63 -0
- package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +37 -0
- package/lib/tr-grid-util/es6/jet/MockQuotes.js +199 -0
- package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +72 -0
- package/lib/tr-grid-util/es6/jet/MockQuotes2.js +564 -0
- package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +8 -0
- package/lib/tr-grid-util/es6/jet/MockRTK.js +43 -0
- package/lib/tr-grid-util/es6/jet/index.d.ts +9 -0
- package/lib/tr-grid-util/es6/jet/index.js +18 -0
- package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +11 -0
- package/lib/tr-grid-util/es6/jet/mockDataAPI.js +131 -0
- package/lib/tr-grid-util/es6/locale/translation-de.d.ts +7 -0
- package/lib/tr-grid-util/es6/locale/translation-de.js +51 -0
- package/lib/tr-grid-util/es6/locale/translation-en.d.ts +7 -0
- package/lib/tr-grid-util/es6/locale/translation-en.js +51 -0
- package/lib/tr-grid-util/es6/locale/translation-ja.d.ts +7 -0
- package/lib/tr-grid-util/es6/locale/translation-ja.js +51 -0
- package/lib/tr-grid-util/es6/locale/translation-zh-hant.d.ts +7 -0
- package/lib/tr-grid-util/es6/locale/translation-zh-hant.js +51 -0
- package/lib/tr-grid-util/es6/locale/translation-zh.d.ts +7 -0
- package/lib/tr-grid-util/es6/locale/translation-zh.js +51 -0
- package/lib/tr-grid-util/es6/locale/translation.d.ts +11 -0
- package/lib/tr-grid-util/es6/locale/translation.js +18 -0
- package/lib/types/es6/AutoTooltip.d.ts +45 -0
- package/lib/types/es6/CellSelection.d.ts +67 -0
- package/lib/types/es6/Checkbox.d.ts +69 -0
- package/lib/types/es6/ColumnFitter.d.ts +56 -0
- package/lib/types/es6/ColumnFormatting.d.ts +90 -0
- package/lib/types/es6/ColumnGrouping.d.ts +60 -0
- package/lib/types/es6/ColumnResizing.d.ts +68 -0
- package/lib/types/es6/ColumnSelection.d.ts +70 -0
- package/lib/types/es6/ColumnStack.d.ts +76 -0
- package/lib/types/es6/CompositeGrid/CollapsibleHeaderPlugin.d.ts +11 -0
- package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +38 -0
- package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +45 -0
- package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +287 -0
- package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +22 -0
- package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +44 -0
- package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +30 -0
- package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +42 -0
- package/lib/types/es6/CompositeGrid/TextWidthCalculator.d.ts +24 -0
- package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +46 -0
- package/lib/types/es6/CompositeGrid/index.d.ts +9 -0
- package/lib/types/es6/ConditionalColoring.d.ts +70 -0
- package/lib/types/es6/ContentWrap.d.ts +43 -0
- package/lib/types/es6/ContextMenu.d.ts +83 -0
- package/lib/types/es6/CoralButtonFormatter.d.ts +22 -0
- package/lib/types/es6/CoralCheckboxFormatter.d.ts +12 -0
- package/lib/types/es6/CoralComboBoxFormatter.d.ts +23 -0
- package/lib/types/es6/CoralIconFormatter.d.ts +23 -0
- package/lib/types/es6/CoralInputFormatter.d.ts +12 -0
- package/lib/types/es6/CoralRadioButtonFormatter.d.ts +22 -0
- package/lib/types/es6/CoralSelectFormatter.d.ts +23 -0
- package/lib/types/es6/CoralToggleFormatter.d.ts +12 -0
- package/lib/types/es6/Core/data/ColumnStats.d.ts +42 -0
- package/lib/types/es6/Core/data/DataCache.d.ts +81 -0
- package/lib/types/es6/Core/data/DataTable.d.ts +125 -0
- package/lib/types/es6/Core/data/DataView.d.ts +280 -0
- package/lib/types/es6/Core/data/Segment.d.ts +38 -0
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +58 -0
- package/lib/types/es6/Core/grid/Core.d.ts +387 -0
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +204 -0
- package/lib/types/es6/Core/grid/LayoutGrid.d.ts +23 -0
- package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +18 -0
- package/lib/types/es6/Core/grid/components/Cell.d.ts +50 -0
- package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +19 -0
- package/lib/types/es6/Core/grid/components/CellSpan.d.ts +18 -0
- package/lib/types/es6/Core/grid/components/CellSpans.d.ts +38 -0
- package/lib/types/es6/Core/grid/components/Column.d.ts +22 -0
- package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +125 -0
- package/lib/types/es6/Core/grid/components/HScrollbar.d.ts +24 -0
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +61 -0
- package/lib/types/es6/Core/grid/components/StretchedCells.d.ts +17 -0
- package/lib/types/es6/Core/grid/components/VScrollbar.d.ts +18 -0
- package/lib/types/es6/Core/grid/components/VirtualItems.d.ts +12 -0
- package/lib/types/es6/Core/grid/event/EventDispatcher.d.ts +16 -0
- package/lib/types/es6/Core/grid/event/EventListeners.d.ts +34 -0
- package/lib/types/es6/Core/grid/plugins/DragAndDropTitlePlugin.d.ts +24 -0
- package/lib/types/es6/Core/grid/plugins/Plugin.d.ts +28 -0
- package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +127 -0
- package/lib/types/es6/Core/grid/util/Conflator.d.ts +32 -0
- package/lib/types/es6/Core/grid/util/ElementFrameWork.d.ts +18 -0
- package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +53 -0
- package/lib/types/es6/Core/grid/util/PercentBar.d.ts +43 -0
- package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +41 -0
- package/lib/types/es6/Core/grid/util/RangeBar.d.ts +25 -0
- package/lib/types/es6/Core/grid/util/Reverter.d.ts +14 -0
- package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +79 -0
- package/lib/types/es6/Core/grid/util/SelectionList.d.ts +50 -0
- package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +84 -0
- package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +40 -0
- package/lib/types/es6/Core/grid/util/util.d.ts +18 -0
- package/lib/types/es6/Core/index.d.ts +84 -0
- package/lib/types/es6/Core/tr-grid-theme.d.ts +5 -0
- package/lib/types/es6/DuplexEmeraldDateTimePickerFormatter.d.ts +14 -0
- package/lib/types/es6/EFButtonFormatter.d.ts +22 -0
- package/lib/types/es6/EFCheckboxFormatter.d.ts +12 -0
- package/lib/types/es6/EFComboBoxFormatter.d.ts +23 -0
- package/lib/types/es6/EFDateTimePickerFormatter.d.ts +13 -0
- package/lib/types/es6/EFIconFormatter.d.ts +23 -0
- package/lib/types/es6/EFNumberFieldFormatter.d.ts +12 -0
- package/lib/types/es6/EFRadioButtonFormatter.d.ts +22 -0
- package/lib/types/es6/EFSelectFormatter.d.ts +23 -0
- package/lib/types/es6/EFTextFieldFormatter.d.ts +12 -0
- package/lib/types/es6/EFToggleFormatter.d.ts +12 -0
- package/lib/types/es6/EmeraldDateTimePickerFormatter.d.ts +13 -0
- package/lib/types/es6/ExtensionColumnOptions.d.ts +41 -0
- package/lib/types/es6/ExtensionOptions.d.ts +52 -0
- package/lib/types/es6/Extensions.d.ts +61 -0
- package/lib/types/es6/FilterInput.d.ts +57 -0
- package/lib/types/es6/FormatterBuilder.d.ts +22 -0
- package/lib/types/es6/GridFormatter.d.ts +63 -0
- package/lib/types/es6/HeatMap.d.ts +44 -0
- package/lib/types/es6/InCellEditing.d.ts +129 -0
- package/lib/types/es6/MenuEventAPI.d.ts +22 -0
- package/lib/types/es6/MenuItem.d.ts +39 -0
- package/lib/types/es6/NumericInputFormatter.d.ts +13 -0
- package/lib/types/es6/Pagination.d.ts +57 -0
- package/lib/types/es6/PercentBar.d.ts +60 -0
- package/lib/types/es6/PercentBarFormatter.d.ts +25 -0
- package/lib/types/es6/PopupMenu.d.ts +29 -0
- package/lib/types/es6/RangeBar.d.ts +39 -0
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +143 -0
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +37 -0
- package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +20 -0
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +263 -0
- package/lib/types/es6/RealtimeGrid/PredefinedFormula.d.ts +16 -0
- package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +38 -0
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +120 -0
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +21 -0
- package/lib/types/es6/RealtimeGrid/StyleLoader.d.ts +17 -0
- package/lib/types/es6/RealtimeGrid/index.d.ts +8 -0
- package/lib/types/es6/RowColoring.d.ts +60 -0
- package/lib/types/es6/RowDragging.d.ts +53 -0
- package/lib/types/es6/RowFiltering.d.ts +118 -0
- package/lib/types/es6/RowGrouping.d.ts +109 -0
- package/lib/types/es6/RowSegmenting.d.ts +83 -0
- package/lib/types/es6/RowSelection.d.ts +74 -0
- package/lib/types/es6/SimpleImageFormatter.d.ts +21 -0
- package/lib/types/es6/SimpleInputFormatter.d.ts +12 -0
- package/lib/types/es6/SimpleLinkFormatter.d.ts +21 -0
- package/lib/types/es6/SimpleTickerFormatter.d.ts +25 -0
- package/lib/types/es6/SimpleToggleFormatter.d.ts +22 -0
- package/lib/types/es6/StatisticsRow.d.ts +67 -0
- package/lib/types/es6/TextFormatter.d.ts +12 -0
- package/lib/types/es6/TextFormatting.d.ts +77 -0
- package/lib/types/es6/TitleWrap.d.ts +29 -0
- package/lib/types/es6/Zoom.d.ts +51 -0
- package/lib/types/es6/index.d.ts +76 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/versions.json +36 -0
- package/lib/window-exporter.js +13 -0
- package/lib/zoom/es6/Zoom.d.ts +51 -0
- package/lib/zoom/es6/Zoom.js +419 -0
- package/lib/zoom/es6/index.d.ts +1 -0
- package/lib/zoom/es6/index.js +1 -0
- package/package.json +42 -0
@@ -0,0 +1,450 @@
|
|
1
|
+
/**
|
2
|
+
* @namespace
|
3
|
+
*/
|
4
|
+
var Util = {};
|
5
|
+
/** @const
|
6
|
+
* @type {boolean}
|
7
|
+
*/
|
8
|
+
Util.isIE = Util.isIE || (function () {
|
9
|
+
var ua = window.navigator.userAgent;
|
10
|
+
return (ua.indexOf('MSIE ') > 0) || (ua.indexOf('Trident/') > 0) || (ua.indexOf('Edge/') > 0);
|
11
|
+
}());
|
12
|
+
/** @const
|
13
|
+
* @type {boolean}
|
14
|
+
*/
|
15
|
+
Util.isTouchDevice = Util.isTouchDevice || (function () {
|
16
|
+
if ((navigator["maxTouchPoints"] && navigator["maxTouchPoints"] < 256) ||
|
17
|
+
(navigator["msMaxTouchPoints"] && navigator["msMaxTouchPoints"] < 256)) {
|
18
|
+
return true;
|
19
|
+
}
|
20
|
+
return false;
|
21
|
+
}());
|
22
|
+
/** Retrieve an element from Novakit control or any object that has "getElement" method.
|
23
|
+
* @public
|
24
|
+
* @ignore
|
25
|
+
* @param {*} obj If an HTMLElement is given, the same HTMLElement will be returned
|
26
|
+
* @return {Element} The return value is always element or null
|
27
|
+
*/
|
28
|
+
Util.getElement = function (obj) {
|
29
|
+
if (Util.isElement(obj)) {
|
30
|
+
return /** @type{Element} */(obj);
|
31
|
+
} else {
|
32
|
+
if (obj && Util.isFunction(obj["getElement"])) {
|
33
|
+
return obj["getElement"]();
|
34
|
+
}
|
35
|
+
}
|
36
|
+
return null;
|
37
|
+
};
|
38
|
+
/** Some browsers do not support HTMLElement, so we use nodeType to identify the type instead. Works on IE7
|
39
|
+
* @public
|
40
|
+
* @ignore
|
41
|
+
* @param {*} val
|
42
|
+
* @return {boolean}
|
43
|
+
*/
|
44
|
+
Util.isElement = function (val) {
|
45
|
+
if (val) {
|
46
|
+
return val.nodeType === 1;
|
47
|
+
}
|
48
|
+
return false;
|
49
|
+
};
|
50
|
+
/**
|
51
|
+
* Returns `true` if the passed value is empty, `false` otherwise. The value is deemed to be empty if it is either:
|
52
|
+
* - `null`
|
53
|
+
* - `undefined`
|
54
|
+
* - a zero-length array
|
55
|
+
* - a zero-length string (Unless the `allowEmptyString` parameter is set to `true`)
|
56
|
+
*
|
57
|
+
* @param {*} value The value to test.
|
58
|
+
* @param {boolean} [allowEmptyString=false] `true` to allow empty strings.
|
59
|
+
* @return {boolean}
|
60
|
+
*/
|
61
|
+
Util.isEmpty = function (value, allowEmptyString) {
|
62
|
+
return (value == null || typeof value === "undefined") ||
|
63
|
+
(!allowEmptyString ? value === "" : false) ||
|
64
|
+
(Util.isArray(value) && value.length === 0);
|
65
|
+
};
|
66
|
+
/**
|
67
|
+
* @public
|
68
|
+
* @ignore
|
69
|
+
* @param {*} val
|
70
|
+
* @return {boolean}
|
71
|
+
*/
|
72
|
+
Util.isNumber = function (val) {
|
73
|
+
return typeof val === "number" && isFinite(val);
|
74
|
+
};
|
75
|
+
/**
|
76
|
+
* @public
|
77
|
+
* @ignore
|
78
|
+
* @param {*} val
|
79
|
+
* @return {boolean}
|
80
|
+
*/
|
81
|
+
Util.isString = function (val) {
|
82
|
+
return typeof val === "string";
|
83
|
+
};
|
84
|
+
/** This version of isArray is faster than the one provided by goog.isArray. It works with both literal Array ([]) and Array class (new Array()) for Chrome
|
85
|
+
* WARNING: It does not work when called across iframe, since Array object is a different object in each iframe
|
86
|
+
* @public
|
87
|
+
* @ignore
|
88
|
+
* @param {*} val
|
89
|
+
* @return {boolean}
|
90
|
+
*/
|
91
|
+
Util.isArray = Array.isArray;
|
92
|
+
/** This version of isFunction is faster than the one provided by goog.isFunction. However It only works for Modern Browser and not IE
|
93
|
+
* @public
|
94
|
+
* @ignore
|
95
|
+
* @param {*} val
|
96
|
+
* @return {boolean}
|
97
|
+
*/
|
98
|
+
Util.isFunction = function (val) {
|
99
|
+
return typeof val === "function";
|
100
|
+
};
|
101
|
+
/** Supports only for modern browser (Gecko 1.9+, modern Webkit)
|
102
|
+
* @public
|
103
|
+
* @ignore
|
104
|
+
* @param {!Element|Event|MouseEvent} target
|
105
|
+
* @param {*=} opt_retObj An object that stores returned values
|
106
|
+
* @return {!Object}
|
107
|
+
*/
|
108
|
+
Util.getClientPosition = function (target, opt_retObj) {
|
109
|
+
var pos = opt_retObj || {};
|
110
|
+
if (target["getBoundingClientRect"]) {
|
111
|
+
var box = target["getBoundingClientRect"]();
|
112
|
+
pos["x"] = box.left;
|
113
|
+
pos["y"] = box.top;
|
114
|
+
} else { // Event
|
115
|
+
pos["x"] = target.clientX;
|
116
|
+
pos["y"] = target.clientY;
|
117
|
+
}
|
118
|
+
return /**@type {!Object}*/(pos);
|
119
|
+
};
|
120
|
+
/** Top-left of B is used as registration a point (0, 0) for x and y.
|
121
|
+
* For example, if A is located to right of B, "x" will be positive, If A is located below B, "y" will be positive.
|
122
|
+
* @public
|
123
|
+
* @ignore
|
124
|
+
* @param {!Element|Event|MouseEvent} A HTMLElement, Browser's event, or Browser's mouse event object
|
125
|
+
* @param {!Element|Event|MouseEvent} B HTMLElement, Browser's event, or Browser's mouse event object
|
126
|
+
* @param {*=} opt_retObj An object that stores returned values
|
127
|
+
* @return {!Object} an object with "x" and "y" values
|
128
|
+
*/
|
129
|
+
Util.getRelativePosition = function (A, B, opt_retObj) {
|
130
|
+
opt_retObj = Util.getClientPosition(A, opt_retObj);
|
131
|
+
var bp = Util.getClientPosition(B);
|
132
|
+
|
133
|
+
opt_retObj["x"] -= bp["x"];
|
134
|
+
opt_retObj["y"] -= bp["y"];
|
135
|
+
return /**@type {!Object}*/(opt_retObj);
|
136
|
+
};
|
137
|
+
|
138
|
+
/** Move an item in the given array to the specified destination. If the destination equal or greater than array length, the array will be expanded
|
139
|
+
* @public
|
140
|
+
* @ignore
|
141
|
+
* @param {Array} ary
|
142
|
+
* @param {number} from INCLUSIVE
|
143
|
+
* @param {number} to INCLUSIVE
|
144
|
+
* @return {Array} ary
|
145
|
+
*/
|
146
|
+
Util.moveArrayItem = function (ary, from, to) {
|
147
|
+
if (!ary) { return null; }
|
148
|
+
|
149
|
+
var len = ary.length;
|
150
|
+
if (from >= len && to >= len) {
|
151
|
+
return /** @type{Array} */(ary); // No item needs to be moved
|
152
|
+
}
|
153
|
+
|
154
|
+
var item = ary.splice(from, 1)[0];
|
155
|
+
if (to < len) {
|
156
|
+
ary.splice(to, 0, item);
|
157
|
+
} else {
|
158
|
+
ary[to] = item;
|
159
|
+
}
|
160
|
+
return ary;
|
161
|
+
};
|
162
|
+
/** Insert an item in the given array at the specified position. If the position exceeds the array length, the array will be expanded
|
163
|
+
* @public
|
164
|
+
* @ignore
|
165
|
+
* @param {Array|*} ary
|
166
|
+
* @param {number} at INCLUSIVE
|
167
|
+
* @param {*} item
|
168
|
+
*/
|
169
|
+
Util.insertArrayItem = function (ary, at, item) {
|
170
|
+
if (!ary) { return; }
|
171
|
+
|
172
|
+
if (at < 0) {
|
173
|
+
return; // Negative index cannot be added
|
174
|
+
}
|
175
|
+
if (at < ary.length) {
|
176
|
+
ary.splice(at, 0, item); // any subsequence item is shifted to the right
|
177
|
+
} else {
|
178
|
+
ary[at] = item;
|
179
|
+
}
|
180
|
+
};
|
181
|
+
/** Remove the specified item from the given array
|
182
|
+
* @public
|
183
|
+
* @ignore
|
184
|
+
* @param {Array|*} ary
|
185
|
+
* @param {number} at INCLUSIVE
|
186
|
+
* @return {*} removed item. If not existed, null is returned
|
187
|
+
*/
|
188
|
+
Util.removeArrayItem = function (ary, at) {
|
189
|
+
if (!ary) { return null; }
|
190
|
+
|
191
|
+
if (at >= 0 && at < ary.length) {
|
192
|
+
return ary.splice(at, 1)[0];
|
193
|
+
}
|
194
|
+
return null;
|
195
|
+
};
|
196
|
+
/** @public
|
197
|
+
* @function
|
198
|
+
* @param {Array} ary
|
199
|
+
* @param {Array} items
|
200
|
+
* @return {Array}
|
201
|
+
*/
|
202
|
+
Util.pushArrayItems = function(ary, items) {
|
203
|
+
var len = items ? items.length : 0;
|
204
|
+
if(len > 0) {
|
205
|
+
if(len < 1e5) { // Maximum number of arguments that the spread operator can take is exactly 125052
|
206
|
+
if(len > 1) {
|
207
|
+
Array.prototype.push.apply(ary, items);
|
208
|
+
} else {
|
209
|
+
ary.push(items[0]);
|
210
|
+
}
|
211
|
+
} else {
|
212
|
+
var start = 0;
|
213
|
+
var end = 0;
|
214
|
+
while(start < len) {
|
215
|
+
end += 1e5;
|
216
|
+
Array.prototype.push.apply(ary, items.slice(start, end));
|
217
|
+
start = end;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
return ary;
|
222
|
+
};
|
223
|
+
/** Insert multiple empty items to an array
|
224
|
+
* @public
|
225
|
+
* @function
|
226
|
+
* @param {Array} ary
|
227
|
+
* @param {number} at Zero or positive number
|
228
|
+
* @param {number} chunkSize
|
229
|
+
* @example
|
230
|
+
* Util.insertEmptyItems(["a", "b"], 1, 2); // ["a", , , "b"]
|
231
|
+
*/
|
232
|
+
Util.insertEmptyItems = function (ary, at, chunkSize) {
|
233
|
+
if(chunkSize > 0) {
|
234
|
+
if(chunkSize > 1) {
|
235
|
+
var tailEnd = ary.slice(at);
|
236
|
+
ary.length = at; // Remove the tail end part
|
237
|
+
ary.length += chunkSize;
|
238
|
+
Util.pushArrayItems(ary, tailEnd);
|
239
|
+
} else {
|
240
|
+
ary.splice(at, 0, null);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
};
|
244
|
+
/** Move all items from the specify index to the front/top of the array
|
245
|
+
* @public
|
246
|
+
* @function
|
247
|
+
* @param {Array} ary
|
248
|
+
* @param {number} numItems Index of the first item to be moved to the top
|
249
|
+
* @return {Array}
|
250
|
+
* @example
|
251
|
+
* Util.cycleArray(["a", "b", "c"], 2); // ["c", "a", "b"]
|
252
|
+
*/
|
253
|
+
Util.cycleArray = function (ary, numItems) {
|
254
|
+
if(numItems > 0 && ary) {
|
255
|
+
if(numItems < ary.length) {
|
256
|
+
var front = ary.splice(0, numItems);
|
257
|
+
return ary.concat(front);
|
258
|
+
}
|
259
|
+
}
|
260
|
+
return ary || null;
|
261
|
+
};
|
262
|
+
|
263
|
+
/** Correct the index when associated item is moved by the specified indices
|
264
|
+
* @public
|
265
|
+
* @ignore
|
266
|
+
* @param {number|null} num
|
267
|
+
* @param {number|null} from INCLUSIVE removed index
|
268
|
+
* @param {number|null=} opt_to INCLUSIVE added index
|
269
|
+
* @return {number} Negative if the index is removed
|
270
|
+
*/
|
271
|
+
Util.moveIndex = function (num, from, opt_to) {
|
272
|
+
if (!Util.isNumber(num)) { return -1; }
|
273
|
+
if (num === from) {
|
274
|
+
if (Util.isNumber(opt_to)) {
|
275
|
+
return /** @type{number} */(opt_to);
|
276
|
+
}
|
277
|
+
return -1;
|
278
|
+
}
|
279
|
+
if (from !== null) {
|
280
|
+
if (num > from) {
|
281
|
+
--num;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
if (opt_to !== null) {
|
285
|
+
if (num >= opt_to) {
|
286
|
+
++num;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
return /** @type{number} */(num);
|
290
|
+
};
|
291
|
+
|
292
|
+
/** STL implementation of lowerBound() of the C++ vector class with no recursion
|
293
|
+
* @public
|
294
|
+
* @ignore
|
295
|
+
* @param {Array.<*>} ary The given array must already be sorted in ascending order
|
296
|
+
* @param {*} value the value to be searched
|
297
|
+
* @param {number=} left the begin index of the search range is INCLUSIVE
|
298
|
+
* @param {number=} right the end index of the search range is EXCLUSIVE
|
299
|
+
* @param {function(?, ?):boolean=} opt_lessFunc "Less than comparison functor"
|
300
|
+
* @return {number} Return the lowest index that gives equal or greater than the searched value
|
301
|
+
*/
|
302
|
+
Util.lowerBound = function (ary, value, left, right, opt_lessFunc) {
|
303
|
+
if (left == null || left < 0) {
|
304
|
+
left = 0;
|
305
|
+
}
|
306
|
+
if (right == null || right < 0 || right > ary.length) {
|
307
|
+
right = ary.length;
|
308
|
+
}
|
309
|
+
if (left > right) {
|
310
|
+
left = right;
|
311
|
+
}
|
312
|
+
if (opt_lessFunc == null) {
|
313
|
+
opt_lessFunc = Util._defaultLessComparator;
|
314
|
+
}
|
315
|
+
|
316
|
+
var mid = 0;
|
317
|
+
while (right > left) {
|
318
|
+
mid = (left + right) >> 1;
|
319
|
+
if (opt_lessFunc(ary[mid], value)) {
|
320
|
+
left = mid + 1;
|
321
|
+
} else {
|
322
|
+
right = mid;
|
323
|
+
}
|
324
|
+
}
|
325
|
+
return left; // May return ary.length
|
326
|
+
};
|
327
|
+
|
328
|
+
/** Upper bouund is the greatest index that has value that is always greater than the given value
|
329
|
+
* @public
|
330
|
+
* @ignore
|
331
|
+
* @param {Array.<*>} ary The given array must already be sorted in ascending order
|
332
|
+
* @param {*} value the value to be searched
|
333
|
+
* @param {number=} left the begin index of the search range is INCLUSIVE
|
334
|
+
* @param {number=} right the end index of the search range is EXCLUSIVE
|
335
|
+
* @param {function(?, ?):boolean=} opt_lessFunc "Less than comparison functor"
|
336
|
+
* @return {number} Return the highest index that gives equal or greater than the searched value
|
337
|
+
*/
|
338
|
+
Util.upperBound = function (ary, value, left, right, opt_lessFunc) {
|
339
|
+
var at = Util.lowerBound(ary, value, left, right, opt_lessFunc);
|
340
|
+
while (ary[at] === value) { ++at; }
|
341
|
+
return at;
|
342
|
+
};
|
343
|
+
|
344
|
+
/** This function will replace the string by sequence arguments. (like String.format in JAVA)
|
345
|
+
* @param {...string} format - First argument is string to format, the following arguments are the string to substitute
|
346
|
+
* @example Util.stringFormat("There is a {0} in a {1}.", "box", "room"); // Result: "There is a box in a room."
|
347
|
+
* @return {string}
|
348
|
+
*/
|
349
|
+
Util.stringFormat = function (format) {
|
350
|
+
var args = Array.prototype.slice.call(arguments, 1);
|
351
|
+
return format.replace(/{(\d+)}/g, function (match, number) {
|
352
|
+
return (args[number] != null) ? args[number] : match;
|
353
|
+
});
|
354
|
+
};
|
355
|
+
/**
|
356
|
+
* @private
|
357
|
+
* @param {*} left
|
358
|
+
* @param {*} right
|
359
|
+
* @return {boolean}
|
360
|
+
*/
|
361
|
+
Util._defaultLessComparator = function (left, right) {
|
362
|
+
return left < right;
|
363
|
+
};
|
364
|
+
/** @public
|
365
|
+
* @function
|
366
|
+
* @ignore
|
367
|
+
* @param {number} left
|
368
|
+
* @param {number} right
|
369
|
+
* @return {number}
|
370
|
+
* @example [4, 1, 2].sort(Util._numericSorter) === [1, 2, 4];
|
371
|
+
*/
|
372
|
+
Util._numericSorter = function (left, right) {
|
373
|
+
return left - right;
|
374
|
+
};
|
375
|
+
|
376
|
+
/** @public
|
377
|
+
* @function
|
378
|
+
* @ignore
|
379
|
+
* @param {Event} e
|
380
|
+
*/
|
381
|
+
Util._preventDefault = function (e) {
|
382
|
+
e.preventDefault();
|
383
|
+
e.stopPropagation();
|
384
|
+
};
|
385
|
+
|
386
|
+
/**
|
387
|
+
* @public
|
388
|
+
* @function
|
389
|
+
* @ignore
|
390
|
+
*/
|
391
|
+
Util._deprecatedFunction = function () {
|
392
|
+
console.warn("Calling deprecated method");
|
393
|
+
};
|
394
|
+
|
395
|
+
/**
|
396
|
+
* @public
|
397
|
+
* @function
|
398
|
+
* @ignore
|
399
|
+
* @param {number} lowVal
|
400
|
+
* @param {number} lastVal
|
401
|
+
* @param {number} highVal
|
402
|
+
* @return {number}
|
403
|
+
*/
|
404
|
+
Util.calculatePercent = function (lowVal, lastVal, highVal) {
|
405
|
+
if ((!lowVal && lowVal !== 0) ||
|
406
|
+
(!lastVal && lastVal !== 0) ||
|
407
|
+
(!highVal && highVal !== 0)) {
|
408
|
+
return NaN;
|
409
|
+
}
|
410
|
+
if (highVal === lowVal) {
|
411
|
+
return 50;
|
412
|
+
}
|
413
|
+
var percent = (lastVal - lowVal) / (highVal - lowVal);
|
414
|
+
if (percent < 0) {
|
415
|
+
return 0;
|
416
|
+
}
|
417
|
+
if (percent > 1) {
|
418
|
+
return 100;
|
419
|
+
}
|
420
|
+
return percent * 100;
|
421
|
+
};
|
422
|
+
|
423
|
+
/** @description Return closest ancestor element or the element itself with specified class string. Otherwise return null
|
424
|
+
* @public
|
425
|
+
* @function
|
426
|
+
* @ignore
|
427
|
+
* @param {Element|Node|undefined} elem
|
428
|
+
* @param {string} classStr The class string can only be one single class without spaces
|
429
|
+
* @return {Element}
|
430
|
+
*/
|
431
|
+
Util.closestElement = function (elem, classStr) {
|
432
|
+
var n = elem;
|
433
|
+
while (n && n.classList) {
|
434
|
+
if (n.classList.contains(classStr)) {
|
435
|
+
return /** @type{Element} */(n);
|
436
|
+
}
|
437
|
+
n = n.parentNode;
|
438
|
+
}
|
439
|
+
return null;
|
440
|
+
};
|
441
|
+
|
442
|
+
/** @public
|
443
|
+
* @type {boolean}
|
444
|
+
*/
|
445
|
+
Util.isMobile = Util.isMobile || (function () {
|
446
|
+
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
447
|
+
}());
|
448
|
+
|
449
|
+
export default Util;
|
450
|
+
export { Util };
|
@@ -0,0 +1,84 @@
|
|
1
|
+
import Util from "./grid/util/util.js";
|
2
|
+
|
3
|
+
// Core
|
4
|
+
import EventDispatcher from "./grid/event/EventDispatcher.js";
|
5
|
+
import ElementFrameWork from "./grid/util/ElementFrameWork.js";
|
6
|
+
import ElementWrapper from "./grid/components/ElementWrapper.js";
|
7
|
+
import ILayoutGrid from "./grid/ILayoutGrid.js";
|
8
|
+
import LayoutGrid from "./grid/LayoutGrid.js";
|
9
|
+
import Core from "./grid/Core.js";
|
10
|
+
|
11
|
+
// Components
|
12
|
+
import CellFloatingPanel from "./grid/components/CellFloatingPanel.js";
|
13
|
+
import Cell from "./grid/components/Cell.js";
|
14
|
+
import CellSpan from "./grid/components/CellSpan.js";
|
15
|
+
import CellSpans from "./grid/components/CellSpans.js";
|
16
|
+
import Column from "./grid/components/Column.js";
|
17
|
+
import Scrollbar from "./grid/components/Scrollbar.js";
|
18
|
+
import HScrollbar from "./grid/components/HScrollbar.js";
|
19
|
+
import VScrollbar from "./grid/components/VScrollbar.js";
|
20
|
+
import VirtualizedLayoutGrid from "./grid/VirtualizedLayoutGrid.js";
|
21
|
+
|
22
|
+
// Util
|
23
|
+
import Conflator from "./grid/util/Conflator.js";
|
24
|
+
import Reverter from "./grid/util/Reverter.js";
|
25
|
+
|
26
|
+
import TrackLayout from "./grid/util/TrackLayout.js";
|
27
|
+
import Virtualizer from "./grid/util/Virtualizer.js";
|
28
|
+
import SelectionList from "./grid/util/SelectionList.js";
|
29
|
+
import SectionSettings from "./grid/util/SectionSettings.js";
|
30
|
+
|
31
|
+
// Plugins
|
32
|
+
import Plugin from "./grid/plugins/Plugin.js";
|
33
|
+
import DragAndDropTitlePlugin from "./grid/plugins/DragAndDropTitlePlugin.js";
|
34
|
+
import SortableTitlePlugin from "./grid/plugins/SortableTitlePlugin.js";
|
35
|
+
|
36
|
+
// Data
|
37
|
+
import ColumnStats from "./data/ColumnStats.js";
|
38
|
+
import DataCache from "./data/DataCache.js";
|
39
|
+
import DataTable from "./data/DataTable.js";
|
40
|
+
import DataView from "./data/DataView.js";
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
export {
|
45
|
+
// Core
|
46
|
+
EventDispatcher,
|
47
|
+
ElementWrapper,
|
48
|
+
ElementFrameWork,
|
49
|
+
ILayoutGrid,
|
50
|
+
LayoutGrid,
|
51
|
+
Core,
|
52
|
+
|
53
|
+
// Data
|
54
|
+
ColumnStats,
|
55
|
+
DataCache,
|
56
|
+
DataTable,
|
57
|
+
DataView,
|
58
|
+
|
59
|
+
// Components
|
60
|
+
CellFloatingPanel,
|
61
|
+
Cell,
|
62
|
+
CellSpan,
|
63
|
+
CellSpans,
|
64
|
+
Column,
|
65
|
+
Scrollbar,
|
66
|
+
HScrollbar,
|
67
|
+
VScrollbar,
|
68
|
+
VirtualizedLayoutGrid,
|
69
|
+
|
70
|
+
// Util
|
71
|
+
Conflator,
|
72
|
+
Reverter,
|
73
|
+
|
74
|
+
TrackLayout,
|
75
|
+
Virtualizer,
|
76
|
+
SelectionList,
|
77
|
+
SectionSettings,
|
78
|
+
|
79
|
+
// Plugins
|
80
|
+
Plugin,
|
81
|
+
DragAndDropTitlePlugin,
|
82
|
+
SortableTitlePlugin,
|
83
|
+
};
|
84
|
+
export default Core;
|
@@ -0,0 +1,132 @@
|
|
1
|
+
import Util from "./grid/util/util.js";
|
2
|
+
|
3
|
+
// Core
|
4
|
+
import EventDispatcher from "./grid/event/EventDispatcher.js";
|
5
|
+
import ElementFrameWork from "./grid/util/ElementFrameWork.js";
|
6
|
+
import ElementWrapper from "./grid/components/ElementWrapper.js";
|
7
|
+
import ILayoutGrid from "./grid/ILayoutGrid.js";
|
8
|
+
import LayoutGrid from "./grid/LayoutGrid.js";
|
9
|
+
import Core from "./grid/Core.js";
|
10
|
+
|
11
|
+
// Components
|
12
|
+
import CellFloatingPanel from "./grid/components/CellFloatingPanel.js";
|
13
|
+
import Cell from "./grid/components/Cell.js";
|
14
|
+
import CellSpan from "./grid/components/CellSpan.js";
|
15
|
+
import CellSpans from "./grid/components/CellSpans.js";
|
16
|
+
import Column from "./grid/components/Column.js";
|
17
|
+
import Scrollbar from "./grid/components/Scrollbar.js";
|
18
|
+
import HScrollbar from "./grid/components/HScrollbar.js";
|
19
|
+
import VScrollbar from "./grid/components/VScrollbar.js";
|
20
|
+
import VirtualizedLayoutGrid from "./grid/VirtualizedLayoutGrid.js";
|
21
|
+
|
22
|
+
// Util
|
23
|
+
import Conflator from "./grid/util/Conflator.js";
|
24
|
+
import Reverter from "./grid/util/Reverter.js";
|
25
|
+
|
26
|
+
import TrackLayout from "./grid/util/TrackLayout.js";
|
27
|
+
import Virtualizer from "./grid/util/Virtualizer.js";
|
28
|
+
import SelectionList from "./grid/util/SelectionList.js";
|
29
|
+
import SectionSettings from "./grid/util/SectionSettings.js";
|
30
|
+
|
31
|
+
// Plugins
|
32
|
+
import Plugin from "./grid/plugins/Plugin.js";
|
33
|
+
import DragAndDropTitlePlugin from "./grid/plugins/DragAndDropTitlePlugin.js";
|
34
|
+
import SortableTitlePlugin from "./grid/plugins/SortableTitlePlugin.js";
|
35
|
+
|
36
|
+
// Data
|
37
|
+
import ColumnStats from "./data/ColumnStats.js";
|
38
|
+
import DataCache from "./data/DataCache.js";
|
39
|
+
import DataTable from "./data/DataTable.js";
|
40
|
+
import DataView from "./data/DataView.js";
|
41
|
+
|
42
|
+
// tsd-disable
|
43
|
+
var tr = window["tr"];
|
44
|
+
if(!tr) {
|
45
|
+
tr = window["tr"] = {};
|
46
|
+
}
|
47
|
+
var grid = tr["grid"];
|
48
|
+
if(!grid) {
|
49
|
+
grid = tr["grid"] = {};
|
50
|
+
}
|
51
|
+
|
52
|
+
Object.assign(tr, Util);
|
53
|
+
tr.EventDispatcher = EventDispatcher;
|
54
|
+
tr.ElementWrapper = ElementWrapper;
|
55
|
+
tr.ElementFrameWork = ElementFrameWork;
|
56
|
+
tr.ILayoutGrid = ILayoutGrid;
|
57
|
+
tr.LayoutGrid = LayoutGrid;
|
58
|
+
tr.Grid = Core;
|
59
|
+
|
60
|
+
// Data
|
61
|
+
tr.ColumnStats = ColumnStats;
|
62
|
+
tr.DataCache = DataCache;
|
63
|
+
tr.DataTable = DataTable;
|
64
|
+
tr.DataView = DataView;
|
65
|
+
|
66
|
+
// Components
|
67
|
+
grid.CellFloatingPanel = CellFloatingPanel;
|
68
|
+
grid.Cell = Cell;
|
69
|
+
grid.CellSpan = CellSpan;
|
70
|
+
grid.CellSpans = CellSpans;
|
71
|
+
grid.Column = Column;
|
72
|
+
grid.Scrollbar = Scrollbar;
|
73
|
+
grid.HScrollbar = HScrollbar;
|
74
|
+
grid.VScrollbar = VScrollbar;
|
75
|
+
grid.VirtualizedLayoutGrid = VirtualizedLayoutGrid;
|
76
|
+
|
77
|
+
// Util
|
78
|
+
grid.Conflator = Conflator;
|
79
|
+
grid.Reverter = Reverter;
|
80
|
+
|
81
|
+
grid.TrackLayout = TrackLayout;
|
82
|
+
grid.Virtualizer = Virtualizer;
|
83
|
+
grid.SelectionList = SelectionList;
|
84
|
+
grid.SectionSettings = SectionSettings;
|
85
|
+
|
86
|
+
// Plugins
|
87
|
+
grid.Plugin = Plugin;
|
88
|
+
grid.DragAndDropTitlePlugin = DragAndDropTitlePlugin;
|
89
|
+
grid.SortableTitlePlugin = SortableTitlePlugin;
|
90
|
+
// tsd-enable
|
91
|
+
|
92
|
+
export {
|
93
|
+
// Core
|
94
|
+
EventDispatcher,
|
95
|
+
ElementWrapper,
|
96
|
+
ElementFrameWork,
|
97
|
+
ILayoutGrid,
|
98
|
+
LayoutGrid,
|
99
|
+
Core,
|
100
|
+
|
101
|
+
// Data
|
102
|
+
ColumnStats,
|
103
|
+
DataCache,
|
104
|
+
DataTable,
|
105
|
+
DataView,
|
106
|
+
|
107
|
+
// Components
|
108
|
+
CellFloatingPanel,
|
109
|
+
Cell,
|
110
|
+
CellSpan,
|
111
|
+
CellSpans,
|
112
|
+
Column,
|
113
|
+
Scrollbar,
|
114
|
+
HScrollbar,
|
115
|
+
VScrollbar,
|
116
|
+
VirtualizedLayoutGrid,
|
117
|
+
|
118
|
+
// Util
|
119
|
+
Conflator,
|
120
|
+
Reverter,
|
121
|
+
|
122
|
+
TrackLayout,
|
123
|
+
Virtualizer,
|
124
|
+
SelectionList,
|
125
|
+
SectionSettings,
|
126
|
+
|
127
|
+
// Plugins
|
128
|
+
Plugin,
|
129
|
+
DragAndDropTitlePlugin,
|
130
|
+
SortableTitlePlugin,
|
131
|
+
};
|
132
|
+
export default Core;
|