igniteui-webcomponents-grids 4.8.1 → 5.0.0-beta.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 +1078 -600
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +171 -0
- package/esm2015/lib/CheckboxListExternal.js +11 -0
- package/esm2015/lib/CheckboxListViewExternal.js +11 -0
- package/esm2015/lib/CheckboxListView_combined.js +554 -441
- package/esm2015/lib/CheckedChangedEventArgs.js +3 -2
- package/esm2015/lib/ColumnChooserView_combined.js +15 -15
- package/esm2015/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm2015/lib/ColumnGroupingView_combined.js +4 -4
- package/esm2015/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +12 -12
- package/esm2015/lib/DateEditorView.js +12 -12
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm2015/lib/ISummaryChooserView_combined.js +17 -17
- package/esm2015/lib/NativeUIGridFactory.js +66 -0
- package/esm2015/lib/PagerVisualModelExport.js +4 -4
- package/esm2015/lib/igc-checkbox-list-component.js +159 -93
- package/esm2015/lib/igc-checkbox-list-module.js +3 -0
- package/esm2015/lib/igc-checked-changed-event-args.js +14 -4
- package/esm2015/public_api.js +5 -0
- package/esm5/lib/CheckboxListBridge.js +173 -0
- package/esm5/lib/CheckboxListExternal.js +11 -0
- package/esm5/lib/CheckboxListViewExternal.js +11 -0
- package/esm5/lib/CheckboxListView_combined.js +541 -422
- package/esm5/lib/CheckedChangedEventArgs.js +3 -2
- package/esm5/lib/ColumnChooserView_combined.js +15 -15
- package/esm5/lib/ColumnFilterCondition_combined.js +8 -8
- package/esm5/lib/ColumnGroupingView_combined.js +4 -4
- package/esm5/lib/ColumnGroupingVisualModelExport.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +12 -12
- package/esm5/lib/DateEditorView.js +12 -12
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +10 -10
- package/esm5/lib/ISummaryChooserView_combined.js +17 -17
- package/esm5/lib/NativeUIGridFactory.js +76 -0
- package/esm5/lib/PagerVisualModelExport.js +4 -4
- package/esm5/lib/igc-checkbox-list-component.js +173 -93
- package/esm5/lib/igc-checkbox-list-module.js +3 -0
- package/esm5/lib/igc-checked-changed-event-args.js +17 -3
- package/esm5/public_api.js +5 -0
- package/fesm2015/igniteui-webcomponents-grids.js +1065 -623
- package/fesm5/igniteui-webcomponents-grids.js +1077 -603
- package/grids/combined.js +36783 -38660
- package/grids/index.d.ts +8 -8
- package/grids/lib/igc-action-strip-component.d.ts +4 -4
- package/grids/lib/igc-action-strip-token.d.ts +16 -0
- package/grids/lib/igc-base-exporter.d.ts +0 -4
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +1 -1
- package/grids/lib/igc-base-toolbar-directive.d.ts +0 -8
- package/grids/lib/igc-column-component.d.ts +15 -101
- package/grids/lib/igc-column-group-component.d.ts +94 -1
- package/grids/lib/igc-column-layout-component.d.ts +11 -0
- package/grids/lib/igc-column-pipe-args.d.ts +1 -0
- package/grids/lib/igc-column-resize-event-args.d.ts +1 -0
- package/grids/lib/igc-column-state.d.ts +0 -4
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +2 -0
- package/grids/lib/igc-for-of-data-changing-event-args.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +34 -21
- package/grids/lib/igc-grid-component.d.ts +1 -1
- package/grids/lib/igc-grid-context-menu-event-args.d.ts +32 -0
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +11 -3
- package/grids/lib/igc-grid-edit-event-args.d.ts +12 -3
- package/grids/lib/igc-grid-paginator-template-context.d.ts +19 -0
- package/grids/lib/igc-grid-resource-strings.d.ts +0 -3
- package/grids/lib/igc-grid-row-event-args.d.ts +27 -0
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +0 -8
- package/grids/lib/igc-grid-toolbar-component.d.ts +3 -2
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +5 -10
- package/grids/lib/igc-header-type.d.ts +0 -5
- package/grids/lib/igc-hierarchical-grid-component.d.ts +2 -2
- package/grids/lib/igc-paginator-component.d.ts +6 -22
- package/grids/lib/igc-pin-row-event-args.d.ts +5 -1
- package/grids/lib/igc-pivot-aggregator.d.ts +1 -1
- package/grids/lib/igc-pivot-configuration.d.ts +0 -1
- package/grids/lib/igc-pivot-data-selector-component.d.ts +2 -1
- package/grids/lib/igc-pivot-date-dimension.d.ts +3 -0
- package/grids/lib/igc-pivot-dimension.d.ts +12 -1
- package/grids/lib/igc-pivot-grid-component.d.ts +29 -19
- package/grids/lib/igc-pivot-grid-record.d.ts +8 -0
- package/grids/lib/igc-pivot-ui-settings.d.ts +28 -0
- package/grids/lib/igc-pivot-value.d.ts +0 -2
- package/grids/lib/igc-position-settings.d.ts +1 -10
- package/grids/lib/igc-row-data-cancelable-event-args.d.ts +61 -0
- package/grids/lib/igc-row-data-event-args.d.ts +10 -0
- package/grids/lib/igc-row-directive.d.ts +0 -5
- package/grids/lib/igc-row-island-component.d.ts +50 -146
- package/grids/lib/igc-row-toggle-event-args.d.ts +7 -1
- package/grids/lib/igc-sorting-options.d.ts +0 -1
- package/grids/lib/igc-tree-grid-component.d.ts +15 -18
- package/grids/lib/pivot-row-layout-type.d.ts +3 -0
- package/grids/lib/pivot-summary-position.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 +29 -0
- package/lib/CheckboxListExternal.d.ts +29 -0
- package/lib/CheckboxListViewExternal.d.ts +16 -0
- package/lib/CheckboxListView_combined.d.ts +130 -121
- package/lib/CheckedChangedEventArgs.d.ts +3 -2
- package/lib/ColumnFilterCondition_combined.d.ts +1 -1
- package/lib/DateEditorView.d.ts +2 -2
- package/lib/NativeUIGridFactory.d.ts +19 -0
- package/lib/igc-checkbox-list-component.d.ts +19 -0
- package/lib/igc-checked-changed-event-args.d.ts +2 -0
- package/package.json +4 -4
- package/public_api.d.ts +5 -0
- package/grids/3rdpartylicenses.txt +0 -705
- package/grids/lib/display-density.d.ts +0 -3
- package/grids/lib/igc-child-grid-row-component.d.ts +0 -59
- package/grids/lib/igc-density-changed-event-args.d.ts +0 -21
- package/grids/lib/igc-display-density-base.d.ts +0 -45
- package/grids/lib/igc-grid-filtering-cell-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-component.d.ts +0 -16
- package/grids/lib/igc-grid-header-group-component.d.ts +0 -16
- package/grids/lib/igc-toggle-directive.d.ts +0 -171
|
@@ -15,6 +15,7 @@ import { XInput } from "igniteui-webcomponents-inputs";
|
|
|
15
15
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
16
16
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
17
17
|
import { PrimaryKeyValue } from "./PrimaryKeyValue";
|
|
18
|
+
import { Size } from "igniteui-webcomponents-core";
|
|
18
19
|
import { Thickness } from "igniteui-webcomponents-core";
|
|
19
20
|
import { CheckboxListIndexType_$type } from "./CheckboxListIndexType";
|
|
20
21
|
import { SRProvider } from "igniteui-webcomponents-core";
|
|
@@ -26,8 +27,8 @@ import { BrushUtil } from "igniteui-webcomponents-core";
|
|
|
26
27
|
import { FilterFactory } from "igniteui-webcomponents-core";
|
|
27
28
|
import { CheckedChangedEventArgs } from "./CheckedChangedEventArgs";
|
|
28
29
|
import { TemplateColumn } from "./TemplateColumn";
|
|
29
|
-
import { DataSourceSchemaPropertyType_$type } from "igniteui-webcomponents-core";
|
|
30
30
|
import { FastReflectionHelper } from "igniteui-webcomponents-core";
|
|
31
|
+
import { DataSourceSchemaPropertyType_$type } from "igniteui-webcomponents-core";
|
|
31
32
|
import { ColumnWidth } from "./ColumnWidth";
|
|
32
33
|
import { DateTimeColumn } from "./DateTimeColumn";
|
|
33
34
|
import { NumericColumn } from "./NumericColumn";
|
|
@@ -79,13 +80,13 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
79
80
|
w(a) {
|
|
80
81
|
let b = a.rootWrapper.getChildAt(0);
|
|
81
82
|
this.h = b;
|
|
82
|
-
this.b.
|
|
83
|
+
this.b.t = new XInputGroup();
|
|
83
84
|
let c = a.getSubRenderer(b);
|
|
84
|
-
this.b.
|
|
85
|
-
let d = c.getExternal(this.b.
|
|
86
|
-
this.b.
|
|
87
|
-
this.b.
|
|
88
|
-
this.b.
|
|
85
|
+
this.b.t.provideContainer(c);
|
|
86
|
+
let d = c.getExternal(this.b.t, c.rootWrapper, c.getExternal(this.b, null, null));
|
|
87
|
+
this.b.t.d = this.b.v;
|
|
88
|
+
this.b.t.p = this.b.aa;
|
|
89
|
+
this.b.t.t = this.b.ac;
|
|
89
90
|
let e = a.createElement("div");
|
|
90
91
|
let f = a.getSubRenderer(e);
|
|
91
92
|
let g = new XPrefix();
|
|
@@ -95,38 +96,38 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
95
96
|
let j = a.getSubRenderer(i);
|
|
96
97
|
this.c = new XIcon();
|
|
97
98
|
this.c.provideContainer(j);
|
|
98
|
-
this.c.fill = this.b.
|
|
99
|
-
this.c.svgPath = CheckboxList.
|
|
99
|
+
this.c.fill = this.b.d1;
|
|
100
|
+
this.c.svgPath = CheckboxList.bw;
|
|
100
101
|
let k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
101
102
|
g.appendContentChild(i);
|
|
102
|
-
this.b.
|
|
103
|
-
this.b.
|
|
103
|
+
this.b.t.appendContentChild(e);
|
|
104
|
+
this.b.t.inputs.add(g);
|
|
104
105
|
let l = a.createElement("div");
|
|
105
106
|
l.setRawStyleProperty("flex-grow", "1");
|
|
106
107
|
let m = a.getSubRenderer(l);
|
|
107
|
-
this.b.
|
|
108
|
-
this.b.
|
|
109
|
-
this.b.
|
|
110
|
-
let n = m.getExternal(this.b.
|
|
111
|
-
if (this.b.
|
|
112
|
-
this.b.
|
|
108
|
+
this.b.r = new XInput();
|
|
109
|
+
this.b.r.provideContainer(m);
|
|
110
|
+
this.b.r.b8 = "text";
|
|
111
|
+
let n = m.getExternal(this.b.r, m.rootWrapper, m.getExternal(this.b, null, null));
|
|
112
|
+
if (this.b.bi != null) {
|
|
113
|
+
this.b.r.cg = this.b.bi;
|
|
113
114
|
}
|
|
114
|
-
this.b.
|
|
115
|
-
this.b.
|
|
116
|
-
this.b.
|
|
115
|
+
this.b.t.appendContentChild(l);
|
|
116
|
+
this.b.t.inputs.add(this.b.r);
|
|
117
|
+
this.b.co();
|
|
117
118
|
}
|
|
118
119
|
s() {
|
|
119
120
|
if (this.f != null) {
|
|
120
121
|
let a = this.f.rootWrapper.getChildAt(3);
|
|
121
122
|
a.setStyleProperty("width", "100%");
|
|
122
123
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
123
|
-
if (this.b.
|
|
124
|
+
if (this.b.au == false) {
|
|
124
125
|
a.setStyleProperty("height", "calc(100% - 50px");
|
|
125
126
|
}
|
|
126
127
|
else {
|
|
127
128
|
a.setStyleProperty("height", "calc(100% - 75px");
|
|
128
129
|
}
|
|
129
|
-
if (!this.b.
|
|
130
|
+
if (!this.b.as && !this.b.au) {
|
|
130
131
|
a.setStyleProperty("height", "100%");
|
|
131
132
|
}
|
|
132
133
|
}
|
|
@@ -139,14 +140,14 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
139
140
|
d.provideContainer(e);
|
|
140
141
|
let f = this.f.getExternal(d, e.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
141
142
|
this.e.addItem(a, d);
|
|
142
|
-
d.n = this.b.
|
|
143
|
+
d.n = this.b.aa;
|
|
143
144
|
d.y = true;
|
|
144
145
|
d.change = delegateCombine(d.change, runOn(this, this.k));
|
|
145
146
|
let g = this.f.createElement("div");
|
|
146
147
|
a.setStyleProperty("display", "flex");
|
|
147
148
|
a.setStyleProperty("height", "100%");
|
|
148
149
|
a.setStyleProperty("align-items", "center");
|
|
149
|
-
switch (this.b.
|
|
150
|
+
switch (this.b.ac) {
|
|
150
151
|
case 1:
|
|
151
152
|
a.setStyleProperty("margin-top", "-4px");
|
|
152
153
|
break;
|
|
@@ -187,22 +188,22 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
187
188
|
finally {
|
|
188
189
|
d.z = h;
|
|
189
190
|
}
|
|
190
|
-
d.dk = this.b.
|
|
191
|
-
d.dd = this.b.
|
|
192
|
-
d.dl = this.b.
|
|
193
|
-
d.de = this.b.
|
|
194
|
-
d.dm = this.b.
|
|
191
|
+
d.dk = this.b.dr;
|
|
192
|
+
d.dd = this.b.dp;
|
|
193
|
+
d.dl = this.b.ds;
|
|
194
|
+
d.de = this.b.dq;
|
|
195
|
+
d.dm = this.b.dt;
|
|
195
196
|
}
|
|
196
197
|
}
|
|
197
198
|
z() {
|
|
198
199
|
if (this.e != null) {
|
|
199
200
|
for (let a of fromEnum(this.e)) {
|
|
200
201
|
let b = a.value;
|
|
201
|
-
b.n = this.b.
|
|
202
|
+
b.n = this.b.aa;
|
|
202
203
|
}
|
|
203
204
|
}
|
|
204
205
|
if (this.a != null) {
|
|
205
|
-
this.a.n = this.b.
|
|
206
|
+
this.a.n = this.b.aa;
|
|
206
207
|
}
|
|
207
208
|
}
|
|
208
209
|
x() {
|
|
@@ -213,21 +214,21 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
213
214
|
let e = c.checked;
|
|
214
215
|
if (e == true) {
|
|
215
216
|
if (this.b.l == 0) {
|
|
216
|
-
this.b.
|
|
217
|
+
this.b.c0(d);
|
|
217
218
|
}
|
|
218
219
|
else {
|
|
219
|
-
this.b.
|
|
220
|
+
this.b.b8(d);
|
|
220
221
|
}
|
|
221
222
|
}
|
|
222
223
|
else {
|
|
223
224
|
if (this.b.l == 0) {
|
|
224
|
-
this.b.
|
|
225
|
+
this.b.b8(d);
|
|
225
226
|
}
|
|
226
227
|
else {
|
|
227
|
-
this.b.
|
|
228
|
+
this.b.c0(d);
|
|
228
229
|
}
|
|
229
230
|
}
|
|
230
|
-
this.b.
|
|
231
|
+
this.b.cm(d, e);
|
|
231
232
|
this.ag(false);
|
|
232
233
|
}
|
|
233
234
|
l() {
|
|
@@ -238,7 +239,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
238
239
|
let e = parseInt(d.a4.toString());
|
|
239
240
|
if (e == a) {
|
|
240
241
|
d.checked = b;
|
|
241
|
-
this.b.
|
|
242
|
+
this.b.cm(e, b);
|
|
242
243
|
}
|
|
243
244
|
}
|
|
244
245
|
this.ag();
|
|
@@ -265,9 +266,9 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
265
266
|
this.a = new XCheckbox();
|
|
266
267
|
this.a.provideContainer(c);
|
|
267
268
|
let d = this.f.getExternal(this.a, c.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
268
|
-
this.a.n = this.b.
|
|
269
|
+
this.a.n = this.b.aa;
|
|
269
270
|
this.i = a.createElement("label");
|
|
270
|
-
this.i.setRawText(this.b.
|
|
271
|
+
this.i.setRawText(this.b.b0);
|
|
271
272
|
this.i.setStyleProperty("font-size", "13px");
|
|
272
273
|
this.j.setStyleProperty("display", "flex");
|
|
273
274
|
this.j.setStyleProperty("flex-direction", "row");
|
|
@@ -283,31 +284,34 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
283
284
|
}
|
|
284
285
|
af() {
|
|
285
286
|
if (null != this.i) {
|
|
286
|
-
this.i.setRawText(this.b.
|
|
287
|
-
NativeUI.q(this.i, this.b.
|
|
287
|
+
this.i.setRawText(this.b.b0);
|
|
288
|
+
NativeUI.q(this.i, this.b.dm);
|
|
288
289
|
}
|
|
289
290
|
}
|
|
290
291
|
ai() {
|
|
291
292
|
if (null != this.i) {
|
|
292
|
-
let a = this.b.
|
|
293
|
+
let a = this.b.au ? "flex" : "none";
|
|
293
294
|
this.j.setStyleProperty("display", a);
|
|
294
295
|
}
|
|
295
296
|
}
|
|
296
297
|
ae() {
|
|
297
298
|
if (this.h != null) {
|
|
298
|
-
this.h.setStyleProperty("display", this.b.
|
|
299
|
+
this.h.setStyleProperty("display", this.b.as ? "block" : "none");
|
|
299
300
|
}
|
|
300
301
|
if (this.g != null) {
|
|
301
|
-
this.g.setStyleProperty("display", this.b.
|
|
302
|
+
this.g.setStyleProperty("display", this.b.as ? "block" : "none");
|
|
302
303
|
}
|
|
303
304
|
}
|
|
304
305
|
ag(a = true) {
|
|
306
|
+
if (this.a == null) {
|
|
307
|
+
return;
|
|
308
|
+
}
|
|
305
309
|
let b = this.d;
|
|
306
310
|
this.d = true;
|
|
307
311
|
let c = this.a.z;
|
|
308
312
|
this.a.z = a;
|
|
309
313
|
try {
|
|
310
|
-
if (this.b.
|
|
314
|
+
if (this.b.aq) {
|
|
311
315
|
this.a.indeterminate = true;
|
|
312
316
|
return;
|
|
313
317
|
}
|
|
@@ -329,12 +333,12 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
329
333
|
return;
|
|
330
334
|
}
|
|
331
335
|
if (b.isChecked) {
|
|
332
|
-
this.b.
|
|
333
|
-
this.b.
|
|
336
|
+
this.b.c2();
|
|
337
|
+
this.b.ct(b.isChecked);
|
|
334
338
|
}
|
|
335
339
|
else {
|
|
336
|
-
this.b.
|
|
337
|
-
this.b.
|
|
340
|
+
this.b.cc();
|
|
341
|
+
this.b.ct(b.isChecked);
|
|
338
342
|
}
|
|
339
343
|
}
|
|
340
344
|
ad() {
|
|
@@ -344,18 +348,41 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
344
348
|
}
|
|
345
349
|
let b = a.rootWrapper;
|
|
346
350
|
if (null != b) {
|
|
347
|
-
NativeUI.q(b, this.b.
|
|
348
|
-
NativeUI.m(b, this.b.
|
|
351
|
+
NativeUI.q(b, this.b.d5);
|
|
352
|
+
NativeUI.m(b, this.b.dn);
|
|
349
353
|
}
|
|
350
354
|
}
|
|
351
355
|
ab() {
|
|
352
356
|
if (this.c != null) {
|
|
353
|
-
this.c.fill = this.b.
|
|
357
|
+
this.c.fill = this.b.d1;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
aj() {
|
|
361
|
+
let a = 248;
|
|
362
|
+
let b = 0;
|
|
363
|
+
if (this.b.itemsSource == null) {
|
|
364
|
+
return new Size(1, a, b + 158);
|
|
365
|
+
}
|
|
366
|
+
let c = (this.b.itemsSource.length);
|
|
367
|
+
b += 4;
|
|
368
|
+
b += 16;
|
|
369
|
+
b += 38;
|
|
370
|
+
b += 8;
|
|
371
|
+
b += 4;
|
|
372
|
+
let d = this.b.h != null ? this.b.h.actualRowHeight : 30;
|
|
373
|
+
let e = d * c;
|
|
374
|
+
if (e > 150) {
|
|
375
|
+
b += 150;
|
|
376
|
+
b += 15;
|
|
354
377
|
}
|
|
378
|
+
else {
|
|
379
|
+
b += e;
|
|
380
|
+
}
|
|
381
|
+
return new Size(1, a, b);
|
|
355
382
|
}
|
|
356
383
|
ac() {
|
|
357
|
-
if (this.b.
|
|
358
|
-
this.i.setStyleProperty("font", this.b.
|
|
384
|
+
if (this.b.ag != null) {
|
|
385
|
+
this.i.setStyleProperty("font", this.b.ag.fontString);
|
|
359
386
|
}
|
|
360
387
|
else {
|
|
361
388
|
this.i.setStyleProperty("font-family", "Verdana");
|
|
@@ -363,11 +390,11 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
363
390
|
}
|
|
364
391
|
}
|
|
365
392
|
y() {
|
|
366
|
-
this.a.dk = this.b.
|
|
367
|
-
this.a.dd = this.b.
|
|
368
|
-
this.a.dl = this.b.
|
|
369
|
-
this.a.de = this.b.
|
|
370
|
-
this.a.dm = this.b.
|
|
393
|
+
this.a.dk = this.b.dr;
|
|
394
|
+
this.a.dd = this.b.dp;
|
|
395
|
+
this.a.dl = this.b.ds;
|
|
396
|
+
this.a.de = this.b.dq;
|
|
397
|
+
this.a.dm = this.b.dt;
|
|
371
398
|
}
|
|
372
399
|
aa(a) {
|
|
373
400
|
if (this.g != null) {
|
|
@@ -386,30 +413,30 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
386
413
|
*/
|
|
387
414
|
export let CheckboxList = /*@__PURE__*/ (() => {
|
|
388
415
|
class CheckboxList extends Base {
|
|
416
|
+
get t() {
|
|
417
|
+
return this.s;
|
|
418
|
+
}
|
|
419
|
+
set t(a) {
|
|
420
|
+
this.s = a;
|
|
421
|
+
}
|
|
389
422
|
get r() {
|
|
390
423
|
return this.q;
|
|
391
424
|
}
|
|
392
425
|
set r(a) {
|
|
393
426
|
this.q = a;
|
|
394
427
|
}
|
|
395
|
-
get p() {
|
|
396
|
-
return this.o;
|
|
397
|
-
}
|
|
398
|
-
set p(a) {
|
|
399
|
-
this.o = a;
|
|
400
|
-
}
|
|
401
428
|
get e() {
|
|
402
429
|
if (this.h == null) {
|
|
403
430
|
return null;
|
|
404
431
|
}
|
|
405
432
|
return this.h.actualDataSource;
|
|
406
433
|
}
|
|
407
|
-
get
|
|
408
|
-
if (this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
434
|
+
get aj() {
|
|
435
|
+
if (this.ai == null) {
|
|
436
|
+
this.ai = new SRProvider(this.m.f);
|
|
437
|
+
this.ai.cb("DataGrid");
|
|
411
438
|
}
|
|
412
|
-
return this.
|
|
439
|
+
return this.ai;
|
|
413
440
|
}
|
|
414
441
|
get g() {
|
|
415
442
|
return this.f;
|
|
@@ -421,7 +448,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
421
448
|
let b = this.a;
|
|
422
449
|
this.a = a;
|
|
423
450
|
if (b != this.a) {
|
|
424
|
-
this.
|
|
451
|
+
this.cr("PrimaryKey", b, this.a);
|
|
425
452
|
}
|
|
426
453
|
}
|
|
427
454
|
constructor() {
|
|
@@ -429,107 +456,138 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
429
456
|
this.m = null;
|
|
430
457
|
this.h = null;
|
|
431
458
|
this.i = null;
|
|
432
|
-
this.
|
|
459
|
+
this.ad = null;
|
|
433
460
|
this.d = null;
|
|
434
|
-
this.
|
|
461
|
+
this.ak = false;
|
|
435
462
|
this.c = null;
|
|
436
|
-
this.o = null;
|
|
437
463
|
this.q = null;
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
464
|
+
this.s = null;
|
|
465
|
+
this.al = false;
|
|
466
|
+
this.ai = null;
|
|
440
467
|
this.f = new GridSelectedKeysCollection();
|
|
441
468
|
this.a = null;
|
|
442
469
|
this.propertyChanged = null;
|
|
470
|
+
this.selectedKeyAdded = null;
|
|
471
|
+
this.selectedKeyRemoved = null;
|
|
443
472
|
this.checkedChanged = null;
|
|
444
|
-
this.ay = null;
|
|
445
473
|
this.a0 = null;
|
|
446
474
|
this.a2 = null;
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
475
|
+
this.a4 = null;
|
|
476
|
+
this.a3 = null;
|
|
477
|
+
this.u = 3;
|
|
478
|
+
this.aw = -1;
|
|
479
|
+
this.ae = null;
|
|
451
480
|
this.k = 1;
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
454
|
-
this.
|
|
481
|
+
this.z = 1;
|
|
482
|
+
this.ab = 2;
|
|
483
|
+
this.di = BrushUtil.h(255, 24, 29, 31);
|
|
484
|
+
this.dg = null;
|
|
485
|
+
this.dj = null;
|
|
486
|
+
this.dh = null;
|
|
487
|
+
this.af = null;
|
|
455
488
|
this.db = null;
|
|
456
|
-
this.de = null;
|
|
457
|
-
this.dc = null;
|
|
458
|
-
this.ad = null;
|
|
459
|
-
this.c7 = null;
|
|
460
|
-
this.c5 = null;
|
|
461
|
-
this.c8 = null;
|
|
462
|
-
this.c6 = null;
|
|
463
489
|
this.c9 = null;
|
|
464
|
-
this.
|
|
490
|
+
this.dc = null;
|
|
465
491
|
this.da = null;
|
|
466
|
-
this.
|
|
492
|
+
this.dd = null;
|
|
493
|
+
this.x = 0;
|
|
467
494
|
this.df = null;
|
|
468
|
-
this.
|
|
469
|
-
this.
|
|
470
|
-
this.
|
|
471
|
-
this.
|
|
495
|
+
this.bz = null;
|
|
496
|
+
this.dk = null;
|
|
497
|
+
this.c7 = CheckboxList.dw;
|
|
498
|
+
this.at = true;
|
|
499
|
+
this.c8 = CheckboxList.du;
|
|
500
|
+
this.de = CheckboxList.dv;
|
|
501
|
+
this.dl = CheckboxList.dw;
|
|
472
502
|
this.selectAllCheckboxChanged = null;
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
503
|
+
this.ay = -1;
|
|
504
|
+
this.ar = true;
|
|
505
|
+
this.ao = true;
|
|
476
506
|
let a = this.f;
|
|
477
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.
|
|
507
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.cv));
|
|
478
508
|
this.d = new FilterFactory();
|
|
479
509
|
let b = new CheckboxListView();
|
|
480
510
|
b.b = this;
|
|
481
511
|
this.m = b;
|
|
482
512
|
this.m.n();
|
|
483
513
|
}
|
|
484
|
-
|
|
485
|
-
if (this.e == null || this.e.actualSchema == null || this.
|
|
514
|
+
cv(a, b) {
|
|
515
|
+
if (this.e == null || this.e.actualSchema == null || this.ak) {
|
|
486
516
|
return;
|
|
487
517
|
}
|
|
488
518
|
switch (b.action) {
|
|
489
519
|
case 0:
|
|
490
520
|
for (let c = 0; c < b.newItems.count; c++) {
|
|
491
|
-
this.
|
|
521
|
+
this.cp(b.newItems.item(c));
|
|
492
522
|
}
|
|
493
523
|
break;
|
|
494
524
|
case 1:
|
|
495
525
|
for (let d = 0; d < b.oldItems.count; d++) {
|
|
496
|
-
this.
|
|
526
|
+
this.cq(b.oldItems.item(d));
|
|
497
527
|
}
|
|
498
528
|
break;
|
|
499
529
|
case 2:
|
|
500
530
|
for (let e = 0; e < b.oldItems.count; e++) {
|
|
501
|
-
this.
|
|
531
|
+
this.cq(b.oldItems.item(e));
|
|
502
532
|
}
|
|
503
533
|
for (let f = 0; f < b.newItems.count; f++) {
|
|
504
|
-
this.
|
|
534
|
+
this.cp(b.newItems.item(f));
|
|
505
535
|
}
|
|
506
536
|
break;
|
|
507
537
|
case 4:
|
|
508
538
|
this.m.u(this.l == 0);
|
|
509
539
|
for (let g = 0; g < this.g.ae.count; g++) {
|
|
510
|
-
this.
|
|
540
|
+
this.cp(this.g.ae._inner[g]);
|
|
511
541
|
}
|
|
512
542
|
break;
|
|
513
543
|
}
|
|
514
544
|
}
|
|
515
|
-
|
|
545
|
+
cp(a) {
|
|
516
546
|
let b = this.e.indexOfKey(a.value);
|
|
517
547
|
if (b >= 0) {
|
|
518
548
|
this.m.t(b, this.l == 1);
|
|
519
549
|
}
|
|
550
|
+
if (this.selectedKeyAdded == null) {
|
|
551
|
+
return;
|
|
552
|
+
}
|
|
553
|
+
this.selectedKeyAdded(this, ((() => {
|
|
554
|
+
let $ret = new CheckedChangedEventArgs();
|
|
555
|
+
$ret.c = b;
|
|
556
|
+
$ret.b = this.l == 1;
|
|
557
|
+
$ret.a = a.value;
|
|
558
|
+
return $ret;
|
|
559
|
+
})()));
|
|
520
560
|
}
|
|
521
|
-
|
|
561
|
+
cq(a) {
|
|
522
562
|
let b = this.e.indexOfKey(a.value);
|
|
523
563
|
if (b >= 0) {
|
|
524
564
|
this.m.t(b, this.l == 0);
|
|
525
565
|
}
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
566
|
+
if (this.selectedKeyRemoved == null) {
|
|
567
|
+
return;
|
|
568
|
+
}
|
|
569
|
+
this.selectedKeyRemoved(this, ((() => {
|
|
570
|
+
let $ret = new CheckedChangedEventArgs();
|
|
571
|
+
$ret.c = b;
|
|
572
|
+
$ret.b = this.l == 0;
|
|
573
|
+
$ret.a = a.value;
|
|
574
|
+
return $ret;
|
|
575
|
+
})()));
|
|
576
|
+
}
|
|
577
|
+
cm(a, b) {
|
|
578
|
+
if (this.checkedChanged != null && this.al == false) {
|
|
579
|
+
let c = null;
|
|
580
|
+
if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
|
|
581
|
+
c = new Array(this.e.actualPrimaryKey.length);
|
|
582
|
+
for (let d = 0; d < this.e.actualPrimaryKey.length; d++) {
|
|
583
|
+
c[d] = this.e.getItemPropertyAtIndex(a, this.e.actualPrimaryKey[d]);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
529
586
|
this.checkedChanged(this, ((() => {
|
|
530
587
|
let $ret = new CheckedChangedEventArgs();
|
|
531
|
-
$ret.
|
|
532
|
-
$ret.
|
|
588
|
+
$ret.c = a;
|
|
589
|
+
$ret.b = b;
|
|
590
|
+
$ret.a = c;
|
|
533
591
|
return $ret;
|
|
534
592
|
})()));
|
|
535
593
|
}
|
|
@@ -540,52 +598,59 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
540
598
|
destroy() {
|
|
541
599
|
if (this.h != null) {
|
|
542
600
|
let a = this.h;
|
|
543
|
-
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.
|
|
601
|
+
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ce));
|
|
602
|
+
let b = this.h;
|
|
603
|
+
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cf));
|
|
544
604
|
if (this.h.actualDataSource != null) {
|
|
545
|
-
let
|
|
546
|
-
|
|
605
|
+
let c = this.h.actualDataSource;
|
|
606
|
+
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.cs));
|
|
547
607
|
}
|
|
548
608
|
}
|
|
549
|
-
if (this.
|
|
550
|
-
let
|
|
551
|
-
|
|
609
|
+
if (this.q != null) {
|
|
610
|
+
let d = this.q;
|
|
611
|
+
d.change = delegateRemove(d.change, runOn(this, this.cg));
|
|
552
612
|
}
|
|
553
613
|
this.provideContainer(null, null, null);
|
|
554
614
|
if (this.i != null) {
|
|
555
|
-
let
|
|
556
|
-
|
|
615
|
+
let e = this.i;
|
|
616
|
+
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cb));
|
|
557
617
|
}
|
|
558
618
|
}
|
|
559
619
|
provideContainer(a, b, c) {
|
|
560
620
|
this.h = b;
|
|
561
621
|
if (null != this.h) {
|
|
562
|
-
this.h.scrollbarStyle =
|
|
563
|
-
|
|
622
|
+
this.h.scrollbarStyle = 1;
|
|
623
|
+
let d = this.h;
|
|
624
|
+
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cf));
|
|
625
|
+
this.h.scrollbarBackground = this.dy;
|
|
564
626
|
this.h.headerHeight = 0;
|
|
565
627
|
this.h.rowSeparatorHeight = 0;
|
|
566
628
|
this.h.defaultColumnMinWidth = NaN;
|
|
567
629
|
this.h.autoGenerateColumns = false;
|
|
568
630
|
this.h.activationMode = 0;
|
|
569
631
|
this.h.editMode = 0;
|
|
570
|
-
let
|
|
571
|
-
|
|
572
|
-
if (this.ay != null) {
|
|
573
|
-
this.h.itemsSource = this.ay;
|
|
574
|
-
this.b7();
|
|
575
|
-
this.cq();
|
|
576
|
-
}
|
|
632
|
+
let e = this.h;
|
|
633
|
+
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ce));
|
|
577
634
|
if (this.a0 != null) {
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
635
|
+
this.h.itemsSource = this.a0;
|
|
636
|
+
this.ca();
|
|
637
|
+
this.cu();
|
|
638
|
+
}
|
|
639
|
+
if (this.a2 != null) {
|
|
640
|
+
this.cu();
|
|
641
|
+
this.c5();
|
|
580
642
|
}
|
|
581
643
|
}
|
|
582
644
|
this.m.q(c);
|
|
583
645
|
this.m.m(a);
|
|
584
646
|
}
|
|
647
|
+
cf(a, b) {
|
|
648
|
+
this.h.scrollbarStyle = this.y;
|
|
649
|
+
}
|
|
585
650
|
provideSelectAllSection(a) {
|
|
586
651
|
this.m.q(a);
|
|
587
652
|
}
|
|
588
|
-
|
|
653
|
+
ce(a, b) {
|
|
589
654
|
if (b.cellInfo.l.a5 == 0) {
|
|
590
655
|
return;
|
|
591
656
|
}
|
|
@@ -593,15 +658,22 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
593
658
|
if (-1 == c) {
|
|
594
659
|
return;
|
|
595
660
|
}
|
|
596
|
-
let d =
|
|
597
|
-
|
|
598
|
-
|
|
661
|
+
let d = b.cellInfo.g4;
|
|
662
|
+
let e = this.j(d);
|
|
663
|
+
if (this.g.contains(e)) {
|
|
664
|
+
if (this.ad != null) {
|
|
665
|
+
this.ad.setPropertyValue(d, false);
|
|
666
|
+
}
|
|
667
|
+
this.g.remove(e);
|
|
599
668
|
}
|
|
600
669
|
else {
|
|
601
|
-
this.
|
|
670
|
+
if (this.ad != null) {
|
|
671
|
+
this.ad.setPropertyValue(d, true);
|
|
672
|
+
}
|
|
673
|
+
this.g.add(e);
|
|
602
674
|
}
|
|
603
675
|
}
|
|
604
|
-
|
|
676
|
+
cb(a, b) {
|
|
605
677
|
let c = b.cellInfo.l.x;
|
|
606
678
|
if (-1 == c) {
|
|
607
679
|
return;
|
|
@@ -615,9 +687,9 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
615
687
|
}
|
|
616
688
|
this.m.o(b.content.element, c, d);
|
|
617
689
|
}
|
|
618
|
-
|
|
619
|
-
if (this.
|
|
620
|
-
let b = this.d.property(this.
|
|
690
|
+
cn(a) {
|
|
691
|
+
if (this.a2 != null) {
|
|
692
|
+
let b = this.d.property(this.a2).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
621
693
|
let c = b.contains(a);
|
|
622
694
|
if (!this.h.filterExpressions.k.contains(this.c)) {
|
|
623
695
|
this.c = c;
|
|
@@ -630,79 +702,79 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
630
702
|
}
|
|
631
703
|
}
|
|
632
704
|
get itemsSource() {
|
|
633
|
-
return this.ay;
|
|
634
|
-
}
|
|
635
|
-
set itemsSource(a) {
|
|
636
|
-
let b = this.ay;
|
|
637
|
-
this.ay = a;
|
|
638
|
-
if (b != this.ay) {
|
|
639
|
-
this.cn("ItemsSource", b, this.ay);
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
get bc() {
|
|
643
705
|
return this.a0;
|
|
644
706
|
}
|
|
645
|
-
set
|
|
707
|
+
set itemsSource(a) {
|
|
646
708
|
let b = this.a0;
|
|
647
709
|
this.a0 = a;
|
|
648
710
|
if (b != this.a0) {
|
|
649
|
-
this.
|
|
711
|
+
this.cr("ItemsSource", b, this.a0);
|
|
650
712
|
}
|
|
651
713
|
}
|
|
652
|
-
get
|
|
714
|
+
get be() {
|
|
653
715
|
return this.a2;
|
|
654
716
|
}
|
|
655
|
-
set
|
|
717
|
+
set be(a) {
|
|
656
718
|
let b = this.a2;
|
|
657
719
|
this.a2 = a;
|
|
658
720
|
if (b != this.a2) {
|
|
659
|
-
this.
|
|
721
|
+
this.cr("DataMemberPath", b, this.a2);
|
|
660
722
|
}
|
|
661
723
|
}
|
|
662
|
-
get
|
|
663
|
-
return this.
|
|
724
|
+
get b3() {
|
|
725
|
+
return this.a4;
|
|
664
726
|
}
|
|
665
|
-
set
|
|
666
|
-
let b = this.
|
|
667
|
-
this.
|
|
668
|
-
if (b != this.
|
|
669
|
-
this.
|
|
727
|
+
set b3(a) {
|
|
728
|
+
let b = this.a4;
|
|
729
|
+
this.a4 = a;
|
|
730
|
+
if (b != this.a4) {
|
|
731
|
+
this.cr("SelectedMemberPath", b, this.a4);
|
|
670
732
|
}
|
|
671
733
|
}
|
|
672
|
-
get
|
|
673
|
-
return this.
|
|
734
|
+
get bi() {
|
|
735
|
+
return this.a3;
|
|
674
736
|
}
|
|
675
|
-
set
|
|
676
|
-
let b = this.
|
|
677
|
-
this.
|
|
678
|
-
if (b != this.
|
|
679
|
-
this.
|
|
737
|
+
set bi(a) {
|
|
738
|
+
let b = this.a3;
|
|
739
|
+
this.a3 = a;
|
|
740
|
+
if (b != this.a3) {
|
|
741
|
+
this.cr("FilterPlaceholderText", b, this.a3);
|
|
680
742
|
}
|
|
681
743
|
}
|
|
682
|
-
get
|
|
683
|
-
return this.
|
|
744
|
+
get v() {
|
|
745
|
+
return this.u;
|
|
684
746
|
}
|
|
685
|
-
set
|
|
686
|
-
let b = this.
|
|
687
|
-
this.
|
|
688
|
-
if (b != this.
|
|
689
|
-
this.
|
|
747
|
+
set v(a) {
|
|
748
|
+
let b = this.u;
|
|
749
|
+
this.u = a;
|
|
750
|
+
if (b != this.u) {
|
|
751
|
+
this.cr("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.u));
|
|
690
752
|
}
|
|
691
753
|
}
|
|
692
|
-
get
|
|
754
|
+
get az() {
|
|
755
|
+
return this.aw;
|
|
756
|
+
}
|
|
757
|
+
set az(a) {
|
|
758
|
+
let b = this.aw;
|
|
759
|
+
this.aw = a;
|
|
760
|
+
if (b != this.aw) {
|
|
761
|
+
this.cr("RowHeight", b, this.aw);
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
get ax() {
|
|
693
765
|
if (this.h != null) {
|
|
694
766
|
return this.h.actualRowHeight;
|
|
695
767
|
}
|
|
696
768
|
return -1;
|
|
697
769
|
}
|
|
698
|
-
get
|
|
699
|
-
return this.
|
|
770
|
+
get ag() {
|
|
771
|
+
return this.ae;
|
|
700
772
|
}
|
|
701
|
-
set
|
|
702
|
-
let b = this.
|
|
703
|
-
this.
|
|
704
|
-
if (b != this.
|
|
705
|
-
this.
|
|
773
|
+
set ag(a) {
|
|
774
|
+
let b = this.ae;
|
|
775
|
+
this.ae = a;
|
|
776
|
+
if (b != this.ae) {
|
|
777
|
+
this.cr("CellTextStyle", b, this.ae);
|
|
706
778
|
}
|
|
707
779
|
}
|
|
708
780
|
get l() {
|
|
@@ -712,17 +784,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
712
784
|
let b = this.k;
|
|
713
785
|
this.k = a;
|
|
714
786
|
if (b != this.k) {
|
|
715
|
-
this.
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
get y() {
|
|
719
|
-
return this.x;
|
|
720
|
-
}
|
|
721
|
-
set y(a) {
|
|
722
|
-
let b = this.x;
|
|
723
|
-
this.x = a;
|
|
724
|
-
if (b != this.x) {
|
|
725
|
-
this.cn("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.x));
|
|
787
|
+
this.cr("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
|
|
726
788
|
}
|
|
727
789
|
}
|
|
728
790
|
get aa() {
|
|
@@ -732,136 +794,146 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
732
794
|
let b = this.z;
|
|
733
795
|
this.z = a;
|
|
734
796
|
if (b != this.z) {
|
|
735
|
-
this.
|
|
797
|
+
this.cr("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.z));
|
|
736
798
|
}
|
|
737
799
|
}
|
|
738
|
-
get
|
|
739
|
-
return this.
|
|
800
|
+
get ac() {
|
|
801
|
+
return this.ab;
|
|
740
802
|
}
|
|
741
|
-
set
|
|
742
|
-
let b = this.
|
|
743
|
-
this.
|
|
744
|
-
if (b != this.
|
|
745
|
-
this.
|
|
803
|
+
set ac(a) {
|
|
804
|
+
let b = this.ab;
|
|
805
|
+
this.ab = a;
|
|
806
|
+
if (b != this.ab) {
|
|
807
|
+
this.cr("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ab));
|
|
746
808
|
}
|
|
747
809
|
}
|
|
748
|
-
get
|
|
749
|
-
return this.
|
|
810
|
+
get d1() {
|
|
811
|
+
return this.di;
|
|
750
812
|
}
|
|
751
|
-
set
|
|
752
|
-
let b = this.
|
|
753
|
-
this.
|
|
754
|
-
if (b != this.
|
|
755
|
-
this.
|
|
813
|
+
set d1(a) {
|
|
814
|
+
let b = this.di;
|
|
815
|
+
this.di = a;
|
|
816
|
+
if (b != this.di) {
|
|
817
|
+
this.cr("SearchIconColor", b, this.di);
|
|
756
818
|
}
|
|
757
819
|
}
|
|
758
|
-
get
|
|
759
|
-
return this.
|
|
760
|
-
}
|
|
761
|
-
set dv(a) {
|
|
762
|
-
let b = this.de;
|
|
763
|
-
this.de = a;
|
|
764
|
-
if (b != this.de) {
|
|
765
|
-
this.cn("SearchTextColor", b, this.de);
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
get dt() {
|
|
769
|
-
return this.dc;
|
|
770
|
-
}
|
|
771
|
-
set dt(a) {
|
|
772
|
-
let b = this.dc;
|
|
773
|
-
this.dc = a;
|
|
774
|
-
if (b != this.dc) {
|
|
775
|
-
this.cn("SearchBorderColor", b, this.dc);
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
get af() {
|
|
779
|
-
return this.ad;
|
|
820
|
+
get dz() {
|
|
821
|
+
return this.dg;
|
|
780
822
|
}
|
|
781
|
-
set
|
|
782
|
-
let b = this.
|
|
783
|
-
this.
|
|
784
|
-
if (b != this.
|
|
785
|
-
this.
|
|
823
|
+
set dz(a) {
|
|
824
|
+
let b = this.dg;
|
|
825
|
+
this.dg = a;
|
|
826
|
+
if (b != this.dg) {
|
|
827
|
+
this.cr("SearchBackgroundColor", b, this.dg);
|
|
786
828
|
}
|
|
787
829
|
}
|
|
788
|
-
get
|
|
789
|
-
return this.
|
|
830
|
+
get d2() {
|
|
831
|
+
return this.dj;
|
|
790
832
|
}
|
|
791
|
-
set
|
|
792
|
-
let b = this.
|
|
793
|
-
this.
|
|
794
|
-
if (b != this.
|
|
795
|
-
this.
|
|
833
|
+
set d2(a) {
|
|
834
|
+
let b = this.dj;
|
|
835
|
+
this.dj = a;
|
|
836
|
+
if (b != this.dj) {
|
|
837
|
+
this.cr("SearchTextColor", b, this.dj);
|
|
796
838
|
}
|
|
797
839
|
}
|
|
798
|
-
get
|
|
799
|
-
return this.
|
|
840
|
+
get d0() {
|
|
841
|
+
return this.dh;
|
|
800
842
|
}
|
|
801
|
-
set
|
|
802
|
-
let b = this.
|
|
803
|
-
this.
|
|
804
|
-
if (b != this.
|
|
805
|
-
this.
|
|
843
|
+
set d0(a) {
|
|
844
|
+
let b = this.dh;
|
|
845
|
+
this.dh = a;
|
|
846
|
+
if (b != this.dh) {
|
|
847
|
+
this.cr("SearchBorderColor", b, this.dh);
|
|
806
848
|
}
|
|
807
849
|
}
|
|
808
|
-
get
|
|
809
|
-
return this.
|
|
850
|
+
get ah() {
|
|
851
|
+
return this.af;
|
|
810
852
|
}
|
|
811
|
-
set
|
|
812
|
-
let b = this.
|
|
813
|
-
this.
|
|
814
|
-
if (b != this.
|
|
815
|
-
this.
|
|
853
|
+
set ah(a) {
|
|
854
|
+
let b = this.af;
|
|
855
|
+
this.af = a;
|
|
856
|
+
if (b != this.af) {
|
|
857
|
+
this.cr("SearchTextStyle", b, this.af);
|
|
816
858
|
}
|
|
817
859
|
}
|
|
818
|
-
get
|
|
819
|
-
return this.
|
|
860
|
+
get dr() {
|
|
861
|
+
return this.db;
|
|
820
862
|
}
|
|
821
|
-
set
|
|
822
|
-
let b = this.
|
|
823
|
-
this.
|
|
824
|
-
if (b != this.
|
|
825
|
-
this.
|
|
863
|
+
set dr(a) {
|
|
864
|
+
let b = this.db;
|
|
865
|
+
this.db = a;
|
|
866
|
+
if (b != this.db) {
|
|
867
|
+
this.cr("CheckboxTickColor", b, this.db);
|
|
826
868
|
}
|
|
827
869
|
}
|
|
828
|
-
get
|
|
870
|
+
get dp() {
|
|
829
871
|
return this.c9;
|
|
830
872
|
}
|
|
831
|
-
set
|
|
873
|
+
set dp(a) {
|
|
832
874
|
let b = this.c9;
|
|
833
875
|
this.c9 = a;
|
|
834
876
|
if (b != this.c9) {
|
|
835
|
-
this.
|
|
877
|
+
this.cr("CheckboxCheckedBackgroundColor", b, this.c9);
|
|
836
878
|
}
|
|
837
879
|
}
|
|
838
|
-
get
|
|
839
|
-
return this.
|
|
880
|
+
get ds() {
|
|
881
|
+
return this.dc;
|
|
840
882
|
}
|
|
841
|
-
set
|
|
842
|
-
let b = this.
|
|
843
|
-
this.
|
|
844
|
-
if (b != this.
|
|
845
|
-
this.
|
|
883
|
+
set ds(a) {
|
|
884
|
+
let b = this.dc;
|
|
885
|
+
this.dc = a;
|
|
886
|
+
if (b != this.dc) {
|
|
887
|
+
this.cr("CheckboxUncheckedBackgroundColor", b, this.dc);
|
|
846
888
|
}
|
|
847
889
|
}
|
|
848
|
-
get
|
|
890
|
+
get dq() {
|
|
849
891
|
return this.da;
|
|
850
892
|
}
|
|
851
|
-
set
|
|
893
|
+
set dq(a) {
|
|
852
894
|
let b = this.da;
|
|
853
895
|
this.da = a;
|
|
854
896
|
if (b != this.da) {
|
|
855
|
-
this.
|
|
897
|
+
this.cr("CheckboxCheckedBorderColor", b, this.da);
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
get dt() {
|
|
901
|
+
return this.dd;
|
|
902
|
+
}
|
|
903
|
+
set dt(a) {
|
|
904
|
+
let b = this.dd;
|
|
905
|
+
this.dd = a;
|
|
906
|
+
if (b != this.dd) {
|
|
907
|
+
this.cr("CheckboxUncheckedBorderColor", b, this.dd);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
get y() {
|
|
911
|
+
return this.x;
|
|
912
|
+
}
|
|
913
|
+
set y(a) {
|
|
914
|
+
let b = this.x;
|
|
915
|
+
this.x = a;
|
|
916
|
+
if (b != this.x) {
|
|
917
|
+
this.cr("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.x));
|
|
856
918
|
}
|
|
857
919
|
}
|
|
858
|
-
|
|
920
|
+
get dy() {
|
|
921
|
+
return this.df;
|
|
922
|
+
}
|
|
923
|
+
set dy(a) {
|
|
924
|
+
let b = this.df;
|
|
925
|
+
this.df = a;
|
|
926
|
+
if (b != this.df) {
|
|
927
|
+
this.cr("ScrollbarBackground", b, this.df);
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
cr(a, b, c) {
|
|
859
931
|
if (this.propertyChanged != null) {
|
|
860
932
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
861
933
|
}
|
|
862
|
-
this.
|
|
934
|
+
this.cw(a, b, c);
|
|
863
935
|
}
|
|
864
|
-
|
|
936
|
+
cw(a, b, c) {
|
|
865
937
|
switch (a) {
|
|
866
938
|
case "ItemsSource":
|
|
867
939
|
if (this.h != null) {
|
|
@@ -874,26 +946,26 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
874
946
|
}
|
|
875
947
|
if (this.h.actualDataSource != null) {
|
|
876
948
|
let d = this.h.actualDataSource;
|
|
877
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
949
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.cs));
|
|
878
950
|
}
|
|
879
|
-
this.h.itemsSource = this.
|
|
880
|
-
this.
|
|
951
|
+
this.h.itemsSource = this.a0;
|
|
952
|
+
this.ca();
|
|
881
953
|
if (this.h.actualDataSource != null) {
|
|
882
954
|
let e = this.h.actualDataSource;
|
|
883
|
-
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.
|
|
955
|
+
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.cs));
|
|
884
956
|
}
|
|
885
|
-
this.
|
|
886
|
-
this.
|
|
887
|
-
this.
|
|
957
|
+
this.al = true;
|
|
958
|
+
this.cu();
|
|
959
|
+
this.al = false;
|
|
888
960
|
this.m.ag();
|
|
889
961
|
}
|
|
890
962
|
break;
|
|
891
963
|
case "DataMemberPath":
|
|
892
964
|
case "SelectedMemberPath":
|
|
893
965
|
if (this.h != null) {
|
|
894
|
-
if (this.
|
|
895
|
-
this.
|
|
896
|
-
this.
|
|
966
|
+
if (this.a2 != null) {
|
|
967
|
+
this.cu();
|
|
968
|
+
this.c5();
|
|
897
969
|
}
|
|
898
970
|
}
|
|
899
971
|
break;
|
|
@@ -903,7 +975,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
903
975
|
}
|
|
904
976
|
break;
|
|
905
977
|
case "SelectAllCaptionTextColor":
|
|
906
|
-
this.
|
|
978
|
+
this.dm = null != this.d3 ? this.d3 : CheckboxList.dw;
|
|
907
979
|
break;
|
|
908
980
|
case "SelectAllCaption":
|
|
909
981
|
case "ActualSelectAllCaptionTextColor":
|
|
@@ -918,71 +990,75 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
918
990
|
this.m.s();
|
|
919
991
|
break;
|
|
920
992
|
case "FilterPlaceholderText":
|
|
921
|
-
if (this.
|
|
922
|
-
this.
|
|
993
|
+
if (this.q != null) {
|
|
994
|
+
this.q.cg = this.bi;
|
|
923
995
|
}
|
|
924
996
|
break;
|
|
925
997
|
case "SearchInputType":
|
|
926
|
-
if (this.
|
|
927
|
-
this.
|
|
998
|
+
if (this.s != null) {
|
|
999
|
+
this.s.d = this.v;
|
|
928
1000
|
}
|
|
929
1001
|
break;
|
|
930
1002
|
case "RowHeight":
|
|
931
1003
|
if (this.h != null) {
|
|
932
|
-
this.h.rowHeight = this.
|
|
1004
|
+
this.h.rowHeight = this.az;
|
|
933
1005
|
}
|
|
934
1006
|
break;
|
|
935
1007
|
case "CellTextStyle":
|
|
936
1008
|
if (this.h != null) {
|
|
937
|
-
this.h.cellTextStyle = this.
|
|
1009
|
+
this.h.cellTextStyle = this.ag;
|
|
938
1010
|
}
|
|
939
1011
|
this.m.ac();
|
|
940
1012
|
break;
|
|
941
1013
|
case "BackgroundColor":
|
|
942
1014
|
case "TextColor":
|
|
1015
|
+
case "RowHoverBackgroundColor":
|
|
943
1016
|
let f = this.h;
|
|
944
1017
|
if (null != f) {
|
|
945
|
-
f.cellTextColor = this.
|
|
946
|
-
f.cellBackground = this.
|
|
947
|
-
f.cellSelectedBackground = this.
|
|
1018
|
+
f.cellTextColor = this.d5;
|
|
1019
|
+
f.cellBackground = this.dn;
|
|
1020
|
+
f.cellSelectedBackground = this.dn;
|
|
1021
|
+
f.rowHoverBackground = this.dx;
|
|
948
1022
|
}
|
|
949
1023
|
this.m.ad();
|
|
950
1024
|
break;
|
|
951
1025
|
case "BaseTheme":
|
|
952
|
-
this.
|
|
1026
|
+
this.c4();
|
|
953
1027
|
break;
|
|
954
1028
|
case "Density":
|
|
955
|
-
this.
|
|
1029
|
+
this.c3();
|
|
956
1030
|
break;
|
|
957
1031
|
case "IsRowHoverEnabled":
|
|
958
1032
|
if (this.h != null) {
|
|
959
|
-
this.h.isRowHoverEnabled = this.
|
|
1033
|
+
this.h.isRowHoverEnabled = this.ap;
|
|
960
1034
|
}
|
|
961
1035
|
break;
|
|
962
1036
|
case "ScrollbarStyle":
|
|
963
1037
|
if (this.h != null) {
|
|
964
|
-
this.h.scrollbarStyle = this.
|
|
1038
|
+
this.h.scrollbarStyle = this.y;
|
|
965
1039
|
}
|
|
966
1040
|
break;
|
|
967
1041
|
case "ScrollbarBackground":
|
|
968
1042
|
if (this.h != null) {
|
|
969
|
-
this.h.scrollbarBackground = this.
|
|
1043
|
+
this.h.scrollbarBackground = this.dy;
|
|
970
1044
|
}
|
|
971
1045
|
break;
|
|
972
1046
|
case "SearchIconColor":
|
|
973
1047
|
this.m.ab();
|
|
974
1048
|
break;
|
|
975
1049
|
case "SearchBackgroundColor":
|
|
976
|
-
this.
|
|
1050
|
+
this.t.mc = this.dz;
|
|
977
1051
|
break;
|
|
978
1052
|
case "SearchBorderColor":
|
|
979
|
-
this.
|
|
1053
|
+
this.t.md = this.d0;
|
|
980
1054
|
break;
|
|
981
1055
|
case "SearchTextColor":
|
|
982
|
-
this.
|
|
1056
|
+
if (this.r != null) {
|
|
1057
|
+
this.r.d8 = this.d2;
|
|
1058
|
+
}
|
|
983
1059
|
break;
|
|
984
1060
|
case "SearchTextStyle":
|
|
985
|
-
this.
|
|
1061
|
+
this.r.af = this.ah;
|
|
986
1062
|
break;
|
|
987
1063
|
case "CheckboxTickColor":
|
|
988
1064
|
case "CheckboxCheckedBackgroundColor":
|
|
@@ -996,43 +1072,52 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
996
1072
|
break;
|
|
997
1073
|
}
|
|
998
1074
|
}
|
|
999
|
-
|
|
1075
|
+
c3() {
|
|
1000
1076
|
if (this.h != null) {
|
|
1001
|
-
this.h.density = this.
|
|
1077
|
+
this.h.density = this.ac;
|
|
1002
1078
|
}
|
|
1003
|
-
if (this.
|
|
1004
|
-
this.
|
|
1079
|
+
if (this.s != null) {
|
|
1080
|
+
this.s.t = this.ac;
|
|
1005
1081
|
}
|
|
1006
1082
|
this.m.x();
|
|
1007
1083
|
}
|
|
1008
|
-
|
|
1009
|
-
if (this.
|
|
1010
|
-
this.
|
|
1084
|
+
c4() {
|
|
1085
|
+
if (this.s != null) {
|
|
1086
|
+
this.s.p = this.aa;
|
|
1087
|
+
}
|
|
1088
|
+
if (this.r != null) {
|
|
1089
|
+
this.r.d8 = this.d2;
|
|
1090
|
+
}
|
|
1091
|
+
if (this.h != null) {
|
|
1092
|
+
this.h.cellTextColor = this.d5;
|
|
1093
|
+
this.h.cellBackground = this.dn;
|
|
1094
|
+
this.h.cellSelectedBackground = this.dn;
|
|
1095
|
+
this.h.rowHoverBackground = this.dx;
|
|
1011
1096
|
}
|
|
1012
1097
|
this.m.z();
|
|
1013
1098
|
}
|
|
1014
|
-
|
|
1015
|
-
this.
|
|
1016
|
-
this.
|
|
1099
|
+
cs(a, b) {
|
|
1100
|
+
this.al = true;
|
|
1101
|
+
this.ca();
|
|
1017
1102
|
if (b.schema != null) {
|
|
1018
|
-
this.
|
|
1103
|
+
this.cu();
|
|
1019
1104
|
for (let c = 0; c < this.g.count; c++) {
|
|
1020
|
-
this.
|
|
1105
|
+
this.cp(this.g._inner[c]);
|
|
1021
1106
|
}
|
|
1022
1107
|
this.m.ag();
|
|
1023
1108
|
}
|
|
1024
|
-
this.
|
|
1109
|
+
this.al = false;
|
|
1025
1110
|
}
|
|
1026
|
-
|
|
1027
|
-
if (this.
|
|
1028
|
-
this.
|
|
1111
|
+
cu() {
|
|
1112
|
+
if (this.ad == null && this.a4 != null && this.a4 != "") {
|
|
1113
|
+
this.ad = new FastReflectionHelper(false, this.a4);
|
|
1029
1114
|
}
|
|
1030
|
-
if (this.
|
|
1031
|
-
this.
|
|
1115
|
+
if (this.a0 != null && this.ad != null && this.h.actualDataSource.actualSchema != null) {
|
|
1116
|
+
this.ad.propertyName = this.a4;
|
|
1032
1117
|
let a = this.h.actualDataSource.actualCount;
|
|
1033
1118
|
for (let b = 0; b < a; b++) {
|
|
1034
1119
|
let c = this.h.actualDataSource.getItemAtIndex(b);
|
|
1035
|
-
let d = this.
|
|
1120
|
+
let d = this.ad.getPropertyValue(c);
|
|
1036
1121
|
if (d == true) {
|
|
1037
1122
|
let e = this.j(c);
|
|
1038
1123
|
if (!this.g.contains(e)) {
|
|
@@ -1042,24 +1127,24 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1042
1127
|
}
|
|
1043
1128
|
}
|
|
1044
1129
|
}
|
|
1045
|
-
|
|
1130
|
+
c5() {
|
|
1046
1131
|
this.h.actualColumns.clear();
|
|
1047
1132
|
this.h.primaryKey = this.b;
|
|
1048
1133
|
this.h.isGroupRowSticky = false;
|
|
1049
|
-
this.h.rowHeight = this.
|
|
1050
|
-
this.h.cellBackground = this.
|
|
1051
|
-
this.h.cellSelectedBackground = this.
|
|
1052
|
-
this.h.density = this.
|
|
1053
|
-
this.h.isRowHoverEnabled = this.
|
|
1134
|
+
this.h.rowHeight = this.az;
|
|
1135
|
+
this.h.cellBackground = this.dn;
|
|
1136
|
+
this.h.cellSelectedBackground = this.dn;
|
|
1137
|
+
this.h.density = this.ac;
|
|
1138
|
+
this.h.isRowHoverEnabled = this.ap;
|
|
1054
1139
|
this.h.borderWidth = new Thickness(0, 0);
|
|
1055
|
-
if (this.
|
|
1056
|
-
this.h.cellTextStyle = this.
|
|
1140
|
+
if (this.ag != null) {
|
|
1141
|
+
this.h.cellTextStyle = this.ag;
|
|
1057
1142
|
}
|
|
1058
1143
|
let a = new TemplateColumn();
|
|
1059
|
-
if (this.
|
|
1060
|
-
this.
|
|
1144
|
+
if (this.a4 == null) {
|
|
1145
|
+
this.a4 = "";
|
|
1061
1146
|
}
|
|
1062
|
-
a.i8 = this.
|
|
1147
|
+
a.i8 = this.a4;
|
|
1063
1148
|
a.jz = "CheckboxColumn";
|
|
1064
1149
|
let b = new ColumnWidth();
|
|
1065
1150
|
b.c = false;
|
|
@@ -1067,10 +1152,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1067
1152
|
a.width = b;
|
|
1068
1153
|
a.h2 = 0;
|
|
1069
1154
|
a.h3 = 0;
|
|
1070
|
-
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.
|
|
1155
|
+
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cb));
|
|
1071
1156
|
this.h.columns.add(a);
|
|
1072
1157
|
this.i = a;
|
|
1073
|
-
let c = this.h.actualDataSource.resolveSchemaPropertyType(this.
|
|
1158
|
+
let c = this.h.actualDataSource.resolveSchemaPropertyType(this.a2);
|
|
1074
1159
|
let d;
|
|
1075
1160
|
switch (c) {
|
|
1076
1161
|
case 8:
|
|
@@ -1093,7 +1178,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1093
1178
|
d = new TextColumn();
|
|
1094
1179
|
break;
|
|
1095
1180
|
}
|
|
1096
|
-
d.i8 = this.
|
|
1181
|
+
d.i8 = this.a2;
|
|
1097
1182
|
d.jz = "DataColumn";
|
|
1098
1183
|
d.h2 = 0;
|
|
1099
1184
|
d.e = 0;
|
|
@@ -1105,13 +1190,14 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1105
1190
|
provideHrElement(a) {
|
|
1106
1191
|
this.m.p(a);
|
|
1107
1192
|
}
|
|
1108
|
-
|
|
1109
|
-
let a = this.
|
|
1110
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
1193
|
+
co() {
|
|
1194
|
+
let a = this.r;
|
|
1195
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.cg));
|
|
1196
|
+
this.c4();
|
|
1111
1197
|
}
|
|
1112
|
-
|
|
1198
|
+
cg(a, b) {
|
|
1113
1199
|
let c = b.value.toLowerCase();
|
|
1114
|
-
this.
|
|
1200
|
+
this.cn(c);
|
|
1115
1201
|
}
|
|
1116
1202
|
j(a) {
|
|
1117
1203
|
if (this.b == null) {
|
|
@@ -1125,55 +1211,61 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1125
1211
|
}
|
|
1126
1212
|
return new PrimaryKeyValue(b, c);
|
|
1127
1213
|
}
|
|
1128
|
-
|
|
1129
|
-
this.
|
|
1214
|
+
c0(a) {
|
|
1215
|
+
this.ak = true;
|
|
1130
1216
|
let b = this.e.getItemAtIndex(a);
|
|
1217
|
+
if (this.ad != null) {
|
|
1218
|
+
this.ad.setPropertyValue(b, false);
|
|
1219
|
+
}
|
|
1131
1220
|
let c = this.j(b);
|
|
1132
1221
|
this.g.remove(c);
|
|
1133
|
-
this.
|
|
1222
|
+
this.ak = false;
|
|
1134
1223
|
}
|
|
1135
|
-
|
|
1136
|
-
this.
|
|
1224
|
+
b8(a) {
|
|
1225
|
+
this.ak = true;
|
|
1137
1226
|
let b = this.e.getItemAtIndex(a);
|
|
1227
|
+
if (this.ad != null) {
|
|
1228
|
+
this.ad.setPropertyValue(b, true);
|
|
1229
|
+
}
|
|
1138
1230
|
let c = this.j(b);
|
|
1139
1231
|
this.g.add(c);
|
|
1140
|
-
this.
|
|
1232
|
+
this.ak = false;
|
|
1141
1233
|
}
|
|
1142
|
-
|
|
1234
|
+
c2() {
|
|
1143
1235
|
this.l = 0;
|
|
1144
1236
|
this.g.clear();
|
|
1145
|
-
this.
|
|
1237
|
+
this.ch();
|
|
1146
1238
|
this.m.ag();
|
|
1147
1239
|
}
|
|
1148
|
-
|
|
1240
|
+
cc() {
|
|
1149
1241
|
this.l = 1;
|
|
1150
1242
|
this.g.clear();
|
|
1151
|
-
this.
|
|
1243
|
+
this.ch();
|
|
1152
1244
|
this.m.ag();
|
|
1153
1245
|
}
|
|
1154
|
-
|
|
1246
|
+
ck(a, b, c) {
|
|
1155
1247
|
if (this.h != null) {
|
|
1156
1248
|
this.h.notifySetItem(a, b, c);
|
|
1157
1249
|
}
|
|
1158
1250
|
}
|
|
1159
|
-
|
|
1251
|
+
ch() {
|
|
1160
1252
|
if (this.h != null) {
|
|
1161
1253
|
this.h.notifyClearItems();
|
|
1162
1254
|
}
|
|
1163
1255
|
}
|
|
1164
|
-
|
|
1256
|
+
ci(a, b) {
|
|
1165
1257
|
if (this.h != null) {
|
|
1166
1258
|
this.h.notifyInsertItem(a, b);
|
|
1167
1259
|
}
|
|
1168
1260
|
;
|
|
1169
1261
|
}
|
|
1170
|
-
|
|
1262
|
+
cj(a, b) {
|
|
1171
1263
|
if (this.h != null) {
|
|
1172
1264
|
this.h.notifyRemoveItem(a, b);
|
|
1173
1265
|
}
|
|
1174
1266
|
;
|
|
1175
1267
|
}
|
|
1176
|
-
|
|
1268
|
+
b9(a) {
|
|
1177
1269
|
let b = null;
|
|
1178
1270
|
if (this.b == null || this.b.length == 0) {
|
|
1179
1271
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1185,10 +1277,15 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1185
1277
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1186
1278
|
}
|
|
1187
1279
|
if (b != null) {
|
|
1280
|
+
if (this.ad != null) {
|
|
1281
|
+
let c = this.e.indexOfKey(a);
|
|
1282
|
+
let d = this.e.getItemAtIndex(c);
|
|
1283
|
+
this.ad.setPropertyValue(d, true);
|
|
1284
|
+
}
|
|
1188
1285
|
this.g.add(b);
|
|
1189
1286
|
}
|
|
1190
1287
|
}
|
|
1191
|
-
|
|
1288
|
+
c1(a) {
|
|
1192
1289
|
let b = null;
|
|
1193
1290
|
if (this.b == null || this.b.length == 0) {
|
|
1194
1291
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1200,85 +1297,100 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1200
1297
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1201
1298
|
}
|
|
1202
1299
|
if (this.g.contains(b)) {
|
|
1300
|
+
if (this.ad != null) {
|
|
1301
|
+
let c = this.e.indexOfKey(a);
|
|
1302
|
+
let d = this.e.getItemAtIndex(c);
|
|
1303
|
+
this.ad.setPropertyValue(d, false);
|
|
1304
|
+
}
|
|
1203
1305
|
this.g.remove(b);
|
|
1204
1306
|
}
|
|
1205
1307
|
}
|
|
1206
|
-
get
|
|
1207
|
-
return this.
|
|
1308
|
+
get b0() {
|
|
1309
|
+
return this.bz != null ? this.bz : !stringIsNullOrWhiteSpace(this.aj.b1("Select_All")) ? this.aj.b1("Select_All") : "(Select All)";
|
|
1208
1310
|
}
|
|
1209
|
-
set
|
|
1210
|
-
if (a == this.
|
|
1311
|
+
set b0(a) {
|
|
1312
|
+
if (a == this.bz) {
|
|
1211
1313
|
return;
|
|
1212
1314
|
}
|
|
1213
|
-
let b = this.
|
|
1214
|
-
this.
|
|
1215
|
-
this.
|
|
1315
|
+
let b = this.bz;
|
|
1316
|
+
this.bz = a;
|
|
1317
|
+
this.cr("SelectAllCaption", b, this.bz);
|
|
1216
1318
|
}
|
|
1217
|
-
get
|
|
1218
|
-
return this.
|
|
1319
|
+
get d3() {
|
|
1320
|
+
return this.dk;
|
|
1219
1321
|
}
|
|
1220
|
-
set
|
|
1221
|
-
let b = this.
|
|
1222
|
-
this.
|
|
1223
|
-
if (b != this.
|
|
1224
|
-
this.
|
|
1322
|
+
set d3(a) {
|
|
1323
|
+
let b = this.dk;
|
|
1324
|
+
this.dk = a;
|
|
1325
|
+
if (b != this.dk) {
|
|
1326
|
+
this.cr("SelectAllCaptionTextColor", b, a);
|
|
1225
1327
|
}
|
|
1226
1328
|
}
|
|
1227
|
-
get
|
|
1228
|
-
return this.
|
|
1329
|
+
get dm() {
|
|
1330
|
+
return this.c7;
|
|
1229
1331
|
}
|
|
1230
|
-
set
|
|
1231
|
-
let b = this.
|
|
1232
|
-
this.
|
|
1233
|
-
if (b != this.
|
|
1234
|
-
this.
|
|
1332
|
+
set dm(a) {
|
|
1333
|
+
let b = this.c7;
|
|
1334
|
+
this.c7 = a;
|
|
1335
|
+
if (b != this.c7) {
|
|
1336
|
+
this.cr("ActualSelectAllCaptionTextColor", b, a);
|
|
1235
1337
|
}
|
|
1236
1338
|
}
|
|
1237
|
-
get
|
|
1238
|
-
if (-1 == this.
|
|
1339
|
+
get aq() {
|
|
1340
|
+
if (-1 == this.ay) {
|
|
1239
1341
|
return false;
|
|
1240
1342
|
}
|
|
1241
1343
|
let a = this.g.count;
|
|
1242
1344
|
if (0 == a) {
|
|
1243
1345
|
return false;
|
|
1244
1346
|
}
|
|
1245
|
-
if (a == this.
|
|
1347
|
+
if (a == this.ay) {
|
|
1246
1348
|
return false;
|
|
1247
1349
|
}
|
|
1248
1350
|
return true;
|
|
1249
1351
|
}
|
|
1250
|
-
get
|
|
1251
|
-
return this.
|
|
1352
|
+
get au() {
|
|
1353
|
+
return this.at;
|
|
1252
1354
|
}
|
|
1253
|
-
set
|
|
1254
|
-
if (a == this.
|
|
1355
|
+
set au(a) {
|
|
1356
|
+
if (a == this.at) {
|
|
1255
1357
|
return;
|
|
1256
1358
|
}
|
|
1257
|
-
let b = this.
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1359
|
+
let b = this.at;
|
|
1360
|
+
this.at = a;
|
|
1361
|
+
this.cr("showSelectAll", b, this.at);
|
|
1260
1362
|
}
|
|
1261
|
-
get
|
|
1262
|
-
return this.
|
|
1363
|
+
get dn() {
|
|
1364
|
+
return this.c8;
|
|
1263
1365
|
}
|
|
1264
|
-
set
|
|
1265
|
-
let b = this.
|
|
1266
|
-
this.
|
|
1267
|
-
if (b != this.
|
|
1268
|
-
this.
|
|
1366
|
+
set dn(a) {
|
|
1367
|
+
let b = this.c8;
|
|
1368
|
+
this.c8 = a;
|
|
1369
|
+
if (b != this.c8) {
|
|
1370
|
+
this.cr("BackgroundColor", b, a);
|
|
1269
1371
|
}
|
|
1270
1372
|
}
|
|
1271
|
-
get
|
|
1272
|
-
return this.
|
|
1373
|
+
get dx() {
|
|
1374
|
+
return this.de;
|
|
1273
1375
|
}
|
|
1274
|
-
set
|
|
1275
|
-
let b = this.
|
|
1276
|
-
this.
|
|
1277
|
-
if (b != this.
|
|
1278
|
-
this.
|
|
1376
|
+
set dx(a) {
|
|
1377
|
+
let b = this.de;
|
|
1378
|
+
this.de = a;
|
|
1379
|
+
if (b != this.de) {
|
|
1380
|
+
this.cr("RowHoverBackgroundColor", b, a);
|
|
1279
1381
|
}
|
|
1280
1382
|
}
|
|
1281
|
-
|
|
1383
|
+
get d5() {
|
|
1384
|
+
return this.dl;
|
|
1385
|
+
}
|
|
1386
|
+
set d5(a) {
|
|
1387
|
+
let b = this.dl;
|
|
1388
|
+
this.dl = a;
|
|
1389
|
+
if (b != this.dl) {
|
|
1390
|
+
this.cr("TextColor", b, a);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
ct(a) {
|
|
1282
1394
|
if (this.selectAllCheckboxChanged != null) {
|
|
1283
1395
|
this.selectAllCheckboxChanged(this, ((() => {
|
|
1284
1396
|
let $ret = new SelectAllCheckboxChangedEventArgs();
|
|
@@ -1287,69 +1399,70 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1287
1399
|
})()));
|
|
1288
1400
|
}
|
|
1289
1401
|
}
|
|
1290
|
-
|
|
1291
|
-
if (-1 == this.
|
|
1402
|
+
an() {
|
|
1403
|
+
if (-1 == this.ay) {
|
|
1292
1404
|
return true;
|
|
1293
1405
|
}
|
|
1294
1406
|
let a = this.g.count;
|
|
1295
1407
|
switch (this.l) {
|
|
1296
|
-
case 0: return this.
|
|
1408
|
+
case 0: return this.ay == a;
|
|
1297
1409
|
case 1: return 0 == a;
|
|
1298
1410
|
default: return false;
|
|
1299
1411
|
}
|
|
1300
1412
|
}
|
|
1301
|
-
|
|
1302
|
-
if (-1 == this.
|
|
1413
|
+
am() {
|
|
1414
|
+
if (-1 == this.ay) {
|
|
1303
1415
|
return false;
|
|
1304
1416
|
}
|
|
1305
1417
|
let a = this.g.count;
|
|
1306
1418
|
switch (this.l) {
|
|
1307
1419
|
case 0: return 0 == a;
|
|
1308
|
-
case 1: return this.
|
|
1420
|
+
case 1: return this.ay == a;
|
|
1309
1421
|
default: return false;
|
|
1310
1422
|
}
|
|
1311
1423
|
}
|
|
1312
|
-
|
|
1424
|
+
ca() {
|
|
1313
1425
|
let a = this.h.actualDataSource;
|
|
1314
1426
|
if (null != a) {
|
|
1315
1427
|
if (null == a.actualSchema) {
|
|
1316
|
-
this.
|
|
1428
|
+
this.ay = -1;
|
|
1317
1429
|
return;
|
|
1318
1430
|
}
|
|
1319
1431
|
let b = a.actualCount;
|
|
1320
|
-
this.
|
|
1432
|
+
this.ay = b;
|
|
1321
1433
|
}
|
|
1322
1434
|
else {
|
|
1323
|
-
this.
|
|
1435
|
+
this.ay = -1;
|
|
1324
1436
|
}
|
|
1325
1437
|
}
|
|
1326
|
-
get
|
|
1327
|
-
return this.
|
|
1438
|
+
get as() {
|
|
1439
|
+
return this.ar;
|
|
1328
1440
|
}
|
|
1329
|
-
set
|
|
1330
|
-
if (a == this.
|
|
1441
|
+
set as(a) {
|
|
1442
|
+
if (a == this.ar) {
|
|
1331
1443
|
return;
|
|
1332
1444
|
}
|
|
1333
|
-
let b = this.
|
|
1334
|
-
this.
|
|
1335
|
-
this.
|
|
1445
|
+
let b = this.ar;
|
|
1446
|
+
this.ar = a;
|
|
1447
|
+
this.cr("ShowFilter", b, this.ar);
|
|
1336
1448
|
}
|
|
1337
|
-
get
|
|
1338
|
-
return this.
|
|
1449
|
+
get ap() {
|
|
1450
|
+
return this.ao;
|
|
1339
1451
|
}
|
|
1340
|
-
set
|
|
1341
|
-
if (a == this.
|
|
1452
|
+
set ap(a) {
|
|
1453
|
+
if (a == this.ao) {
|
|
1342
1454
|
return;
|
|
1343
1455
|
}
|
|
1344
|
-
let b = this.
|
|
1345
|
-
this.
|
|
1346
|
-
this.
|
|
1456
|
+
let b = this.ao;
|
|
1457
|
+
this.ao = a;
|
|
1458
|
+
this.cr("IsRowHoverEnabled", b, this.ao);
|
|
1347
1459
|
}
|
|
1348
1460
|
}
|
|
1349
1461
|
CheckboxList.$t = /*@__PURE__*/ markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
|
|
1350
|
-
CheckboxList.
|
|
1351
|
-
CheckboxList.
|
|
1352
|
-
CheckboxList.
|
|
1353
|
-
CheckboxList.
|
|
1462
|
+
CheckboxList.d4 = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
|
|
1463
|
+
CheckboxList.bw = "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";
|
|
1464
|
+
CheckboxList.du = /*@__PURE__*/ BrushUtil.h(255, 248, 248, 248);
|
|
1465
|
+
CheckboxList.dv = null;
|
|
1466
|
+
CheckboxList.dw = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
|
|
1354
1467
|
return CheckboxList;
|
|
1355
1468
|
})();
|