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
|
@@ -48,7 +48,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
48
48
|
_this.m = null;
|
|
49
49
|
return _this;
|
|
50
50
|
}
|
|
51
|
-
ColumnGroupingView.prototype.
|
|
51
|
+
ColumnGroupingView.prototype.ai = function () {
|
|
52
52
|
};
|
|
53
53
|
Object.defineProperty(ColumnGroupingView.prototype, "o", {
|
|
54
54
|
get: function () {
|
|
@@ -59,12 +59,19 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(ColumnGroupingView.prototype, "u", {
|
|
61
61
|
get: function () {
|
|
62
|
-
return this.
|
|
62
|
+
return this.n.rootWrapper;
|
|
63
63
|
},
|
|
64
64
|
enumerable: true,
|
|
65
65
|
configurable: true
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(ColumnGroupingView.prototype, "v", {
|
|
68
|
+
get: function () {
|
|
69
|
+
return this.r;
|
|
70
|
+
},
|
|
71
|
+
enumerable: true,
|
|
72
|
+
configurable: true
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(ColumnGroupingView.prototype, "w", {
|
|
68
75
|
get: function () {
|
|
69
76
|
return this.t;
|
|
70
77
|
},
|
|
@@ -92,20 +99,20 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
92
99
|
enumerable: true,
|
|
93
100
|
configurable: true
|
|
94
101
|
});
|
|
95
|
-
ColumnGroupingView.prototype.
|
|
102
|
+
ColumnGroupingView.prototype.ah = function (a) {
|
|
96
103
|
if (a == null) {
|
|
97
104
|
this.n = null;
|
|
98
105
|
return;
|
|
99
106
|
}
|
|
100
107
|
this.n = a;
|
|
101
108
|
this.d = new CanvasGestureDOMEventProxy(this.o.rootWrapper, this.o, true);
|
|
102
|
-
this.d.
|
|
109
|
+
this.d.c8 = true;
|
|
103
110
|
var b = this.d;
|
|
104
|
-
b.onMouseDown = delegateCombine(b.onMouseDown, runOn(this, this.
|
|
111
|
+
b.onMouseDown = delegateCombine(b.onMouseDown, runOn(this, this.z));
|
|
105
112
|
var c = this.d;
|
|
106
|
-
c.onMouseOver = delegateCombine(c.onMouseOver, runOn(this, this.
|
|
113
|
+
c.onMouseOver = delegateCombine(c.onMouseOver, runOn(this, this.aa));
|
|
107
114
|
var d = this.d;
|
|
108
|
-
d.onMouseUp = delegateCombine(d.onMouseUp, runOn(this, this.
|
|
115
|
+
d.onMouseUp = delegateCombine(d.onMouseUp, runOn(this, this.ab));
|
|
109
116
|
this.n.rootWrapper.setStyleProperty("position", "relative");
|
|
110
117
|
this.n.rootWrapper.setStyleProperty("display", "flex");
|
|
111
118
|
this.n.rootWrapper.setStyleProperty("justify-content", "space-between");
|
|
@@ -121,9 +128,10 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
121
128
|
this.n.rootWrapper.setStyleProperty("box-sizing", "border-box");
|
|
122
129
|
this.n.rootWrapper.setStyleProperty("border-color", "rgba(0, 0, 0, 0.2)");
|
|
123
130
|
this.n.rootWrapper.setStyleProperty("border-radius", "3px 3px 0px 0px");
|
|
124
|
-
this.
|
|
131
|
+
this.n.rootWrapper.setStyleProperty("background-color", this.e.bh._fill);
|
|
132
|
+
this.y();
|
|
125
133
|
};
|
|
126
|
-
ColumnGroupingView.prototype.
|
|
134
|
+
ColumnGroupingView.prototype.an = function () {
|
|
127
135
|
if (this.n != null) {
|
|
128
136
|
if (this.e.o == true) {
|
|
129
137
|
this.n.rootWrapper.setStyleProperty("border-width", "0px 0px 1px 0px");
|
|
@@ -133,7 +141,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
133
141
|
}
|
|
134
142
|
}
|
|
135
143
|
};
|
|
136
|
-
ColumnGroupingView.prototype.
|
|
144
|
+
ColumnGroupingView.prototype.ao = function () {
|
|
137
145
|
if (this.n != null) {
|
|
138
146
|
switch (this.e.i) {
|
|
139
147
|
case 1:
|
|
@@ -155,25 +163,25 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
155
163
|
}
|
|
156
164
|
}
|
|
157
165
|
};
|
|
158
|
-
ColumnGroupingView.prototype.
|
|
166
|
+
ColumnGroupingView.prototype.y = function () {
|
|
159
167
|
if (this.n != null) {
|
|
160
168
|
this.r = this.n.rootWrapper.getChildAt(0);
|
|
161
169
|
this.r.setStyleProperty("width", "100%");
|
|
162
|
-
this.
|
|
170
|
+
this.ao();
|
|
163
171
|
this.r.setStyleProperty("display", "flex");
|
|
164
172
|
this.r.setStyleProperty("align-items", "center");
|
|
165
173
|
this.r.setStyleProperty("flex-direction", "row");
|
|
166
174
|
this.s = this.n.createElement("div");
|
|
167
|
-
this.e.
|
|
175
|
+
this.e.ar(this.s);
|
|
168
176
|
this.s.setStyleProperty("height", "18px");
|
|
169
177
|
this.s.setStyleProperty("width", "18px");
|
|
170
178
|
this.s.setStyleProperty("margin-right", "5px");
|
|
171
|
-
this.s.setStyleProperty("color", this.e.
|
|
179
|
+
this.s.setStyleProperty("color", this.e.bi.color.colorString);
|
|
172
180
|
this.r.append(this.s);
|
|
173
181
|
this.g.add(this.s);
|
|
174
182
|
this.t = this.n.createElement("span");
|
|
175
|
-
this.ap();
|
|
176
183
|
this.aq();
|
|
184
|
+
this.ar();
|
|
177
185
|
this.r.append(this.t);
|
|
178
186
|
var a = this.n.createElement("div");
|
|
179
187
|
a.setStyleProperty("display", "flex");
|
|
@@ -187,25 +195,25 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
187
195
|
this.p.setStyleProperty("padding-left", "10px");
|
|
188
196
|
this.p.setStyleProperty("display", "flex");
|
|
189
197
|
a.append(this.p);
|
|
190
|
-
this.
|
|
198
|
+
this.ac();
|
|
191
199
|
}
|
|
192
200
|
};
|
|
193
|
-
ColumnGroupingView.prototype.
|
|
201
|
+
ColumnGroupingView.prototype.ar = function () {
|
|
194
202
|
if (this.t != null) {
|
|
195
|
-
this.t.setText(this.e.
|
|
203
|
+
this.t.setText(this.e.al);
|
|
196
204
|
}
|
|
197
205
|
};
|
|
198
|
-
ColumnGroupingView.prototype.
|
|
206
|
+
ColumnGroupingView.prototype.aq = function () {
|
|
199
207
|
if (this.t != null) {
|
|
200
208
|
if (this.e.k != null) {
|
|
201
209
|
this.t.setStyleProperty("font", this.e.k.q);
|
|
202
210
|
}
|
|
203
211
|
else {
|
|
204
|
-
this.t.setStyleProperty("font", "14px
|
|
212
|
+
this.t.setStyleProperty("font", "14px Verdana");
|
|
205
213
|
}
|
|
206
214
|
}
|
|
207
215
|
};
|
|
208
|
-
ColumnGroupingView.prototype.
|
|
216
|
+
ColumnGroupingView.prototype.ap = function () {
|
|
209
217
|
if (this.p != null) {
|
|
210
218
|
var a = this.i.count;
|
|
211
219
|
for (var b = 0; b < a; b++) {
|
|
@@ -214,7 +222,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
214
222
|
}
|
|
215
223
|
}
|
|
216
224
|
};
|
|
217
|
-
ColumnGroupingView.prototype.
|
|
225
|
+
ColumnGroupingView.prototype.as = function () {
|
|
218
226
|
if (this.n != null) {
|
|
219
227
|
var groupAreaElement_ = this.n.rootWrapper.getNativeElement();
|
|
220
228
|
var a = (groupAreaElement_.getBoundingClientRect());
|
|
@@ -222,7 +230,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
222
230
|
}
|
|
223
231
|
return null;
|
|
224
232
|
};
|
|
225
|
-
ColumnGroupingView.prototype.
|
|
233
|
+
ColumnGroupingView.prototype.ac = function () {
|
|
226
234
|
if (this.n != null) {
|
|
227
235
|
if (this.e.targetGrid != null) {
|
|
228
236
|
if (this.r != null) {
|
|
@@ -235,7 +243,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
235
243
|
else {
|
|
236
244
|
this.t.show();
|
|
237
245
|
}
|
|
238
|
-
this.e.
|
|
246
|
+
this.e.ap();
|
|
239
247
|
this.i.clear();
|
|
240
248
|
this.g.clear();
|
|
241
249
|
this.h.clear();
|
|
@@ -250,25 +258,25 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
250
258
|
this.p.append(d);
|
|
251
259
|
d.setAttribute("data-field", "NextMarker");
|
|
252
260
|
var e = this.n.createElement("div");
|
|
253
|
-
e.listen("click", runOn(this, this.
|
|
254
|
-
this.e.
|
|
261
|
+
e.listen("click", runOn(this, this.x));
|
|
262
|
+
this.e.as(e);
|
|
255
263
|
e.setStyleProperty("height", "18px");
|
|
256
264
|
e.setStyleProperty("width", "18px");
|
|
257
|
-
e.setStyleProperty("color", this.e.
|
|
265
|
+
e.setStyleProperty("color", this.e.bi.color.colorString);
|
|
258
266
|
d.append(e);
|
|
259
267
|
this.g.add(e);
|
|
260
268
|
}
|
|
261
269
|
var f = this.n.createElement("li");
|
|
262
|
-
f.listen("mouseover", runOn(this, this.
|
|
263
|
-
f.listen("mouseout", runOn(this, this.
|
|
264
|
-
f.setStyleProperty("background-color", this.e.
|
|
270
|
+
f.listen("mouseover", runOn(this, this.ae));
|
|
271
|
+
f.listen("mouseout", runOn(this, this.ad));
|
|
272
|
+
f.setStyleProperty("background-color", this.e.bj.color.colorString);
|
|
265
273
|
f.setStyleProperty("border-radius", "3px 3px 3px 3px");
|
|
266
274
|
f.setStyleProperty("padding", "2px 5px 2px 5px");
|
|
267
275
|
f.setStyleProperty("margin", "2px");
|
|
268
276
|
f.setStyleProperty("height", "18px");
|
|
269
277
|
f.setStyleProperty("display", "flex");
|
|
270
278
|
f.setStyleProperty("align-items", "center");
|
|
271
|
-
f.listen("click", runOn(this, this.
|
|
279
|
+
f.listen("click", runOn(this, this.af));
|
|
272
280
|
this.p.append(f);
|
|
273
281
|
this.h.add(f);
|
|
274
282
|
f.setAttribute("data-field", a._inner[c].b.toString());
|
|
@@ -277,10 +285,10 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
277
285
|
g.setStyleProperty("font", this.e.k.q);
|
|
278
286
|
}
|
|
279
287
|
else {
|
|
280
|
-
g.setStyleProperty("font", "14px
|
|
288
|
+
g.setStyleProperty("font", "14px Verdana");
|
|
281
289
|
}
|
|
282
290
|
g.setStyleProperty("user-select", "none");
|
|
283
|
-
g.setStyleProperty("color", this.e.
|
|
291
|
+
g.setStyleProperty("color", this.e.bl.color.colorString);
|
|
284
292
|
g.setAttribute("data-field", a._inner[c].b.toString());
|
|
285
293
|
g.setText(a._inner[c].c.toString());
|
|
286
294
|
f.append(g);
|
|
@@ -290,18 +298,18 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
290
298
|
if (a._inner[c].a == 1) {
|
|
291
299
|
i = false;
|
|
292
300
|
}
|
|
293
|
-
this.e.
|
|
301
|
+
this.e.at(h, i);
|
|
294
302
|
h.setStyleProperty("height", "18px");
|
|
295
303
|
h.setStyleProperty("width", "18px");
|
|
296
|
-
h.setStyleProperty("color", this.e.
|
|
304
|
+
h.setStyleProperty("color", this.e.bi.color.colorString);
|
|
297
305
|
f.append(h);
|
|
298
306
|
this.g.add(h);
|
|
299
307
|
var j = this.n.createElement("div");
|
|
300
|
-
j.listen("click", runOn(this, this.
|
|
301
|
-
this.e.
|
|
308
|
+
j.listen("click", runOn(this, this.x));
|
|
309
|
+
this.e.aq(j);
|
|
302
310
|
j.setStyleProperty("height", "18px");
|
|
303
311
|
j.setStyleProperty("width", "18px");
|
|
304
|
-
j.setStyleProperty("color", this.e.
|
|
312
|
+
j.setStyleProperty("color", this.e.bi.color.colorString);
|
|
305
313
|
f.append(j);
|
|
306
314
|
this.g.add(j);
|
|
307
315
|
}
|
|
@@ -309,32 +317,32 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
309
317
|
}
|
|
310
318
|
}
|
|
311
319
|
};
|
|
312
|
-
ColumnGroupingView.prototype.
|
|
320
|
+
ColumnGroupingView.prototype.am = function (a, b) {
|
|
313
321
|
if (this.n != null) {
|
|
314
322
|
var c = this.n.getSubRenderer(b);
|
|
315
323
|
a.provideContainer(c);
|
|
316
324
|
}
|
|
317
325
|
};
|
|
318
|
-
ColumnGroupingView.prototype.
|
|
326
|
+
ColumnGroupingView.prototype.x = function (e_) {
|
|
319
327
|
var a = (e_.originalEvent.currentTarget);
|
|
320
328
|
var b = a.parentElement.getAttribute("data-field").toString();
|
|
321
|
-
this.e.
|
|
329
|
+
this.e.a1(b);
|
|
322
330
|
};
|
|
323
|
-
ColumnGroupingView.prototype.
|
|
331
|
+
ColumnGroupingView.prototype.af = function (e_) {
|
|
324
332
|
var a = (e_.originalEvent.currentTarget);
|
|
325
333
|
var b = a.getAttribute("data-field").toString();
|
|
326
|
-
this.e.
|
|
327
|
-
};
|
|
328
|
-
ColumnGroupingView.prototype.y = function (a) {
|
|
329
|
-
this.ai(a);
|
|
334
|
+
this.e.ao(b);
|
|
330
335
|
};
|
|
331
|
-
ColumnGroupingView.prototype.z = function (a
|
|
336
|
+
ColumnGroupingView.prototype.z = function (a) {
|
|
332
337
|
this.aj(a);
|
|
333
338
|
};
|
|
334
|
-
ColumnGroupingView.prototype.aa = function (a) {
|
|
339
|
+
ColumnGroupingView.prototype.aa = function (a, b, c) {
|
|
335
340
|
this.ak(a);
|
|
336
341
|
};
|
|
337
|
-
ColumnGroupingView.prototype.
|
|
342
|
+
ColumnGroupingView.prototype.ab = function (a) {
|
|
343
|
+
this.al(a);
|
|
344
|
+
};
|
|
345
|
+
ColumnGroupingView.prototype.aj = function (a) {
|
|
338
346
|
var b = this.h.count;
|
|
339
347
|
for (var c = 0; c < b; c++) {
|
|
340
348
|
var d = this.h._inner[c].getNativeElement();
|
|
@@ -350,7 +358,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
350
358
|
}
|
|
351
359
|
}
|
|
352
360
|
};
|
|
353
|
-
ColumnGroupingView.prototype.
|
|
361
|
+
ColumnGroupingView.prototype.ak = function (a) {
|
|
354
362
|
if (this.q != null && this.f == false) {
|
|
355
363
|
this.f = true;
|
|
356
364
|
this.q = this.q.clone();
|
|
@@ -361,7 +369,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
361
369
|
}
|
|
362
370
|
if (this.f == true) {
|
|
363
371
|
this.m.style.cursor = "grabbing";
|
|
364
|
-
var b = this.
|
|
372
|
+
var b = this.as();
|
|
365
373
|
var c = b.left - (NativeUI.i(this.q) / 2);
|
|
366
374
|
var d = b.top - (NativeUI.c(this.q) / 2);
|
|
367
375
|
var e = this.c();
|
|
@@ -371,9 +379,9 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
371
379
|
NativeUI.aa(this.q, a.y + d);
|
|
372
380
|
}
|
|
373
381
|
};
|
|
374
|
-
ColumnGroupingView.prototype.
|
|
382
|
+
ColumnGroupingView.prototype.al = function (a) {
|
|
375
383
|
if (this.f == true) {
|
|
376
|
-
var b = this.
|
|
384
|
+
var b = this.as();
|
|
377
385
|
var c = b.width;
|
|
378
386
|
var d = b.height;
|
|
379
387
|
if (a.x > 0 && a.x < c) {
|
|
@@ -416,7 +424,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
416
424
|
}
|
|
417
425
|
}
|
|
418
426
|
var n = this.m.getAttribute("data-field").toString();
|
|
419
|
-
this.e.
|
|
427
|
+
this.e.a2(n, e);
|
|
420
428
|
}
|
|
421
429
|
}
|
|
422
430
|
if (this.q != null) {
|
|
@@ -428,24 +436,24 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
428
436
|
}
|
|
429
437
|
this.q = null;
|
|
430
438
|
};
|
|
431
|
-
ColumnGroupingView.prototype.
|
|
439
|
+
ColumnGroupingView.prototype.ae = function (e_) {
|
|
432
440
|
var a = (e_.originalEvent.target);
|
|
433
441
|
var b = this.h.count;
|
|
434
442
|
for (var c = 0; c < b; c++) {
|
|
435
443
|
var d = this.h._inner[c].getNativeElement();
|
|
436
444
|
if (d.contains(a)) {
|
|
437
|
-
this.h._inner[c].setStyleProperty("background-color", this.e.
|
|
445
|
+
this.h._inner[c].setStyleProperty("background-color", this.e.bk.color.colorString);
|
|
438
446
|
break;
|
|
439
447
|
}
|
|
440
448
|
}
|
|
441
449
|
};
|
|
442
|
-
ColumnGroupingView.prototype.
|
|
450
|
+
ColumnGroupingView.prototype.ad = function (e_) {
|
|
443
451
|
var a = (e_.originalEvent.target);
|
|
444
452
|
var b = this.h.count;
|
|
445
453
|
for (var c = 0; c < b; c++) {
|
|
446
454
|
var d = this.h._inner[c].getNativeElement();
|
|
447
455
|
if (d.contains(a)) {
|
|
448
|
-
this.h._inner[c].setStyleProperty("background-color", this.e.
|
|
456
|
+
this.h._inner[c].setStyleProperty("background-color", this.e.bj.color.colorString);
|
|
449
457
|
break;
|
|
450
458
|
}
|
|
451
459
|
}
|
|
@@ -476,7 +484,7 @@ var ColumnGroupingView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
476
484
|
c[1] = b;
|
|
477
485
|
return c;
|
|
478
486
|
};
|
|
479
|
-
ColumnGroupingView.prototype.
|
|
487
|
+
ColumnGroupingView.prototype.ag = function () {
|
|
480
488
|
};
|
|
481
489
|
ColumnGroupingView.$t = markType(ColumnGroupingView, 'ColumnGroupingView');
|
|
482
490
|
return ColumnGroupingView;
|
|
@@ -503,39 +511,40 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
503
511
|
_this.f = 1;
|
|
504
512
|
_this.h = 2;
|
|
505
513
|
_this.w = "Drag a Column Here";
|
|
506
|
-
_this.
|
|
514
|
+
_this.bg = BrushUtil.g(158, 0, 0, 0);
|
|
507
515
|
_this.j = null;
|
|
508
|
-
_this.
|
|
516
|
+
_this.bf = BrushUtil.g(158, 0, 0, 0);
|
|
509
517
|
_this.bc = BrushUtil.g(158, 0, 0, 0);
|
|
510
|
-
_this.
|
|
511
|
-
_this.
|
|
518
|
+
_this.bd = BrushUtil.g(30, 0, 0, 0);
|
|
519
|
+
_this.be = BrushUtil.g(66, 0, 0, 0);
|
|
520
|
+
_this.bb = BrushUtil.g(255, 248, 248, 248);
|
|
512
521
|
_this.v = 0;
|
|
513
522
|
_this.n = false;
|
|
514
523
|
_this.q = new ObservableCollection$1(XIcon.$, 0);
|
|
515
524
|
var a = new ColumnGroupingView();
|
|
516
525
|
a.e = _this;
|
|
517
526
|
_this.d = a;
|
|
518
|
-
_this.d.
|
|
527
|
+
_this.d.ai();
|
|
519
528
|
return _this;
|
|
520
529
|
}
|
|
521
530
|
ColumnGrouping.prototype.notifySizeChanged = function () {
|
|
522
|
-
this.d.
|
|
531
|
+
this.d.ag();
|
|
523
532
|
};
|
|
524
533
|
ColumnGrouping.prototype.destroy = function () {
|
|
525
534
|
this.provideContainer(null);
|
|
526
535
|
if (this.targetGrid != null) {
|
|
527
536
|
var a = this.targetGrid;
|
|
528
|
-
a.groupDescriptionsChanged = delegateRemove(a.groupDescriptionsChanged, runOn(this, this.
|
|
537
|
+
a.groupDescriptionsChanged = delegateRemove(a.groupDescriptionsChanged, runOn(this, this.a7));
|
|
529
538
|
var b = this.targetGrid;
|
|
530
|
-
b.actualColumnsChanged = delegateRemove(b.actualColumnsChanged, runOn(this, this.
|
|
539
|
+
b.actualColumnsChanged = delegateRemove(b.actualColumnsChanged, runOn(this, this.a6));
|
|
531
540
|
var c = this.targetGrid.dragger;
|
|
532
|
-
c.onDrag = delegateRemove(c.onDrag, runOn(this, this.
|
|
541
|
+
c.onDrag = delegateRemove(c.onDrag, runOn(this, this.av));
|
|
533
542
|
var d = this.targetGrid.dragger;
|
|
534
|
-
d.onDragEnd = delegateRemove(d.onDragEnd, runOn(this, this.
|
|
543
|
+
d.onDragEnd = delegateRemove(d.onDragEnd, runOn(this, this.aw));
|
|
535
544
|
}
|
|
536
545
|
};
|
|
537
546
|
ColumnGrouping.prototype.provideContainer = function (a) {
|
|
538
|
-
this.d.
|
|
547
|
+
this.d.ah(a);
|
|
539
548
|
};
|
|
540
549
|
Object.defineProperty(ColumnGrouping.prototype, "m", {
|
|
541
550
|
get: function () {
|
|
@@ -556,7 +565,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
556
565
|
var b = this.b;
|
|
557
566
|
this.b = a;
|
|
558
567
|
if (b != this.b) {
|
|
559
|
-
this.
|
|
568
|
+
this.ay("TargetGrid", b, this.b);
|
|
560
569
|
}
|
|
561
570
|
},
|
|
562
571
|
enumerable: true,
|
|
@@ -570,7 +579,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
570
579
|
var b = this.f;
|
|
571
580
|
this.f = a;
|
|
572
581
|
if (b != this.f) {
|
|
573
|
-
this.
|
|
582
|
+
this.ay("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.f));
|
|
574
583
|
}
|
|
575
584
|
},
|
|
576
585
|
enumerable: true,
|
|
@@ -584,13 +593,13 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
584
593
|
var b = this.h;
|
|
585
594
|
this.h = a;
|
|
586
595
|
if (b != this.h) {
|
|
587
|
-
this.
|
|
596
|
+
this.ay("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.h));
|
|
588
597
|
}
|
|
589
598
|
},
|
|
590
599
|
enumerable: true,
|
|
591
600
|
configurable: true
|
|
592
601
|
});
|
|
593
|
-
Object.defineProperty(ColumnGrouping.prototype, "
|
|
602
|
+
Object.defineProperty(ColumnGrouping.prototype, "al", {
|
|
594
603
|
get: function () {
|
|
595
604
|
return this.w;
|
|
596
605
|
},
|
|
@@ -598,21 +607,21 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
598
607
|
var b = this.w;
|
|
599
608
|
this.w = a;
|
|
600
609
|
if (b != this.w) {
|
|
601
|
-
this.
|
|
610
|
+
this.ay("Title", b, this.w);
|
|
602
611
|
}
|
|
603
612
|
},
|
|
604
613
|
enumerable: true,
|
|
605
614
|
configurable: true
|
|
606
615
|
});
|
|
607
|
-
Object.defineProperty(ColumnGrouping.prototype, "
|
|
616
|
+
Object.defineProperty(ColumnGrouping.prototype, "bm", {
|
|
608
617
|
get: function () {
|
|
609
|
-
return this.
|
|
618
|
+
return this.bg;
|
|
610
619
|
},
|
|
611
620
|
set: function (a) {
|
|
612
|
-
var b = this.
|
|
613
|
-
this.
|
|
614
|
-
if (b != this.
|
|
615
|
-
this.
|
|
621
|
+
var b = this.bg;
|
|
622
|
+
this.bg = a;
|
|
623
|
+
if (b != this.bg) {
|
|
624
|
+
this.ay("TitleColor", b, this.bg);
|
|
616
625
|
}
|
|
617
626
|
},
|
|
618
627
|
enumerable: true,
|
|
@@ -626,27 +635,27 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
626
635
|
var b = this.j;
|
|
627
636
|
this.j = a;
|
|
628
637
|
if (b != this.j) {
|
|
629
|
-
this.
|
|
638
|
+
this.ay("TextStyle", b, this.j);
|
|
630
639
|
}
|
|
631
640
|
},
|
|
632
641
|
enumerable: true,
|
|
633
642
|
configurable: true
|
|
634
643
|
});
|
|
635
|
-
Object.defineProperty(ColumnGrouping.prototype, "
|
|
644
|
+
Object.defineProperty(ColumnGrouping.prototype, "bl", {
|
|
636
645
|
get: function () {
|
|
637
|
-
return this.
|
|
646
|
+
return this.bf;
|
|
638
647
|
},
|
|
639
648
|
set: function (a) {
|
|
640
|
-
var b = this.
|
|
641
|
-
this.
|
|
642
|
-
if (b != this.
|
|
643
|
-
this.
|
|
649
|
+
var b = this.bf;
|
|
650
|
+
this.bf = a;
|
|
651
|
+
if (b != this.bf) {
|
|
652
|
+
this.ay("TextColor", b, this.bf);
|
|
644
653
|
}
|
|
645
654
|
},
|
|
646
655
|
enumerable: true,
|
|
647
656
|
configurable: true
|
|
648
657
|
});
|
|
649
|
-
Object.defineProperty(ColumnGrouping.prototype, "
|
|
658
|
+
Object.defineProperty(ColumnGrouping.prototype, "bi", {
|
|
650
659
|
get: function () {
|
|
651
660
|
return this.bc;
|
|
652
661
|
},
|
|
@@ -654,27 +663,41 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
654
663
|
var b = this.bc;
|
|
655
664
|
this.bc = a;
|
|
656
665
|
if (b != this.bc) {
|
|
657
|
-
this.
|
|
666
|
+
this.ay("IconColor", b, this.bc);
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
enumerable: true,
|
|
670
|
+
configurable: true
|
|
671
|
+
});
|
|
672
|
+
Object.defineProperty(ColumnGrouping.prototype, "bj", {
|
|
673
|
+
get: function () {
|
|
674
|
+
return this.bd;
|
|
675
|
+
},
|
|
676
|
+
set: function (a) {
|
|
677
|
+
var b = this.bd;
|
|
678
|
+
this.bd = a;
|
|
679
|
+
if (b != this.bd) {
|
|
680
|
+
this.ay("ItemBackgroundColor", b, this.bd);
|
|
658
681
|
}
|
|
659
682
|
},
|
|
660
683
|
enumerable: true,
|
|
661
684
|
configurable: true
|
|
662
685
|
});
|
|
663
|
-
Object.defineProperty(ColumnGrouping.prototype, "
|
|
686
|
+
Object.defineProperty(ColumnGrouping.prototype, "bk", {
|
|
664
687
|
get: function () {
|
|
665
|
-
return this.
|
|
688
|
+
return this.be;
|
|
666
689
|
},
|
|
667
690
|
set: function (a) {
|
|
668
|
-
var b = this.
|
|
669
|
-
this.
|
|
670
|
-
if (b != this.
|
|
671
|
-
this.
|
|
691
|
+
var b = this.be;
|
|
692
|
+
this.be = a;
|
|
693
|
+
if (b != this.be) {
|
|
694
|
+
this.ay("ItemHoverBackgroundColor", b, this.be);
|
|
672
695
|
}
|
|
673
696
|
},
|
|
674
697
|
enumerable: true,
|
|
675
698
|
configurable: true
|
|
676
699
|
});
|
|
677
|
-
Object.defineProperty(ColumnGrouping.prototype, "
|
|
700
|
+
Object.defineProperty(ColumnGrouping.prototype, "bh", {
|
|
678
701
|
get: function () {
|
|
679
702
|
return this.bb;
|
|
680
703
|
},
|
|
@@ -682,101 +705,104 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
682
705
|
var b = this.bb;
|
|
683
706
|
this.bb = a;
|
|
684
707
|
if (b != this.bb) {
|
|
685
|
-
this.
|
|
708
|
+
this.ay("BackgroundColor", b, this.bb);
|
|
686
709
|
}
|
|
687
710
|
},
|
|
688
711
|
enumerable: true,
|
|
689
712
|
configurable: true
|
|
690
713
|
});
|
|
691
|
-
ColumnGrouping.prototype.
|
|
714
|
+
ColumnGrouping.prototype.ay = function (a, b, c) {
|
|
692
715
|
if (this.propertyChanged != null) {
|
|
693
716
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
694
717
|
}
|
|
695
|
-
this.
|
|
718
|
+
this.az(a, b, c);
|
|
696
719
|
};
|
|
697
|
-
ColumnGrouping.prototype.
|
|
720
|
+
ColumnGrouping.prototype.az = function (a, b, c) {
|
|
698
721
|
switch (a) {
|
|
699
722
|
case "TargetGrid":
|
|
700
|
-
this.
|
|
723
|
+
this.a5();
|
|
701
724
|
break;
|
|
702
725
|
case "BaseTheme":
|
|
703
|
-
this.
|
|
726
|
+
this.a4();
|
|
704
727
|
break;
|
|
705
728
|
case "Density":
|
|
706
|
-
this.
|
|
729
|
+
this.a3();
|
|
707
730
|
break;
|
|
708
731
|
case "Title":
|
|
709
|
-
this.
|
|
732
|
+
this.a9();
|
|
710
733
|
break;
|
|
711
734
|
case "TitleColor":
|
|
712
|
-
this.
|
|
735
|
+
this.ba();
|
|
713
736
|
break;
|
|
714
737
|
case "TextStyle":
|
|
715
|
-
this.d.ao();
|
|
716
738
|
this.d.ap();
|
|
739
|
+
this.d.aq();
|
|
717
740
|
break;
|
|
718
741
|
case "TextColor":
|
|
719
742
|
case "IconColor":
|
|
743
|
+
case "ItemBackgroundColor":
|
|
744
|
+
this.a8();
|
|
745
|
+
break;
|
|
746
|
+
case "ItemHoverBackgroundColor": break;
|
|
720
747
|
case "BackgroundColor":
|
|
721
|
-
this.
|
|
748
|
+
NativeUI.k(this.d.u, this.bh);
|
|
722
749
|
break;
|
|
723
|
-
case "HoverBackgroundColor": break;
|
|
724
750
|
}
|
|
725
751
|
};
|
|
726
|
-
ColumnGrouping.prototype.
|
|
752
|
+
ColumnGrouping.prototype.a4 = function () {
|
|
727
753
|
};
|
|
728
|
-
ColumnGrouping.prototype.
|
|
729
|
-
var a = this.d.
|
|
730
|
-
if (this.
|
|
731
|
-
NativeUI.o(a, this.
|
|
754
|
+
ColumnGrouping.prototype.ba = function () {
|
|
755
|
+
var a = this.d.w;
|
|
756
|
+
if (this.bm != null) {
|
|
757
|
+
NativeUI.o(a, this.bm);
|
|
732
758
|
}
|
|
733
759
|
};
|
|
734
|
-
ColumnGrouping.prototype.
|
|
735
|
-
if (stringIsNullOrWhiteSpace(this.
|
|
736
|
-
this.
|
|
760
|
+
ColumnGrouping.prototype.a9 = function () {
|
|
761
|
+
if (stringIsNullOrWhiteSpace(this.al)) {
|
|
762
|
+
this.al = !stringIsNullOrWhiteSpace(this.m.b1("Title")) ? this.m.b1("Title") : "Drag a Column Here";
|
|
737
763
|
}
|
|
738
|
-
this.d.
|
|
764
|
+
this.d.ar();
|
|
739
765
|
};
|
|
740
|
-
ColumnGrouping.prototype.
|
|
766
|
+
ColumnGrouping.prototype.a8 = function () {
|
|
741
767
|
var a = this.d.l;
|
|
742
768
|
var b = this.d.j;
|
|
743
769
|
var c = this.d.k;
|
|
744
770
|
for (var d = 0; d < a.count; d++) {
|
|
745
|
-
NativeUI.o(a._inner[d], this.
|
|
771
|
+
NativeUI.o(a._inner[d], this.bl);
|
|
746
772
|
}
|
|
747
773
|
for (var e = 0; e < b.count; e++) {
|
|
748
|
-
NativeUI.o(b._inner[e], this.
|
|
774
|
+
NativeUI.o(b._inner[e], this.bi);
|
|
749
775
|
}
|
|
750
776
|
for (var f = 0; f < c.count; f++) {
|
|
751
|
-
NativeUI.k(c._inner[f], this.
|
|
777
|
+
NativeUI.k(c._inner[f], this.bj);
|
|
752
778
|
}
|
|
753
779
|
};
|
|
754
|
-
ColumnGrouping.prototype.
|
|
780
|
+
ColumnGrouping.prototype.a3 = function () {
|
|
755
781
|
if (this.i == 0) {
|
|
756
782
|
if (this.targetGrid != null) {
|
|
757
|
-
this.i = this.targetGrid.
|
|
783
|
+
this.i = this.targetGrid.gd;
|
|
758
784
|
}
|
|
759
785
|
}
|
|
760
|
-
this.d.
|
|
786
|
+
this.d.ao();
|
|
761
787
|
};
|
|
762
|
-
ColumnGrouping.prototype.
|
|
788
|
+
ColumnGrouping.prototype.a5 = function () {
|
|
763
789
|
if (this.targetGrid != null) {
|
|
764
|
-
this.
|
|
790
|
+
this.a9();
|
|
765
791
|
if (this.targetGrid.isGroupByAreaVisible) {
|
|
766
792
|
this.o = true;
|
|
767
793
|
}
|
|
768
|
-
this.d.
|
|
794
|
+
this.d.an();
|
|
769
795
|
var a = this.targetGrid;
|
|
770
|
-
a.groupDescriptionsChanged = delegateCombine(a.groupDescriptionsChanged, runOn(this, this.
|
|
796
|
+
a.groupDescriptionsChanged = delegateCombine(a.groupDescriptionsChanged, runOn(this, this.a7));
|
|
771
797
|
var b = this.targetGrid;
|
|
772
|
-
b.actualColumnsChanged = delegateCombine(b.actualColumnsChanged, runOn(this, this.
|
|
798
|
+
b.actualColumnsChanged = delegateCombine(b.actualColumnsChanged, runOn(this, this.a6));
|
|
773
799
|
if (this.targetGrid.dragger != null) {
|
|
774
800
|
var c = this.targetGrid.dragger;
|
|
775
|
-
c.onDrag = delegateCombine(c.onDrag, runOn(this, this.
|
|
801
|
+
c.onDrag = delegateCombine(c.onDrag, runOn(this, this.av));
|
|
776
802
|
var d = this.targetGrid.dragger;
|
|
777
|
-
d.onDragEnd = delegateCombine(d.onDragEnd, runOn(this, this.
|
|
803
|
+
d.onDragEnd = delegateCombine(d.onDragEnd, runOn(this, this.aw));
|
|
778
804
|
}
|
|
779
|
-
this.d.
|
|
805
|
+
this.d.ac();
|
|
780
806
|
}
|
|
781
807
|
};
|
|
782
808
|
ColumnGrouping.prototype.p = function () {
|
|
@@ -786,10 +812,10 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
786
812
|
var c_1 = this.targetGrid.bb.i;
|
|
787
813
|
var _loop_1 = function (d) {
|
|
788
814
|
var e = new GroupInfo();
|
|
789
|
-
var f = b.i(function (g) { return g.
|
|
815
|
+
var f = b.i(function (g) { return g.i7 == c_1.item(d).f; });
|
|
790
816
|
if (f != -1) {
|
|
791
|
-
if (!stringIsNullOrEmpty(b._inner[f].
|
|
792
|
-
e.c = b._inner[f].
|
|
817
|
+
if (!stringIsNullOrEmpty(b._inner[f].je)) {
|
|
818
|
+
e.c = b._inner[f].je;
|
|
793
819
|
}
|
|
794
820
|
else {
|
|
795
821
|
e.c = c_1.item(d).f;
|
|
@@ -811,9 +837,9 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
811
837
|
}
|
|
812
838
|
return a;
|
|
813
839
|
};
|
|
814
|
-
ColumnGrouping.prototype.
|
|
840
|
+
ColumnGrouping.prototype.aw = function (a, b) {
|
|
815
841
|
if (this.targetGrid.dragger.dragType == 2) {
|
|
816
|
-
var c = this.d.
|
|
842
|
+
var c = this.d.as();
|
|
817
843
|
var d = c.height * -1;
|
|
818
844
|
var e = 0;
|
|
819
845
|
var f = 0;
|
|
@@ -823,7 +849,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
823
849
|
var h = a;
|
|
824
850
|
var i = this.targetGrid.actualColumns._inner[h.cellPath.a5];
|
|
825
851
|
var j = new ColumnGroupDescription(0);
|
|
826
|
-
j.f = i.
|
|
852
|
+
j.f = i.i7;
|
|
827
853
|
j.c = 1;
|
|
828
854
|
var k = this.targetGrid.bb.i.contains(j);
|
|
829
855
|
j.c = 0;
|
|
@@ -851,7 +877,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
851
877
|
}
|
|
852
878
|
}
|
|
853
879
|
};
|
|
854
|
-
ColumnGrouping.prototype.
|
|
880
|
+
ColumnGrouping.prototype.av = function (a, b) {
|
|
855
881
|
if (this.targetGrid.dragger == null) {
|
|
856
882
|
return;
|
|
857
883
|
}
|
|
@@ -861,21 +887,21 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
861
887
|
this.u = b.currentY;
|
|
862
888
|
if (this.u < 0) {
|
|
863
889
|
if (this.n == false) {
|
|
864
|
-
this.v = this.targetGrid.
|
|
865
|
-
this.targetGrid.
|
|
890
|
+
this.v = this.targetGrid.lq;
|
|
891
|
+
this.targetGrid.lq = 0;
|
|
866
892
|
this.n = true;
|
|
867
893
|
}
|
|
868
894
|
}
|
|
869
895
|
else {
|
|
870
896
|
if (this.n == true) {
|
|
871
|
-
this.targetGrid.
|
|
897
|
+
this.targetGrid.lq = this.v;
|
|
872
898
|
this.n = false;
|
|
873
899
|
}
|
|
874
900
|
}
|
|
875
901
|
};
|
|
876
|
-
ColumnGrouping.prototype.
|
|
902
|
+
ColumnGrouping.prototype.at = function (a, b) {
|
|
877
903
|
var c = new XIcon();
|
|
878
|
-
this.d.
|
|
904
|
+
this.d.am(c, a);
|
|
879
905
|
if (b) {
|
|
880
906
|
c.svgPath = ColumnGrouping.x;
|
|
881
907
|
}
|
|
@@ -885,35 +911,35 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
885
911
|
c.fill = BrushUtil.g(255, 119, 119, 119);
|
|
886
912
|
this.q.add(c);
|
|
887
913
|
};
|
|
888
|
-
ColumnGrouping.prototype.
|
|
914
|
+
ColumnGrouping.prototype.aq = function (a) {
|
|
889
915
|
var b = new XIcon();
|
|
890
|
-
this.d.
|
|
916
|
+
this.d.am(b, a);
|
|
891
917
|
b.svgPath = ColumnGrouping.aa;
|
|
892
918
|
b.fill = BrushUtil.g(255, 119, 119, 119);
|
|
893
919
|
this.q.add(b);
|
|
894
920
|
};
|
|
895
|
-
ColumnGrouping.prototype.
|
|
921
|
+
ColumnGrouping.prototype.as = function (a) {
|
|
896
922
|
var b = new XIcon();
|
|
897
|
-
this.d.
|
|
898
|
-
b.svgPath = ColumnGrouping.
|
|
923
|
+
this.d.am(b, a);
|
|
924
|
+
b.svgPath = ColumnGrouping.ah;
|
|
899
925
|
b.fill = BrushUtil.g(255, 119, 119, 119);
|
|
900
926
|
this.q.add(b);
|
|
901
927
|
};
|
|
902
|
-
ColumnGrouping.prototype.
|
|
928
|
+
ColumnGrouping.prototype.ar = function (a) {
|
|
903
929
|
var b = new XIcon();
|
|
904
|
-
this.d.
|
|
930
|
+
this.d.am(b, a);
|
|
905
931
|
b.svgPath = ColumnGrouping.ad;
|
|
906
932
|
b.fill = BrushUtil.g(255, 119, 119, 119);
|
|
907
933
|
this.e = b;
|
|
908
934
|
this.q.add(this.e);
|
|
909
935
|
};
|
|
910
|
-
ColumnGrouping.prototype.
|
|
936
|
+
ColumnGrouping.prototype.ap = function () {
|
|
911
937
|
this.q.clear();
|
|
912
938
|
if (this.e != null) {
|
|
913
939
|
this.q.add(this.e);
|
|
914
940
|
}
|
|
915
941
|
};
|
|
916
|
-
ColumnGrouping.prototype.
|
|
942
|
+
ColumnGrouping.prototype.ao = function (a) {
|
|
917
943
|
var b = this.targetGrid.bb.i.count;
|
|
918
944
|
for (var c = 0; c < b; c++) {
|
|
919
945
|
var d = this.targetGrid.bb.i.item(c);
|
|
@@ -930,7 +956,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
930
956
|
}
|
|
931
957
|
}
|
|
932
958
|
};
|
|
933
|
-
ColumnGrouping.prototype.
|
|
959
|
+
ColumnGrouping.prototype.a1 = function (a) {
|
|
934
960
|
var b = this.targetGrid.bb.i.count;
|
|
935
961
|
for (var c = 0; c < b; c++) {
|
|
936
962
|
var d = this.targetGrid.bb.i.item(c);
|
|
@@ -940,7 +966,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
940
966
|
}
|
|
941
967
|
}
|
|
942
968
|
};
|
|
943
|
-
ColumnGrouping.prototype.
|
|
969
|
+
ColumnGrouping.prototype.a2 = function (a, b) {
|
|
944
970
|
var c = this.targetGrid.bb.i.count;
|
|
945
971
|
var d = null;
|
|
946
972
|
for (var e = 0; e < c; e++) {
|
|
@@ -952,11 +978,11 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
952
978
|
}
|
|
953
979
|
this.targetGrid.bb.i.insert(b, d);
|
|
954
980
|
};
|
|
955
|
-
ColumnGrouping.prototype.
|
|
956
|
-
this.d.
|
|
981
|
+
ColumnGrouping.prototype.a7 = function (a, b) {
|
|
982
|
+
this.d.ac();
|
|
957
983
|
};
|
|
958
|
-
ColumnGrouping.prototype.
|
|
959
|
-
this.d.
|
|
984
|
+
ColumnGrouping.prototype.a6 = function (a, b) {
|
|
985
|
+
this.d.ac();
|
|
960
986
|
};
|
|
961
987
|
ColumnGrouping.prototype.exportVisualModel = function () {
|
|
962
988
|
return this.a();
|
|
@@ -967,7 +993,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
967
993
|
};
|
|
968
994
|
ColumnGrouping.prototype.a = function () {
|
|
969
995
|
var a = new ColumnGroupingVisualModelExport();
|
|
970
|
-
var b = this.d.
|
|
996
|
+
var b = this.d.v;
|
|
971
997
|
a.d = new List$1(IconVisualModelExport.$, 0);
|
|
972
998
|
a.c = new List$1(TextVisualModelExport.$, 0);
|
|
973
999
|
a.b = this.i;
|
|
@@ -1035,7 +1061,7 @@ var ColumnGrouping = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1035
1061
|
ColumnGrouping.x = "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z";
|
|
1036
1062
|
ColumnGrouping.ac = "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z";
|
|
1037
1063
|
ColumnGrouping.aa = "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z";
|
|
1038
|
-
ColumnGrouping.
|
|
1064
|
+
ColumnGrouping.ah = "M15,5l-1.41,1.41L18.17,11H2V13h16.17l-4.59,4.59L15,19l7-7L15,5z";
|
|
1039
1065
|
ColumnGrouping.ad = "M9,19v-2h11v2H9z M9,15v-2h11v2H9z M9,11V9h11v2H9z M7,7V5h13v2H7z M4,5h2v2H4V5z";
|
|
1040
1066
|
return ColumnGrouping;
|
|
1041
1067
|
}(Base));
|