igniteui-webcomponents-data-grids 7.1.0-alpha.1 → 7.1.0-alpha.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-data-grids.umd.js +44020 -42109
- package/bundles/igniteui-webcomponents-data-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasCellPresenterBase.js +4 -4
- package/esm2015/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm2015/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm2015/lib/CanvasGridCellBase.js +13 -13
- package/esm2015/lib/CanvasImageCellPresenter.js +7 -7
- package/esm2015/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm2015/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm2015/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/CanvasTextCellPresenter.js +9 -9
- package/esm2015/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm2015/lib/CellPresenterBase.js +25 -25
- package/esm2015/lib/CheckboxListBridge.js +36 -36
- package/esm2015/lib/CheckboxListView_combined.js +416 -411
- package/esm2015/lib/ColumnChooserView_combined.js +13 -13
- package/esm2015/lib/ColumnFilterCondition_combined.js +6915 -5977
- package/esm2015/lib/ColumnGroupingView_combined.js +13 -13
- package/esm2015/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm2015/lib/ContentCellModelHelper.js +5 -5
- package/esm2015/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm2015/lib/DataGridLocaleEn.js +3 -0
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +16 -16
- package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
- package/esm2015/lib/DateTimeCellPresenter.js +8 -8
- package/esm2015/lib/Dragger.js +4 -4
- package/esm2015/lib/EditorCellPresenter.js +21 -21
- package/esm2015/lib/FilterCellPresenter.js +12 -12
- package/esm2015/lib/GridCellBase.js +6 -6
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +5 -5
- package/esm2015/lib/GridExternalWrapper.js +6 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +363 -258
- package/esm2015/lib/GridIconRepository.js +92 -0
- package/esm2015/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm2015/lib/GridStyleRepository.js +6 -3
- package/esm2015/lib/ICheckboxListView.js +11 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
- package/esm2015/lib/ImageCellPresenter.js +7 -7
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +7 -7
- package/esm2015/lib/NumericCellPresenter.js +8 -8
- package/esm2015/lib/PropertyEditorView_combined.js +23 -23
- package/esm2015/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm2015/lib/SummaryCellPresenter.js +6 -6
- package/esm2015/lib/TemplateCellPresenter.js +2 -2
- package/esm2015/lib/TemplateHeader.js +3 -3
- package/esm2015/lib/TemplateHeaderCellModel.js +18 -18
- package/esm2015/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm2015/lib/TextCellPresenter.js +9 -9
- package/esm2015/lib/TextHeaderCell.js +62 -27
- package/esm2015/lib/TextHeaderCellPresenter.js +44 -25
- package/esm2015/lib/igc-cell-info.js +97 -91
- package/esm2015/lib/igc-checkbox-list-component.js +57 -58
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-binding-event-args.js +27 -22
- package/esm2015/lib/igc-data-grid-column-component.js +271 -188
- package/esm2015/lib/igc-data-grid-component.js +135 -0
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +109 -38
- package/esm2015/lib/igc-date-time-cell-info.js +12 -12
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-date-time-column-module.js +2 -0
- package/esm2015/lib/igc-editor-cell-info.js +23 -23
- package/esm2015/lib/igc-filter-cell-info.js +26 -26
- package/esm2015/lib/igc-filter-row-definition-module.js +2 -0
- package/esm2015/lib/igc-image-cell-info.js +6 -6
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-image-column-module.js +2 -0
- package/esm2015/lib/igc-numeric-cell-info.js +26 -26
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-numeric-column-module.js +2 -0
- package/esm2015/lib/igc-row-separator-module.js +2 -0
- package/esm2015/lib/igc-section-header-cell-info.js +6 -6
- package/esm2015/lib/igc-section-header-module.js +2 -0
- package/esm2015/lib/igc-summary-cell-info.js +9 -9
- package/esm2015/lib/igc-template-cell-info.js +2 -2
- package/esm2015/lib/igc-template-column-module.js +2 -0
- package/esm2015/lib/igc-template-header-cell-info.js +2 -2
- package/esm2015/lib/igc-template-header-module.js +2 -0
- package/esm2015/lib/igc-template-section-header-module.js +4 -0
- package/esm2015/lib/igc-text-cell-info.js +2 -2
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm2015/lib/igc-text-column-module.js +2 -0
- package/esm2015/lib/igc-text-header-cell-info.js +74 -24
- package/esm2015/lib/igc-text-header-module.js +2 -0
- package/esm2015/public_api.js +2 -0
- package/esm5/lib/CanvasCellPresenterBase.js +4 -4
- package/esm5/lib/CanvasContentCellModelHelper.js +5 -5
- package/esm5/lib/CanvasDateTimeCellPresenter.js +8 -8
- package/esm5/lib/CanvasGridCellBase.js +13 -13
- package/esm5/lib/CanvasImageCellPresenter.js +7 -7
- package/esm5/lib/CanvasNumericCellPresenter.js +8 -8
- package/esm5/lib/CanvasSectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasSummaryCellPresenter.js +3 -3
- package/esm5/lib/CanvasTemplateCellPresenter.js +2 -2
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/CanvasTextCellPresenter.js +9 -9
- package/esm5/lib/CanvasTextHeaderCellPresenter.js +7 -7
- package/esm5/lib/CellPresenterBase.js +25 -25
- package/esm5/lib/CheckboxListBridge.js +36 -36
- package/esm5/lib/CheckboxListView_combined.js +399 -394
- package/esm5/lib/ColumnChooserView_combined.js +13 -13
- package/esm5/lib/ColumnFilterCondition_combined.js +6922 -5827
- package/esm5/lib/ColumnGroupingView_combined.js +13 -13
- package/esm5/lib/ColumnOptionsIconAlignment.js +9 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +7 -7
- package/esm5/lib/ContentCellModelHelper.js +5 -5
- package/esm5/lib/DataGridCellLayoutPanel.js +14 -14
- package/esm5/lib/DataGridLocaleEn.js +3 -0
- package/esm5/lib/DataGridScrollerKeyboardListener.js +16 -16
- package/esm5/lib/DataGridToolbarView_combined.js +1 -1
- package/esm5/lib/DateTimeCellPresenter.js +8 -8
- package/esm5/lib/Dragger.js +4 -4
- package/esm5/lib/EditorCellPresenter.js +21 -21
- package/esm5/lib/FilterCellPresenter.js +12 -12
- package/esm5/lib/GridCellBase.js +6 -6
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +9 -9
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +7 -7
- package/esm5/lib/GridExpansionIndicatorView_combined.js +5 -5
- package/esm5/lib/GridExternalWrapper.js +6 -6
- package/esm5/lib/GridFilterDialogView_combined.js +377 -244
- package/esm5/lib/GridIconRepository.js +97 -0
- package/esm5/lib/GridSortIndicatorView_combined.js +24 -20
- package/esm5/lib/GridStyleRepository.js +10 -3
- package/esm5/lib/ICheckboxListView.js +11 -0
- package/esm5/lib/ISummaryChooserView_combined.js +7 -7
- package/esm5/lib/ImageCellPresenter.js +7 -7
- package/esm5/lib/MultiColumnComboBoxView_combined.js +7 -7
- package/esm5/lib/NumericCellPresenter.js +8 -8
- package/esm5/lib/PropertyEditorView_combined.js +23 -23
- package/esm5/lib/SectionHeaderCellPresenter.js +9 -9
- package/esm5/lib/SummaryCellPresenter.js +6 -6
- package/esm5/lib/TemplateCellPresenter.js +2 -2
- package/esm5/lib/TemplateHeader.js +3 -3
- package/esm5/lib/TemplateHeaderCellModel.js +17 -17
- package/esm5/lib/TemplateHeaderCellPresenter.js +1 -1
- package/esm5/lib/TextCellPresenter.js +9 -9
- package/esm5/lib/TextHeaderCell.js +62 -27
- package/esm5/lib/TextHeaderCellPresenter.js +44 -25
- package/esm5/lib/igc-cell-info.js +101 -91
- package/esm5/lib/igc-checkbox-list-component.js +57 -58
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-binding-event-args.js +27 -22
- package/esm5/lib/igc-data-grid-column-component.js +311 -188
- package/esm5/lib/igc-data-grid-component.js +177 -0
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +133 -38
- package/esm5/lib/igc-date-time-cell-info.js +12 -12
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-date-time-column-module.js +2 -0
- package/esm5/lib/igc-editor-cell-info.js +23 -23
- package/esm5/lib/igc-filter-cell-info.js +26 -26
- package/esm5/lib/igc-filter-row-definition-module.js +2 -0
- package/esm5/lib/igc-image-cell-info.js +6 -6
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-image-column-module.js +2 -0
- package/esm5/lib/igc-numeric-cell-info.js +26 -26
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-numeric-column-module.js +2 -0
- package/esm5/lib/igc-row-separator-module.js +2 -0
- package/esm5/lib/igc-section-header-cell-info.js +6 -6
- package/esm5/lib/igc-section-header-module.js +2 -0
- package/esm5/lib/igc-summary-cell-info.js +9 -9
- package/esm5/lib/igc-template-cell-info.js +2 -2
- package/esm5/lib/igc-template-column-module.js +2 -0
- package/esm5/lib/igc-template-header-cell-info.js +2 -2
- package/esm5/lib/igc-template-header-module.js +2 -0
- package/esm5/lib/igc-template-section-header-module.js +4 -0
- package/esm5/lib/igc-text-cell-info.js +2 -2
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/igc-text-column-module.js +2 -0
- package/esm5/lib/igc-text-header-cell-info.js +98 -24
- package/esm5/lib/igc-text-header-module.js +2 -0
- package/esm5/public_api.js +2 -0
- package/fesm2015/igniteui-webcomponents-data-grids.js +38809 -37228
- package/fesm5/igniteui-webcomponents-data-grids.js +44020 -42111
- package/lib/CheckboxListView_combined.d.ts +104 -104
- package/lib/ColumnFilterCondition_combined.d.ts +1518 -1434
- package/lib/ColumnOptionsIconAlignment.d.ts +9 -1
- package/lib/DataGridLocaleEn.d.ts +3 -0
- package/lib/GridFilterDialogView_combined.d.ts +100 -80
- package/lib/GridIconRepository.d.ts +44 -0
- package/lib/GridSortIndicatorView_combined.d.ts +5 -4
- package/lib/GridStyleRepository.d.ts +3 -2
- package/lib/ICheckboxListView.d.ts +38 -0
- package/lib/TemplateHeaderCellModel.d.ts +7 -7
- package/lib/igc-cell-info.d.ts +4 -0
- package/lib/igc-data-grid-column-component.d.ts +23 -0
- package/lib/igc-data-grid-component.d.ts +43 -0
- package/lib/igc-data-grid-filter-dialog-component.d.ts +30 -0
- package/lib/igc-text-header-cell-info.d.ts +15 -0
- package/package.json +4 -4
- package/public_api.d.ts +2 -0
|
@@ -60,10 +60,10 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
60
60
|
}
|
|
61
61
|
y() {
|
|
62
62
|
this.x();
|
|
63
|
-
this.b.
|
|
63
|
+
this.b.b7();
|
|
64
64
|
}
|
|
65
65
|
t() {
|
|
66
|
-
this.b.
|
|
66
|
+
this.b.bz(this.l, this.k, this.aa);
|
|
67
67
|
}
|
|
68
68
|
s() {
|
|
69
69
|
if (KeyFrameAnimationFactory.h == null) {
|
|
@@ -80,7 +80,7 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
80
80
|
this.d = null;
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
this.h = (isNaN_(this.b.
|
|
83
|
+
this.h = (isNaN_(this.b.aq) ? this.b.ap : this.b.aq);
|
|
84
84
|
let d = a;
|
|
85
85
|
this.m = d;
|
|
86
86
|
this.n = c;
|
|
@@ -88,18 +88,18 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
88
88
|
this.m.rootWrapper.addClass("ig-filter-icon");
|
|
89
89
|
this.m.rootWrapper.setStyleProperty("cursor", "pointer");
|
|
90
90
|
this.q = this.m.rootWrapper;
|
|
91
|
-
NativeUI.
|
|
91
|
+
NativeUI.ab(this.q, 0);
|
|
92
92
|
let e = this.h;
|
|
93
93
|
let f = Math.round(d.rootWrapper.width());
|
|
94
94
|
let g = Math.round(d.rootWrapper.height());
|
|
95
|
-
let h = this.b.
|
|
96
|
-
let i = this.b.
|
|
95
|
+
let h = this.b.ar * e;
|
|
96
|
+
let i = this.b.ar * e;
|
|
97
97
|
this.x();
|
|
98
98
|
this.l = f;
|
|
99
99
|
this.k = g;
|
|
100
|
-
if (isNaN_(this.b.
|
|
101
|
-
this.b.
|
|
102
|
-
this.h = this.b.
|
|
100
|
+
if (isNaN_(this.b.aq)) {
|
|
101
|
+
this.b.ap = window.devicePixelRatio;
|
|
102
|
+
this.h = this.b.ap;
|
|
103
103
|
}
|
|
104
104
|
this.y();
|
|
105
105
|
}
|
|
@@ -120,10 +120,10 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
120
120
|
this.m.rootWrapper.setStyleProperty("position", "absolute");
|
|
121
121
|
if (this.b.l == 2) {
|
|
122
122
|
this.m.rootWrapper.setStyleProperty("left", "unset");
|
|
123
|
-
this.m.rootWrapper.setStyleProperty("right", this.b.
|
|
123
|
+
this.m.rootWrapper.setStyleProperty("right", this.b.aw + "px");
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
|
-
this.m.rootWrapper.setStyleProperty("left", this.b.
|
|
126
|
+
this.m.rootWrapper.setStyleProperty("left", this.b.av + "px");
|
|
127
127
|
}
|
|
128
128
|
let a = intDivide(this.o.height(), 2) - (this.k / 2);
|
|
129
129
|
this.m.rootWrapper.setStyleProperty("top", a + "px");
|
|
@@ -132,19 +132,19 @@ let GridFilterDialogView = /*@__PURE__*/ (() => {
|
|
|
132
132
|
this.y();
|
|
133
133
|
}
|
|
134
134
|
w(a, b) {
|
|
135
|
-
if (isNaN_(this.b.
|
|
136
|
-
this.b.
|
|
137
|
-
this.h = this.b.
|
|
135
|
+
if (isNaN_(this.b.aq)) {
|
|
136
|
+
this.b.ap = window.devicePixelRatio;
|
|
137
|
+
this.h = this.b.ap;
|
|
138
138
|
}
|
|
139
139
|
this.l = a;
|
|
140
140
|
this.k = b;
|
|
141
141
|
this.y();
|
|
142
142
|
}
|
|
143
143
|
u() {
|
|
144
|
-
if (isNaN_(this.b.
|
|
145
|
-
this.b.
|
|
146
|
-
if (this.h != this.b.
|
|
147
|
-
this.h = this.b.
|
|
144
|
+
if (isNaN_(this.b.aq)) {
|
|
145
|
+
this.b.ap = window.devicePixelRatio;
|
|
146
|
+
if (this.h != this.b.ap) {
|
|
147
|
+
this.h = this.b.ap;
|
|
148
148
|
this.y();
|
|
149
149
|
return;
|
|
150
150
|
}
|
|
@@ -182,7 +182,7 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
182
182
|
e.setStyleProperty("background-color", "#fff");
|
|
183
183
|
e.setStyleProperty("border-radius", "3px");
|
|
184
184
|
e.setStyleProperty("overflow", "auto");
|
|
185
|
-
let g = ElevationHelper.e(12, this.b.
|
|
185
|
+
let g = ElevationHelper.e(12, this.b.cr, this.b.cq, this.b.cp);
|
|
186
186
|
e.setStyleProperty("boxShadow", g);
|
|
187
187
|
e.listen("mousedown", runOn(this, this.o));
|
|
188
188
|
this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
|
|
@@ -301,37 +301,37 @@ let GridFilterDialogPanel = /*@__PURE__*/ (() => {
|
|
|
301
301
|
export { GridFilterDialogPanel };
|
|
302
302
|
let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
303
303
|
class GridFilterDialog extends Base {
|
|
304
|
-
get
|
|
305
|
-
return this.
|
|
304
|
+
get a1() {
|
|
305
|
+
return this.a0;
|
|
306
306
|
}
|
|
307
|
-
set
|
|
308
|
-
this.
|
|
307
|
+
set a1(a) {
|
|
308
|
+
this.a0 = a;
|
|
309
309
|
}
|
|
310
|
-
get
|
|
311
|
-
return this.
|
|
310
|
+
get ai() {
|
|
311
|
+
return this.af;
|
|
312
312
|
}
|
|
313
|
-
set
|
|
314
|
-
let b = this.
|
|
315
|
-
this.
|
|
316
|
-
if (b != this.
|
|
317
|
-
this.
|
|
313
|
+
set ai(a) {
|
|
314
|
+
let b = this.af;
|
|
315
|
+
this.af = a;
|
|
316
|
+
if (b != this.af) {
|
|
317
|
+
this.b6("IsAnimationEnabled", b, this.af);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
get
|
|
321
|
-
return this.
|
|
320
|
+
get aq() {
|
|
321
|
+
return this.an;
|
|
322
322
|
}
|
|
323
|
-
set
|
|
324
|
-
let b = this.
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
323
|
+
set aq(a) {
|
|
324
|
+
let b = this.an;
|
|
325
|
+
this.an = a;
|
|
326
|
+
this.b6("PixelScalingRatio", b, this.an);
|
|
327
327
|
}
|
|
328
|
-
get
|
|
329
|
-
return this.
|
|
328
|
+
get ap() {
|
|
329
|
+
return this.am;
|
|
330
330
|
}
|
|
331
|
-
set
|
|
332
|
-
let b = this.
|
|
333
|
-
this.
|
|
334
|
-
this.
|
|
331
|
+
set ap(a) {
|
|
332
|
+
let b = this.am;
|
|
333
|
+
this.am = a;
|
|
334
|
+
this.b6("ActualPixelScalingRatio", b, this.am);
|
|
335
335
|
}
|
|
336
336
|
get l() {
|
|
337
337
|
return this.j;
|
|
@@ -340,7 +340,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
340
340
|
let b = this.j;
|
|
341
341
|
this.j = a;
|
|
342
342
|
if (b != this.j) {
|
|
343
|
-
this.
|
|
343
|
+
this.b6("IconHorizontalAlignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.j));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
get k() {
|
|
@@ -350,47 +350,47 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
350
350
|
let b = this.i;
|
|
351
351
|
this.i = a;
|
|
352
352
|
if (b != this.i) {
|
|
353
|
-
this.
|
|
353
|
+
this.b6("HeaderTextALignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.i));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
|
-
get
|
|
357
|
-
return this.
|
|
356
|
+
get av() {
|
|
357
|
+
return this.as;
|
|
358
358
|
}
|
|
359
|
-
set
|
|
360
|
-
let b = this.
|
|
361
|
-
this.
|
|
362
|
-
if (b != this.
|
|
363
|
-
this.
|
|
359
|
+
set av(a) {
|
|
360
|
+
let b = this.as;
|
|
361
|
+
this.as = a;
|
|
362
|
+
if (b != this.as) {
|
|
363
|
+
this.b6("CellPaddingLeft", b, this.as);
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
get
|
|
367
|
-
return this.
|
|
366
|
+
get aw() {
|
|
367
|
+
return this.at;
|
|
368
368
|
}
|
|
369
|
-
set
|
|
370
|
-
let b = this.
|
|
371
|
-
this.
|
|
372
|
-
if (b != this.
|
|
373
|
-
this.
|
|
369
|
+
set aw(a) {
|
|
370
|
+
let b = this.at;
|
|
371
|
+
this.at = a;
|
|
372
|
+
if (b != this.at) {
|
|
373
|
+
this.b6("CellPaddingRight", b, this.at);
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
get
|
|
377
|
-
return this.
|
|
376
|
+
get c1() {
|
|
377
|
+
return this.co;
|
|
378
378
|
}
|
|
379
|
-
set
|
|
380
|
-
let b = this.
|
|
381
|
-
this.
|
|
382
|
-
if (b != this.
|
|
383
|
-
this.
|
|
379
|
+
set c1(a) {
|
|
380
|
+
let b = this.co;
|
|
381
|
+
this.co = a;
|
|
382
|
+
if (b != this.co) {
|
|
383
|
+
this.b6("IconColor", b, this.co);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
get
|
|
387
|
-
return this.
|
|
386
|
+
get ar() {
|
|
387
|
+
return this.ao;
|
|
388
388
|
}
|
|
389
|
-
set
|
|
390
|
-
let b = this.
|
|
391
|
-
this.
|
|
392
|
-
if (b != this.
|
|
393
|
-
this.
|
|
389
|
+
set ar(a) {
|
|
390
|
+
let b = this.ao;
|
|
391
|
+
this.ao = a;
|
|
392
|
+
if (b != this.ao) {
|
|
393
|
+
this.b6("ViewSize", b, this.ao);
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
get x() {
|
|
@@ -400,82 +400,142 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
400
400
|
let b = this.w;
|
|
401
401
|
this.w = a;
|
|
402
402
|
if (this.w != b) {
|
|
403
|
-
this.
|
|
403
|
+
this.b6("Theme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.w));
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
get
|
|
407
|
-
return this.
|
|
406
|
+
get ct() {
|
|
407
|
+
return this.cg;
|
|
408
408
|
}
|
|
409
|
-
set
|
|
410
|
-
let b = this.
|
|
411
|
-
this.
|
|
412
|
-
if (b != this.
|
|
413
|
-
this.
|
|
409
|
+
set ct(a) {
|
|
410
|
+
let b = this.cg;
|
|
411
|
+
this.cg = a;
|
|
412
|
+
if (b != this.cg) {
|
|
413
|
+
this.b6("ColumnOptionsBackground", b, this.cg);
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
get
|
|
417
|
-
return this.
|
|
416
|
+
get cz() {
|
|
417
|
+
return this.cm;
|
|
418
418
|
}
|
|
419
|
-
set
|
|
420
|
-
let b = this.
|
|
421
|
-
this.
|
|
422
|
-
if (b != this.
|
|
423
|
-
this.
|
|
419
|
+
set cz(a) {
|
|
420
|
+
let b = this.cm;
|
|
421
|
+
this.cm = a;
|
|
422
|
+
if (b != this.cm) {
|
|
423
|
+
this.b6("ColumnOptionsTextColor", b, this.cm);
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
get
|
|
427
|
-
return this.
|
|
426
|
+
get ab() {
|
|
427
|
+
return this.z;
|
|
428
428
|
}
|
|
429
|
-
set
|
|
430
|
-
let b = this.
|
|
431
|
-
this.
|
|
432
|
-
if (b != this.
|
|
433
|
-
this.
|
|
429
|
+
set ab(a) {
|
|
430
|
+
let b = this.z;
|
|
431
|
+
this.z = a;
|
|
432
|
+
if (b != this.z) {
|
|
433
|
+
this.b6("ColumnOptionsTextStyle", b, this.z);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
get
|
|
437
|
-
return this.
|
|
436
|
+
get cx() {
|
|
437
|
+
return this.ck;
|
|
438
438
|
}
|
|
439
|
-
set
|
|
440
|
-
let b = this.
|
|
441
|
-
this.
|
|
442
|
-
if (b != this.
|
|
443
|
-
this.
|
|
439
|
+
set cx(a) {
|
|
440
|
+
let b = this.ck;
|
|
441
|
+
this.ck = a;
|
|
442
|
+
if (b != this.ck) {
|
|
443
|
+
this.b6("ColumnOptionsHoverBackgroundColor", b, this.ck);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
|
-
get
|
|
447
|
-
return this.
|
|
446
|
+
get c0() {
|
|
447
|
+
return this.cn;
|
|
448
448
|
}
|
|
449
|
-
set
|
|
450
|
-
let b = this.
|
|
451
|
-
this.
|
|
452
|
-
if (b != this.
|
|
453
|
-
this.
|
|
449
|
+
set c0(a) {
|
|
450
|
+
let b = this.cn;
|
|
451
|
+
this.cn = a;
|
|
452
|
+
if (b != this.cn) {
|
|
453
|
+
this.b6("ColumnOptionsToolTipBackgroundColor", b, this.cn);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
get
|
|
457
|
-
return this.
|
|
456
|
+
get cw() {
|
|
457
|
+
return this.cj;
|
|
458
458
|
}
|
|
459
|
-
set
|
|
460
|
-
let b = this.
|
|
461
|
-
this.
|
|
462
|
-
if (b != this.
|
|
463
|
-
this.
|
|
459
|
+
set cw(a) {
|
|
460
|
+
let b = this.cj;
|
|
461
|
+
this.cj = a;
|
|
462
|
+
if (b != this.cj) {
|
|
463
|
+
this.b6("ColumnOptionsHighlightColor", b, this.cj);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
get
|
|
467
|
-
return this.
|
|
466
|
+
get cy() {
|
|
467
|
+
return this.cl;
|
|
468
|
+
}
|
|
469
|
+
set cy(a) {
|
|
470
|
+
let b = this.cl;
|
|
471
|
+
this.cl = a;
|
|
472
|
+
if (b != this.cl) {
|
|
473
|
+
this.b6("ColumnOptionsSeparatorColor", b, this.cl);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
get cu() {
|
|
477
|
+
return this.ch;
|
|
478
|
+
}
|
|
479
|
+
set cu(a) {
|
|
480
|
+
let b = this.ch;
|
|
481
|
+
this.ch = a;
|
|
482
|
+
if (b != this.ch) {
|
|
483
|
+
this.b6("ColumnOptionsGroupHeaderBackground", b, this.ch);
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
get cv() {
|
|
487
|
+
return this.ci;
|
|
488
|
+
}
|
|
489
|
+
set cv(a) {
|
|
490
|
+
let b = this.ci;
|
|
491
|
+
this.ci = a;
|
|
492
|
+
if (b != this.ci) {
|
|
493
|
+
this.b6("ColumnOptionsGroupHeaderTextColor", b, this.ci);
|
|
494
|
+
}
|
|
468
495
|
}
|
|
469
|
-
|
|
470
|
-
this.
|
|
496
|
+
get aa() {
|
|
497
|
+
return this.y;
|
|
498
|
+
}
|
|
499
|
+
set aa(a) {
|
|
500
|
+
let b = this.y;
|
|
501
|
+
this.y = a;
|
|
502
|
+
if (b != this.y) {
|
|
503
|
+
this.b6("ColumnOptionsGroupHeaderTextStyle", b, this.y);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
get cs() {
|
|
507
|
+
return this.cf;
|
|
508
|
+
}
|
|
509
|
+
set cs(a) {
|
|
510
|
+
let b = this.cf;
|
|
511
|
+
this.cf = a;
|
|
512
|
+
if (b != this.cf) {
|
|
513
|
+
this.b6("ColumnOptionsAccentColor", b, this.cf);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
get ax() {
|
|
517
|
+
return this.au;
|
|
518
|
+
}
|
|
519
|
+
set ax(a) {
|
|
520
|
+
let b = this.au;
|
|
521
|
+
this.au = a;
|
|
522
|
+
if (b != this.au) {
|
|
523
|
+
this.b6("ColumnOptionsRowHeight", b, this.au);
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
get aj() {
|
|
527
|
+
return this.v != null ? this.v.bz : false;
|
|
528
|
+
}
|
|
529
|
+
b6(a, b, c) {
|
|
530
|
+
this.b9(a, b, c);
|
|
471
531
|
if (this.propertyChanged != null) {
|
|
472
532
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
473
533
|
}
|
|
474
534
|
}
|
|
475
|
-
|
|
535
|
+
b9(a, b, c) {
|
|
476
536
|
switch (a) {
|
|
477
537
|
case "PixelScalingRatio":
|
|
478
|
-
this.
|
|
538
|
+
this.ap = this.aq;
|
|
479
539
|
break;
|
|
480
540
|
case "ActualPixelScalingRatio":
|
|
481
541
|
this.s.z();
|
|
@@ -495,72 +555,108 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
495
555
|
break;
|
|
496
556
|
case "ColumnOptionsBackground":
|
|
497
557
|
if (this.v != null) {
|
|
498
|
-
this.v.
|
|
499
|
-
this.v.
|
|
558
|
+
this.v.cl = this.ct;
|
|
559
|
+
this.v.cq = this.ct;
|
|
500
560
|
}
|
|
501
561
|
break;
|
|
502
562
|
case "ColumnOptionsTextColor":
|
|
503
563
|
if (this.v != null) {
|
|
504
|
-
this.v.
|
|
505
|
-
this.v.
|
|
506
|
-
this.v.
|
|
507
|
-
this.v.
|
|
508
|
-
this.v.
|
|
509
|
-
this.v.
|
|
564
|
+
this.v.cn = this.cz;
|
|
565
|
+
this.v.cp = this.cz;
|
|
566
|
+
this.v.cb = this.cz;
|
|
567
|
+
this.v.ch = this.cz;
|
|
568
|
+
this.v.ci = this.cz;
|
|
569
|
+
this.v.cj = this.cz;
|
|
570
|
+
}
|
|
571
|
+
break;
|
|
572
|
+
case "ColumnOptionsTextStyle":
|
|
573
|
+
if (this.v != null) {
|
|
574
|
+
this.v.bw = this.ab;
|
|
575
|
+
}
|
|
576
|
+
break;
|
|
577
|
+
case "ColumnOptionsHoverBackgroundColor":
|
|
578
|
+
if (this.v != null) {
|
|
579
|
+
this.v.cg = this.cx;
|
|
580
|
+
}
|
|
581
|
+
break;
|
|
582
|
+
case "ColumnOptionsToolTipBackgroundColor":
|
|
583
|
+
if (this.v != null) {
|
|
584
|
+
this.v.co = this.c0;
|
|
585
|
+
}
|
|
586
|
+
break;
|
|
587
|
+
case "ColumnOptionsHighlightColor":
|
|
588
|
+
if (this.v != null) {
|
|
589
|
+
this.v.cf = this.cw;
|
|
510
590
|
}
|
|
511
591
|
break;
|
|
512
592
|
case "ColumnOptionsSeparatorColor":
|
|
513
593
|
if (this.v != null) {
|
|
514
|
-
this.v.
|
|
594
|
+
this.v.ck = this.cy;
|
|
515
595
|
}
|
|
516
596
|
break;
|
|
517
597
|
case "ColumnOptionsGroupHeaderBackground":
|
|
518
598
|
if (this.v != null) {
|
|
519
|
-
this.v.
|
|
599
|
+
this.v.cc = this.cu;
|
|
520
600
|
}
|
|
521
601
|
break;
|
|
522
602
|
case "ColumnOptionsGroupHeaderTextColor":
|
|
523
603
|
if (this.v != null) {
|
|
524
|
-
this.v.
|
|
604
|
+
this.v.ce = this.cv;
|
|
605
|
+
}
|
|
606
|
+
break;
|
|
607
|
+
case "ColumnOptionsGroupHeaderTextStyle":
|
|
608
|
+
if (this.v != null) {
|
|
609
|
+
this.v.bx = this.aa;
|
|
525
610
|
}
|
|
526
611
|
break;
|
|
527
612
|
case "ColumnOptionsAccentColor":
|
|
528
613
|
if (this.v != null) {
|
|
529
|
-
this.v.
|
|
530
|
-
this.v.
|
|
531
|
-
this.v.
|
|
532
|
-
this.v.
|
|
614
|
+
this.v.b7 = this.cs;
|
|
615
|
+
this.v.b9 = this.cs;
|
|
616
|
+
this.v.ca = this.cs;
|
|
617
|
+
this.v.cr = this.cs;
|
|
618
|
+
}
|
|
619
|
+
break;
|
|
620
|
+
case "ColumnOptionsRowHeight":
|
|
621
|
+
if (this.v != null) {
|
|
622
|
+
this.v.b3 = this.ax;
|
|
533
623
|
}
|
|
534
624
|
break;
|
|
535
625
|
}
|
|
536
626
|
}
|
|
537
627
|
constructor() {
|
|
538
628
|
super();
|
|
539
|
-
this.
|
|
540
|
-
this.
|
|
629
|
+
this.a0 = null;
|
|
630
|
+
this.af = true;
|
|
541
631
|
this.propertyChanged = null;
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
632
|
+
this.an = NaN;
|
|
633
|
+
this.am = 1;
|
|
544
634
|
this.j = 2;
|
|
545
635
|
this.i = 0;
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
636
|
+
this.as = 0;
|
|
637
|
+
this.at = 0;
|
|
638
|
+
this.co = null;
|
|
639
|
+
this.ao = DeviceUtils.g(24);
|
|
550
640
|
this.w = 1;
|
|
551
|
-
this.
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
-
this.
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
641
|
+
this.cg = null;
|
|
642
|
+
this.cm = null;
|
|
643
|
+
this.z = null;
|
|
644
|
+
this.ck = null;
|
|
645
|
+
this.cn = null;
|
|
646
|
+
this.cj = null;
|
|
647
|
+
this.cl = null;
|
|
648
|
+
this.ch = null;
|
|
649
|
+
this.ci = null;
|
|
560
650
|
this.y = null;
|
|
561
|
-
this.
|
|
651
|
+
this.cf = null;
|
|
652
|
+
this.au = -1;
|
|
653
|
+
this.cr = null;
|
|
654
|
+
this.cq = null;
|
|
655
|
+
this.cp = null;
|
|
656
|
+
this.ac = null;
|
|
657
|
+
this.ae = false;
|
|
562
658
|
this.m = null;
|
|
563
|
-
this.
|
|
659
|
+
this.ad = false;
|
|
564
660
|
this.v = null;
|
|
565
661
|
this.f = null;
|
|
566
662
|
this.dialogOpening = null;
|
|
@@ -572,13 +668,13 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
572
668
|
this.renderCompleted = null;
|
|
573
669
|
this.s = new GridFilterDialogView(this);
|
|
574
670
|
this.x = 1;
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
this.
|
|
671
|
+
this.cr = BrushUtil.l(66, 0, 0, 0);
|
|
672
|
+
this.cq = BrushUtil.l(30, 0, 0, 0);
|
|
673
|
+
this.cp = BrushUtil.l(20, 0, 0, 0);
|
|
578
674
|
}
|
|
579
|
-
|
|
675
|
+
ca(a, b, c) {
|
|
580
676
|
this.s.v(a, b, c);
|
|
581
|
-
this.
|
|
677
|
+
this.b3();
|
|
582
678
|
}
|
|
583
679
|
get n() {
|
|
584
680
|
return this.m;
|
|
@@ -587,90 +683,96 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
587
683
|
let b = this.m;
|
|
588
684
|
this.m = a;
|
|
589
685
|
if (this.m != b) {
|
|
590
|
-
this.
|
|
686
|
+
this.b2(b, this.m);
|
|
591
687
|
}
|
|
592
688
|
}
|
|
593
|
-
|
|
594
|
-
this.
|
|
689
|
+
b2(a, b) {
|
|
690
|
+
this.ad = true;
|
|
595
691
|
}
|
|
596
|
-
|
|
692
|
+
b3() {
|
|
597
693
|
NativeUIComponent.av(this.s.p(), 18, (a) => {
|
|
598
694
|
let b = a;
|
|
599
695
|
this.v = b;
|
|
600
|
-
this.v.
|
|
601
|
-
this.v.
|
|
696
|
+
this.v.b2 = 16;
|
|
697
|
+
this.v.b8 = BrushUtil.l(0, 0, 0, 0);
|
|
602
698
|
this.v.v = false;
|
|
603
|
-
this.v.br = runOn(this, this.
|
|
604
|
-
this.v.bp = runOn(this, this.
|
|
605
|
-
this.v.
|
|
699
|
+
this.v.br = runOn(this, this.bt);
|
|
700
|
+
this.v.bp = runOn(this, this.bs);
|
|
701
|
+
this.v.b0 = false;
|
|
606
702
|
this.s.r(this.v);
|
|
607
703
|
this.v.c = this.x;
|
|
608
|
-
this.v.
|
|
609
|
-
this.v.
|
|
610
|
-
this.v.
|
|
611
|
-
this.v.
|
|
612
|
-
this.v.
|
|
613
|
-
this.v.
|
|
614
|
-
this.v.
|
|
615
|
-
this.v.
|
|
616
|
-
this.v.
|
|
617
|
-
this.v.
|
|
618
|
-
this.v.
|
|
619
|
-
this.v.
|
|
620
|
-
this.v.
|
|
621
|
-
this.v.
|
|
622
|
-
this.v.
|
|
623
|
-
this.v.
|
|
704
|
+
this.v.cl = this.ct;
|
|
705
|
+
this.v.cq = this.ct;
|
|
706
|
+
this.v.cn = this.cz;
|
|
707
|
+
this.v.ce = this.cv;
|
|
708
|
+
this.v.cp = this.cz;
|
|
709
|
+
this.v.cb = this.cz;
|
|
710
|
+
this.v.ch = this.cz;
|
|
711
|
+
this.v.ci = this.cz;
|
|
712
|
+
this.v.cj = this.cz;
|
|
713
|
+
this.v.bw = this.ab;
|
|
714
|
+
this.v.cg = this.cx;
|
|
715
|
+
this.v.co = this.c0;
|
|
716
|
+
this.v.cf = this.cw;
|
|
717
|
+
this.v.ck = this.cy;
|
|
718
|
+
this.v.cc = this.cu;
|
|
719
|
+
this.v.bx = this.aa;
|
|
720
|
+
this.v.b7 = this.cs;
|
|
721
|
+
this.v.b9 = this.cs;
|
|
722
|
+
this.v.ca = this.cs;
|
|
723
|
+
this.v.cr = this.cs;
|
|
724
|
+
this.v.b3 = this.ax;
|
|
725
|
+
this.v.b4 = this.n;
|
|
624
726
|
});
|
|
625
727
|
}
|
|
626
|
-
|
|
627
|
-
if (this.
|
|
628
|
-
this.
|
|
629
|
-
this.v.
|
|
728
|
+
bt(a, b) {
|
|
729
|
+
if (this.ad) {
|
|
730
|
+
this.ad = false;
|
|
731
|
+
this.v.b4 = this.n;
|
|
630
732
|
}
|
|
631
733
|
if (this.n != null) {
|
|
632
734
|
if (this.n.grid != null) {
|
|
633
|
-
this.n.grid.
|
|
735
|
+
this.n.grid.we();
|
|
634
736
|
}
|
|
635
|
-
this.n.
|
|
737
|
+
this.n.o5();
|
|
636
738
|
}
|
|
637
739
|
if (this.dialogOpening != null) {
|
|
638
740
|
let c = new GridFilterDialogOpeningEventArgs();
|
|
639
741
|
this.dialogOpening(this, c);
|
|
640
742
|
}
|
|
641
743
|
}
|
|
642
|
-
|
|
643
|
-
if (this.
|
|
644
|
-
this.
|
|
744
|
+
bs(a, b) {
|
|
745
|
+
if (this.ae) {
|
|
746
|
+
this.by();
|
|
645
747
|
}
|
|
646
748
|
}
|
|
647
|
-
|
|
749
|
+
bv(a, b) {
|
|
648
750
|
switch (b.propertyName) {
|
|
649
751
|
case "IsHidden": break;
|
|
650
752
|
}
|
|
651
753
|
}
|
|
652
|
-
|
|
754
|
+
b4() {
|
|
653
755
|
}
|
|
654
|
-
|
|
655
|
-
a.onModified = delegateRemove(a.onModified, runOn(this, this.
|
|
756
|
+
b5(a, b) {
|
|
757
|
+
a.onModified = delegateRemove(a.onModified, runOn(this, this.b8));
|
|
656
758
|
if (b) {
|
|
657
|
-
this.
|
|
759
|
+
this.cc();
|
|
658
760
|
}
|
|
659
761
|
else {
|
|
660
|
-
this.
|
|
762
|
+
this.cb(a, true);
|
|
661
763
|
}
|
|
662
764
|
this.f = null;
|
|
663
765
|
}
|
|
664
|
-
|
|
766
|
+
bw() {
|
|
665
767
|
this.s.s();
|
|
666
|
-
if (this.
|
|
768
|
+
if (this.ac == null) {
|
|
667
769
|
let a = new AnimationKeyFrameEffectTiming();
|
|
668
770
|
a.g = 200;
|
|
669
771
|
a.b = 0;
|
|
670
|
-
this.
|
|
772
|
+
this.ac = KeyFrameAnimationFactory.f.c(this.s.a(a).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
671
773
|
}
|
|
672
774
|
}
|
|
673
|
-
|
|
775
|
+
cd() {
|
|
674
776
|
if (this.filterChanged != null) {
|
|
675
777
|
this.filterChanged(this, ((() => {
|
|
676
778
|
let $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -679,7 +781,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
679
781
|
})()));
|
|
680
782
|
}
|
|
681
783
|
}
|
|
682
|
-
|
|
784
|
+
cc() {
|
|
683
785
|
if (this.filterChanged != null) {
|
|
684
786
|
this.filterChanged(this, ((() => {
|
|
685
787
|
let $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -688,7 +790,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
688
790
|
})()));
|
|
689
791
|
}
|
|
690
792
|
}
|
|
691
|
-
|
|
793
|
+
cb(a, b) {
|
|
692
794
|
let c = this.e(a);
|
|
693
795
|
if (b) {
|
|
694
796
|
if (this.filterChanged != null) {
|
|
@@ -732,7 +834,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
732
834
|
if (e == null) {
|
|
733
835
|
e = b;
|
|
734
836
|
}
|
|
735
|
-
if (this.
|
|
837
|
+
if (this.al(a, a.f._inner[f])) {
|
|
736
838
|
continue;
|
|
737
839
|
}
|
|
738
840
|
e.add(this.d(a.f._inner[f]));
|
|
@@ -742,7 +844,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
742
844
|
}
|
|
743
845
|
return b;
|
|
744
846
|
}
|
|
745
|
-
|
|
847
|
+
al(a, b) {
|
|
746
848
|
let c = 0;
|
|
747
849
|
for (let d = 0; d < b.e.length; d++) {
|
|
748
850
|
if (b.e[d] == b.l) {
|
|
@@ -759,14 +861,14 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
759
861
|
return false;
|
|
760
862
|
}
|
|
761
863
|
g(a, b, c, d) {
|
|
762
|
-
let e = this.
|
|
864
|
+
let e = this.az(c, d);
|
|
763
865
|
if (a > e) {
|
|
764
866
|
b.e();
|
|
765
867
|
return b.d();
|
|
766
868
|
}
|
|
767
869
|
return null;
|
|
768
870
|
}
|
|
769
|
-
|
|
871
|
+
az(a, b) {
|
|
770
872
|
let c = a.c(b);
|
|
771
873
|
if (c == null) {
|
|
772
874
|
return 0;
|
|
@@ -774,7 +876,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
774
876
|
return a.e.indexOf(c);
|
|
775
877
|
}
|
|
776
878
|
h(a, b, c, d) {
|
|
777
|
-
let e = this.
|
|
879
|
+
let e = this.az(c, d);
|
|
778
880
|
if (a < e) {
|
|
779
881
|
let f = c.b(d);
|
|
780
882
|
let g = new ColumnFilterConditionGroup();
|
|
@@ -793,30 +895,30 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
793
895
|
c(a) {
|
|
794
896
|
return EnumUtil.getEnumValue(ColumnComparisonConditionOperatorType_$type, EnumUtil.parse(ColumnComparisonConditionOperatorType_$type, a, true));
|
|
795
897
|
}
|
|
796
|
-
|
|
797
|
-
this.
|
|
898
|
+
b8(a) {
|
|
899
|
+
this.cb(a, false);
|
|
798
900
|
}
|
|
799
901
|
t(a, b) {
|
|
800
902
|
let c = new GridFilterDialogViewModel();
|
|
801
903
|
if (a != null) {
|
|
802
|
-
this.
|
|
904
|
+
this.bu(c, a, b);
|
|
803
905
|
}
|
|
804
906
|
else {
|
|
805
907
|
let d = new GridFilterDialogViewModelRow();
|
|
806
908
|
d.f = b;
|
|
807
909
|
d.e = GridFilterDialog.a(b);
|
|
808
910
|
d.d = GridFilterDialog.b(b);
|
|
809
|
-
d.l = GridFilterDialog.
|
|
911
|
+
d.l = GridFilterDialog.bk(b[0]);
|
|
810
912
|
c.f.add(d);
|
|
811
913
|
}
|
|
812
914
|
return c;
|
|
813
915
|
}
|
|
814
|
-
|
|
916
|
+
bu(a, b, c) {
|
|
815
917
|
if (b.isGroup()) {
|
|
816
918
|
let d = b;
|
|
817
919
|
for (let e = 0; e < d.count; e++) {
|
|
818
920
|
let f = d.item(e);
|
|
819
|
-
this.
|
|
921
|
+
this.bu(a, f, c);
|
|
820
922
|
}
|
|
821
923
|
}
|
|
822
924
|
else {
|
|
@@ -825,24 +927,24 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
825
927
|
}
|
|
826
928
|
u(a, b) {
|
|
827
929
|
let c = new GridFilterDialogViewModelRow();
|
|
828
|
-
c.l = GridFilterDialog.
|
|
930
|
+
c.l = GridFilterDialog.bk(a.operator);
|
|
829
931
|
c.f = b;
|
|
830
932
|
c.e = GridFilterDialog.a(b);
|
|
831
|
-
c.i = GridFilterDialog.
|
|
832
|
-
c.j = GridFilterDialog.
|
|
933
|
+
c.i = GridFilterDialog.a2(GridFilterDialog.ay(a.operator), a.operator, a);
|
|
934
|
+
c.j = GridFilterDialog.a3(GridFilterDialog.ay(a.operator), a.operator, a);
|
|
833
935
|
c.d = GridFilterDialog.b(b);
|
|
834
936
|
return c;
|
|
835
937
|
}
|
|
836
|
-
static
|
|
938
|
+
static ay(a) {
|
|
837
939
|
return ColumnComparisonFilterCondition.getOperandNumber(a);
|
|
838
940
|
}
|
|
839
|
-
static
|
|
941
|
+
static a2(a, b, c) {
|
|
840
942
|
if (a == 0) {
|
|
841
943
|
return "";
|
|
842
944
|
}
|
|
843
945
|
return c.value != null ? c.value.toString() : "";
|
|
844
946
|
}
|
|
845
|
-
static
|
|
947
|
+
static a3(a, b, c) {
|
|
846
948
|
return "";
|
|
847
949
|
}
|
|
848
950
|
static b(a) {
|
|
@@ -855,56 +957,56 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
855
957
|
}
|
|
856
958
|
return b;
|
|
857
959
|
}
|
|
858
|
-
static
|
|
960
|
+
static bk(a) {
|
|
859
961
|
return EnumUtil.getName(ColumnComparisonConditionOperatorType_$type, a);
|
|
860
962
|
}
|
|
861
|
-
|
|
963
|
+
b1(a, b) {
|
|
862
964
|
this.s.w(a, b);
|
|
863
965
|
}
|
|
864
|
-
|
|
966
|
+
b0() {
|
|
865
967
|
this.s.u();
|
|
866
968
|
}
|
|
867
|
-
|
|
969
|
+
bz(a, b, c) {
|
|
868
970
|
}
|
|
869
|
-
|
|
870
|
-
this.
|
|
971
|
+
ce() {
|
|
972
|
+
this.ae = false;
|
|
871
973
|
if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
|
|
872
974
|
return;
|
|
873
975
|
}
|
|
874
|
-
if (this.
|
|
875
|
-
this.
|
|
876
|
-
if (this.
|
|
877
|
-
this.
|
|
976
|
+
if (this.ai) {
|
|
977
|
+
this.bw();
|
|
978
|
+
if (this.ac.playbackRate < 0) {
|
|
979
|
+
this.ac.reverse();
|
|
878
980
|
}
|
|
879
981
|
else {
|
|
880
|
-
this.
|
|
982
|
+
this.ac.play();
|
|
881
983
|
}
|
|
882
|
-
this.
|
|
984
|
+
this.ac.finished.f((a) => this.ac.commitStyles());
|
|
883
985
|
}
|
|
884
986
|
else {
|
|
885
|
-
NativeUI.
|
|
987
|
+
NativeUI.ab(this.s.q, 1);
|
|
886
988
|
}
|
|
887
989
|
}
|
|
888
|
-
|
|
889
|
-
this.
|
|
890
|
-
if (!this.
|
|
990
|
+
by() {
|
|
991
|
+
this.ae = true;
|
|
992
|
+
if (!this.aj) {
|
|
891
993
|
if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
|
|
892
994
|
return;
|
|
893
995
|
}
|
|
894
|
-
if (this.
|
|
895
|
-
this.
|
|
896
|
-
if (this.
|
|
897
|
-
this.
|
|
996
|
+
if (this.ai) {
|
|
997
|
+
this.bw();
|
|
998
|
+
if (this.ac.playbackRate < 0) {
|
|
999
|
+
this.ac.play();
|
|
898
1000
|
}
|
|
899
1001
|
else {
|
|
900
|
-
this.
|
|
1002
|
+
this.ac.reverse();
|
|
901
1003
|
}
|
|
902
|
-
this.
|
|
1004
|
+
this.ac.finished.f((a) => this.ac.commitStyles());
|
|
903
1005
|
}
|
|
904
1006
|
else {
|
|
905
|
-
NativeUI.
|
|
1007
|
+
NativeUI.ab(this.s.q, 0);
|
|
906
1008
|
}
|
|
907
|
-
this.
|
|
1009
|
+
this.ae = false;
|
|
908
1010
|
}
|
|
909
1011
|
}
|
|
910
1012
|
get commandCompleted() {
|
|
@@ -919,22 +1021,25 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
919
1021
|
set invalidateActions(a) {
|
|
920
1022
|
this._invalidateActions = a;
|
|
921
1023
|
}
|
|
922
|
-
|
|
1024
|
+
b7() {
|
|
923
1025
|
if (this.renderCompleted != null) {
|
|
924
1026
|
this.renderCompleted(this, new FilterDialogRenderCompletedEventArgs());
|
|
925
1027
|
}
|
|
926
1028
|
}
|
|
927
|
-
|
|
1029
|
+
bx() {
|
|
928
1030
|
if (this.v != null) {
|
|
929
|
-
if (this.n != null && this.v.
|
|
930
|
-
this.v.
|
|
1031
|
+
if (this.n != null && this.v.b4 != this.n) {
|
|
1032
|
+
this.v.b4 = this.n;
|
|
931
1033
|
}
|
|
932
1034
|
}
|
|
933
1035
|
}
|
|
1036
|
+
get ah() {
|
|
1037
|
+
return this.v.b4 != null;
|
|
1038
|
+
}
|
|
934
1039
|
getDesiredToolbarActions() {
|
|
935
|
-
if (!GridFilterDialog.
|
|
936
|
-
GridFilterDialog.
|
|
937
|
-
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.
|
|
1040
|
+
if (!GridFilterDialog.ag) {
|
|
1041
|
+
GridFilterDialog.ag = true;
|
|
1042
|
+
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.bj);
|
|
938
1043
|
}
|
|
939
1044
|
let a = new ToolActionIconMenuInfo();
|
|
940
1045
|
a.name = "DataGridColumnOptionsPlaceholder";
|
|
@@ -969,7 +1074,7 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
969
1074
|
}
|
|
970
1075
|
dismissContextAccessor(a) {
|
|
971
1076
|
}
|
|
972
|
-
|
|
1077
|
+
ak(e_) {
|
|
973
1078
|
let a = e_.originalEvent.srcElement;
|
|
974
1079
|
let b = e_.originalEvent.target;
|
|
975
1080
|
if (this.s.m.rootWrapper.getNativeElement().contains(a) || this.s.m.rootWrapper.getNativeElement().contains(b)) {
|
|
@@ -979,8 +1084,8 @@ let GridFilterDialog = /*@__PURE__*/ (() => {
|
|
|
979
1084
|
}
|
|
980
1085
|
}
|
|
981
1086
|
GridFilterDialog.$t = /*@__PURE__*/ markType(GridFilterDialog, 'GridFilterDialog', Base.$, [INotifyPropertyChanged_$type, IToolbarTarget_$type]);
|
|
982
|
-
GridFilterDialog.
|
|
983
|
-
GridFilterDialog.
|
|
1087
|
+
GridFilterDialog.ag = false;
|
|
1088
|
+
GridFilterDialog.bj = "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";
|
|
984
1089
|
return GridFilterDialog;
|
|
985
1090
|
})();
|
|
986
1091
|
export { GridFilterDialog };
|
|
@@ -992,7 +1097,7 @@ let GridFilterDialogViewModel = /*@__PURE__*/ (() => {
|
|
|
992
1097
|
a.f = b;
|
|
993
1098
|
a.e = GridFilterDialog.a(b);
|
|
994
1099
|
a.d = GridFilterDialog.b(b);
|
|
995
|
-
a.l = GridFilterDialog.
|
|
1100
|
+
a.l = GridFilterDialog.bk(b[0]);
|
|
996
1101
|
this.f.add(a);
|
|
997
1102
|
}
|
|
998
1103
|
constructor() {
|