@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,674 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import Ext from "../../../../tr-grid-util/es6/Ext.js";
|
3
|
+
import Util from "../util/util.js";
|
4
|
+
import EventDispatcher from "../event/EventDispatcher.js";
|
5
|
+
import ILayoutGrid from "../ILayoutGrid.js";
|
6
|
+
import LayoutGrid from "../LayoutGrid.js";
|
7
|
+
import DataTable from "../../data/DataTable.js";
|
8
|
+
import DataView from "../../data/DataView.js";
|
9
|
+
import Conflator from "../util/Conflator.js";
|
10
|
+
/* eslint-enable */
|
11
|
+
|
12
|
+
/** @constructor
|
13
|
+
* @extends {EventDispatcher}
|
14
|
+
* @param {!ILayoutGrid} grid
|
15
|
+
*/
|
16
|
+
var SectionSettings = function (grid) {
|
17
|
+
var _t = this;
|
18
|
+
_t._onDataChanged = _t._onDataChanged.bind(_t);
|
19
|
+
_t.extendEventArg = _t.extendEventArg.bind(_t);
|
20
|
+
|
21
|
+
_t._dataChangedConflator = new Conflator(100, _t._onDataChanged);
|
22
|
+
|
23
|
+
_t._grid = grid;
|
24
|
+
_t._grid.setEventArgExtender("rowCountChanged", _t.extendEventArg);
|
25
|
+
_t._grid.setEventArgExtender("rowHeightChanged", _t.extendEventArg);
|
26
|
+
_t._grid.setEventArgExtender("rowAvailable", _t.extendEventArg);
|
27
|
+
_t._grid.listen("rowAvailable", _t._dispatch.bind(this, "rowAvailable"));
|
28
|
+
|
29
|
+
_t._addEvent("dataChanged");
|
30
|
+
_t._addEvent("rowAvailable");
|
31
|
+
};
|
32
|
+
Ext.inherits(SectionSettings, EventDispatcher); // Inherits() will replace prototype of the derived object
|
33
|
+
|
34
|
+
/** @type {number}
|
35
|
+
* @private
|
36
|
+
*/
|
37
|
+
SectionSettings._runningId = 0;
|
38
|
+
/** @type {string}
|
39
|
+
* @private
|
40
|
+
*/
|
41
|
+
SectionSettings.prototype._id = "";
|
42
|
+
/** @type {string}
|
43
|
+
* @private
|
44
|
+
*/
|
45
|
+
SectionSettings.prototype._type = "";
|
46
|
+
/** @type {ILayoutGrid}
|
47
|
+
* @private
|
48
|
+
*/
|
49
|
+
SectionSettings.prototype._grid = null;
|
50
|
+
/** @type {ILayoutGrid}
|
51
|
+
* @private
|
52
|
+
*/
|
53
|
+
SectionSettings.prototype._snapshot = null;
|
54
|
+
|
55
|
+
/** @type {DataView}
|
56
|
+
* @private
|
57
|
+
*/
|
58
|
+
SectionSettings.prototype._dataView = null;
|
59
|
+
/** @type {Object}
|
60
|
+
* @private
|
61
|
+
*/
|
62
|
+
SectionSettings.prototype._dataArg = null;
|
63
|
+
|
64
|
+
/** @type {boolean}
|
65
|
+
* @description When the parameter is not specifically set by user, The mode will be switched automatically based on SectionSettings type
|
66
|
+
* @private
|
67
|
+
*/
|
68
|
+
SectionSettings.prototype._autoSyncRowCount; // Intentionally left undefined
|
69
|
+
/** @type {boolean}
|
70
|
+
* @private
|
71
|
+
*/
|
72
|
+
SectionSettings.prototype._bindingEnabled = true;
|
73
|
+
/** @type {SectionSettings}
|
74
|
+
* @private
|
75
|
+
*/
|
76
|
+
SectionSettings.prototype._parent = null;
|
77
|
+
/** @type {Array.<SectionSettings>}
|
78
|
+
* @private
|
79
|
+
*/
|
80
|
+
SectionSettings.prototype._children = null;
|
81
|
+
/** @type {!Conflator}
|
82
|
+
* @private
|
83
|
+
*/
|
84
|
+
SectionSettings.prototype._dataChangedConflator;
|
85
|
+
|
86
|
+
|
87
|
+
/** @public
|
88
|
+
* @return {string}
|
89
|
+
*/
|
90
|
+
SectionSettings.prototype.getId = function () {
|
91
|
+
return this._id;
|
92
|
+
};
|
93
|
+
/** @public
|
94
|
+
* @param {string=} str
|
95
|
+
* @return {string}
|
96
|
+
*/
|
97
|
+
SectionSettings.prototype.setId = function (str) {
|
98
|
+
this._id = (str) ? str : "section" + SectionSettings._runningId++;
|
99
|
+
|
100
|
+
this._grid.setAttribute("id", this._id);
|
101
|
+
return this._id;
|
102
|
+
};
|
103
|
+
/** @public
|
104
|
+
* @return {ILayoutGrid}
|
105
|
+
*/
|
106
|
+
SectionSettings.prototype.getSection = function () {
|
107
|
+
return this._snapshot || this._grid;
|
108
|
+
};
|
109
|
+
/** @public
|
110
|
+
* @return {string}
|
111
|
+
*/
|
112
|
+
SectionSettings.prototype.getSectionName = function () {
|
113
|
+
return this._grid.getId();
|
114
|
+
};
|
115
|
+
/** @public
|
116
|
+
* @return {number}
|
117
|
+
*/
|
118
|
+
SectionSettings.prototype.getIndex = function () {
|
119
|
+
return this._grid.getIndex();
|
120
|
+
};
|
121
|
+
/** @public
|
122
|
+
* @return {string}
|
123
|
+
*/
|
124
|
+
SectionSettings.prototype.getType = function () {
|
125
|
+
return this._type;
|
126
|
+
};
|
127
|
+
/** @public
|
128
|
+
* @param {string} type
|
129
|
+
*/
|
130
|
+
SectionSettings.prototype.setType = function (type) {
|
131
|
+
if(this._type !== type) {
|
132
|
+
if(this._type) {
|
133
|
+
this._grid.removeClass(this._type);
|
134
|
+
}
|
135
|
+
this._type = type || "";
|
136
|
+
if(type) {
|
137
|
+
this._grid.addClass(type);
|
138
|
+
}
|
139
|
+
}
|
140
|
+
};
|
141
|
+
|
142
|
+
/** @public
|
143
|
+
* @return {DataView}
|
144
|
+
*/
|
145
|
+
SectionSettings.prototype.getDataSource = function () {
|
146
|
+
return this._dataView;
|
147
|
+
};
|
148
|
+
/** @public
|
149
|
+
* @param {DataView} dataView
|
150
|
+
*/
|
151
|
+
SectionSettings.prototype.setDataSource = function (dataView) {
|
152
|
+
var t = this;
|
153
|
+
if(!t.getAutoSyncRowCount() || t._dataView === dataView) {
|
154
|
+
return;
|
155
|
+
}
|
156
|
+
|
157
|
+
if (t._dataView) {
|
158
|
+
t._dataView.unlisten("dataChanged", this._onDataChanged);
|
159
|
+
}
|
160
|
+
|
161
|
+
t._dataChangedConflator.reset();
|
162
|
+
t._dataArg = null;
|
163
|
+
|
164
|
+
t._dataView = dataView;
|
165
|
+
|
166
|
+
if (t._dataView !== null) {
|
167
|
+
t._dataView.listen("dataChanged", t._onDataChanged);
|
168
|
+
}
|
169
|
+
t._dispatchDataChanged(0, NaN);
|
170
|
+
};
|
171
|
+
/** @public
|
172
|
+
* @return {DataTable|DataView}
|
173
|
+
*/
|
174
|
+
SectionSettings.prototype.getRootDataSource = function () {
|
175
|
+
if (!this._dataView) { return null; }
|
176
|
+
|
177
|
+
var dataTable = this._dataView.getDataSource();
|
178
|
+
if (!dataTable) { return null; }
|
179
|
+
|
180
|
+
while (dataTable.getDataSource()) {
|
181
|
+
dataTable = dataTable.getDataSource();
|
182
|
+
}
|
183
|
+
return dataTable;
|
184
|
+
};
|
185
|
+
/** @public
|
186
|
+
* @param {string} colName
|
187
|
+
* @param {number|string} rowRef Number is treated as row index relative to this section data view. String is data view row id
|
188
|
+
* @return {*} Returns undefined if not success
|
189
|
+
*/
|
190
|
+
SectionSettings.prototype.getData = function (colName, rowRef) {
|
191
|
+
if (!this._dataView) { return null; }
|
192
|
+
|
193
|
+
rowRef = this._getRowId(rowRef);
|
194
|
+
return this._dataView.getData(rowRef, colName);
|
195
|
+
};
|
196
|
+
/** @public
|
197
|
+
* @param {string} colName
|
198
|
+
* @param {number|string} rowRef Number is treated as row index relative to this section data view. String is data view row id
|
199
|
+
* @param {*} data
|
200
|
+
* @return {boolean} Returns true for successful data setting
|
201
|
+
*/
|
202
|
+
SectionSettings.prototype.setData = function (colName, rowRef, data) {
|
203
|
+
if (!this._dataView) { return false; }
|
204
|
+
|
205
|
+
rowRef = this._getRowId(rowRef);
|
206
|
+
this._dataView.setData(rowRef, colName, data);
|
207
|
+
return true;
|
208
|
+
};
|
209
|
+
/** @public
|
210
|
+
* @param {number|string} rowRef Row Index of the display section or row id of the data table
|
211
|
+
* @return {Object.<string, *>}
|
212
|
+
*/
|
213
|
+
SectionSettings.prototype.getRowData = function (rowRef) {
|
214
|
+
if (!this._dataView) { return null; }
|
215
|
+
|
216
|
+
rowRef = this._getRowId(rowRef);
|
217
|
+
return this._dataView.getRowData(rowRef);
|
218
|
+
};
|
219
|
+
/** @public
|
220
|
+
* @param {number|string} rowRef Row Index of the display section or row id of the data table
|
221
|
+
* @return {boolean} Returns true for successful data removing
|
222
|
+
*/
|
223
|
+
SectionSettings.prototype.removeRowData = function (rowRef) {
|
224
|
+
if (!this._dataView) { return false; }
|
225
|
+
|
226
|
+
var dataTable = /** @type{DataTable} */(this.getRootDataSource());
|
227
|
+
if (!dataTable) { return false; }
|
228
|
+
|
229
|
+
rowRef = this._getRowId(rowRef);
|
230
|
+
var rowIndex = dataTable.getRowIndex(/** @type{string} */(rowRef));
|
231
|
+
if (rowIndex < 0) { return false; }
|
232
|
+
|
233
|
+
dataTable.removeRow(rowIndex);
|
234
|
+
return true;
|
235
|
+
};
|
236
|
+
/** @public
|
237
|
+
* @param {Array.<boolean|undefined>} activations
|
238
|
+
* @param {number} firstIndex
|
239
|
+
* @param {number} lastIndex
|
240
|
+
*/
|
241
|
+
SectionSettings.prototype.activateColumns = function (activations, firstIndex, lastIndex) {
|
242
|
+
// Column virtual rendering should only work with content section only
|
243
|
+
if (this._type === "content") {
|
244
|
+
for(var c = lastIndex + 1; --c >= firstIndex;) {
|
245
|
+
var activation = activations[c];
|
246
|
+
if (activation != null) {
|
247
|
+
this._grid.activateColumn(c, activation);
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
};
|
252
|
+
|
253
|
+
/** Clone a copy of the list of SectionSettingss. If there is no tree relationship, return null
|
254
|
+
* @public
|
255
|
+
* @return {Array.<SectionSettings>}
|
256
|
+
*/
|
257
|
+
SectionSettings.prototype.getChildren = function () { // TODO: Deprecate this method
|
258
|
+
return this._children;
|
259
|
+
};
|
260
|
+
/**
|
261
|
+
* @public
|
262
|
+
* @ignore
|
263
|
+
* @param {SectionSettings} parent
|
264
|
+
*/
|
265
|
+
SectionSettings.prototype.setParent = function (parent) { // TODO: Deprecate this method
|
266
|
+
if(this._parent) {
|
267
|
+
var at = this._parent._children.indexOf(this);
|
268
|
+
if(at >= 0) {
|
269
|
+
this._parent._children.splice(at, 1);
|
270
|
+
if(this._parent._children.length <= 0) {
|
271
|
+
this._parent._children = null;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
this._parent = null;
|
275
|
+
}
|
276
|
+
this._parent = parent;
|
277
|
+
if(this._parent) {
|
278
|
+
if(!this._parent._children) {
|
279
|
+
this._parent._children = [];
|
280
|
+
}
|
281
|
+
this._parent._children.push(this);
|
282
|
+
}
|
283
|
+
};
|
284
|
+
/**
|
285
|
+
* @public
|
286
|
+
* @return {SectionSettings}
|
287
|
+
*/
|
288
|
+
SectionSettings.prototype.getParent = function () { // TODO: Deprecate this method
|
289
|
+
return this._parent;
|
290
|
+
};
|
291
|
+
|
292
|
+
/** @public
|
293
|
+
* @return {!Conflator}
|
294
|
+
*/
|
295
|
+
SectionSettings.prototype.getDataChangedConflator = function () {
|
296
|
+
return this._dataChangedConflator;
|
297
|
+
};
|
298
|
+
/** @public
|
299
|
+
* @param {boolean} opt_disabled
|
300
|
+
*/
|
301
|
+
SectionSettings.prototype.disableConflation = function (opt_disabled) {
|
302
|
+
this._dataChangedConflator.disable(opt_disabled);
|
303
|
+
};
|
304
|
+
/** @public
|
305
|
+
* @param {boolean=} opt_disabled
|
306
|
+
*/
|
307
|
+
SectionSettings.prototype.disableDataBinding = function (opt_disabled) {
|
308
|
+
this._bindingEnabled = opt_disabled === false;
|
309
|
+
};
|
310
|
+
/** When the parameter is not specifically set by user, The mode will be switched automatically based on SectionSettings type
|
311
|
+
* @public
|
312
|
+
* @return {boolean}
|
313
|
+
*/
|
314
|
+
SectionSettings.prototype.getAutoSyncRowCount = function () {
|
315
|
+
return (this._autoSyncRowCount != null) ? this._autoSyncRowCount : (this._type === "content");
|
316
|
+
};
|
317
|
+
/** @public
|
318
|
+
* @param {boolean} bool
|
319
|
+
*/
|
320
|
+
SectionSettings.prototype.setAutoSyncRowCount = function (bool) {
|
321
|
+
this._autoSyncRowCount = bool;
|
322
|
+
if (this.getAutoSyncRowCount()) {
|
323
|
+
var newRowCount = (this._dataView) ? this._dataView.getVisibleRowCount() : 0;
|
324
|
+
this._grid.setRowCount(newRowCount);
|
325
|
+
}
|
326
|
+
};
|
327
|
+
|
328
|
+
/** @public
|
329
|
+
* @ignore
|
330
|
+
* @return {boolean}
|
331
|
+
*/
|
332
|
+
SectionSettings.prototype.isDataBindable = function () {
|
333
|
+
return (this._bindingEnabled && this._dataView) ? true : false;
|
334
|
+
};
|
335
|
+
|
336
|
+
|
337
|
+
/** WARNING: Do not call dispose directly, unless you know what you are doing
|
338
|
+
* @public
|
339
|
+
* @ignore
|
340
|
+
*/
|
341
|
+
SectionSettings.prototype.dispose = function () {
|
342
|
+
var _t = this;
|
343
|
+
_t._dataChangedConflator.reset();
|
344
|
+
_t._dataArg = null;
|
345
|
+
if (_t._grid) {
|
346
|
+
_t._grid.dispose(); // Release from DOM document
|
347
|
+
}
|
348
|
+
if (_t._dataView) {
|
349
|
+
_t._dataView.unlisten("dataChanged", _t._onDataChanged);
|
350
|
+
}
|
351
|
+
_t.unlistenAll();
|
352
|
+
|
353
|
+
_t.setParent(null);
|
354
|
+
_t._grid = null; // It is important release grid object
|
355
|
+
_t._dataView = null;
|
356
|
+
};
|
357
|
+
|
358
|
+
/** @public
|
359
|
+
* @param {Object=} e
|
360
|
+
* @return {!Object}
|
361
|
+
*/
|
362
|
+
SectionSettings.prototype.extendEventArg = function (e) {
|
363
|
+
if(!e) { e = {}; }
|
364
|
+
if(e["sectionSettings"] !== this) {
|
365
|
+
e["sectionSettings"] = this; // Be careful of circular reference
|
366
|
+
e["section"] = this._snapshot || this._grid;
|
367
|
+
e["sectionName"] = this._grid.getId();
|
368
|
+
e["sectionIndex"] = this._grid.getIndex();
|
369
|
+
e["sectionType"] = this._type;
|
370
|
+
|
371
|
+
e["dataSource"] = this._dataView;
|
372
|
+
|
373
|
+
if(this._snapshot) {
|
374
|
+
e["print"] = true; // Add print flag to tell renderers of the current state
|
375
|
+
} else if(e["print"]) {
|
376
|
+
e["print"] = false;
|
377
|
+
}
|
378
|
+
}
|
379
|
+
return e;
|
380
|
+
};
|
381
|
+
/** @public
|
382
|
+
* @param {Object} e
|
383
|
+
* @param {number} fromR
|
384
|
+
* @param {number} toR
|
385
|
+
* @return {!Object}
|
386
|
+
*/
|
387
|
+
SectionSettings.prototype.extendRenderEventArg = function (e, fromR, toR) {
|
388
|
+
e = this.extendEventArg(e);
|
389
|
+
if(!(fromR >= 0)) {
|
390
|
+
if(this._snapshot) {
|
391
|
+
fromR = 0;
|
392
|
+
toR = this._grid.getRowCount();
|
393
|
+
} else {
|
394
|
+
fromR = this._grid.getFirstIndexInView();
|
395
|
+
toR = this._grid.getLastIndexInView() + 1;
|
396
|
+
}
|
397
|
+
}
|
398
|
+
e["fromRowIndex"] = fromR;
|
399
|
+
e["toRowIndex"] = toR;
|
400
|
+
return e;
|
401
|
+
};
|
402
|
+
|
403
|
+
/** @public
|
404
|
+
* @param {Object=} e
|
405
|
+
* @param {number=} begin INCLUSIVE. The value can be undefined or NaN
|
406
|
+
* @param {number=} end INCLUSIVE. The value can be undefined or NaN
|
407
|
+
* @return {!Object}
|
408
|
+
*/
|
409
|
+
SectionSettings.prototype.extendDataEventArg = function (e, begin, end) {
|
410
|
+
if (!e) { e = {}; }
|
411
|
+
// WARNING: Dynamic property adding for internal use
|
412
|
+
e.firstUpdate = begin;
|
413
|
+
e.lastUpdate = end;
|
414
|
+
|
415
|
+
var firstInView, endOfView;
|
416
|
+
if(this._snapshot) {
|
417
|
+
firstInView = 0;
|
418
|
+
endOfView = this._grid.getRowCount();
|
419
|
+
} else {
|
420
|
+
firstInView = this._grid.getFirstIndexInView();
|
421
|
+
endOfView = this._grid.getLastIndexInView() + 1;
|
422
|
+
}
|
423
|
+
|
424
|
+
e["fromRowIndex"] = (begin > firstInView) ? begin : firstInView; // Handles NaN value
|
425
|
+
if (this._dataView) {
|
426
|
+
var dataRowCount = this._dataView.getVisibleRowCount();
|
427
|
+
e["dataRowCount"] = dataRowCount;
|
428
|
+
if (endOfView > dataRowCount) {
|
429
|
+
endOfView = dataRowCount;
|
430
|
+
}
|
431
|
+
}
|
432
|
+
e["toRowIndex"] = ((end + 1) < endOfView) ? (end + 1) : endOfView; // Handles NaN value
|
433
|
+
|
434
|
+
this.extendEventArg(e);
|
435
|
+
return e;
|
436
|
+
};
|
437
|
+
|
438
|
+
/** @public
|
439
|
+
* @ignore
|
440
|
+
* @param {number} val
|
441
|
+
*/
|
442
|
+
SectionSettings.prototype.setIndex = function (val) {
|
443
|
+
this._grid.setIndex(val);
|
444
|
+
};
|
445
|
+
/** @public
|
446
|
+
* @ignore
|
447
|
+
* @return {number}
|
448
|
+
*/
|
449
|
+
SectionSettings.prototype.getRowOffset = function () {
|
450
|
+
return this._grid.getRowOffset();
|
451
|
+
};
|
452
|
+
/** @public
|
453
|
+
* @ignore
|
454
|
+
* @param {number} val
|
455
|
+
*/
|
456
|
+
SectionSettings.prototype.setRowOffset = function (val) {
|
457
|
+
this._grid.setRowOffset(val);
|
458
|
+
};
|
459
|
+
|
460
|
+
/** @public
|
461
|
+
* @param {boolean=} opt_enabled
|
462
|
+
*/
|
463
|
+
SectionSettings.prototype.enableColumnVirtualization = function (opt_enabled) {
|
464
|
+
opt_enabled = (opt_enabled !== false);
|
465
|
+
if (this._type === "content") {
|
466
|
+
this._grid.enableColumnVirtualization(opt_enabled);
|
467
|
+
}
|
468
|
+
};
|
469
|
+
/** @public
|
470
|
+
* @return {boolean}
|
471
|
+
*/
|
472
|
+
SectionSettings.prototype.isBinding = function () {
|
473
|
+
return this._isEventDispatching("dataChanged");
|
474
|
+
};
|
475
|
+
|
476
|
+
|
477
|
+
/** @private
|
478
|
+
* @param {Object} e
|
479
|
+
*/
|
480
|
+
SectionSettings.prototype._onDataChanged = function (e) {
|
481
|
+
if(this.isBinding()) { // During data binding, changing data is not allowed
|
482
|
+
return;
|
483
|
+
}
|
484
|
+
|
485
|
+
if(this._bindingEnabled) {
|
486
|
+
if (e) {
|
487
|
+
this._mergeEvent(e);
|
488
|
+
} else if (!this._dataArg) { // e does not exist due to the conflator
|
489
|
+
return; // Invalid logic detected!
|
490
|
+
}
|
491
|
+
} else if(!this.getAutoSyncRowCount()) {
|
492
|
+
return;
|
493
|
+
}
|
494
|
+
|
495
|
+
if (this._dataChangedConflator.conflate()) {
|
496
|
+
return;
|
497
|
+
}
|
498
|
+
this._calculateChangeIndices();
|
499
|
+
if(this._dataArg) {
|
500
|
+
this._dispatchDataChanged(this._dataArg.firstUpdate, this._dataArg.lastUpdate);
|
501
|
+
} else {
|
502
|
+
this._dispatchDataChanged(0, NaN);
|
503
|
+
}
|
504
|
+
};
|
505
|
+
/** @private
|
506
|
+
* @param {number} firstUpdate
|
507
|
+
* @param {number} lastUpdate
|
508
|
+
*/
|
509
|
+
SectionSettings.prototype._dispatchDataChanged = function (firstUpdate, lastUpdate) {
|
510
|
+
var isAutoSync = this.getAutoSyncRowCount();
|
511
|
+
var newCount = (this._dataView) ? this._dataView.getVisibleRowCount() : 0;
|
512
|
+
var prevCount = this._grid.getRowCount();
|
513
|
+
if (isAutoSync) {
|
514
|
+
if (newCount !== prevCount) {
|
515
|
+
this._grid.setRowCount(newCount, true);
|
516
|
+
}
|
517
|
+
} else {
|
518
|
+
if (newCount > prevCount) {
|
519
|
+
lastUpdate = prevCount - 1;
|
520
|
+
}
|
521
|
+
}
|
522
|
+
|
523
|
+
this.updateRowData(firstUpdate, lastUpdate, this._dataArg);
|
524
|
+
this._dataArg = null; // Data argument must be cleared to prevent memory leak
|
525
|
+
};
|
526
|
+
/** Fires data binding event without actual change in the data source.
|
527
|
+
* This will force visual elements to be re-rendered with the latest data in the data source.
|
528
|
+
* @public
|
529
|
+
* @param {number=} fromRowIndex INCLUSIVE If the value is undefined, the first row index will be used
|
530
|
+
* @param {number=} lastRowIndex INCLUSIVE If the value is undefined, the last row index will be used
|
531
|
+
* @param {Object=} e Additional parameters to be fired with the event
|
532
|
+
*/
|
533
|
+
SectionSettings.prototype.updateRowData = function (fromRowIndex, lastRowIndex, e) {
|
534
|
+
if(this.isDataBindable()) { // Prevent dispatching dataChanged event without the data view
|
535
|
+
e = this.extendDataEventArg(e, fromRowIndex, lastRowIndex);
|
536
|
+
if(e["fromRowIndex"] < e["toRowIndex"]) {
|
537
|
+
this._dispatch("dataChanged", e);
|
538
|
+
}
|
539
|
+
}
|
540
|
+
};
|
541
|
+
/** @description Rerender section content. If the section is bound with the data source, dataChanged event is fired. Otherwise, rowAvailable event is fired instead.
|
542
|
+
* @public
|
543
|
+
*/
|
544
|
+
SectionSettings.prototype.rerender = function () {
|
545
|
+
if(this.isDataBindable()) {
|
546
|
+
this.updateRowData();
|
547
|
+
} else {
|
548
|
+
this._dispatch("rowAvailable", this.extendEventArg());
|
549
|
+
}
|
550
|
+
};
|
551
|
+
/** Regenerate the section (UI part) on a different object
|
552
|
+
* @public
|
553
|
+
* @param {ILayoutGrid} clone A LayoutGrid that will be rendered
|
554
|
+
*/
|
555
|
+
SectionSettings.prototype.snapshot = function (clone) {
|
556
|
+
if(clone) {
|
557
|
+
this._snapshot = clone;
|
558
|
+
try {
|
559
|
+
clone["setColumnCount"](this._grid.getColumnCount());
|
560
|
+
clone["setRowCount"](this._grid.getRowCount());
|
561
|
+
this._dispatch("rowAvailable", this.extendEventArg());
|
562
|
+
} catch (err) {
|
563
|
+
console.warn("Unable to take a snapshot: " + err.message);
|
564
|
+
}
|
565
|
+
this._snapshot = null;
|
566
|
+
|
567
|
+
// Since states could be changed after taking the snapshot, force rerendering again
|
568
|
+
this._dispatch("rowAvailable", this.extendEventArg());
|
569
|
+
}
|
570
|
+
};
|
571
|
+
|
572
|
+
/** @private
|
573
|
+
* @param {string|number|null=} rowRef
|
574
|
+
* @return {string}
|
575
|
+
*/
|
576
|
+
SectionSettings.prototype._getRowId = function (rowRef) {
|
577
|
+
if (Util.isNumber(rowRef)) {
|
578
|
+
return this._dataView.getRowId(/** @type{number} */(rowRef));
|
579
|
+
}
|
580
|
+
return /** @type{string} */(rowRef);
|
581
|
+
};
|
582
|
+
|
583
|
+
/** @private
|
584
|
+
* @param {!Object} e
|
585
|
+
*/
|
586
|
+
SectionSettings.prototype._mergeEvent = function (e) {
|
587
|
+
var arg = this._dataArg;
|
588
|
+
if(!arg) {
|
589
|
+
arg = this._dataArg = {};
|
590
|
+
arg["actualUpdate"] = true; // Indicate that this event is fired because of some changes from data view
|
591
|
+
arg["positionChangeOnly"] = true; // The change only cause position changes
|
592
|
+
arg["events"] = [];
|
593
|
+
arg.firstUpdate = NaN;
|
594
|
+
arg.lastUpdate = NaN;
|
595
|
+
arg.updatedRids = {};
|
596
|
+
}
|
597
|
+
if(!e["positionChangeOnly"]) {
|
598
|
+
arg["positionChangeOnly"] = false;
|
599
|
+
}
|
600
|
+
|
601
|
+
if (e.events) {
|
602
|
+
arg["events"] = arg["events"].concat(e.events);
|
603
|
+
} else {
|
604
|
+
arg["events"].push(e);
|
605
|
+
}
|
606
|
+
|
607
|
+
if(arg["globalChange"]) {
|
608
|
+
return;
|
609
|
+
}
|
610
|
+
if(e["globalChange"]) {
|
611
|
+
arg["globalChange"] = true;
|
612
|
+
arg.firstUpdate = 0;
|
613
|
+
arg.lastUpdate = NaN;
|
614
|
+
return;
|
615
|
+
}
|
616
|
+
|
617
|
+
var rids = e["rids"];
|
618
|
+
if(rids) {
|
619
|
+
for(var i = rids.length; --i >= 0;) {
|
620
|
+
arg.updatedRids[rids[i]] = true;
|
621
|
+
}
|
622
|
+
} else if(e["rid"]) {
|
623
|
+
arg.updatedRids[e["rid"]] = true;
|
624
|
+
}
|
625
|
+
|
626
|
+
if(e["type"] !== "updated") { // inserted or removed
|
627
|
+
arg.indexShifted = true;
|
628
|
+
if(e["type"] === "removed") {
|
629
|
+
arg.dataRemoved = true;
|
630
|
+
}
|
631
|
+
}
|
632
|
+
};
|
633
|
+
/** @private
|
634
|
+
*/
|
635
|
+
SectionSettings.prototype._calculateChangeIndices = function () {
|
636
|
+
if(!this.isDataBindable() || this._dataArg["globalChange"]) {
|
637
|
+
return;
|
638
|
+
}
|
639
|
+
|
640
|
+
// Calculate the first and last update indices.
|
641
|
+
var rid, rowIndex;
|
642
|
+
if(this._dataArg.indexShifted) {
|
643
|
+
if(this._dataArg.dataRemoved) {
|
644
|
+
this._dataArg.firstUpdate = 0;
|
645
|
+
} else {
|
646
|
+
for(rid in this._dataArg.updatedRids) {
|
647
|
+
rowIndex = this._dataView.getRowIndex(rid);
|
648
|
+
if(rowIndex >= 0) {
|
649
|
+
if (!(this._dataArg.firstUpdate <= rowIndex)) {
|
650
|
+
this._dataArg.firstUpdate = rowIndex;
|
651
|
+
}
|
652
|
+
}
|
653
|
+
}
|
654
|
+
}
|
655
|
+
this._dataArg.lastUpdate = this._dataView.getVisibleRowCount();
|
656
|
+
} else {
|
657
|
+
for(rid in this._dataArg.updatedRids) {
|
658
|
+
rowIndex = this._dataView.getRowIndex(rid);
|
659
|
+
if(rowIndex >= 0) {
|
660
|
+
if (!(this._dataArg.firstUpdate <= rowIndex)) {
|
661
|
+
this._dataArg.firstUpdate = rowIndex;
|
662
|
+
}
|
663
|
+
if (!(this._dataArg.lastUpdate >= rowIndex)) {
|
664
|
+
this._dataArg.lastUpdate = rowIndex;
|
665
|
+
}
|
666
|
+
}
|
667
|
+
}
|
668
|
+
}
|
669
|
+
};
|
670
|
+
|
671
|
+
SectionSettings._proto = SectionSettings.prototype;
|
672
|
+
|
673
|
+
export default SectionSettings;
|
674
|
+
export { SectionSettings };
|
@@ -0,0 +1,50 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
declare class SelectionList {
|
4
|
+
|
5
|
+
constructor();
|
6
|
+
|
7
|
+
public clone(): SelectionList;
|
8
|
+
|
9
|
+
public toString(): string;
|
10
|
+
|
11
|
+
public select(at: number): boolean;
|
12
|
+
|
13
|
+
public deselect(at: number): boolean;
|
14
|
+
|
15
|
+
public toggleSelection(at: number): void;
|
16
|
+
|
17
|
+
public singularlySelect(at: number): boolean;
|
18
|
+
|
19
|
+
public selectRange(anchor: number, length: number): void;
|
20
|
+
|
21
|
+
public deselectRange(at: number, length: number): void;
|
22
|
+
|
23
|
+
public hasSelection(at: number, length: number): boolean;
|
24
|
+
|
25
|
+
public getSelection(at: number): boolean;
|
26
|
+
|
27
|
+
public setSelection(at: number, opt_selected?: boolean): boolean;
|
28
|
+
|
29
|
+
public getSelectionAnchor(): number;
|
30
|
+
|
31
|
+
public setSelectionAnchor(at: number): void;
|
32
|
+
|
33
|
+
public getSelectionCount(): number;
|
34
|
+
|
35
|
+
public getFirstSelectedIndex(): number;
|
36
|
+
|
37
|
+
public getLastSelectedIndex(): number;
|
38
|
+
|
39
|
+
public getAllSelections(): (number)[];
|
40
|
+
|
41
|
+
public getSelectionMap(): (boolean)[];
|
42
|
+
|
43
|
+
public clearAllSelections(): number;
|
44
|
+
|
45
|
+
public copyFrom(srcSelections: SelectionList, fromSrcIndex: number, offsetIndex: number, forLength: number): void;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
export default SelectionList;
|
50
|
+
export { SelectionList };
|