@refinitiv-ui/efx-grid 0.0.0-dev.12023565035.1
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-dragging/es6/ColumnDragging.d.ts +51 -0
- package/lib/column-dragging/es6/ColumnDragging.js +968 -0
- package/lib/column-dragging/es6/index.d.ts +1 -0
- package/lib/column-dragging/es6/index.js +1 -0
- package/lib/column-format-dialog/index.d.ts +2 -0
- package/lib/column-format-dialog/index.js +2 -0
- package/lib/column-format-dialog/lib/column-format-dialog.d.ts +77 -0
- package/lib/column-format-dialog/lib/column-format-dialog.js +2688 -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 +982 -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 +2 -0
- package/lib/column-selection-dialog/index.js +2 -0
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +66 -0
- package/lib/column-selection-dialog/lib/column-selection-dialog.js +2034 -0
- package/lib/column-selection-dialog/lib/locale/translation-de.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-de.js +20 -0
- package/lib/column-selection-dialog/lib/locale/translation-en.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-en.js +20 -0
- package/lib/column-selection-dialog/lib/locale/translation-ja.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-ja.js +20 -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 +20 -0
- package/lib/column-selection-dialog/lib/locale/translation-zh.d.ts +7 -0
- package/lib/column-selection-dialog/lib/locale/translation-zh.js +20 -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 +258 -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 +8 -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 +8 -0
- package/lib/column-selection-dialog/themes/halo/column-selection-dialog.less +25 -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 +8 -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 +8 -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 +8 -0
- package/lib/column-selection-dialog/themes/solar/column-selection-dialog.less +5 -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 +8 -0
- package/lib/core/dist/core.css +1 -0
- package/lib/core/dist/core.js +33910 -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 +43 -0
- package/lib/core/es6/data/DataCache.js +597 -0
- package/lib/core/es6/data/DataTable.d.ts +156 -0
- package/lib/core/es6/data/DataTable.js +2206 -0
- package/lib/core/es6/data/DataView.d.ts +332 -0
- package/lib/core/es6/data/DataView.js +4144 -0
- package/lib/core/es6/data/Segment.d.ts +91 -0
- package/lib/core/es6/data/Segment.js +1001 -0
- package/lib/core/es6/data/SegmentCollection.d.ts +84 -0
- package/lib/core/es6/data/SegmentCollection.js +713 -0
- package/lib/core/es6/data/WrappedView.d.ts +290 -0
- package/lib/core/es6/data/WrappedView.js +1320 -0
- package/lib/core/es6/grid/Core.d.ts +455 -0
- package/lib/core/es6/grid/Core.js +6196 -0
- package/lib/core/es6/grid/ILayoutGrid.d.ts +212 -0
- package/lib/core/es6/grid/ILayoutGrid.js +706 -0
- package/lib/core/es6/grid/LayoutGrid.d.ts +37 -0
- package/lib/core/es6/grid/LayoutGrid.js +2975 -0
- package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +28 -0
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +1241 -0
- package/lib/core/es6/grid/components/Cell.d.ts +52 -0
- package/lib/core/es6/grid/components/Cell.js +826 -0
- package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +21 -0
- package/lib/core/es6/grid/components/CellFloatingPanel.js +130 -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 +40 -0
- package/lib/core/es6/grid/components/CellSpans.js +368 -0
- package/lib/core/es6/grid/components/Column.d.ts +22 -0
- package/lib/core/es6/grid/components/Column.js +618 -0
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +127 -0
- package/lib/core/es6/grid/components/ElementWrapper.js +718 -0
- package/lib/core/es6/grid/components/HScrollbar.d.ts +28 -0
- package/lib/core/es6/grid/components/HScrollbar.js +241 -0
- package/lib/core/es6/grid/components/Scrollbar.d.ts +63 -0
- package/lib/core/es6/grid/components/Scrollbar.js +1413 -0
- package/lib/core/es6/grid/components/StretchedCells.d.ts +17 -0
- package/lib/core/es6/grid/components/StretchedCells.js +342 -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 +166 -0
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +155 -0
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +1977 -0
- package/lib/core/es6/grid/util/CellBoundPainter.d.ts +16 -0
- package/lib/core/es6/grid/util/CellBoundPainter.js +171 -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/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 +679 -0
- package/lib/core/es6/grid/util/SelectionList.d.ts +54 -0
- package/lib/core/es6/grid/util/SelectionList.js +491 -0
- package/lib/core/es6/grid/util/TrackLayout.d.ts +92 -0
- package/lib/core/es6/grid/util/TrackLayout.js +902 -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 +20 -0
- package/lib/core/es6/grid/util/util.js +391 -0
- package/lib/core/es6/index.d.ts +79 -0
- package/lib/core/es6/index.js +125 -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 +2 -0
- package/lib/filter-dialog/index.js +2 -0
- package/lib/filter-dialog/lib/checkbox-list.d.ts +52 -0
- package/lib/filter-dialog/lib/checkbox-list.js +444 -0
- package/lib/filter-dialog/lib/filter-dialog.d.ts +75 -0
- package/lib/filter-dialog/lib/filter-dialog.js +1160 -0
- package/lib/filter-dialog/lib/locale/translation-de.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-de.js +40 -0
- package/lib/filter-dialog/lib/locale/translation-en.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-en.js +40 -0
- package/lib/filter-dialog/lib/locale/translation-ja.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-ja.js +40 -0
- package/lib/filter-dialog/lib/locale/translation-zh-hant.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-zh-hant.js +40 -0
- package/lib/filter-dialog/lib/locale/translation-zh.d.ts +7 -0
- package/lib/filter-dialog/lib/locale/translation-zh.js +40 -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 +42 -0
- package/lib/filter-dialog/themes/base.less +191 -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 +15 -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 +20 -0
- package/lib/formatters/es6/CoralButtonFormatter.js +45 -0
- package/lib/formatters/es6/CoralCheckboxFormatter.d.ts +12 -0
- package/lib/formatters/es6/CoralCheckboxFormatter.js +50 -0
- package/lib/formatters/es6/CoralComboBoxFormatter.d.ts +23 -0
- package/lib/formatters/es6/CoralComboBoxFormatter.js +103 -0
- package/lib/formatters/es6/CoralIconFormatter.d.ts +21 -0
- package/lib/formatters/es6/CoralIconFormatter.js +50 -0
- package/lib/formatters/es6/CoralInputFormatter.d.ts +12 -0
- package/lib/formatters/es6/CoralInputFormatter.js +45 -0
- package/lib/formatters/es6/CoralRadioButtonFormatter.d.ts +20 -0
- package/lib/formatters/es6/CoralRadioButtonFormatter.js +85 -0
- package/lib/formatters/es6/CoralSelectFormatter.d.ts +23 -0
- package/lib/formatters/es6/CoralSelectFormatter.js +71 -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 +20 -0
- package/lib/formatters/es6/EFButtonFormatter.js +45 -0
- package/lib/formatters/es6/EFCheckboxFormatter.d.ts +12 -0
- package/lib/formatters/es6/EFCheckboxFormatter.js +50 -0
- package/lib/formatters/es6/EFComboBoxFormatter.d.ts +23 -0
- package/lib/formatters/es6/EFComboBoxFormatter.js +78 -0
- package/lib/formatters/es6/EFDateTimePickerFormatter.d.ts +13 -0
- package/lib/formatters/es6/EFDateTimePickerFormatter.js +60 -0
- package/lib/formatters/es6/EFIconFormatter.d.ts +21 -0
- package/lib/formatters/es6/EFIconFormatter.js +50 -0
- package/lib/formatters/es6/EFNumberFieldFormatter.d.ts +12 -0
- package/lib/formatters/es6/EFNumberFieldFormatter.js +45 -0
- package/lib/formatters/es6/EFRadioButtonFormatter.d.ts +20 -0
- package/lib/formatters/es6/EFRadioButtonFormatter.js +132 -0
- package/lib/formatters/es6/EFSelectFormatter.d.ts +23 -0
- package/lib/formatters/es6/EFSelectFormatter.js +76 -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 +26 -0
- package/lib/formatters/es6/FormatterBuilder.js +493 -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 +23 -0
- package/lib/formatters/es6/SimpleTickerFormatter.js +66 -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 +35 -0
- package/lib/formatters/es6/index.d.ts +64 -0
- package/lib/formatters/es6/index.js +88 -0
- package/lib/grid/index.d.ts +2 -0
- package/lib/grid/index.js +3 -0
- package/lib/grid/lib/efx-grid.d.ts +53 -0
- package/lib/grid/lib/efx-grid.js +444 -0
- package/lib/grid/themes/base.less +137 -0
- package/lib/grid/themes/ds/dark/css/native-elements.css +0 -0
- package/lib/grid/themes/ds/dark/efx-grid.js +4 -0
- package/lib/grid/themes/ds/dark/es5/all-elements.js +2 -0
- package/lib/grid/themes/ds/dark/imports/all-elements.js +1 -0
- package/lib/grid/themes/ds/dark/imports/custom-elements.js +1 -0
- package/lib/grid/themes/ds/dark/imports/native-elements.js +0 -0
- package/lib/grid/themes/ds/dark.js +3 -0
- package/lib/grid/themes/ds/efx-grid.less +207 -0
- package/lib/grid/themes/ds/index.less +3 -0
- package/lib/grid/themes/ds/light/css/native-elements.css +0 -0
- package/lib/grid/themes/ds/light/efx-grid.js +4 -0
- package/lib/grid/themes/ds/light/es5/all-elements.js +2 -0
- package/lib/grid/themes/ds/light/imports/all-elements.js +1 -0
- package/lib/grid/themes/ds/light/imports/custom-elements.js +1 -0
- package/lib/grid/themes/ds/light/imports/native-elements.js +0 -0
- package/lib/grid/themes/ds/light.js +3 -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 +127 -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 +100 -0
- package/lib/index.js +100 -0
- package/lib/row-segmenting/es6/RowSegmenting.d.ts +115 -0
- package/lib/row-segmenting/es6/RowSegmenting.js +1182 -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 +54547 -0
- package/lib/rt-grid/dist/rt-grid.min.js +1 -0
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +174 -0
- package/lib/rt-grid/es6/ColumnDefinition.js +1203 -0
- package/lib/rt-grid/es6/DataConnector.d.ts +43 -0
- package/lib/rt-grid/es6/DataConnector.js +290 -0
- package/lib/rt-grid/es6/FieldDefinition.d.ts +40 -0
- package/lib/rt-grid/es6/FieldDefinition.js +560 -0
- package/lib/rt-grid/es6/Grid.d.ts +376 -0
- package/lib/rt-grid/es6/Grid.js +4653 -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 +40 -0
- package/lib/rt-grid/es6/ReferenceCounter.js +251 -0
- package/lib/rt-grid/es6/RowDefSorter.d.ts +19 -0
- package/lib/rt-grid/es6/RowDefSorter.js +231 -0
- package/lib/rt-grid/es6/RowDefinition.d.ts +156 -0
- package/lib/rt-grid/es6/RowDefinition.js +1478 -0
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +36 -0
- package/lib/rt-grid/es6/SnapshotFiller.js +537 -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 +68 -0
- package/lib/statistics-row/es6/StatisticsRow.js +807 -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 +46 -0
- package/lib/tr-grid-auto-tooltip/es6/AutoTooltip.js +617 -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 +70 -0
- package/lib/tr-grid-cell-selection/es6/CellSelection.js +1695 -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 +82 -0
- package/lib/tr-grid-checkbox/es6/Checkbox.js +1704 -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 +817 -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 +91 -0
- package/lib/tr-grid-column-formatting/es6/ColumnFormatting.js +617 -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 +110 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +2028 -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 +1010 -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 +77 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +1405 -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 +160 -0
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +2155 -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 +100 -0
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +1513 -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 +519 -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 +453 -0
- package/lib/tr-grid-contextmenu/es6/MenuEventAPI.d.ts +22 -0
- package/lib/tr-grid-contextmenu/es6/MenuEventAPI.js +138 -0
- package/lib/tr-grid-contextmenu/es6/MenuItem.d.ts +41 -0
- package/lib/tr-grid-contextmenu/es6/MenuItem.js +285 -0
- package/lib/tr-grid-contextmenu/es6/PopupMenu.d.ts +33 -0
- package/lib/tr-grid-contextmenu/es6/PopupMenu.js +303 -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 +64 -0
- package/lib/tr-grid-filter-input/es6/FilterInput.js +1027 -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 +45 -0
- package/lib/tr-grid-heat-map/es6/HeatMap.js +401 -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 +148 -0
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +2671 -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 +58 -0
- package/lib/tr-grid-pagination/es6/Pagination.js +433 -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 +804 -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 +50 -0
- package/lib/tr-grid-printer/es6/CellWriter.js +234 -0
- package/lib/tr-grid-printer/es6/ColumnWriter.d.ts +13 -0
- package/lib/tr-grid-printer/es6/ColumnWriter.js +23 -0
- package/lib/tr-grid-printer/es6/GridPrinter.d.ts +33 -0
- package/lib/tr-grid-printer/es6/GridPrinter.js +794 -0
- package/lib/tr-grid-printer/es6/PrintTrait.d.ts +39 -0
- package/lib/tr-grid-printer/es6/PrintTrait.js +494 -0
- package/lib/tr-grid-printer/es6/SectionWriter.d.ts +57 -0
- package/lib/tr-grid-printer/es6/SectionWriter.js +238 -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/LEDGuage.d.ts +39 -0
- package/lib/tr-grid-range-bar/es6/LEDGuage.js +261 -0
- package/lib/tr-grid-range-bar/es6/RangeBar.d.ts +56 -0
- package/lib/tr-grid-range-bar/es6/RangeBar.js +514 -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 +81 -0
- package/lib/tr-grid-row-dragging/es6/RowDragging.js +1479 -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 +159 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +2568 -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 +123 -0
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +1728 -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 +75 -0
- package/lib/tr-grid-row-selection/es6/RowSelection.js +1447 -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 +64 -0
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +615 -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 +72 -0
- package/lib/tr-grid-textformatting/es6/TextFormatting.js +543 -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 +27 -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 +142 -0
- package/lib/tr-grid-util/es6/CellPainter.js +1183 -0
- package/lib/tr-grid-util/es6/Color.d.ts +40 -0
- package/lib/tr-grid-util/es6/Color.js +210 -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 +16 -0
- package/lib/tr-grid-util/es6/Deferred.js +108 -0
- package/lib/tr-grid-util/es6/Delay.d.ts +20 -0
- package/lib/tr-grid-util/es6/Delay.js +96 -0
- package/lib/tr-grid-util/es6/Dom.d.ts +32 -0
- package/lib/tr-grid-util/es6/Dom.js +350 -0
- package/lib/tr-grid-util/es6/DragUI.d.ts +20 -0
- package/lib/tr-grid-util/es6/DragUI.js +263 -0
- package/lib/tr-grid-util/es6/ElementObserver.d.ts +12 -0
- package/lib/tr-grid-util/es6/ElementObserver.js +134 -0
- package/lib/tr-grid-util/es6/ElementWrapper.d.ts +23 -0
- package/lib/tr-grid-util/es6/ElementWrapper.js +84 -0
- package/lib/tr-grid-util/es6/ElfDate.d.ts +26 -0
- package/lib/tr-grid-util/es6/ElfDate.js +164 -0
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +46 -0
- package/lib/tr-grid-util/es6/ElfUtil.js +637 -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 +24 -0
- package/lib/tr-grid-util/es6/ExpanderIcon.js +120 -0
- package/lib/tr-grid-util/es6/ExpressionParser.d.ts +10 -0
- package/lib/tr-grid-util/es6/ExpressionParser.js +408 -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 +440 -0
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +54 -0
- package/lib/tr-grid-util/es6/FilterBuilder.js +580 -0
- package/lib/tr-grid-util/es6/FilterOperators.d.ts +56 -0
- package/lib/tr-grid-util/es6/FilterOperators.js +255 -0
- package/lib/tr-grid-util/es6/GridPlugin.d.ts +86 -0
- package/lib/tr-grid-util/es6/GridPlugin.js +1055 -0
- package/lib/tr-grid-util/es6/GroupDefinitions.d.ts +74 -0
- package/lib/tr-grid-util/es6/GroupDefinitions.js +642 -0
- package/lib/tr-grid-util/es6/Icon.d.ts +14 -0
- package/lib/tr-grid-util/es6/Icon.js +62 -0
- package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +42 -0
- package/lib/tr-grid-util/es6/MouseDownTrait.js +250 -0
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +40 -0
- package/lib/tr-grid-util/es6/MultiTableManager.js +611 -0
- package/lib/tr-grid-util/es6/NumberFormatter.d.ts +85 -0
- package/lib/tr-grid-util/es6/NumberFormatter.js +528 -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 +163 -0
- package/lib/tr-grid-util/es6/Popup.d.ts +98 -0
- package/lib/tr-grid-util/es6/Popup.js +991 -0
- package/lib/tr-grid-util/es6/RangeBar.d.ts +33 -0
- package/lib/tr-grid-util/es6/RangeBar.js +260 -0
- package/lib/tr-grid-util/es6/RequestQueue.d.ts +30 -0
- package/lib/tr-grid-util/es6/RequestQueue.js +228 -0
- package/lib/tr-grid-util/es6/RowPainter.d.ts +60 -0
- package/lib/tr-grid-util/es6/RowPainter.js +448 -0
- package/lib/tr-grid-util/es6/SubTable.d.ts +78 -0
- package/lib/tr-grid-util/es6/SubTable.js +642 -0
- package/lib/tr-grid-util/es6/Table.d.ts +146 -0
- package/lib/tr-grid-util/es6/Table.js +832 -0
- package/lib/tr-grid-util/es6/TextHighlighter.d.ts +16 -0
- package/lib/tr-grid-util/es6/TextHighlighter.js +268 -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 +66 -0
- package/lib/tr-grid-util/es6/Util.js +508 -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 +890 -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 +65 -0
- package/lib/tr-grid-util/es6/index.js +102 -0
- package/lib/tr-grid-util/es6/jet/Adc.d.ts +9 -0
- package/lib/tr-grid-util/es6/jet/Adc.js +268 -0
- package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +28 -0
- package/lib/tr-grid-util/es6/jet/CollectionDict.js +151 -0
- package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +136 -0
- package/lib/tr-grid-util/es6/jet/DataGenerator.js +860 -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 +71 -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 +82 -0
- package/lib/tr-grid-util/es6/jet/MockQuotes2.js +890 -0
- package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +48 -0
- package/lib/tr-grid-util/es6/jet/MockRTK.js +82 -0
- package/lib/tr-grid-util/es6/jet/MockUtil.d.ts +7 -0
- package/lib/tr-grid-util/es6/jet/MockUtil.js +25 -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 +111 -0
- package/lib/tr-grid-util/es6/jsx.d.ts +223 -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 +46 -0
- package/lib/types/es6/CellSelection.d.ts +70 -0
- package/lib/types/es6/Checkbox.d.ts +82 -0
- package/lib/types/es6/ColumnDragging.d.ts +51 -0
- package/lib/types/es6/ColumnFitter.d.ts +56 -0
- package/lib/types/es6/ColumnFormatting.d.ts +92 -0
- package/lib/types/es6/ColumnGrouping.d.ts +107 -0
- package/lib/types/es6/ColumnResizing.d.ts +68 -0
- package/lib/types/es6/ColumnSelection.d.ts +77 -0
- package/lib/types/es6/ColumnStack.d.ts +160 -0
- package/lib/types/es6/CompositeGrid/CollapsibleHeaderPlugin.d.ts +11 -0
- package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +41 -0
- package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +45 -0
- package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +289 -0
- package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +23 -0
- package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +41 -0
- package/lib/types/es6/CompositeGrid/Plugin.d.ts +30 -0
- package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +32 -0
- package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +44 -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 +100 -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 +20 -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 +21 -0
- package/lib/types/es6/CoralInputFormatter.d.ts +12 -0
- package/lib/types/es6/CoralRadioButtonFormatter.d.ts +20 -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 +43 -0
- package/lib/types/es6/Core/data/DataTable.d.ts +156 -0
- package/lib/types/es6/Core/data/DataView.d.ts +332 -0
- package/lib/types/es6/Core/data/Segment.d.ts +91 -0
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +84 -0
- package/lib/types/es6/Core/data/WrappedView.d.ts +290 -0
- package/lib/types/es6/Core/grid/Core.d.ts +455 -0
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +212 -0
- package/lib/types/es6/Core/grid/LayoutGrid.d.ts +37 -0
- package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +28 -0
- package/lib/types/es6/Core/grid/components/Cell.d.ts +52 -0
- package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +21 -0
- package/lib/types/es6/Core/grid/components/CellSpan.d.ts +18 -0
- package/lib/types/es6/Core/grid/components/CellSpans.d.ts +40 -0
- package/lib/types/es6/Core/grid/components/Column.d.ts +22 -0
- package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +127 -0
- package/lib/types/es6/Core/grid/components/HScrollbar.d.ts +28 -0
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +63 -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/SortableTitlePlugin.d.ts +155 -0
- package/lib/types/es6/Core/grid/util/CellBoundPainter.d.ts +16 -0
- package/lib/types/es6/Core/grid/util/Conflator.d.ts +32 -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 +54 -0
- package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +92 -0
- package/lib/types/es6/Core/grid/util/Virtualizer.d.ts +40 -0
- package/lib/types/es6/Core/grid/util/util.d.ts +20 -0
- package/lib/types/es6/Core/index.d.ts +79 -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 +20 -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 +21 -0
- package/lib/types/es6/EFNumberFieldFormatter.d.ts +12 -0
- package/lib/types/es6/EFRadioButtonFormatter.d.ts +20 -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 +58 -0
- package/lib/types/es6/Extensions.d.ts +63 -0
- package/lib/types/es6/FilterInput.d.ts +64 -0
- package/lib/types/es6/FormatterBuilder.d.ts +26 -0
- package/lib/types/es6/GridFormatter.d.ts +63 -0
- package/lib/types/es6/HeatMap.d.ts +45 -0
- package/lib/types/es6/InCellEditing.d.ts +148 -0
- package/lib/types/es6/MenuEventAPI.d.ts +22 -0
- package/lib/types/es6/MenuItem.d.ts +41 -0
- package/lib/types/es6/NumericInputFormatter.d.ts +13 -0
- package/lib/types/es6/Pagination.d.ts +58 -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 +33 -0
- package/lib/types/es6/RangeBar.d.ts +39 -0
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +176 -0
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +43 -0
- package/lib/types/es6/RealtimeGrid/FieldDefinition.d.ts +40 -0
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +413 -0
- package/lib/types/es6/RealtimeGrid/PredefinedFormula.d.ts +16 -0
- package/lib/types/es6/RealtimeGrid/ReferenceCounter.d.ts +40 -0
- package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +19 -0
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +156 -0
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +36 -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 +64 -0
- package/lib/types/es6/RowDragging.d.ts +81 -0
- package/lib/types/es6/RowFiltering.d.ts +159 -0
- package/lib/types/es6/RowGrouping.d.ts +123 -0
- package/lib/types/es6/RowSegmenting.d.ts +109 -0
- package/lib/types/es6/RowSelection.d.ts +75 -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 +23 -0
- package/lib/types/es6/SimpleToggleFormatter.d.ts +22 -0
- package/lib/types/es6/StatisticsRow.d.ts +68 -0
- package/lib/types/es6/TextFormatter.d.ts +12 -0
- package/lib/types/es6/TextFormatting.d.ts +72 -0
- package/lib/types/es6/TitleWrap.d.ts +27 -0
- package/lib/types/es6/Zoom.d.ts +52 -0
- package/lib/types/es6/index.d.ts +80 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/utils/index.d.ts +7 -0
- package/lib/utils/index.js +7 -0
- package/lib/versions.json +37 -0
- package/lib/window-exporter.js +18 -0
- package/lib/zoom/es6/Zoom.d.ts +52 -0
- package/lib/zoom/es6/Zoom.js +438 -0
- package/lib/zoom/es6/index.d.ts +1 -0
- package/lib/zoom/es6/index.js +1 -0
- package/package.json +69 -0
@@ -0,0 +1,611 @@
|
|
1
|
+
import { Ext } from "./Ext.js";
|
2
|
+
import { EventDispatcher } from "./EventDispatcher.js";
|
3
|
+
import { cloneObject } from "./Util.js";
|
4
|
+
import { Deferred } from "./Deferred.js";
|
5
|
+
import { Dom } from "./Dom.js";
|
6
|
+
|
7
|
+
|
8
|
+
/** @type {Object.<string, number>}
|
9
|
+
* @private
|
10
|
+
* @const
|
11
|
+
*/
|
12
|
+
let GridElements = {
|
13
|
+
"EFX-GRID": 1,
|
14
|
+
"ATLAS-BLOTTER": 1,
|
15
|
+
"EF-GRID": 1
|
16
|
+
};
|
17
|
+
/** @type {Object.<string, number>}
|
18
|
+
* @private
|
19
|
+
* @const
|
20
|
+
*/
|
21
|
+
let InvalidHostElements = {
|
22
|
+
"BODY": 1,
|
23
|
+
"HTML": 1,
|
24
|
+
"EFX-GRID": 1,
|
25
|
+
"ATLAS-BLOTTER": 1,
|
26
|
+
"EF-GRID": 1
|
27
|
+
};
|
28
|
+
|
29
|
+
/** @private
|
30
|
+
* @param {Object} instance
|
31
|
+
* @return {Object}
|
32
|
+
*/
|
33
|
+
let _cloneInstance = function (instance) {
|
34
|
+
return new instance.constructor();
|
35
|
+
};
|
36
|
+
/** @private
|
37
|
+
* @param {number} num
|
38
|
+
* @return {!Array.<Object>}
|
39
|
+
*/
|
40
|
+
let _newArrayOfObject = function (num) {
|
41
|
+
let ary = new Array(num);
|
42
|
+
for(let i = 0; i < num; ++i) {
|
43
|
+
ary[i] = {};
|
44
|
+
}
|
45
|
+
return ary;
|
46
|
+
};
|
47
|
+
/** @private
|
48
|
+
* @param {Element} elem
|
49
|
+
* @param {boolean=} bool
|
50
|
+
*/
|
51
|
+
let _toggleInlineElement = function (elem, bool) {
|
52
|
+
if(!elem || elem.style.display === "none") {
|
53
|
+
return;
|
54
|
+
}
|
55
|
+
|
56
|
+
let s = elem.style;
|
57
|
+
if(bool == null) {
|
58
|
+
bool = s.display !== "inline-block";
|
59
|
+
}
|
60
|
+
if(bool) {
|
61
|
+
s.display = "inline-block";
|
62
|
+
s.verticalAlign = "top";
|
63
|
+
} else {
|
64
|
+
s.display = "";
|
65
|
+
s.verticalAlign = "";
|
66
|
+
}
|
67
|
+
};
|
68
|
+
|
69
|
+
/** @constructor
|
70
|
+
* @param {Element} gridElem
|
71
|
+
*/
|
72
|
+
let MultiTableManager = function (gridElem) {
|
73
|
+
this._onDelayedConfiguration = this._onDelayedConfiguration.bind(this);
|
74
|
+
this._onConfiguration = this._onConfiguration.bind(this);
|
75
|
+
this._onWrapCountChanged = this._onWrapCountChanged.bind(this);
|
76
|
+
|
77
|
+
this._tables = [];
|
78
|
+
if(gridElem) {
|
79
|
+
this._emeraldGrid = gridElem.tagName === "EF-GRID";
|
80
|
+
this._tables.push(gridElem);
|
81
|
+
}
|
82
|
+
};
|
83
|
+
Ext.inherits(MultiTableManager, EventDispatcher);
|
84
|
+
|
85
|
+
/** @type {Array.<Element>}
|
86
|
+
* @private
|
87
|
+
*/
|
88
|
+
MultiTableManager.prototype._tables = null;
|
89
|
+
/** @type {Object}
|
90
|
+
* @private
|
91
|
+
*/
|
92
|
+
MultiTableManager.prototype._configObj = null;
|
93
|
+
/** @type {Array}
|
94
|
+
* @private
|
95
|
+
*/
|
96
|
+
MultiTableManager.prototype._extensions = null;
|
97
|
+
/** @type {number}
|
98
|
+
* @private
|
99
|
+
*/
|
100
|
+
MultiTableManager.prototype._tableCount = 1;
|
101
|
+
/** @type {boolean}
|
102
|
+
* @private
|
103
|
+
*/
|
104
|
+
MultiTableManager.prototype._emeraldGrid = false;
|
105
|
+
/** @type {boolean}
|
106
|
+
* @private
|
107
|
+
*/
|
108
|
+
MultiTableManager.prototype._ready = false;
|
109
|
+
/** @type {number}
|
110
|
+
* @private
|
111
|
+
*/
|
112
|
+
MultiTableManager.prototype._wrapSize = 0;
|
113
|
+
|
114
|
+
|
115
|
+
/** @public
|
116
|
+
* @function
|
117
|
+
* @param {Element} vScrollbarHost Host element for the vertical scrollbar.
|
118
|
+
* @param {Element} hScrollbarHost Host element for the horizontal scrollbar. This element must be a child of the vScrollbarHost element.
|
119
|
+
* @param {Array.<Element>} gridElems Array of grid elements. The first element will be treated as primary grid.
|
120
|
+
* @return {Promise.<Array>}
|
121
|
+
*/
|
122
|
+
MultiTableManager.synchronizeVScrollbar = function(vScrollbarHost, hScrollbarHost, gridElems) {
|
123
|
+
if(!vScrollbarHost || !hScrollbarHost) {
|
124
|
+
return Promise.reject("Host elements for vertical and horizontal scrollbars are not specified.");
|
125
|
+
}
|
126
|
+
if(vScrollbarHost === hScrollbarHost) {
|
127
|
+
return Promise.reject("Vertical and horizontal scrollbars cannot have the same host element.");
|
128
|
+
}
|
129
|
+
if(InvalidHostElements[vScrollbarHost.tagName] || InvalidHostElements[hScrollbarHost.tagName]) {
|
130
|
+
return Promise.reject("Host element cannot be body element.");
|
131
|
+
}
|
132
|
+
|
133
|
+
let gridLen = 0;
|
134
|
+
if(gridElems) {
|
135
|
+
if(GridElements[gridElems.tagName]) { // Accept single grid element as a parameter
|
136
|
+
gridElems = [gridElems];
|
137
|
+
}
|
138
|
+
gridLen = gridElems.length || 0;
|
139
|
+
}
|
140
|
+
|
141
|
+
// Element validation
|
142
|
+
let i, gridElem;
|
143
|
+
let validatedElems = [];
|
144
|
+
for(i = 0; i < gridLen; ++i) {
|
145
|
+
gridElem = gridElems[i];
|
146
|
+
if(gridElem && GridElements[gridElem.tagName]) {
|
147
|
+
validatedElems.push(gridElem);
|
148
|
+
}
|
149
|
+
}
|
150
|
+
gridLen = validatedElems.length;
|
151
|
+
if(!gridLen) {
|
152
|
+
return Promise.reject("No grid element detected for scrollbar synchronization.");
|
153
|
+
}
|
154
|
+
|
155
|
+
let promises = [];
|
156
|
+
for(i = 0; i < gridLen; ++i) {
|
157
|
+
gridElem = validatedElems[i];
|
158
|
+
if(gridElem.api) {
|
159
|
+
promises.push(Promise.resolve(gridElem));
|
160
|
+
} else {
|
161
|
+
let deferredConfig = gridElem._deferredConfig;
|
162
|
+
if(!deferredConfig) {
|
163
|
+
deferredConfig = gridElem._deferredConfig = new Deferred();
|
164
|
+
gridElem.addEventListener("configured", MultiTableManager._onGridConfigured);
|
165
|
+
}
|
166
|
+
promises.push(deferredConfig.promise);
|
167
|
+
}
|
168
|
+
}
|
169
|
+
return Promise.all(promises).then(
|
170
|
+
MultiTableManager._onVScrollbarSynchronization.bind(null, vScrollbarHost, hScrollbarHost, validatedElems)
|
171
|
+
);
|
172
|
+
};
|
173
|
+
/** @private
|
174
|
+
* @function
|
175
|
+
* @param {Object} e
|
176
|
+
*/
|
177
|
+
MultiTableManager._onGridConfigured = function(e) {
|
178
|
+
let gridElem = e.currentTarget;
|
179
|
+
gridElem.removeEventListener("configured", MultiTableManager._onGridConfigured);
|
180
|
+
if(gridElem._deferredConfig) {
|
181
|
+
let d = gridElem._deferredConfig;
|
182
|
+
gridElem._deferredConfig = null;
|
183
|
+
d.resolve(gridElem);
|
184
|
+
}
|
185
|
+
};
|
186
|
+
/** @private
|
187
|
+
* @function
|
188
|
+
* @param {Element} vScrollbarHost Host element for the vertical scrollbar.
|
189
|
+
* @param {Element} hScrollbarHost Host element for the horizontal scrollbar. This element must be a child of the vScrollbarHost element.
|
190
|
+
* @param {Array.<Element>} gridElems
|
191
|
+
*/
|
192
|
+
MultiTableManager._onVScrollbarSynchronization = function(vScrollbarHost, hScrollbarHost, gridElems) {
|
193
|
+
Dom.removeChildren(hScrollbarHost);
|
194
|
+
|
195
|
+
vScrollbarHost.style.overflow = "hidden";
|
196
|
+
vScrollbarHost.style.position = "relative";
|
197
|
+
|
198
|
+
hScrollbarHost.style.whiteSpace = "nowrap";
|
199
|
+
hScrollbarHost.style.overflow = "auto hidden";
|
200
|
+
|
201
|
+
let gridLen = gridElems.length;
|
202
|
+
let mainCore = gridElems[0].api.getCoreGrid();
|
203
|
+
for(let i = 0; i < gridLen; ++i) {
|
204
|
+
let gridElem = gridElems[i];
|
205
|
+
let core = gridElem.api.getCoreGrid();
|
206
|
+
|
207
|
+
_toggleInlineElement(gridElem, true);
|
208
|
+
if(i > 0) {
|
209
|
+
mainCore.synchronizeVScrollbar(core);
|
210
|
+
} else {
|
211
|
+
core.getVScrollbar().attachToExternalElement(vScrollbarHost);
|
212
|
+
gridElem._vScrollbarSynchronization = true; // Marked for internal usage
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
Dom.appendChild(hScrollbarHost, gridElems);
|
217
|
+
};
|
218
|
+
|
219
|
+
/** @public
|
220
|
+
* @param {Object=} configObj
|
221
|
+
*/
|
222
|
+
MultiTableManager.prototype.setGridConfig = function (configObj) {
|
223
|
+
// TODO: Clear Previous Config
|
224
|
+
|
225
|
+
this._configObj = configObj;
|
226
|
+
if(!configObj) {
|
227
|
+
// TODO: Remove all existing tables
|
228
|
+
return;
|
229
|
+
}
|
230
|
+
this._extensions = configObj.extensions ? configObj.extensions.slice() : [];
|
231
|
+
|
232
|
+
let main = this._tables[0];
|
233
|
+
if(main) {
|
234
|
+
configObj = this._cloneConfig();
|
235
|
+
main.addEventListener("configured", this._onDelayedConfiguration);
|
236
|
+
main.config = configObj;
|
237
|
+
}
|
238
|
+
};
|
239
|
+
|
240
|
+
/** @private
|
241
|
+
* @param {Object} e
|
242
|
+
*/
|
243
|
+
MultiTableManager.prototype._onDelayedConfiguration = function (e) {
|
244
|
+
this._ready = false;
|
245
|
+
// TODO: Handle the case where config is changed at runtime
|
246
|
+
setTimeout(this._onConfiguration, 10); // Add delay to ensure that scrollbars are synchronized first
|
247
|
+
};
|
248
|
+
/** @private
|
249
|
+
* @param {Object} e
|
250
|
+
*/
|
251
|
+
MultiTableManager.prototype._onConfiguration = function () {
|
252
|
+
if(this._ready) {
|
253
|
+
return;
|
254
|
+
}
|
255
|
+
this._ready = true;
|
256
|
+
|
257
|
+
if(this._wrapSize) {
|
258
|
+
this._wrapTable(this._wrapSize);
|
259
|
+
} else {
|
260
|
+
this._setTableCount(this._tableCount);
|
261
|
+
}
|
262
|
+
};
|
263
|
+
|
264
|
+
/** @public
|
265
|
+
*/
|
266
|
+
MultiTableManager.prototype.dispose = function () {
|
267
|
+
let len = this._tables.length;
|
268
|
+
for(let i = 0; i < len; ++i) {
|
269
|
+
let table = this._tables[i];
|
270
|
+
if(table.api) {
|
271
|
+
table.api.dispose();
|
272
|
+
|
273
|
+
} else {
|
274
|
+
table.dispose(); // rt-grid
|
275
|
+
}
|
276
|
+
}
|
277
|
+
this._tables = [];
|
278
|
+
this._extensions = null;
|
279
|
+
this._ready = false;
|
280
|
+
};
|
281
|
+
|
282
|
+
|
283
|
+
/** @private
|
284
|
+
* @return {!Object}
|
285
|
+
*/
|
286
|
+
MultiTableManager.prototype._cloneConfig = function () {
|
287
|
+
let obj = null;
|
288
|
+
if(this._configObj) {
|
289
|
+
obj = cloneObject(this._configObj);
|
290
|
+
if(Array.isArray(obj.columns)) {
|
291
|
+
let runtimeConfig = this._tables[0].api ? this._tables[0].api.getConfigObject() : this._configObj;
|
292
|
+
obj.columns = runtimeConfig.columns.slice();
|
293
|
+
}
|
294
|
+
}
|
295
|
+
return obj || {};
|
296
|
+
};
|
297
|
+
|
298
|
+
/** @public
|
299
|
+
* @return {number}
|
300
|
+
*/
|
301
|
+
MultiTableManager.prototype.getTableCount = function() {
|
302
|
+
return this._tables.length;
|
303
|
+
};
|
304
|
+
/** @private
|
305
|
+
* @param {number} num Number of tables. Number cannot be less than one.
|
306
|
+
*/
|
307
|
+
MultiTableManager.prototype._setTableCount = function(num) {
|
308
|
+
this._tableCount = num > 0 ? num : 1;
|
309
|
+
|
310
|
+
if(this._ready) {
|
311
|
+
let tableCount = this._tables.length;
|
312
|
+
if(this._tableCount > tableCount) {
|
313
|
+
this._addTables(this._tableCount - tableCount);
|
314
|
+
} else if(this._tableCount < tableCount) {
|
315
|
+
this._removeTables(tableCount - this._tableCount);
|
316
|
+
}
|
317
|
+
}
|
318
|
+
};
|
319
|
+
/**
|
320
|
+
* @public
|
321
|
+
* @param {number} num Number of tables. Number cannot be less than one.
|
322
|
+
*/
|
323
|
+
MultiTableManager.prototype.setTableCount = function(num) {
|
324
|
+
if(this._wrapSize) {
|
325
|
+
this._wrapTable(0);
|
326
|
+
}
|
327
|
+
this._setTableCount(num);
|
328
|
+
};
|
329
|
+
/**
|
330
|
+
* @private
|
331
|
+
* @param {number} tableIndex
|
332
|
+
* @return {Element}
|
333
|
+
*/
|
334
|
+
MultiTableManager.prototype._addTable = function(tableIndex) {
|
335
|
+
let main = this._tables[0];
|
336
|
+
let parentElem = main.parentNode;
|
337
|
+
let core = main.api.getCoreGrid();
|
338
|
+
let mainDataView = main.api.getDataView();
|
339
|
+
let stp = core.getPlugin("SortableTitlePlugin");
|
340
|
+
let dtp = core.getPlugin("DragAndDropTitlePlugin");
|
341
|
+
|
342
|
+
let configObj = this._cloneConfig();
|
343
|
+
configObj.extensions = this._generateExtensions();
|
344
|
+
configObj.multitable = true;
|
345
|
+
|
346
|
+
delete configObj.staticDataRows;
|
347
|
+
delete configObj.rows;
|
348
|
+
delete configObj.dataModel;
|
349
|
+
|
350
|
+
if(this._wrapSize) {
|
351
|
+
let wrappedViews = mainDataView.getWrappedViews();
|
352
|
+
configObj.dataView = wrappedViews[tableIndex - 1];
|
353
|
+
configObj.grid = main.api;
|
354
|
+
} else {
|
355
|
+
configObj["SortableTitle"] = stp;
|
356
|
+
configObj["DragAndDropTitle"] = dtp;
|
357
|
+
let rowCount = mainDataView.getRowCount();
|
358
|
+
|
359
|
+
let ary = _newArrayOfObject(rowCount);
|
360
|
+
if(this._emeraldGrid) {
|
361
|
+
configObj.dataModel = {
|
362
|
+
data: ary
|
363
|
+
};
|
364
|
+
} else {
|
365
|
+
configObj.rows = ary;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
let sub = document.createElement(main.tagName);
|
370
|
+
_toggleInlineElement(sub, true);
|
371
|
+
|
372
|
+
sub.config = configObj;
|
373
|
+
|
374
|
+
let lastTable = this._tables[this._tables.length - 1];
|
375
|
+
parentElem.insertBefore(sub, lastTable.nextSibling);
|
376
|
+
return sub;
|
377
|
+
};
|
378
|
+
/**
|
379
|
+
* @private
|
380
|
+
* @param {number} num
|
381
|
+
*/
|
382
|
+
MultiTableManager.prototype._addTables = function(num) {
|
383
|
+
if(!num || num < 0) {
|
384
|
+
return;
|
385
|
+
}
|
386
|
+
|
387
|
+
let main = this._tables[0];
|
388
|
+
_toggleInlineElement(main, true); // TODO: Check if we need to do this every time
|
389
|
+
|
390
|
+
for(let i = 0; i < num; ++i) {
|
391
|
+
let grid = this._addTable(this._tables.length);
|
392
|
+
this._tables.push(grid);
|
393
|
+
}
|
394
|
+
|
395
|
+
if(!this._wrapSize) {
|
396
|
+
if(main._vScrollbarSynchronization) {
|
397
|
+
MultiTableManager.synchronizeVScrollbar(
|
398
|
+
main.api.getCoreGrid().getVScrollbar().getParent(),
|
399
|
+
main.parentNode,
|
400
|
+
this._tables
|
401
|
+
);
|
402
|
+
}
|
403
|
+
}
|
404
|
+
};
|
405
|
+
/**
|
406
|
+
* @private
|
407
|
+
* @param {number} num
|
408
|
+
*/
|
409
|
+
MultiTableManager.prototype._removeTables = function(num) {
|
410
|
+
let tableCount = this._tables.length;
|
411
|
+
if (tableCount - num < 1) {
|
412
|
+
num = tableCount - 1;
|
413
|
+
}
|
414
|
+
if(!num) {
|
415
|
+
return;
|
416
|
+
}
|
417
|
+
for(let i = 0; i < num; ++i) {
|
418
|
+
let sub = this._tables.pop();
|
419
|
+
sub.config = null;
|
420
|
+
if(sub.parentNode) {
|
421
|
+
sub.parentNode.removeChild(sub);
|
422
|
+
}
|
423
|
+
}
|
424
|
+
};
|
425
|
+
|
426
|
+
|
427
|
+
/** @private
|
428
|
+
* @param {number} rowCount Number of row per table. Set number to zero to turn off wrap mode.
|
429
|
+
*/
|
430
|
+
MultiTableManager.prototype._wrapTable = function(rowCount) {
|
431
|
+
this._wrapSize = rowCount > 0 ? rowCount : 0;
|
432
|
+
|
433
|
+
if(this._ready) {
|
434
|
+
let main = this._tables[0];
|
435
|
+
if(this._wrapSize) {
|
436
|
+
main.style.display = "none";
|
437
|
+
main.api.getCoreGrid().getVScrollbar().disable();
|
438
|
+
} else {
|
439
|
+
main.style.display = "";
|
440
|
+
_toggleInlineElement(main, true);
|
441
|
+
main.api.getCoreGrid().getVScrollbar().disable(false);
|
442
|
+
}
|
443
|
+
|
444
|
+
let dv = main.api.getDataView();
|
445
|
+
dv.listen("wrapCountChanged", this._onWrapCountChanged);
|
446
|
+
dv.wrapView(this._wrapSize);
|
447
|
+
}
|
448
|
+
};
|
449
|
+
/**
|
450
|
+
* @public
|
451
|
+
* @param {number} rowCount Number of row per table. Set number to zero to turn off wrap mode.
|
452
|
+
*/
|
453
|
+
MultiTableManager.prototype.wrapTable = function(rowCount) {
|
454
|
+
if(rowCount && this._tableCount > 1) {
|
455
|
+
this._setTableCount(1);
|
456
|
+
}
|
457
|
+
if(!rowCount || rowCount < 0) {
|
458
|
+
rowCount = 0;
|
459
|
+
}
|
460
|
+
if(this._wrapSize !== rowCount) {
|
461
|
+
this._wrapTable(rowCount);
|
462
|
+
}
|
463
|
+
};
|
464
|
+
/** @private
|
465
|
+
* @param {Object} e
|
466
|
+
*/
|
467
|
+
MultiTableManager.prototype._onWrapCountChanged = function(e) {
|
468
|
+
if(e.prevCount < e.newCount) {
|
469
|
+
this._addTables(e.newCount - e.prevCount);
|
470
|
+
}
|
471
|
+
if(e.newCount < e.prevCount) {
|
472
|
+
this._removeTables(e.prevCount - e.newCount);
|
473
|
+
}
|
474
|
+
};
|
475
|
+
|
476
|
+
/** @public
|
477
|
+
* @param {number=} at
|
478
|
+
* @return {Element}
|
479
|
+
*/
|
480
|
+
MultiTableManager.prototype.getTable = function(at) {
|
481
|
+
if(!at) {
|
482
|
+
at = 0;
|
483
|
+
}
|
484
|
+
return this._tables[at] || null;
|
485
|
+
};
|
486
|
+
|
487
|
+
/** @private
|
488
|
+
* @return {!Array}
|
489
|
+
*/
|
490
|
+
MultiTableManager.prototype._generateExtensions = function() {
|
491
|
+
let extCount = this._extensions ? this._extensions.length : 0;
|
492
|
+
let ary = new Array(extCount);
|
493
|
+
for(let i = 0; i < extCount; ++i) {
|
494
|
+
let ext = this._extensions[i];
|
495
|
+
if(ext.hasMultiTableSupport && ext.hasMultiTableSupport()) {
|
496
|
+
ary[i] = ext;
|
497
|
+
} else {
|
498
|
+
ary[i] = _cloneInstance(ext);
|
499
|
+
}
|
500
|
+
}
|
501
|
+
return ary;
|
502
|
+
};
|
503
|
+
/** @private
|
504
|
+
* @param {string} methodName
|
505
|
+
* @param {...*} args
|
506
|
+
*/
|
507
|
+
MultiTableManager.prototype._execAll = function(methodName, args) {
|
508
|
+
let tableCount = this._tables.length;
|
509
|
+
for(let i = 0; i < tableCount; ++i) {
|
510
|
+
let tbl = this._tables[i];
|
511
|
+
if(args !== undefined) { // eslint-disable-line
|
512
|
+
if(arguments.length > 2) {
|
513
|
+
tbl.api[methodName].apply(
|
514
|
+
tbl.api,
|
515
|
+
Array.prototype.slice.call(arguments, 1)
|
516
|
+
);
|
517
|
+
} else {
|
518
|
+
tbl.api[methodName](args);
|
519
|
+
}
|
520
|
+
} else {
|
521
|
+
tbl.api[methodName]();
|
522
|
+
}
|
523
|
+
}
|
524
|
+
};
|
525
|
+
|
526
|
+
/** @public
|
527
|
+
* @param {Object=} rowOption
|
528
|
+
* @param {number=} at
|
529
|
+
*/
|
530
|
+
MultiTableManager.prototype.insertRow = function(rowOption, at) {
|
531
|
+
if(this._emeraldGrid) {
|
532
|
+
return;
|
533
|
+
}
|
534
|
+
|
535
|
+
if(this._wrapSize) {
|
536
|
+
this.getTable().api.insertRow(rowOption, at);
|
537
|
+
} else {
|
538
|
+
let tableCount = this._tables.length;
|
539
|
+
for(let i = 0; i < tableCount; ++i) {
|
540
|
+
let tbl = this._tables[i];
|
541
|
+
tbl.api.insertRow(rowOption, at);
|
542
|
+
}
|
543
|
+
}
|
544
|
+
};
|
545
|
+
/** @public
|
546
|
+
* @param {number=} at
|
547
|
+
*/
|
548
|
+
MultiTableManager.prototype.removeRow = function(at) {
|
549
|
+
if(this._emeraldGrid) {
|
550
|
+
return;
|
551
|
+
}
|
552
|
+
if(at == null) {
|
553
|
+
at = this.getRowCount() - 1;
|
554
|
+
}
|
555
|
+
|
556
|
+
if(this._wrapSize) {
|
557
|
+
this.getTable().api.removeRow(at);
|
558
|
+
} else {
|
559
|
+
let tableCount = this._tables.length;
|
560
|
+
for(let i = 0; i < tableCount; ++i) {
|
561
|
+
let tbl = this._tables[i];
|
562
|
+
tbl.api.removeRow(at);
|
563
|
+
}
|
564
|
+
}
|
565
|
+
};
|
566
|
+
|
567
|
+
/** @public
|
568
|
+
* @return {number}
|
569
|
+
*/
|
570
|
+
MultiTableManager.prototype.getRowCount = function() {
|
571
|
+
return this.getTable().api.getRowCount();
|
572
|
+
};
|
573
|
+
|
574
|
+
/** @public
|
575
|
+
* @param {*} columnOption String will be treated as field, while object is treated as the column options
|
576
|
+
* @param {number=} idx
|
577
|
+
*/
|
578
|
+
MultiTableManager.prototype.insertColumn = function(columnOption, idx) {
|
579
|
+
if(this._emeraldGrid) {
|
580
|
+
return;
|
581
|
+
}
|
582
|
+
|
583
|
+
let tableCount = this._tables.length;
|
584
|
+
for(let i = 0; i < tableCount; ++i) {
|
585
|
+
let tbl = this._tables[i];
|
586
|
+
tbl.api.insertColumn(columnOption, idx);
|
587
|
+
}
|
588
|
+
};
|
589
|
+
/** @public
|
590
|
+
* @param {*} colRef Column reference
|
591
|
+
*/
|
592
|
+
MultiTableManager.prototype.removeColumn = function(colRef) {
|
593
|
+
if(this._emeraldGrid) {
|
594
|
+
return;
|
595
|
+
}
|
596
|
+
let tableCount = this._tables.length;
|
597
|
+
for(let i = 0; i < tableCount; ++i) {
|
598
|
+
let tbl = this._tables[i];
|
599
|
+
tbl.api.removeColumn(colRef);
|
600
|
+
}
|
601
|
+
};
|
602
|
+
|
603
|
+
/** @public
|
604
|
+
* @return {number}
|
605
|
+
*/
|
606
|
+
MultiTableManager.prototype.getColumnCount = function() {
|
607
|
+
return this.getTable().api.getColumnCount();
|
608
|
+
};
|
609
|
+
|
610
|
+
export default MultiTableManager;
|
611
|
+
export { MultiTableManager };
|
@@ -0,0 +1,85 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
declare namespace NumberFormatter {
|
4
|
+
|
5
|
+
type Options = {
|
6
|
+
formatType?: string|null,
|
7
|
+
type: string,
|
8
|
+
precisionEnabled?: boolean|null,
|
9
|
+
decimalPlaces?: number|null,
|
10
|
+
plusSign?: boolean|null,
|
11
|
+
separator?: boolean|null,
|
12
|
+
percentSign?: boolean|null,
|
13
|
+
scalingUnit?: string|null,
|
14
|
+
multiplyBy100?: boolean|null,
|
15
|
+
mutiplyBy100?: boolean|null
|
16
|
+
};
|
17
|
+
|
18
|
+
}
|
19
|
+
|
20
|
+
declare class NumberFormatter {
|
21
|
+
|
22
|
+
constructor(options?: NumberFormatter.Options|null);
|
23
|
+
|
24
|
+
public init(options?: NumberFormatter.Options|null): void;
|
25
|
+
|
26
|
+
public resetToDefaults(): void;
|
27
|
+
|
28
|
+
public static padDecimalPartWithZeroes(str: string, precision: number): string;
|
29
|
+
|
30
|
+
public static multiplyByHundred(num: number): number;
|
31
|
+
|
32
|
+
public getOptions(options?: any): any;
|
33
|
+
|
34
|
+
public format(origVal: number): string;
|
35
|
+
|
36
|
+
public enableDefaultFormat(): void;
|
37
|
+
|
38
|
+
public enablePrecision(bool?: boolean|null): void;
|
39
|
+
|
40
|
+
public enableSeparator(bool?: boolean|null): void;
|
41
|
+
|
42
|
+
public enablePercentSign(bool?: boolean|null): void;
|
43
|
+
|
44
|
+
public enablePercentFormat(bool?: boolean|null): void;
|
45
|
+
|
46
|
+
public enablePlusSign(bool?: boolean|null): void;
|
47
|
+
|
48
|
+
public enableMultiplyBy100(bool?: boolean|null): void;
|
49
|
+
|
50
|
+
public enableMillionScaling(bool?: boolean|null): void;
|
51
|
+
|
52
|
+
public enableBillionScaling(bool?: boolean|null): void;
|
53
|
+
|
54
|
+
public isDefaultFormatEnabled(): boolean;
|
55
|
+
|
56
|
+
public isPrecisionEnabled(): boolean;
|
57
|
+
|
58
|
+
public isSeparatorEnabled(): boolean;
|
59
|
+
|
60
|
+
public isPercentSignEnabled(): boolean;
|
61
|
+
|
62
|
+
public isPercentFormatEnabled(): boolean;
|
63
|
+
|
64
|
+
public isPlusSignEnabled(): boolean;
|
65
|
+
|
66
|
+
public isMultiplyBy100Enabled(): boolean;
|
67
|
+
|
68
|
+
public isMillionScalingEnabled(): boolean;
|
69
|
+
|
70
|
+
public isBillionScalingEnabled(): boolean;
|
71
|
+
|
72
|
+
public getPrecision(): number;
|
73
|
+
|
74
|
+
public setPrecision(num: number): void;
|
75
|
+
|
76
|
+
public setSeparatorCharacter(cha: string): void;
|
77
|
+
|
78
|
+
public setPercentSignCharacter(cha: string): void;
|
79
|
+
|
80
|
+
}
|
81
|
+
|
82
|
+
declare function val(): void;
|
83
|
+
|
84
|
+
export default NumberFormatter;
|
85
|
+
export {NumberFormatter};
|