igniteui-webcomponents-data-grids 7.1.0-alpha.0 → 7.1.0-alpha.1
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-data-grids.umd.js +9702 -8361
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +1 -1
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CellPresenterBase.js +10 -10
- package/esm2015/lib/CheckboxListBridge.js +28 -0
- package/esm2015/lib/CheckboxListView_combined.js +730 -705
- package/esm2015/lib/ColumnChooserView_combined.js +16 -16
- package/esm2015/lib/ColumnFilterCondition_combined.js +5882 -5157
- package/esm2015/lib/ColumnGroupingView_combined.js +15 -15
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +13 -13
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +11 -11
- package/esm2015/lib/EditorCell.js +267 -267
- package/esm2015/lib/EditorCellPresenter.js +15 -15
- package/esm2015/lib/FilterCell.js +261 -261
- package/esm2015/lib/FilterCellPresenter.js +8 -8
- package/esm2015/lib/GridCellBase.js +65 -63
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm2015/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm2015/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm2015/lib/GridExternalWrapper.js +15 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +322 -182
- package/esm2015/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm2015/lib/GridStyleRepository.js +271 -433
- package/esm2015/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +11 -11
- package/esm2015/lib/ImageCell.js +55 -55
- package/esm2015/lib/ImageCellPresenter.js +8 -8
- package/esm2015/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm2015/lib/NativeUIComboFactory.js +1 -1
- package/esm2015/lib/NativeUIGridFactory.js +2 -2
- package/esm2015/lib/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +20 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +34 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +12 -12
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +7 -7
- package/esm2015/lib/TemplateHeaderCell.js +5 -5
- package/esm2015/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm2015/lib/TemplateSectionHeader.js +2 -2
- package/esm2015/lib/TextCell.js +22 -22
- package/esm2015/lib/TextCellPresenter.js +2 -2
- package/esm2015/lib/TextHeaderCell.js +140 -134
- package/esm2015/lib/TextHeaderCellPresenter.js +43 -21
- package/esm2015/lib/TextIconSetConditionalStyle.js +3 -3
- package/esm2015/lib/VerticalSeparatorCell.js +32 -32
- package/esm2015/lib/igc-checkbox-list-component.js +89 -89
- package/esm2015/lib/igc-column-moving-separator-component.js +9 -9
- package/esm2015/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +307 -193
- package/esm2015/lib/igc-data-grid-component.js +106 -2
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +77 -20
- package/esm2015/lib/igc-data-grid-pager-component.js +30 -10
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-definition-base-component.js +129 -129
- package/esm2015/lib/igc-filter-row-definition-component.js +12 -12
- package/esm2015/lib/igc-header-component.js +24 -24
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-section-header-component.js +24 -24
- package/esm2015/lib/igc-summary-row-component.js +24 -24
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-header-cell-info.js +65 -4
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/CanvasCellPresenterBase.js +1 -1
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CellPresenterBase.js +10 -10
- package/esm5/lib/CheckboxListBridge.js +28 -0
- package/esm5/lib/CheckboxListView_combined.js +709 -684
- package/esm5/lib/ColumnChooserView_combined.js +16 -16
- package/esm5/lib/ColumnFilterCondition_combined.js +5860 -5003
- package/esm5/lib/ColumnGroupingView_combined.js +15 -15
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +6 -6
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +18 -15
- package/esm5/lib/DataGridToolbarView_combined.js +13 -13
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +11 -11
- package/esm5/lib/EditorCell.js +256 -256
- package/esm5/lib/EditorCellPresenter.js +15 -15
- package/esm5/lib/FilterCell.js +252 -252
- package/esm5/lib/FilterCellPresenter.js +8 -8
- package/esm5/lib/GridCellBase.js +64 -62
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +17 -17
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnHideOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +15 -15
- package/esm5/lib/GridColumnOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnPinOptionsView_combined.js +4 -4
- package/esm5/lib/GridColumnSortOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +13 -13
- package/esm5/lib/GridExternalWrapper.js +15 -6
- package/esm5/lib/GridFilterDialogView_combined.js +342 -174
- package/esm5/lib/GridSortIndicatorView_combined.js +2 -2
- package/esm5/lib/GridStyleRepository.js +275 -585
- package/esm5/lib/GridStyleRepositoryKeys.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +11 -11
- package/esm5/lib/ImageCell.js +54 -54
- package/esm5/lib/ImageCellPresenter.js +8 -8
- package/esm5/lib/MultiColumnComboBoxUtilities.js +2 -2
- package/esm5/lib/MultiColumnComboBoxView_combined.js +35 -35
- package/esm5/lib/NativeUIComboFactory.js +1 -1
- package/esm5/lib/NativeUIGridFactory.js +2 -2
- package/esm5/lib/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +20 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +35 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +12 -12
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +7 -7
- package/esm5/lib/TemplateHeaderCell.js +5 -5
- package/esm5/lib/TemplateHeaderCellPresenter.js +2 -2
- package/esm5/lib/TemplateSectionHeader.js +2 -2
- package/esm5/lib/TextCell.js +22 -22
- package/esm5/lib/TextCellPresenter.js +2 -2
- package/esm5/lib/TextHeaderCell.js +138 -132
- package/esm5/lib/TextHeaderCellPresenter.js +43 -21
- package/esm5/lib/TextIconSetConditionalStyle.js +4 -3
- package/esm5/lib/VerticalSeparatorCell.js +32 -32
- package/esm5/lib/igc-checkbox-list-component.js +89 -89
- package/esm5/lib/igc-column-moving-separator-component.js +9 -9
- package/esm5/lib/igc-column-resizing-separator-component.js +6 -6
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +355 -193
- package/esm5/lib/igc-data-grid-component.js +147 -3
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +101 -20
- package/esm5/lib/igc-data-grid-pager-component.js +38 -10
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-definition-base-component.js +129 -129
- package/esm5/lib/igc-filter-row-definition-component.js +12 -12
- package/esm5/lib/igc-header-component.js +24 -24
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-section-header-component.js +24 -24
- package/esm5/lib/igc-summary-row-component.js +24 -24
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-header-cell-info.js +93 -4
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +9519 -8340
- package/fesm5/igniteui-webcomponents-data-grids.js +9704 -8364
- package/lib/CheckboxListBridge.d.ts +1 -0
- package/lib/CheckboxListExternal.d.ts +6 -0
- package/lib/CheckboxListView_combined.d.ts +153 -148
- package/lib/ColumnFilterCondition_combined.d.ts +1405 -1268
- package/lib/DataGridScrollerKeyboardListener.d.ts +1 -0
- package/lib/EditorCell.d.ts +51 -51
- package/lib/FilterCell.d.ts +53 -53
- package/lib/GridCellBase.d.ts +21 -19
- package/lib/GridExternalWrapper.d.ts +3 -0
- package/lib/GridFilterDialogView_combined.d.ts +81 -58
- package/lib/GridStyleRepository.d.ts +23 -84
- package/lib/GridStyleRepositoryKeys.d.ts +48 -0
- package/lib/ImageCell.d.ts +14 -14
- package/lib/SectionHeaderCell.d.ts +4 -2
- package/lib/SummaryCell.d.ts +6 -4
- package/lib/TemplateCell.d.ts +3 -3
- package/lib/TemplateHeader.d.ts +3 -3
- package/lib/TemplateHeaderCell.d.ts +2 -2
- package/lib/TemplateSectionHeader.d.ts +2 -2
- package/lib/TextCell.d.ts +4 -4
- package/lib/TextHeaderCell.d.ts +26 -24
- package/lib/VerticalSeparatorCell.d.ts +4 -4
- package/lib/igc-data-grid-column-component.d.ts +54 -0
- package/lib/igc-data-grid-component.d.ts +51 -1
- package/lib/igc-data-grid-filter-dialog-component.d.ts +27 -0
- package/lib/igc-data-grid-pager-component.d.ts +10 -0
- package/lib/igc-text-header-cell-info.d.ts +33 -0
- package/package.json +4 -4
- package/public_api.d.ts +1 -0
|
@@ -16,6 +16,7 @@ import { intDivide, isNaN_ } from "igniteui-webcomponents-core";
|
|
|
16
16
|
import { ElevationHelper } from "igniteui-webcomponents-core";
|
|
17
17
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
18
18
|
import { IToolbarTarget_$type } from "igniteui-webcomponents-core";
|
|
19
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
19
20
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
20
21
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
21
22
|
import { GridFilterDialogOpeningEventArgs } from "./GridFilterDialogOpeningEventArgs";
|
|
@@ -29,8 +30,6 @@ import { GridFilterDialogViewModelGroupingLevel } from "./GridFilterDialogViewMo
|
|
|
29
30
|
import { GridFilterDialogViewModelGrouping } from "./GridFilterDialogViewModelGrouping";
|
|
30
31
|
import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterCondition";
|
|
31
32
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
32
|
-
import { Geometry } from "igniteui-webcomponents-core";
|
|
33
|
-
import { GridStyleRepository } from "./GridStyleRepository";
|
|
34
33
|
import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
|
|
35
34
|
import { ToolActionIconMenuInfo } from "igniteui-webcomponents-core";
|
|
36
35
|
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
@@ -61,10 +60,10 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
61
60
|
}
|
|
62
61
|
y() {
|
|
63
62
|
this.x();
|
|
64
|
-
this.b.
|
|
63
|
+
this.b.bu();
|
|
65
64
|
}
|
|
66
65
|
t() {
|
|
67
|
-
this.b.
|
|
66
|
+
this.b.bm(this.l, this.k, this.aa);
|
|
68
67
|
}
|
|
69
68
|
s() {
|
|
70
69
|
if (KeyFrameAnimationFactory.h == null) {
|
|
@@ -81,7 +80,7 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
81
80
|
this.d = null;
|
|
82
81
|
return;
|
|
83
82
|
}
|
|
84
|
-
this.h = (isNaN_(this.b.
|
|
83
|
+
this.h = (isNaN_(this.b.al) ? this.b.ak : this.b.al);
|
|
85
84
|
let d = a;
|
|
86
85
|
this.m = d;
|
|
87
86
|
this.n = c;
|
|
@@ -93,20 +92,20 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
93
92
|
let e = this.h;
|
|
94
93
|
let f = Math.round(d.rootWrapper.width());
|
|
95
94
|
let g = Math.round(d.rootWrapper.height());
|
|
96
|
-
let h = this.b.
|
|
97
|
-
let i = this.b.
|
|
95
|
+
let h = this.b.am * e;
|
|
96
|
+
let i = this.b.am * e;
|
|
98
97
|
this.x();
|
|
99
98
|
this.l = f;
|
|
100
99
|
this.k = g;
|
|
101
|
-
if (isNaN_(this.b.
|
|
102
|
-
this.b.
|
|
103
|
-
this.h = this.b.
|
|
100
|
+
if (isNaN_(this.b.al)) {
|
|
101
|
+
this.b.ak = window.devicePixelRatio;
|
|
102
|
+
this.h = this.b.ak;
|
|
104
103
|
}
|
|
105
104
|
this.y();
|
|
106
105
|
}
|
|
107
106
|
r(a) {
|
|
108
107
|
let b = a;
|
|
109
|
-
this.m.append(b.
|
|
108
|
+
this.m.append(b.ao);
|
|
110
109
|
}
|
|
111
110
|
p() {
|
|
112
111
|
return this.m;
|
|
@@ -121,10 +120,10 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
121
120
|
this.m.rootWrapper.setStyleProperty("position", "absolute");
|
|
122
121
|
if (this.b.l == 2) {
|
|
123
122
|
this.m.rootWrapper.setStyleProperty("left", "unset");
|
|
124
|
-
this.m.rootWrapper.setStyleProperty("right", this.b.
|
|
123
|
+
this.m.rootWrapper.setStyleProperty("right", this.b.aq + "px");
|
|
125
124
|
}
|
|
126
125
|
else {
|
|
127
|
-
this.m.rootWrapper.setStyleProperty("left", this.b.
|
|
126
|
+
this.m.rootWrapper.setStyleProperty("left", this.b.ap + "px");
|
|
128
127
|
}
|
|
129
128
|
let a = intDivide(this.o.height(), 2) - (this.k / 2);
|
|
130
129
|
this.m.rootWrapper.setStyleProperty("top", a + "px");
|
|
@@ -133,19 +132,19 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
133
132
|
this.y();
|
|
134
133
|
}
|
|
135
134
|
w(a, b) {
|
|
136
|
-
if (isNaN_(this.b.
|
|
137
|
-
this.b.
|
|
138
|
-
this.h = this.b.
|
|
135
|
+
if (isNaN_(this.b.al)) {
|
|
136
|
+
this.b.ak = window.devicePixelRatio;
|
|
137
|
+
this.h = this.b.ak;
|
|
139
138
|
}
|
|
140
139
|
this.l = a;
|
|
141
140
|
this.k = b;
|
|
142
141
|
this.y();
|
|
143
142
|
}
|
|
144
143
|
u() {
|
|
145
|
-
if (isNaN_(this.b.
|
|
146
|
-
this.b.
|
|
147
|
-
if (this.h != this.b.
|
|
148
|
-
this.h = this.b.
|
|
144
|
+
if (isNaN_(this.b.al)) {
|
|
145
|
+
this.b.ak = window.devicePixelRatio;
|
|
146
|
+
if (this.h != this.b.ak) {
|
|
147
|
+
this.h = this.b.ak;
|
|
149
148
|
this.y();
|
|
150
149
|
return;
|
|
151
150
|
}
|
|
@@ -183,7 +182,7 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
183
182
|
e.setStyleProperty("background-color", "#fff");
|
|
184
183
|
e.setStyleProperty("border-radius", "3px");
|
|
185
184
|
e.setStyleProperty("overflow", "auto");
|
|
186
|
-
let g = ElevationHelper.e(12, this.b.
|
|
185
|
+
let g = ElevationHelper.e(12, this.b.cb, this.b.ca, this.b.b9);
|
|
187
186
|
e.setStyleProperty("boxShadow", g);
|
|
188
187
|
e.listen("mousedown", runOn(this, this.o));
|
|
189
188
|
this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
|
|
@@ -197,7 +196,7 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
197
196
|
a.stopPropagation();
|
|
198
197
|
}
|
|
199
198
|
onDocumentKeyDown(a) {
|
|
200
|
-
if (BaseDOMEventProxy.
|
|
199
|
+
if (BaseDOMEventProxy.c4(a) == 8) {
|
|
201
200
|
}
|
|
202
201
|
}
|
|
203
202
|
onDocumentMouseClick(e_) {
|
|
@@ -302,37 +301,37 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
302
301
|
export { GridFilterDialogPanel };
|
|
303
302
|
let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
304
303
|
class GridFilterDialog extends Base {
|
|
305
|
-
get
|
|
306
|
-
return this.
|
|
304
|
+
get au() {
|
|
305
|
+
return this.at;
|
|
307
306
|
}
|
|
308
|
-
set
|
|
309
|
-
this.
|
|
307
|
+
set au(a) {
|
|
308
|
+
this.at = a;
|
|
310
309
|
}
|
|
311
|
-
get
|
|
312
|
-
return this.
|
|
310
|
+
get ad() {
|
|
311
|
+
return this.ab;
|
|
313
312
|
}
|
|
314
|
-
set
|
|
315
|
-
let b = this.
|
|
316
|
-
this.
|
|
317
|
-
if (b != this.
|
|
318
|
-
this.
|
|
313
|
+
set ad(a) {
|
|
314
|
+
let b = this.ab;
|
|
315
|
+
this.ab = a;
|
|
316
|
+
if (b != this.ab) {
|
|
317
|
+
this.bt("IsAnimationEnabled", b, this.ab);
|
|
319
318
|
}
|
|
320
319
|
}
|
|
321
|
-
get
|
|
322
|
-
return this.
|
|
320
|
+
get al() {
|
|
321
|
+
return this.ai;
|
|
323
322
|
}
|
|
324
|
-
set
|
|
325
|
-
let b = this.
|
|
326
|
-
this.
|
|
327
|
-
this.
|
|
323
|
+
set al(a) {
|
|
324
|
+
let b = this.ai;
|
|
325
|
+
this.ai = a;
|
|
326
|
+
this.bt("PixelScalingRatio", b, this.ai);
|
|
328
327
|
}
|
|
329
|
-
get
|
|
330
|
-
return this.
|
|
328
|
+
get ak() {
|
|
329
|
+
return this.ah;
|
|
331
330
|
}
|
|
332
|
-
set
|
|
333
|
-
let b = this.
|
|
334
|
-
this.
|
|
335
|
-
this.
|
|
331
|
+
set ak(a) {
|
|
332
|
+
let b = this.ah;
|
|
333
|
+
this.ah = a;
|
|
334
|
+
this.bt("ActualPixelScalingRatio", b, this.ah);
|
|
336
335
|
}
|
|
337
336
|
get l() {
|
|
338
337
|
return this.j;
|
|
@@ -341,7 +340,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
341
340
|
let b = this.j;
|
|
342
341
|
this.j = a;
|
|
343
342
|
if (b != this.j) {
|
|
344
|
-
this.
|
|
343
|
+
this.bt("IconHorizontalAlignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.j));
|
|
345
344
|
}
|
|
346
345
|
}
|
|
347
346
|
get k() {
|
|
@@ -351,62 +350,132 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
351
350
|
let b = this.i;
|
|
352
351
|
this.i = a;
|
|
353
352
|
if (b != this.i) {
|
|
354
|
-
this.
|
|
353
|
+
this.bt("HeaderTextALignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.i));
|
|
355
354
|
}
|
|
356
355
|
}
|
|
357
|
-
get
|
|
358
|
-
return this.
|
|
356
|
+
get ap() {
|
|
357
|
+
return this.an;
|
|
359
358
|
}
|
|
360
|
-
set
|
|
361
|
-
let b = this.
|
|
362
|
-
this.
|
|
363
|
-
if (b != this.
|
|
364
|
-
this.
|
|
359
|
+
set ap(a) {
|
|
360
|
+
let b = this.an;
|
|
361
|
+
this.an = a;
|
|
362
|
+
if (b != this.an) {
|
|
363
|
+
this.bt("CellPaddingLeft", b, this.an);
|
|
365
364
|
}
|
|
366
365
|
}
|
|
367
|
-
get
|
|
368
|
-
return this.
|
|
366
|
+
get aq() {
|
|
367
|
+
return this.ao;
|
|
369
368
|
}
|
|
370
|
-
set
|
|
371
|
-
let b = this.
|
|
372
|
-
this.
|
|
373
|
-
if (b != this.
|
|
374
|
-
this.
|
|
369
|
+
set aq(a) {
|
|
370
|
+
let b = this.ao;
|
|
371
|
+
this.ao = a;
|
|
372
|
+
if (b != this.ao) {
|
|
373
|
+
this.bt("CellPaddingRight", b, this.ao);
|
|
375
374
|
}
|
|
376
375
|
}
|
|
377
|
-
get
|
|
378
|
-
return this.
|
|
376
|
+
get ci() {
|
|
377
|
+
return this.b8;
|
|
379
378
|
}
|
|
380
|
-
set
|
|
381
|
-
let b = this.
|
|
382
|
-
this.
|
|
383
|
-
if (b != this.
|
|
384
|
-
this.
|
|
379
|
+
set ci(a) {
|
|
380
|
+
let b = this.b8;
|
|
381
|
+
this.b8 = a;
|
|
382
|
+
if (b != this.b8) {
|
|
383
|
+
this.bt("IconColor", b, this.b8);
|
|
385
384
|
}
|
|
386
385
|
}
|
|
387
|
-
get
|
|
388
|
-
return this.
|
|
386
|
+
get am() {
|
|
387
|
+
return this.aj;
|
|
389
388
|
}
|
|
390
|
-
set
|
|
391
|
-
let b = this.
|
|
392
|
-
this.
|
|
393
|
-
if (b != this.
|
|
394
|
-
this.
|
|
389
|
+
set am(a) {
|
|
390
|
+
let b = this.aj;
|
|
391
|
+
this.aj = a;
|
|
392
|
+
if (b != this.aj) {
|
|
393
|
+
this.bt("ViewSize", b, this.aj);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
get x() {
|
|
397
|
+
return this.w;
|
|
398
|
+
}
|
|
399
|
+
set x(a) {
|
|
400
|
+
let b = this.w;
|
|
401
|
+
this.w = a;
|
|
402
|
+
if (this.w != b) {
|
|
403
|
+
this.bt("Theme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.w));
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
get cd() {
|
|
407
|
+
return this.b3;
|
|
408
|
+
}
|
|
409
|
+
set cd(a) {
|
|
410
|
+
let b = this.b3;
|
|
411
|
+
this.b3 = a;
|
|
412
|
+
if (b != this.b3) {
|
|
413
|
+
this.bt("ColumnOptionsBackground", b, this.b3);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
get ch() {
|
|
417
|
+
return this.b7;
|
|
418
|
+
}
|
|
419
|
+
set ch(a) {
|
|
420
|
+
let b = this.b7;
|
|
421
|
+
this.b7 = a;
|
|
422
|
+
if (b != this.b7) {
|
|
423
|
+
this.bt("ColumnOptionsTextColor", b, this.b7);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
get cg() {
|
|
427
|
+
return this.b6;
|
|
428
|
+
}
|
|
429
|
+
set cg(a) {
|
|
430
|
+
let b = this.b6;
|
|
431
|
+
this.b6 = a;
|
|
432
|
+
if (b != this.b6) {
|
|
433
|
+
this.bt("ColumnOptionsSeparatorColor", b, this.b6);
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
get ce() {
|
|
437
|
+
return this.b4;
|
|
438
|
+
}
|
|
439
|
+
set ce(a) {
|
|
440
|
+
let b = this.b4;
|
|
441
|
+
this.b4 = a;
|
|
442
|
+
if (b != this.b4) {
|
|
443
|
+
this.bt("ColumnOptionsGroupHeaderBackground", b, this.b4);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
get cf() {
|
|
447
|
+
return this.b5;
|
|
448
|
+
}
|
|
449
|
+
set cf(a) {
|
|
450
|
+
let b = this.b5;
|
|
451
|
+
this.b5 = a;
|
|
452
|
+
if (b != this.b5) {
|
|
453
|
+
this.bt("ColumnOptionsGroupHeaderTextColor", b, this.b5);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
get cc() {
|
|
457
|
+
return this.b2;
|
|
458
|
+
}
|
|
459
|
+
set cc(a) {
|
|
460
|
+
let b = this.b2;
|
|
461
|
+
this.b2 = a;
|
|
462
|
+
if (b != this.b2) {
|
|
463
|
+
this.bt("ColumnOptionsAccentColor", b, this.b2);
|
|
395
464
|
}
|
|
396
465
|
}
|
|
397
|
-
get
|
|
398
|
-
return this.v != null ? this.v.
|
|
466
|
+
get ae() {
|
|
467
|
+
return this.v != null ? this.v.by : false;
|
|
399
468
|
}
|
|
400
|
-
|
|
401
|
-
this.
|
|
469
|
+
bt(a, b, c) {
|
|
470
|
+
this.bw(a, b, c);
|
|
402
471
|
if (this.propertyChanged != null) {
|
|
403
472
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
404
473
|
}
|
|
405
474
|
}
|
|
406
|
-
|
|
475
|
+
bw(a, b, c) {
|
|
407
476
|
switch (a) {
|
|
408
477
|
case "PixelScalingRatio":
|
|
409
|
-
this.
|
|
478
|
+
this.ak = this.al;
|
|
410
479
|
break;
|
|
411
480
|
case "ActualPixelScalingRatio":
|
|
412
481
|
this.s.z();
|
|
@@ -419,28 +488,79 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
419
488
|
case "ViewSize":
|
|
420
489
|
this.s.z();
|
|
421
490
|
break;
|
|
491
|
+
case "Theme":
|
|
492
|
+
if (this.v != null) {
|
|
493
|
+
this.v.c = this.x;
|
|
494
|
+
}
|
|
495
|
+
break;
|
|
496
|
+
case "ColumnOptionsBackground":
|
|
497
|
+
if (this.v != null) {
|
|
498
|
+
this.v.ch = this.cd;
|
|
499
|
+
this.v.cl = this.cd;
|
|
500
|
+
}
|
|
501
|
+
break;
|
|
502
|
+
case "ColumnOptionsTextColor":
|
|
503
|
+
if (this.v != null) {
|
|
504
|
+
this.v.cj = this.ch;
|
|
505
|
+
this.v.ck = this.ch;
|
|
506
|
+
this.v.b9 = this.ch;
|
|
507
|
+
this.v.cd = this.ch;
|
|
508
|
+
this.v.ce = this.ch;
|
|
509
|
+
this.v.cf = this.ch;
|
|
510
|
+
}
|
|
511
|
+
break;
|
|
512
|
+
case "ColumnOptionsSeparatorColor":
|
|
513
|
+
if (this.v != null) {
|
|
514
|
+
this.v.cg = this.cg;
|
|
515
|
+
}
|
|
516
|
+
break;
|
|
517
|
+
case "ColumnOptionsGroupHeaderBackground":
|
|
518
|
+
if (this.v != null) {
|
|
519
|
+
this.v.ca = this.ce;
|
|
520
|
+
}
|
|
521
|
+
break;
|
|
522
|
+
case "ColumnOptionsGroupHeaderTextColor":
|
|
523
|
+
if (this.v != null) {
|
|
524
|
+
this.v.cc = this.cf;
|
|
525
|
+
}
|
|
526
|
+
break;
|
|
527
|
+
case "ColumnOptionsAccentColor":
|
|
528
|
+
if (this.v != null) {
|
|
529
|
+
this.v.b5 = this.cc;
|
|
530
|
+
this.v.b7 = this.cc;
|
|
531
|
+
this.v.b8 = this.cc;
|
|
532
|
+
this.v.cm = this.cc;
|
|
533
|
+
}
|
|
534
|
+
break;
|
|
422
535
|
}
|
|
423
536
|
}
|
|
424
537
|
constructor() {
|
|
425
538
|
super();
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
539
|
+
this.at = null;
|
|
540
|
+
this.ab = true;
|
|
428
541
|
this.propertyChanged = null;
|
|
429
|
-
this.
|
|
430
|
-
this.
|
|
542
|
+
this.ai = NaN;
|
|
543
|
+
this.ah = 1;
|
|
431
544
|
this.j = 2;
|
|
432
545
|
this.i = 0;
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
546
|
+
this.an = 0;
|
|
547
|
+
this.ao = 0;
|
|
548
|
+
this.b8 = null;
|
|
549
|
+
this.aj = DeviceUtils.g(24);
|
|
550
|
+
this.w = 1;
|
|
551
|
+
this.b3 = null;
|
|
552
|
+
this.b7 = null;
|
|
553
|
+
this.b6 = null;
|
|
554
|
+
this.b4 = null;
|
|
555
|
+
this.b5 = null;
|
|
556
|
+
this.b2 = null;
|
|
557
|
+
this.cb = null;
|
|
558
|
+
this.ca = null;
|
|
559
|
+
this.b9 = null;
|
|
560
|
+
this.y = null;
|
|
561
|
+
this.aa = false;
|
|
442
562
|
this.m = null;
|
|
443
|
-
this.
|
|
563
|
+
this.z = false;
|
|
444
564
|
this.v = null;
|
|
445
565
|
this.f = null;
|
|
446
566
|
this.dialogOpening = null;
|
|
@@ -451,13 +571,14 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
451
571
|
this._invalidateActions = null;
|
|
452
572
|
this.renderCompleted = null;
|
|
453
573
|
this.s = new GridFilterDialogView(this);
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
456
|
-
this.
|
|
574
|
+
this.x = 1;
|
|
575
|
+
this.cb = BrushUtil.l(66, 0, 0, 0);
|
|
576
|
+
this.ca = BrushUtil.l(30, 0, 0, 0);
|
|
577
|
+
this.b9 = BrushUtil.l(20, 0, 0, 0);
|
|
457
578
|
}
|
|
458
|
-
|
|
579
|
+
bx(a, b, c) {
|
|
459
580
|
this.s.v(a, b, c);
|
|
460
|
-
this.
|
|
581
|
+
this.bq();
|
|
461
582
|
}
|
|
462
583
|
get n() {
|
|
463
584
|
return this.m;
|
|
@@ -466,68 +587,90 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
466
587
|
let b = this.m;
|
|
467
588
|
this.m = a;
|
|
468
589
|
if (this.m != b) {
|
|
469
|
-
this.
|
|
590
|
+
this.bp(b, this.m);
|
|
470
591
|
}
|
|
471
592
|
}
|
|
472
|
-
|
|
473
|
-
this.
|
|
593
|
+
bp(a, b) {
|
|
594
|
+
this.z = true;
|
|
474
595
|
}
|
|
475
|
-
|
|
476
|
-
NativeUIComponent.
|
|
596
|
+
bq() {
|
|
597
|
+
NativeUIComponent.av(this.s.p(), 18, (a) => {
|
|
477
598
|
let b = a;
|
|
478
599
|
this.v = b;
|
|
479
|
-
this.v.
|
|
480
|
-
this.v.
|
|
481
|
-
this.v.
|
|
482
|
-
this.v.
|
|
600
|
+
this.v.b1 = 16;
|
|
601
|
+
this.v.b6 = BrushUtil.l(0, 0, 0, 0);
|
|
602
|
+
this.v.v = false;
|
|
603
|
+
this.v.br = runOn(this, this.bg);
|
|
604
|
+
this.v.bp = runOn(this, this.bf);
|
|
605
|
+
this.v.bz = false;
|
|
483
606
|
this.s.r(this.v);
|
|
484
|
-
this.v.c =
|
|
485
|
-
this.v.
|
|
607
|
+
this.v.c = this.x;
|
|
608
|
+
this.v.ch = this.cd;
|
|
609
|
+
this.v.cl = this.cd;
|
|
610
|
+
this.v.cj = this.ch;
|
|
611
|
+
this.v.cc = this.cf;
|
|
612
|
+
this.v.ck = this.ch;
|
|
613
|
+
this.v.b9 = this.ch;
|
|
614
|
+
this.v.cd = this.ch;
|
|
615
|
+
this.v.ce = this.ch;
|
|
616
|
+
this.v.cf = this.ch;
|
|
617
|
+
this.v.cg = this.cg;
|
|
618
|
+
this.v.ca = this.ce;
|
|
619
|
+
this.v.b5 = this.cc;
|
|
620
|
+
this.v.b7 = this.cc;
|
|
621
|
+
this.v.b8 = this.cc;
|
|
622
|
+
this.v.cm = this.cc;
|
|
623
|
+
this.v.b2 = this;
|
|
486
624
|
});
|
|
487
625
|
}
|
|
488
|
-
|
|
489
|
-
if (this.
|
|
490
|
-
this.
|
|
491
|
-
this.v.
|
|
626
|
+
bg(a, b) {
|
|
627
|
+
if (this.z) {
|
|
628
|
+
this.z = false;
|
|
629
|
+
this.v.b2 = this.n;
|
|
492
630
|
}
|
|
493
631
|
if (this.n != null) {
|
|
494
632
|
if (this.n.grid != null) {
|
|
495
|
-
this.n.grid.
|
|
633
|
+
this.n.grid.vt();
|
|
496
634
|
}
|
|
497
|
-
this.n.
|
|
635
|
+
this.n.oh();
|
|
498
636
|
}
|
|
499
637
|
if (this.dialogOpening != null) {
|
|
500
638
|
let c = new GridFilterDialogOpeningEventArgs();
|
|
501
639
|
this.dialogOpening(this, c);
|
|
502
640
|
}
|
|
503
641
|
}
|
|
504
|
-
|
|
642
|
+
bf(a, b) {
|
|
643
|
+
if (this.aa) {
|
|
644
|
+
this.bl();
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
bi(a, b) {
|
|
505
648
|
switch (b.propertyName) {
|
|
506
649
|
case "IsHidden": break;
|
|
507
650
|
}
|
|
508
651
|
}
|
|
509
|
-
|
|
652
|
+
br() {
|
|
510
653
|
}
|
|
511
|
-
|
|
512
|
-
a.onModified = delegateRemove(a.onModified, runOn(this, this.
|
|
654
|
+
bs(a, b) {
|
|
655
|
+
a.onModified = delegateRemove(a.onModified, runOn(this, this.bv));
|
|
513
656
|
if (b) {
|
|
514
|
-
this.
|
|
657
|
+
this.bz();
|
|
515
658
|
}
|
|
516
659
|
else {
|
|
517
|
-
this.
|
|
660
|
+
this.by(a, true);
|
|
518
661
|
}
|
|
519
662
|
this.f = null;
|
|
520
663
|
}
|
|
521
|
-
|
|
664
|
+
bj() {
|
|
522
665
|
this.s.s();
|
|
523
|
-
if (this.
|
|
666
|
+
if (this.y == null) {
|
|
524
667
|
let a = new AnimationKeyFrameEffectTiming();
|
|
525
668
|
a.g = 200;
|
|
526
669
|
a.b = 0;
|
|
527
|
-
this.
|
|
670
|
+
this.y = KeyFrameAnimationFactory.f.c(this.s.a(a).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
528
671
|
}
|
|
529
672
|
}
|
|
530
|
-
|
|
673
|
+
b0() {
|
|
531
674
|
if (this.filterChanged != null) {
|
|
532
675
|
this.filterChanged(this, ((() => {
|
|
533
676
|
let $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -536,7 +679,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
536
679
|
})()));
|
|
537
680
|
}
|
|
538
681
|
}
|
|
539
|
-
|
|
682
|
+
bz() {
|
|
540
683
|
if (this.filterChanged != null) {
|
|
541
684
|
this.filterChanged(this, ((() => {
|
|
542
685
|
let $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -545,7 +688,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
545
688
|
})()));
|
|
546
689
|
}
|
|
547
690
|
}
|
|
548
|
-
|
|
691
|
+
by(a, b) {
|
|
549
692
|
let c = this.e(a);
|
|
550
693
|
if (b) {
|
|
551
694
|
if (this.filterChanged != null) {
|
|
@@ -589,7 +732,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
589
732
|
if (e == null) {
|
|
590
733
|
e = b;
|
|
591
734
|
}
|
|
592
|
-
if (this.
|
|
735
|
+
if (this.ag(a, a.f._inner[f])) {
|
|
593
736
|
continue;
|
|
594
737
|
}
|
|
595
738
|
e.add(this.d(a.f._inner[f]));
|
|
@@ -599,7 +742,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
599
742
|
}
|
|
600
743
|
return b;
|
|
601
744
|
}
|
|
602
|
-
|
|
745
|
+
ag(a, b) {
|
|
603
746
|
let c = 0;
|
|
604
747
|
for (let d = 0; d < b.e.length; d++) {
|
|
605
748
|
if (b.e[d] == b.l) {
|
|
@@ -616,14 +759,14 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
616
759
|
return false;
|
|
617
760
|
}
|
|
618
761
|
g(a, b, c, d) {
|
|
619
|
-
let e = this.
|
|
762
|
+
let e = this.as(c, d);
|
|
620
763
|
if (a > e) {
|
|
621
764
|
b.e();
|
|
622
765
|
return b.d();
|
|
623
766
|
}
|
|
624
767
|
return null;
|
|
625
768
|
}
|
|
626
|
-
|
|
769
|
+
as(a, b) {
|
|
627
770
|
let c = a.c(b);
|
|
628
771
|
if (c == null) {
|
|
629
772
|
return 0;
|
|
@@ -631,7 +774,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
631
774
|
return a.e.indexOf(c);
|
|
632
775
|
}
|
|
633
776
|
h(a, b, c, d) {
|
|
634
|
-
let e = this.
|
|
777
|
+
let e = this.as(c, d);
|
|
635
778
|
if (a < e) {
|
|
636
779
|
let f = c.b(d);
|
|
637
780
|
let g = new ColumnFilterConditionGroup();
|
|
@@ -650,30 +793,30 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
650
793
|
c(a) {
|
|
651
794
|
return EnumUtil.getEnumValue(ColumnComparisonConditionOperatorType_$type, EnumUtil.parse(ColumnComparisonConditionOperatorType_$type, a, true));
|
|
652
795
|
}
|
|
653
|
-
|
|
654
|
-
this.
|
|
796
|
+
bv(a) {
|
|
797
|
+
this.by(a, false);
|
|
655
798
|
}
|
|
656
799
|
t(a, b) {
|
|
657
800
|
let c = new GridFilterDialogViewModel();
|
|
658
801
|
if (a != null) {
|
|
659
|
-
this.
|
|
802
|
+
this.bh(c, a, b);
|
|
660
803
|
}
|
|
661
804
|
else {
|
|
662
805
|
let d = new GridFilterDialogViewModelRow();
|
|
663
806
|
d.f = b;
|
|
664
807
|
d.e = GridFilterDialog.a(b);
|
|
665
808
|
d.d = GridFilterDialog.b(b);
|
|
666
|
-
d.l = GridFilterDialog.
|
|
809
|
+
d.l = GridFilterDialog.a7(b[0]);
|
|
667
810
|
c.f.add(d);
|
|
668
811
|
}
|
|
669
812
|
return c;
|
|
670
813
|
}
|
|
671
|
-
|
|
814
|
+
bh(a, b, c) {
|
|
672
815
|
if (b.isGroup()) {
|
|
673
816
|
let d = b;
|
|
674
817
|
for (let e = 0; e < d.count; e++) {
|
|
675
818
|
let f = d.item(e);
|
|
676
|
-
this.
|
|
819
|
+
this.bh(a, f, c);
|
|
677
820
|
}
|
|
678
821
|
}
|
|
679
822
|
else {
|
|
@@ -682,24 +825,24 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
682
825
|
}
|
|
683
826
|
u(a, b) {
|
|
684
827
|
let c = new GridFilterDialogViewModelRow();
|
|
685
|
-
c.l = GridFilterDialog.
|
|
828
|
+
c.l = GridFilterDialog.a7(a.operator);
|
|
686
829
|
c.f = b;
|
|
687
830
|
c.e = GridFilterDialog.a(b);
|
|
688
|
-
c.i = GridFilterDialog.
|
|
689
|
-
c.j = GridFilterDialog.
|
|
831
|
+
c.i = GridFilterDialog.av(GridFilterDialog.ar(a.operator), a.operator, a);
|
|
832
|
+
c.j = GridFilterDialog.aw(GridFilterDialog.ar(a.operator), a.operator, a);
|
|
690
833
|
c.d = GridFilterDialog.b(b);
|
|
691
834
|
return c;
|
|
692
835
|
}
|
|
693
|
-
static
|
|
836
|
+
static ar(a) {
|
|
694
837
|
return ColumnComparisonFilterCondition.getOperandNumber(a);
|
|
695
838
|
}
|
|
696
|
-
static
|
|
839
|
+
static av(a, b, c) {
|
|
697
840
|
if (a == 0) {
|
|
698
841
|
return "";
|
|
699
842
|
}
|
|
700
843
|
return c.value != null ? c.value.toString() : "";
|
|
701
844
|
}
|
|
702
|
-
static
|
|
845
|
+
static aw(a, b, c) {
|
|
703
846
|
return "";
|
|
704
847
|
}
|
|
705
848
|
static b(a) {
|
|
@@ -712,59 +855,56 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
712
855
|
}
|
|
713
856
|
return b;
|
|
714
857
|
}
|
|
715
|
-
static
|
|
858
|
+
static a7(a) {
|
|
716
859
|
return EnumUtil.getName(ColumnComparisonConditionOperatorType_$type, a);
|
|
717
860
|
}
|
|
718
|
-
|
|
861
|
+
bo(a, b) {
|
|
719
862
|
this.s.w(a, b);
|
|
720
863
|
}
|
|
721
|
-
|
|
864
|
+
bn() {
|
|
722
865
|
this.s.u();
|
|
723
866
|
}
|
|
724
|
-
|
|
725
|
-
let d = Geometry.a("M12 14c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 14 12 14 z M12 8c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 8 12 8z M12 16 c1.1 0 2 0.9 2 2s -0.9 2 -2 2 s-2 -0.9 -2 -2 S10.9 16 12 16z");
|
|
726
|
-
c.an = d;
|
|
727
|
-
c._fill = this.bw == null ? GridStyleRepository.a5 : this.bw;
|
|
867
|
+
bm(a, b, c) {
|
|
728
868
|
}
|
|
729
|
-
|
|
730
|
-
this.
|
|
869
|
+
b1() {
|
|
870
|
+
this.aa = false;
|
|
731
871
|
if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
|
|
732
872
|
return;
|
|
733
873
|
}
|
|
734
|
-
if (this.
|
|
735
|
-
this.
|
|
736
|
-
if (this.
|
|
737
|
-
this.
|
|
874
|
+
if (this.ad) {
|
|
875
|
+
this.bj();
|
|
876
|
+
if (this.y.playbackRate < 0) {
|
|
877
|
+
this.y.reverse();
|
|
738
878
|
}
|
|
739
879
|
else {
|
|
740
|
-
this.
|
|
880
|
+
this.y.play();
|
|
741
881
|
}
|
|
742
|
-
this.
|
|
882
|
+
this.y.finished.f((a) => this.y.commitStyles());
|
|
743
883
|
}
|
|
744
884
|
else {
|
|
745
885
|
NativeUI.y(this.s.q, 1);
|
|
746
886
|
}
|
|
747
887
|
}
|
|
748
|
-
|
|
749
|
-
this.
|
|
750
|
-
if (!this.
|
|
888
|
+
bl() {
|
|
889
|
+
this.aa = true;
|
|
890
|
+
if (!this.ae) {
|
|
751
891
|
if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
|
|
752
892
|
return;
|
|
753
893
|
}
|
|
754
|
-
if (this.
|
|
755
|
-
this.
|
|
756
|
-
if (this.
|
|
757
|
-
this.
|
|
894
|
+
if (this.ad) {
|
|
895
|
+
this.bj();
|
|
896
|
+
if (this.y.playbackRate < 0) {
|
|
897
|
+
this.y.play();
|
|
758
898
|
}
|
|
759
899
|
else {
|
|
760
|
-
this.
|
|
900
|
+
this.y.reverse();
|
|
761
901
|
}
|
|
762
|
-
this.
|
|
902
|
+
this.y.finished.f((a) => this.y.commitStyles());
|
|
763
903
|
}
|
|
764
904
|
else {
|
|
765
905
|
NativeUI.y(this.s.q, 0);
|
|
766
906
|
}
|
|
767
|
-
this.
|
|
907
|
+
this.aa = false;
|
|
768
908
|
}
|
|
769
909
|
}
|
|
770
910
|
get commandCompleted() {
|
|
@@ -779,22 +919,22 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
779
919
|
set invalidateActions(a) {
|
|
780
920
|
this._invalidateActions = a;
|
|
781
921
|
}
|
|
782
|
-
|
|
922
|
+
bu() {
|
|
783
923
|
if (this.renderCompleted != null) {
|
|
784
924
|
this.renderCompleted(this, new FilterDialogRenderCompletedEventArgs());
|
|
785
925
|
}
|
|
786
926
|
}
|
|
787
|
-
|
|
927
|
+
bk() {
|
|
788
928
|
if (this.v != null) {
|
|
789
|
-
if (this.n != null && this.v.
|
|
790
|
-
this.v.
|
|
929
|
+
if (this.n != null && this.v.b2 != this.n) {
|
|
930
|
+
this.v.b2 = this.n;
|
|
791
931
|
}
|
|
792
932
|
}
|
|
793
933
|
}
|
|
794
934
|
getDesiredToolbarActions() {
|
|
795
|
-
if (!GridFilterDialog.
|
|
796
|
-
GridFilterDialog.
|
|
797
|
-
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.
|
|
935
|
+
if (!GridFilterDialog.ac) {
|
|
936
|
+
GridFilterDialog.ac = true;
|
|
937
|
+
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.a6);
|
|
798
938
|
}
|
|
799
939
|
let a = new ToolActionIconMenuInfo();
|
|
800
940
|
a.name = "DataGridColumnOptionsPlaceholder";
|
|
@@ -829,7 +969,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
829
969
|
}
|
|
830
970
|
dismissContextAccessor(a) {
|
|
831
971
|
}
|
|
832
|
-
|
|
972
|
+
af(e_) {
|
|
833
973
|
let a = e_.originalEvent.srcElement;
|
|
834
974
|
let b = e_.originalEvent.target;
|
|
835
975
|
if (this.s.m.rootWrapper.getNativeElement().contains(a) || this.s.m.rootWrapper.getNativeElement().contains(b)) {
|
|
@@ -839,8 +979,8 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
839
979
|
}
|
|
840
980
|
}
|
|
841
981
|
GridFilterDialog.$t = /*@__PURE__*/ markType(GridFilterDialog, 'GridFilterDialog', Base.$, [INotifyPropertyChanged_$type, IToolbarTarget_$type]);
|
|
842
|
-
GridFilterDialog.
|
|
843
|
-
GridFilterDialog.
|
|
982
|
+
GridFilterDialog.ac = false;
|
|
983
|
+
GridFilterDialog.a6 = "M12 14c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 14 12 14 z M12 8c -1.1 0 -2 -0.9 -2 -2 s0.9 -2 2 -2 s2 0.9 2 2 S13.1 8 12 8z M12 16 c1.1 0 2 0.9 2 2s -0.9 2 -2 2 s-2 -0.9 -2 -2 S10.9 16 12 16z";
|
|
844
984
|
return GridFilterDialog;
|
|
845
985
|
})();
|
|
846
986
|
export { GridFilterDialog };
|
|
@@ -852,7 +992,7 @@ let GridFilterDialogViewModel = /*@__PURE__*/ (() => {
|
|
|
852
992
|
a.f = b;
|
|
853
993
|
a.e = GridFilterDialog.a(b);
|
|
854
994
|
a.d = GridFilterDialog.b(b);
|
|
855
|
-
a.l = GridFilterDialog.
|
|
995
|
+
a.l = GridFilterDialog.a7(b[0]);
|
|
856
996
|
this.f.add(a);
|
|
857
997
|
}
|
|
858
998
|
constructor() {
|