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
|
@@ -46,15 +46,18 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
46
46
|
this.q = null;
|
|
47
47
|
this.m = null;
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
ai() {
|
|
50
50
|
}
|
|
51
51
|
get o() {
|
|
52
52
|
return this.n;
|
|
53
53
|
}
|
|
54
54
|
get u() {
|
|
55
|
-
return this.
|
|
55
|
+
return this.n.rootWrapper;
|
|
56
56
|
}
|
|
57
57
|
get v() {
|
|
58
|
+
return this.r;
|
|
59
|
+
}
|
|
60
|
+
get w() {
|
|
58
61
|
return this.t;
|
|
59
62
|
}
|
|
60
63
|
get l() {
|
|
@@ -66,20 +69,20 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
66
69
|
get k() {
|
|
67
70
|
return this.h;
|
|
68
71
|
}
|
|
69
|
-
|
|
72
|
+
ah(a) {
|
|
70
73
|
if (a == null) {
|
|
71
74
|
this.n = null;
|
|
72
75
|
return;
|
|
73
76
|
}
|
|
74
77
|
this.n = a;
|
|
75
78
|
this.d = new CanvasGestureDOMEventProxy(this.o.rootWrapper, this.o, true);
|
|
76
|
-
this.d.
|
|
79
|
+
this.d.c8 = true;
|
|
77
80
|
let b = this.d;
|
|
78
|
-
b.onMouseDown = delegateCombine(b.onMouseDown, runOn(this, this.
|
|
81
|
+
b.onMouseDown = delegateCombine(b.onMouseDown, runOn(this, this.z));
|
|
79
82
|
let c = this.d;
|
|
80
|
-
c.onMouseOver = delegateCombine(c.onMouseOver, runOn(this, this.
|
|
83
|
+
c.onMouseOver = delegateCombine(c.onMouseOver, runOn(this, this.aa));
|
|
81
84
|
let d = this.d;
|
|
82
|
-
d.onMouseUp = delegateCombine(d.onMouseUp, runOn(this, this.
|
|
85
|
+
d.onMouseUp = delegateCombine(d.onMouseUp, runOn(this, this.ab));
|
|
83
86
|
this.n.rootWrapper.setStyleProperty("position", "relative");
|
|
84
87
|
this.n.rootWrapper.setStyleProperty("display", "flex");
|
|
85
88
|
this.n.rootWrapper.setStyleProperty("justify-content", "space-between");
|
|
@@ -95,9 +98,10 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
95
98
|
this.n.rootWrapper.setStyleProperty("box-sizing", "border-box");
|
|
96
99
|
this.n.rootWrapper.setStyleProperty("border-color", "rgba(0, 0, 0, 0.2)");
|
|
97
100
|
this.n.rootWrapper.setStyleProperty("border-radius", "3px 3px 0px 0px");
|
|
98
|
-
this.
|
|
101
|
+
this.n.rootWrapper.setStyleProperty("background-color", this.e.bh._fill);
|
|
102
|
+
this.y();
|
|
99
103
|
}
|
|
100
|
-
|
|
104
|
+
an() {
|
|
101
105
|
if (this.n != null) {
|
|
102
106
|
if (this.e.o == true) {
|
|
103
107
|
this.n.rootWrapper.setStyleProperty("border-width", "0px 0px 1px 0px");
|
|
@@ -107,7 +111,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
107
111
|
}
|
|
108
112
|
}
|
|
109
113
|
}
|
|
110
|
-
|
|
114
|
+
ao() {
|
|
111
115
|
if (this.n != null) {
|
|
112
116
|
switch (this.e.i) {
|
|
113
117
|
case 1:
|
|
@@ -129,25 +133,25 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
129
133
|
}
|
|
130
134
|
}
|
|
131
135
|
}
|
|
132
|
-
|
|
136
|
+
y() {
|
|
133
137
|
if (this.n != null) {
|
|
134
138
|
this.r = this.n.rootWrapper.getChildAt(0);
|
|
135
139
|
this.r.setStyleProperty("width", "100%");
|
|
136
|
-
this.
|
|
140
|
+
this.ao();
|
|
137
141
|
this.r.setStyleProperty("display", "flex");
|
|
138
142
|
this.r.setStyleProperty("align-items", "center");
|
|
139
143
|
this.r.setStyleProperty("flex-direction", "row");
|
|
140
144
|
this.s = this.n.createElement("div");
|
|
141
|
-
this.e.
|
|
145
|
+
this.e.ar(this.s);
|
|
142
146
|
this.s.setStyleProperty("height", "18px");
|
|
143
147
|
this.s.setStyleProperty("width", "18px");
|
|
144
148
|
this.s.setStyleProperty("margin-right", "5px");
|
|
145
|
-
this.s.setStyleProperty("color", this.e.
|
|
149
|
+
this.s.setStyleProperty("color", this.e.bi.color.colorString);
|
|
146
150
|
this.r.append(this.s);
|
|
147
151
|
this.g.add(this.s);
|
|
148
152
|
this.t = this.n.createElement("span");
|
|
149
|
-
this.ap();
|
|
150
153
|
this.aq();
|
|
154
|
+
this.ar();
|
|
151
155
|
this.r.append(this.t);
|
|
152
156
|
let a = this.n.createElement("div");
|
|
153
157
|
a.setStyleProperty("display", "flex");
|
|
@@ -161,25 +165,25 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
161
165
|
this.p.setStyleProperty("padding-left", "10px");
|
|
162
166
|
this.p.setStyleProperty("display", "flex");
|
|
163
167
|
a.append(this.p);
|
|
164
|
-
this.
|
|
168
|
+
this.ac();
|
|
165
169
|
}
|
|
166
170
|
}
|
|
167
|
-
|
|
171
|
+
ar() {
|
|
168
172
|
if (this.t != null) {
|
|
169
|
-
this.t.setText(this.e.
|
|
173
|
+
this.t.setText(this.e.al);
|
|
170
174
|
}
|
|
171
175
|
}
|
|
172
|
-
|
|
176
|
+
aq() {
|
|
173
177
|
if (this.t != null) {
|
|
174
178
|
if (this.e.k != null) {
|
|
175
179
|
this.t.setStyleProperty("font", this.e.k.q);
|
|
176
180
|
}
|
|
177
181
|
else {
|
|
178
|
-
this.t.setStyleProperty("font", "14px
|
|
182
|
+
this.t.setStyleProperty("font", "14px Verdana");
|
|
179
183
|
}
|
|
180
184
|
}
|
|
181
185
|
}
|
|
182
|
-
|
|
186
|
+
ap() {
|
|
183
187
|
if (this.p != null) {
|
|
184
188
|
let a = this.i.count;
|
|
185
189
|
for (let b = 0; b < a; b++) {
|
|
@@ -188,7 +192,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
188
192
|
}
|
|
189
193
|
}
|
|
190
194
|
}
|
|
191
|
-
|
|
195
|
+
as() {
|
|
192
196
|
if (this.n != null) {
|
|
193
197
|
let groupAreaElement_ = this.n.rootWrapper.getNativeElement();
|
|
194
198
|
let a = (groupAreaElement_.getBoundingClientRect());
|
|
@@ -196,7 +200,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
196
200
|
}
|
|
197
201
|
return null;
|
|
198
202
|
}
|
|
199
|
-
|
|
203
|
+
ac() {
|
|
200
204
|
if (this.n != null) {
|
|
201
205
|
if (this.e.targetGrid != null) {
|
|
202
206
|
if (this.r != null) {
|
|
@@ -209,7 +213,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
209
213
|
else {
|
|
210
214
|
this.t.show();
|
|
211
215
|
}
|
|
212
|
-
this.e.
|
|
216
|
+
this.e.ap();
|
|
213
217
|
this.i.clear();
|
|
214
218
|
this.g.clear();
|
|
215
219
|
this.h.clear();
|
|
@@ -224,25 +228,25 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
224
228
|
this.p.append(d);
|
|
225
229
|
d.setAttribute("data-field", "NextMarker");
|
|
226
230
|
let e = this.n.createElement("div");
|
|
227
|
-
e.listen("click", runOn(this, this.
|
|
228
|
-
this.e.
|
|
231
|
+
e.listen("click", runOn(this, this.x));
|
|
232
|
+
this.e.as(e);
|
|
229
233
|
e.setStyleProperty("height", "18px");
|
|
230
234
|
e.setStyleProperty("width", "18px");
|
|
231
|
-
e.setStyleProperty("color", this.e.
|
|
235
|
+
e.setStyleProperty("color", this.e.bi.color.colorString);
|
|
232
236
|
d.append(e);
|
|
233
237
|
this.g.add(e);
|
|
234
238
|
}
|
|
235
239
|
let f = this.n.createElement("li");
|
|
236
|
-
f.listen("mouseover", runOn(this, this.
|
|
237
|
-
f.listen("mouseout", runOn(this, this.
|
|
238
|
-
f.setStyleProperty("background-color", this.e.
|
|
240
|
+
f.listen("mouseover", runOn(this, this.ae));
|
|
241
|
+
f.listen("mouseout", runOn(this, this.ad));
|
|
242
|
+
f.setStyleProperty("background-color", this.e.bj.color.colorString);
|
|
239
243
|
f.setStyleProperty("border-radius", "3px 3px 3px 3px");
|
|
240
244
|
f.setStyleProperty("padding", "2px 5px 2px 5px");
|
|
241
245
|
f.setStyleProperty("margin", "2px");
|
|
242
246
|
f.setStyleProperty("height", "18px");
|
|
243
247
|
f.setStyleProperty("display", "flex");
|
|
244
248
|
f.setStyleProperty("align-items", "center");
|
|
245
|
-
f.listen("click", runOn(this, this.
|
|
249
|
+
f.listen("click", runOn(this, this.af));
|
|
246
250
|
this.p.append(f);
|
|
247
251
|
this.h.add(f);
|
|
248
252
|
f.setAttribute("data-field", a._inner[c].b.toString());
|
|
@@ -251,10 +255,10 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
251
255
|
g.setStyleProperty("font", this.e.k.q);
|
|
252
256
|
}
|
|
253
257
|
else {
|
|
254
|
-
g.setStyleProperty("font", "14px
|
|
258
|
+
g.setStyleProperty("font", "14px Verdana");
|
|
255
259
|
}
|
|
256
260
|
g.setStyleProperty("user-select", "none");
|
|
257
|
-
g.setStyleProperty("color", this.e.
|
|
261
|
+
g.setStyleProperty("color", this.e.bl.color.colorString);
|
|
258
262
|
g.setAttribute("data-field", a._inner[c].b.toString());
|
|
259
263
|
g.setText(a._inner[c].c.toString());
|
|
260
264
|
f.append(g);
|
|
@@ -264,18 +268,18 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
264
268
|
if (a._inner[c].a == 1) {
|
|
265
269
|
i = false;
|
|
266
270
|
}
|
|
267
|
-
this.e.
|
|
271
|
+
this.e.at(h, i);
|
|
268
272
|
h.setStyleProperty("height", "18px");
|
|
269
273
|
h.setStyleProperty("width", "18px");
|
|
270
|
-
h.setStyleProperty("color", this.e.
|
|
274
|
+
h.setStyleProperty("color", this.e.bi.color.colorString);
|
|
271
275
|
f.append(h);
|
|
272
276
|
this.g.add(h);
|
|
273
277
|
let j = this.n.createElement("div");
|
|
274
|
-
j.listen("click", runOn(this, this.
|
|
275
|
-
this.e.
|
|
278
|
+
j.listen("click", runOn(this, this.x));
|
|
279
|
+
this.e.aq(j);
|
|
276
280
|
j.setStyleProperty("height", "18px");
|
|
277
281
|
j.setStyleProperty("width", "18px");
|
|
278
|
-
j.setStyleProperty("color", this.e.
|
|
282
|
+
j.setStyleProperty("color", this.e.bi.color.colorString);
|
|
279
283
|
f.append(j);
|
|
280
284
|
this.g.add(j);
|
|
281
285
|
}
|
|
@@ -283,32 +287,32 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
283
287
|
}
|
|
284
288
|
}
|
|
285
289
|
}
|
|
286
|
-
|
|
290
|
+
am(a, b) {
|
|
287
291
|
if (this.n != null) {
|
|
288
292
|
let c = this.n.getSubRenderer(b);
|
|
289
293
|
a.provideContainer(c);
|
|
290
294
|
}
|
|
291
295
|
}
|
|
292
|
-
|
|
296
|
+
x(e_) {
|
|
293
297
|
let a = (e_.originalEvent.currentTarget);
|
|
294
298
|
let b = a.parentElement.getAttribute("data-field").toString();
|
|
295
|
-
this.e.
|
|
299
|
+
this.e.a1(b);
|
|
296
300
|
}
|
|
297
|
-
|
|
301
|
+
af(e_) {
|
|
298
302
|
let a = (e_.originalEvent.currentTarget);
|
|
299
303
|
let b = a.getAttribute("data-field").toString();
|
|
300
|
-
this.e.
|
|
304
|
+
this.e.ao(b);
|
|
301
305
|
}
|
|
302
|
-
|
|
303
|
-
this.ai(a);
|
|
304
|
-
}
|
|
305
|
-
z(a, b, c) {
|
|
306
|
+
z(a) {
|
|
306
307
|
this.aj(a);
|
|
307
308
|
}
|
|
308
|
-
aa(a) {
|
|
309
|
+
aa(a, b, c) {
|
|
309
310
|
this.ak(a);
|
|
310
311
|
}
|
|
311
|
-
|
|
312
|
+
ab(a) {
|
|
313
|
+
this.al(a);
|
|
314
|
+
}
|
|
315
|
+
aj(a) {
|
|
312
316
|
let b = this.h.count;
|
|
313
317
|
for (let c = 0; c < b; c++) {
|
|
314
318
|
let d = this.h._inner[c].getNativeElement();
|
|
@@ -324,7 +328,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
324
328
|
}
|
|
325
329
|
}
|
|
326
330
|
}
|
|
327
|
-
|
|
331
|
+
ak(a) {
|
|
328
332
|
if (this.q != null && this.f == false) {
|
|
329
333
|
this.f = true;
|
|
330
334
|
this.q = this.q.clone();
|
|
@@ -335,7 +339,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
335
339
|
}
|
|
336
340
|
if (this.f == true) {
|
|
337
341
|
this.m.style.cursor = "grabbing";
|
|
338
|
-
let b = this.
|
|
342
|
+
let b = this.as();
|
|
339
343
|
let c = b.left - (NativeUI.i(this.q) / 2);
|
|
340
344
|
let d = b.top - (NativeUI.c(this.q) / 2);
|
|
341
345
|
let e = this.c();
|
|
@@ -345,9 +349,9 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
345
349
|
NativeUI.aa(this.q, a.y + d);
|
|
346
350
|
}
|
|
347
351
|
}
|
|
348
|
-
|
|
352
|
+
al(a) {
|
|
349
353
|
if (this.f == true) {
|
|
350
|
-
let b = this.
|
|
354
|
+
let b = this.as();
|
|
351
355
|
let c = b.width;
|
|
352
356
|
let d = b.height;
|
|
353
357
|
if (a.x > 0 && a.x < c) {
|
|
@@ -390,7 +394,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
390
394
|
}
|
|
391
395
|
}
|
|
392
396
|
let n = this.m.getAttribute("data-field").toString();
|
|
393
|
-
this.e.
|
|
397
|
+
this.e.a2(n, e);
|
|
394
398
|
}
|
|
395
399
|
}
|
|
396
400
|
if (this.q != null) {
|
|
@@ -402,24 +406,24 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
402
406
|
}
|
|
403
407
|
this.q = null;
|
|
404
408
|
}
|
|
405
|
-
|
|
409
|
+
ae(e_) {
|
|
406
410
|
let a = (e_.originalEvent.target);
|
|
407
411
|
let b = this.h.count;
|
|
408
412
|
for (let c = 0; c < b; c++) {
|
|
409
413
|
let d = this.h._inner[c].getNativeElement();
|
|
410
414
|
if (d.contains(a)) {
|
|
411
|
-
this.h._inner[c].setStyleProperty("background-color", this.e.
|
|
415
|
+
this.h._inner[c].setStyleProperty("background-color", this.e.bk.color.colorString);
|
|
412
416
|
break;
|
|
413
417
|
}
|
|
414
418
|
}
|
|
415
419
|
}
|
|
416
|
-
|
|
420
|
+
ad(e_) {
|
|
417
421
|
let a = (e_.originalEvent.target);
|
|
418
422
|
let b = this.h.count;
|
|
419
423
|
for (let c = 0; c < b; c++) {
|
|
420
424
|
let d = this.h._inner[c].getNativeElement();
|
|
421
425
|
if (d.contains(a)) {
|
|
422
|
-
this.h._inner[c].setStyleProperty("background-color", this.e.
|
|
426
|
+
this.h._inner[c].setStyleProperty("background-color", this.e.bj.color.colorString);
|
|
423
427
|
break;
|
|
424
428
|
}
|
|
425
429
|
}
|
|
@@ -450,7 +454,7 @@ export let ColumnGroupingView = /*@__PURE__*/ (() => {
|
|
|
450
454
|
c[1] = b;
|
|
451
455
|
return c;
|
|
452
456
|
}
|
|
453
|
-
|
|
457
|
+
ag() {
|
|
454
458
|
}
|
|
455
459
|
}
|
|
456
460
|
ColumnGroupingView.$t = /*@__PURE__*/ markType(ColumnGroupingView, 'ColumnGroupingView');
|
|
@@ -477,38 +481,39 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
477
481
|
this.f = 1;
|
|
478
482
|
this.h = 2;
|
|
479
483
|
this.w = "Drag a Column Here";
|
|
480
|
-
this.
|
|
484
|
+
this.bg = BrushUtil.g(158, 0, 0, 0);
|
|
481
485
|
this.j = null;
|
|
482
|
-
this.
|
|
486
|
+
this.bf = BrushUtil.g(158, 0, 0, 0);
|
|
483
487
|
this.bc = BrushUtil.g(158, 0, 0, 0);
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
488
|
+
this.bd = BrushUtil.g(30, 0, 0, 0);
|
|
489
|
+
this.be = BrushUtil.g(66, 0, 0, 0);
|
|
490
|
+
this.bb = BrushUtil.g(255, 248, 248, 248);
|
|
486
491
|
this.v = 0;
|
|
487
492
|
this.n = false;
|
|
488
493
|
this.q = new ObservableCollection$1(XIcon.$, 0);
|
|
489
494
|
let a = new ColumnGroupingView();
|
|
490
495
|
a.e = this;
|
|
491
496
|
this.d = a;
|
|
492
|
-
this.d.
|
|
497
|
+
this.d.ai();
|
|
493
498
|
}
|
|
494
499
|
notifySizeChanged() {
|
|
495
|
-
this.d.
|
|
500
|
+
this.d.ag();
|
|
496
501
|
}
|
|
497
502
|
destroy() {
|
|
498
503
|
this.provideContainer(null);
|
|
499
504
|
if (this.targetGrid != null) {
|
|
500
505
|
let a = this.targetGrid;
|
|
501
|
-
a.groupDescriptionsChanged = delegateRemove(a.groupDescriptionsChanged, runOn(this, this.
|
|
506
|
+
a.groupDescriptionsChanged = delegateRemove(a.groupDescriptionsChanged, runOn(this, this.a7));
|
|
502
507
|
let b = this.targetGrid;
|
|
503
|
-
b.actualColumnsChanged = delegateRemove(b.actualColumnsChanged, runOn(this, this.
|
|
508
|
+
b.actualColumnsChanged = delegateRemove(b.actualColumnsChanged, runOn(this, this.a6));
|
|
504
509
|
let c = this.targetGrid.dragger;
|
|
505
|
-
c.onDrag = delegateRemove(c.onDrag, runOn(this, this.
|
|
510
|
+
c.onDrag = delegateRemove(c.onDrag, runOn(this, this.av));
|
|
506
511
|
let d = this.targetGrid.dragger;
|
|
507
|
-
d.onDragEnd = delegateRemove(d.onDragEnd, runOn(this, this.
|
|
512
|
+
d.onDragEnd = delegateRemove(d.onDragEnd, runOn(this, this.aw));
|
|
508
513
|
}
|
|
509
514
|
}
|
|
510
515
|
provideContainer(a) {
|
|
511
|
-
this.d.
|
|
516
|
+
this.d.ah(a);
|
|
512
517
|
}
|
|
513
518
|
get m() {
|
|
514
519
|
if (this.l == null) {
|
|
@@ -524,7 +529,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
524
529
|
let b = this.b;
|
|
525
530
|
this.b = a;
|
|
526
531
|
if (b != this.b) {
|
|
527
|
-
this.
|
|
532
|
+
this.ay("TargetGrid", b, this.b);
|
|
528
533
|
}
|
|
529
534
|
}
|
|
530
535
|
get g() {
|
|
@@ -534,7 +539,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
534
539
|
let b = this.f;
|
|
535
540
|
this.f = a;
|
|
536
541
|
if (b != this.f) {
|
|
537
|
-
this.
|
|
542
|
+
this.ay("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.f));
|
|
538
543
|
}
|
|
539
544
|
}
|
|
540
545
|
get i() {
|
|
@@ -544,27 +549,27 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
544
549
|
let b = this.h;
|
|
545
550
|
this.h = a;
|
|
546
551
|
if (b != this.h) {
|
|
547
|
-
this.
|
|
552
|
+
this.ay("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.h));
|
|
548
553
|
}
|
|
549
554
|
}
|
|
550
|
-
get
|
|
555
|
+
get al() {
|
|
551
556
|
return this.w;
|
|
552
557
|
}
|
|
553
|
-
set
|
|
558
|
+
set al(a) {
|
|
554
559
|
let b = this.w;
|
|
555
560
|
this.w = a;
|
|
556
561
|
if (b != this.w) {
|
|
557
|
-
this.
|
|
562
|
+
this.ay("Title", b, this.w);
|
|
558
563
|
}
|
|
559
564
|
}
|
|
560
|
-
get
|
|
561
|
-
return this.
|
|
565
|
+
get bm() {
|
|
566
|
+
return this.bg;
|
|
562
567
|
}
|
|
563
|
-
set
|
|
564
|
-
let b = this.
|
|
565
|
-
this.
|
|
566
|
-
if (b != this.
|
|
567
|
-
this.
|
|
568
|
+
set bm(a) {
|
|
569
|
+
let b = this.bg;
|
|
570
|
+
this.bg = a;
|
|
571
|
+
if (b != this.bg) {
|
|
572
|
+
this.ay("TitleColor", b, this.bg);
|
|
568
573
|
}
|
|
569
574
|
}
|
|
570
575
|
get k() {
|
|
@@ -574,138 +579,151 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
574
579
|
let b = this.j;
|
|
575
580
|
this.j = a;
|
|
576
581
|
if (b != this.j) {
|
|
577
|
-
this.
|
|
582
|
+
this.ay("TextStyle", b, this.j);
|
|
578
583
|
}
|
|
579
584
|
}
|
|
580
|
-
get
|
|
581
|
-
return this.
|
|
585
|
+
get bl() {
|
|
586
|
+
return this.bf;
|
|
582
587
|
}
|
|
583
|
-
set
|
|
584
|
-
let b = this.
|
|
585
|
-
this.
|
|
586
|
-
if (b != this.
|
|
587
|
-
this.
|
|
588
|
+
set bl(a) {
|
|
589
|
+
let b = this.bf;
|
|
590
|
+
this.bf = a;
|
|
591
|
+
if (b != this.bf) {
|
|
592
|
+
this.ay("TextColor", b, this.bf);
|
|
588
593
|
}
|
|
589
594
|
}
|
|
590
|
-
get
|
|
595
|
+
get bi() {
|
|
591
596
|
return this.bc;
|
|
592
597
|
}
|
|
593
|
-
set
|
|
598
|
+
set bi(a) {
|
|
594
599
|
let b = this.bc;
|
|
595
600
|
this.bc = a;
|
|
596
601
|
if (b != this.bc) {
|
|
597
|
-
this.
|
|
602
|
+
this.ay("IconColor", b, this.bc);
|
|
598
603
|
}
|
|
599
604
|
}
|
|
600
|
-
get
|
|
601
|
-
return this.
|
|
605
|
+
get bj() {
|
|
606
|
+
return this.bd;
|
|
602
607
|
}
|
|
603
|
-
set
|
|
604
|
-
let b = this.
|
|
605
|
-
this.
|
|
606
|
-
if (b != this.
|
|
607
|
-
this.
|
|
608
|
+
set bj(a) {
|
|
609
|
+
let b = this.bd;
|
|
610
|
+
this.bd = a;
|
|
611
|
+
if (b != this.bd) {
|
|
612
|
+
this.ay("ItemBackgroundColor", b, this.bd);
|
|
608
613
|
}
|
|
609
614
|
}
|
|
610
|
-
get
|
|
615
|
+
get bk() {
|
|
616
|
+
return this.be;
|
|
617
|
+
}
|
|
618
|
+
set bk(a) {
|
|
619
|
+
let b = this.be;
|
|
620
|
+
this.be = a;
|
|
621
|
+
if (b != this.be) {
|
|
622
|
+
this.ay("ItemHoverBackgroundColor", b, this.be);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
get bh() {
|
|
611
626
|
return this.bb;
|
|
612
627
|
}
|
|
613
|
-
set
|
|
628
|
+
set bh(a) {
|
|
614
629
|
let b = this.bb;
|
|
615
630
|
this.bb = a;
|
|
616
631
|
if (b != this.bb) {
|
|
617
|
-
this.
|
|
632
|
+
this.ay("BackgroundColor", b, this.bb);
|
|
618
633
|
}
|
|
619
634
|
}
|
|
620
|
-
|
|
635
|
+
ay(a, b, c) {
|
|
621
636
|
if (this.propertyChanged != null) {
|
|
622
637
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
623
638
|
}
|
|
624
|
-
this.
|
|
639
|
+
this.az(a, b, c);
|
|
625
640
|
}
|
|
626
|
-
|
|
641
|
+
az(a, b, c) {
|
|
627
642
|
switch (a) {
|
|
628
643
|
case "TargetGrid":
|
|
629
|
-
this.
|
|
644
|
+
this.a5();
|
|
630
645
|
break;
|
|
631
646
|
case "BaseTheme":
|
|
632
|
-
this.
|
|
647
|
+
this.a4();
|
|
633
648
|
break;
|
|
634
649
|
case "Density":
|
|
635
|
-
this.
|
|
650
|
+
this.a3();
|
|
636
651
|
break;
|
|
637
652
|
case "Title":
|
|
638
|
-
this.
|
|
653
|
+
this.a9();
|
|
639
654
|
break;
|
|
640
655
|
case "TitleColor":
|
|
641
|
-
this.
|
|
656
|
+
this.ba();
|
|
642
657
|
break;
|
|
643
658
|
case "TextStyle":
|
|
644
|
-
this.d.ao();
|
|
645
659
|
this.d.ap();
|
|
660
|
+
this.d.aq();
|
|
646
661
|
break;
|
|
647
662
|
case "TextColor":
|
|
648
663
|
case "IconColor":
|
|
664
|
+
case "ItemBackgroundColor":
|
|
665
|
+
this.a8();
|
|
666
|
+
break;
|
|
667
|
+
case "ItemHoverBackgroundColor": break;
|
|
649
668
|
case "BackgroundColor":
|
|
650
|
-
this.
|
|
669
|
+
NativeUI.k(this.d.u, this.bh);
|
|
651
670
|
break;
|
|
652
|
-
case "HoverBackgroundColor": break;
|
|
653
671
|
}
|
|
654
672
|
}
|
|
655
|
-
|
|
673
|
+
a4() {
|
|
656
674
|
}
|
|
657
|
-
|
|
658
|
-
let a = this.d.
|
|
659
|
-
if (this.
|
|
660
|
-
NativeUI.o(a, this.
|
|
675
|
+
ba() {
|
|
676
|
+
let a = this.d.w;
|
|
677
|
+
if (this.bm != null) {
|
|
678
|
+
NativeUI.o(a, this.bm);
|
|
661
679
|
}
|
|
662
680
|
}
|
|
663
|
-
|
|
664
|
-
if (stringIsNullOrWhiteSpace(this.
|
|
665
|
-
this.
|
|
681
|
+
a9() {
|
|
682
|
+
if (stringIsNullOrWhiteSpace(this.al)) {
|
|
683
|
+
this.al = !stringIsNullOrWhiteSpace(this.m.b1("Title")) ? this.m.b1("Title") : "Drag a Column Here";
|
|
666
684
|
}
|
|
667
|
-
this.d.
|
|
685
|
+
this.d.ar();
|
|
668
686
|
}
|
|
669
|
-
|
|
687
|
+
a8() {
|
|
670
688
|
let a = this.d.l;
|
|
671
689
|
let b = this.d.j;
|
|
672
690
|
let c = this.d.k;
|
|
673
691
|
for (let d = 0; d < a.count; d++) {
|
|
674
|
-
NativeUI.o(a._inner[d], this.
|
|
692
|
+
NativeUI.o(a._inner[d], this.bl);
|
|
675
693
|
}
|
|
676
694
|
for (let e = 0; e < b.count; e++) {
|
|
677
|
-
NativeUI.o(b._inner[e], this.
|
|
695
|
+
NativeUI.o(b._inner[e], this.bi);
|
|
678
696
|
}
|
|
679
697
|
for (let f = 0; f < c.count; f++) {
|
|
680
|
-
NativeUI.k(c._inner[f], this.
|
|
698
|
+
NativeUI.k(c._inner[f], this.bj);
|
|
681
699
|
}
|
|
682
700
|
}
|
|
683
|
-
|
|
701
|
+
a3() {
|
|
684
702
|
if (this.i == 0) {
|
|
685
703
|
if (this.targetGrid != null) {
|
|
686
|
-
this.i = this.targetGrid.
|
|
704
|
+
this.i = this.targetGrid.gd;
|
|
687
705
|
}
|
|
688
706
|
}
|
|
689
|
-
this.d.
|
|
707
|
+
this.d.ao();
|
|
690
708
|
}
|
|
691
|
-
|
|
709
|
+
a5() {
|
|
692
710
|
if (this.targetGrid != null) {
|
|
693
|
-
this.
|
|
711
|
+
this.a9();
|
|
694
712
|
if (this.targetGrid.isGroupByAreaVisible) {
|
|
695
713
|
this.o = true;
|
|
696
714
|
}
|
|
697
|
-
this.d.
|
|
715
|
+
this.d.an();
|
|
698
716
|
let a = this.targetGrid;
|
|
699
|
-
a.groupDescriptionsChanged = delegateCombine(a.groupDescriptionsChanged, runOn(this, this.
|
|
717
|
+
a.groupDescriptionsChanged = delegateCombine(a.groupDescriptionsChanged, runOn(this, this.a7));
|
|
700
718
|
let b = this.targetGrid;
|
|
701
|
-
b.actualColumnsChanged = delegateCombine(b.actualColumnsChanged, runOn(this, this.
|
|
719
|
+
b.actualColumnsChanged = delegateCombine(b.actualColumnsChanged, runOn(this, this.a6));
|
|
702
720
|
if (this.targetGrid.dragger != null) {
|
|
703
721
|
let c = this.targetGrid.dragger;
|
|
704
|
-
c.onDrag = delegateCombine(c.onDrag, runOn(this, this.
|
|
722
|
+
c.onDrag = delegateCombine(c.onDrag, runOn(this, this.av));
|
|
705
723
|
let d = this.targetGrid.dragger;
|
|
706
|
-
d.onDragEnd = delegateCombine(d.onDragEnd, runOn(this, this.
|
|
724
|
+
d.onDragEnd = delegateCombine(d.onDragEnd, runOn(this, this.aw));
|
|
707
725
|
}
|
|
708
|
-
this.d.
|
|
726
|
+
this.d.ac();
|
|
709
727
|
}
|
|
710
728
|
}
|
|
711
729
|
p() {
|
|
@@ -715,10 +733,10 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
715
733
|
let c = this.targetGrid.bb.i;
|
|
716
734
|
for (let d = 0; d < c.count; d++) {
|
|
717
735
|
let e = new GroupInfo();
|
|
718
|
-
let f = b.i((g) => g.
|
|
736
|
+
let f = b.i((g) => g.i7 == c.item(d).f);
|
|
719
737
|
if (f != -1) {
|
|
720
|
-
if (!stringIsNullOrEmpty(b._inner[f].
|
|
721
|
-
e.c = b._inner[f].
|
|
738
|
+
if (!stringIsNullOrEmpty(b._inner[f].je)) {
|
|
739
|
+
e.c = b._inner[f].je;
|
|
722
740
|
}
|
|
723
741
|
else {
|
|
724
742
|
e.c = c.item(d).f;
|
|
@@ -737,9 +755,9 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
737
755
|
}
|
|
738
756
|
return a;
|
|
739
757
|
}
|
|
740
|
-
|
|
758
|
+
aw(a, b) {
|
|
741
759
|
if (this.targetGrid.dragger.dragType == 2) {
|
|
742
|
-
let c = this.d.
|
|
760
|
+
let c = this.d.as();
|
|
743
761
|
let d = c.height * -1;
|
|
744
762
|
let e = 0;
|
|
745
763
|
let f = 0;
|
|
@@ -749,7 +767,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
749
767
|
let h = a;
|
|
750
768
|
let i = this.targetGrid.actualColumns._inner[h.cellPath.a5];
|
|
751
769
|
let j = new ColumnGroupDescription(0);
|
|
752
|
-
j.f = i.
|
|
770
|
+
j.f = i.i7;
|
|
753
771
|
j.c = 1;
|
|
754
772
|
let k = this.targetGrid.bb.i.contains(j);
|
|
755
773
|
j.c = 0;
|
|
@@ -777,7 +795,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
777
795
|
}
|
|
778
796
|
}
|
|
779
797
|
}
|
|
780
|
-
|
|
798
|
+
av(a, b) {
|
|
781
799
|
if (this.targetGrid.dragger == null) {
|
|
782
800
|
return;
|
|
783
801
|
}
|
|
@@ -787,21 +805,21 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
787
805
|
this.u = b.currentY;
|
|
788
806
|
if (this.u < 0) {
|
|
789
807
|
if (this.n == false) {
|
|
790
|
-
this.v = this.targetGrid.
|
|
791
|
-
this.targetGrid.
|
|
808
|
+
this.v = this.targetGrid.lq;
|
|
809
|
+
this.targetGrid.lq = 0;
|
|
792
810
|
this.n = true;
|
|
793
811
|
}
|
|
794
812
|
}
|
|
795
813
|
else {
|
|
796
814
|
if (this.n == true) {
|
|
797
|
-
this.targetGrid.
|
|
815
|
+
this.targetGrid.lq = this.v;
|
|
798
816
|
this.n = false;
|
|
799
817
|
}
|
|
800
818
|
}
|
|
801
819
|
}
|
|
802
|
-
|
|
820
|
+
at(a, b) {
|
|
803
821
|
let c = new XIcon();
|
|
804
|
-
this.d.
|
|
822
|
+
this.d.am(c, a);
|
|
805
823
|
if (b) {
|
|
806
824
|
c.svgPath = ColumnGrouping.x;
|
|
807
825
|
}
|
|
@@ -811,35 +829,35 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
811
829
|
c.fill = BrushUtil.g(255, 119, 119, 119);
|
|
812
830
|
this.q.add(c);
|
|
813
831
|
}
|
|
814
|
-
|
|
832
|
+
aq(a) {
|
|
815
833
|
let b = new XIcon();
|
|
816
|
-
this.d.
|
|
834
|
+
this.d.am(b, a);
|
|
817
835
|
b.svgPath = ColumnGrouping.aa;
|
|
818
836
|
b.fill = BrushUtil.g(255, 119, 119, 119);
|
|
819
837
|
this.q.add(b);
|
|
820
838
|
}
|
|
821
|
-
|
|
839
|
+
as(a) {
|
|
822
840
|
let b = new XIcon();
|
|
823
|
-
this.d.
|
|
824
|
-
b.svgPath = ColumnGrouping.
|
|
841
|
+
this.d.am(b, a);
|
|
842
|
+
b.svgPath = ColumnGrouping.ah;
|
|
825
843
|
b.fill = BrushUtil.g(255, 119, 119, 119);
|
|
826
844
|
this.q.add(b);
|
|
827
845
|
}
|
|
828
|
-
|
|
846
|
+
ar(a) {
|
|
829
847
|
let b = new XIcon();
|
|
830
|
-
this.d.
|
|
848
|
+
this.d.am(b, a);
|
|
831
849
|
b.svgPath = ColumnGrouping.ad;
|
|
832
850
|
b.fill = BrushUtil.g(255, 119, 119, 119);
|
|
833
851
|
this.e = b;
|
|
834
852
|
this.q.add(this.e);
|
|
835
853
|
}
|
|
836
|
-
|
|
854
|
+
ap() {
|
|
837
855
|
this.q.clear();
|
|
838
856
|
if (this.e != null) {
|
|
839
857
|
this.q.add(this.e);
|
|
840
858
|
}
|
|
841
859
|
}
|
|
842
|
-
|
|
860
|
+
ao(a) {
|
|
843
861
|
let b = this.targetGrid.bb.i.count;
|
|
844
862
|
for (let c = 0; c < b; c++) {
|
|
845
863
|
let d = this.targetGrid.bb.i.item(c);
|
|
@@ -856,7 +874,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
856
874
|
}
|
|
857
875
|
}
|
|
858
876
|
}
|
|
859
|
-
|
|
877
|
+
a1(a) {
|
|
860
878
|
let b = this.targetGrid.bb.i.count;
|
|
861
879
|
for (let c = 0; c < b; c++) {
|
|
862
880
|
let d = this.targetGrid.bb.i.item(c);
|
|
@@ -866,7 +884,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
866
884
|
}
|
|
867
885
|
}
|
|
868
886
|
}
|
|
869
|
-
|
|
887
|
+
a2(a, b) {
|
|
870
888
|
let c = this.targetGrid.bb.i.count;
|
|
871
889
|
let d = null;
|
|
872
890
|
for (let e = 0; e < c; e++) {
|
|
@@ -878,11 +896,11 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
878
896
|
}
|
|
879
897
|
this.targetGrid.bb.i.insert(b, d);
|
|
880
898
|
}
|
|
881
|
-
|
|
882
|
-
this.d.
|
|
899
|
+
a7(a, b) {
|
|
900
|
+
this.d.ac();
|
|
883
901
|
}
|
|
884
|
-
|
|
885
|
-
this.d.
|
|
902
|
+
a6(a, b) {
|
|
903
|
+
this.d.ac();
|
|
886
904
|
}
|
|
887
905
|
exportVisualModel() {
|
|
888
906
|
return this.a();
|
|
@@ -893,7 +911,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
893
911
|
}
|
|
894
912
|
a() {
|
|
895
913
|
let a = new ColumnGroupingVisualModelExport();
|
|
896
|
-
let b = this.d.
|
|
914
|
+
let b = this.d.v;
|
|
897
915
|
a.d = new List$1(IconVisualModelExport.$, 0);
|
|
898
916
|
a.c = new List$1(TextVisualModelExport.$, 0);
|
|
899
917
|
a.b = this.i;
|
|
@@ -962,7 +980,7 @@ export let ColumnGrouping = /*@__PURE__*/ (() => {
|
|
|
962
980
|
ColumnGrouping.x = "M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z";
|
|
963
981
|
ColumnGrouping.ac = "M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z";
|
|
964
982
|
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";
|
|
965
|
-
ColumnGrouping.
|
|
983
|
+
ColumnGrouping.ah = "M15,5l-1.41,1.41L18.17,11H2V13h16.17l-4.59,4.59L15,19l7-7L15,5z";
|
|
966
984
|
ColumnGrouping.ad = "M9,19v-2h11v2H9z M9,15v-2h11v2H9z M9,11V9h11v2H9z M7,7V5h13v2H7z M4,5h2v2H4V5z";
|
|
967
985
|
return ColumnGrouping;
|
|
968
986
|
})();
|