@refinitiv-ui/efx-grid 6.0.1 → 6.0.4
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/lib/column-dragging/es6/ColumnDragging.d.ts +49 -0
- package/lib/column-dragging/es6/ColumnDragging.js +764 -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/lib/column-format-dialog.d.ts +13 -1
- package/lib/column-selection-dialog/lib/column-selection-dialog.d.ts +15 -2
- package/lib/column-selection-dialog/lib/column-selection-dialog.js +226 -23
- package/lib/column-selection-dialog/themes/halo/dark/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/column-selection-dialog/themes/halo/light/column-selection-dialog.js +1 -1
- package/lib/column-selection-dialog/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/core/dist/core.css +1 -1
- package/lib/core/dist/core.js +17835 -16266
- package/lib/core/dist/core.min.js +1 -1
- package/lib/core/es6/data/ColumnStats.d.ts +2 -2
- package/lib/core/es6/data/DataCache.d.ts +4 -4
- package/lib/core/es6/data/DataTable.d.ts +5 -5
- package/lib/core/es6/data/DataTable.js +33 -11
- package/lib/core/es6/data/DataView.d.ts +26 -17
- package/lib/core/es6/data/DataView.js +172 -49
- package/lib/core/es6/data/Segment.d.ts +2 -0
- package/lib/core/es6/data/Segment.js +7 -0
- package/lib/core/es6/data/SegmentCollection.d.ts +3 -3
- package/lib/core/es6/data/WrappedView.d.ts +289 -0
- package/lib/core/es6/data/WrappedView.js +1319 -0
- package/lib/core/es6/grid/Core.d.ts +42 -27
- package/lib/core/es6/grid/Core.js +431 -163
- package/lib/core/es6/grid/ILayoutGrid.d.ts +23 -15
- package/lib/core/es6/grid/ILayoutGrid.js +45 -2
- package/lib/core/es6/grid/LayoutGrid.d.ts +10 -1
- package/lib/core/es6/grid/LayoutGrid.js +311 -108
- package/lib/core/es6/grid/VirtualizedLayoutGrid.d.ts +10 -1
- package/lib/core/es6/grid/VirtualizedLayoutGrid.js +382 -24
- package/lib/core/es6/grid/components/Cell.d.ts +4 -4
- package/lib/core/es6/grid/components/CellFloatingPanel.d.ts +1 -1
- package/lib/core/es6/grid/components/CellSpans.d.ts +8 -8
- package/lib/core/es6/grid/components/Column.d.ts +1 -1
- package/lib/core/es6/grid/components/Column.js +8 -2
- package/lib/core/es6/grid/components/ElementWrapper.d.ts +6 -6
- package/lib/core/es6/grid/components/HScrollbar.d.ts +4 -0
- package/lib/core/es6/grid/components/HScrollbar.js +20 -4
- package/lib/core/es6/grid/components/Scrollbar.d.ts +1 -1
- package/lib/core/es6/grid/components/StretchedCells.js +2 -2
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.d.ts +14 -6
- package/lib/core/es6/grid/plugins/SortableTitlePlugin.js +147 -81
- package/lib/core/es6/grid/util/Conflator.d.ts +2 -2
- package/lib/core/es6/grid/util/ElementFrameWork.d.ts +3 -3
- package/lib/core/es6/grid/util/HttpRequest.d.ts +2 -2
- package/lib/core/es6/grid/util/PercentBarRenderer.d.ts +1 -1
- package/lib/core/es6/grid/util/RangeBar.d.ts +1 -1
- package/lib/core/es6/grid/util/SectionSettings.d.ts +5 -5
- package/lib/core/es6/grid/util/SectionSettings.js +5 -0
- package/lib/core/es6/grid/util/SelectionList.d.ts +2 -2
- package/lib/core/es6/grid/util/TrackLayout.d.ts +7 -3
- package/lib/core/es6/grid/util/TrackLayout.js +29 -3
- package/lib/core/es6/grid/util/util.d.ts +2 -2
- package/lib/core/es6/index.d.ts +1 -5
- package/lib/core/es6/index.js +1 -7
- package/lib/core/es6/tr-grid-theme.js +1 -1
- package/lib/filter-dialog/lib/checkbox-list.d.ts +13 -1
- package/lib/filter-dialog/lib/filter-dialog.d.ts +14 -1
- package/lib/filter-dialog/lib/filter-dialog.js +94 -32
- package/lib/filter-dialog/themes/base-checkbox.less +8 -1
- package/lib/filter-dialog/themes/base.less +69 -1
- package/lib/filter-dialog/themes/elemental/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/dark/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/elemental/dark/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/elemental/light/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/elemental/light/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/dark/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/halo/dark/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/halo/light/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/halo/light/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/halo/light/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/charcoal/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/solar/charcoal/filter-dialog.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/checkbox-list.js +1 -1
- package/lib/filter-dialog/themes/solar/pearl/es5/all-elements.js +2 -2
- package/lib/filter-dialog/themes/solar/pearl/filter-dialog.js +1 -1
- package/lib/grid/lib/efx-grid.d.ts +30 -8
- package/lib/grid/lib/efx-grid.js +120 -115
- package/lib/grid/themes/base.less +5 -3
- package/lib/grid/themes/halo/dark/efx-grid.js +1 -1
- package/lib/grid/themes/halo/dark/es5/all-elements.js +1 -1
- package/lib/grid/themes/halo/efx-grid.less +72 -41
- package/lib/grid/themes/halo/light/efx-grid.js +1 -1
- package/lib/grid/themes/halo/light/es5/all-elements.js +1 -1
- package/lib/grid/themes/solar/charcoal/efx-grid.js +1 -1
- package/lib/grid/themes/solar/charcoal/es5/all-elements.js +1 -1
- package/lib/grid/themes/solar/pearl/efx-grid.js +1 -1
- package/lib/grid/themes/solar/pearl/es5/all-elements.js +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/row-segmenting/es6/RowSegmenting.d.ts +8 -2
- package/lib/row-segmenting/es6/RowSegmenting.js +137 -21
- package/lib/rt-grid/dist/rt-grid.js +11017 -9193
- package/lib/rt-grid/dist/rt-grid.min.js +1 -1
- package/lib/rt-grid/es6/ColumnDefinition.d.ts +9 -4
- package/lib/rt-grid/es6/ColumnDefinition.js +20 -108
- package/lib/rt-grid/es6/DataConnector.d.ts +3 -3
- package/lib/rt-grid/es6/Grid.d.ts +30 -15
- package/lib/rt-grid/es6/Grid.js +436 -167
- package/lib/rt-grid/es6/RowDefSorter.d.ts +19 -0
- package/lib/rt-grid/es6/RowDefSorter.js +137 -0
- package/lib/rt-grid/es6/RowDefinition.d.ts +12 -7
- package/lib/rt-grid/es6/RowDefinition.js +58 -2
- package/lib/rt-grid/es6/SnapshotFiller.d.ts +3 -1
- package/lib/rt-grid/es6/SnapshotFiller.js +23 -0
- package/lib/tr-grid-cell-selection/es6/CellSelection.d.ts +1 -1
- package/lib/tr-grid-cell-selection/es6/CellSelection.js +53 -40
- package/lib/tr-grid-checkbox/es6/Checkbox.d.ts +6 -3
- package/lib/tr-grid-checkbox/es6/Checkbox.js +79 -34
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.d.ts +1 -0
- package/lib/tr-grid-column-grouping/es6/ColumnGrouping.js +10 -0
- package/lib/tr-grid-column-selection/es6/ColumnSelection.d.ts +5 -1
- package/lib/tr-grid-column-selection/es6/ColumnSelection.js +269 -10
- package/lib/tr-grid-column-stack/es6/ColumnStack.d.ts +8 -4
- package/lib/tr-grid-column-stack/es6/ColumnStack.js +243 -125
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.d.ts +1 -1
- package/lib/tr-grid-conditional-coloring/es6/ConditionalColoring.js +24 -13
- package/lib/tr-grid-filter-input/es6/FilterInput.d.ts +4 -2
- package/lib/tr-grid-filter-input/es6/FilterInput.js +73 -10
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.d.ts +8 -5
- package/lib/tr-grid-in-cell-editing/es6/InCellEditing.js +106 -3
- package/lib/tr-grid-printer/es6/CellWriter.d.ts +3 -3
- package/lib/tr-grid-printer/es6/GridPrinter.d.ts +1 -1
- package/lib/tr-grid-printer/es6/GridPrinter.js +26 -13
- package/lib/tr-grid-printer/es6/PrintTrait.d.ts +2 -2
- package/lib/tr-grid-printer/es6/SectionWriter.d.ts +3 -3
- package/lib/tr-grid-row-dragging/es6/RowDragging.d.ts +3 -4
- package/lib/tr-grid-row-dragging/es6/RowDragging.js +108 -127
- package/lib/tr-grid-row-filtering/es6/RowFiltering.d.ts +2 -0
- package/lib/tr-grid-row-filtering/es6/RowFiltering.js +88 -33
- package/lib/tr-grid-row-grouping/es6/RowGrouping.d.ts +7 -2
- package/lib/tr-grid-row-grouping/es6/RowGrouping.js +138 -38
- package/lib/tr-grid-row-selection/es6/RowSelection.d.ts +13 -9
- package/lib/tr-grid-row-selection/es6/RowSelection.js +230 -29
- package/lib/tr-grid-rowcoloring/es6/RowColoring.d.ts +2 -0
- package/lib/tr-grid-rowcoloring/es6/RowColoring.js +36 -0
- package/lib/tr-grid-textformatting/es6/TextFormatting.d.ts +1 -1
- package/lib/tr-grid-textformatting/es6/TextFormatting.js +12 -0
- package/lib/tr-grid-util/es6/CellPainter.d.ts +8 -8
- package/lib/tr-grid-util/es6/Conflator.d.ts +2 -2
- package/lib/tr-grid-util/es6/CoralItems.d.ts +1 -1
- package/lib/tr-grid-util/es6/DateTime.d.ts +4 -4
- package/lib/tr-grid-util/es6/Delay.d.ts +1 -1
- package/lib/tr-grid-util/es6/Dom.d.ts +4 -4
- package/lib/tr-grid-util/es6/DragUI.d.ts +16 -0
- package/lib/tr-grid-util/es6/DragUI.js +214 -0
- package/lib/tr-grid-util/es6/ElementObserver.d.ts +2 -0
- package/lib/tr-grid-util/es6/ElementObserver.js +28 -1
- package/lib/tr-grid-util/es6/ElementWrapper.d.ts +1 -1
- package/lib/tr-grid-util/es6/ElfDate.d.ts +3 -3
- package/lib/tr-grid-util/es6/ElfUtil.d.ts +4 -4
- package/lib/tr-grid-util/es6/ElfUtil.js +1 -1
- package/lib/tr-grid-util/es6/EventDispatcher.d.ts +1 -1
- package/lib/tr-grid-util/es6/ExpanderIcon.js +2 -2
- package/lib/tr-grid-util/es6/FieldFormatter.d.ts +1 -1
- package/lib/tr-grid-util/es6/FieldFormatter.js +7 -5
- package/lib/tr-grid-util/es6/FilterBuilder.d.ts +5 -5
- package/lib/tr-grid-util/es6/GridPlugin.d.ts +3 -3
- package/lib/tr-grid-util/es6/GridPlugin.js +8 -4
- package/lib/tr-grid-util/es6/MouseDownTrait.d.ts +1 -1
- package/lib/tr-grid-util/es6/MultiTableManager.d.ts +10 -2
- package/lib/tr-grid-util/es6/MultiTableManager.js +164 -57
- package/lib/tr-grid-util/es6/NumberFormatter.d.ts +2 -0
- package/lib/tr-grid-util/es6/NumberFormatter.js +64 -19
- package/lib/tr-grid-util/es6/PercentBar.d.ts +1 -1
- package/lib/tr-grid-util/es6/Perf.d.ts +4 -4
- package/lib/tr-grid-util/es6/Popup.d.ts +2 -2
- package/lib/tr-grid-util/es6/RequestQueue.d.ts +1 -1
- package/lib/tr-grid-util/es6/RowPainter.d.ts +3 -0
- package/lib/tr-grid-util/es6/RowPainter.js +120 -28
- package/lib/tr-grid-util/es6/SubTable.d.ts +9 -9
- package/lib/tr-grid-util/es6/Table.d.ts +13 -13
- package/lib/tr-grid-util/es6/TextHighlighter.d.ts +3 -3
- package/lib/tr-grid-util/es6/TickCodes.d.ts +2 -2
- package/lib/tr-grid-util/es6/TouchProxy.d.ts +1 -1
- package/lib/tr-grid-util/es6/Util.d.ts +6 -6
- package/lib/tr-grid-util/es6/formula/Engine.d.ts +5 -5
- package/lib/tr-grid-util/es6/formula/Formula.d.ts +3 -3
- package/lib/tr-grid-util/es6/formula/Formula.js +9 -1
- package/lib/tr-grid-util/es6/formula/RealtimeService.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/CollectionDict.d.ts +2 -2
- package/lib/tr-grid-util/es6/jet/DataGenerator.d.ts +4 -4
- package/lib/tr-grid-util/es6/jet/MockArchive.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/MockJET.d.ts +4 -4
- package/lib/tr-grid-util/es6/jet/MockQuotes.d.ts +11 -11
- package/lib/tr-grid-util/es6/jet/MockQuotes2.d.ts +7 -7
- package/lib/tr-grid-util/es6/jet/MockRTK.d.ts +1 -1
- package/lib/tr-grid-util/es6/jet/mockDataAPI.d.ts +1 -1
- package/lib/tr-grid-util/es6/jsx.d.ts +223 -0
- package/lib/types/es6/CellSelection.d.ts +1 -1
- package/lib/types/es6/Checkbox.d.ts +6 -3
- package/lib/types/es6/ColumnGrouping.d.ts +1 -0
- package/lib/types/es6/ColumnSelection.d.ts +5 -1
- package/lib/types/es6/ColumnStack.d.ts +8 -4
- package/lib/types/es6/CompositeGrid/ColumnSelectionPlugin.d.ts +3 -2
- package/lib/types/es6/CompositeGrid/ColumnWidthAdjustingPlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/CompositeGrid.d.ts +20 -18
- package/lib/types/es6/CompositeGrid/DragAndDropTitlePlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/DraggableContentPlugin.d.ts +3 -2
- package/lib/types/es6/CompositeGrid/Plugin.d.ts +28 -0
- package/lib/types/es6/CompositeGrid/ResizableTitlePlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/RowSelectionPlugin.d.ts +5 -4
- package/lib/types/es6/CompositeGrid/TreeIndentingPlugin.d.ts +2 -1
- package/lib/types/es6/CompositeGrid/index.d.ts +9 -9
- package/lib/types/es6/ConditionalColoring.d.ts +1 -1
- package/lib/types/es6/Core/data/ColumnStats.d.ts +2 -2
- package/lib/types/es6/Core/data/DataCache.d.ts +4 -4
- package/lib/types/es6/Core/data/DataTable.d.ts +5 -5
- package/lib/types/es6/Core/data/DataView.d.ts +26 -17
- package/lib/types/es6/Core/data/Segment.d.ts +2 -0
- package/lib/types/es6/Core/data/SegmentCollection.d.ts +3 -3
- package/lib/types/es6/Core/data/WrappedView.d.ts +289 -0
- package/lib/types/es6/Core/grid/Core.d.ts +42 -27
- package/lib/types/es6/Core/grid/ILayoutGrid.d.ts +23 -15
- package/lib/types/es6/Core/grid/LayoutGrid.d.ts +10 -1
- package/lib/types/es6/Core/grid/VirtualizedLayoutGrid.d.ts +10 -1
- package/lib/types/es6/Core/grid/components/Cell.d.ts +4 -4
- package/lib/types/es6/Core/grid/components/CellFloatingPanel.d.ts +1 -1
- package/lib/types/es6/Core/grid/components/CellSpans.d.ts +8 -8
- package/lib/types/es6/Core/grid/components/Column.d.ts +1 -1
- package/lib/types/es6/Core/grid/components/ElementWrapper.d.ts +6 -6
- package/lib/types/es6/Core/grid/components/HScrollbar.d.ts +4 -0
- package/lib/types/es6/Core/grid/components/Scrollbar.d.ts +1 -1
- package/lib/types/es6/Core/grid/plugins/SortableTitlePlugin.d.ts +14 -6
- package/lib/types/es6/Core/grid/util/Conflator.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/ElementFrameWork.d.ts +3 -3
- package/lib/types/es6/Core/grid/util/HttpRequest.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/PercentBarRenderer.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/RangeBar.d.ts +1 -1
- package/lib/types/es6/Core/grid/util/SectionSettings.d.ts +5 -5
- package/lib/types/es6/Core/grid/util/SelectionList.d.ts +2 -2
- package/lib/types/es6/Core/grid/util/TrackLayout.d.ts +7 -3
- package/lib/types/es6/Core/grid/util/util.d.ts +2 -2
- package/lib/types/es6/Core/index.d.ts +1 -5
- package/lib/types/es6/ExtensionOptions.d.ts +2 -0
- package/lib/types/es6/FilterInput.d.ts +4 -2
- package/lib/types/es6/InCellEditing.d.ts +8 -5
- package/lib/types/es6/RealtimeGrid/ColumnDefinition.d.ts +9 -4
- package/lib/types/es6/RealtimeGrid/DataConnector.d.ts +3 -3
- package/lib/types/es6/RealtimeGrid/Grid.d.ts +31 -16
- package/lib/types/es6/RealtimeGrid/RowDefSorter.d.ts +19 -0
- package/lib/types/es6/RealtimeGrid/RowDefinition.d.ts +12 -7
- package/lib/types/es6/RealtimeGrid/SnapshotFiller.d.ts +3 -1
- package/lib/types/es6/RowColoring.d.ts +2 -0
- package/lib/types/es6/RowDragging.d.ts +3 -4
- package/lib/types/es6/RowFiltering.d.ts +2 -0
- package/lib/types/es6/RowGrouping.d.ts +7 -2
- package/lib/types/es6/RowSegmenting.d.ts +8 -2
- package/lib/types/es6/RowSelection.d.ts +13 -9
- package/lib/types/es6/TextFormatting.d.ts +1 -1
- package/lib/types/es6/Zoom.d.ts +2 -1
- package/lib/types/es6/index.d.ts +3 -0
- package/lib/versions.json +22 -21
- package/lib/zoom/es6/Zoom.d.ts +2 -1
- package/lib/zoom/es6/Zoom.js +11 -4
- package/package.json +7 -7
- package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.d.ts +0 -24
- package/lib/core/es6/grid/plugins/DragAndDropTitlePlugin.js +0 -615
- package/lib/core/es6/grid/plugins/Plugin.d.ts +0 -28
- package/lib/core/es6/grid/plugins/Plugin.js +0 -272
- package/lib/types/es6/Core/grid/plugins/DragAndDropTitlePlugin.d.ts +0 -24
- package/lib/types/es6/Core/grid/plugins/Plugin.d.ts +0 -28
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./ColumnDragging";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./ColumnDragging";
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { customElement } from "@refinitiv-ui/core/decorators/custom-element.js";
|
2
|
+
import { JSXInterface } from "../../tr-grid-util/es6/jsx";
|
2
3
|
import {
|
3
4
|
BasicElement,
|
4
5
|
html
|
@@ -60,5 +61,16 @@ declare class ColumnFormatDialog extends BasicElement {
|
|
60
61
|
|
61
62
|
}
|
62
63
|
|
64
|
+
declare global {
|
65
|
+
interface HTMLElementTagNameMap {
|
66
|
+
"column-format-dialog": ColumnFormatDialog;
|
67
|
+
}
|
68
|
+
namespace JSX {
|
69
|
+
interface IntrinsicElements {
|
70
|
+
"column-format-dialog": ColumnFormatDialog | JSXInterface.HTMLAttributes;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
63
75
|
export { ColumnFormatDialog };
|
64
|
-
export default ColumnFormatDialog;
|
76
|
+
export default ColumnFormatDialog;
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { customElement } from "@refinitiv-ui/core/decorators/custom-element.js";
|
2
|
+
import { JSXInterface } from "../../tr-grid-util/es6/jsx";
|
2
3
|
import { BasicElement, html } from "@refinitiv-ui/core";
|
3
4
|
import "@refinitiv-ui/elements/button";
|
4
|
-
import "@refinitiv-ui/elements/tree";
|
5
|
+
import { DefaultRenderer } from "@refinitiv-ui/elements/tree";
|
5
6
|
import "@refinitiv-ui/elements/dialog";
|
6
7
|
import "@refinitiv-ui/elements/search-field";
|
7
8
|
import translation from "./locale/translation.js";
|
8
9
|
import ElementObserver from "../../tr-grid-util/es6/ElementObserver.js";
|
9
10
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
11
|
+
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
10
12
|
|
11
13
|
declare namespace ColumnSelectionDialog {
|
12
14
|
|
@@ -37,5 +39,16 @@ declare class ColumnSelectionDialog extends BasicElement {
|
|
37
39
|
|
38
40
|
}
|
39
41
|
|
42
|
+
declare global {
|
43
|
+
interface HTMLElementTagNameMap {
|
44
|
+
"column-selection-dialog": ColumnSelectionDialog;
|
45
|
+
}
|
46
|
+
namespace JSX {
|
47
|
+
interface IntrinsicElements {
|
48
|
+
"column-selection-dialog": ColumnSelectionDialog | JSXInterface.HTMLAttributes;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
40
53
|
export { ColumnSelectionDialog };
|
41
|
-
export default ColumnSelectionDialog;
|
54
|
+
export default ColumnSelectionDialog;
|
@@ -1,12 +1,13 @@
|
|
1
1
|
import { customElement } from "@refinitiv-ui/core/decorators/custom-element.js";
|
2
2
|
import { BasicElement, html } from "@refinitiv-ui/core";
|
3
3
|
import "@refinitiv-ui/elements/button";
|
4
|
-
import "@refinitiv-ui/elements/tree";
|
4
|
+
import { DefaultRenderer } from "@refinitiv-ui/elements/tree";
|
5
5
|
import "@refinitiv-ui/elements/dialog";
|
6
6
|
import "@refinitiv-ui/elements/search-field";
|
7
7
|
import translation from "./locale/translation.js";
|
8
8
|
import ElementObserver from "../../tr-grid-util/es6/ElementObserver.js";
|
9
9
|
import { ElfUtil } from "../../tr-grid-util/es6/ElfUtil.js";
|
10
|
+
import { injectCss, prettifyCss } from "../../tr-grid-util/es6/Util.js";
|
10
11
|
|
11
12
|
/**
|
12
13
|
* @typedef {Object} ColumnSelectionDialog~Config
|
@@ -253,22 +254,34 @@ const _getSelectedItemIndexes = function (list) {
|
|
253
254
|
/** Coral tree item requires label and value. also create nested group
|
254
255
|
* @private
|
255
256
|
* @param {Object} colObj
|
257
|
+
* @param {string} parent parent of this group
|
256
258
|
* @return {Object}
|
257
259
|
*/
|
258
|
-
const _toCoralTreeItem = function (colObj) {
|
260
|
+
const _toCoralTreeItem = function (colObj, parent) {
|
259
261
|
var label = colObj.label || colObj.title || colObj.name || colObj.field;
|
262
|
+
var currentId;
|
263
|
+
if(parent) {
|
264
|
+
currentId = parent + '/' + label;
|
265
|
+
} else {
|
266
|
+
currentId = label;
|
267
|
+
}
|
260
268
|
if (colObj.items) {
|
261
269
|
return {
|
262
270
|
label: label,
|
271
|
+
rawValue: colObj.id,
|
263
272
|
value: colObj.id,
|
264
|
-
items: colObj.items.map(
|
273
|
+
items: colObj.items.map(function (obj) {
|
274
|
+
return _toCoralTreeItem(obj, currentId);
|
275
|
+
}),
|
265
276
|
expanded: true,
|
266
277
|
isGroup: true
|
267
278
|
};
|
268
279
|
} else {
|
269
280
|
return {
|
270
281
|
label: label,
|
271
|
-
|
282
|
+
rawValue: colObj.id,
|
283
|
+
strGroup: parent,
|
284
|
+
value: currentId,
|
272
285
|
selected: false,
|
273
286
|
disabled: colObj.disabled == true
|
274
287
|
};
|
@@ -315,7 +328,7 @@ const _validateItem = function(item) {
|
|
315
328
|
item.title = item.label || item.field;
|
316
329
|
}
|
317
330
|
if (!item.id) {
|
318
|
-
item.id = item.title;
|
331
|
+
item.id = item.field || item.title;
|
319
332
|
}
|
320
333
|
return true;
|
321
334
|
}
|
@@ -378,15 +391,32 @@ const _screenDuplication = function (ary, idMap) {
|
|
378
391
|
*/
|
379
392
|
const _createMapping = function (items, fieldTobeKey, mappingObj) {
|
380
393
|
mappingObj = mappingObj || {};
|
381
|
-
var
|
382
|
-
|
383
|
-
|
384
|
-
|
394
|
+
var len = items.length;
|
395
|
+
var item, value, rawValue;
|
396
|
+
for (let i = 0; i < len; i++) {
|
397
|
+
item = items[i];
|
398
|
+
if(item.items) {
|
385
399
|
_createMapping(item.items, fieldTobeKey, mappingObj);
|
386
400
|
}
|
387
|
-
|
388
|
-
|
401
|
+
value = item[fieldTobeKey];
|
402
|
+
rawValue = item.rawValue;
|
389
403
|
mappingObj[value] = item;
|
404
|
+
if(fieldTobeKey === 'id') { // When a column is initialized, no extra properties are assigned for retaining value reason
|
405
|
+
continue;
|
406
|
+
}
|
407
|
+
// add mapping rawValue for map current group
|
408
|
+
if(!mappingObj[rawValue]) {
|
409
|
+
mappingObj[rawValue] = Object.assign( {isUnique: true}, item);
|
410
|
+
} else {
|
411
|
+
mappingObj[rawValue].isDuplicate = true;
|
412
|
+
}
|
413
|
+
|
414
|
+
// for map child to parent group
|
415
|
+
if(!mappingObj[rawValue].mappingParents) {
|
416
|
+
mappingObj[rawValue].mappingParents = [];
|
417
|
+
}
|
418
|
+
mappingObj[rawValue].mappingParents.push(value);
|
419
|
+
|
390
420
|
}
|
391
421
|
return mappingObj;
|
392
422
|
};
|
@@ -470,6 +500,7 @@ class ColumnSelectionDialog extends BasicElement {
|
|
470
500
|
this._excludedLeftVisibleColumnList = []; // Visible left columns that is currently excluded from UI (eg. auto-generated column)
|
471
501
|
this._excludedRightVisibleColumnList = []; // Visible right columns that is currently excluded from UI
|
472
502
|
this._selectAllStatus = "";
|
503
|
+
this._treeDefualtRenderer = {};
|
473
504
|
|
474
505
|
this._isMovable = this._isMovable.bind(this);
|
475
506
|
this._treeValueChanged = this._treeValueChanged.bind(this);
|
@@ -486,7 +517,11 @@ class ColumnSelectionDialog extends BasicElement {
|
|
486
517
|
this._handleMouseover = this._handleMouseover.bind(this);
|
487
518
|
this._handleMouseout = this._handleMouseout.bind(this);
|
488
519
|
this._handleSelectAllHeaderClick = this._handleSelectAllHeaderClick.bind(this);
|
520
|
+
this._handleInfoIconClicked = this._handleInfoIconClicked.bind(this);
|
521
|
+
this._handleInfoIconMouseover = this._handleInfoIconMouseover.bind(this);
|
522
|
+
this._handleInfoIconMouseout = this._handleInfoIconMouseout.bind(this);
|
489
523
|
this._handleClick = this._handleClick.bind(this);
|
524
|
+
this._createTreeCustomRender = this._createTreeCustomRender.bind(this);
|
490
525
|
this._selectAllCheckedChanged = this._selectAllCheckedChanged.bind(this);
|
491
526
|
ElementObserver.addLanguageListener(this);
|
492
527
|
}
|
@@ -654,6 +689,52 @@ class ColumnSelectionDialog extends BasicElement {
|
|
654
689
|
this._visibleColumnsContainer.addEventListener('mouseout', this._handleMouseout);
|
655
690
|
this._visibleColumnsContainer.addEventListener('click', this._handleClick);
|
656
691
|
this._visibleColumnsContainer.addEventListener('dblclick', this._removeBtnClicked);
|
692
|
+
|
693
|
+
// icon custom renderer
|
694
|
+
if(this._descriptionBox) {
|
695
|
+
this._treeDefualtRenderer = new DefaultRenderer(this._tree);
|
696
|
+
this._tree.renderer = this._createTreeCustomRender;
|
697
|
+
}
|
698
|
+
|
699
|
+
// apply style for info icon
|
700
|
+
if(!this._styles) {
|
701
|
+
var styles = [
|
702
|
+
"ef-tree-item", [
|
703
|
+
"position: relative;"
|
704
|
+
],
|
705
|
+
".item", [
|
706
|
+
"display: flex;",
|
707
|
+
"justify-content: space-between;"
|
708
|
+
],
|
709
|
+
".div-icon", [
|
710
|
+
"position: absolute;",
|
711
|
+
"right: 0;",
|
712
|
+
"top: 0;",
|
713
|
+
"width: 24px;",
|
714
|
+
"height: 100%;",
|
715
|
+
"text-align: center;"
|
716
|
+
],
|
717
|
+
".info-icon", [
|
718
|
+
"display: block;",
|
719
|
+
"font-size: 18px;",
|
720
|
+
"height: 100%;",
|
721
|
+
"display: none"
|
722
|
+
],
|
723
|
+
"ef-tree-item:hover .item .info-icon", [ // hover item will show icon
|
724
|
+
"display: inline-block;",
|
725
|
+
"color: #ffffff;" // icon-color white both dark and light theme
|
726
|
+
],
|
727
|
+
"ef-tree-item .item .div-icon:hover", [ // hover icon will change icon background
|
728
|
+
"background-color: var(--color-scheme-primary);"
|
729
|
+
],
|
730
|
+
".bg-highligted", [ // effect ef-tree-item, when _handleInfoIconMouseover icon (disable highlighted background color)
|
731
|
+
"background-color: var(--color-scheme-tertiary);",
|
732
|
+
"color: var(--color-scheme-complementary);" // font text
|
733
|
+
]
|
734
|
+
];
|
735
|
+
this._styles = prettifyCss(styles);
|
736
|
+
injectCss(this._styles, this); // inject in column selection dialog dialog
|
737
|
+
}
|
657
738
|
}
|
658
739
|
|
659
740
|
/**
|
@@ -712,7 +793,7 @@ class ColumnSelectionDialog extends BasicElement {
|
|
712
793
|
*/
|
713
794
|
_initData(toDefault) {
|
714
795
|
// Retrieve user options
|
715
|
-
var allItems, i, item;
|
796
|
+
var allItems, i, j, item, id, key, columnMappingParents;
|
716
797
|
var config = this.config || {};
|
717
798
|
var visibleItems = this.visibleItems;
|
718
799
|
var defaultItems = this._defaultItems;
|
@@ -774,22 +855,47 @@ class ColumnSelectionDialog extends BasicElement {
|
|
774
855
|
this._excludedLeftVisibleColumnList = visibleItems.slice(0, this._excludedLeftColumns);
|
775
856
|
this._excludedRightVisibleColumnList = visibleItems.slice(itemCount - this._excludedRightColumns);
|
776
857
|
|
777
|
-
this._allColumnList = allItems.map(
|
858
|
+
this._allColumnList = allItems.map(function (obj) {
|
859
|
+
return _toCoralTreeItem(obj);
|
860
|
+
});
|
778
861
|
this._allItemMapping = _createMapping(this._allColumnList, 'value');
|
779
862
|
|
780
863
|
this._visibleColumnList = [];
|
781
864
|
for (i = 0; i < itemCount; i++) {
|
782
|
-
|
865
|
+
id = visibleItems[i].id;
|
783
866
|
item = this._allItemMapping[id];
|
784
867
|
if (!item) continue; // auto generate column will not include in visible list
|
785
|
-
|
786
|
-
|
868
|
+
columnMappingParents = item.mappingParents;
|
869
|
+
if(columnMappingParents) {
|
870
|
+
// Select all tree duplicate columns
|
871
|
+
for (j = 0; j < columnMappingParents.length; j++) {
|
872
|
+
key = columnMappingParents[j];
|
873
|
+
this._allItemMapping[key].selected = true; // selected this column
|
874
|
+
}
|
875
|
+
} else {
|
876
|
+
item.selected = true; // selected this column
|
877
|
+
}
|
787
878
|
|
788
879
|
if (i < this._excludedLeftColumns || i >= itemCount - this._excludedRightColumns) {
|
789
880
|
// _excludedLeftColumns and _excludedRightColumns no need to add in _visibleColumnList
|
790
881
|
item.disabled = true;
|
791
882
|
} else {
|
792
|
-
|
883
|
+
// The value in the tree children is selected when the user passes the visible column in the dialog
|
884
|
+
columnMappingParents = item.mappingParents;
|
885
|
+
if(columnMappingParents) {
|
886
|
+
for (j = 0; j < columnMappingParents.length; j++) {
|
887
|
+
key = columnMappingParents[j];
|
888
|
+
var rawValue = this._allItemMapping[key].rawValue;
|
889
|
+
var coralItem = _toCoralItem(this._allItemMapping[key]);
|
890
|
+
|
891
|
+
if(this._allItemMapping[rawValue].isDuplicate && this._allItemMapping[key].strGroup) {
|
892
|
+
coralItem.label = coralItem.label + ' (' + this._allItemMapping[key].strGroup + ')';
|
893
|
+
}
|
894
|
+
this._visibleColumnList.push(_toCoralItem(coralItem)); // show in coral item
|
895
|
+
}
|
896
|
+
} else {
|
897
|
+
this._visibleColumnList.push(_toCoralItem(item)); // show in coral item
|
898
|
+
}
|
793
899
|
}
|
794
900
|
}
|
795
901
|
|
@@ -1040,7 +1146,7 @@ class ColumnSelectionDialog extends BasicElement {
|
|
1040
1146
|
var checked = 0;
|
1041
1147
|
for (var key in this._filterItemMapping) {
|
1042
1148
|
var item = this._filterItemMapping[key];
|
1043
|
-
if (item.disabled || item.isGroup) continue;
|
1149
|
+
if (item.disabled || item.isGroup || item.isUnique) continue;
|
1044
1150
|
|
1045
1151
|
total++;
|
1046
1152
|
item.selected && checked++;
|
@@ -1134,10 +1240,7 @@ class ColumnSelectionDialog extends BasicElement {
|
|
1134
1240
|
_handleClick(e) {
|
1135
1241
|
var selectedElement = e.target; // Target should be ef-item
|
1136
1242
|
|
1137
|
-
|
1138
|
-
if (this._descriptionBox && this._initialColumnMap[selectedElement.value]) {
|
1139
|
-
this._descriptionContainer.textContent = this._initialColumnMap[selectedElement.value].description;
|
1140
|
-
}
|
1243
|
+
this._showDescription(selectedElement.value);
|
1141
1244
|
|
1142
1245
|
if (!selectedElement.highlightable) {
|
1143
1246
|
return;
|
@@ -1165,6 +1268,98 @@ class ColumnSelectionDialog extends BasicElement {
|
|
1165
1268
|
this.requestUpdate();
|
1166
1269
|
}
|
1167
1270
|
|
1271
|
+
/**
|
1272
|
+
* @private
|
1273
|
+
* @param {object} e - event object
|
1274
|
+
*/
|
1275
|
+
_handleInfoIconClicked(e) {
|
1276
|
+
var targetElem = e.currentTarget;
|
1277
|
+
var divItem = targetElem.parentNode;
|
1278
|
+
var treeItem = divItem.parentNode;
|
1279
|
+
var value = treeItem.item.value;
|
1280
|
+
this._showDescription(value);
|
1281
|
+
e.stopPropagation();
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
/**
|
1285
|
+
* @private
|
1286
|
+
* @param {object} e - event object
|
1287
|
+
*/
|
1288
|
+
_handleInfoIconMouseover(e) {
|
1289
|
+
var targetElem = e.currentTarget;
|
1290
|
+
var divItem = targetElem.parentNode;
|
1291
|
+
var treeItem = divItem.parentNode;
|
1292
|
+
if(treeItem.highlighted) {
|
1293
|
+
treeItem.classList.add("bg-highligted");
|
1294
|
+
}
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
/**
|
1298
|
+
* @private
|
1299
|
+
* @param {object} e - event object
|
1300
|
+
*/
|
1301
|
+
_handleInfoIconMouseout(e) {
|
1302
|
+
var targetElem = e.currentTarget;
|
1303
|
+
var divItem = targetElem.parentNode;
|
1304
|
+
var treeItem = divItem.parentNode;
|
1305
|
+
if(treeItem.highlighted) {
|
1306
|
+
treeItem.classList.remove("bg-highligted");
|
1307
|
+
}
|
1308
|
+
}
|
1309
|
+
|
1310
|
+
/**
|
1311
|
+
* @private
|
1312
|
+
* @param {string} value of mapping item for show description
|
1313
|
+
*/
|
1314
|
+
_showDescription(value) {
|
1315
|
+
if(!value) {
|
1316
|
+
return;
|
1317
|
+
}
|
1318
|
+
var rawValue = this._allItemMapping[value].rawValue; // restore rawValue for access initial value
|
1319
|
+
if (this._descriptionBox && this._initialColumnMap[rawValue]) {
|
1320
|
+
this._descriptionContainer.textContent = this._initialColumnMap[rawValue].description;
|
1321
|
+
}
|
1322
|
+
}
|
1323
|
+
|
1324
|
+
/**
|
1325
|
+
* @private
|
1326
|
+
* @param {object} item ef-tree-item element
|
1327
|
+
* @param {object} composer data collection composer for elf API wrapper
|
1328
|
+
* @param {object} element
|
1329
|
+
* @return {Object} custom renderer element
|
1330
|
+
*/
|
1331
|
+
_createTreeCustomRender(item, composer, element) {
|
1332
|
+
// Use default renderer to create/recycle element
|
1333
|
+
element = this._treeDefualtRenderer(item, composer, element);
|
1334
|
+
var isParent = composer.isItemParent(item);
|
1335
|
+
var rawValue = item.rawValue;
|
1336
|
+
if (!isParent && this._initialColumnMap[rawValue].description) {
|
1337
|
+
var treeLabel = element._treeLabel;
|
1338
|
+
if (!treeLabel) {
|
1339
|
+
var div = document.createElement("div");
|
1340
|
+
treeLabel = document.createElement("div");
|
1341
|
+
element._treeLabel = treeLabel;
|
1342
|
+
var iconEl = document.createElement("ef-icon");
|
1343
|
+
var divIcon = document.createElement("div");
|
1344
|
+
div.classList.add("item");
|
1345
|
+
treeLabel.classList.add("tree-label");
|
1346
|
+
iconEl.classList.add("info-icon");
|
1347
|
+
iconEl.icon = "info";
|
1348
|
+
divIcon.classList.add("div-icon");
|
1349
|
+
divIcon.appendChild(iconEl);
|
1350
|
+
divIcon.addEventListener("tap", this._handleInfoIconClicked );
|
1351
|
+
divIcon.addEventListener("mouseover", this._handleInfoIconMouseover);
|
1352
|
+
divIcon.addEventListener("mouseout", this._handleInfoIconMouseout);
|
1353
|
+
div.appendChild(treeLabel);
|
1354
|
+
div.appendChild(divIcon);
|
1355
|
+
element.appendChild(div);
|
1356
|
+
} else {
|
1357
|
+
treeLabel = element.querySelector(".tree-label");
|
1358
|
+
}
|
1359
|
+
treeLabel.textContent = item.label;
|
1360
|
+
}
|
1361
|
+
return element;
|
1362
|
+
}
|
1168
1363
|
|
1169
1364
|
/**
|
1170
1365
|
* update up and down button
|
@@ -1253,7 +1448,8 @@ class ColumnSelectionDialog extends BasicElement {
|
|
1253
1448
|
*/
|
1254
1449
|
_onConfirm(e) {
|
1255
1450
|
var visibleItems = this._visibleColumnList.map(item => {
|
1256
|
-
|
1451
|
+
var rawValue = this._allItemMapping[item.value].rawValue;
|
1452
|
+
return this._initialColumnMap[rawValue];
|
1257
1453
|
}); // Return only visible items
|
1258
1454
|
visibleItems = this._excludedLeftVisibleColumnList.concat(visibleItems).concat(this._excludedRightVisibleColumnList);
|
1259
1455
|
|
@@ -1376,8 +1572,15 @@ class ColumnSelectionDialog extends BasicElement {
|
|
1376
1572
|
if (c === 0) return;
|
1377
1573
|
for (var i = 0; i < c; i++) {
|
1378
1574
|
var item = items[i];
|
1575
|
+
if(item.isUnique) {
|
1576
|
+
continue;
|
1577
|
+
}
|
1379
1578
|
this._allItemMapping[item.value].selected = true;
|
1380
1579
|
var coralItem = _toCoralItem(item);
|
1580
|
+
var rawValue = this._allItemMapping[item.value].rawValue;
|
1581
|
+
if(this._allItemMapping[rawValue].isDuplicate && this._allItemMapping[item.value].strGroup) {
|
1582
|
+
coralItem.label = coralItem.label + ' (' + this._allItemMapping[item.value].strGroup + ')';
|
1583
|
+
}
|
1381
1584
|
coralItem.selected = true;
|
1382
1585
|
this._visibleColumnList.push(coralItem);
|
1383
1586
|
}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import "./imports/native-elements.js";
|
2
2
|
|
3
3
|
|
4
|
-
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(204,204,204,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #404040;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #404040}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #404040;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #1a1a1a;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#595959;border-radius:0;border:1px solid #1a1a1a}::-webkit-scrollbar-thumb:hover{background:#
|
4
|
+
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(204,204,204,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #404040;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #404040}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #404040;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #1a1a1a;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#595959;border-radius:0;border:1px solid #1a1a1a}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#1a1a1a}::-webkit-scrollbar-corner{background:#1a1a1a}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:end:increment{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:horizontal:start:decrement{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:end:increment{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}ef-item{min-height:28px}');
|
@@ -1,2 +1,2 @@
|
|
1
|
-
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(204,204,204,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #404040;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #404040}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #404040;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #1a1a1a;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#595959;border-radius:0;border:1px solid #1a1a1a}::-webkit-scrollbar-thumb:hover{background:#
|
1
|
+
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(204,204,204,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #404040;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #404040}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #404040;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #1a1a1a;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#595959;border-radius:0;border:1px solid #1a1a1a}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#1a1a1a}::-webkit-scrollbar-corner{background:#1a1a1a}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:end:increment{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:horizontal:start:decrement{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:end:increment{background-image:linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959),linear-gradient(#595959,#595959);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}ef-item{min-height:28px}');
|
2
2
|
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import "./imports/native-elements.js";
|
2
2
|
|
3
3
|
|
4
|
-
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(64,64,64,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #595959;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #595959}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #595959;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #f2f2f2;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#999;border-radius:0;border:1px solid #f2f2f2}::-webkit-scrollbar-thumb:hover{background:#
|
4
|
+
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(64,64,64,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #595959;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #595959}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #595959;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #f2f2f2;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#999;border-radius:0;border:1px solid #f2f2f2}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#f2f2f2}::-webkit-scrollbar-corner{background:#f2f2f2}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:end:increment{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:horizontal:start:decrement{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:end:increment{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}ef-item{min-height:28px}');
|
@@ -1,2 +1,2 @@
|
|
1
|
-
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(64,64,64,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #595959;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #595959}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #595959;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #f2f2f2;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#999;border-radius:0;border:1px solid #f2f2f2}::-webkit-scrollbar-thumb:hover{background:#
|
1
|
+
elf.customStyles.define('column-selection-dialog', ':host{background:#334bff;display:inline-block;height:0;width:0}:host *{margin:0}:host [hide]{display:none}:host div{box-sizing:border-box}:host ef-item.disabled{color:rgba(64,64,64,.5)}:host ef-item[focused] ef-checkbox{color:#fff}:host ef-item::part(center){white-space:normal}:host .title{line-height:14px}:host ef-dialog{width:501px;min-width:501px;height:auto}:host ef-tree{height:223px;width:100%}:host ef-tree-item{min-width:100%}:host .container{height:100%}:host .row{display:flex}:host .row+.row{margin-top:10px}:host .side{height:100%;width:50%;max-width:50%;display:inline-block;vertical-align:top;overflow:hidden;align-self:center;padding-left:5px;padding-right:5px}:host .side:first-child{padding-left:0}:host .side:last-child{padding-right:0}:host #listSection{height:251px}:host #allColumns{height:251px;overflow:hidden;border:1px solid #595959;display:flex;flex-direction:column}:host #visibleSide{display:flex;flex-direction:column}:host #visibleColumns{flex-grow:1;overflow-y:auto;border:1px solid #595959}:host #searchInput{width:100%}:host .no-results{pointer-events:none;text-align:center;margin-top:10px}:host #orderChangePanel{text-align:center;margin-top:10px}:host #orderChangePanel>*+*{margin-left:10px}:host #descriptionContainer{margin-top:10px;height:60px;overflow-y:auto;border:1px solid #595959;font-size:12px;line-height:18px;box-sizing:border-box;padding:3px 10px}:host #selectAllHeader{text-transform:none;cursor:pointer}:host #selectAllHeader #selectAllCheckbox{pointer-events:none}:host [slot=footer]{display:flex;justify-content:space-between}:host [slot=footer]>div{display:inline-flex;align-items:center;height:40px;padding-left:8px;padding-right:8px}:host [slot=footer]>div ef-button{text-transform:uppercase;margin-top:0;margin-bottom:0}:host [slot=footer]>div ef-button+ef-button{margin-left:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-button{background:0 0/1px 2px no-repeat #f2f2f2;height:16px;width:16px;display:block}::-webkit-scrollbar-thumb{background:#999;border-radius:0;border:1px solid #f2f2f2}::-webkit-scrollbar-thumb:hover{background:#1429bd}::-webkit-scrollbar-thumb:active{background:#0f1e8a}::-webkit-scrollbar-track{background:#f2f2f2}::-webkit-scrollbar-corner{background:#f2f2f2}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-button:horizontal{background-size:2px 1px}::-webkit-scrollbar-button:vertical:start:decrement{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 8px,5.5px 7px,4.5px 6px,3.5px 5px,2.5px 6px,1.5px 7px,.5px 8px}::-webkit-scrollbar-button:vertical:end:increment{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:vertical:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6.5px 6px,5.5px 7px,4.5px 8px,3.5px 9px,2.5px 8px,1.5px 7px,.5px 6px}::-webkit-scrollbar-button:horizontal:start:decrement{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:start:decrement:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:8px 6.5px,7px 5.5px,6px 4.5px,5px 3.5px,6px 2.5px,7px 1.5px,8px .5px}::-webkit-scrollbar-button:horizontal:end:increment{background-image:linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999),linear-gradient(#999,#999);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:hover{background-image:linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd),linear-gradient(#1429bd,#1429bd);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}::-webkit-scrollbar-button:horizontal:end:increment:active{background-image:linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a),linear-gradient(#0f1e8a,#0f1e8a);background-position:6px 6.5px,7px 5.5px,8px 4.5px,9px 3.5px,8px 2.5px,7px 1.5px,6px .5px}ef-item{min-height:28px}');
|
2
2
|
|