igniteui-webcomponents-grids 5.3.0 → 5.4.0
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 +2341 -1701
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/custom-elements.json +1423 -0
- package/esm2015/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +97 -49
- package/esm2015/lib/CheckboxListView_combined.js +989 -602
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +803 -789
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +3 -3
- package/esm2015/lib/DataGridToolbarView_combined.js +1 -1
- package/esm2015/lib/GridCellBase.js +14 -4
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm2015/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- package/esm2015/lib/GridEffectMainIntent.js +1 -1
- package/esm2015/lib/GridFilterDialogView_combined.js +2 -0
- package/esm2015/lib/ISummaryChooserView_combined.js +9 -9
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +3 -3
- package/esm2015/lib/TemplateCellPresenter.js +1 -1
- package/esm2015/lib/TemplateHeader.js +1 -1
- package/esm2015/lib/igc-checkbox-list-component.js +150 -71
- package/esm2015/lib/igc-combo-box-column-component.js +10 -10
- package/esm2015/lib/igc-data-grid-column-component.js +77 -77
- package/esm2015/lib/igc-data-grid-filter-dialog-component.js +3 -0
- package/esm2015/lib/igc-date-time-column-component.js +23 -23
- package/esm2015/lib/igc-image-column-component.js +12 -12
- package/esm2015/lib/igc-numeric-column-component.js +35 -35
- package/esm2015/lib/igc-text-column-component.js +9 -9
- package/esm5/lib/CanvasTemplateCellPresenter.js +1 -1
- package/esm5/lib/CheckboxListBridge.js +97 -49
- package/esm5/lib/CheckboxListView_combined.js +1009 -580
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +836 -786
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +3 -3
- package/esm5/lib/DataGridToolbarView_combined.js +1 -1
- package/esm5/lib/GridCellBase.js +14 -4
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnHideOptionsView_combined.js +3 -3
- package/esm5/lib/GridColumnMoveOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnPinOptionsView_combined.js +1 -1
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- package/esm5/lib/GridEffectMainIntent.js +1 -1
- package/esm5/lib/GridFilterDialogView_combined.js +2 -0
- package/esm5/lib/ISummaryChooserView_combined.js +9 -9
- package/esm5/lib/MultiColumnComboBoxView_combined.js +3 -3
- package/esm5/lib/TemplateCellPresenter.js +1 -1
- package/esm5/lib/TemplateHeader.js +1 -1
- package/esm5/lib/igc-checkbox-list-component.js +179 -71
- package/esm5/lib/igc-combo-box-column-component.js +10 -10
- package/esm5/lib/igc-data-grid-column-component.js +77 -77
- package/esm5/lib/igc-data-grid-filter-dialog-component.js +3 -0
- package/esm5/lib/igc-date-time-column-component.js +23 -23
- package/esm5/lib/igc-image-column-component.js +12 -12
- package/esm5/lib/igc-numeric-column-component.js +35 -35
- package/esm5/lib/igc-text-column-component.js +9 -9
- package/fesm2015/igniteui-webcomponents-grids.js +2259 -1726
- package/fesm5/igniteui-webcomponents-grids.js +2343 -1703
- package/grids/combined.js +25338 -23125
- package/grids/index.d.ts +1 -204
- package/grids/lib/igc-column-component.d.ts +1 -1
- package/grids/lib/igc-expression-tree.d.ts +7 -0
- package/grids/lib/igc-filtering-expression.d.ts +9 -4
- package/grids/lib/igc-filtering-expressions-tree.d.ts +9 -1
- package/grids/lib/igc-filtering-operand.d.ts +1 -1
- package/grids/lib/igc-filtering-operation.d.ts +4 -2
- package/grids/lib/igc-grid-base-directive.d.ts +1 -1
- package/grids/lib/igc-grid-created-event-args.d.ts +3 -0
- package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +1 -1
- package/grids/lib/igc-pivot-dimension.d.ts +1 -1
- package/grids/lib/igc-pivot-value.d.ts +1 -1
- package/grids/lib/igc-row-island-component.d.ts +1 -1
- package/grids/lib/index.d.ts +204 -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/CheckboxListBridge.d.ts +12 -9
- package/lib/CheckboxListExternal.d.ts +12 -0
- package/lib/CheckboxListViewExternal.d.ts +1 -0
- package/lib/CheckboxListView_combined.d.ts +184 -151
- package/lib/ColumnFilterCondition_combined.d.ts +178 -176
- package/lib/GridEffectMainIntent.d.ts +4 -3
- package/lib/GridFilterDialogView_combined.d.ts +1 -0
- package/lib/igc-checkbox-list-component.d.ts +29 -0
- package/lib/igc-data-grid-filter-dialog-component.d.ts +1 -0
- package/package.json +4 -4
|
@@ -5,31 +5,41 @@ https://www.infragistics.com/legal/license/igultimate-eula
|
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
7
|
import { __extends, __values } from "tslib";
|
|
8
|
-
import { Base, runOn, delegateCombine, fromEnum, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove,
|
|
8
|
+
import { Base, runOn, delegateCombine, typeCast, fromEnum, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, EnumUtil, enumGetBox } from "igniteui-webcomponents-core";
|
|
9
9
|
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
|
+
import { XLabel } from "igniteui-webcomponents-inputs";
|
|
13
|
+
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
12
14
|
import { XPrefix } from "igniteui-webcomponents-inputs";
|
|
13
15
|
import { XInputGroup } from "igniteui-webcomponents-inputs";
|
|
14
|
-
import { XIcon } from "igniteui-webcomponents-inputs";
|
|
15
16
|
import { XInput } from "igniteui-webcomponents-inputs";
|
|
16
17
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
18
|
+
import { FontInfo } from "igniteui-webcomponents-core";
|
|
19
|
+
import { DataContext } from "igniteui-webcomponents-core";
|
|
20
|
+
import { IDataLegendTarget_$type } from "igniteui-webcomponents-core";
|
|
21
|
+
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
22
|
+
import { DeviceUtils } from "igniteui-webcomponents-core";
|
|
23
|
+
import { Brush } from "igniteui-webcomponents-core";
|
|
24
|
+
import { Color } from "igniteui-webcomponents-core";
|
|
17
25
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
18
26
|
import { PrimaryKeyValue } from "./PrimaryKeyValue";
|
|
19
27
|
import { Thickness } from "igniteui-webcomponents-core";
|
|
20
28
|
import { CheckboxListIndexType_$type } from "./CheckboxListIndexType";
|
|
29
|
+
import { stringIsNullOrEmpty, stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
21
30
|
import { SRProvider } from "igniteui-webcomponents-core";
|
|
22
31
|
import { GridSelectedKeysCollection } from "./GridSelectedKeysCollection";
|
|
23
32
|
import { InputGroupDisplayType_$type } from "igniteui-webcomponents-inputs";
|
|
24
33
|
import { GridStyleRepository } from "./GridStyleRepository";
|
|
25
34
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
26
35
|
import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
|
|
27
|
-
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
28
36
|
import { FilterFactory } from "igniteui-webcomponents-core";
|
|
29
37
|
import { CheckboxListKeysClearedEventArgs } from "./CheckboxListKeysClearedEventArgs";
|
|
30
38
|
import { CheckedChangedEventArgs } from "./CheckedChangedEventArgs";
|
|
31
39
|
import { TemplateColumn } from "./TemplateColumn";
|
|
32
40
|
import { FastReflectionHelper } from "igniteui-webcomponents-core";
|
|
41
|
+
import { DataSeriesPropertyType_$type } from "igniteui-webcomponents-core";
|
|
42
|
+
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
33
43
|
import { DataSourceSchemaPropertyType_$type } from "igniteui-webcomponents-core";
|
|
34
44
|
import { CheckboxListIndexTypeChangedEventArgs } from "./CheckboxListIndexTypeChangedEventArgs";
|
|
35
45
|
import { ColumnWidth } from "./ColumnWidth";
|
|
@@ -41,7 +51,6 @@ import { Size } from "igniteui-webcomponents-core";
|
|
|
41
51
|
import { ComponentSizeHelpers } from "igniteui-webcomponents-core";
|
|
42
52
|
import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
|
|
43
53
|
import { isPositiveInfinity } from "igniteui-webcomponents-core";
|
|
44
|
-
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
45
54
|
/**
|
|
46
55
|
* @hidden
|
|
47
56
|
*/
|
|
@@ -50,51 +59,54 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
50
59
|
function CheckboxListView() {
|
|
51
60
|
var _this = _super.call(this) || this;
|
|
52
61
|
_this.e = new Dictionary$2(DomWrapper_$type, XCheckbox.$, 0);
|
|
53
|
-
_this.
|
|
62
|
+
_this.h = new Dictionary$2(DomWrapper_$type, XLabel.$, 0);
|
|
63
|
+
_this.g = new Dictionary$2(DomWrapper_$type, XLabel.$, 0);
|
|
64
|
+
_this.f = new Dictionary$2(DomWrapper_$type, XIcon.$, 0);
|
|
65
|
+
_this.m = null;
|
|
54
66
|
_this.a = null;
|
|
55
|
-
_this.
|
|
56
|
-
_this.
|
|
67
|
+
_this.l = null;
|
|
68
|
+
_this.k = null;
|
|
57
69
|
_this.c = null;
|
|
58
70
|
_this.b = null;
|
|
59
|
-
_this.
|
|
71
|
+
_this.i = null;
|
|
60
72
|
_this.d = false;
|
|
61
|
-
_this.
|
|
73
|
+
_this.j = null;
|
|
62
74
|
return _this;
|
|
63
75
|
}
|
|
64
|
-
CheckboxListView.prototype.
|
|
76
|
+
CheckboxListView.prototype.q = function () {
|
|
65
77
|
};
|
|
66
|
-
CheckboxListView.prototype.
|
|
78
|
+
CheckboxListView.prototype.p = function (a) {
|
|
67
79
|
if (a == null) {
|
|
68
|
-
this.
|
|
80
|
+
this.i = null;
|
|
69
81
|
this.e.clear();
|
|
70
82
|
return;
|
|
71
83
|
}
|
|
72
|
-
this.
|
|
73
|
-
this.
|
|
74
|
-
this.
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
84
|
+
this.i = a;
|
|
85
|
+
this.aa();
|
|
86
|
+
this.aj();
|
|
87
|
+
this.am();
|
|
88
|
+
this.x();
|
|
77
89
|
var b = Math.round(a.rootWrapper.width());
|
|
78
90
|
var c = Math.round(a.rootWrapper.height());
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
91
|
+
this.i.rootWrapper.setStyleProperty("position", "relative");
|
|
92
|
+
this.i.rootWrapper.setStyleProperty("padding-bottom", "4px");
|
|
93
|
+
this.al();
|
|
82
94
|
};
|
|
83
|
-
CheckboxListView.prototype.
|
|
84
|
-
if (this.
|
|
85
|
-
this.
|
|
95
|
+
CheckboxListView.prototype.aa = function () {
|
|
96
|
+
if (this.i != null) {
|
|
97
|
+
this.ab(this.i);
|
|
86
98
|
}
|
|
87
99
|
};
|
|
88
|
-
CheckboxListView.prototype.
|
|
100
|
+
CheckboxListView.prototype.ab = function (a) {
|
|
89
101
|
var b = a.rootWrapper.getChildAt(0);
|
|
90
|
-
this.
|
|
91
|
-
this.b.
|
|
102
|
+
this.k = b;
|
|
103
|
+
this.b.w = new XInputGroup();
|
|
92
104
|
var c = a.getSubRenderer(b);
|
|
93
|
-
this.b.
|
|
94
|
-
var d = c.getExternal(this.b.
|
|
95
|
-
this.b.
|
|
96
|
-
this.b.
|
|
97
|
-
this.b.
|
|
105
|
+
this.b.w.provideContainer(c);
|
|
106
|
+
var d = c.getExternal(this.b.w, c.rootWrapper, c.getExternal(this.b, null, null));
|
|
107
|
+
this.b.w.d = this.b.y;
|
|
108
|
+
this.b.w.p = this.b.baseTheme;
|
|
109
|
+
this.b.w.t = this.b.density;
|
|
98
110
|
var e = a.createElement("div");
|
|
99
111
|
var f = a.getSubRenderer(e);
|
|
100
112
|
var g = new XPrefix();
|
|
@@ -105,51 +117,51 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
105
117
|
this.c = new XIcon();
|
|
106
118
|
this.c.provideContainer(j);
|
|
107
119
|
this.c.fill = this.b.searchIconColor;
|
|
108
|
-
this.c.svgPath = CheckboxList.
|
|
120
|
+
this.c.svgPath = CheckboxList.cl;
|
|
109
121
|
var k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
110
122
|
g.appendContentChild(i);
|
|
111
|
-
this.b.
|
|
112
|
-
this.b.
|
|
123
|
+
this.b.w.appendContentChild(e);
|
|
124
|
+
this.b.w.inputs.add(g);
|
|
113
125
|
var l = a.createElement("div");
|
|
114
126
|
l.setRawStyleProperty("flex-grow", "1");
|
|
115
127
|
var m = a.getSubRenderer(l);
|
|
116
|
-
this.b.
|
|
117
|
-
this.b.
|
|
118
|
-
this.b.
|
|
119
|
-
var n = m.getExternal(this.b.
|
|
120
|
-
if (this.b.
|
|
121
|
-
this.b.
|
|
122
|
-
}
|
|
123
|
-
this.b.
|
|
124
|
-
this.b.
|
|
125
|
-
this.b.
|
|
126
|
-
};
|
|
127
|
-
CheckboxListView.prototype.
|
|
128
|
-
if (this.
|
|
129
|
-
var a = this.
|
|
128
|
+
this.b.u = new XInput();
|
|
129
|
+
this.b.u.provideContainer(m);
|
|
130
|
+
this.b.u.b8 = "text";
|
|
131
|
+
var n = m.getExternal(this.b.u, m.rootWrapper, m.getExternal(this.b, null, null));
|
|
132
|
+
if (this.b.b4 != null) {
|
|
133
|
+
this.b.u.cg = this.b.b4;
|
|
134
|
+
}
|
|
135
|
+
this.b.w.appendContentChild(l);
|
|
136
|
+
this.b.w.inputs.add(this.b.u);
|
|
137
|
+
this.b.dl();
|
|
138
|
+
};
|
|
139
|
+
CheckboxListView.prototype.x = function () {
|
|
140
|
+
if (this.i != null) {
|
|
141
|
+
var a = this.i.rootWrapper.getChildAt(3);
|
|
130
142
|
a.setStyleProperty("width", "100%");
|
|
131
143
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
132
|
-
if (!this.b.
|
|
144
|
+
if (!this.b.a3 && !this.b.showSelectAll) {
|
|
133
145
|
a.setStyleProperty("height", "100%");
|
|
134
146
|
}
|
|
135
147
|
else {
|
|
136
|
-
var b = this.b.
|
|
148
|
+
var b = this.b.a9();
|
|
137
149
|
a.setStyleProperty("height", "calc(100% - " + b + "px");
|
|
138
150
|
}
|
|
139
151
|
}
|
|
140
152
|
};
|
|
141
|
-
CheckboxListView.prototype.
|
|
153
|
+
CheckboxListView.prototype.r = function (a, b, c) {
|
|
142
154
|
var d = null;
|
|
143
155
|
if (a.getChildCount() == 0) {
|
|
144
156
|
d = new XCheckbox();
|
|
145
|
-
var e = this.
|
|
157
|
+
var e = this.i.getSubRenderer(a);
|
|
146
158
|
d.provideContainer(e);
|
|
147
|
-
var f = this.
|
|
159
|
+
var f = this.i.getExternal(d, e.rootWrapper, this.i.getExternal(this.b, null, null));
|
|
148
160
|
this.e.addItem(a, d);
|
|
149
161
|
d.n = this.b.baseTheme;
|
|
150
162
|
d.y = true;
|
|
151
|
-
d.change = delegateCombine(d.change, runOn(this, this.
|
|
152
|
-
var g = this.
|
|
163
|
+
d.change = delegateCombine(d.change, runOn(this, this.n));
|
|
164
|
+
var g = this.i.createElement("div");
|
|
153
165
|
a.setStyleProperty("display", "flex");
|
|
154
166
|
a.setStyleProperty("height", "100%");
|
|
155
167
|
a.setStyleProperty("align-items", "center");
|
|
@@ -174,6 +186,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
174
186
|
var h = d.z;
|
|
175
187
|
try {
|
|
176
188
|
d.z = true;
|
|
189
|
+
d.ar = this.b.a7;
|
|
177
190
|
d.a4 = b;
|
|
178
191
|
if (c) {
|
|
179
192
|
if (this.b.indexType == 0) {
|
|
@@ -195,14 +208,170 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
195
208
|
finally {
|
|
196
209
|
d.z = h;
|
|
197
210
|
}
|
|
198
|
-
d.dk = this.b.
|
|
199
|
-
d.dd = this.b.
|
|
200
|
-
d.dl = this.b.
|
|
201
|
-
d.de = this.b.
|
|
202
|
-
d.dm = this.b.
|
|
211
|
+
d.dk = this.b.et;
|
|
212
|
+
d.dd = this.b.er;
|
|
213
|
+
d.dl = this.b.eu;
|
|
214
|
+
d.de = this.b.es;
|
|
215
|
+
d.dm = this.b.ev;
|
|
203
216
|
}
|
|
204
217
|
};
|
|
205
|
-
CheckboxListView.prototype.
|
|
218
|
+
CheckboxListView.prototype.s = function (a, b, c, d, e, f, g, h, i, j, k) {
|
|
219
|
+
var _this = this;
|
|
220
|
+
var l = null;
|
|
221
|
+
var m = null;
|
|
222
|
+
var n = null;
|
|
223
|
+
var o = null;
|
|
224
|
+
if (a.getChildCount() == 0) {
|
|
225
|
+
o = new XIcon();
|
|
226
|
+
l = new XLabel();
|
|
227
|
+
m = new XLabel();
|
|
228
|
+
a.setStyleProperty("display", "flex");
|
|
229
|
+
a.setStyleProperty("align-items", "center");
|
|
230
|
+
a.setStyleProperty("height", "100%");
|
|
231
|
+
var p = this.i.createElement("div");
|
|
232
|
+
var q = this.i.getSubRenderer(p);
|
|
233
|
+
o.provideContainer(q);
|
|
234
|
+
o.ap = 24;
|
|
235
|
+
o.as = 24;
|
|
236
|
+
p.setStyleProperty("margin-right", "10px");
|
|
237
|
+
var r = this.i.createElement("div");
|
|
238
|
+
var s = this.i.getSubRenderer(r);
|
|
239
|
+
l.provideContainer(s);
|
|
240
|
+
var t = this.i.createElement("div");
|
|
241
|
+
var u = this.i.getSubRenderer(t);
|
|
242
|
+
m.provideContainer(u);
|
|
243
|
+
this.h.addItem(a, l);
|
|
244
|
+
this.g.addItem(a, m);
|
|
245
|
+
this.f.addItem(a, o);
|
|
246
|
+
n = new XIcon();
|
|
247
|
+
var v = this.i.createElement("div");
|
|
248
|
+
var w = this.i.getSubRenderer(v);
|
|
249
|
+
n.provideContainer(w);
|
|
250
|
+
v.setStyleProperty("height", "100%");
|
|
251
|
+
v.setStyleProperty("margin-left", "-4px");
|
|
252
|
+
n.al = 16;
|
|
253
|
+
n.at = 16;
|
|
254
|
+
n.ap = 16;
|
|
255
|
+
n.as = 16;
|
|
256
|
+
n.ar = 2;
|
|
257
|
+
n.svgPath = "<svg width=\"16\" height=\"16\" viewBox=\"0 2 24 24\" fill=\"none\" stroke=\"rgba(0, 0, 0, 255)\" xmlns=\"http://www.w3.org/2000/svg\">\r\n" + "<path d=\"M20 11.1205L16.2166 14.8795L12.4575 11.1205\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\r\n" + "</svg>\r\n";
|
|
258
|
+
n.dp = BrushUtil.h(120, 0, 0, 0);
|
|
259
|
+
n.ao = DeviceUtils.g(1);
|
|
260
|
+
r.setStyleProperty("display", "flex");
|
|
261
|
+
r.setStyleProperty("height", "100%");
|
|
262
|
+
r.setStyleProperty("align-items", "center");
|
|
263
|
+
r.setStyleProperty("justify-content", "start");
|
|
264
|
+
r.setStyleProperty("flex", "auto");
|
|
265
|
+
t.setStyleProperty("display", "flex");
|
|
266
|
+
t.setStyleProperty("height", "100%");
|
|
267
|
+
t.setStyleProperty("align-items", "center");
|
|
268
|
+
t.setStyleProperty("justify-content", "center");
|
|
269
|
+
t.setStyleProperty("flex-direction", "column");
|
|
270
|
+
a.append(p);
|
|
271
|
+
a.append(r);
|
|
272
|
+
a.append(t);
|
|
273
|
+
a.append(v);
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
l = this.h.item(a);
|
|
277
|
+
m = this.g.item(a);
|
|
278
|
+
o = this.f.item(a);
|
|
279
|
+
}
|
|
280
|
+
if (l != null) {
|
|
281
|
+
try {
|
|
282
|
+
o.svg = null;
|
|
283
|
+
o.cu = null;
|
|
284
|
+
o.az = null;
|
|
285
|
+
var x = e != null ? e : ((function () {
|
|
286
|
+
var $ret = new FontInfo();
|
|
287
|
+
$ret.f = g;
|
|
288
|
+
$ret.q = f;
|
|
289
|
+
return $ret;
|
|
290
|
+
})());
|
|
291
|
+
l.ak = true;
|
|
292
|
+
l.p = this.b.baseTheme;
|
|
293
|
+
l.y = x;
|
|
294
|
+
l.text = c;
|
|
295
|
+
l.l = 0;
|
|
296
|
+
var y = a.getChildAt(0);
|
|
297
|
+
var z = h != null || i != null || k != null;
|
|
298
|
+
var aa = false;
|
|
299
|
+
y.setStyleProperty("width", z ? "24px" : "0px");
|
|
300
|
+
if (i != null) {
|
|
301
|
+
aa = true;
|
|
302
|
+
o.cu = i;
|
|
303
|
+
var ab = ((function () {
|
|
304
|
+
var $ret = new DataContext();
|
|
305
|
+
$ret.series = _this;
|
|
306
|
+
$ret.item = null;
|
|
307
|
+
$ret.itemBrush = ((function () {
|
|
308
|
+
var $ret = new Brush();
|
|
309
|
+
$ret.color = Color.u(255, 0, 0, 0);
|
|
310
|
+
$ret.fill = "black";
|
|
311
|
+
return $ret;
|
|
312
|
+
})());
|
|
313
|
+
return $ret;
|
|
314
|
+
})());
|
|
315
|
+
o.az = ab;
|
|
316
|
+
}
|
|
317
|
+
else if (h != null) {
|
|
318
|
+
var ac = typeCast(IDataLegendTarget_$type, h);
|
|
319
|
+
var ad = ac.getDataLegendSeries();
|
|
320
|
+
if (ad != null) {
|
|
321
|
+
for (var ae = 0; ae < ad.length; ae++) {
|
|
322
|
+
var af = ad[ae];
|
|
323
|
+
var ag = af.getDataLegendSeriesTitle();
|
|
324
|
+
if (c == ag || c + " " + d == ag) {
|
|
325
|
+
aa = true;
|
|
326
|
+
o.cu = af.getDataLegendBadge();
|
|
327
|
+
o.az = af.getDataLegendBadgeContext();
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
y.setStyleProperty("padding-bottom", "6px");
|
|
333
|
+
}
|
|
334
|
+
else if (k != null) {
|
|
335
|
+
aa = true;
|
|
336
|
+
o.aq = 0;
|
|
337
|
+
o.ar = 0;
|
|
338
|
+
o.al = 24;
|
|
339
|
+
o.at = 24;
|
|
340
|
+
o.ap = 24;
|
|
341
|
+
o.as = 24;
|
|
342
|
+
o.dh = BrushUtil.h(0, 255, 255, 255);
|
|
343
|
+
o.fill = BrushUtil.h(0, 255, 255, 255);
|
|
344
|
+
o.dp = BrushUtil.h(0, 255, 255, 255);
|
|
345
|
+
o.di = BrushUtil.h(0, 255, 255, 255);
|
|
346
|
+
o.svg = k;
|
|
347
|
+
}
|
|
348
|
+
if (!aa) {
|
|
349
|
+
o.view.af();
|
|
350
|
+
}
|
|
351
|
+
var ah = a.getChildAt(2);
|
|
352
|
+
var ai = a.getChildAt(3);
|
|
353
|
+
if (stringIsNullOrEmpty(d)) {
|
|
354
|
+
ah.setStyleProperty("display", "none");
|
|
355
|
+
ai.setStyleProperty("display", "none");
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
else {
|
|
359
|
+
ah.setStyleProperty("display", "flex");
|
|
360
|
+
ai.setStyleProperty("display", "flex");
|
|
361
|
+
}
|
|
362
|
+
m.p = this.b.baseTheme;
|
|
363
|
+
x.f = x.f - 2;
|
|
364
|
+
m.ak = true;
|
|
365
|
+
m.y = x;
|
|
366
|
+
m.text = d;
|
|
367
|
+
m.dj = BrushUtil.h(180, 0, 0, 0);
|
|
368
|
+
m.l = 0;
|
|
369
|
+
}
|
|
370
|
+
finally {
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
CheckboxListView.prototype.ae = function () {
|
|
206
375
|
var e_1, _a;
|
|
207
376
|
if (this.e != null) {
|
|
208
377
|
try {
|
|
@@ -230,34 +399,34 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
230
399
|
this.a.n = this.b.baseTheme;
|
|
231
400
|
}
|
|
232
401
|
};
|
|
233
|
-
CheckboxListView.prototype.
|
|
402
|
+
CheckboxListView.prototype.ac = function () {
|
|
234
403
|
};
|
|
235
|
-
CheckboxListView.prototype.
|
|
404
|
+
CheckboxListView.prototype.n = function (a, b) {
|
|
236
405
|
var c = a;
|
|
237
406
|
var d = parseInt(c.a4.toString());
|
|
238
407
|
var e = c.checked;
|
|
239
408
|
if (e == true) {
|
|
240
409
|
if (this.b.indexType == 0) {
|
|
241
|
-
this.b.
|
|
410
|
+
this.b.d0(d);
|
|
242
411
|
}
|
|
243
412
|
else {
|
|
244
|
-
this.b.
|
|
413
|
+
this.b.cz(d);
|
|
245
414
|
}
|
|
246
415
|
}
|
|
247
416
|
else {
|
|
248
417
|
if (this.b.indexType == 0) {
|
|
249
|
-
this.b.
|
|
418
|
+
this.b.cz(d);
|
|
250
419
|
}
|
|
251
420
|
else {
|
|
252
|
-
this.b.
|
|
421
|
+
this.b.d0(d);
|
|
253
422
|
}
|
|
254
423
|
}
|
|
255
|
-
this.b.
|
|
256
|
-
this.
|
|
424
|
+
this.b.di(d, e);
|
|
425
|
+
this.al(false);
|
|
257
426
|
};
|
|
258
|
-
CheckboxListView.prototype.
|
|
427
|
+
CheckboxListView.prototype.o = function () {
|
|
259
428
|
};
|
|
260
|
-
CheckboxListView.prototype.
|
|
429
|
+
CheckboxListView.prototype.y = function (a, b) {
|
|
261
430
|
var e_2, _a;
|
|
262
431
|
try {
|
|
263
432
|
for (var _b = __values(fromEnum(this.e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -266,7 +435,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
266
435
|
var e = parseInt(d.a4.toString());
|
|
267
436
|
if (e == a) {
|
|
268
437
|
d.checked = b;
|
|
269
|
-
this.b.
|
|
438
|
+
this.b.di(e, b);
|
|
270
439
|
}
|
|
271
440
|
}
|
|
272
441
|
}
|
|
@@ -283,9 +452,9 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
283
452
|
throw e_2.error;
|
|
284
453
|
}
|
|
285
454
|
}
|
|
286
|
-
this.
|
|
455
|
+
this.al();
|
|
287
456
|
};
|
|
288
|
-
CheckboxListView.prototype.
|
|
457
|
+
CheckboxListView.prototype.z = function (a) {
|
|
289
458
|
var e_3, _a;
|
|
290
459
|
try {
|
|
291
460
|
for (var _b = __values(fromEnum(this.e)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -308,59 +477,59 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
308
477
|
}
|
|
309
478
|
}
|
|
310
479
|
};
|
|
311
|
-
CheckboxListView.prototype.
|
|
312
|
-
this.
|
|
313
|
-
if (null != this.
|
|
314
|
-
this.
|
|
480
|
+
CheckboxListView.prototype.u = function (a) {
|
|
481
|
+
this.m = a;
|
|
482
|
+
if (null != this.m) {
|
|
483
|
+
this.m.setStyleProperty("margin", "5px 0px 4px 0px");
|
|
315
484
|
}
|
|
316
485
|
};
|
|
317
|
-
CheckboxListView.prototype.
|
|
318
|
-
var a = this.
|
|
319
|
-
if (null == a || null == this.
|
|
486
|
+
CheckboxListView.prototype.am = function () {
|
|
487
|
+
var a = this.i;
|
|
488
|
+
if (null == a || null == this.m) {
|
|
320
489
|
return;
|
|
321
490
|
}
|
|
322
491
|
var b = a.createElement("div");
|
|
323
492
|
var c = a.getSubRenderer(b);
|
|
324
493
|
this.a = new XCheckbox();
|
|
325
494
|
this.a.provideContainer(c);
|
|
326
|
-
var d = this.
|
|
495
|
+
var d = this.i.getExternal(this.a, c.rootWrapper, this.i.getExternal(this.b, null, null));
|
|
327
496
|
this.a.n = this.b.baseTheme;
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
332
|
-
this.
|
|
333
|
-
this.
|
|
334
|
-
this.
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
497
|
+
this.l = a.createElement("label");
|
|
498
|
+
this.l.setRawText(this.b.cp);
|
|
499
|
+
this.l.setStyleProperty("font-size", "13px");
|
|
500
|
+
this.m.setStyleProperty("display", "flex");
|
|
501
|
+
this.m.setStyleProperty("flex-direction", "row");
|
|
502
|
+
this.m.setStyleProperty("font-family", "Verdana");
|
|
503
|
+
this.m.setStyleProperty("align-items", "center");
|
|
504
|
+
this.m.append(b);
|
|
505
|
+
this.m.append(this.l);
|
|
506
|
+
this.an();
|
|
507
|
+
this.ak();
|
|
339
508
|
var e = this.a;
|
|
340
|
-
e.change = delegateCombine(e.change, runOn(this, this.
|
|
509
|
+
e.change = delegateCombine(e.change, runOn(this, this.w));
|
|
341
510
|
this.a.y = true;
|
|
342
511
|
};
|
|
343
|
-
CheckboxListView.prototype.
|
|
344
|
-
if (null != this.
|
|
345
|
-
this.
|
|
346
|
-
NativeUI.q(this.
|
|
512
|
+
CheckboxListView.prototype.ak = function () {
|
|
513
|
+
if (null != this.l) {
|
|
514
|
+
this.l.setRawText(this.b.cp);
|
|
515
|
+
NativeUI.q(this.l, this.b.ep);
|
|
347
516
|
}
|
|
348
517
|
};
|
|
349
|
-
CheckboxListView.prototype.
|
|
350
|
-
if (null != this.
|
|
518
|
+
CheckboxListView.prototype.an = function () {
|
|
519
|
+
if (null != this.l) {
|
|
351
520
|
var a = this.b.showSelectAll ? "flex" : "none";
|
|
352
|
-
this.
|
|
521
|
+
this.m.setStyleProperty("display", a);
|
|
353
522
|
}
|
|
354
523
|
};
|
|
355
|
-
CheckboxListView.prototype.
|
|
356
|
-
if (this.
|
|
357
|
-
this.
|
|
524
|
+
CheckboxListView.prototype.aj = function () {
|
|
525
|
+
if (this.k != null) {
|
|
526
|
+
this.k.setStyleProperty("display", this.b.a3 ? "block" : "none");
|
|
358
527
|
}
|
|
359
|
-
if (this.
|
|
360
|
-
this.
|
|
528
|
+
if (this.j != null) {
|
|
529
|
+
this.j.setStyleProperty("display", this.b.a3 ? "block" : "none");
|
|
361
530
|
}
|
|
362
531
|
};
|
|
363
|
-
CheckboxListView.prototype.
|
|
532
|
+
CheckboxListView.prototype.al = function (a) {
|
|
364
533
|
if (a === void 0) {
|
|
365
534
|
a = true;
|
|
366
535
|
}
|
|
@@ -372,7 +541,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
372
541
|
var c = this.a.z;
|
|
373
542
|
this.a.z = a;
|
|
374
543
|
try {
|
|
375
|
-
if (this.b.
|
|
544
|
+
if (this.b.a0) {
|
|
376
545
|
this.a.indeterminate = true;
|
|
377
546
|
return;
|
|
378
547
|
}
|
|
@@ -389,58 +558,84 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
389
558
|
this.d = b;
|
|
390
559
|
}
|
|
391
560
|
};
|
|
392
|
-
CheckboxListView.prototype.
|
|
561
|
+
CheckboxListView.prototype.w = function (a, b) {
|
|
393
562
|
if (this.d || b.isIndeterminate) {
|
|
394
563
|
return;
|
|
395
564
|
}
|
|
396
565
|
if (b.isChecked) {
|
|
397
|
-
this.b.
|
|
398
|
-
this.b.
|
|
566
|
+
this.b.d3();
|
|
567
|
+
this.b.dr(b.isChecked);
|
|
399
568
|
}
|
|
400
569
|
else {
|
|
401
|
-
this.b.
|
|
402
|
-
this.b.
|
|
570
|
+
this.b.c5();
|
|
571
|
+
this.b.dr(b.isChecked);
|
|
403
572
|
}
|
|
404
573
|
};
|
|
405
|
-
CheckboxListView.prototype.
|
|
406
|
-
var a = this.
|
|
574
|
+
CheckboxListView.prototype.ai = function () {
|
|
575
|
+
var a = this.i;
|
|
407
576
|
if (null == a) {
|
|
408
577
|
return;
|
|
409
578
|
}
|
|
410
579
|
var b = a.rootWrapper;
|
|
411
580
|
if (null != b) {
|
|
412
|
-
NativeUI.q(b, this.b.
|
|
581
|
+
NativeUI.q(b, this.b.e7);
|
|
413
582
|
NativeUI.m(b, this.b.backgroundColor);
|
|
414
583
|
}
|
|
415
584
|
};
|
|
416
|
-
CheckboxListView.prototype.
|
|
585
|
+
CheckboxListView.prototype.ag = function () {
|
|
417
586
|
if (this.c != null) {
|
|
418
587
|
this.c.fill = this.b.searchIconColor;
|
|
419
588
|
}
|
|
420
589
|
};
|
|
421
|
-
CheckboxListView.prototype.
|
|
422
|
-
if (this.b.
|
|
423
|
-
this.
|
|
590
|
+
CheckboxListView.prototype.ah = function () {
|
|
591
|
+
if (this.b.am != null) {
|
|
592
|
+
this.l.setStyleProperty("font", this.b.am.fontString);
|
|
424
593
|
}
|
|
425
594
|
else {
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
595
|
+
this.l.setStyleProperty("font-family", "Verdana");
|
|
596
|
+
this.l.setStyleProperty("font-size", 13 + "px");
|
|
428
597
|
}
|
|
429
598
|
};
|
|
430
|
-
CheckboxListView.prototype.
|
|
431
|
-
this.a
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
this.a.
|
|
435
|
-
this.a.
|
|
599
|
+
CheckboxListView.prototype.ad = function () {
|
|
600
|
+
if (this.a == null) {
|
|
601
|
+
return;
|
|
602
|
+
}
|
|
603
|
+
this.a.dk = this.b.et;
|
|
604
|
+
this.a.dd = this.b.er;
|
|
605
|
+
this.a.dl = this.b.eu;
|
|
606
|
+
this.a.de = this.b.es;
|
|
607
|
+
this.a.dm = this.b.ev;
|
|
436
608
|
};
|
|
437
|
-
CheckboxListView.prototype.
|
|
438
|
-
if (this.
|
|
439
|
-
NativeUI.w(this.
|
|
609
|
+
CheckboxListView.prototype.af = function (a) {
|
|
610
|
+
if (this.j != null) {
|
|
611
|
+
NativeUI.w(this.j, a);
|
|
440
612
|
}
|
|
441
613
|
};
|
|
442
|
-
CheckboxListView.prototype.
|
|
443
|
-
this.
|
|
614
|
+
CheckboxListView.prototype.t = function (a) {
|
|
615
|
+
this.j = a;
|
|
616
|
+
};
|
|
617
|
+
CheckboxListView.prototype.v = function () {
|
|
618
|
+
var e_4, _a;
|
|
619
|
+
try {
|
|
620
|
+
for (var _b = __values(fromEnum(this.f)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
621
|
+
var a = _c.value;
|
|
622
|
+
a.value.cu = null;
|
|
623
|
+
a.value.az = null;
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
catch (e_4_1) {
|
|
627
|
+
e_4 = { error: e_4_1 };
|
|
628
|
+
}
|
|
629
|
+
finally {
|
|
630
|
+
try {
|
|
631
|
+
if (_c && !_c.done && (_a = _b.return))
|
|
632
|
+
_a.call(_b);
|
|
633
|
+
}
|
|
634
|
+
finally {
|
|
635
|
+
if (e_4)
|
|
636
|
+
throw e_4.error;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
444
639
|
};
|
|
445
640
|
CheckboxListView.$t = markType(CheckboxListView, 'CheckboxListView');
|
|
446
641
|
return CheckboxListView;
|
|
@@ -456,63 +651,74 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
456
651
|
_this._view = null;
|
|
457
652
|
_this.f = null;
|
|
458
653
|
_this.j = null;
|
|
459
|
-
_this.
|
|
654
|
+
_this.ai = null;
|
|
655
|
+
_this.ag = null;
|
|
656
|
+
_this.aj = null;
|
|
657
|
+
_this.ah = null;
|
|
460
658
|
_this.d = null;
|
|
461
|
-
_this.
|
|
659
|
+
_this.aq = false;
|
|
462
660
|
_this.c = null;
|
|
463
|
-
_this.
|
|
464
|
-
_this.
|
|
465
|
-
_this.
|
|
466
|
-
_this.
|
|
661
|
+
_this.t = null;
|
|
662
|
+
_this.v = null;
|
|
663
|
+
_this.ar = false;
|
|
664
|
+
_this.ao = null;
|
|
467
665
|
_this.g = new GridSelectedKeysCollection();
|
|
468
666
|
_this.a = null;
|
|
469
667
|
_this.propertyChanged = null;
|
|
470
668
|
_this.selectedKeyAdded = null;
|
|
471
669
|
_this.selectedKeyRemoved = null;
|
|
472
670
|
_this.checkedChanged = null;
|
|
473
|
-
_this.
|
|
474
|
-
_this.
|
|
475
|
-
_this.
|
|
476
|
-
_this.
|
|
477
|
-
_this.
|
|
478
|
-
_this.
|
|
479
|
-
_this.
|
|
671
|
+
_this.labelClicked = null;
|
|
672
|
+
_this.bg = null;
|
|
673
|
+
_this.bj = null;
|
|
674
|
+
_this.bf = null;
|
|
675
|
+
_this.bn = null;
|
|
676
|
+
_this.bl = null;
|
|
677
|
+
_this.bm = null;
|
|
678
|
+
_this.bk = null;
|
|
679
|
+
_this.x = 3;
|
|
680
|
+
_this.bb = -1;
|
|
681
|
+
_this.ak = null;
|
|
480
682
|
_this.k = 1;
|
|
481
|
-
_this.
|
|
482
|
-
_this.
|
|
483
|
-
_this.
|
|
484
|
-
_this.
|
|
485
|
-
_this.
|
|
486
|
-
_this.
|
|
487
|
-
_this.
|
|
488
|
-
_this.
|
|
489
|
-
_this.
|
|
490
|
-
_this.
|
|
491
|
-
_this.
|
|
492
|
-
_this.
|
|
493
|
-
_this.
|
|
494
|
-
_this.
|
|
683
|
+
_this.ac = 1;
|
|
684
|
+
_this.ae = 2;
|
|
685
|
+
_this.el = BrushUtil.h(255, 24, 29, 31);
|
|
686
|
+
_this.ej = null;
|
|
687
|
+
_this.at = true;
|
|
688
|
+
_this.em = null;
|
|
689
|
+
_this.ek = null;
|
|
690
|
+
_this.al = null;
|
|
691
|
+
_this.ee = null;
|
|
692
|
+
_this.ec = null;
|
|
693
|
+
_this.ef = null;
|
|
694
|
+
_this.ed = null;
|
|
695
|
+
_this.eg = null;
|
|
696
|
+
_this.a6 = NaN;
|
|
697
|
+
_this.aa = 0;
|
|
698
|
+
_this.ei = null;
|
|
495
699
|
_this.indexTypeChanged = null;
|
|
496
|
-
_this.
|
|
497
|
-
_this.
|
|
498
|
-
_this.
|
|
499
|
-
_this.
|
|
500
|
-
_this.
|
|
501
|
-
_this.
|
|
502
|
-
_this.
|
|
700
|
+
_this.as = false;
|
|
701
|
+
_this.co = null;
|
|
702
|
+
_this.en = null;
|
|
703
|
+
_this.ea = CheckboxList.ey;
|
|
704
|
+
_this.a4 = true;
|
|
705
|
+
_this.eb = CheckboxList.ew;
|
|
706
|
+
_this.eh = CheckboxList.ex;
|
|
707
|
+
_this.eo = CheckboxList.ey;
|
|
503
708
|
_this.keysCleared = null;
|
|
504
709
|
_this.selectAllCheckboxChanged = null;
|
|
505
|
-
_this.
|
|
506
|
-
_this.
|
|
507
|
-
_this.
|
|
710
|
+
_this.bd = -1;
|
|
711
|
+
_this.a2 = true;
|
|
712
|
+
_this.ay = true;
|
|
713
|
+
_this.au = false;
|
|
508
714
|
var a = _this.g;
|
|
509
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.
|
|
510
|
-
_this.g.am(runOn(_this, _this.
|
|
715
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.du));
|
|
716
|
+
_this.g.am(runOn(_this, _this.dt));
|
|
511
717
|
_this.d = new FilterFactory();
|
|
512
718
|
var b = new CheckboxListView();
|
|
513
719
|
b.b = _this;
|
|
514
720
|
_this.view = b;
|
|
515
|
-
_this.view.
|
|
721
|
+
_this.view.q();
|
|
516
722
|
return _this;
|
|
517
723
|
}
|
|
518
724
|
Object.defineProperty(CheckboxList.prototype, "view", {
|
|
@@ -525,22 +731,22 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
525
731
|
enumerable: false,
|
|
526
732
|
configurable: true
|
|
527
733
|
});
|
|
528
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
734
|
+
Object.defineProperty(CheckboxList.prototype, "w", {
|
|
529
735
|
get: function () {
|
|
530
|
-
return this.
|
|
736
|
+
return this.v;
|
|
531
737
|
},
|
|
532
738
|
set: function (a) {
|
|
533
|
-
this.
|
|
739
|
+
this.v = a;
|
|
534
740
|
},
|
|
535
741
|
enumerable: false,
|
|
536
742
|
configurable: true
|
|
537
743
|
});
|
|
538
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
744
|
+
Object.defineProperty(CheckboxList.prototype, "u", {
|
|
539
745
|
get: function () {
|
|
540
|
-
return this.
|
|
746
|
+
return this.t;
|
|
541
747
|
},
|
|
542
748
|
set: function (a) {
|
|
543
|
-
this.
|
|
749
|
+
this.t = a;
|
|
544
750
|
},
|
|
545
751
|
enumerable: false,
|
|
546
752
|
configurable: true
|
|
@@ -555,13 +761,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
555
761
|
enumerable: false,
|
|
556
762
|
configurable: true
|
|
557
763
|
});
|
|
558
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
764
|
+
Object.defineProperty(CheckboxList.prototype, "ap", {
|
|
559
765
|
get: function () {
|
|
560
|
-
if (this.
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
766
|
+
if (this.ao == null) {
|
|
767
|
+
this.ao = new SRProvider(this.view.i);
|
|
768
|
+
this.ao.cb("DataGrid");
|
|
563
769
|
}
|
|
564
|
-
return this.
|
|
770
|
+
return this.ao;
|
|
565
771
|
},
|
|
566
772
|
enumerable: false,
|
|
567
773
|
configurable: true
|
|
@@ -581,7 +787,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
581
787
|
var b = this.a;
|
|
582
788
|
this.a = a;
|
|
583
789
|
if (b != this.a) {
|
|
584
|
-
this.
|
|
790
|
+
this.dp("PrimaryKey", b, this.a);
|
|
585
791
|
}
|
|
586
792
|
},
|
|
587
793
|
enumerable: false,
|
|
@@ -602,48 +808,48 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
602
808
|
CheckboxList.prototype.removeSelectedKeyAt = function (a) {
|
|
603
809
|
this.keys.removeAt(a);
|
|
604
810
|
};
|
|
605
|
-
CheckboxList.prototype.
|
|
606
|
-
this.
|
|
811
|
+
CheckboxList.prototype.dt = function () {
|
|
812
|
+
this.db();
|
|
607
813
|
if (this.keysCleared != null) {
|
|
608
814
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
609
815
|
}
|
|
610
816
|
};
|
|
611
|
-
CheckboxList.prototype.
|
|
612
|
-
if (this.e == null || this.e.actualSchema == null || this.
|
|
817
|
+
CheckboxList.prototype.du = function (a, b) {
|
|
818
|
+
if (this.e == null || this.e.actualSchema == null || this.aq) {
|
|
613
819
|
return;
|
|
614
820
|
}
|
|
615
821
|
switch (b.action) {
|
|
616
822
|
case 0:
|
|
617
823
|
for (var c = 0; c < b.newItems.count; c++) {
|
|
618
|
-
this.
|
|
824
|
+
this.dm(b.newItems.item(c));
|
|
619
825
|
}
|
|
620
826
|
break;
|
|
621
827
|
case 1:
|
|
622
828
|
for (var d = 0; d < b.oldItems.count; d++) {
|
|
623
|
-
this.
|
|
829
|
+
this.dn(b.oldItems.item(d));
|
|
624
830
|
}
|
|
625
831
|
break;
|
|
626
832
|
case 2:
|
|
627
833
|
for (var e = 0; e < b.oldItems.count; e++) {
|
|
628
|
-
this.
|
|
834
|
+
this.dn(b.oldItems.item(e));
|
|
629
835
|
}
|
|
630
836
|
for (var f = 0; f < b.newItems.count; f++) {
|
|
631
|
-
this.
|
|
837
|
+
this.dm(b.newItems.item(f));
|
|
632
838
|
}
|
|
633
839
|
break;
|
|
634
840
|
case 4:
|
|
635
|
-
this.view.
|
|
841
|
+
this.view.z(this.indexType == 0);
|
|
636
842
|
for (var g = 0; g < this.keys.ae.count; g++) {
|
|
637
|
-
this.
|
|
843
|
+
this.dm(this.keys.ae._inner[g]);
|
|
638
844
|
}
|
|
639
845
|
break;
|
|
640
846
|
}
|
|
641
847
|
};
|
|
642
|
-
CheckboxList.prototype.
|
|
848
|
+
CheckboxList.prototype.dm = function (a) {
|
|
643
849
|
var _this = this;
|
|
644
850
|
var b = this.e.indexOfKey(a.value);
|
|
645
851
|
if (b >= 0) {
|
|
646
|
-
this.view.
|
|
852
|
+
this.view.y(b, this.indexType == 1);
|
|
647
853
|
}
|
|
648
854
|
if (this.selectedKeyAdded == null) {
|
|
649
855
|
return;
|
|
@@ -656,11 +862,11 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
656
862
|
return $ret;
|
|
657
863
|
})()));
|
|
658
864
|
};
|
|
659
|
-
CheckboxList.prototype.
|
|
865
|
+
CheckboxList.prototype.dn = function (a) {
|
|
660
866
|
var _this = this;
|
|
661
867
|
var b = this.e.indexOfKey(a.value);
|
|
662
868
|
if (b >= 0) {
|
|
663
|
-
this.view.
|
|
869
|
+
this.view.y(b, this.indexType == 0);
|
|
664
870
|
}
|
|
665
871
|
if (this.selectedKeyRemoved == null) {
|
|
666
872
|
return;
|
|
@@ -673,8 +879,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
673
879
|
return $ret;
|
|
674
880
|
})()));
|
|
675
881
|
};
|
|
676
|
-
CheckboxList.prototype.
|
|
677
|
-
if (this.checkedChanged != null && this.
|
|
882
|
+
CheckboxList.prototype.di = function (a, b) {
|
|
883
|
+
if (this.checkedChanged != null && this.ar == false) {
|
|
678
884
|
var c_1 = null;
|
|
679
885
|
if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
|
|
680
886
|
c_1 = new Array(this.e.actualPrimaryKey.length);
|
|
@@ -692,27 +898,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
692
898
|
}
|
|
693
899
|
};
|
|
694
900
|
CheckboxList.prototype.notifySizeChanged = function () {
|
|
695
|
-
this.view.
|
|
901
|
+
this.view.o();
|
|
696
902
|
};
|
|
697
903
|
CheckboxList.prototype.destroy = function () {
|
|
698
904
|
if (this.f != null) {
|
|
699
905
|
var a = this.f;
|
|
700
|
-
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.
|
|
906
|
+
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.c7));
|
|
701
907
|
var b = this.f;
|
|
702
|
-
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.
|
|
908
|
+
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.c8));
|
|
703
909
|
if (this.f.actualDataSource != null) {
|
|
704
910
|
var c = this.f.actualDataSource;
|
|
705
|
-
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.
|
|
911
|
+
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.dq));
|
|
706
912
|
}
|
|
707
913
|
}
|
|
708
|
-
if (this.
|
|
709
|
-
var d = this.
|
|
710
|
-
d.change = delegateRemove(d.change, runOn(this, this.
|
|
914
|
+
if (this.t != null) {
|
|
915
|
+
var d = this.t;
|
|
916
|
+
d.change = delegateRemove(d.change, runOn(this, this.c9));
|
|
711
917
|
}
|
|
712
918
|
this.provideContainer(null, null, null);
|
|
713
919
|
if (this.j != null) {
|
|
714
920
|
var e = this.j;
|
|
715
|
-
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.
|
|
921
|
+
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.c3));
|
|
716
922
|
}
|
|
717
923
|
};
|
|
718
924
|
CheckboxList.prototype.provideContainer = function (a, b, c) {
|
|
@@ -720,8 +926,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
720
926
|
if (null != this.f) {
|
|
721
927
|
this.f.scrollbarStyle = 1;
|
|
722
928
|
var d = this.f;
|
|
723
|
-
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.
|
|
724
|
-
this.f.scrollbarBackground = this.
|
|
929
|
+
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.c8));
|
|
930
|
+
this.f.scrollbarBackground = this.e0;
|
|
725
931
|
this.f.headerHeight = 0;
|
|
726
932
|
this.f.rowSeparatorHeight = 0;
|
|
727
933
|
this.f.defaultColumnMinWidth = NaN;
|
|
@@ -729,28 +935,31 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
729
935
|
this.f.activationMode = 0;
|
|
730
936
|
this.f.editMode = 0;
|
|
731
937
|
var e = this.f;
|
|
732
|
-
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.
|
|
733
|
-
if (this.
|
|
734
|
-
this.f.itemsSource = this.
|
|
735
|
-
this.
|
|
736
|
-
this.
|
|
938
|
+
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.c7));
|
|
939
|
+
if (this.bg != null) {
|
|
940
|
+
this.f.itemsSource = this.bg;
|
|
941
|
+
this.c2();
|
|
942
|
+
this.ds();
|
|
737
943
|
}
|
|
738
|
-
if (this.
|
|
739
|
-
this.
|
|
740
|
-
this.
|
|
944
|
+
if (this.bj != null) {
|
|
945
|
+
this.ds();
|
|
946
|
+
this.d6();
|
|
741
947
|
}
|
|
742
948
|
}
|
|
743
|
-
this.view.
|
|
744
|
-
this.
|
|
949
|
+
this.view.u(c);
|
|
950
|
+
if (this.av) {
|
|
951
|
+
this.d8();
|
|
952
|
+
}
|
|
953
|
+
this.view.p(a);
|
|
745
954
|
};
|
|
746
|
-
CheckboxList.prototype.
|
|
747
|
-
this.f.scrollbarStyle = this.
|
|
955
|
+
CheckboxList.prototype.c8 = function (a, b) {
|
|
956
|
+
this.f.scrollbarStyle = this.ab;
|
|
748
957
|
};
|
|
749
958
|
CheckboxList.prototype.provideSelectAllSection = function (a) {
|
|
750
|
-
this.view.
|
|
959
|
+
this.view.u(a);
|
|
751
960
|
};
|
|
752
|
-
CheckboxList.prototype.
|
|
753
|
-
if (b.cellInfo.l.a5 == 0) {
|
|
961
|
+
CheckboxList.prototype.c7 = function (a, b) {
|
|
962
|
+
if (!this.av && b.cellInfo.l.a5 == 0 || this.av && b.cellInfo.l.a5 == 1) {
|
|
754
963
|
return;
|
|
755
964
|
}
|
|
756
965
|
var c = b.cellInfo.l.x;
|
|
@@ -759,20 +968,42 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
759
968
|
}
|
|
760
969
|
var d = b.cellInfo.hn;
|
|
761
970
|
var e = this.i(d);
|
|
762
|
-
if (this.
|
|
763
|
-
if (this.
|
|
764
|
-
this.
|
|
971
|
+
if (this.a1) {
|
|
972
|
+
if (this.keys.contains(e)) {
|
|
973
|
+
if (this.ai != null) {
|
|
974
|
+
this.ai.setPropertyValue(d, false);
|
|
975
|
+
}
|
|
976
|
+
this.keys.remove(e);
|
|
977
|
+
}
|
|
978
|
+
else {
|
|
979
|
+
if (this.ai != null) {
|
|
980
|
+
this.ai.setPropertyValue(d, true);
|
|
981
|
+
}
|
|
982
|
+
this.keys.add(e);
|
|
765
983
|
}
|
|
766
|
-
this.keys.remove(e);
|
|
767
984
|
}
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
985
|
+
this.de(c, this.keys.contains(e));
|
|
986
|
+
};
|
|
987
|
+
CheckboxList.prototype.de = function (a, b) {
|
|
988
|
+
var c = null;
|
|
989
|
+
if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
|
|
990
|
+
c = new Array(this.e.actualPrimaryKey.length);
|
|
991
|
+
for (var d = 0; d < this.e.actualPrimaryKey.length; d++) {
|
|
992
|
+
c[d] = this.e.getItemPropertyAtIndex(a, this.e.actualPrimaryKey[d]);
|
|
771
993
|
}
|
|
772
|
-
this.keys.add(e);
|
|
773
994
|
}
|
|
995
|
+
if (this.labelClicked == null) {
|
|
996
|
+
return;
|
|
997
|
+
}
|
|
998
|
+
this.labelClicked(this, ((function () {
|
|
999
|
+
var $ret = new CheckedChangedEventArgs();
|
|
1000
|
+
$ret.c = a;
|
|
1001
|
+
$ret.b = b;
|
|
1002
|
+
$ret.a = c;
|
|
1003
|
+
return $ret;
|
|
1004
|
+
})()));
|
|
774
1005
|
};
|
|
775
|
-
CheckboxList.prototype.
|
|
1006
|
+
CheckboxList.prototype.c3 = function (a, b) {
|
|
776
1007
|
var c = b.cellInfo.l.x;
|
|
777
1008
|
if (-1 == c) {
|
|
778
1009
|
return;
|
|
@@ -784,11 +1015,41 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
784
1015
|
d = true;
|
|
785
1016
|
}
|
|
786
1017
|
}
|
|
787
|
-
this.view.
|
|
1018
|
+
this.view.r(b.content.element, c, d);
|
|
1019
|
+
};
|
|
1020
|
+
CheckboxList.prototype.d7 = function (a, b) {
|
|
1021
|
+
var c = b.cellInfo.l.x;
|
|
1022
|
+
if (-1 == c) {
|
|
1023
|
+
return;
|
|
1024
|
+
}
|
|
1025
|
+
var d = null;
|
|
1026
|
+
var e = null;
|
|
1027
|
+
var f = null;
|
|
1028
|
+
var g = null;
|
|
1029
|
+
var h = null;
|
|
1030
|
+
if (b.cellInfo.hn != null) {
|
|
1031
|
+
d = this.ag.getPropertyValue(b.cellInfo.hn);
|
|
1032
|
+
if (this.aj != null) {
|
|
1033
|
+
e = this.aj.getPropertyValue(b.cellInfo.hn);
|
|
1034
|
+
}
|
|
1035
|
+
if (this.ah != null) {
|
|
1036
|
+
var i = EnumUtil.getEnumValue(DataSeriesPropertyType_$type, this.ah.getPropertyValue(b.cellInfo.hn));
|
|
1037
|
+
if (i == 0) {
|
|
1038
|
+
h = SvgIconRegistry.instance.getSvgPathString("ChartToolbarIcons", "string-field");
|
|
1039
|
+
}
|
|
1040
|
+
else if (i == 2) {
|
|
1041
|
+
h = SvgIconRegistry.instance.getSvgPathString("ChartToolbarIcons", "numeric-field");
|
|
1042
|
+
}
|
|
1043
|
+
else if (i == 1) {
|
|
1044
|
+
h = SvgIconRegistry.instance.getSvgPathString("ChartToolbarIcons", "date-time-field");
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
this.view.s(b.content.element, c, d, e, this.ak, "Verdana", 13, this.bf, f, g, h);
|
|
788
1049
|
};
|
|
789
|
-
CheckboxList.prototype.
|
|
790
|
-
if (this.
|
|
791
|
-
var b = this.d.property(this.
|
|
1050
|
+
CheckboxList.prototype.dj = function (a) {
|
|
1051
|
+
if (this.bj != null) {
|
|
1052
|
+
var b = this.d.property(this.bj).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
792
1053
|
var c = b.contains(a);
|
|
793
1054
|
if (!this.f.filterExpressions.k.contains(this.c)) {
|
|
794
1055
|
this.c = c;
|
|
@@ -802,13 +1063,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
802
1063
|
};
|
|
803
1064
|
Object.defineProperty(CheckboxList.prototype, "itemsSource", {
|
|
804
1065
|
get: function () {
|
|
805
|
-
return this.
|
|
1066
|
+
return this.bg;
|
|
806
1067
|
},
|
|
807
1068
|
set: function (a) {
|
|
808
|
-
var b = this.
|
|
809
|
-
this.
|
|
810
|
-
if (b != this.
|
|
811
|
-
this.
|
|
1069
|
+
var b = this.bg;
|
|
1070
|
+
this.bg = a;
|
|
1071
|
+
if (b != this.bg) {
|
|
1072
|
+
this.dp("ItemsSource", b, this.bg);
|
|
812
1073
|
}
|
|
813
1074
|
},
|
|
814
1075
|
enumerable: false,
|
|
@@ -816,13 +1077,55 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
816
1077
|
});
|
|
817
1078
|
Object.defineProperty(CheckboxList.prototype, "dataMemberPath", {
|
|
818
1079
|
get: function () {
|
|
819
|
-
return this.
|
|
1080
|
+
return this.bj;
|
|
820
1081
|
},
|
|
821
1082
|
set: function (a) {
|
|
822
|
-
var b = this.
|
|
823
|
-
this.
|
|
824
|
-
if (b != this.
|
|
825
|
-
this.
|
|
1083
|
+
var b = this.bj;
|
|
1084
|
+
this.bj = a;
|
|
1085
|
+
if (b != this.bj) {
|
|
1086
|
+
this.dp("DataMemberPath", b, this.bj);
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
enumerable: false,
|
|
1090
|
+
configurable: true
|
|
1091
|
+
});
|
|
1092
|
+
Object.defineProperty(CheckboxList.prototype, "bh", {
|
|
1093
|
+
get: function () {
|
|
1094
|
+
return this.bf;
|
|
1095
|
+
},
|
|
1096
|
+
set: function (a) {
|
|
1097
|
+
var b = this.bf;
|
|
1098
|
+
this.bf = a;
|
|
1099
|
+
if (b != this.bf) {
|
|
1100
|
+
this.dp("DataLegendTarget", b, this.bf);
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
enumerable: false,
|
|
1104
|
+
configurable: true
|
|
1105
|
+
});
|
|
1106
|
+
Object.defineProperty(CheckboxList.prototype, "cw", {
|
|
1107
|
+
get: function () {
|
|
1108
|
+
return this.bn;
|
|
1109
|
+
},
|
|
1110
|
+
set: function (a) {
|
|
1111
|
+
var b = this.bn;
|
|
1112
|
+
this.bn = a;
|
|
1113
|
+
if (b != this.bn) {
|
|
1114
|
+
this.dp("SubtitleMemberPath", b, this.bn);
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
enumerable: false,
|
|
1118
|
+
configurable: true
|
|
1119
|
+
});
|
|
1120
|
+
Object.defineProperty(CheckboxList.prototype, "cb", {
|
|
1121
|
+
get: function () {
|
|
1122
|
+
return this.bl;
|
|
1123
|
+
},
|
|
1124
|
+
set: function (a) {
|
|
1125
|
+
var b = this.bl;
|
|
1126
|
+
this.bl = a;
|
|
1127
|
+
if (b != this.bl) {
|
|
1128
|
+
this.dp("PropertyTypeMemberPath", b, this.bl);
|
|
826
1129
|
}
|
|
827
1130
|
},
|
|
828
1131
|
enumerable: false,
|
|
@@ -830,67 +1133,67 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
830
1133
|
});
|
|
831
1134
|
Object.defineProperty(CheckboxList.prototype, "selectedMemberPath", {
|
|
832
1135
|
get: function () {
|
|
833
|
-
return this.
|
|
1136
|
+
return this.bm;
|
|
834
1137
|
},
|
|
835
1138
|
set: function (a) {
|
|
836
|
-
var b = this.
|
|
837
|
-
this.
|
|
838
|
-
if (b != this.
|
|
839
|
-
this.
|
|
1139
|
+
var b = this.bm;
|
|
1140
|
+
this.bm = a;
|
|
1141
|
+
if (b != this.bm) {
|
|
1142
|
+
this.dp("SelectedMemberPath", b, this.bm);
|
|
840
1143
|
}
|
|
841
1144
|
},
|
|
842
1145
|
enumerable: false,
|
|
843
1146
|
configurable: true
|
|
844
1147
|
});
|
|
845
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1148
|
+
Object.defineProperty(CheckboxList.prototype, "b4", {
|
|
846
1149
|
get: function () {
|
|
847
|
-
return this.
|
|
1150
|
+
return this.bk;
|
|
848
1151
|
},
|
|
849
1152
|
set: function (a) {
|
|
850
|
-
var b = this.
|
|
851
|
-
this.
|
|
852
|
-
if (b != this.
|
|
853
|
-
this.
|
|
1153
|
+
var b = this.bk;
|
|
1154
|
+
this.bk = a;
|
|
1155
|
+
if (b != this.bk) {
|
|
1156
|
+
this.dp("FilterPlaceholderText", b, this.bk);
|
|
854
1157
|
}
|
|
855
1158
|
},
|
|
856
1159
|
enumerable: false,
|
|
857
1160
|
configurable: true
|
|
858
1161
|
});
|
|
859
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1162
|
+
Object.defineProperty(CheckboxList.prototype, "y", {
|
|
860
1163
|
get: function () {
|
|
861
|
-
return this.
|
|
1164
|
+
return this.x;
|
|
862
1165
|
},
|
|
863
1166
|
set: function (a) {
|
|
864
|
-
var b = this.
|
|
865
|
-
this.
|
|
866
|
-
if (b != this.
|
|
867
|
-
this.
|
|
1167
|
+
var b = this.x;
|
|
1168
|
+
this.x = a;
|
|
1169
|
+
if (b != this.x) {
|
|
1170
|
+
this.dp("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.x));
|
|
868
1171
|
}
|
|
869
1172
|
},
|
|
870
1173
|
enumerable: false,
|
|
871
1174
|
configurable: true
|
|
872
1175
|
});
|
|
873
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1176
|
+
Object.defineProperty(CheckboxList.prototype, "be", {
|
|
874
1177
|
get: function () {
|
|
875
|
-
return this.
|
|
1178
|
+
return this.bb;
|
|
876
1179
|
},
|
|
877
1180
|
set: function (a) {
|
|
878
|
-
var b = this.
|
|
879
|
-
this.
|
|
880
|
-
if (b != this.
|
|
881
|
-
this.
|
|
1181
|
+
var b = this.bb;
|
|
1182
|
+
this.bb = a;
|
|
1183
|
+
if (b != this.bb) {
|
|
1184
|
+
this.dp("RowHeight", b, this.bb);
|
|
882
1185
|
}
|
|
883
1186
|
},
|
|
884
1187
|
enumerable: false,
|
|
885
1188
|
configurable: true
|
|
886
1189
|
});
|
|
887
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1190
|
+
Object.defineProperty(CheckboxList.prototype, "bc", {
|
|
888
1191
|
get: function () {
|
|
889
1192
|
if (this.f != null) {
|
|
890
1193
|
return this.f.actualRowHeight;
|
|
891
1194
|
}
|
|
892
|
-
else if (this.
|
|
893
|
-
return this.
|
|
1195
|
+
else if (this.bb != -1) {
|
|
1196
|
+
return this.bb;
|
|
894
1197
|
}
|
|
895
1198
|
else {
|
|
896
1199
|
switch (this.density) {
|
|
@@ -906,15 +1209,15 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
906
1209
|
enumerable: false,
|
|
907
1210
|
configurable: true
|
|
908
1211
|
});
|
|
909
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1212
|
+
Object.defineProperty(CheckboxList.prototype, "am", {
|
|
910
1213
|
get: function () {
|
|
911
|
-
return this.
|
|
1214
|
+
return this.ak;
|
|
912
1215
|
},
|
|
913
1216
|
set: function (a) {
|
|
914
|
-
var b = this.
|
|
915
|
-
this.
|
|
916
|
-
if (b != this.
|
|
917
|
-
this.
|
|
1217
|
+
var b = this.ak;
|
|
1218
|
+
this.ak = a;
|
|
1219
|
+
if (b != this.ak) {
|
|
1220
|
+
this.dp("CellTextStyle", b, this.ak);
|
|
918
1221
|
}
|
|
919
1222
|
},
|
|
920
1223
|
enumerable: false,
|
|
@@ -928,7 +1231,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
928
1231
|
var b = this.k;
|
|
929
1232
|
this.k = a;
|
|
930
1233
|
if (b != this.k) {
|
|
931
|
-
this.
|
|
1234
|
+
this.dp("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
|
|
932
1235
|
}
|
|
933
1236
|
},
|
|
934
1237
|
enumerable: false,
|
|
@@ -936,13 +1239,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
936
1239
|
});
|
|
937
1240
|
Object.defineProperty(CheckboxList.prototype, "baseTheme", {
|
|
938
1241
|
get: function () {
|
|
939
|
-
return this.
|
|
1242
|
+
return this.ac;
|
|
940
1243
|
},
|
|
941
1244
|
set: function (a) {
|
|
942
|
-
var b = this.
|
|
943
|
-
this.
|
|
944
|
-
if (b != this.
|
|
945
|
-
this.
|
|
1245
|
+
var b = this.ac;
|
|
1246
|
+
this.ac = a;
|
|
1247
|
+
if (b != this.ac) {
|
|
1248
|
+
this.dp("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.ac));
|
|
946
1249
|
}
|
|
947
1250
|
},
|
|
948
1251
|
enumerable: false,
|
|
@@ -950,13 +1253,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
950
1253
|
});
|
|
951
1254
|
Object.defineProperty(CheckboxList.prototype, "density", {
|
|
952
1255
|
get: function () {
|
|
953
|
-
return this.
|
|
1256
|
+
return this.ae;
|
|
954
1257
|
},
|
|
955
1258
|
set: function (a) {
|
|
956
|
-
var b = this.
|
|
957
|
-
this.
|
|
958
|
-
if (b != this.
|
|
959
|
-
this.
|
|
1259
|
+
var b = this.ae;
|
|
1260
|
+
this.ae = a;
|
|
1261
|
+
if (b != this.ae) {
|
|
1262
|
+
this.dp("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ae));
|
|
960
1263
|
}
|
|
961
1264
|
},
|
|
962
1265
|
enumerable: false,
|
|
@@ -964,27 +1267,41 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
964
1267
|
});
|
|
965
1268
|
Object.defineProperty(CheckboxList.prototype, "searchIconColor", {
|
|
966
1269
|
get: function () {
|
|
967
|
-
return this.
|
|
1270
|
+
return this.el;
|
|
1271
|
+
},
|
|
1272
|
+
set: function (a) {
|
|
1273
|
+
var b = this.el;
|
|
1274
|
+
this.el = a;
|
|
1275
|
+
if (b != this.el) {
|
|
1276
|
+
this.dp("SearchIconColor", b, this.el);
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
enumerable: false,
|
|
1280
|
+
configurable: true
|
|
1281
|
+
});
|
|
1282
|
+
Object.defineProperty(CheckboxList.prototype, "e1", {
|
|
1283
|
+
get: function () {
|
|
1284
|
+
return this.ej;
|
|
968
1285
|
},
|
|
969
1286
|
set: function (a) {
|
|
970
|
-
var b = this.
|
|
971
|
-
this.
|
|
972
|
-
if (b != this.
|
|
973
|
-
this.
|
|
1287
|
+
var b = this.ej;
|
|
1288
|
+
this.ej = a;
|
|
1289
|
+
if (b != this.ej) {
|
|
1290
|
+
this.dp("SearchBackgroundColor", b, this.ej);
|
|
974
1291
|
}
|
|
975
1292
|
},
|
|
976
1293
|
enumerable: false,
|
|
977
1294
|
configurable: true
|
|
978
1295
|
});
|
|
979
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1296
|
+
Object.defineProperty(CheckboxList.prototype, "a1", {
|
|
980
1297
|
get: function () {
|
|
981
|
-
return this.
|
|
1298
|
+
return this.at;
|
|
982
1299
|
},
|
|
983
1300
|
set: function (a) {
|
|
984
|
-
var b = this.
|
|
985
|
-
this.
|
|
986
|
-
if (b != this.
|
|
987
|
-
this.
|
|
1301
|
+
var b = this.at;
|
|
1302
|
+
this.at = a;
|
|
1303
|
+
if (b != this.at) {
|
|
1304
|
+
this.dp("LabelClickTriggersChange", b, this.at);
|
|
988
1305
|
}
|
|
989
1306
|
},
|
|
990
1307
|
enumerable: false,
|
|
@@ -992,160 +1309,174 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
992
1309
|
});
|
|
993
1310
|
Object.defineProperty(CheckboxList.prototype, "searchTextColor", {
|
|
994
1311
|
get: function () {
|
|
995
|
-
return this.
|
|
1312
|
+
return this.em;
|
|
996
1313
|
},
|
|
997
1314
|
set: function (a) {
|
|
998
|
-
var b = this.
|
|
999
|
-
this.
|
|
1000
|
-
if (b != this.
|
|
1001
|
-
this.
|
|
1315
|
+
var b = this.em;
|
|
1316
|
+
this.em = a;
|
|
1317
|
+
if (b != this.em) {
|
|
1318
|
+
this.dp("SearchTextColor", b, this.em);
|
|
1002
1319
|
}
|
|
1003
1320
|
},
|
|
1004
1321
|
enumerable: false,
|
|
1005
1322
|
configurable: true
|
|
1006
1323
|
});
|
|
1007
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1324
|
+
Object.defineProperty(CheckboxList.prototype, "e2", {
|
|
1008
1325
|
get: function () {
|
|
1009
|
-
return this.
|
|
1326
|
+
return this.ek;
|
|
1010
1327
|
},
|
|
1011
1328
|
set: function (a) {
|
|
1012
|
-
var b = this.
|
|
1013
|
-
this.
|
|
1014
|
-
if (b != this.
|
|
1015
|
-
this.
|
|
1329
|
+
var b = this.ek;
|
|
1330
|
+
this.ek = a;
|
|
1331
|
+
if (b != this.ek) {
|
|
1332
|
+
this.dp("SearchBorderColor", b, this.ek);
|
|
1016
1333
|
}
|
|
1017
1334
|
},
|
|
1018
1335
|
enumerable: false,
|
|
1019
1336
|
configurable: true
|
|
1020
1337
|
});
|
|
1021
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1338
|
+
Object.defineProperty(CheckboxList.prototype, "an", {
|
|
1022
1339
|
get: function () {
|
|
1023
|
-
return this.
|
|
1340
|
+
return this.al;
|
|
1024
1341
|
},
|
|
1025
1342
|
set: function (a) {
|
|
1026
|
-
var b = this.
|
|
1027
|
-
this.
|
|
1028
|
-
if (b != this.
|
|
1029
|
-
this.
|
|
1343
|
+
var b = this.al;
|
|
1344
|
+
this.al = a;
|
|
1345
|
+
if (b != this.al) {
|
|
1346
|
+
this.dp("SearchTextStyle", b, this.al);
|
|
1030
1347
|
}
|
|
1031
1348
|
},
|
|
1032
1349
|
enumerable: false,
|
|
1033
1350
|
configurable: true
|
|
1034
1351
|
});
|
|
1035
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1352
|
+
Object.defineProperty(CheckboxList.prototype, "et", {
|
|
1036
1353
|
get: function () {
|
|
1037
|
-
return this.
|
|
1354
|
+
return this.ee;
|
|
1038
1355
|
},
|
|
1039
1356
|
set: function (a) {
|
|
1040
|
-
var b = this.
|
|
1041
|
-
this.
|
|
1042
|
-
if (b != this.
|
|
1043
|
-
this.
|
|
1357
|
+
var b = this.ee;
|
|
1358
|
+
this.ee = a;
|
|
1359
|
+
if (b != this.ee) {
|
|
1360
|
+
this.dp("CheckboxTickColor", b, this.ee);
|
|
1044
1361
|
}
|
|
1045
1362
|
},
|
|
1046
1363
|
enumerable: false,
|
|
1047
1364
|
configurable: true
|
|
1048
1365
|
});
|
|
1049
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1366
|
+
Object.defineProperty(CheckboxList.prototype, "er", {
|
|
1050
1367
|
get: function () {
|
|
1051
|
-
return this.
|
|
1368
|
+
return this.ec;
|
|
1052
1369
|
},
|
|
1053
1370
|
set: function (a) {
|
|
1054
|
-
var b = this.
|
|
1055
|
-
this.
|
|
1056
|
-
if (b != this.
|
|
1057
|
-
this.
|
|
1371
|
+
var b = this.ec;
|
|
1372
|
+
this.ec = a;
|
|
1373
|
+
if (b != this.ec) {
|
|
1374
|
+
this.dp("CheckboxCheckedBackgroundColor", b, this.ec);
|
|
1058
1375
|
}
|
|
1059
1376
|
},
|
|
1060
1377
|
enumerable: false,
|
|
1061
1378
|
configurable: true
|
|
1062
1379
|
});
|
|
1063
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1380
|
+
Object.defineProperty(CheckboxList.prototype, "eu", {
|
|
1064
1381
|
get: function () {
|
|
1065
|
-
return this.
|
|
1382
|
+
return this.ef;
|
|
1066
1383
|
},
|
|
1067
1384
|
set: function (a) {
|
|
1068
|
-
var b = this.
|
|
1069
|
-
this.
|
|
1070
|
-
if (b != this.
|
|
1071
|
-
this.
|
|
1385
|
+
var b = this.ef;
|
|
1386
|
+
this.ef = a;
|
|
1387
|
+
if (b != this.ef) {
|
|
1388
|
+
this.dp("CheckboxUncheckedBackgroundColor", b, this.ef);
|
|
1072
1389
|
}
|
|
1073
1390
|
},
|
|
1074
1391
|
enumerable: false,
|
|
1075
1392
|
configurable: true
|
|
1076
1393
|
});
|
|
1077
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1394
|
+
Object.defineProperty(CheckboxList.prototype, "es", {
|
|
1078
1395
|
get: function () {
|
|
1079
|
-
return this.
|
|
1396
|
+
return this.ed;
|
|
1080
1397
|
},
|
|
1081
1398
|
set: function (a) {
|
|
1082
|
-
var b = this.
|
|
1083
|
-
this.
|
|
1084
|
-
if (b != this.
|
|
1085
|
-
this.
|
|
1399
|
+
var b = this.ed;
|
|
1400
|
+
this.ed = a;
|
|
1401
|
+
if (b != this.ed) {
|
|
1402
|
+
this.dp("CheckboxCheckedBorderColor", b, this.ed);
|
|
1086
1403
|
}
|
|
1087
1404
|
},
|
|
1088
1405
|
enumerable: false,
|
|
1089
1406
|
configurable: true
|
|
1090
1407
|
});
|
|
1091
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1408
|
+
Object.defineProperty(CheckboxList.prototype, "ev", {
|
|
1092
1409
|
get: function () {
|
|
1093
|
-
return this.
|
|
1410
|
+
return this.eg;
|
|
1094
1411
|
},
|
|
1095
1412
|
set: function (a) {
|
|
1096
|
-
var b = this.
|
|
1097
|
-
this.
|
|
1098
|
-
if (b != this.
|
|
1099
|
-
this.
|
|
1413
|
+
var b = this.eg;
|
|
1414
|
+
this.eg = a;
|
|
1415
|
+
if (b != this.eg) {
|
|
1416
|
+
this.dp("CheckboxUncheckedBorderColor", b, this.eg);
|
|
1100
1417
|
}
|
|
1101
1418
|
},
|
|
1102
1419
|
enumerable: false,
|
|
1103
1420
|
configurable: true
|
|
1104
1421
|
});
|
|
1105
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1422
|
+
Object.defineProperty(CheckboxList.prototype, "a7", {
|
|
1106
1423
|
get: function () {
|
|
1107
|
-
return this.
|
|
1424
|
+
return this.a6;
|
|
1108
1425
|
},
|
|
1109
1426
|
set: function (a) {
|
|
1110
|
-
var b = this.
|
|
1111
|
-
this.
|
|
1112
|
-
if (b != this.
|
|
1113
|
-
this.
|
|
1427
|
+
var b = this.a6;
|
|
1428
|
+
this.a6 = a;
|
|
1429
|
+
if (b != this.a6) {
|
|
1430
|
+
this.dp("CheckboxCornerRadius", b, this.a6);
|
|
1431
|
+
}
|
|
1432
|
+
},
|
|
1433
|
+
enumerable: false,
|
|
1434
|
+
configurable: true
|
|
1435
|
+
});
|
|
1436
|
+
Object.defineProperty(CheckboxList.prototype, "ab", {
|
|
1437
|
+
get: function () {
|
|
1438
|
+
return this.aa;
|
|
1439
|
+
},
|
|
1440
|
+
set: function (a) {
|
|
1441
|
+
var b = this.aa;
|
|
1442
|
+
this.aa = a;
|
|
1443
|
+
if (b != this.aa) {
|
|
1444
|
+
this.dp("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.aa));
|
|
1114
1445
|
}
|
|
1115
1446
|
},
|
|
1116
1447
|
enumerable: false,
|
|
1117
1448
|
configurable: true
|
|
1118
1449
|
});
|
|
1119
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1450
|
+
Object.defineProperty(CheckboxList.prototype, "e0", {
|
|
1120
1451
|
get: function () {
|
|
1121
|
-
return this.
|
|
1452
|
+
return this.ei;
|
|
1122
1453
|
},
|
|
1123
1454
|
set: function (a) {
|
|
1124
|
-
var b = this.
|
|
1125
|
-
this.
|
|
1126
|
-
if (b != this.
|
|
1127
|
-
this.
|
|
1455
|
+
var b = this.ei;
|
|
1456
|
+
this.ei = a;
|
|
1457
|
+
if (b != this.ei) {
|
|
1458
|
+
this.dp("ScrollbarBackground", b, this.ei);
|
|
1128
1459
|
}
|
|
1129
1460
|
},
|
|
1130
1461
|
enumerable: false,
|
|
1131
1462
|
configurable: true
|
|
1132
1463
|
});
|
|
1133
|
-
CheckboxList.prototype.
|
|
1464
|
+
CheckboxList.prototype.dp = function (a, b, c) {
|
|
1134
1465
|
if (this.propertyChanged != null) {
|
|
1135
1466
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
1136
1467
|
}
|
|
1137
|
-
this.
|
|
1468
|
+
this.dv(a, b, c);
|
|
1138
1469
|
};
|
|
1139
|
-
CheckboxList.prototype.
|
|
1470
|
+
CheckboxList.prototype.dv = function (a, b, c) {
|
|
1140
1471
|
switch (a) {
|
|
1141
1472
|
case "IndexType":
|
|
1142
1473
|
this.keys.clear();
|
|
1143
|
-
this.
|
|
1474
|
+
this.db();
|
|
1144
1475
|
if (this.keysCleared != null) {
|
|
1145
1476
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1146
1477
|
}
|
|
1147
|
-
this.view.
|
|
1148
|
-
this.
|
|
1478
|
+
this.view.al();
|
|
1479
|
+
this.dk(b, c);
|
|
1149
1480
|
break;
|
|
1150
1481
|
case "ItemsSource":
|
|
1151
1482
|
if (this.f != null) {
|
|
@@ -1158,26 +1489,28 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1158
1489
|
}
|
|
1159
1490
|
if (this.f.actualDataSource != null) {
|
|
1160
1491
|
var d = this.f.actualDataSource;
|
|
1161
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
1492
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.dq));
|
|
1162
1493
|
}
|
|
1163
|
-
this.f.itemsSource = this.
|
|
1164
|
-
this.
|
|
1494
|
+
this.f.itemsSource = this.bg;
|
|
1495
|
+
this.c2();
|
|
1165
1496
|
if (this.f.actualDataSource != null) {
|
|
1166
1497
|
var e = this.f.actualDataSource;
|
|
1167
|
-
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.
|
|
1498
|
+
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.dq));
|
|
1168
1499
|
}
|
|
1169
|
-
this.
|
|
1170
|
-
this.
|
|
1171
|
-
this.
|
|
1172
|
-
this.view.
|
|
1500
|
+
this.ar = true;
|
|
1501
|
+
this.ds();
|
|
1502
|
+
this.ar = false;
|
|
1503
|
+
this.view.al();
|
|
1173
1504
|
}
|
|
1174
1505
|
break;
|
|
1175
1506
|
case "DataMemberPath":
|
|
1176
1507
|
case "SelectedMemberPath":
|
|
1508
|
+
case "SubtitleMemberPath":
|
|
1509
|
+
case "PropertyTypeMemberPath":
|
|
1177
1510
|
if (this.f != null) {
|
|
1178
|
-
if (this.
|
|
1179
|
-
this.
|
|
1180
|
-
this.
|
|
1511
|
+
if (this.bj != null) {
|
|
1512
|
+
this.ds();
|
|
1513
|
+
this.d6();
|
|
1181
1514
|
}
|
|
1182
1515
|
}
|
|
1183
1516
|
break;
|
|
@@ -1187,104 +1520,133 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1187
1520
|
}
|
|
1188
1521
|
break;
|
|
1189
1522
|
case "SelectAllCaptionTextColor":
|
|
1190
|
-
this.
|
|
1523
|
+
this.ep = null != this.e5 ? this.e5 : CheckboxList.ey;
|
|
1191
1524
|
break;
|
|
1192
1525
|
case "SelectAllCaption":
|
|
1193
1526
|
case "ActualSelectAllCaptionTextColor":
|
|
1194
|
-
this.view.
|
|
1527
|
+
this.view.ak();
|
|
1195
1528
|
break;
|
|
1196
1529
|
case "showSelectAll":
|
|
1197
|
-
this.view.
|
|
1198
|
-
this.view.
|
|
1530
|
+
this.view.an();
|
|
1531
|
+
this.view.x();
|
|
1199
1532
|
break;
|
|
1200
1533
|
case "ShowFilter":
|
|
1201
|
-
this.view.
|
|
1202
|
-
this.view.
|
|
1534
|
+
this.view.aj();
|
|
1535
|
+
this.view.x();
|
|
1203
1536
|
break;
|
|
1204
1537
|
case "FilterPlaceholderText":
|
|
1205
|
-
if (this.
|
|
1206
|
-
this.
|
|
1538
|
+
if (this.t != null) {
|
|
1539
|
+
this.t.cg = this.b4;
|
|
1207
1540
|
}
|
|
1208
1541
|
break;
|
|
1209
1542
|
case "SearchInputType":
|
|
1210
|
-
if (this.
|
|
1211
|
-
this.
|
|
1543
|
+
if (this.v != null) {
|
|
1544
|
+
this.v.d = this.y;
|
|
1212
1545
|
}
|
|
1213
1546
|
break;
|
|
1214
1547
|
case "RowHeight":
|
|
1215
1548
|
if (this.f != null) {
|
|
1216
|
-
this.f.rowHeight = this.
|
|
1549
|
+
this.f.rowHeight = this.be;
|
|
1217
1550
|
}
|
|
1218
1551
|
break;
|
|
1219
1552
|
case "CellTextStyle":
|
|
1220
1553
|
if (this.f != null) {
|
|
1221
|
-
this.f.cellTextStyle = this.
|
|
1554
|
+
this.f.cellTextStyle = this.am;
|
|
1222
1555
|
}
|
|
1223
|
-
this.view.
|
|
1556
|
+
this.view.ah();
|
|
1224
1557
|
break;
|
|
1225
1558
|
case "BackgroundColor":
|
|
1226
1559
|
case "TextColor":
|
|
1227
1560
|
case "RowHoverBackgroundColor":
|
|
1228
1561
|
var f = this.f;
|
|
1229
1562
|
if (null != f) {
|
|
1230
|
-
f.cellTextColor = this.
|
|
1563
|
+
f.cellTextColor = this.e7;
|
|
1231
1564
|
f.cellBackground = this.backgroundColor;
|
|
1232
1565
|
f.cellSelectedBackground = this.backgroundColor;
|
|
1233
1566
|
f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1234
1567
|
}
|
|
1235
|
-
this.view.
|
|
1568
|
+
this.view.ai();
|
|
1236
1569
|
break;
|
|
1237
1570
|
case "BaseTheme":
|
|
1238
|
-
this.
|
|
1571
|
+
this.d5();
|
|
1239
1572
|
break;
|
|
1240
1573
|
case "Density":
|
|
1241
|
-
this.
|
|
1574
|
+
this.d4();
|
|
1242
1575
|
break;
|
|
1243
1576
|
case "IsRowHoverEnabled":
|
|
1244
1577
|
if (this.f != null) {
|
|
1245
|
-
this.f.isRowHoverEnabled = this.
|
|
1578
|
+
this.f.isRowHoverEnabled = this.az;
|
|
1246
1579
|
}
|
|
1247
1580
|
break;
|
|
1248
1581
|
case "ScrollbarStyle":
|
|
1249
1582
|
if (this.f != null) {
|
|
1250
|
-
this.f.scrollbarStyle = this.
|
|
1583
|
+
this.f.scrollbarStyle = this.ab;
|
|
1251
1584
|
}
|
|
1252
1585
|
break;
|
|
1253
1586
|
case "ScrollbarBackground":
|
|
1254
1587
|
if (this.f != null) {
|
|
1255
|
-
this.f.scrollbarBackground = this.
|
|
1588
|
+
this.f.scrollbarBackground = this.e0;
|
|
1256
1589
|
}
|
|
1257
1590
|
break;
|
|
1258
1591
|
case "SearchIconColor":
|
|
1259
|
-
this.view.
|
|
1592
|
+
this.view.ag();
|
|
1260
1593
|
break;
|
|
1261
1594
|
case "SearchBackgroundColor":
|
|
1262
|
-
this.
|
|
1595
|
+
this.w.mc = this.e1;
|
|
1263
1596
|
break;
|
|
1264
1597
|
case "SearchBorderColor":
|
|
1265
|
-
this.
|
|
1598
|
+
this.w.md = this.e2;
|
|
1266
1599
|
break;
|
|
1267
1600
|
case "SearchTextColor":
|
|
1268
|
-
if (this.
|
|
1269
|
-
this.
|
|
1601
|
+
if (this.u != null) {
|
|
1602
|
+
this.u.d8 = this.searchTextColor;
|
|
1270
1603
|
}
|
|
1271
1604
|
break;
|
|
1272
1605
|
case "SearchTextStyle":
|
|
1273
|
-
this.
|
|
1606
|
+
this.u.af = this.an;
|
|
1274
1607
|
break;
|
|
1275
1608
|
case "CheckboxTickColor":
|
|
1276
1609
|
case "CheckboxCheckedBackgroundColor":
|
|
1277
1610
|
case "CheckboxUncheckedBackgroundColor":
|
|
1278
1611
|
case "CheckboxCheckedBorderColor":
|
|
1279
1612
|
case "CheckboxUncheckedBorderColor":
|
|
1280
|
-
|
|
1613
|
+
case "CheckboxCornerRadius":
|
|
1614
|
+
this.view.ad();
|
|
1615
|
+
if (this.f != null) {
|
|
1616
|
+
this.f.xq();
|
|
1617
|
+
}
|
|
1618
|
+
break;
|
|
1619
|
+
case "CheckboxAlignedRight":
|
|
1620
|
+
if (this.f != null) {
|
|
1621
|
+
this.d8();
|
|
1622
|
+
}
|
|
1623
|
+
break;
|
|
1624
|
+
case "DataLegendTarget":
|
|
1281
1625
|
if (this.f != null) {
|
|
1282
1626
|
this.f.xq();
|
|
1283
1627
|
}
|
|
1284
1628
|
break;
|
|
1285
1629
|
}
|
|
1286
1630
|
};
|
|
1287
|
-
CheckboxList.prototype.
|
|
1631
|
+
CheckboxList.prototype.d8 = function () {
|
|
1632
|
+
if (this.f.actualColumns.count == 0) {
|
|
1633
|
+
return;
|
|
1634
|
+
}
|
|
1635
|
+
var a = this.f.actualColumns._inner[0];
|
|
1636
|
+
var b = this.f.actualColumns._inner[1];
|
|
1637
|
+
var c = this.f.actualColumns._inner[2];
|
|
1638
|
+
this.f.actualColumns.clear();
|
|
1639
|
+
if (this.av) {
|
|
1640
|
+
this.f.columns.add(b);
|
|
1641
|
+
this.f.columns.add(a);
|
|
1642
|
+
}
|
|
1643
|
+
else {
|
|
1644
|
+
this.f.columns.add(a);
|
|
1645
|
+
this.f.columns.add(b);
|
|
1646
|
+
}
|
|
1647
|
+
this.f.columns.add(c);
|
|
1648
|
+
};
|
|
1649
|
+
CheckboxList.prototype.dk = function (a, b) {
|
|
1288
1650
|
if (this.indexTypeChanged != null) {
|
|
1289
1651
|
this.indexTypeChanged(this, ((function () {
|
|
1290
1652
|
var $ret = new CheckboxListIndexTypeChangedEventArgs();
|
|
@@ -1294,79 +1656,100 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1294
1656
|
})()));
|
|
1295
1657
|
}
|
|
1296
1658
|
};
|
|
1297
|
-
CheckboxList.prototype.
|
|
1659
|
+
CheckboxList.prototype.d4 = function () {
|
|
1298
1660
|
if (this.f != null) {
|
|
1299
1661
|
this.f.density = this.density;
|
|
1300
1662
|
}
|
|
1301
|
-
if (this.
|
|
1302
|
-
this.
|
|
1663
|
+
if (this.v != null) {
|
|
1664
|
+
this.v.t = this.density;
|
|
1303
1665
|
}
|
|
1304
|
-
this.view.
|
|
1666
|
+
this.view.ac();
|
|
1305
1667
|
};
|
|
1306
|
-
CheckboxList.prototype.
|
|
1307
|
-
if (this.
|
|
1308
|
-
this.
|
|
1668
|
+
CheckboxList.prototype.d5 = function () {
|
|
1669
|
+
if (this.v != null) {
|
|
1670
|
+
this.v.p = this.baseTheme;
|
|
1309
1671
|
}
|
|
1310
|
-
if (this.
|
|
1311
|
-
this.
|
|
1672
|
+
if (this.u != null) {
|
|
1673
|
+
this.u.d8 = this.searchTextColor;
|
|
1312
1674
|
}
|
|
1313
1675
|
if (this.f != null) {
|
|
1314
|
-
this.f.cellTextColor = this.
|
|
1676
|
+
this.f.cellTextColor = this.e7;
|
|
1315
1677
|
this.f.cellBackground = this.backgroundColor;
|
|
1316
1678
|
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1317
1679
|
this.f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1318
1680
|
}
|
|
1319
|
-
this.view.
|
|
1681
|
+
this.view.ae();
|
|
1320
1682
|
};
|
|
1321
|
-
CheckboxList.prototype.
|
|
1322
|
-
this.
|
|
1323
|
-
this.
|
|
1683
|
+
CheckboxList.prototype.dq = function (a, b) {
|
|
1684
|
+
this.ar = true;
|
|
1685
|
+
this.c2();
|
|
1324
1686
|
if (b.schema != null) {
|
|
1325
|
-
this.
|
|
1687
|
+
this.ds();
|
|
1326
1688
|
for (var c = 0; c < this.keys.count; c++) {
|
|
1327
|
-
this.
|
|
1689
|
+
this.dm(this.keys._inner[c]);
|
|
1328
1690
|
}
|
|
1329
|
-
this.view.
|
|
1691
|
+
this.view.al();
|
|
1330
1692
|
}
|
|
1331
|
-
this.
|
|
1693
|
+
this.ar = false;
|
|
1332
1694
|
};
|
|
1333
|
-
CheckboxList.prototype.
|
|
1334
|
-
if (this.
|
|
1335
|
-
this.
|
|
1695
|
+
CheckboxList.prototype.ds = function () {
|
|
1696
|
+
if (this.ai == null && this.bm != null && this.bm != "") {
|
|
1697
|
+
this.ai = new FastReflectionHelper(false, this.bm);
|
|
1336
1698
|
}
|
|
1337
|
-
if (this.
|
|
1338
|
-
this.
|
|
1699
|
+
if (this.ag == null && this.bj != null && this.bj != "") {
|
|
1700
|
+
this.ag = new FastReflectionHelper(false, this.bj);
|
|
1701
|
+
}
|
|
1702
|
+
if (this.aj == null && this.bn != null && this.bn != "") {
|
|
1703
|
+
this.aj = new FastReflectionHelper(false, this.bn);
|
|
1704
|
+
}
|
|
1705
|
+
if (this.ah == null && this.bl != null && this.bl != "") {
|
|
1706
|
+
this.ah = new FastReflectionHelper(false, this.bl);
|
|
1707
|
+
}
|
|
1708
|
+
if (this.ag != null) {
|
|
1709
|
+
this.ag.propertyName = this.bj;
|
|
1710
|
+
}
|
|
1711
|
+
if (this.aj != null) {
|
|
1712
|
+
this.aj.propertyName = this.bn;
|
|
1713
|
+
}
|
|
1714
|
+
if (this.ah != null) {
|
|
1715
|
+
this.ah.propertyName = this.bl;
|
|
1716
|
+
}
|
|
1717
|
+
if (this.bg != null && this.ai != null && this.f.actualDataSource.actualSchema != null) {
|
|
1718
|
+
this.ai.propertyName = this.bm;
|
|
1339
1719
|
var a = this.f.actualDataSource.actualCount;
|
|
1340
1720
|
for (var b = 0; b < a; b++) {
|
|
1341
1721
|
var c = this.f.actualDataSource.getItemAtIndex(b);
|
|
1342
|
-
var d = this.
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
if (!this.keys.contains(
|
|
1346
|
-
this.keys.add(
|
|
1722
|
+
var d = this.i(c);
|
|
1723
|
+
var e = this.ai.getPropertyValue(c);
|
|
1724
|
+
if (e == true) {
|
|
1725
|
+
if (!this.keys.contains(d)) {
|
|
1726
|
+
this.keys.add(d);
|
|
1347
1727
|
}
|
|
1348
1728
|
}
|
|
1729
|
+
else if (this.keys.contains(d)) {
|
|
1730
|
+
this.keys.remove(d);
|
|
1731
|
+
}
|
|
1349
1732
|
}
|
|
1350
1733
|
}
|
|
1351
1734
|
};
|
|
1352
|
-
CheckboxList.prototype.
|
|
1735
|
+
CheckboxList.prototype.d6 = function () {
|
|
1353
1736
|
this.f.actualColumns.clear();
|
|
1354
1737
|
this.f.primaryKey = this.primaryKey;
|
|
1355
1738
|
this.f.isGroupRowSticky = false;
|
|
1356
|
-
this.f.rowHeight = this.
|
|
1739
|
+
this.f.rowHeight = this.be;
|
|
1357
1740
|
this.f.cellBackground = this.backgroundColor;
|
|
1358
1741
|
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1359
1742
|
this.f.density = this.density;
|
|
1360
|
-
this.f.isRowHoverEnabled = this.
|
|
1743
|
+
this.f.isRowHoverEnabled = this.az;
|
|
1361
1744
|
this.f.borderWidth = new Thickness(0, 0);
|
|
1362
|
-
if (this.
|
|
1363
|
-
this.f.cellTextStyle = this.
|
|
1745
|
+
if (this.am != null) {
|
|
1746
|
+
this.f.cellTextStyle = this.am;
|
|
1364
1747
|
}
|
|
1365
1748
|
var a = new TemplateColumn();
|
|
1366
|
-
if (this.
|
|
1367
|
-
this.
|
|
1749
|
+
if (this.bm == null) {
|
|
1750
|
+
this.bm = "";
|
|
1368
1751
|
}
|
|
1369
|
-
a.lo = this.
|
|
1752
|
+
a.lo = this.bm;
|
|
1370
1753
|
a.mf = "CheckboxColumn";
|
|
1371
1754
|
var b = new ColumnWidth();
|
|
1372
1755
|
b.c = false;
|
|
@@ -1374,52 +1757,72 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1374
1757
|
a.width = b;
|
|
1375
1758
|
a.kk = 0;
|
|
1376
1759
|
a.kl = 0;
|
|
1377
|
-
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.
|
|
1378
|
-
this.f.columns.add(a);
|
|
1760
|
+
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.c3));
|
|
1379
1761
|
this.j = a;
|
|
1380
|
-
|
|
1381
|
-
var
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
case 5:
|
|
1391
|
-
case 6:
|
|
1392
|
-
case 7:
|
|
1393
|
-
case 10:
|
|
1394
|
-
d = new NumericColumn();
|
|
1395
|
-
break;
|
|
1396
|
-
case 2:
|
|
1397
|
-
case 11:
|
|
1398
|
-
case 0:
|
|
1399
|
-
default:
|
|
1400
|
-
d = new TextColumn();
|
|
1401
|
-
break;
|
|
1762
|
+
this.f.columns.add(a);
|
|
1763
|
+
var c = this.f.actualDataSource.resolveSchemaPropertyType(this.bj);
|
|
1764
|
+
if ((this.bn != null || this.bl != null) && (c == 0 || c == 11 || c == 2)) {
|
|
1765
|
+
var d = new TemplateColumn();
|
|
1766
|
+
d.lo = this.bj;
|
|
1767
|
+
d.mf = "DataColumn";
|
|
1768
|
+
d.kk = 0;
|
|
1769
|
+
d.g = 0;
|
|
1770
|
+
d.cellUpdating = delegateCombine(d.cellUpdating, runOn(this, this.d7));
|
|
1771
|
+
this.f.columns.add(d);
|
|
1402
1772
|
}
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1773
|
+
else {
|
|
1774
|
+
var e = void 0;
|
|
1775
|
+
switch (c) {
|
|
1776
|
+
case 8:
|
|
1777
|
+
case 9:
|
|
1778
|
+
e = new DateTimeColumn();
|
|
1779
|
+
break;
|
|
1780
|
+
case 1:
|
|
1781
|
+
case 3:
|
|
1782
|
+
case 4:
|
|
1783
|
+
case 5:
|
|
1784
|
+
case 6:
|
|
1785
|
+
case 7:
|
|
1786
|
+
case 10:
|
|
1787
|
+
e = new NumericColumn();
|
|
1788
|
+
break;
|
|
1789
|
+
case 2:
|
|
1790
|
+
case 11:
|
|
1791
|
+
case 0:
|
|
1792
|
+
default:
|
|
1793
|
+
e = new TextColumn();
|
|
1794
|
+
break;
|
|
1795
|
+
}
|
|
1796
|
+
e.lo = this.bj;
|
|
1797
|
+
e.mf = "DataColumn";
|
|
1798
|
+
e.kk = 0;
|
|
1799
|
+
e.g = 0;
|
|
1800
|
+
this.f.columns.add(e);
|
|
1801
|
+
}
|
|
1802
|
+
var f = new TemplateColumn();
|
|
1803
|
+
var g = new ColumnWidth();
|
|
1804
|
+
g.c = false;
|
|
1805
|
+
g.f = 10;
|
|
1806
|
+
f.lo = "PaddingColumn";
|
|
1807
|
+
f.mf = "PaddingColumn";
|
|
1808
|
+
f.kk = 0;
|
|
1809
|
+
f.width = g;
|
|
1810
|
+
this.f.columns.add(f);
|
|
1408
1811
|
};
|
|
1409
1812
|
CheckboxList.prototype.updateHrMargin = function (a) {
|
|
1410
|
-
this.view.
|
|
1813
|
+
this.view.af(a);
|
|
1411
1814
|
};
|
|
1412
1815
|
CheckboxList.prototype.provideHrElement = function (a) {
|
|
1413
|
-
this.view.
|
|
1816
|
+
this.view.t(a);
|
|
1414
1817
|
};
|
|
1415
|
-
CheckboxList.prototype.
|
|
1416
|
-
var a = this.
|
|
1417
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
1418
|
-
this.
|
|
1818
|
+
CheckboxList.prototype.dl = function () {
|
|
1819
|
+
var a = this.u;
|
|
1820
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.c9));
|
|
1821
|
+
this.d5();
|
|
1419
1822
|
};
|
|
1420
|
-
CheckboxList.prototype.
|
|
1823
|
+
CheckboxList.prototype.c9 = function (a, b) {
|
|
1421
1824
|
var c = b.value.toLowerCase();
|
|
1422
|
-
this.
|
|
1825
|
+
this.dj(c);
|
|
1423
1826
|
};
|
|
1424
1827
|
CheckboxList.prototype.i = function (a) {
|
|
1425
1828
|
if (this.primaryKey == null) {
|
|
@@ -1433,70 +1836,81 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1433
1836
|
}
|
|
1434
1837
|
return new PrimaryKeyValue(b, c);
|
|
1435
1838
|
};
|
|
1436
|
-
CheckboxList.prototype.
|
|
1437
|
-
this.
|
|
1839
|
+
CheckboxList.prototype.d0 = function (a) {
|
|
1840
|
+
this.aq = true;
|
|
1438
1841
|
var b = this.e.getItemAtIndex(a);
|
|
1439
|
-
if (this.
|
|
1440
|
-
this.
|
|
1842
|
+
if (this.ai != null) {
|
|
1843
|
+
this.ai.setPropertyValue(b, false);
|
|
1441
1844
|
}
|
|
1442
1845
|
var c = this.i(b);
|
|
1443
1846
|
this.keys.remove(c);
|
|
1444
|
-
this.
|
|
1847
|
+
this.aq = false;
|
|
1445
1848
|
};
|
|
1446
|
-
CheckboxList.prototype.
|
|
1447
|
-
this.
|
|
1849
|
+
CheckboxList.prototype.cz = function (a) {
|
|
1850
|
+
this.aq = true;
|
|
1448
1851
|
var b = this.e.getItemAtIndex(a);
|
|
1449
|
-
if (this.
|
|
1450
|
-
this.
|
|
1852
|
+
if (this.ai != null) {
|
|
1853
|
+
this.ai.setPropertyValue(b, true);
|
|
1451
1854
|
}
|
|
1452
1855
|
var c = this.i(b);
|
|
1453
1856
|
this.keys.add(c);
|
|
1454
|
-
this.
|
|
1857
|
+
this.aq = false;
|
|
1455
1858
|
};
|
|
1456
|
-
CheckboxList.prototype.
|
|
1859
|
+
CheckboxList.prototype.d3 = function () {
|
|
1457
1860
|
this.indexType = 0;
|
|
1458
1861
|
this.keys.clear();
|
|
1459
|
-
this.
|
|
1862
|
+
this.db();
|
|
1460
1863
|
if (this.keysCleared != null) {
|
|
1461
1864
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1462
1865
|
}
|
|
1463
1866
|
};
|
|
1464
|
-
CheckboxList.prototype.
|
|
1867
|
+
CheckboxList.prototype.c5 = function () {
|
|
1465
1868
|
this.indexType = 1;
|
|
1466
1869
|
this.keys.clear();
|
|
1467
|
-
this.
|
|
1870
|
+
this.db();
|
|
1468
1871
|
if (this.keysCleared != null) {
|
|
1469
1872
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1470
1873
|
}
|
|
1471
1874
|
};
|
|
1472
|
-
CheckboxList.prototype.
|
|
1875
|
+
CheckboxList.prototype.dg = function (a, b, c) {
|
|
1473
1876
|
if (this.f != null) {
|
|
1474
1877
|
this.f.notifySetItem(a, b, c);
|
|
1475
1878
|
}
|
|
1476
1879
|
};
|
|
1477
|
-
CheckboxList.prototype.
|
|
1880
|
+
CheckboxList.prototype.dc = function () {
|
|
1478
1881
|
if (this.f != null) {
|
|
1479
1882
|
this.f.notifyClearItems();
|
|
1480
1883
|
}
|
|
1481
1884
|
};
|
|
1482
|
-
CheckboxList.prototype.
|
|
1885
|
+
CheckboxList.prototype.db = function () {
|
|
1483
1886
|
if (this.f != null) {
|
|
1484
1887
|
this.f.invalidateVisibleRows();
|
|
1485
1888
|
}
|
|
1486
1889
|
};
|
|
1487
|
-
CheckboxList.prototype.
|
|
1890
|
+
CheckboxList.prototype.dd = function (a, b) {
|
|
1488
1891
|
if (this.f != null) {
|
|
1489
1892
|
this.f.notifyInsertItem(a, b);
|
|
1490
1893
|
}
|
|
1491
1894
|
;
|
|
1492
1895
|
};
|
|
1493
|
-
CheckboxList.prototype.
|
|
1896
|
+
CheckboxList.prototype.df = function (a, b) {
|
|
1494
1897
|
if (this.f != null) {
|
|
1495
1898
|
this.f.notifyRemoveItem(a, b);
|
|
1496
1899
|
}
|
|
1497
1900
|
;
|
|
1498
1901
|
};
|
|
1499
|
-
CheckboxList.prototype.
|
|
1902
|
+
CheckboxList.prototype.refresh = function () {
|
|
1903
|
+
if (this.as) {
|
|
1904
|
+
return;
|
|
1905
|
+
}
|
|
1906
|
+
if (this.f != null) {
|
|
1907
|
+
this.as = true;
|
|
1908
|
+
this.view.v();
|
|
1909
|
+
this.f.refresh();
|
|
1910
|
+
this.as = false;
|
|
1911
|
+
}
|
|
1912
|
+
};
|
|
1913
|
+
CheckboxList.prototype.c0 = function (a) {
|
|
1500
1914
|
var b = null;
|
|
1501
1915
|
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1502
1916
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1508,15 +1922,15 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1508
1922
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1509
1923
|
}
|
|
1510
1924
|
if (b != null) {
|
|
1511
|
-
if (this.
|
|
1925
|
+
if (this.ai != null) {
|
|
1512
1926
|
var c = this.e.indexOfKey(a);
|
|
1513
1927
|
var d = this.e.getItemAtIndex(c);
|
|
1514
|
-
this.
|
|
1928
|
+
this.ai.setPropertyValue(d, true);
|
|
1515
1929
|
}
|
|
1516
1930
|
this.keys.add(b);
|
|
1517
1931
|
}
|
|
1518
1932
|
};
|
|
1519
|
-
CheckboxList.prototype.
|
|
1933
|
+
CheckboxList.prototype.d1 = function (a) {
|
|
1520
1934
|
var b = null;
|
|
1521
1935
|
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1522
1936
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1528,10 +1942,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1528
1942
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1529
1943
|
}
|
|
1530
1944
|
if (this.keys.contains(b)) {
|
|
1531
|
-
if (this.
|
|
1945
|
+
if (this.ai != null) {
|
|
1532
1946
|
var c = this.e.indexOfKey(a);
|
|
1533
1947
|
var d = this.e.getItemAtIndex(c);
|
|
1534
|
-
this.
|
|
1948
|
+
this.ai.setPropertyValue(d, false);
|
|
1535
1949
|
}
|
|
1536
1950
|
this.keys.remove(b);
|
|
1537
1951
|
}
|
|
@@ -1539,13 +1953,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1539
1953
|
CheckboxList.prototype.getDesiredSize = function (a) {
|
|
1540
1954
|
var b = 248;
|
|
1541
1955
|
var c = 0;
|
|
1542
|
-
var d = this.
|
|
1956
|
+
var d = this.a9();
|
|
1543
1957
|
var e = 5;
|
|
1544
1958
|
if (this.f != null && this.f.actualDataSource != null && this.f.actualDataSource.actualCount > 0) {
|
|
1545
1959
|
e = this.f.actualDataSource.actualCount;
|
|
1546
1960
|
}
|
|
1547
|
-
var f = this.
|
|
1548
|
-
var g = this.
|
|
1961
|
+
var f = this.bc * e;
|
|
1962
|
+
var g = this.bc * (this.showSelectAll ? 4 : 5);
|
|
1549
1963
|
var h = f > g ? g : f;
|
|
1550
1964
|
var i = d + h;
|
|
1551
1965
|
if (isPositiveInfinity(a.height)) {
|
|
@@ -1562,71 +1976,71 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1562
1976
|
}
|
|
1563
1977
|
return new Size(1, b, c);
|
|
1564
1978
|
};
|
|
1565
|
-
CheckboxList.prototype.
|
|
1979
|
+
CheckboxList.prototype.a9 = function () {
|
|
1566
1980
|
var a = 0;
|
|
1567
1981
|
a += ComponentSizeHelpers.d(this.density, this.baseTheme);
|
|
1568
1982
|
a += ComponentSizeHelpers.c(this.density, this.baseTheme);
|
|
1569
1983
|
a += (0.8 + 6);
|
|
1570
1984
|
a += 4;
|
|
1571
1985
|
if (this.showSelectAll) {
|
|
1572
|
-
a += this.
|
|
1986
|
+
a += this.bc;
|
|
1573
1987
|
}
|
|
1574
1988
|
a += 4;
|
|
1575
1989
|
return a;
|
|
1576
1990
|
};
|
|
1577
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1991
|
+
Object.defineProperty(CheckboxList.prototype, "cp", {
|
|
1578
1992
|
get: function () {
|
|
1579
|
-
return this.
|
|
1993
|
+
return this.co != null ? this.co : !stringIsNullOrWhiteSpace(this.ap.b1("Select_All")) ? this.ap.b1("Select_All") : "(Select All)";
|
|
1580
1994
|
},
|
|
1581
1995
|
set: function (a) {
|
|
1582
|
-
if (a == this.
|
|
1996
|
+
if (a == this.co) {
|
|
1583
1997
|
return;
|
|
1584
1998
|
}
|
|
1585
|
-
var b = this.
|
|
1586
|
-
this.
|
|
1587
|
-
this.
|
|
1999
|
+
var b = this.co;
|
|
2000
|
+
this.co = a;
|
|
2001
|
+
this.dp("SelectAllCaption", b, this.co);
|
|
1588
2002
|
},
|
|
1589
2003
|
enumerable: false,
|
|
1590
2004
|
configurable: true
|
|
1591
2005
|
});
|
|
1592
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
2006
|
+
Object.defineProperty(CheckboxList.prototype, "e5", {
|
|
1593
2007
|
get: function () {
|
|
1594
|
-
return this.
|
|
2008
|
+
return this.en;
|
|
1595
2009
|
},
|
|
1596
2010
|
set: function (a) {
|
|
1597
|
-
var b = this.
|
|
1598
|
-
this.
|
|
1599
|
-
if (b != this.
|
|
1600
|
-
this.
|
|
2011
|
+
var b = this.en;
|
|
2012
|
+
this.en = a;
|
|
2013
|
+
if (b != this.en) {
|
|
2014
|
+
this.dp("SelectAllCaptionTextColor", b, a);
|
|
1601
2015
|
}
|
|
1602
2016
|
},
|
|
1603
2017
|
enumerable: false,
|
|
1604
2018
|
configurable: true
|
|
1605
2019
|
});
|
|
1606
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
2020
|
+
Object.defineProperty(CheckboxList.prototype, "ep", {
|
|
1607
2021
|
get: function () {
|
|
1608
|
-
return this.
|
|
2022
|
+
return this.ea;
|
|
1609
2023
|
},
|
|
1610
2024
|
set: function (a) {
|
|
1611
|
-
var b = this.
|
|
1612
|
-
this.
|
|
1613
|
-
if (b != this.
|
|
1614
|
-
this.
|
|
2025
|
+
var b = this.ea;
|
|
2026
|
+
this.ea = a;
|
|
2027
|
+
if (b != this.ea) {
|
|
2028
|
+
this.dp("ActualSelectAllCaptionTextColor", b, a);
|
|
1615
2029
|
}
|
|
1616
2030
|
},
|
|
1617
2031
|
enumerable: false,
|
|
1618
2032
|
configurable: true
|
|
1619
2033
|
});
|
|
1620
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
2034
|
+
Object.defineProperty(CheckboxList.prototype, "a0", {
|
|
1621
2035
|
get: function () {
|
|
1622
|
-
if (-1 == this.
|
|
2036
|
+
if (-1 == this.bd) {
|
|
1623
2037
|
return false;
|
|
1624
2038
|
}
|
|
1625
2039
|
var a = this.keys.count;
|
|
1626
2040
|
if (0 == a) {
|
|
1627
2041
|
return false;
|
|
1628
2042
|
}
|
|
1629
|
-
if (a == this.
|
|
2043
|
+
if (a == this.bd) {
|
|
1630
2044
|
return false;
|
|
1631
2045
|
}
|
|
1632
2046
|
return true;
|
|
@@ -1636,28 +2050,28 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1636
2050
|
});
|
|
1637
2051
|
Object.defineProperty(CheckboxList.prototype, "showSelectAll", {
|
|
1638
2052
|
get: function () {
|
|
1639
|
-
return this.
|
|
2053
|
+
return this.a4;
|
|
1640
2054
|
},
|
|
1641
2055
|
set: function (a) {
|
|
1642
|
-
if (a == this.
|
|
2056
|
+
if (a == this.a4) {
|
|
1643
2057
|
return;
|
|
1644
2058
|
}
|
|
1645
|
-
var b = this.
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
2059
|
+
var b = this.a4;
|
|
2060
|
+
this.a4 = a;
|
|
2061
|
+
this.dp("showSelectAll", b, this.a4);
|
|
1648
2062
|
},
|
|
1649
2063
|
enumerable: false,
|
|
1650
2064
|
configurable: true
|
|
1651
2065
|
});
|
|
1652
2066
|
Object.defineProperty(CheckboxList.prototype, "backgroundColor", {
|
|
1653
2067
|
get: function () {
|
|
1654
|
-
return this.
|
|
2068
|
+
return this.eb;
|
|
1655
2069
|
},
|
|
1656
2070
|
set: function (a) {
|
|
1657
|
-
var b = this.
|
|
1658
|
-
this.
|
|
1659
|
-
if (b != this.
|
|
1660
|
-
this.
|
|
2071
|
+
var b = this.eb;
|
|
2072
|
+
this.eb = a;
|
|
2073
|
+
if (b != this.eb) {
|
|
2074
|
+
this.dp("BackgroundColor", b, a);
|
|
1661
2075
|
}
|
|
1662
2076
|
},
|
|
1663
2077
|
enumerable: false,
|
|
@@ -1665,33 +2079,33 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1665
2079
|
});
|
|
1666
2080
|
Object.defineProperty(CheckboxList.prototype, "rowHoverBackgroundColor", {
|
|
1667
2081
|
get: function () {
|
|
1668
|
-
return this.
|
|
2082
|
+
return this.eh;
|
|
1669
2083
|
},
|
|
1670
2084
|
set: function (a) {
|
|
1671
|
-
var b = this.
|
|
1672
|
-
this.
|
|
1673
|
-
if (b != this.
|
|
1674
|
-
this.
|
|
2085
|
+
var b = this.eh;
|
|
2086
|
+
this.eh = a;
|
|
2087
|
+
if (b != this.eh) {
|
|
2088
|
+
this.dp("RowHoverBackgroundColor", b, a);
|
|
1675
2089
|
}
|
|
1676
2090
|
},
|
|
1677
2091
|
enumerable: false,
|
|
1678
2092
|
configurable: true
|
|
1679
2093
|
});
|
|
1680
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
2094
|
+
Object.defineProperty(CheckboxList.prototype, "e7", {
|
|
1681
2095
|
get: function () {
|
|
1682
|
-
return this.
|
|
2096
|
+
return this.eo;
|
|
1683
2097
|
},
|
|
1684
2098
|
set: function (a) {
|
|
1685
|
-
var b = this.
|
|
1686
|
-
this.
|
|
1687
|
-
if (b != this.
|
|
1688
|
-
this.
|
|
2099
|
+
var b = this.eo;
|
|
2100
|
+
this.eo = a;
|
|
2101
|
+
if (b != this.eo) {
|
|
2102
|
+
this.dp("TextColor", b, a);
|
|
1689
2103
|
}
|
|
1690
2104
|
},
|
|
1691
2105
|
enumerable: false,
|
|
1692
2106
|
configurable: true
|
|
1693
2107
|
});
|
|
1694
|
-
CheckboxList.prototype.
|
|
2108
|
+
CheckboxList.prototype.dr = function (a) {
|
|
1695
2109
|
if (this.selectAllCheckboxChanged != null) {
|
|
1696
2110
|
this.selectAllCheckboxChanged(this, ((function () {
|
|
1697
2111
|
var $ret = new SelectAllCheckboxChangedEventArgs();
|
|
@@ -1700,78 +2114,93 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1700
2114
|
})()));
|
|
1701
2115
|
}
|
|
1702
2116
|
};
|
|
1703
|
-
CheckboxList.prototype.
|
|
1704
|
-
if (-1 == this.
|
|
2117
|
+
CheckboxList.prototype.ax = function () {
|
|
2118
|
+
if (-1 == this.bd) {
|
|
1705
2119
|
return true;
|
|
1706
2120
|
}
|
|
1707
2121
|
var a = this.keys.count;
|
|
1708
2122
|
switch (this.indexType) {
|
|
1709
|
-
case 0: return this.
|
|
2123
|
+
case 0: return this.bd == a;
|
|
1710
2124
|
case 1: return 0 == a;
|
|
1711
2125
|
default: return false;
|
|
1712
2126
|
}
|
|
1713
2127
|
};
|
|
1714
|
-
CheckboxList.prototype.
|
|
1715
|
-
if (-1 == this.
|
|
2128
|
+
CheckboxList.prototype.aw = function () {
|
|
2129
|
+
if (-1 == this.bd) {
|
|
1716
2130
|
return false;
|
|
1717
2131
|
}
|
|
1718
2132
|
var a = this.keys.count;
|
|
1719
2133
|
switch (this.indexType) {
|
|
1720
2134
|
case 0: return 0 == a;
|
|
1721
|
-
case 1: return this.
|
|
2135
|
+
case 1: return this.bd == a;
|
|
1722
2136
|
default: return false;
|
|
1723
2137
|
}
|
|
1724
2138
|
};
|
|
1725
|
-
CheckboxList.prototype.
|
|
2139
|
+
CheckboxList.prototype.c2 = function () {
|
|
1726
2140
|
var a = this.f.actualDataSource;
|
|
1727
2141
|
if (null != a) {
|
|
1728
2142
|
if (null == a.actualSchema) {
|
|
1729
|
-
this.
|
|
2143
|
+
this.bd = -1;
|
|
1730
2144
|
return;
|
|
1731
2145
|
}
|
|
1732
2146
|
var b = a.actualCount;
|
|
1733
|
-
this.
|
|
2147
|
+
this.bd = b;
|
|
1734
2148
|
}
|
|
1735
2149
|
else {
|
|
1736
|
-
this.
|
|
2150
|
+
this.bd = -1;
|
|
1737
2151
|
}
|
|
1738
2152
|
};
|
|
1739
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
2153
|
+
Object.defineProperty(CheckboxList.prototype, "a3", {
|
|
1740
2154
|
get: function () {
|
|
1741
|
-
return this.
|
|
2155
|
+
return this.a2;
|
|
1742
2156
|
},
|
|
1743
2157
|
set: function (a) {
|
|
1744
|
-
if (a == this.
|
|
2158
|
+
if (a == this.a2) {
|
|
1745
2159
|
return;
|
|
1746
2160
|
}
|
|
1747
|
-
var b = this.
|
|
1748
|
-
this.
|
|
1749
|
-
this.
|
|
2161
|
+
var b = this.a2;
|
|
2162
|
+
this.a2 = a;
|
|
2163
|
+
this.dp("ShowFilter", b, this.a2);
|
|
2164
|
+
},
|
|
2165
|
+
enumerable: false,
|
|
2166
|
+
configurable: true
|
|
2167
|
+
});
|
|
2168
|
+
Object.defineProperty(CheckboxList.prototype, "az", {
|
|
2169
|
+
get: function () {
|
|
2170
|
+
return this.ay;
|
|
2171
|
+
},
|
|
2172
|
+
set: function (a) {
|
|
2173
|
+
if (a == this.ay) {
|
|
2174
|
+
return;
|
|
2175
|
+
}
|
|
2176
|
+
var b = this.ay;
|
|
2177
|
+
this.ay = a;
|
|
2178
|
+
this.dp("IsRowHoverEnabled", b, this.ay);
|
|
1750
2179
|
},
|
|
1751
2180
|
enumerable: false,
|
|
1752
2181
|
configurable: true
|
|
1753
2182
|
});
|
|
1754
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
2183
|
+
Object.defineProperty(CheckboxList.prototype, "av", {
|
|
1755
2184
|
get: function () {
|
|
1756
|
-
return this.
|
|
2185
|
+
return this.au;
|
|
1757
2186
|
},
|
|
1758
2187
|
set: function (a) {
|
|
1759
|
-
if (a == this.
|
|
2188
|
+
if (a == this.au) {
|
|
1760
2189
|
return;
|
|
1761
2190
|
}
|
|
1762
|
-
var b = this.
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
2191
|
+
var b = this.au;
|
|
2192
|
+
this.au = a;
|
|
2193
|
+
this.dp("CheckboxAlignedRight", b, this.au);
|
|
1765
2194
|
},
|
|
1766
2195
|
enumerable: false,
|
|
1767
2196
|
configurable: true
|
|
1768
2197
|
});
|
|
1769
2198
|
CheckboxList.$t = markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
|
|
1770
|
-
CheckboxList.
|
|
1771
|
-
CheckboxList.
|
|
1772
|
-
CheckboxList.
|
|
1773
|
-
CheckboxList.
|
|
1774
|
-
CheckboxList.
|
|
2199
|
+
CheckboxList.e6 = BrushUtil.h(255, 24, 29, 31);
|
|
2200
|
+
CheckboxList.cl = "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";
|
|
2201
|
+
CheckboxList.ew = BrushUtil.h(255, 248, 248, 248);
|
|
2202
|
+
CheckboxList.ex = null;
|
|
2203
|
+
CheckboxList.ey = BrushUtil.h(255, 24, 29, 31);
|
|
1775
2204
|
return CheckboxList;
|
|
1776
2205
|
}(Base));
|
|
1777
2206
|
export { CheckboxList };
|