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