@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,316 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import ElementWrapper from "../components/ElementWrapper.js";
|
3
|
+
import PercentBar from "./PercentBar.js";
|
4
|
+
/* eslint-enable */
|
5
|
+
|
6
|
+
/** @constructor
|
7
|
+
*/
|
8
|
+
var PercentBarRenderer = function () {
|
9
|
+
this._pbs = [];
|
10
|
+
};
|
11
|
+
//#region Public Methods
|
12
|
+
/** @public
|
13
|
+
*/
|
14
|
+
PercentBarRenderer.prototype.dispose = function() {
|
15
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
16
|
+
this._pbs[i].dispose();
|
17
|
+
}
|
18
|
+
this._pbs = null;
|
19
|
+
};
|
20
|
+
|
21
|
+
//#region Public Methods
|
22
|
+
/** @public
|
23
|
+
* @param {ElementWrapper} cell
|
24
|
+
* @param {number} value
|
25
|
+
* @param {number=} opt_max
|
26
|
+
* @param {string=} opt_displayText
|
27
|
+
* @param {number=} opt_textWidth
|
28
|
+
*/
|
29
|
+
PercentBarRenderer.prototype.render = function(cell, value, opt_max, opt_displayText, opt_textWidth) {
|
30
|
+
if(!cell) { return; }
|
31
|
+
if (value) {
|
32
|
+
var numValue = +value;
|
33
|
+
if (numValue !== numValue) { // string that can't be converted to number
|
34
|
+
cell.setContent(value);
|
35
|
+
return;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
var content = cell.getContent();
|
40
|
+
var pb = (content) ? content._percentBar : null;
|
41
|
+
if(!pb) {
|
42
|
+
pb = this._createPercentBar(opt_textWidth);
|
43
|
+
|
44
|
+
this._pbs.push(pb);
|
45
|
+
|
46
|
+
cell.setContent(pb);
|
47
|
+
}
|
48
|
+
|
49
|
+
if (opt_textWidth) {
|
50
|
+
pb.setTextWidth(opt_textWidth); // Custom textWidth per cell
|
51
|
+
}
|
52
|
+
var displayText = opt_displayText || cell["percentText"] || "";
|
53
|
+
this._setDisplayText(pb, value, displayText, opt_max);
|
54
|
+
};
|
55
|
+
/** @public
|
56
|
+
* @param {ElementWrapper} cell
|
57
|
+
* @param {number} value
|
58
|
+
* @param {number=} opt_max
|
59
|
+
* @return {PercentBar}
|
60
|
+
*/
|
61
|
+
PercentBarRenderer.prototype.renderForPrinting = function(cell, value, opt_max) {
|
62
|
+
if (value) {
|
63
|
+
var numValue = +value;
|
64
|
+
if (numValue !== numValue) { // string that can't be converted to number
|
65
|
+
cell.setContent(value);
|
66
|
+
return null;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
var pb = this._createPercentBar();
|
71
|
+
this._setDisplayText(pb, value, cell["percentText"], opt_max);
|
72
|
+
cell.setContent(pb);
|
73
|
+
return pb;
|
74
|
+
};
|
75
|
+
/** @private
|
76
|
+
* @param {number=} opt_textWidth
|
77
|
+
* @return {!PercentBar}
|
78
|
+
*/
|
79
|
+
PercentBarRenderer.prototype._createPercentBar = function(opt_textWidth) {
|
80
|
+
var pb = new PercentBar();
|
81
|
+
if (!opt_textWidth) {
|
82
|
+
if(this._textWidth) {
|
83
|
+
pb.setTextWidth(this._textWidth); // Default text width
|
84
|
+
}
|
85
|
+
}
|
86
|
+
pb.setAlignment(this._alignment);
|
87
|
+
pb.setMovementColor(this._movementColor);
|
88
|
+
pb.useMovementColor(this._movementColorUsed);
|
89
|
+
pb.hideText(this._textHidden);
|
90
|
+
pb.setTrackColor(this._trackColor);
|
91
|
+
pb.enableTooltip(this._tooltipEnabled);
|
92
|
+
return pb;
|
93
|
+
};
|
94
|
+
/** @private
|
95
|
+
* @param {!PercentBar} pb
|
96
|
+
* @param {number} value
|
97
|
+
* @param {string=} displayText
|
98
|
+
* @param {number=} opt_max
|
99
|
+
*/
|
100
|
+
PercentBarRenderer.prototype._setDisplayText = function(pb, value, displayText, opt_max) {
|
101
|
+
pb.setValue(value, opt_max, displayText);
|
102
|
+
if(this._txtResizing && displayText) { // HACK: Perform text auto resizing if only displayText exists
|
103
|
+
var tsw = pb.getTextScrollWidth();
|
104
|
+
if(this._maxTextWidth === this._maxTextWidth) {
|
105
|
+
if(tsw > this._maxTextWidth) {
|
106
|
+
this._maxTextWidth = tsw;
|
107
|
+
}
|
108
|
+
} else {
|
109
|
+
this._maxTextWidth = tsw;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
};
|
113
|
+
|
114
|
+
/** @public
|
115
|
+
* @param {string} alignment Alignment can be "left", "center", "right"
|
116
|
+
*/
|
117
|
+
PercentBarRenderer.prototype.setAlignment = function(alignment) {
|
118
|
+
if (!alignment) { alignment = "center"; }
|
119
|
+
|
120
|
+
this._alignment = alignment;
|
121
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
122
|
+
this._pbs[i].setAlignment(alignment);
|
123
|
+
}
|
124
|
+
};
|
125
|
+
/** @public
|
126
|
+
* @param {Object=} colorObj
|
127
|
+
*/
|
128
|
+
PercentBarRenderer.prototype.setMovementColor = function(colorObj) {
|
129
|
+
this._movementColor = colorObj || null;
|
130
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
131
|
+
this._pbs[i].setMovementColor(colorObj);
|
132
|
+
}
|
133
|
+
};
|
134
|
+
/** @public
|
135
|
+
* @param {boolean=} opt_enabled
|
136
|
+
*/
|
137
|
+
PercentBarRenderer.prototype.useMovementColor = function(opt_enabled) {
|
138
|
+
this._movementColorUsed = opt_enabled !== false;
|
139
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
140
|
+
this._pbs[i].useMovementColor(opt_enabled);
|
141
|
+
}
|
142
|
+
};
|
143
|
+
/** @public
|
144
|
+
* @param {string=} color
|
145
|
+
*/
|
146
|
+
PercentBarRenderer.prototype.setTrackColor = function(color) {
|
147
|
+
this._trackColor = color ? color : "";
|
148
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
149
|
+
this._pbs[i].setTrackColor(color);
|
150
|
+
}
|
151
|
+
};
|
152
|
+
/** @public
|
153
|
+
* @param {boolean=} opt_enabled
|
154
|
+
*/
|
155
|
+
PercentBarRenderer.prototype.hideText = function(opt_enabled) {
|
156
|
+
this._textHidden = opt_enabled !== false;
|
157
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
158
|
+
this._pbs[i].hideText(opt_enabled);
|
159
|
+
}
|
160
|
+
};
|
161
|
+
|
162
|
+
/** @public
|
163
|
+
* @param {number|string} width
|
164
|
+
* @param {Array.<PercentBar>=} opt_pbs
|
165
|
+
*/
|
166
|
+
PercentBarRenderer.prototype.setTextWidth = function(width, opt_pbs) {
|
167
|
+
var newWidth = "";
|
168
|
+
if(width || width === 0) {
|
169
|
+
newWidth = (typeof width === "number") ? width + "px" : width;
|
170
|
+
}
|
171
|
+
|
172
|
+
var i;
|
173
|
+
if(opt_pbs) {
|
174
|
+
for(i = opt_pbs.length; --i >= 0;) {
|
175
|
+
opt_pbs[i].setTextWidth(width);
|
176
|
+
}
|
177
|
+
} else if(this._textWidth !== newWidth) {
|
178
|
+
this._textWidth = newWidth;
|
179
|
+
for(i = this._pbs.length; --i >= 0;) {
|
180
|
+
this._pbs[i].setTextWidth(newWidth);
|
181
|
+
}
|
182
|
+
}
|
183
|
+
};
|
184
|
+
|
185
|
+
/** @public
|
186
|
+
* @param {boolean=} opt_enabled
|
187
|
+
*/
|
188
|
+
PercentBarRenderer.prototype.enableTooltip = function(opt_enabled) {
|
189
|
+
this._tooltipEnabled = opt_enabled !== false;
|
190
|
+
for(var i = this._pbs.length; --i >= 0;) {
|
191
|
+
this._pbs[i].enableTooltip(opt_enabled);
|
192
|
+
}
|
193
|
+
};
|
194
|
+
|
195
|
+
/** @public
|
196
|
+
* @return {string} alignment Alignment can be "left", "center", "right"
|
197
|
+
*/
|
198
|
+
PercentBarRenderer.prototype.getAlignment = function() {
|
199
|
+
return this._alignment;
|
200
|
+
};
|
201
|
+
/** @public
|
202
|
+
* @return {boolean}
|
203
|
+
*/
|
204
|
+
PercentBarRenderer.prototype.isMovementColorUsed = function() {
|
205
|
+
return this._movementColorUsed;
|
206
|
+
};
|
207
|
+
/** @public
|
208
|
+
* @return {boolean}
|
209
|
+
*/
|
210
|
+
PercentBarRenderer.prototype.isTextHidden = function() {
|
211
|
+
return this._textHidden;
|
212
|
+
};
|
213
|
+
|
214
|
+
/** @public
|
215
|
+
* @return {boolean}
|
216
|
+
*/
|
217
|
+
PercentBarRenderer.prototype.startTextAutoResizing = function() {
|
218
|
+
if(this._txtResizing) {
|
219
|
+
return false;
|
220
|
+
}
|
221
|
+
if(this._textHidden) {
|
222
|
+
return false;
|
223
|
+
}
|
224
|
+
if(this._alignment !== "left" && this._alignment !== "right") {
|
225
|
+
return false;
|
226
|
+
}
|
227
|
+
this._txtResizing = true;
|
228
|
+
return true;
|
229
|
+
};
|
230
|
+
/** @public
|
231
|
+
* @param {number=} widthLimit
|
232
|
+
* @param {boolean=} opt_resetToDefaultWidth
|
233
|
+
* @param {Array.<PercentBar>=} opt_pbs
|
234
|
+
*/
|
235
|
+
PercentBarRenderer.prototype.endTextAutoResizing = function(widthLimit, opt_resetToDefaultWidth, opt_pbs) {
|
236
|
+
if(this._txtResizing) {
|
237
|
+
this._txtResizing = false;
|
238
|
+
if(typeof widthLimit == "number" && this._maxTextWidth + 8 >= widthLimit) {
|
239
|
+
this.setTextWidth(0, opt_pbs);
|
240
|
+
} else if(this._maxTextWidth === this._maxTextWidth) {
|
241
|
+
this.setTextWidth(this._maxTextWidth + 8, opt_pbs); // 8 is padding
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
if(opt_resetToDefaultWidth) {
|
246
|
+
this._maxTextWidth = NaN;
|
247
|
+
}
|
248
|
+
};
|
249
|
+
//#endregion Public Methods
|
250
|
+
|
251
|
+
//#region Private Methods
|
252
|
+
|
253
|
+
//#endregion Private Methods
|
254
|
+
|
255
|
+
//#region Private Members
|
256
|
+
|
257
|
+
|
258
|
+
/** @private
|
259
|
+
* @type {Array.<PercentBar>}
|
260
|
+
*/
|
261
|
+
PercentBarRenderer.prototype._pbs = null;
|
262
|
+
|
263
|
+
/**
|
264
|
+
* @type {Object}
|
265
|
+
* @private
|
266
|
+
*/
|
267
|
+
PercentBarRenderer.prototype._movementColor = null;
|
268
|
+
/**
|
269
|
+
* @type {boolean}
|
270
|
+
* @private
|
271
|
+
*/
|
272
|
+
PercentBarRenderer.prototype._movementColorUsed = true;
|
273
|
+
/**
|
274
|
+
* @type {string}
|
275
|
+
* @private
|
276
|
+
*/
|
277
|
+
PercentBarRenderer.prototype._trackColor = "";
|
278
|
+
/**
|
279
|
+
* @type {boolean}
|
280
|
+
* @private
|
281
|
+
*/
|
282
|
+
PercentBarRenderer.prototype._textHidden = false;
|
283
|
+
/**
|
284
|
+
* @type {string}
|
285
|
+
* @private
|
286
|
+
*/
|
287
|
+
PercentBarRenderer.prototype._textWidth = "";
|
288
|
+
/**
|
289
|
+
* @type {string}
|
290
|
+
* @private
|
291
|
+
*/
|
292
|
+
PercentBarRenderer.prototype._alignment = "";
|
293
|
+
|
294
|
+
/**
|
295
|
+
* @type {boolean}
|
296
|
+
* @private
|
297
|
+
*/
|
298
|
+
PercentBarRenderer.prototype._txtResizing = false;
|
299
|
+
/**
|
300
|
+
* @type {number}
|
301
|
+
* @private
|
302
|
+
*/
|
303
|
+
PercentBarRenderer.prototype._maxTextWidth = NaN;
|
304
|
+
|
305
|
+
/**
|
306
|
+
* @type {boolean}
|
307
|
+
* @private
|
308
|
+
*/
|
309
|
+
PercentBarRenderer.prototype._tooltipEnabled = true;
|
310
|
+
|
311
|
+
//#endregion Private Members
|
312
|
+
|
313
|
+
PercentBarRenderer._proto = PercentBarRenderer.prototype;
|
314
|
+
|
315
|
+
export default PercentBarRenderer;
|
316
|
+
export { PercentBarRenderer };
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import Ext from "../../../../tr-grid-util/es6/Ext.js";
|
2
|
+
import Util from "../util/util.js";
|
3
|
+
import ElementFrameWork from "./ElementFrameWork.js";
|
4
|
+
import ElementWrapper from "../components/ElementWrapper.js";
|
5
|
+
|
6
|
+
declare class RangeBar extends ElementWrapper {
|
7
|
+
|
8
|
+
constructor(opt_element?: Element);
|
9
|
+
|
10
|
+
public static getControl(obj: any): RangeBar;
|
11
|
+
|
12
|
+
public getPercent(): number;
|
13
|
+
|
14
|
+
public setLowValue(lowVal: number): void;
|
15
|
+
|
16
|
+
public setLastValue(lastVal: number): void;
|
17
|
+
|
18
|
+
public setHighValue(highVal: number): void;
|
19
|
+
|
20
|
+
public setLowLastHigh(lowVal: number, lastVal: number, highVal: number, opt_values?: any): void;
|
21
|
+
|
22
|
+
}
|
23
|
+
|
24
|
+
export default RangeBar;
|
25
|
+
export { RangeBar };
|
@@ -0,0 +1,255 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import Ext from "../../../../tr-grid-util/es6/Ext.js";
|
3
|
+
import Util from "../util/util.js";
|
4
|
+
import ElementFrameWork from "./ElementFrameWork.js";
|
5
|
+
import ElementWrapper from "../components/ElementWrapper.js";
|
6
|
+
/* eslint-enable */
|
7
|
+
|
8
|
+
/**
|
9
|
+
* @constructor
|
10
|
+
* @extends {ElementWrapper}
|
11
|
+
* @param {Element=} opt_element
|
12
|
+
*/
|
13
|
+
var RangeBar = function (opt_element) {
|
14
|
+
this._element = opt_element ? opt_element : document.createElement("div");
|
15
|
+
this._element.className = "tr-range-bar";
|
16
|
+
this._scalebar = ElementFrameWork.createRangeBar();
|
17
|
+
this._na = document.createElement('span');
|
18
|
+
this._na.textContent = "N/A";
|
19
|
+
|
20
|
+
this._na.className = "tr-range-bar-na";
|
21
|
+
|
22
|
+
this._scalebar.setSliderWidth(3);
|
23
|
+
|
24
|
+
var element = this._element;
|
25
|
+
element["_rangeBar"] = this;
|
26
|
+
element.appendChild(this._na);
|
27
|
+
element.appendChild(this._scalebar);
|
28
|
+
};
|
29
|
+
|
30
|
+
Ext.inherits(RangeBar, ElementWrapper);
|
31
|
+
|
32
|
+
/** Retrieve Rangebar control from an element
|
33
|
+
* @public
|
34
|
+
* @function
|
35
|
+
* @param {*} obj
|
36
|
+
* @return {RangeBar}
|
37
|
+
*/
|
38
|
+
RangeBar.getControl = function (obj) {
|
39
|
+
if (obj) {
|
40
|
+
return obj["_rangeBar"] || null;
|
41
|
+
}
|
42
|
+
|
43
|
+
return null;
|
44
|
+
};
|
45
|
+
|
46
|
+
/**
|
47
|
+
* @public
|
48
|
+
* @param {number} lowVal
|
49
|
+
* @param {number} lastVal
|
50
|
+
* @param {number} highVal
|
51
|
+
* @return {number}
|
52
|
+
*/
|
53
|
+
RangeBar.calculatePercent = Util.calculatePercent;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* @public
|
57
|
+
* @return {number} // Percent can be NaN
|
58
|
+
*/
|
59
|
+
RangeBar.prototype.getPercent = function () {
|
60
|
+
return this._percent;
|
61
|
+
};
|
62
|
+
|
63
|
+
/**
|
64
|
+
* @public
|
65
|
+
* @param {number} lowVal
|
66
|
+
|
67
|
+
*/
|
68
|
+
RangeBar.prototype.setLowValue = function (lowVal) {
|
69
|
+
if (this._lowVal === lowVal) {
|
70
|
+
return;
|
71
|
+
}
|
72
|
+
this._lowVal = lowVal;
|
73
|
+
this._updateRangeBar();
|
74
|
+
};
|
75
|
+
|
76
|
+
/**
|
77
|
+
* @public
|
78
|
+
* @param {number} lastVal
|
79
|
+
*/
|
80
|
+
RangeBar.prototype.setLastValue = function (lastVal) {
|
81
|
+
if (this._lastVal === lastVal) {
|
82
|
+
return;
|
83
|
+
}
|
84
|
+
this._lastVal = lastVal;
|
85
|
+
this._updateRangeBar();
|
86
|
+
};
|
87
|
+
|
88
|
+
/**
|
89
|
+
* @public
|
90
|
+
* @param {number} highVal
|
91
|
+
*/
|
92
|
+
RangeBar.prototype.setHighValue = function (highVal) {
|
93
|
+
if (this._highVal === highVal) {
|
94
|
+
return;
|
95
|
+
}
|
96
|
+
|
97
|
+
this._highVal = highVal;
|
98
|
+
this._updateRangeBar();
|
99
|
+
};
|
100
|
+
|
101
|
+
/** Get value of RangeBar
|
102
|
+
* @public
|
103
|
+
* @param {number} lowVal
|
104
|
+
* @param {number} lastVal
|
105
|
+
* @param {number} highVal
|
106
|
+
* @param {{ffLowVal: string, ffLastVal: string, ffHighVal: string, isEmptyCell: boolean}=} opt_values
|
107
|
+
*/
|
108
|
+
RangeBar.prototype.setLowLastHigh = function (lowVal, lastVal, highVal, opt_values) {
|
109
|
+
if (this._lowVal === lowVal &&
|
110
|
+
this._lastVal === lastVal &&
|
111
|
+
this._highVal === highVal &&
|
112
|
+
this._isEmptyCell === (opt_values && opt_values.isEmptyCell)) {
|
113
|
+
return;
|
114
|
+
}
|
115
|
+
|
116
|
+
this._lowVal = lowVal;
|
117
|
+
this._lastVal = lastVal;
|
118
|
+
this._highVal = highVal;
|
119
|
+
|
120
|
+
if (opt_values) {
|
121
|
+
this._opt_ffLowVal = opt_values.ffLowVal;
|
122
|
+
this._opt_ffLastVal = opt_values.ffLastVal;
|
123
|
+
this._opt_ffHighVal = opt_values.ffHighVal;
|
124
|
+
this._isEmptyCell = opt_values.isEmptyCell;
|
125
|
+
} else {
|
126
|
+
this._opt_ffLowVal = "0";
|
127
|
+
this._opt_ffLastVal = "0";
|
128
|
+
this._opt_ffHighVal = "0";
|
129
|
+
// eslint-disable-next-line
|
130
|
+
this._isEmptyCell = undefined;
|
131
|
+
}
|
132
|
+
|
133
|
+
this._updateRangeBar();
|
134
|
+
};
|
135
|
+
|
136
|
+
/**
|
137
|
+
* @private
|
138
|
+
*/
|
139
|
+
RangeBar.prototype._updateRangeBar = function () {
|
140
|
+
var DISPLAY_NA = 1;
|
141
|
+
var DISPLAY_EMPTY = 2;
|
142
|
+
var invalidVal = 0;
|
143
|
+
|
144
|
+
this._percent = Util.calculatePercent(this._lowVal, this._lastVal, this._highVal);
|
145
|
+
|
146
|
+
if (this._percent === this._percent) {
|
147
|
+
this._scalebar.updateScale(this._percent, this._lowVal, this._lastVal, this._highVal);
|
148
|
+
this._scalebar["title"] = this._calculateTooltip();
|
149
|
+
} else {
|
150
|
+
if (this._isEmptyCell != null) {
|
151
|
+
invalidVal = this._isEmptyCell ? DISPLAY_EMPTY : DISPLAY_NA;
|
152
|
+
} else {
|
153
|
+
if (this._lowVal != null || this._lastVal != null || this._highVal != null) {
|
154
|
+
invalidVal = DISPLAY_NA;
|
155
|
+
} else {
|
156
|
+
invalidVal = DISPLAY_EMPTY;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
if (this._invalidValue !== invalidVal) {
|
162
|
+
this._invalidValue = invalidVal;
|
163
|
+
if (this._invalidValue > 1) {
|
164
|
+
this.hide();
|
165
|
+
} else {
|
166
|
+
this._na.title = this._calculateTooltip();
|
167
|
+
this.enableClass("na-value", this._invalidValue === DISPLAY_NA);
|
168
|
+
this.show();
|
169
|
+
}
|
170
|
+
}
|
171
|
+
};
|
172
|
+
|
173
|
+
/**
|
174
|
+
* @private
|
175
|
+
* @param {number} val
|
176
|
+
* @param {string|undefined} ff
|
177
|
+
* @return {number|string}
|
178
|
+
*/
|
179
|
+
RangeBar.prototype._getRenderValue = function (val, ff) {
|
180
|
+
var DOUBLE_DASH = "--";
|
181
|
+
|
182
|
+
if (ff == null && val === 0) { // +0 case
|
183
|
+
return DOUBLE_DASH;
|
184
|
+
}
|
185
|
+
|
186
|
+
return Util.isEmpty(val) ? DOUBLE_DASH : val;
|
187
|
+
};
|
188
|
+
|
189
|
+
/**
|
190
|
+
* @private
|
191
|
+
* @return {string}
|
192
|
+
*/
|
193
|
+
RangeBar.prototype._calculateTooltip = function () {
|
194
|
+
var tooltipLinebreakChar = Util.getTooltipLinebreakChar();
|
195
|
+
var renderLowVal = this._getRenderValue(this._lowVal, this._opt_ffLowVal);
|
196
|
+
var renderLastVal = this._getRenderValue(this._lastVal, this._opt_ffLastVal);
|
197
|
+
var renderHighVal = this._getRenderValue(this._highVal, this._opt_ffHighVal);
|
198
|
+
|
199
|
+
return "Low: " + renderLowVal + tooltipLinebreakChar + "Last: " + renderLastVal + tooltipLinebreakChar + "High: " + renderHighVal;
|
200
|
+
};
|
201
|
+
|
202
|
+
/** @private
|
203
|
+
* @type {Element}
|
204
|
+
*/
|
205
|
+
RangeBar.prototype._scalebar = null;
|
206
|
+
|
207
|
+
/** @private
|
208
|
+
* @type {Element}
|
209
|
+
*/
|
210
|
+
RangeBar.prototype._slider = null;
|
211
|
+
|
212
|
+
/** @private
|
213
|
+
* @type {number}
|
214
|
+
*/
|
215
|
+
RangeBar.prototype._lowVal = 0;
|
216
|
+
|
217
|
+
/** @private
|
218
|
+
* @type {number}
|
219
|
+
*/
|
220
|
+
RangeBar.prototype._lastVal = 0;
|
221
|
+
|
222
|
+
/** @private
|
223
|
+
* @type {number}
|
224
|
+
*/
|
225
|
+
RangeBar.prototype._highVal = 0;
|
226
|
+
|
227
|
+
/** @private
|
228
|
+
* @type {string|undefined}
|
229
|
+
*/
|
230
|
+
RangeBar.prototype._opt_ffLowVal = "0";
|
231
|
+
|
232
|
+
/** @private
|
233
|
+
* @type {string|undefined}
|
234
|
+
*/
|
235
|
+
RangeBar.prototype._opt_ffLastVal = "0";
|
236
|
+
|
237
|
+
/** @private
|
238
|
+
* @type {string|undefined}
|
239
|
+
*/
|
240
|
+
RangeBar.prototype._opt_ffHighVal = "0";
|
241
|
+
|
242
|
+
/** @private
|
243
|
+
* @type {number}
|
244
|
+
*/
|
245
|
+
RangeBar.prototype._percent = 0;
|
246
|
+
|
247
|
+
/** @private
|
248
|
+
* @type {number}
|
249
|
+
*/
|
250
|
+
RangeBar.prototype._invalidValue = 0;
|
251
|
+
|
252
|
+
RangeBar._proto = RangeBar.prototype;
|
253
|
+
|
254
|
+
export default RangeBar;
|
255
|
+
export { RangeBar };
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
declare class Reverter {
|
4
|
+
|
5
|
+
constructor(opt_func?: ((...params: any[]) => any)|number, opt_ms?: number|((...params: any[]) => any));
|
6
|
+
|
7
|
+
public start(): void;
|
8
|
+
|
9
|
+
public dispose(): void;
|
10
|
+
|
11
|
+
}
|
12
|
+
|
13
|
+
export default Reverter;
|
14
|
+
export { Reverter };
|
@@ -0,0 +1,79 @@
|
|
1
|
+
|
2
|
+
/** @description Reverter is used executed the given method after the specified delay. If Reverter is activated the second time within the delay, the delay time will be extended.
|
3
|
+
* @constructor
|
4
|
+
* @param {Function|number=} opt_func
|
5
|
+
* @param {number|Function=} opt_ms The delay time in millisecond before executing the function
|
6
|
+
*/
|
7
|
+
var Reverter = function (opt_func, opt_ms) {
|
8
|
+
this._onInterval = this._onInterval.bind(this);
|
9
|
+
|
10
|
+
if(typeof opt_func == "function") {
|
11
|
+
this._func = opt_func;
|
12
|
+
} else if (typeof opt_ms == "function") { // Parameter can be swapped places
|
13
|
+
this._func = opt_ms;
|
14
|
+
}
|
15
|
+
|
16
|
+
if(typeof opt_ms == "number") {
|
17
|
+
this._delay = opt_ms;
|
18
|
+
} else if (typeof opt_func == "number") { // Parameter can be swapped places
|
19
|
+
this._delay = opt_func;
|
20
|
+
}
|
21
|
+
};
|
22
|
+
|
23
|
+
/** @type {Function}
|
24
|
+
* @private
|
25
|
+
*/
|
26
|
+
Reverter.prototype._func = null;
|
27
|
+
/** @type {number}
|
28
|
+
* @private
|
29
|
+
*/
|
30
|
+
Reverter.prototype._delay = 0;
|
31
|
+
/** @type {number}
|
32
|
+
* @private
|
33
|
+
*/
|
34
|
+
Reverter.prototype._timerId = 0;
|
35
|
+
/** @type {boolean}
|
36
|
+
* @private
|
37
|
+
*/
|
38
|
+
Reverter.prototype._pending = false;
|
39
|
+
|
40
|
+
|
41
|
+
/** @public
|
42
|
+
*/
|
43
|
+
Reverter.prototype.start = function () {
|
44
|
+
if(this._func) {
|
45
|
+
if(!this._timerId) {
|
46
|
+
this._timerId = setInterval(this._onInterval, this._delay);
|
47
|
+
} else {
|
48
|
+
this._pending = true;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
};
|
52
|
+
|
53
|
+
/** @public
|
54
|
+
*/
|
55
|
+
Reverter.prototype.dispose = function () {
|
56
|
+
if(this._timerId) {
|
57
|
+
clearInterval(this._timerId);
|
58
|
+
this._timerId = 0;
|
59
|
+
}
|
60
|
+
this._func = null; // Release user bound function
|
61
|
+
};
|
62
|
+
|
63
|
+
|
64
|
+
/** @private
|
65
|
+
*/
|
66
|
+
Reverter.prototype._onInterval = function () {
|
67
|
+
if(this._pending) {
|
68
|
+
this._pending = false;
|
69
|
+
} else {
|
70
|
+
this._func();
|
71
|
+
clearInterval(this._timerId);
|
72
|
+
this._timerId = 0;
|
73
|
+
}
|
74
|
+
};
|
75
|
+
|
76
|
+
Reverter._proto = Reverter.prototype;
|
77
|
+
|
78
|
+
export default Reverter;
|
79
|
+
export { Reverter };
|