igniteui-webcomponents-grids 4.0.4 → 4.2.3-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-grids.umd.js +2059 -1378
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CanvasGridCellBase.js +26 -26
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +553 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +401 -344
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +11 -11
- package/esm2015/lib/FilterCell.js +77 -61
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +51 -25
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
- package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm2015/lib/ISummaryChooserView_combined.js +12 -11
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TextEditorView.js +82 -75
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
- package/esm2015/lib/igc-grid-column-options-component.js +21 -1
- package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
- package/esm5/lib/BaseEditorView.js +34 -14
- package/esm5/lib/CanvasGridCellBase.js +26 -26
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +579 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +408 -343
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +11 -11
- package/esm5/lib/FilterCell.js +81 -61
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +59 -25
- package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm5/lib/GridFilterDialogView_combined.js +5 -5
- package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm5/lib/ISummaryChooserView_combined.js +12 -11
- package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TextEditorView.js +82 -75
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
- package/esm5/lib/igc-grid-column-options-component.js +29 -1
- package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
- package/fesm2015/igniteui-webcomponents-grids.js +1935 -1395
- package/fesm5/igniteui-webcomponents-grids.js +2057 -1376
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -90
- package/grids/index.d.ts +15 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-cell-template-context.d.ts +2 -1
- package/grids/lib/igc-column-component.d.ts +3 -2
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
- package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-date-summary-operand.d.ts +75 -0
- package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +2 -0
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +23 -2
- package/grids/lib/igc-grid-component.d.ts +4 -4
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grouped-records.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-number-summary-operand.d.ts +104 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
- package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -0
- package/grids/lib/igc-sorting-options.d.ts +3 -2
- package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
- package/grids/lib/igc-summary-operand.d.ts +61 -0
- package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -0
- package/grids/lib/sorting-options-mode.d.ts +3 -0
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/lib/BaseEditorView.d.ts +12 -8
- package/lib/CheckboxListView_combined.d.ts +120 -96
- package/lib/ColumnFilterCondition_combined.d.ts +2 -0
- package/lib/ComboEditorView.d.ts +15 -14
- package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +105 -96
- package/lib/DateEditorView.d.ts +13 -12
- package/lib/FilterCell.d.ts +23 -20
- package/lib/GridColumnOptionsView_combined.d.ts +10 -5
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +14 -9
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
- package/lib/igc-grid-column-options-component.d.ts +8 -0
- package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
- package/package.json +4 -4
|
@@ -10,8 +10,8 @@ import { DomWrapper_$type } from "igniteui-webcomponents-core";
|
|
|
10
10
|
import { Dictionary$2 } from "igniteui-webcomponents-core";
|
|
11
11
|
import { XCheckbox } from "igniteui-webcomponents-inputs";
|
|
12
12
|
import { XPrefix } from "igniteui-webcomponents-inputs";
|
|
13
|
-
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
14
13
|
import { XInputGroup } from "igniteui-webcomponents-inputs";
|
|
14
|
+
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
15
15
|
import { XInput } from "igniteui-webcomponents-inputs";
|
|
16
16
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
17
17
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
@@ -23,6 +23,7 @@ import { GridSelectedKeysCollection } from "./GridSelectedKeysCollection";
|
|
|
23
23
|
import { InputGroupDisplayType_$type } from "igniteui-webcomponents-inputs";
|
|
24
24
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
25
25
|
import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
|
|
26
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
26
27
|
import { FilterFactory } from "igniteui-webcomponents-core";
|
|
27
28
|
import { CheckedChangedEventArgs } from "./CheckedChangedEventArgs";
|
|
28
29
|
import { TemplateColumn } from "./TemplateColumn";
|
|
@@ -34,7 +35,6 @@ import { NumericColumn } from "./NumericColumn";
|
|
|
34
35
|
import { TextColumn } from "./TextColumn";
|
|
35
36
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
36
37
|
import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
|
|
37
|
-
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
38
38
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
39
39
|
/**
|
|
40
40
|
* @hidden
|
|
@@ -43,43 +43,44 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
43
43
|
tslib_1.__extends(CheckboxListView, _super);
|
|
44
44
|
function CheckboxListView() {
|
|
45
45
|
var _this = _super.call(this) || this;
|
|
46
|
-
_this.
|
|
47
|
-
_this.
|
|
46
|
+
_this.e = new Dictionary$2(DomWrapper_$type, XCheckbox.$, 0);
|
|
47
|
+
_this.j = null;
|
|
48
48
|
_this.a = null;
|
|
49
|
+
_this.i = null;
|
|
49
50
|
_this.h = null;
|
|
50
|
-
_this.
|
|
51
|
+
_this.c = null;
|
|
51
52
|
_this.b = null;
|
|
52
|
-
_this.e = null;
|
|
53
|
-
_this.c = false;
|
|
54
53
|
_this.f = null;
|
|
54
|
+
_this.d = false;
|
|
55
|
+
_this.g = null;
|
|
55
56
|
return _this;
|
|
56
57
|
}
|
|
57
|
-
CheckboxListView.prototype.
|
|
58
|
+
CheckboxListView.prototype.n = function () {
|
|
58
59
|
};
|
|
59
|
-
CheckboxListView.prototype.
|
|
60
|
+
CheckboxListView.prototype.m = function (a) {
|
|
60
61
|
if (a == null) {
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
62
|
+
this.f = null;
|
|
63
|
+
this.e.clear();
|
|
63
64
|
return;
|
|
64
65
|
}
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
66
|
+
this.f = a;
|
|
67
|
+
this.v();
|
|
68
|
+
this.ae();
|
|
69
|
+
this.ah();
|
|
70
|
+
this.s();
|
|
70
71
|
var b = Math.round(a.rootWrapper.width());
|
|
71
72
|
var c = Math.round(a.rootWrapper.height());
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
73
|
+
this.f.rootWrapper.setStyleProperty("position", "relative");
|
|
74
|
+
this.f.rootWrapper.setStyleProperty("padding-bottom", "4px");
|
|
74
75
|
};
|
|
75
|
-
CheckboxListView.prototype.
|
|
76
|
-
if (this.
|
|
77
|
-
this.
|
|
76
|
+
CheckboxListView.prototype.v = function () {
|
|
77
|
+
if (this.f != null) {
|
|
78
|
+
this.w(this.f);
|
|
78
79
|
}
|
|
79
80
|
};
|
|
80
|
-
CheckboxListView.prototype.
|
|
81
|
+
CheckboxListView.prototype.w = function (a) {
|
|
81
82
|
var b = a.rootWrapper.getChildAt(0);
|
|
82
|
-
this.
|
|
83
|
+
this.h = b;
|
|
83
84
|
this.b.r = new XInputGroup();
|
|
84
85
|
var c = a.getSubRenderer(b);
|
|
85
86
|
this.b.r.provideContainer(c);
|
|
@@ -94,56 +95,56 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
94
95
|
var h = f.getExternal(g, f.rootWrapper, f.getExternal(this.b, null, null));
|
|
95
96
|
var i = a.createElement("div");
|
|
96
97
|
var j = a.getSubRenderer(i);
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
var
|
|
98
|
+
this.c = new XIcon();
|
|
99
|
+
this.c.provideContainer(j);
|
|
100
|
+
this.c.fill = this.b.du;
|
|
101
|
+
this.c.svgPath = CheckboxList.bt;
|
|
102
|
+
var k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
102
103
|
g.appendContentChild(i);
|
|
103
104
|
this.b.r.appendContentChild(e);
|
|
104
105
|
this.b.r.inputs.add(g);
|
|
105
|
-
var
|
|
106
|
-
|
|
107
|
-
var
|
|
106
|
+
var l = a.createElement("div");
|
|
107
|
+
l.setRawStyleProperty("flex-grow", "1");
|
|
108
|
+
var m = a.getSubRenderer(l);
|
|
108
109
|
this.b.p = new XInput();
|
|
109
|
-
this.b.p.provideContainer(
|
|
110
|
-
this.b.p.
|
|
111
|
-
var
|
|
112
|
-
if (this.b.
|
|
113
|
-
this.b.p.
|
|
110
|
+
this.b.p.provideContainer(m);
|
|
111
|
+
this.b.p.b6 = "text";
|
|
112
|
+
var n = m.getExternal(this.b.p, m.rootWrapper, m.getExternal(this.b, null, null));
|
|
113
|
+
if (this.b.bg != null) {
|
|
114
|
+
this.b.p.ce = this.b.bg;
|
|
114
115
|
}
|
|
115
|
-
this.b.r.appendContentChild(
|
|
116
|
+
this.b.r.appendContentChild(l);
|
|
116
117
|
this.b.r.inputs.add(this.b.p);
|
|
117
|
-
this.b.
|
|
118
|
+
this.b.ck();
|
|
118
119
|
};
|
|
119
|
-
CheckboxListView.prototype.
|
|
120
|
-
if (this.
|
|
121
|
-
var a = this.
|
|
120
|
+
CheckboxListView.prototype.s = function () {
|
|
121
|
+
if (this.f != null) {
|
|
122
|
+
var a = this.f.rootWrapper.getChildAt(3);
|
|
122
123
|
a.setStyleProperty("width", "100%");
|
|
123
124
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
124
|
-
if (this.b.
|
|
125
|
+
if (this.b.as == false) {
|
|
125
126
|
a.setStyleProperty("height", "calc(100% - 50px");
|
|
126
127
|
}
|
|
127
128
|
else {
|
|
128
129
|
a.setStyleProperty("height", "calc(100% - 75px");
|
|
129
130
|
}
|
|
130
|
-
if (!this.b.
|
|
131
|
+
if (!this.b.aq && !this.b.as) {
|
|
131
132
|
a.setStyleProperty("height", "100%");
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
135
|
};
|
|
135
|
-
CheckboxListView.prototype.
|
|
136
|
+
CheckboxListView.prototype.o = function (a, b, c) {
|
|
136
137
|
var d = null;
|
|
137
138
|
if (a.getChildCount() == 0) {
|
|
138
139
|
d = new XCheckbox();
|
|
139
|
-
var e = this.
|
|
140
|
+
var e = this.f.getSubRenderer(a);
|
|
140
141
|
d.provideContainer(e);
|
|
141
|
-
var f = this.
|
|
142
|
-
this.
|
|
142
|
+
var f = this.f.getExternal(d, e.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
143
|
+
this.e.addItem(a, d);
|
|
143
144
|
d.i = this.b.y;
|
|
144
145
|
d.t = true;
|
|
145
|
-
d.change = delegateCombine(d.change, runOn(this, this.
|
|
146
|
-
var g = this.
|
|
146
|
+
d.change = delegateCombine(d.change, runOn(this, this.k));
|
|
147
|
+
var g = this.f.createElement("div");
|
|
147
148
|
a.setStyleProperty("display", "flex");
|
|
148
149
|
a.setStyleProperty("height", "100%");
|
|
149
150
|
a.setStyleProperty("align-items", "center");
|
|
@@ -161,7 +162,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
161
162
|
a.append(g);
|
|
162
163
|
}
|
|
163
164
|
else {
|
|
164
|
-
d = this.
|
|
165
|
+
d = this.e.item(a);
|
|
165
166
|
}
|
|
166
167
|
if (d != null) {
|
|
167
168
|
var h = d.u;
|
|
@@ -188,13 +189,18 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
188
189
|
finally {
|
|
189
190
|
d.u = h;
|
|
190
191
|
}
|
|
192
|
+
d.ds = this.b.dl;
|
|
193
|
+
d.da = this.b.dj;
|
|
194
|
+
d.dt = this.b.dm;
|
|
195
|
+
d.db = this.b.dk;
|
|
196
|
+
d.du = this.b.dn;
|
|
191
197
|
}
|
|
192
198
|
};
|
|
193
|
-
CheckboxListView.prototype.
|
|
199
|
+
CheckboxListView.prototype.z = function () {
|
|
194
200
|
var e_1, _a;
|
|
195
|
-
if (this.
|
|
201
|
+
if (this.e != null) {
|
|
196
202
|
try {
|
|
197
|
-
for (var _b = tslib_1.__values(fromEnum(this.
|
|
203
|
+
for (var _b = tslib_1.__values(fromEnum(this.e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
198
204
|
var a = _c.value;
|
|
199
205
|
var b = a.value;
|
|
200
206
|
b.i = this.b.y;
|
|
@@ -218,43 +224,43 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
218
224
|
this.a.i = this.b.y;
|
|
219
225
|
}
|
|
220
226
|
};
|
|
221
|
-
CheckboxListView.prototype.
|
|
227
|
+
CheckboxListView.prototype.x = function () {
|
|
222
228
|
};
|
|
223
|
-
CheckboxListView.prototype.
|
|
229
|
+
CheckboxListView.prototype.k = function (a, b) {
|
|
224
230
|
var c = a;
|
|
225
231
|
var d = parseInt(c.a5.toString());
|
|
226
232
|
var e = c.checked;
|
|
227
233
|
if (e == true) {
|
|
228
234
|
if (this.b.l == 0) {
|
|
229
|
-
this.b.
|
|
235
|
+
this.b.cw(d);
|
|
230
236
|
}
|
|
231
237
|
else {
|
|
232
|
-
this.b.
|
|
238
|
+
this.b.b5(d);
|
|
233
239
|
}
|
|
234
240
|
}
|
|
235
241
|
else {
|
|
236
242
|
if (this.b.l == 0) {
|
|
237
|
-
this.b.
|
|
243
|
+
this.b.b5(d);
|
|
238
244
|
}
|
|
239
245
|
else {
|
|
240
|
-
this.b.
|
|
246
|
+
this.b.cw(d);
|
|
241
247
|
}
|
|
242
248
|
}
|
|
243
|
-
this.b.
|
|
244
|
-
this.
|
|
249
|
+
this.b.ci(d, e);
|
|
250
|
+
this.ag(false);
|
|
245
251
|
};
|
|
246
|
-
CheckboxListView.prototype.
|
|
252
|
+
CheckboxListView.prototype.l = function () {
|
|
247
253
|
};
|
|
248
|
-
CheckboxListView.prototype.
|
|
254
|
+
CheckboxListView.prototype.t = function (a, b) {
|
|
249
255
|
var e_2, _a;
|
|
250
256
|
try {
|
|
251
|
-
for (var _b = tslib_1.__values(fromEnum(this.
|
|
257
|
+
for (var _b = tslib_1.__values(fromEnum(this.e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
252
258
|
var c = _c.value;
|
|
253
259
|
var d = c.value;
|
|
254
260
|
var e = parseInt(d.a5.toString());
|
|
255
261
|
if (e == a) {
|
|
256
262
|
d.checked = b;
|
|
257
|
-
this.b.
|
|
263
|
+
this.b.ci(e, b);
|
|
258
264
|
}
|
|
259
265
|
}
|
|
260
266
|
}
|
|
@@ -271,12 +277,12 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
271
277
|
throw e_2.error;
|
|
272
278
|
}
|
|
273
279
|
}
|
|
274
|
-
this.
|
|
280
|
+
this.ag();
|
|
275
281
|
};
|
|
276
|
-
CheckboxListView.prototype.
|
|
282
|
+
CheckboxListView.prototype.u = function (a) {
|
|
277
283
|
var e_3, _a;
|
|
278
284
|
try {
|
|
279
|
-
for (var _b = tslib_1.__values(fromEnum(this.
|
|
285
|
+
for (var _b = tslib_1.__values(fromEnum(this.e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
280
286
|
var b = _c.value;
|
|
281
287
|
var c = b.value;
|
|
282
288
|
c.checked = a;
|
|
@@ -296,68 +302,68 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
296
302
|
}
|
|
297
303
|
}
|
|
298
304
|
};
|
|
299
|
-
CheckboxListView.prototype.
|
|
300
|
-
this.
|
|
301
|
-
if (null != this.
|
|
302
|
-
this.
|
|
305
|
+
CheckboxListView.prototype.q = function (a) {
|
|
306
|
+
this.j = a;
|
|
307
|
+
if (null != this.j) {
|
|
308
|
+
this.j.setStyleProperty("margin", "5px 0px 4px 0px");
|
|
303
309
|
}
|
|
304
310
|
};
|
|
305
|
-
CheckboxListView.prototype.
|
|
306
|
-
var a = this.
|
|
307
|
-
if (null == a || null == this.
|
|
311
|
+
CheckboxListView.prototype.ah = function () {
|
|
312
|
+
var a = this.f;
|
|
313
|
+
if (null == a || null == this.j) {
|
|
308
314
|
return;
|
|
309
315
|
}
|
|
310
316
|
var b = a.createElement("div");
|
|
311
317
|
var c = a.getSubRenderer(b);
|
|
312
318
|
this.a = new XCheckbox();
|
|
313
319
|
this.a.provideContainer(c);
|
|
314
|
-
var d = this.
|
|
320
|
+
var d = this.f.getExternal(this.a, c.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
315
321
|
this.a.i = this.b.y;
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
322
|
+
this.i = a.createElement("label");
|
|
323
|
+
this.i.setRawText(this.b.bx);
|
|
324
|
+
this.i.setStyleProperty("font-size", "13px");
|
|
325
|
+
this.j.setStyleProperty("display", "flex");
|
|
326
|
+
this.j.setStyleProperty("flex-direction", "row");
|
|
327
|
+
this.j.setStyleProperty("font-family", "Verdana");
|
|
328
|
+
this.j.setStyleProperty("align-items", "center");
|
|
329
|
+
this.j.append(b);
|
|
330
|
+
this.j.append(this.i);
|
|
331
|
+
this.ai();
|
|
332
|
+
this.af();
|
|
327
333
|
var e = this.a;
|
|
328
|
-
e.change = delegateCombine(e.change, runOn(this, this.
|
|
334
|
+
e.change = delegateCombine(e.change, runOn(this, this.r));
|
|
329
335
|
this.a.t = true;
|
|
330
336
|
};
|
|
331
|
-
CheckboxListView.prototype.
|
|
332
|
-
if (null != this.
|
|
333
|
-
this.
|
|
334
|
-
NativeUI.o(this.
|
|
337
|
+
CheckboxListView.prototype.af = function () {
|
|
338
|
+
if (null != this.i) {
|
|
339
|
+
this.i.setRawText(this.b.bx);
|
|
340
|
+
NativeUI.o(this.i, this.b.dh);
|
|
335
341
|
}
|
|
336
342
|
};
|
|
337
|
-
CheckboxListView.prototype.
|
|
338
|
-
if (null != this.
|
|
339
|
-
var a = this.b.
|
|
340
|
-
this.
|
|
343
|
+
CheckboxListView.prototype.ai = function () {
|
|
344
|
+
if (null != this.i) {
|
|
345
|
+
var a = this.b.as ? "flex" : "none";
|
|
346
|
+
this.j.setStyleProperty("display", a);
|
|
341
347
|
}
|
|
342
348
|
};
|
|
343
|
-
CheckboxListView.prototype.
|
|
344
|
-
if (this.
|
|
345
|
-
this.
|
|
349
|
+
CheckboxListView.prototype.ae = function () {
|
|
350
|
+
if (this.h != null) {
|
|
351
|
+
this.h.setStyleProperty("display", this.b.aq ? "block" : "none");
|
|
346
352
|
}
|
|
347
|
-
if (this.
|
|
348
|
-
this.
|
|
353
|
+
if (this.g != null) {
|
|
354
|
+
this.g.setStyleProperty("display", this.b.aq ? "block" : "none");
|
|
349
355
|
}
|
|
350
356
|
};
|
|
351
|
-
CheckboxListView.prototype.
|
|
357
|
+
CheckboxListView.prototype.ag = function (a) {
|
|
352
358
|
if (a === void 0) {
|
|
353
359
|
a = true;
|
|
354
360
|
}
|
|
355
|
-
var b = this.
|
|
356
|
-
this.
|
|
361
|
+
var b = this.d;
|
|
362
|
+
this.d = true;
|
|
357
363
|
var c = this.a.u;
|
|
358
364
|
this.a.u = a;
|
|
359
365
|
try {
|
|
360
|
-
if (this.b.
|
|
366
|
+
if (this.b.ao) {
|
|
361
367
|
this.a.indeterminate = true;
|
|
362
368
|
return;
|
|
363
369
|
}
|
|
@@ -371,40 +377,61 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
371
377
|
}
|
|
372
378
|
finally {
|
|
373
379
|
this.a.u = c;
|
|
374
|
-
this.
|
|
380
|
+
this.d = b;
|
|
375
381
|
}
|
|
376
382
|
};
|
|
377
|
-
CheckboxListView.prototype.
|
|
378
|
-
if (this.
|
|
383
|
+
CheckboxListView.prototype.r = function (a, b) {
|
|
384
|
+
if (this.d || b.isIndeterminate) {
|
|
379
385
|
return;
|
|
380
386
|
}
|
|
381
387
|
if (b.isChecked) {
|
|
382
|
-
this.b.
|
|
383
|
-
this.b.
|
|
388
|
+
this.b.cy();
|
|
389
|
+
this.b.cp(b.isChecked);
|
|
384
390
|
}
|
|
385
391
|
else {
|
|
386
|
-
this.b.
|
|
387
|
-
this.b.
|
|
392
|
+
this.b.b9();
|
|
393
|
+
this.b.cp(b.isChecked);
|
|
388
394
|
}
|
|
389
395
|
};
|
|
390
|
-
CheckboxListView.prototype.
|
|
391
|
-
var a = this.
|
|
396
|
+
CheckboxListView.prototype.ad = function () {
|
|
397
|
+
var a = this.f;
|
|
392
398
|
if (null == a) {
|
|
393
399
|
return;
|
|
394
400
|
}
|
|
395
401
|
var b = a.rootWrapper;
|
|
396
402
|
if (null != b) {
|
|
397
|
-
NativeUI.o(b, this.b.
|
|
398
|
-
NativeUI.k(b, this.b.
|
|
403
|
+
NativeUI.o(b, this.b.dy);
|
|
404
|
+
NativeUI.k(b, this.b.di);
|
|
399
405
|
}
|
|
400
406
|
};
|
|
401
|
-
CheckboxListView.prototype.
|
|
402
|
-
if (this.
|
|
403
|
-
|
|
407
|
+
CheckboxListView.prototype.ab = function () {
|
|
408
|
+
if (this.c != null) {
|
|
409
|
+
this.c.fill = this.b.du;
|
|
404
410
|
}
|
|
405
411
|
};
|
|
406
|
-
CheckboxListView.prototype.
|
|
407
|
-
this.
|
|
412
|
+
CheckboxListView.prototype.ac = function () {
|
|
413
|
+
if (this.b.ae != null) {
|
|
414
|
+
this.i.setStyleProperty("font", this.b.ae.fontString);
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
this.i.setStyleProperty("font-family", "Verdana");
|
|
418
|
+
this.i.setStyleProperty("font-size", 13 + "px");
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
CheckboxListView.prototype.y = function () {
|
|
422
|
+
this.a.ds = this.b.dl;
|
|
423
|
+
this.a.da = this.b.dj;
|
|
424
|
+
this.a.dt = this.b.dm;
|
|
425
|
+
this.a.db = this.b.dk;
|
|
426
|
+
this.a.du = this.b.dn;
|
|
427
|
+
};
|
|
428
|
+
CheckboxListView.prototype.aa = function (a) {
|
|
429
|
+
if (this.g != null) {
|
|
430
|
+
NativeUI.t(this.g, a);
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
CheckboxListView.prototype.p = function (a) {
|
|
434
|
+
this.g = a;
|
|
408
435
|
};
|
|
409
436
|
CheckboxListView.$t = markType(CheckboxListView, 'CheckboxListView');
|
|
410
437
|
return CheckboxListView;
|
|
@@ -422,45 +449,55 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
422
449
|
_this.i = null;
|
|
423
450
|
_this.ab = null;
|
|
424
451
|
_this.d = null;
|
|
425
|
-
_this.
|
|
452
|
+
_this.ai = false;
|
|
426
453
|
_this.c = null;
|
|
427
454
|
_this.o = null;
|
|
428
455
|
_this.q = null;
|
|
429
|
-
_this.
|
|
430
|
-
_this.
|
|
456
|
+
_this.aj = false;
|
|
457
|
+
_this.ag = null;
|
|
431
458
|
_this.f = new GridSelectedKeysCollection();
|
|
432
459
|
_this.a = null;
|
|
433
460
|
_this.propertyChanged = null;
|
|
434
461
|
_this.checkedChanged = null;
|
|
435
|
-
_this.av = null;
|
|
436
|
-
_this.ax = null;
|
|
437
|
-
_this.az = null;
|
|
438
462
|
_this.ay = null;
|
|
463
|
+
_this.a0 = null;
|
|
464
|
+
_this.a2 = null;
|
|
465
|
+
_this.a1 = null;
|
|
439
466
|
_this.s = 3;
|
|
440
|
-
_this.
|
|
467
|
+
_this.au = -1;
|
|
441
468
|
_this.ac = null;
|
|
442
469
|
_this.k = 1;
|
|
443
470
|
_this.x = 1;
|
|
444
471
|
_this.z = 2;
|
|
472
|
+
_this.dd = BrushUtil.g(255, 24, 29, 31);
|
|
473
|
+
_this.db = null;
|
|
474
|
+
_this.de = null;
|
|
475
|
+
_this.dc = null;
|
|
476
|
+
_this.ad = null;
|
|
477
|
+
_this.c7 = null;
|
|
478
|
+
_this.c5 = null;
|
|
479
|
+
_this.c8 = null;
|
|
480
|
+
_this.c6 = null;
|
|
481
|
+
_this.c9 = null;
|
|
445
482
|
_this.v = 0;
|
|
446
|
-
_this.
|
|
447
|
-
_this.
|
|
448
|
-
_this.
|
|
449
|
-
_this.
|
|
450
|
-
_this.
|
|
451
|
-
_this.
|
|
452
|
-
_this.
|
|
483
|
+
_this.da = null;
|
|
484
|
+
_this.bw = null;
|
|
485
|
+
_this.df = null;
|
|
486
|
+
_this.c3 = CheckboxList.dq;
|
|
487
|
+
_this.ar = true;
|
|
488
|
+
_this.c4 = CheckboxList.dp;
|
|
489
|
+
_this.dg = CheckboxList.dq;
|
|
453
490
|
_this.selectAllCheckboxChanged = null;
|
|
454
|
-
_this.
|
|
455
|
-
_this.
|
|
456
|
-
_this.
|
|
491
|
+
_this.aw = -1;
|
|
492
|
+
_this.ap = true;
|
|
493
|
+
_this.am = true;
|
|
457
494
|
var a = _this.f;
|
|
458
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.
|
|
495
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.cr));
|
|
459
496
|
_this.d = new FilterFactory();
|
|
460
497
|
var b = new CheckboxListView();
|
|
461
498
|
b.b = _this;
|
|
462
499
|
_this.m = b;
|
|
463
|
-
_this.m.
|
|
500
|
+
_this.m.n();
|
|
464
501
|
return _this;
|
|
465
502
|
}
|
|
466
503
|
Object.defineProperty(CheckboxList.prototype, "r", {
|
|
@@ -493,13 +530,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
493
530
|
enumerable: true,
|
|
494
531
|
configurable: true
|
|
495
532
|
});
|
|
496
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
533
|
+
Object.defineProperty(CheckboxList.prototype, "ah", {
|
|
497
534
|
get: function () {
|
|
498
|
-
if (this.
|
|
499
|
-
this.
|
|
500
|
-
this.
|
|
535
|
+
if (this.ag == null) {
|
|
536
|
+
this.ag = new SRProvider(this.m.f);
|
|
537
|
+
this.ag.cb("DataGrid");
|
|
501
538
|
}
|
|
502
|
-
return this.
|
|
539
|
+
return this.ag;
|
|
503
540
|
},
|
|
504
541
|
enumerable: true,
|
|
505
542
|
configurable: true
|
|
@@ -519,57 +556,57 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
519
556
|
var b = this.a;
|
|
520
557
|
this.a = a;
|
|
521
558
|
if (b != this.a) {
|
|
522
|
-
this.
|
|
559
|
+
this.cn("PrimaryKey", b, this.a);
|
|
523
560
|
}
|
|
524
561
|
},
|
|
525
562
|
enumerable: true,
|
|
526
563
|
configurable: true
|
|
527
564
|
});
|
|
528
|
-
CheckboxList.prototype.
|
|
529
|
-
if (this.e == null || this.e.actualSchema == null || this.
|
|
565
|
+
CheckboxList.prototype.cr = function (a, b) {
|
|
566
|
+
if (this.e == null || this.e.actualSchema == null || this.ai) {
|
|
530
567
|
return;
|
|
531
568
|
}
|
|
532
569
|
switch (b.action) {
|
|
533
570
|
case 0:
|
|
534
571
|
for (var c = 0; c < b.newItems.count; c++) {
|
|
535
|
-
this.
|
|
572
|
+
this.cl(b.newItems.item(c));
|
|
536
573
|
}
|
|
537
574
|
break;
|
|
538
575
|
case 1:
|
|
539
576
|
for (var d = 0; d < b.oldItems.count; d++) {
|
|
540
|
-
this.
|
|
577
|
+
this.cm(b.oldItems.item(d));
|
|
541
578
|
}
|
|
542
579
|
break;
|
|
543
580
|
case 2:
|
|
544
581
|
for (var e = 0; e < b.oldItems.count; e++) {
|
|
545
|
-
this.
|
|
582
|
+
this.cm(b.oldItems.item(e));
|
|
546
583
|
}
|
|
547
584
|
for (var f = 0; f < b.newItems.count; f++) {
|
|
548
|
-
this.
|
|
585
|
+
this.cl(b.newItems.item(f));
|
|
549
586
|
}
|
|
550
587
|
break;
|
|
551
588
|
case 4:
|
|
552
|
-
this.m.
|
|
589
|
+
this.m.u(this.l == 0);
|
|
553
590
|
for (var g = 0; g < this.g.ae.count; g++) {
|
|
554
|
-
this.
|
|
591
|
+
this.cl(this.g.ae._inner[g]);
|
|
555
592
|
}
|
|
556
593
|
break;
|
|
557
594
|
}
|
|
558
595
|
};
|
|
559
|
-
CheckboxList.prototype.
|
|
596
|
+
CheckboxList.prototype.cl = function (a) {
|
|
560
597
|
var b = this.e.indexOfKey(a.value);
|
|
561
598
|
if (b >= 0) {
|
|
562
|
-
this.m.
|
|
599
|
+
this.m.t(b, this.l == 1);
|
|
563
600
|
}
|
|
564
601
|
};
|
|
565
|
-
CheckboxList.prototype.
|
|
602
|
+
CheckboxList.prototype.cm = function (a) {
|
|
566
603
|
var b = this.e.indexOfKey(a.value);
|
|
567
604
|
if (b >= 0) {
|
|
568
|
-
this.m.
|
|
605
|
+
this.m.t(b, this.l == 0);
|
|
569
606
|
}
|
|
570
607
|
};
|
|
571
|
-
CheckboxList.prototype.
|
|
572
|
-
if (this.checkedChanged != null && this.
|
|
608
|
+
CheckboxList.prototype.ci = function (a, b) {
|
|
609
|
+
if (this.checkedChanged != null && this.aj == false) {
|
|
573
610
|
this.checkedChanged(this, ((function () {
|
|
574
611
|
var $ret = new CheckedChangedEventArgs();
|
|
575
612
|
$ret.b = a;
|
|
@@ -579,32 +616,32 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
579
616
|
}
|
|
580
617
|
};
|
|
581
618
|
CheckboxList.prototype.notifySizeChanged = function () {
|
|
582
|
-
this.m.
|
|
619
|
+
this.m.l();
|
|
583
620
|
};
|
|
584
621
|
CheckboxList.prototype.destroy = function () {
|
|
585
622
|
if (this.h != null) {
|
|
586
623
|
var a = this.h;
|
|
587
|
-
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.
|
|
624
|
+
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.cb));
|
|
588
625
|
if (this.h.actualDataSource != null) {
|
|
589
626
|
var b = this.h.actualDataSource;
|
|
590
|
-
b.schemaChanged = delegateRemove(b.schemaChanged, runOn(this, this.
|
|
627
|
+
b.schemaChanged = delegateRemove(b.schemaChanged, runOn(this, this.co));
|
|
591
628
|
}
|
|
592
629
|
}
|
|
593
630
|
if (this.o != null) {
|
|
594
631
|
var c = this.o;
|
|
595
|
-
c.change = delegateRemove(c.change, runOn(this, this.
|
|
632
|
+
c.change = delegateRemove(c.change, runOn(this, this.cc));
|
|
596
633
|
}
|
|
597
634
|
this.provideContainer(null, null, null);
|
|
598
635
|
if (this.i != null) {
|
|
599
636
|
var d = this.i;
|
|
600
|
-
d.cellUpdating = delegateRemove(d.cellUpdating, runOn(this, this.
|
|
637
|
+
d.cellUpdating = delegateRemove(d.cellUpdating, runOn(this, this.b8));
|
|
601
638
|
}
|
|
602
639
|
};
|
|
603
640
|
CheckboxList.prototype.provideContainer = function (a, b, c) {
|
|
604
641
|
this.h = b;
|
|
605
642
|
if (null != this.h) {
|
|
606
643
|
this.h.gm = this.w;
|
|
607
|
-
this.h.aae = this.
|
|
644
|
+
this.h.aae = this.dr;
|
|
608
645
|
this.h.n1 = 0;
|
|
609
646
|
this.h.oc = 0;
|
|
610
647
|
this.h.md = NaN;
|
|
@@ -612,24 +649,24 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
612
649
|
this.h.c9 = 0;
|
|
613
650
|
this.h.cu = 0;
|
|
614
651
|
var d = this.h;
|
|
615
|
-
d.cellClicked = delegateCombine(d.cellClicked, runOn(this, this.
|
|
616
|
-
if (this.
|
|
617
|
-
this.h.itemsSource = this.
|
|
618
|
-
this.
|
|
619
|
-
this.
|
|
652
|
+
d.cellClicked = delegateCombine(d.cellClicked, runOn(this, this.cb));
|
|
653
|
+
if (this.ay != null) {
|
|
654
|
+
this.h.itemsSource = this.ay;
|
|
655
|
+
this.b7();
|
|
656
|
+
this.cq();
|
|
620
657
|
}
|
|
621
|
-
if (this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
658
|
+
if (this.a0 != null) {
|
|
659
|
+
this.cq();
|
|
660
|
+
this.c1();
|
|
624
661
|
}
|
|
625
662
|
}
|
|
626
|
-
this.m.
|
|
627
|
-
this.m.
|
|
663
|
+
this.m.q(c);
|
|
664
|
+
this.m.m(a);
|
|
628
665
|
};
|
|
629
666
|
CheckboxList.prototype.provideSelectAllSection = function (a) {
|
|
630
|
-
this.m.
|
|
667
|
+
this.m.q(a);
|
|
631
668
|
};
|
|
632
|
-
CheckboxList.prototype.
|
|
669
|
+
CheckboxList.prototype.cb = function (a, b) {
|
|
633
670
|
if (b.cellInfo.l.a5 == 0) {
|
|
634
671
|
return;
|
|
635
672
|
}
|
|
@@ -645,7 +682,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
645
682
|
this.g.add(d);
|
|
646
683
|
}
|
|
647
684
|
};
|
|
648
|
-
CheckboxList.prototype.
|
|
685
|
+
CheckboxList.prototype.b8 = function (a, b) {
|
|
649
686
|
var c = b.cellInfo.l.x;
|
|
650
687
|
if (-1 == c) {
|
|
651
688
|
return;
|
|
@@ -657,11 +694,11 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
657
694
|
d = true;
|
|
658
695
|
}
|
|
659
696
|
}
|
|
660
|
-
this.m.
|
|
697
|
+
this.m.o(b.content.element, c, d);
|
|
661
698
|
};
|
|
662
|
-
CheckboxList.prototype.
|
|
663
|
-
if (this.
|
|
664
|
-
var b = this.d.property(this.
|
|
699
|
+
CheckboxList.prototype.cj = function (a) {
|
|
700
|
+
if (this.a0 != null) {
|
|
701
|
+
var b = this.d.property(this.a0).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
665
702
|
var c = b.contains(a);
|
|
666
703
|
if (!this.h.u.k.contains(this.c)) {
|
|
667
704
|
this.c = c;
|
|
@@ -675,55 +712,55 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
675
712
|
};
|
|
676
713
|
Object.defineProperty(CheckboxList.prototype, "itemsSource", {
|
|
677
714
|
get: function () {
|
|
678
|
-
return this.
|
|
715
|
+
return this.ay;
|
|
679
716
|
},
|
|
680
717
|
set: function (a) {
|
|
681
|
-
var b = this.
|
|
682
|
-
this.
|
|
683
|
-
if (b != this.
|
|
684
|
-
this.
|
|
718
|
+
var b = this.ay;
|
|
719
|
+
this.ay = a;
|
|
720
|
+
if (b != this.ay) {
|
|
721
|
+
this.cn("ItemsSource", b, this.ay);
|
|
685
722
|
}
|
|
686
723
|
},
|
|
687
724
|
enumerable: true,
|
|
688
725
|
configurable: true
|
|
689
726
|
});
|
|
690
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
727
|
+
Object.defineProperty(CheckboxList.prototype, "bc", {
|
|
691
728
|
get: function () {
|
|
692
|
-
return this.
|
|
729
|
+
return this.a0;
|
|
693
730
|
},
|
|
694
731
|
set: function (a) {
|
|
695
|
-
var b = this.
|
|
696
|
-
this.
|
|
697
|
-
if (b != this.
|
|
698
|
-
this.
|
|
732
|
+
var b = this.a0;
|
|
733
|
+
this.a0 = a;
|
|
734
|
+
if (b != this.a0) {
|
|
735
|
+
this.cn("DataMemberPath", b, this.a0);
|
|
699
736
|
}
|
|
700
737
|
},
|
|
701
738
|
enumerable: true,
|
|
702
739
|
configurable: true
|
|
703
740
|
});
|
|
704
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
741
|
+
Object.defineProperty(CheckboxList.prototype, "b0", {
|
|
705
742
|
get: function () {
|
|
706
|
-
return this.
|
|
743
|
+
return this.a2;
|
|
707
744
|
},
|
|
708
745
|
set: function (a) {
|
|
709
|
-
var b = this.
|
|
710
|
-
this.
|
|
711
|
-
if (b != this.
|
|
712
|
-
this.
|
|
746
|
+
var b = this.a2;
|
|
747
|
+
this.a2 = a;
|
|
748
|
+
if (b != this.a2) {
|
|
749
|
+
this.cn("SelectedMemberPath", b, this.a2);
|
|
713
750
|
}
|
|
714
751
|
},
|
|
715
752
|
enumerable: true,
|
|
716
753
|
configurable: true
|
|
717
754
|
});
|
|
718
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
755
|
+
Object.defineProperty(CheckboxList.prototype, "bg", {
|
|
719
756
|
get: function () {
|
|
720
|
-
return this.
|
|
757
|
+
return this.a1;
|
|
721
758
|
},
|
|
722
759
|
set: function (a) {
|
|
723
|
-
var b = this.
|
|
724
|
-
this.
|
|
725
|
-
if (b != this.
|
|
726
|
-
this.
|
|
760
|
+
var b = this.a1;
|
|
761
|
+
this.a1 = a;
|
|
762
|
+
if (b != this.a1) {
|
|
763
|
+
this.cn("FilterPlaceholderText", b, this.a1);
|
|
727
764
|
}
|
|
728
765
|
},
|
|
729
766
|
enumerable: true,
|
|
@@ -737,27 +774,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
737
774
|
var b = this.s;
|
|
738
775
|
this.s = a;
|
|
739
776
|
if (b != this.s) {
|
|
740
|
-
this.
|
|
777
|
+
this.cn("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.s));
|
|
741
778
|
}
|
|
742
779
|
},
|
|
743
780
|
enumerable: true,
|
|
744
781
|
configurable: true
|
|
745
782
|
});
|
|
746
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
783
|
+
Object.defineProperty(CheckboxList.prototype, "ax", {
|
|
747
784
|
get: function () {
|
|
748
|
-
return this.
|
|
785
|
+
return this.au;
|
|
749
786
|
},
|
|
750
787
|
set: function (a) {
|
|
751
|
-
var b = this.
|
|
752
|
-
this.
|
|
753
|
-
if (b != this.
|
|
754
|
-
this.
|
|
788
|
+
var b = this.au;
|
|
789
|
+
this.au = a;
|
|
790
|
+
if (b != this.au) {
|
|
791
|
+
this.cn("RowHeight", b, this.au);
|
|
755
792
|
}
|
|
756
793
|
},
|
|
757
794
|
enumerable: true,
|
|
758
795
|
configurable: true
|
|
759
796
|
});
|
|
760
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
797
|
+
Object.defineProperty(CheckboxList.prototype, "av", {
|
|
761
798
|
get: function () {
|
|
762
799
|
if (this.h != null) {
|
|
763
800
|
return this.h.nf;
|
|
@@ -767,7 +804,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
767
804
|
enumerable: true,
|
|
768
805
|
configurable: true
|
|
769
806
|
});
|
|
770
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
807
|
+
Object.defineProperty(CheckboxList.prototype, "ae", {
|
|
771
808
|
get: function () {
|
|
772
809
|
return this.ac;
|
|
773
810
|
},
|
|
@@ -775,7 +812,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
775
812
|
var b = this.ac;
|
|
776
813
|
this.ac = a;
|
|
777
814
|
if (b != this.ac) {
|
|
778
|
-
this.
|
|
815
|
+
this.cn("CellTextStyle", b, this.ac);
|
|
779
816
|
}
|
|
780
817
|
},
|
|
781
818
|
enumerable: true,
|
|
@@ -789,7 +826,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
789
826
|
var b = this.k;
|
|
790
827
|
this.k = a;
|
|
791
828
|
if (b != this.k) {
|
|
792
|
-
this.
|
|
829
|
+
this.cn("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
|
|
793
830
|
}
|
|
794
831
|
},
|
|
795
832
|
enumerable: true,
|
|
@@ -803,7 +840,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
803
840
|
var b = this.x;
|
|
804
841
|
this.x = a;
|
|
805
842
|
if (b != this.x) {
|
|
806
|
-
this.
|
|
843
|
+
this.cn("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.x));
|
|
807
844
|
}
|
|
808
845
|
},
|
|
809
846
|
enumerable: true,
|
|
@@ -817,7 +854,147 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
817
854
|
var b = this.z;
|
|
818
855
|
this.z = a;
|
|
819
856
|
if (b != this.z) {
|
|
820
|
-
this.
|
|
857
|
+
this.cn("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.z));
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
enumerable: true,
|
|
861
|
+
configurable: true
|
|
862
|
+
});
|
|
863
|
+
Object.defineProperty(CheckboxList.prototype, "du", {
|
|
864
|
+
get: function () {
|
|
865
|
+
return this.dd;
|
|
866
|
+
},
|
|
867
|
+
set: function (a) {
|
|
868
|
+
var b = this.dd;
|
|
869
|
+
this.dd = a;
|
|
870
|
+
if (b != this.dd) {
|
|
871
|
+
this.cn("SearchIconColor", b, this.dd);
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
enumerable: true,
|
|
875
|
+
configurable: true
|
|
876
|
+
});
|
|
877
|
+
Object.defineProperty(CheckboxList.prototype, "ds", {
|
|
878
|
+
get: function () {
|
|
879
|
+
return this.db;
|
|
880
|
+
},
|
|
881
|
+
set: function (a) {
|
|
882
|
+
var b = this.db;
|
|
883
|
+
this.db = a;
|
|
884
|
+
if (b != this.db) {
|
|
885
|
+
this.cn("SearchBackgroundColor", b, this.db);
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
enumerable: true,
|
|
889
|
+
configurable: true
|
|
890
|
+
});
|
|
891
|
+
Object.defineProperty(CheckboxList.prototype, "dv", {
|
|
892
|
+
get: function () {
|
|
893
|
+
return this.de;
|
|
894
|
+
},
|
|
895
|
+
set: function (a) {
|
|
896
|
+
var b = this.de;
|
|
897
|
+
this.de = a;
|
|
898
|
+
if (b != this.de) {
|
|
899
|
+
this.cn("SearchTextColor", b, this.de);
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
enumerable: true,
|
|
903
|
+
configurable: true
|
|
904
|
+
});
|
|
905
|
+
Object.defineProperty(CheckboxList.prototype, "dt", {
|
|
906
|
+
get: function () {
|
|
907
|
+
return this.dc;
|
|
908
|
+
},
|
|
909
|
+
set: function (a) {
|
|
910
|
+
var b = this.dc;
|
|
911
|
+
this.dc = a;
|
|
912
|
+
if (b != this.dc) {
|
|
913
|
+
this.cn("SearchBorderColor", b, this.dc);
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
enumerable: true,
|
|
917
|
+
configurable: true
|
|
918
|
+
});
|
|
919
|
+
Object.defineProperty(CheckboxList.prototype, "af", {
|
|
920
|
+
get: function () {
|
|
921
|
+
return this.ad;
|
|
922
|
+
},
|
|
923
|
+
set: function (a) {
|
|
924
|
+
var b = this.ad;
|
|
925
|
+
this.ad = a;
|
|
926
|
+
if (b != this.ad) {
|
|
927
|
+
this.cn("SearchTextStyle", b, this.ad);
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
enumerable: true,
|
|
931
|
+
configurable: true
|
|
932
|
+
});
|
|
933
|
+
Object.defineProperty(CheckboxList.prototype, "dl", {
|
|
934
|
+
get: function () {
|
|
935
|
+
return this.c7;
|
|
936
|
+
},
|
|
937
|
+
set: function (a) {
|
|
938
|
+
var b = this.c7;
|
|
939
|
+
this.c7 = a;
|
|
940
|
+
if (b != this.c7) {
|
|
941
|
+
this.cn("CheckboxTickColor", b, this.c7);
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
enumerable: true,
|
|
945
|
+
configurable: true
|
|
946
|
+
});
|
|
947
|
+
Object.defineProperty(CheckboxList.prototype, "dj", {
|
|
948
|
+
get: function () {
|
|
949
|
+
return this.c5;
|
|
950
|
+
},
|
|
951
|
+
set: function (a) {
|
|
952
|
+
var b = this.c5;
|
|
953
|
+
this.c5 = a;
|
|
954
|
+
if (b != this.c5) {
|
|
955
|
+
this.cn("CheckboxCheckedBackgroundColor", b, this.c5);
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
enumerable: true,
|
|
959
|
+
configurable: true
|
|
960
|
+
});
|
|
961
|
+
Object.defineProperty(CheckboxList.prototype, "dm", {
|
|
962
|
+
get: function () {
|
|
963
|
+
return this.c8;
|
|
964
|
+
},
|
|
965
|
+
set: function (a) {
|
|
966
|
+
var b = this.c8;
|
|
967
|
+
this.c8 = a;
|
|
968
|
+
if (b != this.c8) {
|
|
969
|
+
this.cn("CheckboxUncheckedBackgroundColor", b, this.c8);
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
enumerable: true,
|
|
973
|
+
configurable: true
|
|
974
|
+
});
|
|
975
|
+
Object.defineProperty(CheckboxList.prototype, "dk", {
|
|
976
|
+
get: function () {
|
|
977
|
+
return this.c6;
|
|
978
|
+
},
|
|
979
|
+
set: function (a) {
|
|
980
|
+
var b = this.c6;
|
|
981
|
+
this.c6 = a;
|
|
982
|
+
if (b != this.c6) {
|
|
983
|
+
this.cn("CheckboxCheckedBorderColor", b, this.c6);
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
enumerable: true,
|
|
987
|
+
configurable: true
|
|
988
|
+
});
|
|
989
|
+
Object.defineProperty(CheckboxList.prototype, "dn", {
|
|
990
|
+
get: function () {
|
|
991
|
+
return this.c9;
|
|
992
|
+
},
|
|
993
|
+
set: function (a) {
|
|
994
|
+
var b = this.c9;
|
|
995
|
+
this.c9 = a;
|
|
996
|
+
if (b != this.c9) {
|
|
997
|
+
this.cn("CheckboxUncheckedBorderColor", b, this.c9);
|
|
821
998
|
}
|
|
822
999
|
},
|
|
823
1000
|
enumerable: true,
|
|
@@ -831,33 +1008,33 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
831
1008
|
var b = this.v;
|
|
832
1009
|
this.v = a;
|
|
833
1010
|
if (b != this.v) {
|
|
834
|
-
this.
|
|
1011
|
+
this.cn("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.v));
|
|
835
1012
|
}
|
|
836
1013
|
},
|
|
837
1014
|
enumerable: true,
|
|
838
1015
|
configurable: true
|
|
839
1016
|
});
|
|
840
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1017
|
+
Object.defineProperty(CheckboxList.prototype, "dr", {
|
|
841
1018
|
get: function () {
|
|
842
|
-
return this.
|
|
1019
|
+
return this.da;
|
|
843
1020
|
},
|
|
844
1021
|
set: function (a) {
|
|
845
|
-
var b = this.
|
|
846
|
-
this.
|
|
847
|
-
if (b != this.
|
|
848
|
-
this.
|
|
1022
|
+
var b = this.da;
|
|
1023
|
+
this.da = a;
|
|
1024
|
+
if (b != this.da) {
|
|
1025
|
+
this.cn("ScrollbarBackground", b, this.da);
|
|
849
1026
|
}
|
|
850
1027
|
},
|
|
851
1028
|
enumerable: true,
|
|
852
1029
|
configurable: true
|
|
853
1030
|
});
|
|
854
|
-
CheckboxList.prototype.
|
|
1031
|
+
CheckboxList.prototype.cn = function (a, b, c) {
|
|
855
1032
|
if (this.propertyChanged != null) {
|
|
856
1033
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
857
1034
|
}
|
|
858
|
-
this.
|
|
1035
|
+
this.cs(a, b, c);
|
|
859
1036
|
};
|
|
860
|
-
CheckboxList.prototype.
|
|
1037
|
+
CheckboxList.prototype.cs = function (a, b, c) {
|
|
861
1038
|
switch (a) {
|
|
862
1039
|
case "ItemsSource":
|
|
863
1040
|
if (this.h != null) {
|
|
@@ -870,26 +1047,26 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
870
1047
|
}
|
|
871
1048
|
if (this.h.actualDataSource != null) {
|
|
872
1049
|
var d = this.h.actualDataSource;
|
|
873
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
1050
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.co));
|
|
874
1051
|
}
|
|
875
|
-
this.h.itemsSource = this.
|
|
876
|
-
this.
|
|
1052
|
+
this.h.itemsSource = this.ay;
|
|
1053
|
+
this.b7();
|
|
877
1054
|
if (this.h.actualDataSource != null) {
|
|
878
1055
|
var e = this.h.actualDataSource;
|
|
879
|
-
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.
|
|
1056
|
+
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.co));
|
|
880
1057
|
}
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
884
|
-
this.m.
|
|
1058
|
+
this.aj = true;
|
|
1059
|
+
this.cq();
|
|
1060
|
+
this.aj = false;
|
|
1061
|
+
this.m.ag();
|
|
885
1062
|
}
|
|
886
1063
|
break;
|
|
887
1064
|
case "DataMemberPath":
|
|
888
1065
|
case "SelectedMemberPath":
|
|
889
1066
|
if (this.h != null) {
|
|
890
|
-
if (this.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
1067
|
+
if (this.a0 != null) {
|
|
1068
|
+
this.cq();
|
|
1069
|
+
this.c1();
|
|
893
1070
|
}
|
|
894
1071
|
}
|
|
895
1072
|
break;
|
|
@@ -899,23 +1076,23 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
899
1076
|
}
|
|
900
1077
|
break;
|
|
901
1078
|
case "SelectAllCaptionTextColor":
|
|
902
|
-
this.
|
|
1079
|
+
this.dh = null != this.dw ? this.dw : CheckboxList.dq;
|
|
903
1080
|
break;
|
|
904
1081
|
case "SelectAllCaption":
|
|
905
1082
|
case "ActualSelectAllCaptionTextColor":
|
|
906
|
-
this.m.
|
|
1083
|
+
this.m.af();
|
|
907
1084
|
break;
|
|
908
1085
|
case "showSelectAll":
|
|
909
|
-
this.m.
|
|
910
|
-
this.m.
|
|
1086
|
+
this.m.ai();
|
|
1087
|
+
this.m.s();
|
|
911
1088
|
break;
|
|
912
1089
|
case "ShowFilter":
|
|
913
|
-
this.m.
|
|
914
|
-
this.m.
|
|
1090
|
+
this.m.ae();
|
|
1091
|
+
this.m.s();
|
|
915
1092
|
break;
|
|
916
1093
|
case "FilterPlaceholderText":
|
|
917
1094
|
if (this.o != null) {
|
|
918
|
-
this.o.
|
|
1095
|
+
this.o.ce = this.bg;
|
|
919
1096
|
}
|
|
920
1097
|
break;
|
|
921
1098
|
case "SearchInputType":
|
|
@@ -925,32 +1102,34 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
925
1102
|
break;
|
|
926
1103
|
case "RowHeight":
|
|
927
1104
|
if (this.h != null) {
|
|
928
|
-
this.h.oa = this.
|
|
1105
|
+
this.h.oa = this.ax;
|
|
929
1106
|
}
|
|
930
1107
|
break;
|
|
931
1108
|
case "CellTextStyle":
|
|
932
1109
|
if (this.h != null) {
|
|
933
|
-
this.h.gx = this.
|
|
1110
|
+
this.h.gx = this.ae;
|
|
934
1111
|
}
|
|
1112
|
+
this.m.ac();
|
|
935
1113
|
break;
|
|
936
1114
|
case "BackgroundColor":
|
|
937
1115
|
case "TextColor":
|
|
938
1116
|
var f = this.h;
|
|
939
1117
|
if (null != f) {
|
|
940
|
-
f.zv = this.
|
|
941
|
-
f.zt = this.
|
|
1118
|
+
f.zv = this.dy;
|
|
1119
|
+
f.zt = this.di;
|
|
1120
|
+
f.zu = this.di;
|
|
942
1121
|
}
|
|
943
|
-
this.m.
|
|
1122
|
+
this.m.ad();
|
|
944
1123
|
break;
|
|
945
1124
|
case "BaseTheme":
|
|
946
|
-
this.
|
|
1125
|
+
this.c0();
|
|
947
1126
|
break;
|
|
948
1127
|
case "Density":
|
|
949
|
-
this.
|
|
1128
|
+
this.cz();
|
|
950
1129
|
break;
|
|
951
1130
|
case "IsRowHoverEnabled":
|
|
952
1131
|
if (this.h != null) {
|
|
953
|
-
this.h.ka = this.
|
|
1132
|
+
this.h.ka = this.an;
|
|
954
1133
|
}
|
|
955
1134
|
break;
|
|
956
1135
|
case "ScrollbarStyle":
|
|
@@ -960,44 +1139,69 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
960
1139
|
break;
|
|
961
1140
|
case "ScrollbarBackground":
|
|
962
1141
|
if (this.h != null) {
|
|
963
|
-
this.h.aae = this.
|
|
1142
|
+
this.h.aae = this.dr;
|
|
1143
|
+
}
|
|
1144
|
+
break;
|
|
1145
|
+
case "SearchIconColor":
|
|
1146
|
+
this.m.ab();
|
|
1147
|
+
break;
|
|
1148
|
+
case "SearchBackgroundColor":
|
|
1149
|
+
this.r.oz = this.ds;
|
|
1150
|
+
break;
|
|
1151
|
+
case "SearchBorderColor":
|
|
1152
|
+
this.r.o0 = this.dt;
|
|
1153
|
+
break;
|
|
1154
|
+
case "SearchTextColor":
|
|
1155
|
+
this.p.d1 = this.dv;
|
|
1156
|
+
break;
|
|
1157
|
+
case "SearchTextStyle":
|
|
1158
|
+
this.p.af = this.af;
|
|
1159
|
+
break;
|
|
1160
|
+
case "CheckboxTickColor":
|
|
1161
|
+
case "CheckboxCheckedBackgroundColor":
|
|
1162
|
+
case "CheckboxUncheckedBackgroundColor":
|
|
1163
|
+
case "CheckboxCheckedBorderColor":
|
|
1164
|
+
case "CheckboxUncheckedBorderColor":
|
|
1165
|
+
this.m.y();
|
|
1166
|
+
if (this.h != null) {
|
|
1167
|
+
this.h.w9();
|
|
964
1168
|
}
|
|
965
1169
|
break;
|
|
966
1170
|
}
|
|
967
1171
|
};
|
|
968
|
-
CheckboxList.prototype.
|
|
1172
|
+
CheckboxList.prototype.cz = function () {
|
|
969
1173
|
if (this.h != null) {
|
|
970
1174
|
this.h.go = this.aa;
|
|
971
1175
|
}
|
|
972
1176
|
if (this.q != null) {
|
|
973
1177
|
this.q.n = this.aa;
|
|
974
1178
|
}
|
|
975
|
-
this.m.
|
|
1179
|
+
this.m.x();
|
|
976
1180
|
};
|
|
977
|
-
CheckboxList.prototype.
|
|
1181
|
+
CheckboxList.prototype.c0 = function () {
|
|
978
1182
|
if (this.q != null) {
|
|
979
1183
|
this.q.j = this.y;
|
|
980
1184
|
}
|
|
981
|
-
this.m.
|
|
1185
|
+
this.m.z();
|
|
982
1186
|
};
|
|
983
|
-
CheckboxList.prototype.
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
1187
|
+
CheckboxList.prototype.co = function (a, b) {
|
|
1188
|
+
this.aj = true;
|
|
1189
|
+
this.b7();
|
|
986
1190
|
if (b.schema != null) {
|
|
987
|
-
this.
|
|
1191
|
+
this.cq();
|
|
988
1192
|
for (var c = 0; c < this.g.count; c++) {
|
|
989
|
-
this.
|
|
1193
|
+
this.cl(this.g._inner[c]);
|
|
990
1194
|
}
|
|
991
|
-
this.m.
|
|
1195
|
+
this.m.ag();
|
|
992
1196
|
}
|
|
993
|
-
this.
|
|
1197
|
+
this.aj = false;
|
|
994
1198
|
};
|
|
995
|
-
CheckboxList.prototype.
|
|
996
|
-
if (this.ab == null && this.
|
|
997
|
-
this.ab = new FastReflectionHelper(false, this.
|
|
1199
|
+
CheckboxList.prototype.cq = function () {
|
|
1200
|
+
if (this.ab == null && this.a2 != null && this.a2 != "") {
|
|
1201
|
+
this.ab = new FastReflectionHelper(false, this.a2);
|
|
998
1202
|
}
|
|
999
|
-
if (this.
|
|
1000
|
-
this.ab.propertyName = this.
|
|
1203
|
+
if (this.ay != null && this.ab != null && this.h.actualDataSource.actualSchema != null) {
|
|
1204
|
+
this.ab.propertyName = this.a2;
|
|
1001
1205
|
var a = this.h.actualDataSource.actualCount;
|
|
1002
1206
|
for (var b = 0; b < a; b++) {
|
|
1003
1207
|
var c = this.h.actualDataSource.getItemAtIndex(b);
|
|
@@ -1011,24 +1215,24 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1011
1215
|
}
|
|
1012
1216
|
}
|
|
1013
1217
|
};
|
|
1014
|
-
CheckboxList.prototype.
|
|
1218
|
+
CheckboxList.prototype.c1 = function () {
|
|
1015
1219
|
this.h.actualColumns.clear();
|
|
1016
1220
|
this.h.l = this.b;
|
|
1017
1221
|
this.h.jy = false;
|
|
1018
|
-
this.h.oa = this.
|
|
1019
|
-
this.h.zt = this.
|
|
1020
|
-
this.h.zu = this.
|
|
1222
|
+
this.h.oa = this.ax;
|
|
1223
|
+
this.h.zt = this.di;
|
|
1224
|
+
this.h.zu = this.di;
|
|
1021
1225
|
this.h.go = this.aa;
|
|
1022
|
-
this.h.ka = this.
|
|
1226
|
+
this.h.ka = this.an;
|
|
1023
1227
|
this.h.aa0 = new Thickness(0, 0);
|
|
1024
|
-
if (this.
|
|
1025
|
-
this.h.gx = this.
|
|
1228
|
+
if (this.ae != null) {
|
|
1229
|
+
this.h.gx = this.ae;
|
|
1026
1230
|
}
|
|
1027
1231
|
var a = new TemplateColumn();
|
|
1028
|
-
if (this.
|
|
1029
|
-
this.
|
|
1232
|
+
if (this.a2 == null) {
|
|
1233
|
+
this.a2 = "";
|
|
1030
1234
|
}
|
|
1031
|
-
a.i8 = this.
|
|
1235
|
+
a.i8 = this.a2;
|
|
1032
1236
|
a.jz = "CheckboxColumn";
|
|
1033
1237
|
var b = new ColumnWidth();
|
|
1034
1238
|
b.c = false;
|
|
@@ -1036,10 +1240,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1036
1240
|
a.width = b;
|
|
1037
1241
|
a.h2 = 0;
|
|
1038
1242
|
a.h3 = 0;
|
|
1039
|
-
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.
|
|
1243
|
+
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.b8));
|
|
1040
1244
|
this.h.columns.add(a);
|
|
1041
1245
|
this.i = a;
|
|
1042
|
-
var c = this.h.actualDataSource.resolveSchemaPropertyType(this.
|
|
1246
|
+
var c = this.h.actualDataSource.resolveSchemaPropertyType(this.a0);
|
|
1043
1247
|
var d;
|
|
1044
1248
|
switch (c) {
|
|
1045
1249
|
case 8:
|
|
@@ -1062,25 +1266,25 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1062
1266
|
d = new TextColumn();
|
|
1063
1267
|
break;
|
|
1064
1268
|
}
|
|
1065
|
-
d.i8 = this.
|
|
1269
|
+
d.i8 = this.a0;
|
|
1066
1270
|
d.jz = "DataColumn";
|
|
1067
1271
|
d.h2 = 0;
|
|
1068
1272
|
d.e = 0;
|
|
1069
1273
|
this.h.columns.add(d);
|
|
1070
1274
|
};
|
|
1071
1275
|
CheckboxList.prototype.updateHrMargin = function (a) {
|
|
1072
|
-
this.m.
|
|
1276
|
+
this.m.aa(a);
|
|
1073
1277
|
};
|
|
1074
1278
|
CheckboxList.prototype.provideHrElement = function (a) {
|
|
1075
|
-
this.m.
|
|
1279
|
+
this.m.p(a);
|
|
1076
1280
|
};
|
|
1077
|
-
CheckboxList.prototype.
|
|
1281
|
+
CheckboxList.prototype.ck = function () {
|
|
1078
1282
|
var a = this.p;
|
|
1079
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
1283
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.cc));
|
|
1080
1284
|
};
|
|
1081
|
-
CheckboxList.prototype.
|
|
1285
|
+
CheckboxList.prototype.cc = function (a, b) {
|
|
1082
1286
|
var c = b.value.toLowerCase();
|
|
1083
|
-
this.
|
|
1287
|
+
this.cj(c);
|
|
1084
1288
|
};
|
|
1085
1289
|
CheckboxList.prototype.j = function (a) {
|
|
1086
1290
|
if (this.b == null) {
|
|
@@ -1094,55 +1298,55 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1094
1298
|
}
|
|
1095
1299
|
return new PrimaryKeyValue(b, c);
|
|
1096
1300
|
};
|
|
1097
|
-
CheckboxList.prototype.
|
|
1098
|
-
this.
|
|
1301
|
+
CheckboxList.prototype.cw = function (a) {
|
|
1302
|
+
this.ai = true;
|
|
1099
1303
|
var b = this.e.getItemAtIndex(a);
|
|
1100
1304
|
var c = this.j(b);
|
|
1101
1305
|
this.g.remove(c);
|
|
1102
|
-
this.
|
|
1306
|
+
this.ai = false;
|
|
1103
1307
|
};
|
|
1104
|
-
CheckboxList.prototype.
|
|
1105
|
-
this.
|
|
1308
|
+
CheckboxList.prototype.b5 = function (a) {
|
|
1309
|
+
this.ai = true;
|
|
1106
1310
|
var b = this.e.getItemAtIndex(a);
|
|
1107
1311
|
var c = this.j(b);
|
|
1108
1312
|
this.g.add(c);
|
|
1109
|
-
this.
|
|
1313
|
+
this.ai = false;
|
|
1110
1314
|
};
|
|
1111
|
-
CheckboxList.prototype.
|
|
1315
|
+
CheckboxList.prototype.cy = function () {
|
|
1112
1316
|
this.l = 0;
|
|
1113
1317
|
this.g.clear();
|
|
1114
|
-
this.
|
|
1115
|
-
this.m.
|
|
1318
|
+
this.cd();
|
|
1319
|
+
this.m.ag();
|
|
1116
1320
|
};
|
|
1117
|
-
CheckboxList.prototype.
|
|
1321
|
+
CheckboxList.prototype.b9 = function () {
|
|
1118
1322
|
this.l = 1;
|
|
1119
1323
|
this.g.clear();
|
|
1120
|
-
this.
|
|
1121
|
-
this.m.
|
|
1324
|
+
this.cd();
|
|
1325
|
+
this.m.ag();
|
|
1122
1326
|
};
|
|
1123
|
-
CheckboxList.prototype.
|
|
1327
|
+
CheckboxList.prototype.cg = function (a, b, c) {
|
|
1124
1328
|
if (this.h != null) {
|
|
1125
1329
|
this.h.u5(a, b, c);
|
|
1126
1330
|
}
|
|
1127
1331
|
};
|
|
1128
|
-
CheckboxList.prototype.
|
|
1332
|
+
CheckboxList.prototype.cd = function () {
|
|
1129
1333
|
if (this.h != null) {
|
|
1130
1334
|
this.h.uz();
|
|
1131
1335
|
}
|
|
1132
1336
|
};
|
|
1133
|
-
CheckboxList.prototype.
|
|
1337
|
+
CheckboxList.prototype.ce = function (a, b) {
|
|
1134
1338
|
if (this.h != null) {
|
|
1135
1339
|
this.h.u1(a, b);
|
|
1136
1340
|
}
|
|
1137
1341
|
;
|
|
1138
1342
|
};
|
|
1139
|
-
CheckboxList.prototype.
|
|
1343
|
+
CheckboxList.prototype.cf = function (a, b) {
|
|
1140
1344
|
if (this.h != null) {
|
|
1141
1345
|
this.h.u2(a, b);
|
|
1142
1346
|
}
|
|
1143
1347
|
;
|
|
1144
1348
|
};
|
|
1145
|
-
CheckboxList.prototype.
|
|
1349
|
+
CheckboxList.prototype.b6 = function (a) {
|
|
1146
1350
|
var b = null;
|
|
1147
1351
|
if (this.b == null || this.b.length == 0) {
|
|
1148
1352
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1157,7 +1361,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1157
1361
|
this.g.add(b);
|
|
1158
1362
|
}
|
|
1159
1363
|
};
|
|
1160
|
-
CheckboxList.prototype.
|
|
1364
|
+
CheckboxList.prototype.cx = function (a) {
|
|
1161
1365
|
var b = null;
|
|
1162
1366
|
if (this.b == null || this.b.length == 0) {
|
|
1163
1367
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1172,59 +1376,59 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1172
1376
|
this.g.remove(b);
|
|
1173
1377
|
}
|
|
1174
1378
|
};
|
|
1175
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1379
|
+
Object.defineProperty(CheckboxList.prototype, "bx", {
|
|
1176
1380
|
get: function () {
|
|
1177
|
-
return this.
|
|
1381
|
+
return this.bw != null ? this.bw : !stringIsNullOrWhiteSpace(this.ah.b1("Select_All")) ? this.ah.b1("Select_All") : "(Select All)";
|
|
1178
1382
|
},
|
|
1179
1383
|
set: function (a) {
|
|
1180
|
-
if (a == this.
|
|
1384
|
+
if (a == this.bw) {
|
|
1181
1385
|
return;
|
|
1182
1386
|
}
|
|
1183
|
-
var b = this.
|
|
1184
|
-
this.
|
|
1185
|
-
this.
|
|
1387
|
+
var b = this.bw;
|
|
1388
|
+
this.bw = a;
|
|
1389
|
+
this.cn("SelectAllCaption", b, this.bw);
|
|
1186
1390
|
},
|
|
1187
1391
|
enumerable: true,
|
|
1188
1392
|
configurable: true
|
|
1189
1393
|
});
|
|
1190
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1394
|
+
Object.defineProperty(CheckboxList.prototype, "dw", {
|
|
1191
1395
|
get: function () {
|
|
1192
|
-
return this.
|
|
1396
|
+
return this.df;
|
|
1193
1397
|
},
|
|
1194
1398
|
set: function (a) {
|
|
1195
|
-
var b = this.
|
|
1196
|
-
this.
|
|
1197
|
-
if (b != this.
|
|
1198
|
-
this.
|
|
1399
|
+
var b = this.df;
|
|
1400
|
+
this.df = a;
|
|
1401
|
+
if (b != this.df) {
|
|
1402
|
+
this.cn("SelectAllCaptionTextColor", b, a);
|
|
1199
1403
|
}
|
|
1200
1404
|
},
|
|
1201
1405
|
enumerable: true,
|
|
1202
1406
|
configurable: true
|
|
1203
1407
|
});
|
|
1204
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1408
|
+
Object.defineProperty(CheckboxList.prototype, "dh", {
|
|
1205
1409
|
get: function () {
|
|
1206
|
-
return this.
|
|
1410
|
+
return this.c3;
|
|
1207
1411
|
},
|
|
1208
1412
|
set: function (a) {
|
|
1209
|
-
var b = this.
|
|
1210
|
-
this.
|
|
1211
|
-
if (b != this.
|
|
1212
|
-
this.
|
|
1413
|
+
var b = this.c3;
|
|
1414
|
+
this.c3 = a;
|
|
1415
|
+
if (b != this.c3) {
|
|
1416
|
+
this.cn("ActualSelectAllCaptionTextColor", b, a);
|
|
1213
1417
|
}
|
|
1214
1418
|
},
|
|
1215
1419
|
enumerable: true,
|
|
1216
1420
|
configurable: true
|
|
1217
1421
|
});
|
|
1218
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1422
|
+
Object.defineProperty(CheckboxList.prototype, "ao", {
|
|
1219
1423
|
get: function () {
|
|
1220
|
-
if (-1 == this.
|
|
1424
|
+
if (-1 == this.aw) {
|
|
1221
1425
|
return false;
|
|
1222
1426
|
}
|
|
1223
1427
|
var a = this.g.count;
|
|
1224
1428
|
if (0 == a) {
|
|
1225
1429
|
return false;
|
|
1226
1430
|
}
|
|
1227
|
-
if (a == this.
|
|
1431
|
+
if (a == this.aw) {
|
|
1228
1432
|
return false;
|
|
1229
1433
|
}
|
|
1230
1434
|
return true;
|
|
@@ -1232,50 +1436,50 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1232
1436
|
enumerable: true,
|
|
1233
1437
|
configurable: true
|
|
1234
1438
|
});
|
|
1235
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1439
|
+
Object.defineProperty(CheckboxList.prototype, "as", {
|
|
1236
1440
|
get: function () {
|
|
1237
|
-
return this.
|
|
1441
|
+
return this.ar;
|
|
1238
1442
|
},
|
|
1239
1443
|
set: function (a) {
|
|
1240
|
-
if (a == this.
|
|
1444
|
+
if (a == this.ar) {
|
|
1241
1445
|
return;
|
|
1242
1446
|
}
|
|
1243
|
-
var b = this.
|
|
1244
|
-
this.
|
|
1245
|
-
this.
|
|
1447
|
+
var b = this.ar;
|
|
1448
|
+
this.ar = a;
|
|
1449
|
+
this.cn("showSelectAll", b, this.ar);
|
|
1246
1450
|
},
|
|
1247
1451
|
enumerable: true,
|
|
1248
1452
|
configurable: true
|
|
1249
1453
|
});
|
|
1250
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1454
|
+
Object.defineProperty(CheckboxList.prototype, "di", {
|
|
1251
1455
|
get: function () {
|
|
1252
|
-
return this.
|
|
1456
|
+
return this.c4;
|
|
1253
1457
|
},
|
|
1254
1458
|
set: function (a) {
|
|
1255
|
-
var b = this.
|
|
1256
|
-
this.
|
|
1257
|
-
if (b != this.
|
|
1258
|
-
this.
|
|
1459
|
+
var b = this.c4;
|
|
1460
|
+
this.c4 = a;
|
|
1461
|
+
if (b != this.c4) {
|
|
1462
|
+
this.cn("BackgroundColor", b, a);
|
|
1259
1463
|
}
|
|
1260
1464
|
},
|
|
1261
1465
|
enumerable: true,
|
|
1262
1466
|
configurable: true
|
|
1263
1467
|
});
|
|
1264
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1468
|
+
Object.defineProperty(CheckboxList.prototype, "dy", {
|
|
1265
1469
|
get: function () {
|
|
1266
|
-
return this.
|
|
1470
|
+
return this.dg;
|
|
1267
1471
|
},
|
|
1268
1472
|
set: function (a) {
|
|
1269
|
-
var b = this.
|
|
1270
|
-
this.
|
|
1271
|
-
if (b != this.
|
|
1272
|
-
this.
|
|
1473
|
+
var b = this.dg;
|
|
1474
|
+
this.dg = a;
|
|
1475
|
+
if (b != this.dg) {
|
|
1476
|
+
this.cn("TextColor", b, a);
|
|
1273
1477
|
}
|
|
1274
1478
|
},
|
|
1275
1479
|
enumerable: true,
|
|
1276
1480
|
configurable: true
|
|
1277
1481
|
});
|
|
1278
|
-
CheckboxList.prototype.
|
|
1482
|
+
CheckboxList.prototype.cp = function (a) {
|
|
1279
1483
|
if (this.selectAllCheckboxChanged != null) {
|
|
1280
1484
|
this.selectAllCheckboxChanged(this, ((function () {
|
|
1281
1485
|
var $ret = new SelectAllCheckboxChangedEventArgs();
|
|
@@ -1284,77 +1488,77 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1284
1488
|
})()));
|
|
1285
1489
|
}
|
|
1286
1490
|
};
|
|
1287
|
-
CheckboxList.prototype.
|
|
1288
|
-
if (-1 == this.
|
|
1491
|
+
CheckboxList.prototype.al = function () {
|
|
1492
|
+
if (-1 == this.aw) {
|
|
1289
1493
|
return true;
|
|
1290
1494
|
}
|
|
1291
1495
|
var a = this.g.count;
|
|
1292
1496
|
switch (this.l) {
|
|
1293
|
-
case 0: return this.
|
|
1497
|
+
case 0: return this.aw == a;
|
|
1294
1498
|
case 1: return 0 == a;
|
|
1295
1499
|
default: return false;
|
|
1296
1500
|
}
|
|
1297
1501
|
};
|
|
1298
|
-
CheckboxList.prototype.
|
|
1299
|
-
if (-1 == this.
|
|
1502
|
+
CheckboxList.prototype.ak = function () {
|
|
1503
|
+
if (-1 == this.aw) {
|
|
1300
1504
|
return false;
|
|
1301
1505
|
}
|
|
1302
1506
|
var a = this.g.count;
|
|
1303
1507
|
switch (this.l) {
|
|
1304
1508
|
case 0: return 0 == a;
|
|
1305
|
-
case 1: return this.
|
|
1509
|
+
case 1: return this.aw == a;
|
|
1306
1510
|
default: return false;
|
|
1307
1511
|
}
|
|
1308
1512
|
};
|
|
1309
|
-
CheckboxList.prototype.
|
|
1513
|
+
CheckboxList.prototype.b7 = function () {
|
|
1310
1514
|
var a = this.h.actualDataSource;
|
|
1311
1515
|
if (null != a) {
|
|
1312
1516
|
if (null == a.actualSchema) {
|
|
1313
|
-
this.
|
|
1517
|
+
this.aw = -1;
|
|
1314
1518
|
return;
|
|
1315
1519
|
}
|
|
1316
1520
|
var b = a.actualCount;
|
|
1317
|
-
this.
|
|
1521
|
+
this.aw = b;
|
|
1318
1522
|
}
|
|
1319
1523
|
else {
|
|
1320
|
-
this.
|
|
1524
|
+
this.aw = -1;
|
|
1321
1525
|
}
|
|
1322
1526
|
};
|
|
1323
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1527
|
+
Object.defineProperty(CheckboxList.prototype, "aq", {
|
|
1324
1528
|
get: function () {
|
|
1325
|
-
return this.
|
|
1529
|
+
return this.ap;
|
|
1326
1530
|
},
|
|
1327
1531
|
set: function (a) {
|
|
1328
|
-
if (a == this.
|
|
1532
|
+
if (a == this.ap) {
|
|
1329
1533
|
return;
|
|
1330
1534
|
}
|
|
1331
|
-
var b = this.
|
|
1332
|
-
this.
|
|
1333
|
-
this.
|
|
1535
|
+
var b = this.ap;
|
|
1536
|
+
this.ap = a;
|
|
1537
|
+
this.cn("ShowFilter", b, this.ap);
|
|
1334
1538
|
},
|
|
1335
1539
|
enumerable: true,
|
|
1336
1540
|
configurable: true
|
|
1337
1541
|
});
|
|
1338
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1542
|
+
Object.defineProperty(CheckboxList.prototype, "an", {
|
|
1339
1543
|
get: function () {
|
|
1340
|
-
return this.
|
|
1544
|
+
return this.am;
|
|
1341
1545
|
},
|
|
1342
1546
|
set: function (a) {
|
|
1343
|
-
if (a == this.
|
|
1547
|
+
if (a == this.am) {
|
|
1344
1548
|
return;
|
|
1345
1549
|
}
|
|
1346
|
-
var b = this.
|
|
1347
|
-
this.
|
|
1348
|
-
this.
|
|
1550
|
+
var b = this.am;
|
|
1551
|
+
this.am = a;
|
|
1552
|
+
this.cn("IsRowHoverEnabled", b, this.am);
|
|
1349
1553
|
},
|
|
1350
1554
|
enumerable: true,
|
|
1351
1555
|
configurable: true
|
|
1352
1556
|
});
|
|
1353
1557
|
CheckboxList.$t = markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
|
|
1354
|
-
CheckboxList.
|
|
1355
|
-
CheckboxList.
|
|
1356
|
-
CheckboxList.
|
|
1357
|
-
CheckboxList.
|
|
1558
|
+
CheckboxList.dx = BrushUtil.g(255, 24, 29, 31);
|
|
1559
|
+
CheckboxList.bt = "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
|
|
1560
|
+
CheckboxList.dp = BrushUtil.g(255, 248, 248, 248);
|
|
1561
|
+
CheckboxList.dq = BrushUtil.g(255, 24, 29, 31);
|
|
1358
1562
|
return CheckboxList;
|
|
1359
1563
|
}(Base));
|
|
1360
1564
|
export { CheckboxList };
|