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
|
@@ -5,16 +5,19 @@ 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
7
|
import * as tslib_1 from "tslib";
|
|
8
|
-
import { Base, runOn, Delegate_$type, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine } from "igniteui-webcomponents-core";
|
|
8
|
+
import { Base, runOn, Delegate_$type, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, typeCast, delegateCombine } from "igniteui-webcomponents-core";
|
|
9
9
|
import { List$1 } from "igniteui-webcomponents-core";
|
|
10
10
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
11
|
+
import { Thickness } from "igniteui-webcomponents-core";
|
|
11
12
|
import { XButton } from "igniteui-webcomponents-inputs";
|
|
12
13
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
13
14
|
import { ElevationHelper } from "igniteui-webcomponents-inputs";
|
|
14
15
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
16
|
+
import { IDataGridComponent_$type } from "./IDataGridComponent";
|
|
17
|
+
import { Grid } from "./Grid";
|
|
15
18
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
16
19
|
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
17
|
-
import {
|
|
20
|
+
import { ToolbarVisualModelExport } from "./ToolbarVisualModelExport";
|
|
18
21
|
/**
|
|
19
22
|
* @hidden
|
|
20
23
|
*/
|
|
@@ -50,15 +53,15 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
50
53
|
this.c.rootWrapper.setStyleProperty("justify-content", "space-between");
|
|
51
54
|
this.c.rootWrapper.setStyleProperty("align-items", "center");
|
|
52
55
|
this.c.rootWrapper.setStyleProperty("padding", "4px 16px 4px 16px");
|
|
53
|
-
if (this.a.
|
|
54
|
-
this.c.rootWrapper.setStyleProperty("background-color", this.a.
|
|
56
|
+
if (this.a.be != null) {
|
|
57
|
+
this.c.rootWrapper.setStyleProperty("background-color", this.a.be._fill);
|
|
55
58
|
}
|
|
56
|
-
this.
|
|
59
|
+
this.aa();
|
|
57
60
|
this.c.rootWrapper.setStyleProperty("border-style", "solid");
|
|
58
61
|
this.c.rootWrapper.setStyleProperty("box-sizing", "border-box");
|
|
59
62
|
this.c.rootWrapper.setStyleProperty("border-color", "rgba(0, 0, 0, 0.2)");
|
|
60
63
|
this.c.rootWrapper.setStyleProperty("border-radius", "3px 3px 0px 0px");
|
|
61
|
-
this.
|
|
64
|
+
this.ad();
|
|
62
65
|
this.k = this.c.rootWrapper.getChildAt(0);
|
|
63
66
|
this.y();
|
|
64
67
|
var d = this.c.rootWrapper.getChildAt(1);
|
|
@@ -66,9 +69,9 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
66
69
|
this.v();
|
|
67
70
|
this.x();
|
|
68
71
|
};
|
|
69
|
-
DataGridToolbarView.prototype.
|
|
72
|
+
DataGridToolbarView.prototype.ad = function () {
|
|
70
73
|
if (this.c != null) {
|
|
71
|
-
switch (this.a.
|
|
74
|
+
switch (this.a.l) {
|
|
72
75
|
case 1:
|
|
73
76
|
this.c.rootWrapper.setStyleProperty("height", "52px");
|
|
74
77
|
break;
|
|
@@ -86,27 +89,30 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86
89
|
};
|
|
87
90
|
DataGridToolbarView.prototype.z = function () {
|
|
88
91
|
if (this.c != null) {
|
|
89
|
-
if (this.a.
|
|
90
|
-
this.c.rootWrapper.setStyleProperty("background-color", this.a.
|
|
92
|
+
if (this.a.be != null) {
|
|
93
|
+
this.c.rootWrapper.setStyleProperty("background-color", this.a.be._fill);
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
96
|
};
|
|
97
|
+
DataGridToolbarView.prototype.aa = function () {
|
|
98
|
+
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");
|
|
99
|
+
};
|
|
94
100
|
DataGridToolbarView.prototype.y = function () {
|
|
95
|
-
if (this.k != null && this.a.
|
|
96
|
-
this.k.setText(this.a.
|
|
97
|
-
this.k.setStyleProperty("font", "16px
|
|
101
|
+
if (this.k != null && this.a.ar != null) {
|
|
102
|
+
this.k.setText(this.a.ar);
|
|
103
|
+
this.k.setStyleProperty("font", "16px Verdana");
|
|
98
104
|
}
|
|
99
|
-
this.ag();
|
|
100
105
|
this.ah();
|
|
106
|
+
this.ai();
|
|
101
107
|
};
|
|
102
|
-
DataGridToolbarView.prototype.
|
|
103
|
-
if (this.k != null && this.a.
|
|
104
|
-
this.k.setStyleProperty("color", this.a.
|
|
108
|
+
DataGridToolbarView.prototype.ah = function () {
|
|
109
|
+
if (this.k != null && this.a.bg != null) {
|
|
110
|
+
this.k.setStyleProperty("color", this.a.bg._fill);
|
|
105
111
|
}
|
|
106
112
|
};
|
|
107
|
-
DataGridToolbarView.prototype.
|
|
108
|
-
if (this.k != null && this.a.
|
|
109
|
-
this.k.setStyleProperty("font", this.a.
|
|
113
|
+
DataGridToolbarView.prototype.ai = function () {
|
|
114
|
+
if (this.k != null && this.a.n != null) {
|
|
115
|
+
this.k.setStyleProperty("font", this.a.n.fontString);
|
|
110
116
|
}
|
|
111
117
|
};
|
|
112
118
|
DataGridToolbarView.prototype.v = function () {
|
|
@@ -122,10 +128,10 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
122
128
|
b.setStyleProperty("height", "calc(100% - 16px)");
|
|
123
129
|
b.setStyleProperty("padding", "4px 16px 4px 16px");
|
|
124
130
|
b.setStyleProperty("box-sizing", "border-box");
|
|
125
|
-
if (this.a.
|
|
126
|
-
if (this.a.
|
|
131
|
+
if (this.a.q == true) {
|
|
132
|
+
if (this.a.g == null) {
|
|
127
133
|
this.d = this.c.createElement("div");
|
|
128
|
-
this.a.
|
|
134
|
+
this.a.a5(this.a, this.c, this.f, this.d, "Hiding");
|
|
129
135
|
this.f.listen("click", runOn(this, this.n));
|
|
130
136
|
}
|
|
131
137
|
else {
|
|
@@ -137,24 +143,24 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
137
143
|
}
|
|
138
144
|
}
|
|
139
145
|
};
|
|
140
|
-
DataGridToolbarView.prototype.
|
|
146
|
+
DataGridToolbarView.prototype.ae = function () {
|
|
141
147
|
if (this.d != null) {
|
|
142
148
|
var a = this.d.getChildAt(1);
|
|
143
|
-
a.setText(this.a.
|
|
149
|
+
a.setText(this.a.s.toString());
|
|
144
150
|
}
|
|
145
151
|
};
|
|
146
|
-
DataGridToolbarView.prototype.
|
|
152
|
+
DataGridToolbarView.prototype.ab = function () {
|
|
147
153
|
if (this.d != null) {
|
|
148
154
|
if (this.d.getChildCount() > 2) {
|
|
149
155
|
var a = this.d.getChildAt(2);
|
|
150
|
-
a.setText(this.a.
|
|
156
|
+
a.setText(this.a.ad.toString());
|
|
151
157
|
}
|
|
152
158
|
else {
|
|
153
159
|
var b = this.c.createElement("span");
|
|
154
160
|
b.setStyleProperty("display", "inline-block");
|
|
155
161
|
b.setStyleProperty("font-size", "14px");
|
|
156
162
|
b.setStyleProperty("font-weight", "600");
|
|
157
|
-
b.setText(this.a.
|
|
163
|
+
b.setText(this.a.ad);
|
|
158
164
|
this.d.append(b);
|
|
159
165
|
}
|
|
160
166
|
}
|
|
@@ -187,10 +193,10 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
187
193
|
b.setStyleProperty("height", "calc(100% - 16px)");
|
|
188
194
|
b.setStyleProperty("padding", "8px 16px 8px 16px");
|
|
189
195
|
b.setStyleProperty("box-sizing", "border-box");
|
|
190
|
-
if (this.a.
|
|
191
|
-
if (this.a.
|
|
196
|
+
if (this.a.r == true) {
|
|
197
|
+
if (this.a.h == null) {
|
|
192
198
|
this.i = this.c.createElement("div");
|
|
193
|
-
this.a.
|
|
199
|
+
this.a.a5(this.a, this.c, this.h, this.i, "Pinning");
|
|
194
200
|
this.h.listen("click", runOn(this, this.u));
|
|
195
201
|
}
|
|
196
202
|
else {
|
|
@@ -202,24 +208,24 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
202
208
|
}
|
|
203
209
|
}
|
|
204
210
|
};
|
|
205
|
-
DataGridToolbarView.prototype.
|
|
211
|
+
DataGridToolbarView.prototype.af = function () {
|
|
206
212
|
if (this.i != null) {
|
|
207
213
|
var a = this.i.getChildAt(1);
|
|
208
|
-
a.setText(this.a.
|
|
214
|
+
a.setText(this.a.t.toString());
|
|
209
215
|
}
|
|
210
216
|
};
|
|
211
|
-
DataGridToolbarView.prototype.
|
|
217
|
+
DataGridToolbarView.prototype.ag = function () {
|
|
212
218
|
if (this.i != null) {
|
|
213
219
|
if (this.i.getChildCount() > 2) {
|
|
214
220
|
var a = this.i.getChildAt(2);
|
|
215
|
-
a.setText(this.a.
|
|
221
|
+
a.setText(this.a.ai);
|
|
216
222
|
}
|
|
217
223
|
else {
|
|
218
224
|
var b = this.c.createElement("span");
|
|
219
225
|
b.setStyleProperty("display", "inline-block");
|
|
220
226
|
b.setStyleProperty("font-size", "14px");
|
|
221
227
|
b.setStyleProperty("font-weight", "600");
|
|
222
|
-
b.setText(this.a.
|
|
228
|
+
b.setText(this.a.ai);
|
|
223
229
|
this.i.append(b);
|
|
224
230
|
}
|
|
225
231
|
}
|
|
@@ -242,17 +248,17 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
242
248
|
DataGridToolbarView.prototype.w = function (a) {
|
|
243
249
|
var b = ElevationHelper.e(12, BrushUtil.g(66, 0, 0, 0), BrushUtil.g(30, 0, 0, 0), BrushUtil.g(20, 0, 0, 0), 1);
|
|
244
250
|
a.setStyleProperty("boxShadow", b);
|
|
245
|
-
a.setStyleProperty("background-color", this.a.
|
|
251
|
+
a.setStyleProperty("background-color", this.a.bf._fill);
|
|
246
252
|
a.setStyleProperty("position", "absolute");
|
|
247
253
|
a.setStyleProperty("z-index", "12000");
|
|
248
254
|
a.setStyleProperty("display", "none");
|
|
249
255
|
};
|
|
250
|
-
DataGridToolbarView.prototype.
|
|
256
|
+
DataGridToolbarView.prototype.ac = function () {
|
|
251
257
|
if (this.j != null) {
|
|
252
|
-
this.j.setStyleProperty("background-color", this.a.
|
|
258
|
+
this.j.setStyleProperty("background-color", this.a.bf._fill);
|
|
253
259
|
}
|
|
254
260
|
if (this.e != null) {
|
|
255
|
-
this.e.setStyleProperty("background-color", this.a.
|
|
261
|
+
this.e.setStyleProperty("background-color", this.a.bf._fill);
|
|
256
262
|
}
|
|
257
263
|
};
|
|
258
264
|
DataGridToolbarView.prototype.t = function () {
|
|
@@ -278,12 +284,12 @@ var DataGridToolbarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
278
284
|
a.stopPropagation();
|
|
279
285
|
};
|
|
280
286
|
DataGridToolbarView.prototype.q = function (a) {
|
|
281
|
-
if (BaseDOMEventProxy.
|
|
282
|
-
this.a.
|
|
287
|
+
if (BaseDOMEventProxy.c0(a) == 8) {
|
|
288
|
+
this.a.av();
|
|
283
289
|
}
|
|
284
290
|
};
|
|
285
291
|
DataGridToolbarView.prototype.r = function (a) {
|
|
286
|
-
this.a.
|
|
292
|
+
this.a.av();
|
|
287
293
|
};
|
|
288
294
|
DataGridToolbarView.prototype.o = function () {
|
|
289
295
|
};
|
|
@@ -301,27 +307,28 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
301
307
|
_this.e = null;
|
|
302
308
|
_this.c = null;
|
|
303
309
|
_this.d = null;
|
|
304
|
-
_this.r = 0;
|
|
305
310
|
_this.s = 0;
|
|
306
|
-
_this.
|
|
311
|
+
_this.t = 0;
|
|
307
312
|
_this.g = null;
|
|
313
|
+
_this.h = null;
|
|
308
314
|
_this.propertyChanged = null;
|
|
309
315
|
_this.a = null;
|
|
310
|
-
_this.
|
|
311
|
-
_this.
|
|
312
|
-
_this.
|
|
313
|
-
_this.
|
|
314
|
-
_this.
|
|
315
|
-
_this.n = false;
|
|
316
|
-
_this.t = null;
|
|
317
|
-
_this.u = null;
|
|
316
|
+
_this.y = null;
|
|
317
|
+
_this.m = null;
|
|
318
|
+
_this.bd = BrushUtil.g(255, 24, 29, 31);
|
|
319
|
+
_this.bb = BrushUtil.g(255, 248, 248, 248);
|
|
320
|
+
_this.bc = BrushUtil.g(255, 248, 248, 248);
|
|
318
321
|
_this.o = false;
|
|
322
|
+
_this.u = null;
|
|
319
323
|
_this.v = null;
|
|
324
|
+
_this.p = false;
|
|
320
325
|
_this.w = null;
|
|
321
|
-
_this.
|
|
322
|
-
_this.
|
|
323
|
-
_this.
|
|
326
|
+
_this.x = null;
|
|
327
|
+
_this.bh = new Thickness(1, 1, 1, 1, 0);
|
|
328
|
+
_this.k = 2;
|
|
329
|
+
_this.i = 1;
|
|
324
330
|
_this.s = 0;
|
|
331
|
+
_this.t = 0;
|
|
325
332
|
var a = new DataGridToolbarView();
|
|
326
333
|
a.a = _this;
|
|
327
334
|
_this.e = a;
|
|
@@ -335,16 +342,16 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
335
342
|
this.provideContainer(null, null, null);
|
|
336
343
|
if (this.b != null) {
|
|
337
344
|
var a = this.b;
|
|
338
|
-
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.
|
|
345
|
+
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
|
|
339
346
|
var b = this.b;
|
|
340
|
-
b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.
|
|
347
|
+
b.columnPinnedChanged = delegateRemove(b.columnPinnedChanged, runOn(this, this.ba));
|
|
341
348
|
}
|
|
342
349
|
};
|
|
343
350
|
DataGridToolbar.prototype.provideContainer = function (a, b, c) {
|
|
344
351
|
this.c = b;
|
|
345
352
|
this.d = c;
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
353
|
+
this.a6();
|
|
354
|
+
this.a7();
|
|
348
355
|
this.e.p(a);
|
|
349
356
|
};
|
|
350
357
|
Object.defineProperty(DataGridToolbar.prototype, "b", {
|
|
@@ -355,105 +362,91 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
355
362
|
var b = this.a;
|
|
356
363
|
this.a = a;
|
|
357
364
|
if (b != this.a) {
|
|
358
|
-
this.
|
|
365
|
+
this.a0("TargetGrid", b, this.a);
|
|
359
366
|
}
|
|
360
367
|
},
|
|
361
368
|
enumerable: true,
|
|
362
369
|
configurable: true
|
|
363
370
|
});
|
|
364
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
371
|
+
Object.defineProperty(DataGridToolbar.prototype, "ar", {
|
|
365
372
|
get: function () {
|
|
366
|
-
return this.
|
|
373
|
+
return this.y;
|
|
367
374
|
},
|
|
368
375
|
set: function (a) {
|
|
369
|
-
var b = this.
|
|
370
|
-
this.
|
|
371
|
-
if (b != this.
|
|
372
|
-
this.
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
enumerable: true,
|
|
376
|
-
configurable: true
|
|
377
|
-
});
|
|
378
|
-
Object.defineProperty(DataGridToolbar.prototype, "m", {
|
|
379
|
-
get: function () {
|
|
380
|
-
return this.l;
|
|
381
|
-
},
|
|
382
|
-
set: function (a) {
|
|
383
|
-
var b = this.l;
|
|
384
|
-
this.l = a;
|
|
385
|
-
if (b != this.l) {
|
|
386
|
-
this.ax("ToolbarTitleStyle", b, this.l);
|
|
376
|
+
var b = this.y;
|
|
377
|
+
this.y = a;
|
|
378
|
+
if (b != this.y) {
|
|
379
|
+
this.a0("ToolbarTitle", b, this.y);
|
|
387
380
|
}
|
|
388
381
|
},
|
|
389
382
|
enumerable: true,
|
|
390
383
|
configurable: true
|
|
391
384
|
});
|
|
392
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
385
|
+
Object.defineProperty(DataGridToolbar.prototype, "n", {
|
|
393
386
|
get: function () {
|
|
394
|
-
return this.
|
|
387
|
+
return this.m;
|
|
395
388
|
},
|
|
396
389
|
set: function (a) {
|
|
397
|
-
var b = this.
|
|
398
|
-
this.
|
|
399
|
-
if (b != this.
|
|
400
|
-
this.
|
|
390
|
+
var b = this.m;
|
|
391
|
+
this.m = a;
|
|
392
|
+
if (b != this.m) {
|
|
393
|
+
this.a0("ToolbarTitleStyle", b, this.m);
|
|
401
394
|
}
|
|
402
395
|
},
|
|
403
396
|
enumerable: true,
|
|
404
397
|
configurable: true
|
|
405
398
|
});
|
|
406
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
399
|
+
Object.defineProperty(DataGridToolbar.prototype, "bg", {
|
|
407
400
|
get: function () {
|
|
408
|
-
return this.
|
|
401
|
+
return this.bd;
|
|
409
402
|
},
|
|
410
403
|
set: function (a) {
|
|
411
|
-
var b = this.
|
|
412
|
-
this.
|
|
413
|
-
if (b != this.
|
|
414
|
-
this.
|
|
404
|
+
var b = this.bd;
|
|
405
|
+
this.bd = a;
|
|
406
|
+
if (b != this.bd) {
|
|
407
|
+
this.a0("ToolbarTitleColor", b, this.bd);
|
|
415
408
|
}
|
|
416
409
|
},
|
|
417
410
|
enumerable: true,
|
|
418
411
|
configurable: true
|
|
419
412
|
});
|
|
420
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
413
|
+
Object.defineProperty(DataGridToolbar.prototype, "be", {
|
|
421
414
|
get: function () {
|
|
422
|
-
return this.
|
|
415
|
+
return this.bb;
|
|
423
416
|
},
|
|
424
417
|
set: function (a) {
|
|
425
|
-
var b = this.
|
|
426
|
-
this.
|
|
427
|
-
if (b != this.
|
|
428
|
-
this.
|
|
418
|
+
var b = this.bb;
|
|
419
|
+
this.bb = a;
|
|
420
|
+
if (b != this.bb) {
|
|
421
|
+
this.a0("BackgroundColor", b, this.bb);
|
|
429
422
|
}
|
|
430
423
|
},
|
|
431
424
|
enumerable: true,
|
|
432
425
|
configurable: true
|
|
433
426
|
});
|
|
434
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
427
|
+
Object.defineProperty(DataGridToolbar.prototype, "bf", {
|
|
435
428
|
get: function () {
|
|
436
|
-
return this.
|
|
429
|
+
return this.bc;
|
|
437
430
|
},
|
|
438
431
|
set: function (a) {
|
|
439
|
-
var b = this.
|
|
440
|
-
this.
|
|
441
|
-
if (b != this.
|
|
442
|
-
this.
|
|
432
|
+
var b = this.bc;
|
|
433
|
+
this.bc = a;
|
|
434
|
+
if (b != this.bc) {
|
|
435
|
+
this.a0("DialogBackgroundColor", b, this.bc);
|
|
443
436
|
}
|
|
444
437
|
},
|
|
445
438
|
enumerable: true,
|
|
446
439
|
configurable: true
|
|
447
440
|
});
|
|
448
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
441
|
+
Object.defineProperty(DataGridToolbar.prototype, "q", {
|
|
449
442
|
get: function () {
|
|
450
|
-
return this.
|
|
443
|
+
return this.o;
|
|
451
444
|
},
|
|
452
445
|
set: function (a) {
|
|
453
|
-
var b = this.
|
|
454
|
-
this.
|
|
455
|
-
if (b != this.
|
|
456
|
-
this.
|
|
446
|
+
var b = this.o;
|
|
447
|
+
this.o = a;
|
|
448
|
+
if (b != this.o) {
|
|
449
|
+
this.a0("ColumnChooser", b, this.o);
|
|
457
450
|
}
|
|
458
451
|
},
|
|
459
452
|
enumerable: true,
|
|
@@ -467,35 +460,35 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
467
460
|
var b = this.u;
|
|
468
461
|
this.u = a;
|
|
469
462
|
if (b != this.u) {
|
|
470
|
-
this.
|
|
463
|
+
this.a0("ColumnChooserText", b, this.u);
|
|
471
464
|
}
|
|
472
465
|
},
|
|
473
466
|
enumerable: true,
|
|
474
467
|
configurable: true
|
|
475
468
|
});
|
|
476
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
469
|
+
Object.defineProperty(DataGridToolbar.prototype, "af", {
|
|
477
470
|
get: function () {
|
|
478
|
-
return this.
|
|
471
|
+
return this.v;
|
|
479
472
|
},
|
|
480
473
|
set: function (a) {
|
|
481
|
-
var b = this.
|
|
482
|
-
this.
|
|
483
|
-
if (b != this.
|
|
484
|
-
this.
|
|
474
|
+
var b = this.v;
|
|
475
|
+
this.v = a;
|
|
476
|
+
if (b != this.v) {
|
|
477
|
+
this.a0("ColumnChooserTitle", b, this.v);
|
|
485
478
|
}
|
|
486
479
|
},
|
|
487
480
|
enumerable: true,
|
|
488
481
|
configurable: true
|
|
489
482
|
});
|
|
490
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
483
|
+
Object.defineProperty(DataGridToolbar.prototype, "r", {
|
|
491
484
|
get: function () {
|
|
492
|
-
return this.
|
|
485
|
+
return this.p;
|
|
493
486
|
},
|
|
494
487
|
set: function (a) {
|
|
495
|
-
var b = this.
|
|
496
|
-
this.
|
|
497
|
-
if (b != this.
|
|
498
|
-
this.
|
|
488
|
+
var b = this.p;
|
|
489
|
+
this.p = a;
|
|
490
|
+
if (b != this.p) {
|
|
491
|
+
this.a0("ColumnPinning", b, this.p);
|
|
499
492
|
}
|
|
500
493
|
},
|
|
501
494
|
enumerable: true,
|
|
@@ -509,166 +502,222 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
509
502
|
var b = this.w;
|
|
510
503
|
this.w = a;
|
|
511
504
|
if (b != this.w) {
|
|
512
|
-
this.
|
|
505
|
+
this.a0("ColumnPinningText", b, this.w);
|
|
513
506
|
}
|
|
514
507
|
},
|
|
515
508
|
enumerable: true,
|
|
516
509
|
configurable: true
|
|
517
510
|
});
|
|
518
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
511
|
+
Object.defineProperty(DataGridToolbar.prototype, "ak", {
|
|
519
512
|
get: function () {
|
|
520
|
-
return this.
|
|
513
|
+
return this.x;
|
|
521
514
|
},
|
|
522
515
|
set: function (a) {
|
|
523
|
-
var b = this.
|
|
524
|
-
this.
|
|
525
|
-
if (b != this.
|
|
526
|
-
this.
|
|
516
|
+
var b = this.x;
|
|
517
|
+
this.x = a;
|
|
518
|
+
if (b != this.x) {
|
|
519
|
+
this.a0("ColumnPinningTitle", b, this.x);
|
|
527
520
|
}
|
|
528
521
|
},
|
|
529
522
|
enumerable: true,
|
|
530
523
|
configurable: true
|
|
531
524
|
});
|
|
532
|
-
Object.defineProperty(DataGridToolbar.prototype, "
|
|
525
|
+
Object.defineProperty(DataGridToolbar.prototype, "bi", {
|
|
533
526
|
get: function () {
|
|
534
|
-
return this.
|
|
527
|
+
return this.bh;
|
|
535
528
|
},
|
|
536
529
|
set: function (a) {
|
|
537
|
-
var b = this.
|
|
538
|
-
this.
|
|
539
|
-
if (b != this.
|
|
540
|
-
this.
|
|
530
|
+
var b = this.bh;
|
|
531
|
+
this.bh = a;
|
|
532
|
+
if (b != this.bh) {
|
|
533
|
+
this.a0("BorderWidth", b, this.bh);
|
|
541
534
|
}
|
|
542
535
|
},
|
|
543
536
|
enumerable: true,
|
|
544
537
|
configurable: true
|
|
545
538
|
});
|
|
546
|
-
DataGridToolbar.prototype
|
|
539
|
+
Object.defineProperty(DataGridToolbar.prototype, "l", {
|
|
540
|
+
get: function () {
|
|
541
|
+
return this.k;
|
|
542
|
+
},
|
|
543
|
+
set: function (a) {
|
|
544
|
+
var b = this.k;
|
|
545
|
+
this.k = a;
|
|
546
|
+
if (b != this.k) {
|
|
547
|
+
this.a0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
enumerable: true,
|
|
551
|
+
configurable: true
|
|
552
|
+
});
|
|
553
|
+
Object.defineProperty(DataGridToolbar.prototype, "j", {
|
|
554
|
+
get: function () {
|
|
555
|
+
return this.i;
|
|
556
|
+
},
|
|
557
|
+
set: function (a) {
|
|
558
|
+
var b = this.i;
|
|
559
|
+
this.i = a;
|
|
560
|
+
if (b != this.i) {
|
|
561
|
+
this.a0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
enumerable: true,
|
|
565
|
+
configurable: true
|
|
566
|
+
});
|
|
567
|
+
DataGridToolbar.prototype.a0 = function (a, b, c) {
|
|
547
568
|
if (this.propertyChanged != null) {
|
|
548
569
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
549
570
|
}
|
|
550
|
-
this.
|
|
571
|
+
this.a1(a, b, c);
|
|
551
572
|
};
|
|
552
|
-
DataGridToolbar.prototype.
|
|
573
|
+
DataGridToolbar.prototype.a1 = function (a, b, c) {
|
|
553
574
|
switch (a) {
|
|
554
575
|
case "TargetGrid":
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.e.
|
|
576
|
+
this.a6();
|
|
577
|
+
this.a7();
|
|
578
|
+
this.a8(typeCast(Grid.$, b));
|
|
579
|
+
this.e.ad();
|
|
559
580
|
break;
|
|
560
581
|
case "ToolbarTitle":
|
|
561
582
|
this.e.y();
|
|
562
583
|
break;
|
|
563
584
|
case "ToolbarTitleStyle":
|
|
564
|
-
this.e.
|
|
585
|
+
this.e.ai();
|
|
565
586
|
break;
|
|
566
587
|
case "ToolbarTitleColor":
|
|
567
|
-
this.e.
|
|
588
|
+
this.e.ah();
|
|
568
589
|
break;
|
|
569
590
|
case "BackgroundColor":
|
|
570
591
|
this.e.z();
|
|
571
592
|
break;
|
|
572
593
|
case "DialogBackgroundColor":
|
|
573
|
-
this.e.
|
|
594
|
+
this.e.ac();
|
|
574
595
|
if (this.c != null) {
|
|
575
|
-
this.c.aq = this.
|
|
596
|
+
this.c.aq = this.bf;
|
|
576
597
|
}
|
|
577
598
|
if (this.d != null) {
|
|
578
|
-
this.d.an = this.
|
|
599
|
+
this.d.an = this.bf;
|
|
579
600
|
}
|
|
580
601
|
break;
|
|
581
602
|
case "ColumnChooser":
|
|
582
|
-
this.
|
|
603
|
+
this.a6();
|
|
583
604
|
this.e.v();
|
|
584
605
|
break;
|
|
585
606
|
case "ColumnChooserText":
|
|
586
|
-
this.e.
|
|
607
|
+
this.e.ab();
|
|
587
608
|
break;
|
|
588
609
|
case "ColumnChooserTitle":
|
|
589
610
|
if (this.c != null) {
|
|
590
|
-
this.c.v = this.
|
|
611
|
+
this.c.v = this.af;
|
|
591
612
|
}
|
|
592
613
|
break;
|
|
593
614
|
case "ColumnPinning":
|
|
594
|
-
this.
|
|
615
|
+
this.a7();
|
|
595
616
|
this.e.x();
|
|
596
617
|
break;
|
|
597
618
|
case "ColumnPinningText":
|
|
598
|
-
this.e.
|
|
619
|
+
this.e.ag();
|
|
599
620
|
break;
|
|
600
621
|
case "ColumnPinningTitle":
|
|
601
622
|
if (this.d != null) {
|
|
602
|
-
this.d.v = this.
|
|
623
|
+
this.d.v = this.ak;
|
|
603
624
|
}
|
|
604
625
|
break;
|
|
605
626
|
case "Density":
|
|
606
|
-
this.
|
|
627
|
+
this.a3();
|
|
607
628
|
break;
|
|
608
629
|
case "BaseTheme":
|
|
609
|
-
this.
|
|
630
|
+
this.a4();
|
|
631
|
+
break;
|
|
632
|
+
case "BorderWidth":
|
|
633
|
+
this.e.aa();
|
|
634
|
+
break;
|
|
635
|
+
}
|
|
636
|
+
};
|
|
637
|
+
DataGridToolbar.prototype.az = function (a, b) {
|
|
638
|
+
switch (b.propertyName) {
|
|
639
|
+
case "IsToolbarColumnChooserVisible":
|
|
640
|
+
this.q = this.b.jr;
|
|
641
|
+
break;
|
|
642
|
+
case "IsToolbarColumnPinningVisible":
|
|
643
|
+
this.r = this.b.js;
|
|
644
|
+
break;
|
|
645
|
+
case "ToolbarTitle":
|
|
646
|
+
this.ar = this.b.ss;
|
|
647
|
+
break;
|
|
648
|
+
case "ToolbarColumnChooserText":
|
|
649
|
+
this.ad = this.b.sk;
|
|
650
|
+
break;
|
|
651
|
+
case "ToolbarColumnChooserTitle":
|
|
652
|
+
this.af = this.b.sm;
|
|
653
|
+
break;
|
|
654
|
+
case "ToolbarColumnPinningText":
|
|
655
|
+
this.ai = this.b.so;
|
|
656
|
+
break;
|
|
657
|
+
case "ToolbarColumnPinningTitle":
|
|
658
|
+
this.ak = this.b.sq;
|
|
610
659
|
break;
|
|
611
660
|
}
|
|
612
661
|
};
|
|
613
|
-
DataGridToolbar.prototype.
|
|
662
|
+
DataGridToolbar.prototype.a4 = function () {
|
|
614
663
|
if (this.c != null) {
|
|
615
|
-
this.c.f = this.
|
|
664
|
+
this.c.f = this.j;
|
|
616
665
|
}
|
|
617
666
|
if (this.d != null) {
|
|
618
|
-
this.d.f = this.
|
|
619
|
-
}
|
|
620
|
-
if (this.f != null) {
|
|
621
|
-
this.f.i = this.i;
|
|
667
|
+
this.d.f = this.j;
|
|
622
668
|
}
|
|
623
669
|
if (this.g != null) {
|
|
624
|
-
this.g.i = this.
|
|
670
|
+
this.g.i = this.j;
|
|
671
|
+
}
|
|
672
|
+
if (this.h != null) {
|
|
673
|
+
this.h.i = this.j;
|
|
625
674
|
}
|
|
626
675
|
};
|
|
627
|
-
DataGridToolbar.prototype.
|
|
628
|
-
if (this.
|
|
676
|
+
DataGridToolbar.prototype.a3 = function () {
|
|
677
|
+
if (this.l == 0) {
|
|
629
678
|
if (this.b != null) {
|
|
630
|
-
this.
|
|
679
|
+
this.l = this.b.gd;
|
|
631
680
|
}
|
|
632
681
|
}
|
|
633
|
-
if (this.f != null) {
|
|
634
|
-
this.f.m = this.k;
|
|
635
|
-
}
|
|
636
682
|
if (this.g != null) {
|
|
637
|
-
this.g.m = this.
|
|
683
|
+
this.g.m = this.l;
|
|
684
|
+
}
|
|
685
|
+
if (this.h != null) {
|
|
686
|
+
this.h.m = this.l;
|
|
638
687
|
}
|
|
639
688
|
if (this.c != null) {
|
|
640
|
-
this.c.h = this.
|
|
689
|
+
this.c.h = this.l;
|
|
641
690
|
}
|
|
642
691
|
if (this.d != null) {
|
|
643
|
-
this.d.h = this.
|
|
692
|
+
this.d.h = this.l;
|
|
644
693
|
}
|
|
645
|
-
this.e.
|
|
694
|
+
this.e.ad();
|
|
646
695
|
};
|
|
647
|
-
DataGridToolbar.prototype.
|
|
696
|
+
DataGridToolbar.prototype.a5 = function (a, b, c, d, e) {
|
|
648
697
|
var f = new XButton();
|
|
649
698
|
var g = b.getSubRenderer(c);
|
|
650
699
|
f.provideContainer(g);
|
|
651
700
|
var h = g.getExternal(f, g.rootWrapper, g.getExternal(a, null, null));
|
|
652
|
-
f.i = this.
|
|
653
|
-
f.m = this.
|
|
701
|
+
f.i = this.j;
|
|
702
|
+
f.m = this.l;
|
|
654
703
|
var i = null;
|
|
655
704
|
var j = null;
|
|
656
705
|
var k = null;
|
|
657
706
|
switch (e) {
|
|
658
707
|
case "Hiding":
|
|
659
|
-
this.
|
|
660
|
-
i = DataGridToolbar.
|
|
661
|
-
j = this.
|
|
662
|
-
if (this.
|
|
663
|
-
k = this.
|
|
708
|
+
this.g = f;
|
|
709
|
+
i = DataGridToolbar.ao;
|
|
710
|
+
j = this.s.toString();
|
|
711
|
+
if (this.ad != null) {
|
|
712
|
+
k = this.ad;
|
|
664
713
|
}
|
|
665
714
|
break;
|
|
666
715
|
case "Pinning":
|
|
667
|
-
this.
|
|
668
|
-
i = DataGridToolbar.
|
|
669
|
-
j = this.
|
|
670
|
-
if (this.
|
|
671
|
-
k = this.
|
|
716
|
+
this.h = f;
|
|
717
|
+
i = DataGridToolbar.ap;
|
|
718
|
+
j = this.t.toString();
|
|
719
|
+
if (this.ai != null) {
|
|
720
|
+
k = this.ai;
|
|
672
721
|
}
|
|
673
722
|
break;
|
|
674
723
|
}
|
|
@@ -705,66 +754,92 @@ var DataGridToolbar = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
705
754
|
}
|
|
706
755
|
f.appendButtonContent(d);
|
|
707
756
|
};
|
|
708
|
-
DataGridToolbar.prototype.
|
|
757
|
+
DataGridToolbar.prototype.av = function () {
|
|
709
758
|
this.e.l();
|
|
710
759
|
};
|
|
711
|
-
DataGridToolbar.prototype.
|
|
712
|
-
if (this.
|
|
713
|
-
if (this.
|
|
714
|
-
this.c.v = this.
|
|
760
|
+
DataGridToolbar.prototype.a6 = function () {
|
|
761
|
+
if (this.q && this.c != null && this.b != null) {
|
|
762
|
+
if (this.af != null) {
|
|
763
|
+
this.c.v = this.af;
|
|
715
764
|
}
|
|
716
765
|
this.c.b = this.b;
|
|
717
|
-
this.c.f = this.
|
|
718
|
-
this.c.aq = this.
|
|
766
|
+
this.c.f = this.j;
|
|
767
|
+
this.c.aq = this.bf;
|
|
719
768
|
this.c.an(new Thickness(1, -16, 3, -16, 3));
|
|
720
769
|
}
|
|
721
770
|
};
|
|
722
|
-
DataGridToolbar.prototype.
|
|
723
|
-
if (this.
|
|
724
|
-
if (this.
|
|
725
|
-
this.d.v = this.
|
|
771
|
+
DataGridToolbar.prototype.a7 = function () {
|
|
772
|
+
if (this.r && this.d != null && this.b != null) {
|
|
773
|
+
if (this.ak != null) {
|
|
774
|
+
this.d.v = this.ak;
|
|
726
775
|
}
|
|
727
776
|
this.d.b = this.b;
|
|
728
|
-
this.d.f = this.
|
|
729
|
-
this.d.an = this.
|
|
777
|
+
this.d.f = this.j;
|
|
778
|
+
this.d.an = this.bf;
|
|
730
779
|
this.d.ak(new Thickness(1, -16, 3, -16, 3));
|
|
731
780
|
}
|
|
732
781
|
};
|
|
733
|
-
DataGridToolbar.prototype.
|
|
782
|
+
DataGridToolbar.prototype.a8 = function (a) {
|
|
783
|
+
if (a != null) {
|
|
784
|
+
a.columnHiddenChanged = delegateRemove(a.columnHiddenChanged, runOn(this, this.a9));
|
|
785
|
+
a.columnPinnedChanged = delegateRemove(a.columnPinnedChanged, runOn(this, this.ba));
|
|
786
|
+
a.propertyChanged = delegateRemove(a.propertyChanged, runOn(this, this.az));
|
|
787
|
+
}
|
|
734
788
|
if (this.b != null) {
|
|
735
|
-
var a = this.b;
|
|
736
|
-
a.columnHiddenChanged = delegateCombine(a.columnHiddenChanged, runOn(this, this.a6));
|
|
737
789
|
var b = this.b;
|
|
738
|
-
b.
|
|
739
|
-
this.
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
790
|
+
b.columnHiddenChanged = delegateCombine(b.columnHiddenChanged, runOn(this, this.a9));
|
|
791
|
+
var c = this.b;
|
|
792
|
+
c.columnPinnedChanged = delegateCombine(c.columnPinnedChanged, runOn(this, this.ba));
|
|
793
|
+
var d = this.b;
|
|
794
|
+
d.propertyChanged = delegateCombine(d.propertyChanged, runOn(this, this.az));
|
|
795
|
+
this.ax();
|
|
796
|
+
if (this.b.toolbar != null) {
|
|
797
|
+
this.ar = this.b.ss;
|
|
798
|
+
this.q = this.b.jr;
|
|
799
|
+
this.ad = this.b.sk;
|
|
800
|
+
this.af = this.b.sm;
|
|
801
|
+
this.r = this.b.js;
|
|
802
|
+
this.ai = this.b.so;
|
|
803
|
+
this.ak = this.b.sq;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
};
|
|
807
|
+
DataGridToolbar.prototype.ax = function () {
|
|
743
808
|
if (this.b != null) {
|
|
744
809
|
var a = this.b.actualColumns.count;
|
|
745
|
-
this.r = 0;
|
|
746
810
|
this.s = 0;
|
|
811
|
+
this.t = 0;
|
|
747
812
|
for (var b = 0; b < a; b++) {
|
|
748
|
-
if (this.b.actualColumns._inner[b].
|
|
749
|
-
this.
|
|
813
|
+
if (this.b.actualColumns._inner[b].g6 == true) {
|
|
814
|
+
this.s++;
|
|
750
815
|
}
|
|
751
816
|
if (this.b.actualColumns._inner[b].f5 == 1) {
|
|
752
|
-
this.
|
|
817
|
+
this.t++;
|
|
753
818
|
}
|
|
754
819
|
}
|
|
755
820
|
}
|
|
756
|
-
this.e.ad();
|
|
757
821
|
this.e.ae();
|
|
822
|
+
this.e.af();
|
|
823
|
+
};
|
|
824
|
+
DataGridToolbar.prototype.a9 = function (a, b) {
|
|
825
|
+
this.ax();
|
|
826
|
+
};
|
|
827
|
+
DataGridToolbar.prototype.ba = function (a, b) {
|
|
828
|
+
this.ax();
|
|
829
|
+
};
|
|
830
|
+
DataGridToolbar.prototype.exportVisualModel = function () {
|
|
831
|
+
return this.f();
|
|
758
832
|
};
|
|
759
|
-
DataGridToolbar.prototype.
|
|
760
|
-
this.
|
|
833
|
+
DataGridToolbar.prototype.exportSerializedVisualModel = function () {
|
|
834
|
+
var a = this.f();
|
|
835
|
+
return a.serialize();
|
|
761
836
|
};
|
|
762
|
-
DataGridToolbar.prototype.
|
|
763
|
-
|
|
837
|
+
DataGridToolbar.prototype.f = function () {
|
|
838
|
+
return new ToolbarVisualModelExport();
|
|
764
839
|
};
|
|
765
|
-
DataGridToolbar.$t = markType(DataGridToolbar, 'DataGridToolbar', Base.$, [INotifyPropertyChanged_$type]);
|
|
766
|
-
DataGridToolbar.
|
|
767
|
-
DataGridToolbar.
|
|
840
|
+
DataGridToolbar.$t = markType(DataGridToolbar, 'DataGridToolbar', Base.$, [INotifyPropertyChanged_$type, IDataGridComponent_$type]);
|
|
841
|
+
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";
|
|
842
|
+
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";
|
|
768
843
|
return DataGridToolbar;
|
|
769
844
|
}(Base));
|
|
770
845
|
export { DataGridToolbar };
|