igniteui-webcomponents-grids 1.4.2 → 3.2.2
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/bundles/igniteui-webcomponents-grids.umd.js +16049 -15259
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BrowserExecutionContext.js +3 -1
- package/esm2015/lib/CanvasGridCellBase.js +6 -6
- package/esm2015/lib/CanvasSummaryCell.js +4 -4
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +31 -31
- package/esm2015/lib/ColumnChooserView_combined.js +10 -10
- package/esm2015/lib/ColumnFilterCondition_combined.js +5546 -4404
- package/esm2015/lib/ColumnGroupingView_combined.js +186 -168
- package/esm2015/lib/ColumnPinningView_combined.js +6 -6
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +13 -13
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +25 -25
- package/esm2015/lib/DataGridLocaleEn.js +1 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +294 -223
- package/esm2015/lib/DraggerView.js +8 -8
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +45 -26
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +8 -11
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +5 -5
- package/esm2015/lib/HorizontalPropertyEditorDataSource.js +2 -2
- package/esm2015/lib/{PropertyEditorDescriptionObjectCollection.js → IDataGridComponent.js} +5 -1
- package/esm2015/lib/IToolbarVisualModelExport.js +11 -0
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +314 -302
- package/esm2015/lib/MultiColumnComboVisualModelExport.js +2 -2
- package/esm2015/lib/PageChangedEventArgs.js +33 -0
- package/esm2015/lib/{PropertyEditorDataSource.js → PagedDataProvider.js} +1 -1
- package/{esm5/lib/PropertyEditorDataSource.js → esm2015/lib/Pager.js} +1 -1
- package/esm2015/lib/{PropertyEditorDescriptionObject.js → PagerDataSourceNotificationBridge.js} +1 -1
- package/{esm5/lib/PropertyEditorDescriptionObject.js → esm2015/lib/PagerGridDataSourceNotificationBridge.js} +1 -1
- package/esm2015/lib/PagerView.js +7 -0
- package/esm2015/lib/PagerVisualModelExport.js +82 -0
- package/esm2015/lib/PropertyEditorView_combined.js +145 -145
- package/esm2015/lib/TemplateCell.js +1 -1
- package/esm2015/lib/TemplateCellPresenter.js +1 -1
- package/esm2015/lib/TemplateHeader.js +2 -2
- package/esm2015/lib/{PropertyEditorPropertyDescriptionChangedEventArgs.js → ToolbarVisualModelExport.js} +9 -5
- package/esm2015/lib/VisualModelExport.js +77 -69
- package/esm2015/lib/igc-column-component.js +133 -113
- package/esm2015/lib/igc-column-grouping-component.js +33 -23
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-component.js +588 -413
- package/esm2015/lib/igc-data-grid-module.js +4 -0
- package/esm2015/lib/igc-data-grid-pager-component.js +368 -0
- package/esm2015/lib/{igc-property-editor-property-description-module.js → igc-data-grid-pager-module.js} +6 -6
- package/esm2015/lib/igc-data-grid-toolbar-component.js +94 -35
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-horizontal-property-editor-data-source.js +2 -2
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-multi-column-combo-box-component.js +146 -140
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-page-changed-event-args.js +46 -0
- package/esm2015/lib/igc-property-editor-component.js +7 -7
- package/esm2015/lib/igc-property-editor-module.js +1 -1
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/public_api.js +14 -20
- package/esm5/lib/BrowserExecutionContext.js +3 -1
- package/esm5/lib/CanvasGridCellBase.js +6 -6
- package/esm5/lib/CanvasSummaryCell.js +4 -4
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +31 -31
- package/esm5/lib/ColumnChooserView_combined.js +10 -10
- package/esm5/lib/ColumnFilterCondition_combined.js +5514 -4226
- package/esm5/lib/ColumnGroupingView_combined.js +188 -162
- package/esm5/lib/ColumnPinningView_combined.js +6 -6
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +13 -13
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +25 -25
- package/esm5/lib/DataGridLocaleEn.js +1 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +295 -220
- package/esm5/lib/DraggerView.js +8 -8
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +45 -26
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnPinOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +8 -11
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +5 -5
- package/esm5/lib/HorizontalPropertyEditorDataSource.js +2 -2
- package/{esm2015/lib/PropertyEditorPropertyDescription.js → esm5/lib/IDataGridComponent.js} +5 -1
- package/esm5/lib/IToolbarVisualModelExport.js +11 -0
- package/esm5/lib/MultiColumnComboBoxView_combined.js +297 -285
- package/esm5/lib/MultiColumnComboVisualModelExport.js +2 -2
- package/esm5/lib/PageChangedEventArgs.js +43 -0
- package/esm5/lib/PagedDataProvider.js +7 -0
- package/esm5/lib/Pager.js +7 -0
- package/esm5/lib/PagerDataSourceNotificationBridge.js +7 -0
- package/esm5/lib/PagerGridDataSourceNotificationBridge.js +7 -0
- package/esm5/lib/PagerView.js +7 -0
- package/esm5/lib/PagerVisualModelExport.js +84 -0
- package/esm5/lib/PropertyEditorView_combined.js +144 -144
- package/esm5/lib/TemplateCell.js +1 -1
- package/esm5/lib/TemplateCellPresenter.js +1 -1
- package/esm5/lib/TemplateHeader.js +2 -2
- package/esm5/lib/ToolbarVisualModelExport.js +24 -0
- package/esm5/lib/VisualModelExport.js +77 -69
- package/esm5/lib/igc-column-component.js +141 -113
- package/esm5/lib/igc-column-grouping-component.js +35 -21
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-component.js +636 -413
- package/esm5/lib/igc-data-grid-module.js +4 -0
- package/esm5/lib/igc-data-grid-pager-component.js +435 -0
- package/esm5/lib/igc-data-grid-pager-module.js +20 -0
- package/esm5/lib/igc-data-grid-toolbar-component.js +110 -35
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-horizontal-property-editor-data-source.js +2 -2
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-multi-column-combo-box-component.js +147 -141
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-page-changed-event-args.js +60 -0
- package/esm5/lib/igc-property-editor-component.js +7 -7
- package/esm5/lib/igc-property-editor-module.js +1 -1
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/public_api.js +14 -20
- package/fesm2015/igniteui-webcomponents-grids.js +17478 -16796
- package/fesm5/igniteui-webcomponents-grids.js +16939 -16142
- package/lib/ColumnFilterCondition_combined.d.ts +1025 -824
- package/lib/ColumnGroupingView_combined.d.ts +44 -41
- package/lib/DataGridLocaleEn.d.ts +1 -0
- package/lib/DataGridToolbarView_combined.d.ts +50 -41
- package/lib/GridColumnGroupOptionsView_combined.d.ts +1 -1
- package/lib/HorizontalPropertyEditorDataSource.d.ts +1 -1
- package/lib/IDataGridComponent.d.ts +12 -0
- package/lib/IToolbarVisualModelExport.d.ts +11 -0
- package/lib/MultiColumnComboBoxView_combined.d.ts +78 -76
- package/lib/PageChangedEventArgs.d.ts +11 -0
- package/lib/PagedDataProvider.d.ts +1 -0
- package/lib/Pager.d.ts +1 -0
- package/lib/PagerDataSourceNotificationBridge.d.ts +1 -0
- package/lib/PagerGridDataSourceNotificationBridge.d.ts +1 -0
- package/lib/PagerView.d.ts +1 -0
- package/lib/PagerVisualModelExport.d.ts +25 -0
- package/lib/PropertyEditorView_combined.d.ts +10 -10
- package/lib/ToolbarVisualModelExport.d.ts +9 -0
- package/lib/VisualModelExport.d.ts +21 -17
- package/lib/igc-column-component.d.ts +9 -1
- package/lib/igc-column-grouping-component.d.ts +8 -4
- package/lib/igc-data-grid-component.d.ts +56 -0
- package/lib/igc-data-grid-pager-component.d.ts +101 -0
- package/lib/igc-data-grid-pager-module.d.ts +3 -0
- package/lib/igc-data-grid-toolbar-component.d.ts +15 -0
- package/lib/igc-horizontal-property-editor-data-source.d.ts +2 -2
- package/lib/igc-multi-column-combo-box-component.d.ts +1 -0
- package/lib/igc-page-changed-event-args.d.ts +20 -0
- package/lib/igc-property-editor-component.d.ts +2 -2
- package/package.json +5 -5
- package/public_api.d.ts +14 -20
- package/esm2015/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +0 -16
- package/esm2015/lib/PropertyEditorPropertyDescriptionCollection.js +0 -7
- package/esm2015/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +0 -40
- package/esm2015/lib/PropertyEditorPropertyDescription_combined.js +0 -463
- package/esm2015/lib/PropertyEditorTreeTransformer.js +0 -207
- package/esm2015/lib/PropertyEditorValueType.js +0 -35
- package/esm2015/lib/igc-property-editor-data-source.js +0 -39
- package/esm2015/lib/igc-property-editor-description-object-collection.js +0 -48
- package/esm2015/lib/igc-property-editor-description-object.js +0 -70
- package/esm2015/lib/igc-property-editor-property-description-button-click-event-args.js +0 -24
- package/esm2015/lib/igc-property-editor-property-description-changed-event-args.js +0 -24
- package/esm2015/lib/igc-property-editor-property-description-collection.js +0 -48
- package/esm2015/lib/igc-property-editor-property-description-component.js +0 -372
- package/esm2015/lib/igc-property-editor-property-description-target-property-updating-event-args.js +0 -42
- package/esm5/lib/PropertyEditorDescriptionObjectCollection.js +0 -7
- package/esm5/lib/PropertyEditorPropertyDescription.js +0 -7
- package/esm5/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.js +0 -20
- package/esm5/lib/PropertyEditorPropertyDescriptionChangedEventArgs.js +0 -20
- package/esm5/lib/PropertyEditorPropertyDescriptionCollection.js +0 -7
- package/esm5/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.js +0 -54
- package/esm5/lib/PropertyEditorPropertyDescription_combined.js +0 -525
- package/esm5/lib/PropertyEditorTreeTransformer.js +0 -209
- package/esm5/lib/PropertyEditorValueType.js +0 -35
- package/esm5/lib/igc-property-editor-data-source.js +0 -53
- package/esm5/lib/igc-property-editor-description-object-collection.js +0 -53
- package/esm5/lib/igc-property-editor-description-object.js +0 -84
- package/esm5/lib/igc-property-editor-property-description-button-click-event-args.js +0 -30
- package/esm5/lib/igc-property-editor-property-description-changed-event-args.js +0 -30
- package/esm5/lib/igc-property-editor-property-description-collection.js +0 -53
- package/esm5/lib/igc-property-editor-property-description-component.js +0 -445
- package/esm5/lib/igc-property-editor-property-description-module.js +0 -20
- package/esm5/lib/igc-property-editor-property-description-target-property-updating-event-args.js +0 -60
- package/lib/PropertyEditorDataSource.d.ts +0 -1
- package/lib/PropertyEditorDescriptionObject.d.ts +0 -1
- package/lib/PropertyEditorDescriptionObjectCollection.d.ts +0 -1
- package/lib/PropertyEditorPropertyDescription.d.ts +0 -1
- package/lib/PropertyEditorPropertyDescriptionButtonClickEventArgs.d.ts +0 -7
- package/lib/PropertyEditorPropertyDescriptionChangedEventArgs.d.ts +0 -7
- package/lib/PropertyEditorPropertyDescriptionCollection.d.ts +0 -1
- package/lib/PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs.d.ts +0 -13
- package/lib/PropertyEditorPropertyDescription_combined.d.ts +0 -88
- package/lib/PropertyEditorTreeTransformer.d.ts +0 -17
- package/lib/PropertyEditorValueType.d.ts +0 -28
- package/lib/igc-property-editor-data-source.d.ts +0 -16
- package/lib/igc-property-editor-description-object-collection.d.ts +0 -8
- package/lib/igc-property-editor-description-object.d.ts +0 -17
- package/lib/igc-property-editor-property-description-button-click-event-args.d.ts +0 -12
- package/lib/igc-property-editor-property-description-changed-event-args.d.ts +0 -12
- package/lib/igc-property-editor-property-description-collection.d.ts +0 -8
- package/lib/igc-property-editor-property-description-component.d.ts +0 -65
- package/lib/igc-property-editor-property-description-module.d.ts +0 -3
- package/lib/igc-property-editor-property-description-target-property-updating-event-args.d.ts +0 -15
|
@@ -4,16 +4,19 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
import { Base, runOn, Delegate_$type, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine } from "igniteui-webcomponents-core";
|
|
7
|
+
import { Base, runOn, Delegate_$type, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, typeCast, delegateCombine } from "igniteui-webcomponents-core";
|
|
8
8
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
9
9
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
10
|
+
import { Thickness } from "igniteui-webcomponents-core";
|
|
10
11
|
import { XButton } from "igniteui-webcomponents-inputs";
|
|
11
12
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
12
13
|
import { ElevationHelper } from "igniteui-webcomponents-inputs";
|
|
13
14
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
15
|
+
import { IDataGridComponent_$type } from "./IDataGridComponent";
|
|
16
|
+
import { Grid } from "./Grid";
|
|
14
17
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
15
18
|
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
16
|
-
import {
|
|
19
|
+
import { ToolbarVisualModelExport } from "./ToolbarVisualModelExport";
|
|
17
20
|
/**
|
|
18
21
|
* @hidden
|
|
19
22
|
*/
|
|
@@ -48,15 +51,15 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
48
51
|
this.c.rootWrapper.setStyleProperty("justify-content", "space-between");
|
|
49
52
|
this.c.rootWrapper.setStyleProperty("align-items", "center");
|
|
50
53
|
this.c.rootWrapper.setStyleProperty("padding", "4px 16px 4px 16px");
|
|
51
|
-
if (this.a.
|
|
52
|
-
this.c.rootWrapper.setStyleProperty("background-color", this.a.
|
|
54
|
+
if (this.a.be != null) {
|
|
55
|
+
this.c.rootWrapper.setStyleProperty("background-color", this.a.be._fill);
|
|
53
56
|
}
|
|
54
|
-
this.
|
|
57
|
+
this.aa();
|
|
55
58
|
this.c.rootWrapper.setStyleProperty("border-style", "solid");
|
|
56
59
|
this.c.rootWrapper.setStyleProperty("box-sizing", "border-box");
|
|
57
60
|
this.c.rootWrapper.setStyleProperty("border-color", "rgba(0, 0, 0, 0.2)");
|
|
58
61
|
this.c.rootWrapper.setStyleProperty("border-radius", "3px 3px 0px 0px");
|
|
59
|
-
this.
|
|
62
|
+
this.ad();
|
|
60
63
|
this.k = this.c.rootWrapper.getChildAt(0);
|
|
61
64
|
this.y();
|
|
62
65
|
let d = this.c.rootWrapper.getChildAt(1);
|
|
@@ -64,9 +67,9 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
64
67
|
this.v();
|
|
65
68
|
this.x();
|
|
66
69
|
}
|
|
67
|
-
|
|
70
|
+
ad() {
|
|
68
71
|
if (this.c != null) {
|
|
69
|
-
switch (this.a.
|
|
72
|
+
switch (this.a.l) {
|
|
70
73
|
case 1:
|
|
71
74
|
this.c.rootWrapper.setStyleProperty("height", "52px");
|
|
72
75
|
break;
|
|
@@ -84,27 +87,30 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
84
87
|
}
|
|
85
88
|
z() {
|
|
86
89
|
if (this.c != null) {
|
|
87
|
-
if (this.a.
|
|
88
|
-
this.c.rootWrapper.setStyleProperty("background-color", this.a.
|
|
90
|
+
if (this.a.be != null) {
|
|
91
|
+
this.c.rootWrapper.setStyleProperty("background-color", this.a.be._fill);
|
|
89
92
|
}
|
|
90
93
|
}
|
|
91
94
|
}
|
|
95
|
+
aa() {
|
|
96
|
+
this.c.rootWrapper.setStyleProperty("border-width", this.a.bi.top + "px " + this.a.bi.right + "px " + this.a.bi.bottom + "px " + this.a.bi.left + "px");
|
|
97
|
+
}
|
|
92
98
|
y() {
|
|
93
|
-
if (this.k != null && this.a.
|
|
94
|
-
this.k.setText(this.a.
|
|
95
|
-
this.k.setStyleProperty("font", "16px
|
|
99
|
+
if (this.k != null && this.a.ar != null) {
|
|
100
|
+
this.k.setText(this.a.ar);
|
|
101
|
+
this.k.setStyleProperty("font", "16px Verdana");
|
|
96
102
|
}
|
|
97
|
-
this.ag();
|
|
98
103
|
this.ah();
|
|
104
|
+
this.ai();
|
|
99
105
|
}
|
|
100
|
-
|
|
101
|
-
if (this.k != null && this.a.
|
|
102
|
-
this.k.setStyleProperty("color", this.a.
|
|
106
|
+
ah() {
|
|
107
|
+
if (this.k != null && this.a.bg != null) {
|
|
108
|
+
this.k.setStyleProperty("color", this.a.bg._fill);
|
|
103
109
|
}
|
|
104
110
|
}
|
|
105
|
-
|
|
106
|
-
if (this.k != null && this.a.
|
|
107
|
-
this.k.setStyleProperty("font", this.a.
|
|
111
|
+
ai() {
|
|
112
|
+
if (this.k != null && this.a.n != null) {
|
|
113
|
+
this.k.setStyleProperty("font", this.a.n.fontString);
|
|
108
114
|
}
|
|
109
115
|
}
|
|
110
116
|
v() {
|
|
@@ -120,10 +126,10 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
120
126
|
b.setStyleProperty("height", "calc(100% - 16px)");
|
|
121
127
|
b.setStyleProperty("padding", "4px 16px 4px 16px");
|
|
122
128
|
b.setStyleProperty("box-sizing", "border-box");
|
|
123
|
-
if (this.a.
|
|
124
|
-
if (this.a.
|
|
129
|
+
if (this.a.q == true) {
|
|
130
|
+
if (this.a.g == null) {
|
|
125
131
|
this.d = this.c.createElement("div");
|
|
126
|
-
this.a.
|
|
132
|
+
this.a.a5(this.a, this.c, this.f, this.d, "Hiding");
|
|
127
133
|
this.f.listen("click", runOn(this, this.n));
|
|
128
134
|
}
|
|
129
135
|
else {
|
|
@@ -135,24 +141,24 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
135
141
|
}
|
|
136
142
|
}
|
|
137
143
|
}
|
|
138
|
-
|
|
144
|
+
ae() {
|
|
139
145
|
if (this.d != null) {
|
|
140
146
|
let a = this.d.getChildAt(1);
|
|
141
|
-
a.setText(this.a.
|
|
147
|
+
a.setText(this.a.s.toString());
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
|
-
|
|
150
|
+
ab() {
|
|
145
151
|
if (this.d != null) {
|
|
146
152
|
if (this.d.getChildCount() > 2) {
|
|
147
153
|
let a = this.d.getChildAt(2);
|
|
148
|
-
a.setText(this.a.
|
|
154
|
+
a.setText(this.a.ad.toString());
|
|
149
155
|
}
|
|
150
156
|
else {
|
|
151
157
|
let b = this.c.createElement("span");
|
|
152
158
|
b.setStyleProperty("display", "inline-block");
|
|
153
159
|
b.setStyleProperty("font-size", "14px");
|
|
154
160
|
b.setStyleProperty("font-weight", "600");
|
|
155
|
-
b.setText(this.a.
|
|
161
|
+
b.setText(this.a.ad);
|
|
156
162
|
this.d.append(b);
|
|
157
163
|
}
|
|
158
164
|
}
|
|
@@ -185,10 +191,10 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
185
191
|
b.setStyleProperty("height", "calc(100% - 16px)");
|
|
186
192
|
b.setStyleProperty("padding", "8px 16px 8px 16px");
|
|
187
193
|
b.setStyleProperty("box-sizing", "border-box");
|
|
188
|
-
if (this.a.
|
|
189
|
-
if (this.a.
|
|
194
|
+
if (this.a.r == true) {
|
|
195
|
+
if (this.a.h == null) {
|
|
190
196
|
this.i = this.c.createElement("div");
|
|
191
|
-
this.a.
|
|
197
|
+
this.a.a5(this.a, this.c, this.h, this.i, "Pinning");
|
|
192
198
|
this.h.listen("click", runOn(this, this.u));
|
|
193
199
|
}
|
|
194
200
|
else {
|
|
@@ -200,24 +206,24 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
200
206
|
}
|
|
201
207
|
}
|
|
202
208
|
}
|
|
203
|
-
|
|
209
|
+
af() {
|
|
204
210
|
if (this.i != null) {
|
|
205
211
|
let a = this.i.getChildAt(1);
|
|
206
|
-
a.setText(this.a.
|
|
212
|
+
a.setText(this.a.t.toString());
|
|
207
213
|
}
|
|
208
214
|
}
|
|
209
|
-
|
|
215
|
+
ag() {
|
|
210
216
|
if (this.i != null) {
|
|
211
217
|
if (this.i.getChildCount() > 2) {
|
|
212
218
|
let a = this.i.getChildAt(2);
|
|
213
|
-
a.setText(this.a.
|
|
219
|
+
a.setText(this.a.ai);
|
|
214
220
|
}
|
|
215
221
|
else {
|
|
216
222
|
let b = this.c.createElement("span");
|
|
217
223
|
b.setStyleProperty("display", "inline-block");
|
|
218
224
|
b.setStyleProperty("font-size", "14px");
|
|
219
225
|
b.setStyleProperty("font-weight", "600");
|
|
220
|
-
b.setText(this.a.
|
|
226
|
+
b.setText(this.a.ai);
|
|
221
227
|
this.i.append(b);
|
|
222
228
|
}
|
|
223
229
|
}
|
|
@@ -240,17 +246,17 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
240
246
|
w(a) {
|
|
241
247
|
let b = ElevationHelper.e(12, BrushUtil.g(66, 0, 0, 0), BrushUtil.g(30, 0, 0, 0), BrushUtil.g(20, 0, 0, 0), 1);
|
|
242
248
|
a.setStyleProperty("boxShadow", b);
|
|
243
|
-
a.setStyleProperty("background-color", this.a.
|
|
249
|
+
a.setStyleProperty("background-color", this.a.bf._fill);
|
|
244
250
|
a.setStyleProperty("position", "absolute");
|
|
245
251
|
a.setStyleProperty("z-index", "12000");
|
|
246
252
|
a.setStyleProperty("display", "none");
|
|
247
253
|
}
|
|
248
|
-
|
|
254
|
+
ac() {
|
|
249
255
|
if (this.j != null) {
|
|
250
|
-
this.j.setStyleProperty("background-color", this.a.
|
|
256
|
+
this.j.setStyleProperty("background-color", this.a.bf._fill);
|
|
251
257
|
}
|
|
252
258
|
if (this.e != null) {
|
|
253
|
-
this.e.setStyleProperty("background-color", this.a.
|
|
259
|
+
this.e.setStyleProperty("background-color", this.a.bf._fill);
|
|
254
260
|
}
|
|
255
261
|
}
|
|
256
262
|
t() {
|
|
@@ -276,12 +282,12 @@ export let DataGridToolbarView = /*@__PURE__*/ (() => {
|
|
|
276
282
|
a.stopPropagation();
|
|
277
283
|
}
|
|
278
284
|
q(a) {
|
|
279
|
-
if (BaseDOMEventProxy.
|
|
280
|
-
this.a.
|
|
285
|
+
if (BaseDOMEventProxy.c0(a) == 8) {
|
|
286
|
+
this.a.av();
|
|
281
287
|
}
|
|
282
288
|
}
|
|
283
289
|
r(a) {
|
|
284
|
-
this.a.
|
|
290
|
+
this.a.av();
|
|
285
291
|
}
|
|
286
292
|
o() {
|
|
287
293
|
}
|
|
@@ -299,27 +305,28 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
299
305
|
this.e = null;
|
|
300
306
|
this.c = null;
|
|
301
307
|
this.d = null;
|
|
302
|
-
this.r = 0;
|
|
303
308
|
this.s = 0;
|
|
304
|
-
this.
|
|
309
|
+
this.t = 0;
|
|
305
310
|
this.g = null;
|
|
311
|
+
this.h = null;
|
|
306
312
|
this.propertyChanged = null;
|
|
307
313
|
this.a = null;
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.n = false;
|
|
314
|
-
this.t = null;
|
|
315
|
-
this.u = null;
|
|
314
|
+
this.y = null;
|
|
315
|
+
this.m = null;
|
|
316
|
+
this.bd = BrushUtil.g(255, 24, 29, 31);
|
|
317
|
+
this.bb = BrushUtil.g(255, 248, 248, 248);
|
|
318
|
+
this.bc = BrushUtil.g(255, 248, 248, 248);
|
|
316
319
|
this.o = false;
|
|
320
|
+
this.u = null;
|
|
317
321
|
this.v = null;
|
|
322
|
+
this.p = false;
|
|
318
323
|
this.w = null;
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
324
|
+
this.x = null;
|
|
325
|
+
this.bh = new Thickness(1, 1, 1, 1, 0);
|
|
326
|
+
this.k = 2;
|
|
327
|
+
this.i = 1;
|
|
322
328
|
this.s = 0;
|
|
329
|
+
this.t = 0;
|
|
323
330
|
let a = new DataGridToolbarView();
|
|
324
331
|
a.a = this;
|
|
325
332
|
this.e = a;
|
|
@@ -332,16 +339,16 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
332
339
|
this.provideContainer(null, null, null);
|
|
333
340
|
if (this.b != null) {
|
|
334
341
|
let a = this.b;
|
|
335
|
-
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.
|
|
342
|
+
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
|
|
336
343
|
let b = this.b;
|
|
337
|
-
b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.
|
|
344
|
+
b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.ba));
|
|
338
345
|
}
|
|
339
346
|
}
|
|
340
347
|
provideContainer(a, b, c) {
|
|
341
348
|
this.c = b;
|
|
342
349
|
this.d = c;
|
|
343
|
-
this.
|
|
344
|
-
this.
|
|
350
|
+
this.a6();
|
|
351
|
+
this.a7();
|
|
345
352
|
this.e.p(a);
|
|
346
353
|
}
|
|
347
354
|
get b() {
|
|
@@ -351,77 +358,67 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
351
358
|
let b = this.a;
|
|
352
359
|
this.a = a;
|
|
353
360
|
if (b != this.a) {
|
|
354
|
-
this.
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
get ap() {
|
|
358
|
-
return this.x;
|
|
359
|
-
}
|
|
360
|
-
set ap(a) {
|
|
361
|
-
let b = this.x;
|
|
362
|
-
this.x = a;
|
|
363
|
-
if (b != this.x) {
|
|
364
|
-
this.ax("ToolbarTitle", b, this.x);
|
|
361
|
+
this.a0("TargetGrid", b, this.a);
|
|
365
362
|
}
|
|
366
363
|
}
|
|
367
|
-
get
|
|
368
|
-
return this.
|
|
364
|
+
get ar() {
|
|
365
|
+
return this.y;
|
|
369
366
|
}
|
|
370
|
-
set
|
|
371
|
-
let b = this.
|
|
372
|
-
this.
|
|
373
|
-
if (b != this.
|
|
374
|
-
this.
|
|
367
|
+
set ar(a) {
|
|
368
|
+
let b = this.y;
|
|
369
|
+
this.y = a;
|
|
370
|
+
if (b != this.y) {
|
|
371
|
+
this.a0("ToolbarTitle", b, this.y);
|
|
375
372
|
}
|
|
376
373
|
}
|
|
377
|
-
get
|
|
378
|
-
return this.
|
|
374
|
+
get n() {
|
|
375
|
+
return this.m;
|
|
379
376
|
}
|
|
380
|
-
set
|
|
381
|
-
let b = this.
|
|
382
|
-
this.
|
|
383
|
-
if (b != this.
|
|
384
|
-
this.
|
|
377
|
+
set n(a) {
|
|
378
|
+
let b = this.m;
|
|
379
|
+
this.m = a;
|
|
380
|
+
if (b != this.m) {
|
|
381
|
+
this.a0("ToolbarTitleStyle", b, this.m);
|
|
385
382
|
}
|
|
386
383
|
}
|
|
387
|
-
get
|
|
388
|
-
return this.
|
|
384
|
+
get bg() {
|
|
385
|
+
return this.bd;
|
|
389
386
|
}
|
|
390
|
-
set
|
|
391
|
-
let b = this.
|
|
392
|
-
this.
|
|
393
|
-
if (b != this.
|
|
394
|
-
this.
|
|
387
|
+
set bg(a) {
|
|
388
|
+
let b = this.bd;
|
|
389
|
+
this.bd = a;
|
|
390
|
+
if (b != this.bd) {
|
|
391
|
+
this.a0("ToolbarTitleColor", b, this.bd);
|
|
395
392
|
}
|
|
396
393
|
}
|
|
397
|
-
get
|
|
398
|
-
return this.
|
|
394
|
+
get be() {
|
|
395
|
+
return this.bb;
|
|
399
396
|
}
|
|
400
|
-
set
|
|
401
|
-
let b = this.
|
|
402
|
-
this.
|
|
403
|
-
if (b != this.
|
|
404
|
-
this.
|
|
397
|
+
set be(a) {
|
|
398
|
+
let b = this.bb;
|
|
399
|
+
this.bb = a;
|
|
400
|
+
if (b != this.bb) {
|
|
401
|
+
this.a0("BackgroundColor", b, this.bb);
|
|
405
402
|
}
|
|
406
403
|
}
|
|
407
|
-
get
|
|
408
|
-
return this.
|
|
404
|
+
get bf() {
|
|
405
|
+
return this.bc;
|
|
409
406
|
}
|
|
410
|
-
set
|
|
411
|
-
let b = this.
|
|
412
|
-
this.
|
|
413
|
-
if (b != this.
|
|
414
|
-
this.
|
|
407
|
+
set bf(a) {
|
|
408
|
+
let b = this.bc;
|
|
409
|
+
this.bc = a;
|
|
410
|
+
if (b != this.bc) {
|
|
411
|
+
this.a0("DialogBackgroundColor", b, this.bc);
|
|
415
412
|
}
|
|
416
413
|
}
|
|
417
|
-
get
|
|
418
|
-
return this.
|
|
414
|
+
get q() {
|
|
415
|
+
return this.o;
|
|
419
416
|
}
|
|
420
|
-
set
|
|
421
|
-
let b = this.
|
|
422
|
-
this.
|
|
423
|
-
if (b != this.
|
|
424
|
-
this.
|
|
417
|
+
set q(a) {
|
|
418
|
+
let b = this.o;
|
|
419
|
+
this.o = a;
|
|
420
|
+
if (b != this.o) {
|
|
421
|
+
this.a0("ColumnChooser", b, this.o);
|
|
425
422
|
}
|
|
426
423
|
}
|
|
427
424
|
get ad() {
|
|
@@ -431,27 +428,27 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
431
428
|
let b = this.u;
|
|
432
429
|
this.u = a;
|
|
433
430
|
if (b != this.u) {
|
|
434
|
-
this.
|
|
431
|
+
this.a0("ColumnChooserText", b, this.u);
|
|
435
432
|
}
|
|
436
433
|
}
|
|
437
|
-
get
|
|
438
|
-
return this.o;
|
|
439
|
-
}
|
|
440
|
-
set q(a) {
|
|
441
|
-
let b = this.o;
|
|
442
|
-
this.o = a;
|
|
443
|
-
if (b != this.o) {
|
|
444
|
-
this.ax("ColumnPinning", b, this.o);
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
get ag() {
|
|
434
|
+
get af() {
|
|
448
435
|
return this.v;
|
|
449
436
|
}
|
|
450
|
-
set
|
|
437
|
+
set af(a) {
|
|
451
438
|
let b = this.v;
|
|
452
439
|
this.v = a;
|
|
453
440
|
if (b != this.v) {
|
|
454
|
-
this.
|
|
441
|
+
this.a0("ColumnChooserTitle", b, this.v);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
get r() {
|
|
445
|
+
return this.p;
|
|
446
|
+
}
|
|
447
|
+
set r(a) {
|
|
448
|
+
let b = this.p;
|
|
449
|
+
this.p = a;
|
|
450
|
+
if (b != this.p) {
|
|
451
|
+
this.a0("ColumnPinning", b, this.p);
|
|
455
452
|
}
|
|
456
453
|
}
|
|
457
454
|
get ai() {
|
|
@@ -461,155 +458,203 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
461
458
|
let b = this.w;
|
|
462
459
|
this.w = a;
|
|
463
460
|
if (b != this.w) {
|
|
464
|
-
this.
|
|
461
|
+
this.a0("ColumnPinningText", b, this.w);
|
|
465
462
|
}
|
|
466
463
|
}
|
|
467
|
-
get
|
|
468
|
-
return this.
|
|
464
|
+
get ak() {
|
|
465
|
+
return this.x;
|
|
469
466
|
}
|
|
470
|
-
set
|
|
471
|
-
let b = this.
|
|
472
|
-
this.
|
|
473
|
-
if (b != this.
|
|
474
|
-
this.
|
|
467
|
+
set ak(a) {
|
|
468
|
+
let b = this.x;
|
|
469
|
+
this.x = a;
|
|
470
|
+
if (b != this.x) {
|
|
471
|
+
this.a0("ColumnPinningTitle", b, this.x);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
get bi() {
|
|
475
|
+
return this.bh;
|
|
476
|
+
}
|
|
477
|
+
set bi(a) {
|
|
478
|
+
let b = this.bh;
|
|
479
|
+
this.bh = a;
|
|
480
|
+
if (b != this.bh) {
|
|
481
|
+
this.a0("BorderWidth", b, this.bh);
|
|
475
482
|
}
|
|
476
483
|
}
|
|
477
|
-
get
|
|
478
|
-
return this.
|
|
484
|
+
get l() {
|
|
485
|
+
return this.k;
|
|
479
486
|
}
|
|
480
|
-
set
|
|
481
|
-
let b = this.
|
|
482
|
-
this.
|
|
483
|
-
if (b != this.
|
|
484
|
-
this.
|
|
487
|
+
set l(a) {
|
|
488
|
+
let b = this.k;
|
|
489
|
+
this.k = a;
|
|
490
|
+
if (b != this.k) {
|
|
491
|
+
this.a0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
|
|
485
492
|
}
|
|
486
493
|
}
|
|
487
|
-
|
|
494
|
+
get j() {
|
|
495
|
+
return this.i;
|
|
496
|
+
}
|
|
497
|
+
set j(a) {
|
|
498
|
+
let b = this.i;
|
|
499
|
+
this.i = a;
|
|
500
|
+
if (b != this.i) {
|
|
501
|
+
this.a0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
a0(a, b, c) {
|
|
488
505
|
if (this.propertyChanged != null) {
|
|
489
506
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
490
507
|
}
|
|
491
|
-
this.
|
|
508
|
+
this.a1(a, b, c);
|
|
492
509
|
}
|
|
493
|
-
|
|
510
|
+
a1(a, b, c) {
|
|
494
511
|
switch (a) {
|
|
495
512
|
case "TargetGrid":
|
|
496
|
-
this.
|
|
497
|
-
this.
|
|
498
|
-
this.
|
|
499
|
-
this.e.
|
|
513
|
+
this.a6();
|
|
514
|
+
this.a7();
|
|
515
|
+
this.a8(typeCast(Grid.$, b));
|
|
516
|
+
this.e.ad();
|
|
500
517
|
break;
|
|
501
518
|
case "ToolbarTitle":
|
|
502
519
|
this.e.y();
|
|
503
520
|
break;
|
|
504
521
|
case "ToolbarTitleStyle":
|
|
505
|
-
this.e.
|
|
522
|
+
this.e.ai();
|
|
506
523
|
break;
|
|
507
524
|
case "ToolbarTitleColor":
|
|
508
|
-
this.e.
|
|
525
|
+
this.e.ah();
|
|
509
526
|
break;
|
|
510
527
|
case "BackgroundColor":
|
|
511
528
|
this.e.z();
|
|
512
529
|
break;
|
|
513
530
|
case "DialogBackgroundColor":
|
|
514
|
-
this.e.
|
|
531
|
+
this.e.ac();
|
|
515
532
|
if (this.c != null) {
|
|
516
|
-
this.c.aq = this.
|
|
533
|
+
this.c.aq = this.bf;
|
|
517
534
|
}
|
|
518
535
|
if (this.d != null) {
|
|
519
|
-
this.d.an = this.
|
|
536
|
+
this.d.an = this.bf;
|
|
520
537
|
}
|
|
521
538
|
break;
|
|
522
539
|
case "ColumnChooser":
|
|
523
|
-
this.
|
|
540
|
+
this.a6();
|
|
524
541
|
this.e.v();
|
|
525
542
|
break;
|
|
526
543
|
case "ColumnChooserText":
|
|
527
|
-
this.e.
|
|
544
|
+
this.e.ab();
|
|
528
545
|
break;
|
|
529
546
|
case "ColumnChooserTitle":
|
|
530
547
|
if (this.c != null) {
|
|
531
|
-
this.c.v = this.
|
|
548
|
+
this.c.v = this.af;
|
|
532
549
|
}
|
|
533
550
|
break;
|
|
534
551
|
case "ColumnPinning":
|
|
535
|
-
this.
|
|
552
|
+
this.a7();
|
|
536
553
|
this.e.x();
|
|
537
554
|
break;
|
|
538
555
|
case "ColumnPinningText":
|
|
539
|
-
this.e.
|
|
556
|
+
this.e.ag();
|
|
540
557
|
break;
|
|
541
558
|
case "ColumnPinningTitle":
|
|
542
559
|
if (this.d != null) {
|
|
543
|
-
this.d.v = this.
|
|
560
|
+
this.d.v = this.ak;
|
|
544
561
|
}
|
|
545
562
|
break;
|
|
546
563
|
case "Density":
|
|
547
|
-
this.
|
|
564
|
+
this.a3();
|
|
548
565
|
break;
|
|
549
566
|
case "BaseTheme":
|
|
550
|
-
this.
|
|
567
|
+
this.a4();
|
|
568
|
+
break;
|
|
569
|
+
case "BorderWidth":
|
|
570
|
+
this.e.aa();
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
az(a, b) {
|
|
575
|
+
switch (b.propertyName) {
|
|
576
|
+
case "IsToolbarColumnChooserVisible":
|
|
577
|
+
this.q = this.b.jr;
|
|
578
|
+
break;
|
|
579
|
+
case "IsToolbarColumnPinningVisible":
|
|
580
|
+
this.r = this.b.js;
|
|
581
|
+
break;
|
|
582
|
+
case "ToolbarTitle":
|
|
583
|
+
this.ar = this.b.ss;
|
|
584
|
+
break;
|
|
585
|
+
case "ToolbarColumnChooserText":
|
|
586
|
+
this.ad = this.b.sk;
|
|
587
|
+
break;
|
|
588
|
+
case "ToolbarColumnChooserTitle":
|
|
589
|
+
this.af = this.b.sm;
|
|
590
|
+
break;
|
|
591
|
+
case "ToolbarColumnPinningText":
|
|
592
|
+
this.ai = this.b.so;
|
|
593
|
+
break;
|
|
594
|
+
case "ToolbarColumnPinningTitle":
|
|
595
|
+
this.ak = this.b.sq;
|
|
551
596
|
break;
|
|
552
597
|
}
|
|
553
598
|
}
|
|
554
|
-
|
|
599
|
+
a4() {
|
|
555
600
|
if (this.c != null) {
|
|
556
|
-
this.c.f = this.
|
|
601
|
+
this.c.f = this.j;
|
|
557
602
|
}
|
|
558
603
|
if (this.d != null) {
|
|
559
|
-
this.d.f = this.
|
|
560
|
-
}
|
|
561
|
-
if (this.f != null) {
|
|
562
|
-
this.f.i = this.i;
|
|
604
|
+
this.d.f = this.j;
|
|
563
605
|
}
|
|
564
606
|
if (this.g != null) {
|
|
565
|
-
this.g.i = this.
|
|
607
|
+
this.g.i = this.j;
|
|
608
|
+
}
|
|
609
|
+
if (this.h != null) {
|
|
610
|
+
this.h.i = this.j;
|
|
566
611
|
}
|
|
567
612
|
}
|
|
568
|
-
|
|
569
|
-
if (this.
|
|
613
|
+
a3() {
|
|
614
|
+
if (this.l == 0) {
|
|
570
615
|
if (this.b != null) {
|
|
571
|
-
this.
|
|
616
|
+
this.l = this.b.gd;
|
|
572
617
|
}
|
|
573
618
|
}
|
|
574
|
-
if (this.f != null) {
|
|
575
|
-
this.f.m = this.k;
|
|
576
|
-
}
|
|
577
619
|
if (this.g != null) {
|
|
578
|
-
this.g.m = this.
|
|
620
|
+
this.g.m = this.l;
|
|
621
|
+
}
|
|
622
|
+
if (this.h != null) {
|
|
623
|
+
this.h.m = this.l;
|
|
579
624
|
}
|
|
580
625
|
if (this.c != null) {
|
|
581
|
-
this.c.h = this.
|
|
626
|
+
this.c.h = this.l;
|
|
582
627
|
}
|
|
583
628
|
if (this.d != null) {
|
|
584
|
-
this.d.h = this.
|
|
629
|
+
this.d.h = this.l;
|
|
585
630
|
}
|
|
586
|
-
this.e.
|
|
631
|
+
this.e.ad();
|
|
587
632
|
}
|
|
588
|
-
|
|
633
|
+
a5(a, b, c, d, e) {
|
|
589
634
|
let f = new XButton();
|
|
590
635
|
let g = b.getSubRenderer(c);
|
|
591
636
|
f.provideContainer(g);
|
|
592
637
|
let h = g.getExternal(f, g.rootWrapper, g.getExternal(a, null, null));
|
|
593
|
-
f.i = this.
|
|
594
|
-
f.m = this.
|
|
638
|
+
f.i = this.j;
|
|
639
|
+
f.m = this.l;
|
|
595
640
|
let i = null;
|
|
596
641
|
let j = null;
|
|
597
642
|
let k = null;
|
|
598
643
|
switch (e) {
|
|
599
644
|
case "Hiding":
|
|
600
|
-
this.
|
|
601
|
-
i = DataGridToolbar.
|
|
602
|
-
j = this.
|
|
603
|
-
if (this.
|
|
604
|
-
k = this.
|
|
645
|
+
this.g = f;
|
|
646
|
+
i = DataGridToolbar.ao;
|
|
647
|
+
j = this.s.toString();
|
|
648
|
+
if (this.ad != null) {
|
|
649
|
+
k = this.ad;
|
|
605
650
|
}
|
|
606
651
|
break;
|
|
607
652
|
case "Pinning":
|
|
608
|
-
this.
|
|
609
|
-
i = DataGridToolbar.
|
|
610
|
-
j = this.
|
|
611
|
-
if (this.
|
|
612
|
-
k = this.
|
|
653
|
+
this.h = f;
|
|
654
|
+
i = DataGridToolbar.ap;
|
|
655
|
+
j = this.t.toString();
|
|
656
|
+
if (this.ai != null) {
|
|
657
|
+
k = this.ai;
|
|
613
658
|
}
|
|
614
659
|
break;
|
|
615
660
|
}
|
|
@@ -646,66 +691,92 @@ export let DataGridToolbar = /*@__PURE__*/ (() => {
|
|
|
646
691
|
}
|
|
647
692
|
f.appendButtonContent(d);
|
|
648
693
|
}
|
|
649
|
-
|
|
694
|
+
av() {
|
|
650
695
|
this.e.l();
|
|
651
696
|
}
|
|
652
|
-
|
|
653
|
-
if (this.
|
|
654
|
-
if (this.
|
|
655
|
-
this.c.v = this.
|
|
697
|
+
a6() {
|
|
698
|
+
if (this.q && this.c != null && this.b != null) {
|
|
699
|
+
if (this.af != null) {
|
|
700
|
+
this.c.v = this.af;
|
|
656
701
|
}
|
|
657
702
|
this.c.b = this.b;
|
|
658
|
-
this.c.f = this.
|
|
659
|
-
this.c.aq = this.
|
|
703
|
+
this.c.f = this.j;
|
|
704
|
+
this.c.aq = this.bf;
|
|
660
705
|
this.c.an(new Thickness(1, -16, 3, -16, 3));
|
|
661
706
|
}
|
|
662
707
|
}
|
|
663
|
-
|
|
664
|
-
if (this.
|
|
665
|
-
if (this.
|
|
666
|
-
this.d.v = this.
|
|
708
|
+
a7() {
|
|
709
|
+
if (this.r && this.d != null && this.b != null) {
|
|
710
|
+
if (this.ak != null) {
|
|
711
|
+
this.d.v = this.ak;
|
|
667
712
|
}
|
|
668
713
|
this.d.b = this.b;
|
|
669
|
-
this.d.f = this.
|
|
670
|
-
this.d.an = this.
|
|
714
|
+
this.d.f = this.j;
|
|
715
|
+
this.d.an = this.bf;
|
|
671
716
|
this.d.ak(new Thickness(1, -16, 3, -16, 3));
|
|
672
717
|
}
|
|
673
718
|
}
|
|
674
|
-
|
|
719
|
+
a8(a) {
|
|
720
|
+
if (a != null) {
|
|
721
|
+
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
|
|
722
|
+
a.columnPinnedChanged = delegateRemove(a.columnPinnedChanged, runOn(this, this.ba));
|
|
723
|
+
a.propertyChanged = delegateRemove(a.propertyChanged, runOn(this, this.az));
|
|
724
|
+
}
|
|
675
725
|
if (this.b != null) {
|
|
676
|
-
let a = this.b;
|
|
677
|
-
a.columnHiddenChanged = delegateCombine(a.columnHiddenChanged, runOn(this, this.a6));
|
|
678
726
|
let b = this.b;
|
|
679
|
-
b.
|
|
680
|
-
this.
|
|
727
|
+
b.columnHiddenChanged = delegateCombine(b.columnHiddenChanged, runOn(this, this.a9));
|
|
728
|
+
let c = this.b;
|
|
729
|
+
c.columnPinnedChanged = delegateCombine(c.columnPinnedChanged, runOn(this, this.ba));
|
|
730
|
+
let d = this.b;
|
|
731
|
+
d.propertyChanged = delegateCombine(d.propertyChanged, runOn(this, this.az));
|
|
732
|
+
this.ax();
|
|
733
|
+
if (this.b.toolbar != null) {
|
|
734
|
+
this.ar = this.b.ss;
|
|
735
|
+
this.q = this.b.jr;
|
|
736
|
+
this.ad = this.b.sk;
|
|
737
|
+
this.af = this.b.sm;
|
|
738
|
+
this.r = this.b.js;
|
|
739
|
+
this.ai = this.b.so;
|
|
740
|
+
this.ak = this.b.sq;
|
|
741
|
+
}
|
|
681
742
|
}
|
|
682
743
|
}
|
|
683
|
-
|
|
744
|
+
ax() {
|
|
684
745
|
if (this.b != null) {
|
|
685
746
|
let a = this.b.actualColumns.count;
|
|
686
|
-
this.r = 0;
|
|
687
747
|
this.s = 0;
|
|
748
|
+
this.t = 0;
|
|
688
749
|
for (let b = 0; b < a; b++) {
|
|
689
|
-
if (this.b.actualColumns._inner[b].
|
|
690
|
-
this.
|
|
750
|
+
if (this.b.actualColumns._inner[b].g6 == true) {
|
|
751
|
+
this.s++;
|
|
691
752
|
}
|
|
692
753
|
if (this.b.actualColumns._inner[b].f5 == 1) {
|
|
693
|
-
this.
|
|
754
|
+
this.t++;
|
|
694
755
|
}
|
|
695
756
|
}
|
|
696
757
|
}
|
|
697
|
-
this.e.ad();
|
|
698
758
|
this.e.ae();
|
|
759
|
+
this.e.af();
|
|
760
|
+
}
|
|
761
|
+
a9(a, b) {
|
|
762
|
+
this.ax();
|
|
763
|
+
}
|
|
764
|
+
ba(a, b) {
|
|
765
|
+
this.ax();
|
|
766
|
+
}
|
|
767
|
+
exportVisualModel() {
|
|
768
|
+
return this.f();
|
|
699
769
|
}
|
|
700
|
-
|
|
701
|
-
this.
|
|
770
|
+
exportSerializedVisualModel() {
|
|
771
|
+
let a = this.f();
|
|
772
|
+
return a.serialize();
|
|
702
773
|
}
|
|
703
|
-
|
|
704
|
-
|
|
774
|
+
f() {
|
|
775
|
+
return new ToolbarVisualModelExport();
|
|
705
776
|
}
|
|
706
777
|
}
|
|
707
|
-
DataGridToolbar.$t = /*@__PURE__*/ markType(DataGridToolbar, 'DataGridToolbar', Base.$, [INotifyPropertyChanged_$type]);
|
|
708
|
-
DataGridToolbar.
|
|
709
|
-
DataGridToolbar.
|
|
778
|
+
DataGridToolbar.$t = /*@__PURE__*/ markType(DataGridToolbar, 'DataGridToolbar', Base.$, [INotifyPropertyChanged_$type, IDataGridComponent_$type]);
|
|
779
|
+
DataGridToolbar.ao = "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z";
|
|
780
|
+
DataGridToolbar.ap = "M13.2,3.8l7.1,7.1l-2.8-0.1l-3.4,3.4l0.1,4.2l-3.5-3.5l-5.4,5.4l-1.4,0l0-1.4l5.4-5.4L5.7,9.8l4.2,0.1l3.4-3.4L13.2,3.8z";
|
|
710
781
|
return DataGridToolbar;
|
|
711
782
|
})();
|