igniteui-webcomponents-data-grids 7.0.0 → 7.0.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 +9505 -8241
- 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 +5835 -5150
- package/esm2015/lib/ColumnGroupingView_combined.js +14 -14
- package/esm2015/lib/ColumnPinningView_combined.js +16 -16
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm2015/lib/ContentCellModelHelper.js +3 -3
- package/esm2015/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm2015/lib/DataGridToolbarView_combined.js +12 -12
- package/esm2015/lib/DateTimeCellPresenter.js +2 -2
- package/esm2015/lib/DraggerView.js +3 -3
- 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 +9 -6
- package/esm2015/lib/GridFilterDialogView_combined.js +311 -172
- 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/NumericCell.js +4 -4
- package/esm2015/lib/NumericCellPresenter.js +2 -2
- package/esm2015/lib/PropertyEditorView_combined.js +22 -22
- package/esm2015/lib/SectionHeaderCell.js +8 -8
- package/esm2015/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm2015/lib/SummaryCell.js +25 -25
- package/esm2015/lib/SummaryCellPresenter.js +5 -5
- package/esm2015/lib/TemplateCell.js +11 -11
- 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 +99 -1
- 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 +5822 -5005
- package/esm5/lib/ColumnGroupingView_combined.js +14 -14
- package/esm5/lib/ColumnPinningView_combined.js +16 -16
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +5 -5
- package/esm5/lib/ContentCellModelHelper.js +3 -3
- package/esm5/lib/DataGridScrollerKeyboardListener.js +15 -15
- package/esm5/lib/DataGridToolbarView_combined.js +12 -12
- package/esm5/lib/DateTimeCellPresenter.js +2 -2
- package/esm5/lib/DraggerView.js +3 -3
- 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 +9 -6
- package/esm5/lib/GridFilterDialogView_combined.js +331 -164
- 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/NumericCell.js +4 -4
- package/esm5/lib/NumericCellPresenter.js +2 -2
- package/esm5/lib/PropertyEditorView_combined.js +22 -22
- package/esm5/lib/SectionHeaderCell.js +8 -8
- package/esm5/lib/SectionHeaderCellPresenter.js +2 -2
- package/esm5/lib/SummaryCell.js +26 -26
- package/esm5/lib/SummaryCellPresenter.js +5 -5
- package/esm5/lib/TemplateCell.js +11 -11
- 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 +140 -2
- 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 +9402 -8300
- package/fesm5/igniteui-webcomponents-data-grids.js +9507 -8244
- 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 +1402 -1268
- 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 +1 -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 +2 -2
- package/lib/SummaryCell.d.ts +4 -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 +49 -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
|
@@ -17,6 +17,7 @@ import { intDivide, isNaN_ } from "igniteui-webcomponents-core";
|
|
|
17
17
|
import { ElevationHelper } from "igniteui-webcomponents-core";
|
|
18
18
|
import { BaseDOMEventProxy } from "igniteui-webcomponents-core";
|
|
19
19
|
import { IToolbarTarget_$type } from "igniteui-webcomponents-core";
|
|
20
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
20
21
|
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
21
22
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
22
23
|
import { GridFilterDialogOpeningEventArgs } from "./GridFilterDialogOpeningEventArgs";
|
|
@@ -30,8 +31,6 @@ import { GridFilterDialogViewModelGroupingLevel } from "./GridFilterDialogViewMo
|
|
|
30
31
|
import { GridFilterDialogViewModelGrouping } from "./GridFilterDialogViewModelGrouping";
|
|
31
32
|
import { ColumnComparisonFilterCondition } from "./ColumnComparisonFilterCondition";
|
|
32
33
|
import { ColumnComparisonConditionOperatorType_$type } from "./ColumnComparisonConditionOperatorType";
|
|
33
|
-
import { Geometry } from "igniteui-webcomponents-core";
|
|
34
|
-
import { GridStyleRepository } from "./GridStyleRepository";
|
|
35
34
|
import { FilterDialogRenderCompletedEventArgs } from "./FilterDialogRenderCompletedEventArgs";
|
|
36
35
|
import { ToolActionIconMenuInfo } from "igniteui-webcomponents-core";
|
|
37
36
|
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
@@ -66,10 +65,10 @@ export var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
66
65
|
}
|
|
67
66
|
GridFilterDialogView.prototype.y = function () {
|
|
68
67
|
this.x();
|
|
69
|
-
this.b.
|
|
68
|
+
this.b.bu();
|
|
70
69
|
};
|
|
71
70
|
GridFilterDialogView.prototype.t = function () {
|
|
72
|
-
this.b.
|
|
71
|
+
this.b.bm(this.l, this.k, this.aa);
|
|
73
72
|
};
|
|
74
73
|
GridFilterDialogView.prototype.s = function () {
|
|
75
74
|
if (KeyFrameAnimationFactory.h == null) {
|
|
@@ -86,7 +85,7 @@ export var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
86
85
|
this.d = null;
|
|
87
86
|
return;
|
|
88
87
|
}
|
|
89
|
-
this.h = (isNaN_(this.b.
|
|
88
|
+
this.h = (isNaN_(this.b.al) ? this.b.ak : this.b.al);
|
|
90
89
|
var d = a;
|
|
91
90
|
this.m = d;
|
|
92
91
|
this.n = c;
|
|
@@ -98,14 +97,14 @@ export var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
98
97
|
var e = this.h;
|
|
99
98
|
var f = Math.round(d.rootWrapper.width());
|
|
100
99
|
var g = Math.round(d.rootWrapper.height());
|
|
101
|
-
var h = this.b.
|
|
102
|
-
var i = this.b.
|
|
100
|
+
var h = this.b.am * e;
|
|
101
|
+
var i = this.b.am * e;
|
|
103
102
|
this.x();
|
|
104
103
|
this.l = f;
|
|
105
104
|
this.k = g;
|
|
106
|
-
if (isNaN_(this.b.
|
|
107
|
-
this.b.
|
|
108
|
-
this.h = this.b.
|
|
105
|
+
if (isNaN_(this.b.al)) {
|
|
106
|
+
this.b.ak = window.devicePixelRatio;
|
|
107
|
+
this.h = this.b.ak;
|
|
109
108
|
}
|
|
110
109
|
this.y();
|
|
111
110
|
};
|
|
@@ -126,10 +125,10 @@ export var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
126
125
|
this.m.rootWrapper.setStyleProperty("position", "absolute");
|
|
127
126
|
if (this.b.l == 2) {
|
|
128
127
|
this.m.rootWrapper.setStyleProperty("left", "unset");
|
|
129
|
-
this.m.rootWrapper.setStyleProperty("right", this.b.
|
|
128
|
+
this.m.rootWrapper.setStyleProperty("right", this.b.aq + "px");
|
|
130
129
|
}
|
|
131
130
|
else {
|
|
132
|
-
this.m.rootWrapper.setStyleProperty("left", this.b.
|
|
131
|
+
this.m.rootWrapper.setStyleProperty("left", this.b.ap + "px");
|
|
133
132
|
}
|
|
134
133
|
var a = intDivide(this.o.height(), 2) - (this.k / 2);
|
|
135
134
|
this.m.rootWrapper.setStyleProperty("top", a + "px");
|
|
@@ -138,19 +137,19 @@ export var GridFilterDialogView = /** @class */ /*@__PURE__*/ (function (_super)
|
|
|
138
137
|
this.y();
|
|
139
138
|
};
|
|
140
139
|
GridFilterDialogView.prototype.w = function (a, b) {
|
|
141
|
-
if (isNaN_(this.b.
|
|
142
|
-
this.b.
|
|
143
|
-
this.h = this.b.
|
|
140
|
+
if (isNaN_(this.b.al)) {
|
|
141
|
+
this.b.ak = window.devicePixelRatio;
|
|
142
|
+
this.h = this.b.ak;
|
|
144
143
|
}
|
|
145
144
|
this.l = a;
|
|
146
145
|
this.k = b;
|
|
147
146
|
this.y();
|
|
148
147
|
};
|
|
149
148
|
GridFilterDialogView.prototype.u = function () {
|
|
150
|
-
if (isNaN_(this.b.
|
|
151
|
-
this.b.
|
|
152
|
-
if (this.h != this.b.
|
|
153
|
-
this.h = this.b.
|
|
149
|
+
if (isNaN_(this.b.al)) {
|
|
150
|
+
this.b.ak = window.devicePixelRatio;
|
|
151
|
+
if (this.h != this.b.ak) {
|
|
152
|
+
this.h = this.b.ak;
|
|
154
153
|
this.y();
|
|
155
154
|
return;
|
|
156
155
|
}
|
|
@@ -189,7 +188,7 @@ export var GridFilterDialogPanel = /** @class */ /*@__PURE__*/ (function (_super
|
|
|
189
188
|
e.setStyleProperty("background-color", "#fff");
|
|
190
189
|
e.setStyleProperty("border-radius", "3px");
|
|
191
190
|
e.setStyleProperty("overflow", "auto");
|
|
192
|
-
var g = ElevationHelper.e(12, _this.b.
|
|
191
|
+
var g = ElevationHelper.e(12, _this.b.cb, _this.b.ca, _this.b.b9);
|
|
193
192
|
e.setStyleProperty("boxShadow", g);
|
|
194
193
|
e.listen("mousedown", runOn(_this, _this.o));
|
|
195
194
|
_this.onDocumentKeyDown = _this.onDocumentKeyDown.bind(_this);
|
|
@@ -313,24 +312,31 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
313
312
|
__extends(GridFilterDialog, _super);
|
|
314
313
|
function GridFilterDialog() {
|
|
315
314
|
var _this = _super.call(this) || this;
|
|
316
|
-
_this.
|
|
317
|
-
_this.
|
|
315
|
+
_this.at = null;
|
|
316
|
+
_this.ab = true;
|
|
318
317
|
_this.propertyChanged = null;
|
|
319
|
-
_this.
|
|
320
|
-
_this.
|
|
318
|
+
_this.ai = NaN;
|
|
319
|
+
_this.ah = 1;
|
|
321
320
|
_this.j = 2;
|
|
322
321
|
_this.i = 0;
|
|
323
|
-
_this.
|
|
324
|
-
_this.
|
|
325
|
-
_this.
|
|
326
|
-
_this.
|
|
327
|
-
_this.
|
|
328
|
-
_this.
|
|
329
|
-
_this.
|
|
330
|
-
_this.
|
|
331
|
-
_this.
|
|
322
|
+
_this.an = 0;
|
|
323
|
+
_this.ao = 0;
|
|
324
|
+
_this.b8 = null;
|
|
325
|
+
_this.aj = DeviceUtils.g(24);
|
|
326
|
+
_this.w = 1;
|
|
327
|
+
_this.b3 = null;
|
|
328
|
+
_this.b7 = null;
|
|
329
|
+
_this.b6 = null;
|
|
330
|
+
_this.b4 = null;
|
|
331
|
+
_this.b5 = null;
|
|
332
|
+
_this.b2 = null;
|
|
333
|
+
_this.cb = null;
|
|
334
|
+
_this.ca = null;
|
|
335
|
+
_this.b9 = null;
|
|
336
|
+
_this.y = null;
|
|
337
|
+
_this.aa = false;
|
|
332
338
|
_this.m = null;
|
|
333
|
-
_this.
|
|
339
|
+
_this.z = false;
|
|
334
340
|
_this.v = null;
|
|
335
341
|
_this.f = null;
|
|
336
342
|
_this.dialogOpening = null;
|
|
@@ -341,55 +347,56 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
341
347
|
_this._invalidateActions = null;
|
|
342
348
|
_this.renderCompleted = null;
|
|
343
349
|
_this.s = new GridFilterDialogView(_this);
|
|
344
|
-
_this.
|
|
345
|
-
_this.
|
|
346
|
-
_this.
|
|
350
|
+
_this.x = 1;
|
|
351
|
+
_this.cb = BrushUtil.l(66, 0, 0, 0);
|
|
352
|
+
_this.ca = BrushUtil.l(30, 0, 0, 0);
|
|
353
|
+
_this.b9 = BrushUtil.l(20, 0, 0, 0);
|
|
347
354
|
return _this;
|
|
348
355
|
}
|
|
349
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
356
|
+
Object.defineProperty(GridFilterDialog.prototype, "au", {
|
|
350
357
|
get: function () {
|
|
351
|
-
return this.
|
|
358
|
+
return this.at;
|
|
352
359
|
},
|
|
353
360
|
set: function (a) {
|
|
354
|
-
this.
|
|
361
|
+
this.at = a;
|
|
355
362
|
},
|
|
356
363
|
enumerable: false,
|
|
357
364
|
configurable: true
|
|
358
365
|
});
|
|
359
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
366
|
+
Object.defineProperty(GridFilterDialog.prototype, "ad", {
|
|
360
367
|
get: function () {
|
|
361
|
-
return this.
|
|
368
|
+
return this.ab;
|
|
362
369
|
},
|
|
363
370
|
set: function (a) {
|
|
364
|
-
var b = this.
|
|
365
|
-
this.
|
|
366
|
-
if (b != this.
|
|
367
|
-
this.
|
|
371
|
+
var b = this.ab;
|
|
372
|
+
this.ab = a;
|
|
373
|
+
if (b != this.ab) {
|
|
374
|
+
this.bt("IsAnimationEnabled", b, this.ab);
|
|
368
375
|
}
|
|
369
376
|
},
|
|
370
377
|
enumerable: false,
|
|
371
378
|
configurable: true
|
|
372
379
|
});
|
|
373
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
380
|
+
Object.defineProperty(GridFilterDialog.prototype, "al", {
|
|
374
381
|
get: function () {
|
|
375
|
-
return this.
|
|
382
|
+
return this.ai;
|
|
376
383
|
},
|
|
377
384
|
set: function (a) {
|
|
378
|
-
var b = this.
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
385
|
+
var b = this.ai;
|
|
386
|
+
this.ai = a;
|
|
387
|
+
this.bt("PixelScalingRatio", b, this.ai);
|
|
381
388
|
},
|
|
382
389
|
enumerable: false,
|
|
383
390
|
configurable: true
|
|
384
391
|
});
|
|
385
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
392
|
+
Object.defineProperty(GridFilterDialog.prototype, "ak", {
|
|
386
393
|
get: function () {
|
|
387
|
-
return this.
|
|
394
|
+
return this.ah;
|
|
388
395
|
},
|
|
389
396
|
set: function (a) {
|
|
390
|
-
var b = this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
397
|
+
var b = this.ah;
|
|
398
|
+
this.ah = a;
|
|
399
|
+
this.bt("ActualPixelScalingRatio", b, this.ah);
|
|
393
400
|
},
|
|
394
401
|
enumerable: false,
|
|
395
402
|
configurable: true
|
|
@@ -402,7 +409,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
402
409
|
var b = this.j;
|
|
403
410
|
this.j = a;
|
|
404
411
|
if (b != this.j) {
|
|
405
|
-
this.
|
|
412
|
+
this.bt("IconHorizontalAlignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.j));
|
|
406
413
|
}
|
|
407
414
|
},
|
|
408
415
|
enumerable: false,
|
|
@@ -416,85 +423,183 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
416
423
|
var b = this.i;
|
|
417
424
|
this.i = a;
|
|
418
425
|
if (b != this.i) {
|
|
419
|
-
this.
|
|
426
|
+
this.bt("HeaderTextALignment", enumGetBox(CellContentHorizontalAlignment_$type, b), enumGetBox(CellContentHorizontalAlignment_$type, this.i));
|
|
420
427
|
}
|
|
421
428
|
},
|
|
422
429
|
enumerable: false,
|
|
423
430
|
configurable: true
|
|
424
431
|
});
|
|
425
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
432
|
+
Object.defineProperty(GridFilterDialog.prototype, "ap", {
|
|
426
433
|
get: function () {
|
|
427
|
-
return this.
|
|
434
|
+
return this.an;
|
|
428
435
|
},
|
|
429
436
|
set: function (a) {
|
|
430
|
-
var b = this.
|
|
431
|
-
this.
|
|
432
|
-
if (b != this.
|
|
433
|
-
this.
|
|
437
|
+
var b = this.an;
|
|
438
|
+
this.an = a;
|
|
439
|
+
if (b != this.an) {
|
|
440
|
+
this.bt("CellPaddingLeft", b, this.an);
|
|
434
441
|
}
|
|
435
442
|
},
|
|
436
443
|
enumerable: false,
|
|
437
444
|
configurable: true
|
|
438
445
|
});
|
|
439
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
446
|
+
Object.defineProperty(GridFilterDialog.prototype, "aq", {
|
|
440
447
|
get: function () {
|
|
441
|
-
return this.
|
|
448
|
+
return this.ao;
|
|
442
449
|
},
|
|
443
450
|
set: function (a) {
|
|
444
|
-
var b = this.
|
|
445
|
-
this.
|
|
446
|
-
if (b != this.
|
|
447
|
-
this.
|
|
451
|
+
var b = this.ao;
|
|
452
|
+
this.ao = a;
|
|
453
|
+
if (b != this.ao) {
|
|
454
|
+
this.bt("CellPaddingRight", b, this.ao);
|
|
448
455
|
}
|
|
449
456
|
},
|
|
450
457
|
enumerable: false,
|
|
451
458
|
configurable: true
|
|
452
459
|
});
|
|
453
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
460
|
+
Object.defineProperty(GridFilterDialog.prototype, "ci", {
|
|
454
461
|
get: function () {
|
|
455
|
-
return this.
|
|
462
|
+
return this.b8;
|
|
456
463
|
},
|
|
457
464
|
set: function (a) {
|
|
458
|
-
var b = this.
|
|
459
|
-
this.
|
|
460
|
-
if (b != this.
|
|
461
|
-
this.
|
|
465
|
+
var b = this.b8;
|
|
466
|
+
this.b8 = a;
|
|
467
|
+
if (b != this.b8) {
|
|
468
|
+
this.bt("IconColor", b, this.b8);
|
|
462
469
|
}
|
|
463
470
|
},
|
|
464
471
|
enumerable: false,
|
|
465
472
|
configurable: true
|
|
466
473
|
});
|
|
467
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
474
|
+
Object.defineProperty(GridFilterDialog.prototype, "am", {
|
|
468
475
|
get: function () {
|
|
469
|
-
return this.
|
|
476
|
+
return this.aj;
|
|
470
477
|
},
|
|
471
478
|
set: function (a) {
|
|
472
|
-
var b = this.
|
|
473
|
-
this.
|
|
474
|
-
if (b != this.
|
|
475
|
-
this.
|
|
479
|
+
var b = this.aj;
|
|
480
|
+
this.aj = a;
|
|
481
|
+
if (b != this.aj) {
|
|
482
|
+
this.bt("ViewSize", b, this.aj);
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
enumerable: false,
|
|
486
|
+
configurable: true
|
|
487
|
+
});
|
|
488
|
+
Object.defineProperty(GridFilterDialog.prototype, "x", {
|
|
489
|
+
get: function () {
|
|
490
|
+
return this.w;
|
|
491
|
+
},
|
|
492
|
+
set: function (a) {
|
|
493
|
+
var b = this.w;
|
|
494
|
+
this.w = a;
|
|
495
|
+
if (this.w != b) {
|
|
496
|
+
this.bt("Theme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.w));
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
enumerable: false,
|
|
500
|
+
configurable: true
|
|
501
|
+
});
|
|
502
|
+
Object.defineProperty(GridFilterDialog.prototype, "cd", {
|
|
503
|
+
get: function () {
|
|
504
|
+
return this.b3;
|
|
505
|
+
},
|
|
506
|
+
set: function (a) {
|
|
507
|
+
var b = this.b3;
|
|
508
|
+
this.b3 = a;
|
|
509
|
+
if (b != this.b3) {
|
|
510
|
+
this.bt("ColumnOptionsBackground", b, this.b3);
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
enumerable: false,
|
|
514
|
+
configurable: true
|
|
515
|
+
});
|
|
516
|
+
Object.defineProperty(GridFilterDialog.prototype, "ch", {
|
|
517
|
+
get: function () {
|
|
518
|
+
return this.b7;
|
|
519
|
+
},
|
|
520
|
+
set: function (a) {
|
|
521
|
+
var b = this.b7;
|
|
522
|
+
this.b7 = a;
|
|
523
|
+
if (b != this.b7) {
|
|
524
|
+
this.bt("ColumnOptionsTextColor", b, this.b7);
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
enumerable: false,
|
|
528
|
+
configurable: true
|
|
529
|
+
});
|
|
530
|
+
Object.defineProperty(GridFilterDialog.prototype, "cg", {
|
|
531
|
+
get: function () {
|
|
532
|
+
return this.b6;
|
|
533
|
+
},
|
|
534
|
+
set: function (a) {
|
|
535
|
+
var b = this.b6;
|
|
536
|
+
this.b6 = a;
|
|
537
|
+
if (b != this.b6) {
|
|
538
|
+
this.bt("ColumnOptionsSeparatorColor", b, this.b6);
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
enumerable: false,
|
|
542
|
+
configurable: true
|
|
543
|
+
});
|
|
544
|
+
Object.defineProperty(GridFilterDialog.prototype, "ce", {
|
|
545
|
+
get: function () {
|
|
546
|
+
return this.b4;
|
|
547
|
+
},
|
|
548
|
+
set: function (a) {
|
|
549
|
+
var b = this.b4;
|
|
550
|
+
this.b4 = a;
|
|
551
|
+
if (b != this.b4) {
|
|
552
|
+
this.bt("ColumnOptionsGroupHeaderBackground", b, this.b4);
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
enumerable: false,
|
|
556
|
+
configurable: true
|
|
557
|
+
});
|
|
558
|
+
Object.defineProperty(GridFilterDialog.prototype, "cf", {
|
|
559
|
+
get: function () {
|
|
560
|
+
return this.b5;
|
|
561
|
+
},
|
|
562
|
+
set: function (a) {
|
|
563
|
+
var b = this.b5;
|
|
564
|
+
this.b5 = a;
|
|
565
|
+
if (b != this.b5) {
|
|
566
|
+
this.bt("ColumnOptionsGroupHeaderTextColor", b, this.b5);
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
enumerable: false,
|
|
570
|
+
configurable: true
|
|
571
|
+
});
|
|
572
|
+
Object.defineProperty(GridFilterDialog.prototype, "cc", {
|
|
573
|
+
get: function () {
|
|
574
|
+
return this.b2;
|
|
575
|
+
},
|
|
576
|
+
set: function (a) {
|
|
577
|
+
var b = this.b2;
|
|
578
|
+
this.b2 = a;
|
|
579
|
+
if (b != this.b2) {
|
|
580
|
+
this.bt("ColumnOptionsAccentColor", b, this.b2);
|
|
476
581
|
}
|
|
477
582
|
},
|
|
478
583
|
enumerable: false,
|
|
479
584
|
configurable: true
|
|
480
585
|
});
|
|
481
|
-
Object.defineProperty(GridFilterDialog.prototype, "
|
|
586
|
+
Object.defineProperty(GridFilterDialog.prototype, "ae", {
|
|
482
587
|
get: function () {
|
|
483
588
|
return this.v != null ? this.v.bx : false;
|
|
484
589
|
},
|
|
485
590
|
enumerable: false,
|
|
486
591
|
configurable: true
|
|
487
592
|
});
|
|
488
|
-
GridFilterDialog.prototype.
|
|
489
|
-
this.
|
|
593
|
+
GridFilterDialog.prototype.bt = function (a, b, c) {
|
|
594
|
+
this.bw(a, b, c);
|
|
490
595
|
if (this.propertyChanged != null) {
|
|
491
596
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
492
597
|
}
|
|
493
598
|
};
|
|
494
|
-
GridFilterDialog.prototype.
|
|
599
|
+
GridFilterDialog.prototype.bw = function (a, b, c) {
|
|
495
600
|
switch (a) {
|
|
496
601
|
case "PixelScalingRatio":
|
|
497
|
-
this.
|
|
602
|
+
this.ak = this.al;
|
|
498
603
|
break;
|
|
499
604
|
case "ActualPixelScalingRatio":
|
|
500
605
|
this.s.z();
|
|
@@ -507,11 +612,55 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
507
612
|
case "ViewSize":
|
|
508
613
|
this.s.z();
|
|
509
614
|
break;
|
|
615
|
+
case "Theme":
|
|
616
|
+
if (this.v != null) {
|
|
617
|
+
this.v.c = this.x;
|
|
618
|
+
}
|
|
619
|
+
break;
|
|
620
|
+
case "ColumnOptionsBackground":
|
|
621
|
+
if (this.v != null) {
|
|
622
|
+
this.v.cg = this.cd;
|
|
623
|
+
this.v.ck = this.cd;
|
|
624
|
+
}
|
|
625
|
+
break;
|
|
626
|
+
case "ColumnOptionsTextColor":
|
|
627
|
+
if (this.v != null) {
|
|
628
|
+
this.v.ci = this.ch;
|
|
629
|
+
this.v.cj = this.ch;
|
|
630
|
+
this.v.b8 = this.ch;
|
|
631
|
+
this.v.cc = this.ch;
|
|
632
|
+
this.v.cd = this.ch;
|
|
633
|
+
this.v.ce = this.ch;
|
|
634
|
+
}
|
|
635
|
+
break;
|
|
636
|
+
case "ColumnOptionsSeparatorColor":
|
|
637
|
+
if (this.v != null) {
|
|
638
|
+
this.v.cf = this.cg;
|
|
639
|
+
}
|
|
640
|
+
break;
|
|
641
|
+
case "ColumnOptionsGroupHeaderBackground":
|
|
642
|
+
if (this.v != null) {
|
|
643
|
+
this.v.b9 = this.ce;
|
|
644
|
+
}
|
|
645
|
+
break;
|
|
646
|
+
case "ColumnOptionsGroupHeaderTextColor":
|
|
647
|
+
if (this.v != null) {
|
|
648
|
+
this.v.cb = this.cf;
|
|
649
|
+
}
|
|
650
|
+
break;
|
|
651
|
+
case "ColumnOptionsAccentColor":
|
|
652
|
+
if (this.v != null) {
|
|
653
|
+
this.v.b4 = this.cc;
|
|
654
|
+
this.v.b6 = this.cc;
|
|
655
|
+
this.v.b7 = this.cc;
|
|
656
|
+
this.v.cl = this.cc;
|
|
657
|
+
}
|
|
658
|
+
break;
|
|
510
659
|
}
|
|
511
660
|
};
|
|
512
|
-
GridFilterDialog.prototype.
|
|
661
|
+
GridFilterDialog.prototype.bx = function (a, b, c) {
|
|
513
662
|
this.s.v(a, b, c);
|
|
514
|
-
this.
|
|
663
|
+
this.bq();
|
|
515
664
|
};
|
|
516
665
|
Object.defineProperty(GridFilterDialog.prototype, "n", {
|
|
517
666
|
get: function () {
|
|
@@ -521,72 +670,93 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
521
670
|
var b = this.m;
|
|
522
671
|
this.m = a;
|
|
523
672
|
if (this.m != b) {
|
|
524
|
-
this.
|
|
673
|
+
this.bp(b, this.m);
|
|
525
674
|
}
|
|
526
675
|
},
|
|
527
676
|
enumerable: false,
|
|
528
677
|
configurable: true
|
|
529
678
|
});
|
|
530
|
-
GridFilterDialog.prototype.
|
|
531
|
-
this.
|
|
679
|
+
GridFilterDialog.prototype.bp = function (a, b) {
|
|
680
|
+
this.z = true;
|
|
532
681
|
};
|
|
533
|
-
GridFilterDialog.prototype.
|
|
682
|
+
GridFilterDialog.prototype.bq = function () {
|
|
534
683
|
var _this = this;
|
|
535
684
|
NativeUIComponent.au(this.s.p(), 18, function (a) {
|
|
536
685
|
var b = a;
|
|
537
686
|
_this.v = b;
|
|
538
687
|
_this.v.b0 = 16;
|
|
539
|
-
_this.v.
|
|
540
|
-
_this.v.bq = runOn(_this, _this.
|
|
688
|
+
_this.v.b5 = BrushUtil.l(0, 0, 0, 0);
|
|
689
|
+
_this.v.bq = runOn(_this, _this.bg);
|
|
690
|
+
_this.v.bo = runOn(_this, _this.bf);
|
|
541
691
|
_this.v.by = false;
|
|
542
692
|
_this.s.r(_this.v);
|
|
543
|
-
_this.v.c =
|
|
693
|
+
_this.v.c = _this.x;
|
|
694
|
+
_this.v.cg = _this.cd;
|
|
695
|
+
_this.v.ck = _this.cd;
|
|
696
|
+
_this.v.ci = _this.ch;
|
|
697
|
+
_this.v.cb = _this.cf;
|
|
698
|
+
_this.v.cj = _this.ch;
|
|
699
|
+
_this.v.b8 = _this.ch;
|
|
700
|
+
_this.v.cc = _this.ch;
|
|
701
|
+
_this.v.cd = _this.ch;
|
|
702
|
+
_this.v.ce = _this.ch;
|
|
703
|
+
_this.v.cf = _this.cg;
|
|
704
|
+
_this.v.b9 = _this.ce;
|
|
705
|
+
_this.v.b4 = _this.cc;
|
|
706
|
+
_this.v.b6 = _this.cc;
|
|
707
|
+
_this.v.b7 = _this.cc;
|
|
708
|
+
_this.v.cl = _this.cc;
|
|
544
709
|
_this.v.b1 = _this;
|
|
545
710
|
});
|
|
546
711
|
};
|
|
547
|
-
GridFilterDialog.prototype.
|
|
548
|
-
if (this.
|
|
549
|
-
this.
|
|
712
|
+
GridFilterDialog.prototype.bg = function (a, b) {
|
|
713
|
+
if (this.z) {
|
|
714
|
+
this.z = false;
|
|
550
715
|
this.v.b1 = this.n;
|
|
551
716
|
}
|
|
552
717
|
if (this.n != null) {
|
|
553
718
|
if (this.n.grid != null) {
|
|
554
|
-
this.n.grid.
|
|
719
|
+
this.n.grid.vt();
|
|
555
720
|
}
|
|
556
|
-
this.n.
|
|
721
|
+
this.n.oh();
|
|
557
722
|
}
|
|
558
723
|
if (this.dialogOpening != null) {
|
|
559
724
|
var c = new GridFilterDialogOpeningEventArgs();
|
|
560
725
|
this.dialogOpening(this, c);
|
|
561
726
|
}
|
|
562
727
|
};
|
|
563
|
-
GridFilterDialog.prototype.
|
|
728
|
+
GridFilterDialog.prototype.bf = function (a, b) {
|
|
729
|
+
if (this.aa) {
|
|
730
|
+
this.bl();
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
GridFilterDialog.prototype.bi = function (a, b) {
|
|
564
734
|
switch (b.propertyName) {
|
|
565
735
|
case "IsHidden": break;
|
|
566
736
|
}
|
|
567
737
|
};
|
|
568
|
-
GridFilterDialog.prototype.
|
|
738
|
+
GridFilterDialog.prototype.br = function () {
|
|
569
739
|
};
|
|
570
|
-
GridFilterDialog.prototype.
|
|
571
|
-
a.onModified = delegateRemove(a.onModified, runOn(this, this.
|
|
740
|
+
GridFilterDialog.prototype.bs = function (a, b) {
|
|
741
|
+
a.onModified = delegateRemove(a.onModified, runOn(this, this.bv));
|
|
572
742
|
if (b) {
|
|
573
|
-
this.
|
|
743
|
+
this.bz();
|
|
574
744
|
}
|
|
575
745
|
else {
|
|
576
|
-
this.
|
|
746
|
+
this.by(a, true);
|
|
577
747
|
}
|
|
578
748
|
this.f = null;
|
|
579
749
|
};
|
|
580
|
-
GridFilterDialog.prototype.
|
|
750
|
+
GridFilterDialog.prototype.bj = function () {
|
|
581
751
|
this.s.s();
|
|
582
|
-
if (this.
|
|
752
|
+
if (this.y == null) {
|
|
583
753
|
var a = new AnimationKeyFrameEffectTiming();
|
|
584
754
|
a.g = 200;
|
|
585
755
|
a.b = 0;
|
|
586
|
-
this.
|
|
756
|
+
this.y = KeyFrameAnimationFactory.f.c(this.s.a(a).m(new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(1, 1)));
|
|
587
757
|
}
|
|
588
758
|
};
|
|
589
|
-
GridFilterDialog.prototype.
|
|
759
|
+
GridFilterDialog.prototype.b0 = function () {
|
|
590
760
|
var _this = this;
|
|
591
761
|
if (this.filterChanged != null) {
|
|
592
762
|
this.filterChanged(this, ((function () {
|
|
@@ -596,7 +766,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
596
766
|
})()));
|
|
597
767
|
}
|
|
598
768
|
};
|
|
599
|
-
GridFilterDialog.prototype.
|
|
769
|
+
GridFilterDialog.prototype.bz = function () {
|
|
600
770
|
if (this.filterChanged != null) {
|
|
601
771
|
this.filterChanged(this, ((function () {
|
|
602
772
|
var $ret = new GridFilterDialogFilterChangeEventArgs();
|
|
@@ -605,7 +775,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
605
775
|
})()));
|
|
606
776
|
}
|
|
607
777
|
};
|
|
608
|
-
GridFilterDialog.prototype.
|
|
778
|
+
GridFilterDialog.prototype.by = function (a, b) {
|
|
609
779
|
var c = this.e(a);
|
|
610
780
|
if (b) {
|
|
611
781
|
if (this.filterChanged != null) {
|
|
@@ -649,7 +819,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
649
819
|
if (e == null) {
|
|
650
820
|
e = b;
|
|
651
821
|
}
|
|
652
|
-
if (this.
|
|
822
|
+
if (this.ag(a, a.f._inner[f])) {
|
|
653
823
|
continue;
|
|
654
824
|
}
|
|
655
825
|
e.add(this.d(a.f._inner[f]));
|
|
@@ -659,7 +829,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
659
829
|
}
|
|
660
830
|
return b;
|
|
661
831
|
};
|
|
662
|
-
GridFilterDialog.prototype.
|
|
832
|
+
GridFilterDialog.prototype.ag = function (a, b) {
|
|
663
833
|
var c = 0;
|
|
664
834
|
for (var d = 0; d < b.e.length; d++) {
|
|
665
835
|
if (b.e[d] == b.l) {
|
|
@@ -676,14 +846,14 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
676
846
|
return false;
|
|
677
847
|
};
|
|
678
848
|
GridFilterDialog.prototype.g = function (a, b, c, d) {
|
|
679
|
-
var e = this.
|
|
849
|
+
var e = this.as(c, d);
|
|
680
850
|
if (a > e) {
|
|
681
851
|
b.e();
|
|
682
852
|
return b.d();
|
|
683
853
|
}
|
|
684
854
|
return null;
|
|
685
855
|
};
|
|
686
|
-
GridFilterDialog.prototype.
|
|
856
|
+
GridFilterDialog.prototype.as = function (a, b) {
|
|
687
857
|
var c = a.c(b);
|
|
688
858
|
if (c == null) {
|
|
689
859
|
return 0;
|
|
@@ -691,7 +861,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
691
861
|
return a.e.indexOf(c);
|
|
692
862
|
};
|
|
693
863
|
GridFilterDialog.prototype.h = function (a, b, c, d) {
|
|
694
|
-
var e = this.
|
|
864
|
+
var e = this.as(c, d);
|
|
695
865
|
if (a < e) {
|
|
696
866
|
var f = c.b(d);
|
|
697
867
|
var g = new ColumnFilterConditionGroup();
|
|
@@ -710,30 +880,30 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
710
880
|
GridFilterDialog.prototype.c = function (a) {
|
|
711
881
|
return EnumUtil.getEnumValue(ColumnComparisonConditionOperatorType_$type, EnumUtil.parse(ColumnComparisonConditionOperatorType_$type, a, true));
|
|
712
882
|
};
|
|
713
|
-
GridFilterDialog.prototype.
|
|
714
|
-
this.
|
|
883
|
+
GridFilterDialog.prototype.bv = function (a) {
|
|
884
|
+
this.by(a, false);
|
|
715
885
|
};
|
|
716
886
|
GridFilterDialog.prototype.t = function (a, b) {
|
|
717
887
|
var c = new GridFilterDialogViewModel();
|
|
718
888
|
if (a != null) {
|
|
719
|
-
this.
|
|
889
|
+
this.bh(c, a, b);
|
|
720
890
|
}
|
|
721
891
|
else {
|
|
722
892
|
var d = new GridFilterDialogViewModelRow();
|
|
723
893
|
d.f = b;
|
|
724
894
|
d.e = GridFilterDialog.a(b);
|
|
725
895
|
d.d = GridFilterDialog.b(b);
|
|
726
|
-
d.l = GridFilterDialog.
|
|
896
|
+
d.l = GridFilterDialog.a7(b[0]);
|
|
727
897
|
c.f.add(d);
|
|
728
898
|
}
|
|
729
899
|
return c;
|
|
730
900
|
};
|
|
731
|
-
GridFilterDialog.prototype.
|
|
901
|
+
GridFilterDialog.prototype.bh = function (a, b, c) {
|
|
732
902
|
if (b.isGroup()) {
|
|
733
903
|
var d = b;
|
|
734
904
|
for (var e = 0; e < d.count; e++) {
|
|
735
905
|
var f = d.item(e);
|
|
736
|
-
this.
|
|
906
|
+
this.bh(a, f, c);
|
|
737
907
|
}
|
|
738
908
|
}
|
|
739
909
|
else {
|
|
@@ -742,24 +912,24 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
742
912
|
};
|
|
743
913
|
GridFilterDialog.prototype.u = function (a, b) {
|
|
744
914
|
var c = new GridFilterDialogViewModelRow();
|
|
745
|
-
c.l = GridFilterDialog.
|
|
915
|
+
c.l = GridFilterDialog.a7(a.operator);
|
|
746
916
|
c.f = b;
|
|
747
917
|
c.e = GridFilterDialog.a(b);
|
|
748
|
-
c.i = GridFilterDialog.
|
|
749
|
-
c.j = GridFilterDialog.
|
|
918
|
+
c.i = GridFilterDialog.av(GridFilterDialog.ar(a.operator), a.operator, a);
|
|
919
|
+
c.j = GridFilterDialog.aw(GridFilterDialog.ar(a.operator), a.operator, a);
|
|
750
920
|
c.d = GridFilterDialog.b(b);
|
|
751
921
|
return c;
|
|
752
922
|
};
|
|
753
|
-
GridFilterDialog.
|
|
923
|
+
GridFilterDialog.ar = function (a) {
|
|
754
924
|
return ColumnComparisonFilterCondition.getOperandNumber(a);
|
|
755
925
|
};
|
|
756
|
-
GridFilterDialog.
|
|
926
|
+
GridFilterDialog.av = function (a, b, c) {
|
|
757
927
|
if (a == 0) {
|
|
758
928
|
return "";
|
|
759
929
|
}
|
|
760
930
|
return c.value != null ? c.value.toString() : "";
|
|
761
931
|
};
|
|
762
|
-
GridFilterDialog.
|
|
932
|
+
GridFilterDialog.aw = function (a, b, c) {
|
|
763
933
|
return "";
|
|
764
934
|
};
|
|
765
935
|
GridFilterDialog.b = function (a) {
|
|
@@ -772,61 +942,58 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
772
942
|
}
|
|
773
943
|
return b;
|
|
774
944
|
};
|
|
775
|
-
GridFilterDialog.
|
|
945
|
+
GridFilterDialog.a7 = function (a) {
|
|
776
946
|
return EnumUtil.getName(ColumnComparisonConditionOperatorType_$type, a);
|
|
777
947
|
};
|
|
778
|
-
GridFilterDialog.prototype.
|
|
948
|
+
GridFilterDialog.prototype.bo = function (a, b) {
|
|
779
949
|
this.s.w(a, b);
|
|
780
950
|
};
|
|
781
|
-
GridFilterDialog.prototype.
|
|
951
|
+
GridFilterDialog.prototype.bn = function () {
|
|
782
952
|
this.s.u();
|
|
783
953
|
};
|
|
784
|
-
GridFilterDialog.prototype.
|
|
785
|
-
var 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");
|
|
786
|
-
c.an = d;
|
|
787
|
-
c._fill = this.bw == null ? GridStyleRepository.a5 : this.bw;
|
|
954
|
+
GridFilterDialog.prototype.bm = function (a, b, c) {
|
|
788
955
|
};
|
|
789
|
-
GridFilterDialog.prototype.
|
|
956
|
+
GridFilterDialog.prototype.b1 = function () {
|
|
790
957
|
var _this = this;
|
|
791
|
-
this.
|
|
958
|
+
this.aa = false;
|
|
792
959
|
if (this.s.q == null || NativeUI.g(this.s.q) == 1) {
|
|
793
960
|
return;
|
|
794
961
|
}
|
|
795
|
-
if (this.
|
|
796
|
-
this.
|
|
797
|
-
if (this.
|
|
798
|
-
this.
|
|
962
|
+
if (this.ad) {
|
|
963
|
+
this.bj();
|
|
964
|
+
if (this.y.playbackRate < 0) {
|
|
965
|
+
this.y.reverse();
|
|
799
966
|
}
|
|
800
967
|
else {
|
|
801
|
-
this.
|
|
968
|
+
this.y.play();
|
|
802
969
|
}
|
|
803
|
-
this.
|
|
970
|
+
this.y.finished.f(function (a) { return _this.y.commitStyles(); });
|
|
804
971
|
}
|
|
805
972
|
else {
|
|
806
973
|
NativeUI.y(this.s.q, 1);
|
|
807
974
|
}
|
|
808
975
|
};
|
|
809
|
-
GridFilterDialog.prototype.
|
|
976
|
+
GridFilterDialog.prototype.bl = function () {
|
|
810
977
|
var _this = this;
|
|
811
|
-
this.
|
|
812
|
-
if (!this.
|
|
978
|
+
this.aa = true;
|
|
979
|
+
if (!this.ae) {
|
|
813
980
|
if (this.s.q == null || NativeUI.g(this.s.q) == 0) {
|
|
814
981
|
return;
|
|
815
982
|
}
|
|
816
|
-
if (this.
|
|
817
|
-
this.
|
|
818
|
-
if (this.
|
|
819
|
-
this.
|
|
983
|
+
if (this.ad) {
|
|
984
|
+
this.bj();
|
|
985
|
+
if (this.y.playbackRate < 0) {
|
|
986
|
+
this.y.play();
|
|
820
987
|
}
|
|
821
988
|
else {
|
|
822
|
-
this.
|
|
989
|
+
this.y.reverse();
|
|
823
990
|
}
|
|
824
|
-
this.
|
|
991
|
+
this.y.finished.f(function (a) { return _this.y.commitStyles(); });
|
|
825
992
|
}
|
|
826
993
|
else {
|
|
827
994
|
NativeUI.y(this.s.q, 0);
|
|
828
995
|
}
|
|
829
|
-
this.
|
|
996
|
+
this.aa = false;
|
|
830
997
|
}
|
|
831
998
|
};
|
|
832
999
|
Object.defineProperty(GridFilterDialog.prototype, "commandCompleted", {
|
|
@@ -849,12 +1016,12 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
849
1016
|
enumerable: false,
|
|
850
1017
|
configurable: true
|
|
851
1018
|
});
|
|
852
|
-
GridFilterDialog.prototype.
|
|
1019
|
+
GridFilterDialog.prototype.bu = function () {
|
|
853
1020
|
if (this.renderCompleted != null) {
|
|
854
1021
|
this.renderCompleted(this, new FilterDialogRenderCompletedEventArgs());
|
|
855
1022
|
}
|
|
856
1023
|
};
|
|
857
|
-
GridFilterDialog.prototype.
|
|
1024
|
+
GridFilterDialog.prototype.bk = function () {
|
|
858
1025
|
if (this.v != null) {
|
|
859
1026
|
if (this.n != null && this.v.b1 != this.n) {
|
|
860
1027
|
this.v.b1 = this.n;
|
|
@@ -862,9 +1029,9 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
862
1029
|
}
|
|
863
1030
|
};
|
|
864
1031
|
GridFilterDialog.prototype.getDesiredToolbarActions = function () {
|
|
865
|
-
if (!GridFilterDialog.
|
|
866
|
-
GridFilterDialog.
|
|
867
|
-
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.
|
|
1032
|
+
if (!GridFilterDialog.ac) {
|
|
1033
|
+
GridFilterDialog.ac = true;
|
|
1034
|
+
SvgIconRegistry.instance.addSvgPathString("XGrid", "DotDotDot", GridFilterDialog.a6);
|
|
868
1035
|
}
|
|
869
1036
|
var a = new ToolActionIconMenuInfo();
|
|
870
1037
|
a.name = "DataGridColumnOptionsPlaceholder";
|
|
@@ -899,7 +1066,7 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
899
1066
|
};
|
|
900
1067
|
GridFilterDialog.prototype.dismissContextAccessor = function (a) {
|
|
901
1068
|
};
|
|
902
|
-
GridFilterDialog.prototype.
|
|
1069
|
+
GridFilterDialog.prototype.af = function (e_) {
|
|
903
1070
|
var a = e_.originalEvent.srcElement;
|
|
904
1071
|
var b = e_.originalEvent.target;
|
|
905
1072
|
if (this.s.m.rootWrapper.getNativeElement().contains(a) || this.s.m.rootWrapper.getNativeElement().contains(b)) {
|
|
@@ -908,8 +1075,8 @@ export var GridFilterDialog = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
908
1075
|
return false;
|
|
909
1076
|
};
|
|
910
1077
|
GridFilterDialog.$t = markType(GridFilterDialog, 'GridFilterDialog', Base.$, [INotifyPropertyChanged_$type, IToolbarTarget_$type]);
|
|
911
|
-
GridFilterDialog.
|
|
912
|
-
GridFilterDialog.
|
|
1078
|
+
GridFilterDialog.ac = false;
|
|
1079
|
+
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";
|
|
913
1080
|
return GridFilterDialog;
|
|
914
1081
|
}(Base));
|
|
915
1082
|
/**
|
|
@@ -940,7 +1107,7 @@ export var GridFilterDialogViewModel = /** @class */ /*@__PURE__*/ (function (_s
|
|
|
940
1107
|
a.f = b;
|
|
941
1108
|
a.e = GridFilterDialog.a(b);
|
|
942
1109
|
a.d = GridFilterDialog.b(b);
|
|
943
|
-
a.l = GridFilterDialog.
|
|
1110
|
+
a.l = GridFilterDialog.a7(b[0]);
|
|
944
1111
|
this.f.add(a);
|
|
945
1112
|
};
|
|
946
1113
|
GridFilterDialogViewModel.prototype.u = function (a) {
|