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