@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,740 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import Ext from "../../../../tr-grid-util/es6/Ext.js";
|
3
|
+
import ElementWrapper from "./ElementWrapper.js";
|
4
|
+
import Util from "../util/util.js";
|
5
|
+
import ILayoutGrid from "../ILayoutGrid.js";
|
6
|
+
import CellFloatingPanel from "../components/CellFloatingPanel.js";
|
7
|
+
/* eslint-enable */
|
8
|
+
|
9
|
+
/** Cell container. Please see {@link ElementWrapper} for full APIs and parameter lists
|
10
|
+
* @constructor
|
11
|
+
* @extends {ElementWrapper}
|
12
|
+
* @param {Element=} opt_element
|
13
|
+
* @param {ILayoutGrid=} opt_section Parent section
|
14
|
+
*/
|
15
|
+
var Cell = function (opt_element, opt_section) {
|
16
|
+
this._onFocus = this._onFocus.bind(this);
|
17
|
+
|
18
|
+
this._id = Cell._runningId++;
|
19
|
+
this._element = document.createElement("div");
|
20
|
+
this._element.className = "cell";
|
21
|
+
if (opt_section) {
|
22
|
+
this._section = opt_section;
|
23
|
+
}
|
24
|
+
};
|
25
|
+
Ext.inherits(Cell, ElementWrapper);
|
26
|
+
|
27
|
+
/** Cell's aligner
|
28
|
+
* @private
|
29
|
+
* @type {Element}
|
30
|
+
*/
|
31
|
+
Cell.prototype._aligner = null;
|
32
|
+
/** @type {number}
|
33
|
+
* @private
|
34
|
+
*/
|
35
|
+
Cell._runningId = 0;
|
36
|
+
|
37
|
+
/** @type {number}
|
38
|
+
* @private
|
39
|
+
*/
|
40
|
+
Cell.prototype._id = 0;
|
41
|
+
/** @type {number}
|
42
|
+
* @private
|
43
|
+
*/
|
44
|
+
Cell.prototype._width = -1; // Negative value to allow using actual element size
|
45
|
+
/** @type {number}
|
46
|
+
* @private
|
47
|
+
*/
|
48
|
+
Cell.prototype._height = -1; // Negative value to allow using actual element size
|
49
|
+
/** @type {boolean}
|
50
|
+
* @private
|
51
|
+
*/
|
52
|
+
Cell.prototype._visible = true;
|
53
|
+
|
54
|
+
/**
|
55
|
+
* @private
|
56
|
+
* @type {*}
|
57
|
+
*/
|
58
|
+
Cell.prototype._rawContent;
|
59
|
+
|
60
|
+
/** Parent section of the cell
|
61
|
+
* @private
|
62
|
+
* @type {ILayoutGrid}
|
63
|
+
*/
|
64
|
+
Cell.prototype._section = null;
|
65
|
+
/** @private
|
66
|
+
* @type {boolean}
|
67
|
+
*/
|
68
|
+
Cell.prototype._contentLocked = false;
|
69
|
+
/** @private
|
70
|
+
* @type {number}
|
71
|
+
*/
|
72
|
+
Cell.prototype._collapsedState = 0;
|
73
|
+
/** @private
|
74
|
+
* @type {CellFloatingPanel}
|
75
|
+
*/
|
76
|
+
Cell.prototype._floatingPanel = null;
|
77
|
+
/** @private
|
78
|
+
* @type {CellFloatingPanel}
|
79
|
+
*/
|
80
|
+
Cell.prototype._frontIcon = null;
|
81
|
+
|
82
|
+
//#region ElementWrapper
|
83
|
+
/** {@link ElementWrapper#getContent}
|
84
|
+
* @override
|
85
|
+
*/
|
86
|
+
Cell.prototype.getContent = function (opt_allContent) {
|
87
|
+
if(opt_allContent) {
|
88
|
+
if(this._element) {
|
89
|
+
return this._element.children;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
return /** @type{Node} */(this._content) || null;
|
93
|
+
};
|
94
|
+
/** {@link ElementWrapper#setContent}
|
95
|
+
* @override
|
96
|
+
*/
|
97
|
+
Cell.prototype.setContent = function (content, opt_tooltip) {
|
98
|
+
if (this._contentLocked) { return null; }
|
99
|
+
|
100
|
+
if (content == null || content !== content) { // null or NaN
|
101
|
+
content = null;
|
102
|
+
} else if (content.nodeType !== 1 && content.nodeType !== 11) { // Element type checking (1 = DOM, 11 = DocumentFragment)
|
103
|
+
if (content["getElement"] == null) {
|
104
|
+
if (!(typeof content === "string")) { content = content + ""; }
|
105
|
+
} else {
|
106
|
+
content = /** @type{Element} */(content["getElement"]());
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
if(this._aligner) {// Hack: Someone has changed the content without notice
|
111
|
+
var fc = this._aligner.firstChild;
|
112
|
+
if(fc !== this._content) {
|
113
|
+
this._rawContent = fc;
|
114
|
+
this._content = /** @type{Element} */(fc);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
var ret = this._setRawContent(content);
|
119
|
+
|
120
|
+
if (opt_tooltip != null && this._content) { // Apply tooltip after the real content has been populated
|
121
|
+
this._content.setAttribute("title", opt_tooltip);
|
122
|
+
}
|
123
|
+
return ret;
|
124
|
+
};
|
125
|
+
/** Fastest way to set simple text to the Cell
|
126
|
+
* @override
|
127
|
+
* @public
|
128
|
+
* @param {string} str
|
129
|
+
*/
|
130
|
+
Cell.prototype.setTextContent = function (str) {
|
131
|
+
if (str == null) { str = ""; }
|
132
|
+
if(this._rawContent === str) { return; }
|
133
|
+
|
134
|
+
if(typeof this._rawContent !== "string") {
|
135
|
+
if(this._rawContent == null && !this._textSpan) { // First time initialization
|
136
|
+
this.initialize();
|
137
|
+
this._rawContent = str;
|
138
|
+
this._textSpan = document.createElement("span");
|
139
|
+
this._textSpan.className = "text";
|
140
|
+
this._textSpan.textContent = str;
|
141
|
+
this._content = this._textSpan;
|
142
|
+
this._aligner.className = "valigner";
|
143
|
+
this._aligner.appendChild(this._textSpan);
|
144
|
+
} else {
|
145
|
+
this.setContent(str);
|
146
|
+
}
|
147
|
+
return;
|
148
|
+
}
|
149
|
+
this._rawContent = str;
|
150
|
+
this._textSpan.textContent = str;
|
151
|
+
};
|
152
|
+
|
153
|
+
|
154
|
+
/** {@link ElementWrapper#dispose}
|
155
|
+
* @override
|
156
|
+
*/
|
157
|
+
Cell.prototype.dispose = function () {
|
158
|
+
this.removeParent();
|
159
|
+
this.unlistenAll();
|
160
|
+
|
161
|
+
this._element = this._section = this._aligner = null;
|
162
|
+
this._textSpan = this._rawContent = this._content = null;
|
163
|
+
|
164
|
+
this._frontIcon = this._floatingPanel = null;
|
165
|
+
};
|
166
|
+
|
167
|
+
/** {@link ElementWrapper#getNextSibling}
|
168
|
+
* @override
|
169
|
+
*/
|
170
|
+
Cell.prototype.getNextSibling = function () {
|
171
|
+
return (this._element !== null) ? this._element.nextSibling : null;
|
172
|
+
};
|
173
|
+
/** {@link ElementWrapper#getParent}
|
174
|
+
* @override
|
175
|
+
*/
|
176
|
+
Cell.prototype.getParent = function () {
|
177
|
+
return (this._element !== null) ? this._element.parentNode : null;
|
178
|
+
};
|
179
|
+
/** {@link ElementWrapper#setParent}
|
180
|
+
* @override
|
181
|
+
*/
|
182
|
+
Cell.prototype.setParent = function (obj, opt_prepend) {
|
183
|
+
var parent = Util.getElement(obj);
|
184
|
+
if (parent) {
|
185
|
+
this.initialize();
|
186
|
+
if(this._collapsedState === 1) {
|
187
|
+
return; // Cell is being collapsed and not in the document
|
188
|
+
}
|
189
|
+
|
190
|
+
var sibling;
|
191
|
+
if (opt_prepend === true) {
|
192
|
+
sibling = parent.firstChild;
|
193
|
+
}
|
194
|
+
if (sibling) {
|
195
|
+
parent.insertBefore(this._element, sibling);
|
196
|
+
} else {
|
197
|
+
parent.appendChild(this._element);
|
198
|
+
}
|
199
|
+
} else {
|
200
|
+
this.removeParent();
|
201
|
+
}
|
202
|
+
};
|
203
|
+
/** @public
|
204
|
+
* @ignore
|
205
|
+
*/
|
206
|
+
Cell.prototype.removeParent = function () {
|
207
|
+
var el = this._element;
|
208
|
+
if (el && el.parentNode) {
|
209
|
+
el.parentNode.removeChild(el);
|
210
|
+
}
|
211
|
+
};
|
212
|
+
/** {@link ElementWrapper#insertBefore}
|
213
|
+
* @override
|
214
|
+
*/
|
215
|
+
Cell.prototype.insertBefore = function (nextSibling) {
|
216
|
+
var nextNode = Util.getElement(nextSibling);
|
217
|
+
if (nextNode == null) {
|
218
|
+
this.setParent(this.getParent());
|
219
|
+
return;
|
220
|
+
}
|
221
|
+
|
222
|
+
var parent = nextNode.parentNode;
|
223
|
+
if (parent == null) { return; }
|
224
|
+
|
225
|
+
this.initialize();
|
226
|
+
parent.insertBefore(this._element, nextNode);
|
227
|
+
};
|
228
|
+
|
229
|
+
|
230
|
+
/** {@link ElementWrapper#getTextContent}
|
231
|
+
* @override
|
232
|
+
*/
|
233
|
+
Cell.prototype.getTextContent = function () {
|
234
|
+
if(this._rawContent) {
|
235
|
+
return (typeof this._rawContent == "string") ? /** @type{string} */(this._rawContent) : this._rawContent.textContent;
|
236
|
+
}
|
237
|
+
return "";
|
238
|
+
};
|
239
|
+
/** @public
|
240
|
+
* @return {Element} return the element of the text content
|
241
|
+
*/
|
242
|
+
Cell.prototype.getTextElement = function () {
|
243
|
+
return this._textSpan;
|
244
|
+
};
|
245
|
+
|
246
|
+
/** {@link ElementWrapper#getWidth}
|
247
|
+
* @override
|
248
|
+
*/
|
249
|
+
Cell.prototype.getWidth = function () {
|
250
|
+
if(this._width >= 0) {
|
251
|
+
return this._width;
|
252
|
+
}
|
253
|
+
|
254
|
+
return this._element.offsetWidth;
|
255
|
+
};
|
256
|
+
/** {@link ElementWrapper#setWidth}
|
257
|
+
* @override
|
258
|
+
*/
|
259
|
+
Cell.prototype.setWidth = function (px) {
|
260
|
+
if(px < 0) { px = -1; }
|
261
|
+
if(this._width !== px) {
|
262
|
+
this._width = px;
|
263
|
+
this._element.style.width = (px >= 0) ? px + "px" : "";
|
264
|
+
this._updateDisplay();
|
265
|
+
return true;
|
266
|
+
}
|
267
|
+
return false;
|
268
|
+
};
|
269
|
+
|
270
|
+
/** {@link ElementWrapper#getHeight}
|
271
|
+
* @description WARNING: Even if this element is hidden, its height is still returned as positive value
|
272
|
+
* @override
|
273
|
+
*/
|
274
|
+
Cell.prototype.getHeight = function () {
|
275
|
+
if(this._height >= 0) {
|
276
|
+
return this._height;
|
277
|
+
}
|
278
|
+
|
279
|
+
return this._element.offsetHeight;
|
280
|
+
};
|
281
|
+
/** {@link ElementWrapper#setHeight}
|
282
|
+
* @override
|
283
|
+
*/
|
284
|
+
Cell.prototype.setHeight = function (px) {
|
285
|
+
if(px < 0) { px = -1; }
|
286
|
+
if(this._height !== px) {
|
287
|
+
this._height = px;
|
288
|
+
this._element.style.height = (px >= 0) ? px + "px" : "";
|
289
|
+
this._updateDisplay();
|
290
|
+
return true;
|
291
|
+
}
|
292
|
+
return false;
|
293
|
+
};
|
294
|
+
|
295
|
+
/** Cell cannot be resized by this way {@link ElementWrapper#fillParentWidth}
|
296
|
+
* @override
|
297
|
+
*/
|
298
|
+
Cell.prototype.fillParentWidth = function (percent) { return false; };
|
299
|
+
/** Cell cannot be resized by this way {@link ElementWrapper#fillParentHeight}
|
300
|
+
* @override
|
301
|
+
*/
|
302
|
+
Cell.prototype.fillParentHeight = function (percent) { return false; };
|
303
|
+
/** {@link ElementWrapper#show}
|
304
|
+
* @override
|
305
|
+
*/
|
306
|
+
Cell.prototype.show = function (opt_shown) {
|
307
|
+
var shown = opt_shown !== false;
|
308
|
+
if(shown !== this._visible) {
|
309
|
+
this._visible = shown;
|
310
|
+
this._updateDisplay();
|
311
|
+
}
|
312
|
+
};
|
313
|
+
/** {@link ElementWrapper#isVisible}
|
314
|
+
* @override
|
315
|
+
*/
|
316
|
+
Cell.prototype.isVisible = function () {
|
317
|
+
return this._visible;
|
318
|
+
};
|
319
|
+
|
320
|
+
/** @deprecated
|
321
|
+
* @returns {number}
|
322
|
+
*/
|
323
|
+
Cell.prototype.getScrollLeft = function() { return 0; };
|
324
|
+
/** @deprecated
|
325
|
+
* @returns {number}
|
326
|
+
*/
|
327
|
+
Cell.prototype.getScrollTop = function() { return 0; };
|
328
|
+
/** @deprecated
|
329
|
+
* @returns {boolean}
|
330
|
+
*/
|
331
|
+
Cell.prototype.isEndOfHorizontalScroll = function() { return true; };
|
332
|
+
/** @deprecated
|
333
|
+
* @returns {boolean}
|
334
|
+
*/
|
335
|
+
Cell.prototype.isEndOfVerticalScroll = function() { return true; };
|
336
|
+
//#endregion ElementWrapper
|
337
|
+
|
338
|
+
//#region Cell Specific Methods
|
339
|
+
/** @public
|
340
|
+
* @return {boolean}
|
341
|
+
*/
|
342
|
+
Cell.prototype.hasElement = function () {
|
343
|
+
return this._element !== null;
|
344
|
+
};
|
345
|
+
/** @public
|
346
|
+
* @return {ILayoutGrid}
|
347
|
+
*/
|
348
|
+
Cell.prototype.getSection = function () {
|
349
|
+
return this._section;
|
350
|
+
};
|
351
|
+
/** Use for lazy initialization only. Force an element to be created, if it does not exist.
|
352
|
+
* @public
|
353
|
+
* @return {!Element}
|
354
|
+
*/
|
355
|
+
Cell.prototype.initialize = function () {
|
356
|
+
if(this._aligner == null) {
|
357
|
+
if (Util.isIE) {
|
358
|
+
this._aligner = document.createElement("div");
|
359
|
+
} else {
|
360
|
+
this._aligner = document.createElement("button");
|
361
|
+
this._aligner.addEventListener('focus', this._onFocus);
|
362
|
+
}
|
363
|
+
this._aligner.className = "valigner";
|
364
|
+
if(this._frontIcon) {
|
365
|
+
this._element.appendChild(this._frontIcon.getElement());
|
366
|
+
}
|
367
|
+
this._element.appendChild(this._aligner);
|
368
|
+
if(this._floatingPanel) {
|
369
|
+
this._element.appendChild(this._floatingPanel.getElement());
|
370
|
+
}
|
371
|
+
}
|
372
|
+
return /** @type{!Element} */(this._element);
|
373
|
+
};
|
374
|
+
|
375
|
+
/** @public
|
376
|
+
* @param {Element} icon
|
377
|
+
*/
|
378
|
+
Cell.prototype.updateIcon = function(icon) {
|
379
|
+
if (!icon) {
|
380
|
+
return;
|
381
|
+
}
|
382
|
+
|
383
|
+
var fi = this._frontIcon;
|
384
|
+
if (fi) {
|
385
|
+
fi.clearItems();
|
386
|
+
}
|
387
|
+
this.insertFrontIcon(icon, 0);
|
388
|
+
};
|
389
|
+
/** @public
|
390
|
+
*/
|
391
|
+
Cell.prototype.removeIcon = function() {
|
392
|
+
var fi = this._frontIcon;
|
393
|
+
if (fi) {
|
394
|
+
fi.clearItems();
|
395
|
+
this._element.removeChild(fi.getElement());
|
396
|
+
fi = this._frontIcon = null;
|
397
|
+
}
|
398
|
+
};
|
399
|
+
|
400
|
+
/** @public
|
401
|
+
* @deprecated
|
402
|
+
*/
|
403
|
+
Cell.prototype.isFrozen = Util._deprecatedFunction;
|
404
|
+
/** @public
|
405
|
+
* @deprecated
|
406
|
+
* @param {boolean=} opt_bool
|
407
|
+
*/
|
408
|
+
Cell.prototype.freezeLayout = Util._deprecatedFunction;
|
409
|
+
|
410
|
+
/** @public
|
411
|
+
* @deprecated
|
412
|
+
* @param {boolean=} opt_bool
|
413
|
+
*/
|
414
|
+
Cell.prototype.setAutoContentClipping = Util._deprecatedFunction;
|
415
|
+
|
416
|
+
/** @public
|
417
|
+
* @param {string} str
|
418
|
+
* @return {boolean}
|
419
|
+
*/
|
420
|
+
Cell.prototype.setContentTooltip = function (str) {
|
421
|
+
if (str != null && this._content) {
|
422
|
+
this._content.setAttribute("title", str);
|
423
|
+
return true;
|
424
|
+
}
|
425
|
+
return false;
|
426
|
+
};
|
427
|
+
|
428
|
+
/** @public
|
429
|
+
* @param {boolean} opt_locked
|
430
|
+
*/
|
431
|
+
Cell.prototype.lockContent = function (opt_locked) {
|
432
|
+
this._contentLocked = (opt_locked !== false);
|
433
|
+
};
|
434
|
+
|
435
|
+
/** Reset all styles, classes, and content in this cell and restore its default classes
|
436
|
+
* @public
|
437
|
+
*/
|
438
|
+
Cell.prototype.reset = function() {
|
439
|
+
if(!this._element) { return; }
|
440
|
+
|
441
|
+
var width = this._element.style.width;
|
442
|
+
var height = this._element.style.height;
|
443
|
+
this.removeAttribute("style");
|
444
|
+
if(width) {
|
445
|
+
this._element.style.width = width;
|
446
|
+
}
|
447
|
+
if(height) {
|
448
|
+
this._element.style.height = height;
|
449
|
+
}
|
450
|
+
this.resetClass();
|
451
|
+
|
452
|
+
// HACK!!
|
453
|
+
var blinkState = this["blinkState"];
|
454
|
+
if(blinkState) {
|
455
|
+
if (blinkState.timerId >= 0) {
|
456
|
+
clearInterval(blinkState.timerId);
|
457
|
+
}
|
458
|
+
delete this["blinkState"];
|
459
|
+
}
|
460
|
+
delete this["trendState"];
|
461
|
+
var scope = this["blinking"];
|
462
|
+
if(scope) {
|
463
|
+
if(scope["blinking"] >= 0) {
|
464
|
+
clearTimeout(scope["blinking"]);
|
465
|
+
}
|
466
|
+
scope["cell"] = null;
|
467
|
+
scope["styles"] = null;
|
468
|
+
delete this["blinking"];
|
469
|
+
}
|
470
|
+
|
471
|
+
this.removeIcon();
|
472
|
+
|
473
|
+
this.setContent(null);
|
474
|
+
if(this._textSpan) {
|
475
|
+
this._textSpan.className = "text";
|
476
|
+
this._textSpan.textContent = "";
|
477
|
+
}
|
478
|
+
};
|
479
|
+
|
480
|
+
/** Reset all classes in this cell and restore its default classes
|
481
|
+
* @public
|
482
|
+
*/
|
483
|
+
Cell.prototype.resetClass = function() {
|
484
|
+
var className = "cell";
|
485
|
+
if(this.hasClass("spanned")) {
|
486
|
+
className += " spanned";
|
487
|
+
}
|
488
|
+
if(this.hasClass("selected-row")) {
|
489
|
+
className += " selected-row";
|
490
|
+
}
|
491
|
+
if(this.hasClass("highlighted-row")) {
|
492
|
+
className += " highlighted-row";
|
493
|
+
}
|
494
|
+
this.setClass(className);
|
495
|
+
};
|
496
|
+
/** Reset everything to initial state
|
497
|
+
* @public
|
498
|
+
*/
|
499
|
+
Cell.prototype.resetToInitialState = function() {
|
500
|
+
if(!this._element) { return; }
|
501
|
+
|
502
|
+
this.setParent(null);
|
503
|
+
this.unlistenAll();
|
504
|
+
|
505
|
+
this._element.className = "cell";
|
506
|
+
this.removeIcon();
|
507
|
+
this.setContent(null);
|
508
|
+
this._contentLocked = false;
|
509
|
+
this._collapsedState = 0;
|
510
|
+
};
|
511
|
+
|
512
|
+
/** @public
|
513
|
+
* @param {Element} elem
|
514
|
+
* @param {number=} opt_order The greater the order, the farther the position to the right
|
515
|
+
*/
|
516
|
+
Cell.prototype.insertFloatingIcon = function (elem, opt_order) {
|
517
|
+
if(!elem) {
|
518
|
+
return;
|
519
|
+
}
|
520
|
+
|
521
|
+
var fp = this._floatingPanel;
|
522
|
+
if(!fp) {
|
523
|
+
fp = this._floatingPanel = new CellFloatingPanel();
|
524
|
+
}
|
525
|
+
fp.insertItem(elem, opt_order);
|
526
|
+
fp.addClass("floating-panel");
|
527
|
+
|
528
|
+
var element = this._element;
|
529
|
+
if (!element.contains(fp.getElement())) {
|
530
|
+
element.appendChild(fp.getElement());
|
531
|
+
}
|
532
|
+
};
|
533
|
+
/** @public
|
534
|
+
* @param {Element|string} elemRef This can be the element or className (string) of the icon
|
535
|
+
* @return {Element|null} removed element
|
536
|
+
*/
|
537
|
+
Cell.prototype.removeFloatingIcon = function (elemRef) {
|
538
|
+
var fp = this._floatingPanel;
|
539
|
+
if (!fp) {
|
540
|
+
return null;
|
541
|
+
}
|
542
|
+
|
543
|
+
var removeElem = fp.removeItem(elemRef);
|
544
|
+
if (!fp.hasItem()) {
|
545
|
+
this._element.removeChild(fp.getElement());
|
546
|
+
this._floatingPanel = null;
|
547
|
+
}
|
548
|
+
return removeElem;
|
549
|
+
};
|
550
|
+
|
551
|
+
/** @public
|
552
|
+
* @param {Element} elem
|
553
|
+
* @param {number=} opt_order The greater the order, the farther the position to the right
|
554
|
+
*/
|
555
|
+
Cell.prototype.insertFrontIcon = function (elem, opt_order) {
|
556
|
+
if(!elem) {
|
557
|
+
return;
|
558
|
+
}
|
559
|
+
|
560
|
+
var fi = this._frontIcon;
|
561
|
+
if(!fi) {
|
562
|
+
fi = this._frontIcon = new CellFloatingPanel();
|
563
|
+
}
|
564
|
+
fi.insertItem(elem, opt_order);
|
565
|
+
fi.addClass("front-panel");
|
566
|
+
|
567
|
+
var element = this._element;
|
568
|
+
if (!element.contains(fi.getElement())) {
|
569
|
+
element.insertBefore(fi.getElement(), element.firstChild);
|
570
|
+
}
|
571
|
+
};
|
572
|
+
/** @public
|
573
|
+
* @param {Element|string} elemRef This can be the element or className (string) of the icon
|
574
|
+
* @return {Element|null} removed element
|
575
|
+
*/
|
576
|
+
Cell.prototype.removeFrontIcon = function (elemRef) {
|
577
|
+
var fi = this._frontIcon;
|
578
|
+
if (!fi) {
|
579
|
+
return null;
|
580
|
+
}
|
581
|
+
|
582
|
+
var removeElem = fi.removeItem(elemRef);
|
583
|
+
if (!fi.hasItem()) {
|
584
|
+
removeElem = fi.getElement();
|
585
|
+
this._element.removeChild(removeElem);
|
586
|
+
this._frontIcon = null;
|
587
|
+
}
|
588
|
+
return removeElem;
|
589
|
+
};
|
590
|
+
//#endregion Cell Specific Methods
|
591
|
+
|
592
|
+
//#region Internal Public Methods
|
593
|
+
/** @public
|
594
|
+
* @ignore
|
595
|
+
* @return {number}
|
596
|
+
*/
|
597
|
+
Cell.prototype.getCellId = function () {
|
598
|
+
return this._id;
|
599
|
+
};
|
600
|
+
/** Force updating cell padding due to the floating icons in the cell
|
601
|
+
* @public
|
602
|
+
* @deprecated
|
603
|
+
*/
|
604
|
+
Cell.prototype.updatePadding = function() {
|
605
|
+
// Do nothing
|
606
|
+
};
|
607
|
+
|
608
|
+
/** @public
|
609
|
+
* @ignore
|
610
|
+
* @param {boolean=} opt_collapsed
|
611
|
+
* @param {boolean=} opt_remainedInDoc
|
612
|
+
* @return {boolean}
|
613
|
+
*/
|
614
|
+
Cell.prototype.collapse = function (opt_collapsed, opt_remainedInDoc) {
|
615
|
+
var collapsed = opt_collapsed !== false;
|
616
|
+
(opt_remainedInDoc ? 2 : 1);
|
617
|
+
var collapsedState;
|
618
|
+
if (collapsed) {
|
619
|
+
collapsedState = (opt_remainedInDoc ? 2 : 1);
|
620
|
+
} else {
|
621
|
+
collapsedState = 0;
|
622
|
+
}
|
623
|
+
if(this._collapsedState === collapsedState) {
|
624
|
+
return false;
|
625
|
+
}
|
626
|
+
|
627
|
+
if(collapsed) {
|
628
|
+
if(opt_remainedInDoc) {
|
629
|
+
this.addClass("spanned");
|
630
|
+
} else {
|
631
|
+
this.setParent(null);
|
632
|
+
}
|
633
|
+
} else {
|
634
|
+
if(this._collapsedState === 2) {
|
635
|
+
this.removeClass("spanned");
|
636
|
+
}
|
637
|
+
}
|
638
|
+
this._collapsedState = collapsedState;
|
639
|
+
return true;
|
640
|
+
};
|
641
|
+
/** @public
|
642
|
+
* @ignore
|
643
|
+
* @return {boolean}
|
644
|
+
*/
|
645
|
+
Cell.prototype.isCollapsed = function () {
|
646
|
+
return this._collapsedState !== 0;
|
647
|
+
};
|
648
|
+
/** @public
|
649
|
+
* @ignore
|
650
|
+
* @return {boolean}
|
651
|
+
*/
|
652
|
+
Cell.prototype.isKeptInDoc = function () {
|
653
|
+
return this._collapsedState !== 1;
|
654
|
+
};
|
655
|
+
|
656
|
+
/** @public
|
657
|
+
* @ignore
|
658
|
+
* @return {number}
|
659
|
+
*/
|
660
|
+
Cell.prototype.getClientWidth = function () {
|
661
|
+
return (this._element) ? this._element.clientWidth : this.getWidth();
|
662
|
+
};
|
663
|
+
/** @public
|
664
|
+
* @ignore
|
665
|
+
* @return {number}
|
666
|
+
*/
|
667
|
+
Cell.prototype.getClientHeight = function () {
|
668
|
+
return (this._element) ? this._element.clientHeight : this.getHeight();
|
669
|
+
};
|
670
|
+
//#region Internal Public Methods
|
671
|
+
|
672
|
+
//#region Private Methods
|
673
|
+
/** @private
|
674
|
+
* @param {*} value
|
675
|
+
* @return {Element}
|
676
|
+
*/
|
677
|
+
Cell.prototype._setRawContent = function (value) {
|
678
|
+
if (this._rawContent !== value) {
|
679
|
+
this._rawContent = value;
|
680
|
+
|
681
|
+
var actualContent = /** @type{Element|NodeList} */(this._rawContent);
|
682
|
+
if (typeof this._rawContent == "string") {
|
683
|
+
if (!this._textSpan) {
|
684
|
+
this._textSpan = document.createElement("span");
|
685
|
+
this._textSpan.className = "text";
|
686
|
+
}
|
687
|
+
this._textSpan.textContent = this._rawContent;
|
688
|
+
actualContent = this._textSpan;
|
689
|
+
}
|
690
|
+
|
691
|
+
if (this._content !== actualContent) { // Compare with previous element
|
692
|
+
this._content = actualContent;
|
693
|
+
|
694
|
+
this.initialize();
|
695
|
+
|
696
|
+
var aligner = this._aligner;
|
697
|
+
while (aligner.lastChild ) {
|
698
|
+
aligner.removeChild(aligner.lastChild);
|
699
|
+
}
|
700
|
+
if (this._content) {
|
701
|
+
aligner.appendChild(/** @type{Element} */(this._content));
|
702
|
+
}
|
703
|
+
}
|
704
|
+
|
705
|
+
}
|
706
|
+
return /** @type{Element} */(this._content);
|
707
|
+
};
|
708
|
+
|
709
|
+
/** @private
|
710
|
+
*/
|
711
|
+
Cell.prototype._updateDisplay = function () {
|
712
|
+
var visibility = false;
|
713
|
+
if(this.isVisible()) {
|
714
|
+
if(this._width && this._height) {
|
715
|
+
visibility = true;
|
716
|
+
}
|
717
|
+
}
|
718
|
+
if (visibility) {
|
719
|
+
this._element.style.display = "";
|
720
|
+
} else {
|
721
|
+
this._element.style.display = "none";
|
722
|
+
}
|
723
|
+
};
|
724
|
+
|
725
|
+
/** @private
|
726
|
+
* @param {Event} e
|
727
|
+
*/
|
728
|
+
Cell.prototype._onFocus = function (e) {
|
729
|
+
if (!this._section) return;
|
730
|
+
|
731
|
+
var core = this._section._getContext();
|
732
|
+
core.getElement().focus({ preventScroll: true });
|
733
|
+
};
|
734
|
+
//#endregion Private Methods
|
735
|
+
|
736
|
+
|
737
|
+
Cell._proto = Cell.prototype;
|
738
|
+
|
739
|
+
export default Cell;
|
740
|
+
export { Cell };
|