igniteui-webcomponents-grids 5.2.0 → 5.3.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 +440 -444
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/custom-elements.json +21194 -0
- package/esm2015/lib/CheckboxListBridge.js +15 -15
- package/esm2015/lib/CheckboxListView_combined.js +343 -350
- package/esm2015/lib/ColumnChooserView_combined.js +4 -4
- package/esm2015/lib/ColumnFilterCondition_combined.js +7 -1
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +2 -2
- package/esm2015/lib/FilterCell.js +1 -1
- package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +5 -5
- package/esm2015/lib/GridColumnGroupOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnHideOptionsView_combined.js +2 -2
- package/esm2015/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +3 -3
- package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
- package/esm2015/lib/PropertyEditorView_combined.js +2 -2
- package/esm2015/lib/igc-checkbox-list-component.js +52 -52
- package/esm5/lib/CheckboxListBridge.js +15 -15
- package/esm5/lib/CheckboxListView_combined.js +336 -343
- package/esm5/lib/ColumnChooserView_combined.js +4 -4
- package/esm5/lib/ColumnFilterCondition_combined.js +7 -1
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +2 -2
- package/esm5/lib/FilterCell.js +1 -1
- package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +5 -5
- package/esm5/lib/GridColumnGroupOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnHideOptionsView_combined.js +2 -2
- package/esm5/lib/GridColumnOptionsViewBase_combined.js +4 -4
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +3 -3
- package/esm5/lib/ISummaryChooserView_combined.js +7 -7
- package/esm5/lib/PropertyEditorView_combined.js +2 -2
- package/esm5/lib/igc-checkbox-list-component.js +52 -52
- package/fesm2015/igniteui-webcomponents-grids.js +448 -452
- package/fesm5/igniteui-webcomponents-grids.js +441 -445
- package/grids/combined.js +32900 -31630
- package/grids/index.d.ts +0 -1
- package/grids/lib/common.d.ts +11 -2
- package/grids/lib/igc-action-strip-component.d.ts +5 -0
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-column-component.d.ts +23 -0
- package/grids/lib/igc-column-group-component.d.ts +5 -0
- package/grids/lib/igc-column-layout-component.d.ts +5 -0
- package/grids/lib/igc-column-pipe-args.d.ts +1 -1
- package/grids/lib/igc-grid-base-directive.d.ts +1 -0
- package/grids/lib/igc-grid-component.d.ts +7 -1
- package/grids/lib/igc-grid-editing-actions-component.d.ts +5 -0
- package/grids/lib/igc-grid-pinning-actions-component.d.ts +5 -0
- package/grids/lib/igc-grid-state-component.d.ts +5 -0
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +5 -0
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +5 -0
- package/grids/lib/igc-grid-toolbar-component.d.ts +5 -0
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +7 -1
- package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +7 -1
- package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +7 -1
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +5 -0
- package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +2 -1
- package/grids/lib/igc-hierarchical-grid-component.d.ts +7 -1
- package/grids/lib/igc-paginator-component.d.ts +5 -0
- package/grids/lib/igc-pivot-data-selector-component.d.ts +8 -2
- package/grids/lib/igc-pivot-grid-component.d.ts +7 -1
- package/grids/lib/igc-row-island-component.d.ts +6 -0
- package/grids/lib/igc-tree-grid-component.d.ts +7 -1
- 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/CheckboxListExternal.d.ts +1 -2
- package/lib/CheckboxListView_combined.d.ts +85 -85
- package/lib/igc-checkbox-list-component.d.ts +1 -1
- package/package.json +7 -5
- package/vscode.css-custom-data.json +6 -0
- package/vscode.html-custom-data.json +5 -0
- package/web-types.json +14 -0
- package/grids/lib/igc-grid-action-button-component.d.ts +0 -56
|
@@ -16,12 +16,12 @@ import { XInput } from "igniteui-webcomponents-inputs";
|
|
|
16
16
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
17
17
|
import { NativeUI } from "igniteui-webcomponents-core";
|
|
18
18
|
import { PrimaryKeyValue } from "./PrimaryKeyValue";
|
|
19
|
-
import { Size } from "igniteui-webcomponents-core";
|
|
20
19
|
import { Thickness } from "igniteui-webcomponents-core";
|
|
21
20
|
import { CheckboxListIndexType_$type } from "./CheckboxListIndexType";
|
|
22
21
|
import { SRProvider } from "igniteui-webcomponents-core";
|
|
23
22
|
import { GridSelectedKeysCollection } from "./GridSelectedKeysCollection";
|
|
24
23
|
import { InputGroupDisplayType_$type } from "igniteui-webcomponents-inputs";
|
|
24
|
+
import { GridStyleRepository } from "./GridStyleRepository";
|
|
25
25
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
26
26
|
import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
|
|
27
27
|
import { BrushUtil } from "igniteui-webcomponents-core";
|
|
@@ -37,7 +37,10 @@ import { DateTimeColumn } from "./DateTimeColumn";
|
|
|
37
37
|
import { NumericColumn } from "./NumericColumn";
|
|
38
38
|
import { TextColumn } from "./TextColumn";
|
|
39
39
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
40
|
+
import { Size } from "igniteui-webcomponents-core";
|
|
41
|
+
import { ComponentSizeHelpers } from "igniteui-webcomponents-core";
|
|
40
42
|
import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
|
|
43
|
+
import { isPositiveInfinity } from "igniteui-webcomponents-core";
|
|
41
44
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
42
45
|
/**
|
|
43
46
|
* @hidden
|
|
@@ -102,7 +105,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
102
105
|
this.c = new XIcon();
|
|
103
106
|
this.c.provideContainer(j);
|
|
104
107
|
this.c.fill = this.b.searchIconColor;
|
|
105
|
-
this.c.svgPath = CheckboxList.
|
|
108
|
+
this.c.svgPath = CheckboxList.b0;
|
|
106
109
|
var k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
107
110
|
g.appendContentChild(i);
|
|
108
111
|
this.b.v.appendContentChild(e);
|
|
@@ -114,27 +117,25 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
114
117
|
this.b.t.provideContainer(m);
|
|
115
118
|
this.b.t.b8 = "text";
|
|
116
119
|
var n = m.getExternal(this.b.t, m.rootWrapper, m.getExternal(this.b, null, null));
|
|
117
|
-
if (this.b.
|
|
118
|
-
this.b.t.cg = this.b.
|
|
120
|
+
if (this.b.bm != null) {
|
|
121
|
+
this.b.t.cg = this.b.bm;
|
|
119
122
|
}
|
|
120
123
|
this.b.v.appendContentChild(l);
|
|
121
124
|
this.b.v.inputs.add(this.b.t);
|
|
122
|
-
this.b.
|
|
125
|
+
this.b.cx();
|
|
123
126
|
};
|
|
124
127
|
CheckboxListView.prototype.s = function () {
|
|
125
128
|
if (this.f != null) {
|
|
126
129
|
var a = this.f.rootWrapper.getChildAt(3);
|
|
127
130
|
a.setStyleProperty("width", "100%");
|
|
128
131
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
129
|
-
if (this.b.showSelectAll == false) {
|
|
130
|
-
a.setStyleProperty("height", "calc(100% - 50px");
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
a.setStyleProperty("height", "calc(100% - 75px");
|
|
134
|
-
}
|
|
135
132
|
if (!this.b.au && !this.b.showSelectAll) {
|
|
136
133
|
a.setStyleProperty("height", "100%");
|
|
137
134
|
}
|
|
135
|
+
else {
|
|
136
|
+
var b = this.b.ay();
|
|
137
|
+
a.setStyleProperty("height", "calc(100% - " + b + "px");
|
|
138
|
+
}
|
|
138
139
|
}
|
|
139
140
|
};
|
|
140
141
|
CheckboxListView.prototype.o = function (a, b, c) {
|
|
@@ -194,11 +195,11 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
194
195
|
finally {
|
|
195
196
|
d.z = h;
|
|
196
197
|
}
|
|
197
|
-
d.dk = this.b.
|
|
198
|
-
d.dd = this.b.
|
|
199
|
-
d.dl = this.b.
|
|
200
|
-
d.de = this.b.
|
|
201
|
-
d.dm = this.b.
|
|
198
|
+
d.dk = this.b.d2;
|
|
199
|
+
d.dd = this.b.d0;
|
|
200
|
+
d.dl = this.b.d3;
|
|
201
|
+
d.de = this.b.d1;
|
|
202
|
+
d.dm = this.b.d4;
|
|
202
203
|
}
|
|
203
204
|
};
|
|
204
205
|
CheckboxListView.prototype.z = function () {
|
|
@@ -237,21 +238,21 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
237
238
|
var e = c.checked;
|
|
238
239
|
if (e == true) {
|
|
239
240
|
if (this.b.indexType == 0) {
|
|
240
|
-
this.b.
|
|
241
|
+
this.b.da(d);
|
|
241
242
|
}
|
|
242
243
|
else {
|
|
243
|
-
this.b.
|
|
244
|
+
this.b.cc(d);
|
|
244
245
|
}
|
|
245
246
|
}
|
|
246
247
|
else {
|
|
247
248
|
if (this.b.indexType == 0) {
|
|
248
|
-
this.b.
|
|
249
|
+
this.b.cc(d);
|
|
249
250
|
}
|
|
250
251
|
else {
|
|
251
|
-
this.b.
|
|
252
|
+
this.b.da(d);
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
|
-
this.b.
|
|
255
|
+
this.b.cu(d, e);
|
|
255
256
|
this.ag(false);
|
|
256
257
|
};
|
|
257
258
|
CheckboxListView.prototype.l = function () {
|
|
@@ -265,7 +266,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
265
266
|
var e = parseInt(d.a4.toString());
|
|
266
267
|
if (e == a) {
|
|
267
268
|
d.checked = b;
|
|
268
|
-
this.b.
|
|
269
|
+
this.b.cu(e, b);
|
|
269
270
|
}
|
|
270
271
|
}
|
|
271
272
|
}
|
|
@@ -325,7 +326,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
325
326
|
var d = this.f.getExternal(this.a, c.rootWrapper, this.f.getExternal(this.b, null, null));
|
|
326
327
|
this.a.n = this.b.baseTheme;
|
|
327
328
|
this.i = a.createElement("label");
|
|
328
|
-
this.i.setRawText(this.b.
|
|
329
|
+
this.i.setRawText(this.b.b4);
|
|
329
330
|
this.i.setStyleProperty("font-size", "13px");
|
|
330
331
|
this.j.setStyleProperty("display", "flex");
|
|
331
332
|
this.j.setStyleProperty("flex-direction", "row");
|
|
@@ -341,8 +342,8 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
341
342
|
};
|
|
342
343
|
CheckboxListView.prototype.af = function () {
|
|
343
344
|
if (null != this.i) {
|
|
344
|
-
this.i.setRawText(this.b.
|
|
345
|
-
NativeUI.q(this.i, this.b.
|
|
345
|
+
this.i.setRawText(this.b.b4);
|
|
346
|
+
NativeUI.q(this.i, this.b.dy);
|
|
346
347
|
}
|
|
347
348
|
};
|
|
348
349
|
CheckboxListView.prototype.ai = function () {
|
|
@@ -393,12 +394,12 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
393
394
|
return;
|
|
394
395
|
}
|
|
395
396
|
if (b.isChecked) {
|
|
396
|
-
this.b.
|
|
397
|
-
this.b.
|
|
397
|
+
this.b.dd();
|
|
398
|
+
this.b.c2(b.isChecked);
|
|
398
399
|
}
|
|
399
400
|
else {
|
|
400
|
-
this.b.
|
|
401
|
-
this.b.
|
|
401
|
+
this.b.ci();
|
|
402
|
+
this.b.c2(b.isChecked);
|
|
402
403
|
}
|
|
403
404
|
};
|
|
404
405
|
CheckboxListView.prototype.ad = function () {
|
|
@@ -408,7 +409,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
408
409
|
}
|
|
409
410
|
var b = a.rootWrapper;
|
|
410
411
|
if (null != b) {
|
|
411
|
-
NativeUI.q(b, this.b.
|
|
412
|
+
NativeUI.q(b, this.b.eg);
|
|
412
413
|
NativeUI.m(b, this.b.backgroundColor);
|
|
413
414
|
}
|
|
414
415
|
};
|
|
@@ -417,38 +418,6 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
417
418
|
this.c.fill = this.b.searchIconColor;
|
|
418
419
|
}
|
|
419
420
|
};
|
|
420
|
-
CheckboxListView.prototype.getDesiredSize = function () {
|
|
421
|
-
var a = 248;
|
|
422
|
-
var b = 0;
|
|
423
|
-
if (this.b.itemsSource == null) {
|
|
424
|
-
return new Size(1, a, b + 158);
|
|
425
|
-
}
|
|
426
|
-
var c = 0;
|
|
427
|
-
if ((this.b.itemsSource.actualCount !== undefined)) {
|
|
428
|
-
c = (this.b.itemsSource.actualCount);
|
|
429
|
-
}
|
|
430
|
-
else {
|
|
431
|
-
c = (this.b.itemsSource.length);
|
|
432
|
-
}
|
|
433
|
-
b += 4;
|
|
434
|
-
b += 16;
|
|
435
|
-
b += 38;
|
|
436
|
-
b += 8;
|
|
437
|
-
b += 4;
|
|
438
|
-
var d = this.b.f != null ? this.b.f.actualRowHeight : 30;
|
|
439
|
-
var e = d * c;
|
|
440
|
-
if (e > 90) {
|
|
441
|
-
b += 90;
|
|
442
|
-
b += 15;
|
|
443
|
-
}
|
|
444
|
-
else {
|
|
445
|
-
b += e;
|
|
446
|
-
}
|
|
447
|
-
if (this.b.showSelectAll) {
|
|
448
|
-
b += d;
|
|
449
|
-
}
|
|
450
|
-
return new Size(1, a, b);
|
|
451
|
-
};
|
|
452
421
|
CheckboxListView.prototype.ac = function () {
|
|
453
422
|
if (this.b.ai != null) {
|
|
454
423
|
this.i.setStyleProperty("font", this.b.ai.fontString);
|
|
@@ -459,11 +428,11 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
459
428
|
}
|
|
460
429
|
};
|
|
461
430
|
CheckboxListView.prototype.y = function () {
|
|
462
|
-
this.a.dk = this.b.
|
|
463
|
-
this.a.dd = this.b.
|
|
464
|
-
this.a.dl = this.b.
|
|
465
|
-
this.a.de = this.b.
|
|
466
|
-
this.a.dm = this.b.
|
|
431
|
+
this.a.dk = this.b.d2;
|
|
432
|
+
this.a.dd = this.b.d0;
|
|
433
|
+
this.a.dl = this.b.d3;
|
|
434
|
+
this.a.de = this.b.d1;
|
|
435
|
+
this.a.dm = this.b.d4;
|
|
467
436
|
};
|
|
468
437
|
CheckboxListView.prototype.aa = function (a) {
|
|
469
438
|
if (this.g != null) {
|
|
@@ -501,44 +470,44 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
501
470
|
_this.selectedKeyAdded = null;
|
|
502
471
|
_this.selectedKeyRemoved = null;
|
|
503
472
|
_this.checkedChanged = null;
|
|
504
|
-
_this.a2 = null;
|
|
505
473
|
_this.a4 = null;
|
|
506
474
|
_this.a6 = null;
|
|
507
|
-
_this.
|
|
475
|
+
_this.a8 = null;
|
|
476
|
+
_this.a7 = null;
|
|
508
477
|
_this.w = 3;
|
|
509
|
-
_this.
|
|
478
|
+
_this.a0 = -1;
|
|
510
479
|
_this.ag = null;
|
|
511
480
|
_this.k = 1;
|
|
512
481
|
_this.ab = 1;
|
|
513
482
|
_this.ad = 2;
|
|
514
|
-
_this.
|
|
515
|
-
_this.
|
|
483
|
+
_this.du = BrushUtil.h(255, 24, 29, 31);
|
|
484
|
+
_this.ds = null;
|
|
485
|
+
_this.dv = null;
|
|
516
486
|
_this.dt = null;
|
|
517
|
-
_this.dr = null;
|
|
518
487
|
_this.ah = null;
|
|
488
|
+
_this.dm = null;
|
|
519
489
|
_this.dk = null;
|
|
520
|
-
_this.
|
|
490
|
+
_this.dn = null;
|
|
521
491
|
_this.dl = null;
|
|
522
|
-
_this.dj = null;
|
|
523
|
-
_this.dm = null;
|
|
524
|
-
_this.z = 0;
|
|
525
492
|
_this.dp = null;
|
|
493
|
+
_this.z = 0;
|
|
494
|
+
_this.dr = null;
|
|
526
495
|
_this.indexTypeChanged = null;
|
|
527
|
-
_this.
|
|
528
|
-
_this.
|
|
529
|
-
_this.
|
|
496
|
+
_this.b3 = null;
|
|
497
|
+
_this.dw = null;
|
|
498
|
+
_this.di = CheckboxList.d7;
|
|
530
499
|
_this.av = true;
|
|
531
|
-
_this.
|
|
532
|
-
_this.
|
|
533
|
-
_this.
|
|
500
|
+
_this.dj = CheckboxList.d5;
|
|
501
|
+
_this.dq = CheckboxList.d6;
|
|
502
|
+
_this.dx = CheckboxList.d7;
|
|
534
503
|
_this.keysCleared = null;
|
|
535
504
|
_this.selectAllCheckboxChanged = null;
|
|
536
|
-
_this.
|
|
505
|
+
_this.a2 = -1;
|
|
537
506
|
_this.at = true;
|
|
538
507
|
_this.aq = true;
|
|
539
508
|
var a = _this.g;
|
|
540
|
-
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.
|
|
541
|
-
_this.g.am(runOn(_this, _this.
|
|
509
|
+
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.c5));
|
|
510
|
+
_this.g.am(runOn(_this, _this.c4));
|
|
542
511
|
_this.d = new FilterFactory();
|
|
543
512
|
var b = new CheckboxListView();
|
|
544
513
|
b.b = _this;
|
|
@@ -612,7 +581,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
612
581
|
var b = this.a;
|
|
613
582
|
this.a = a;
|
|
614
583
|
if (b != this.a) {
|
|
615
|
-
this.
|
|
584
|
+
this.c0("PrimaryKey", b, this.a);
|
|
616
585
|
}
|
|
617
586
|
},
|
|
618
587
|
enumerable: false,
|
|
@@ -633,44 +602,44 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
633
602
|
CheckboxList.prototype.removeSelectedKeyAt = function (a) {
|
|
634
603
|
this.keys.removeAt(a);
|
|
635
604
|
};
|
|
636
|
-
CheckboxList.prototype.
|
|
637
|
-
this.
|
|
605
|
+
CheckboxList.prototype.c4 = function () {
|
|
606
|
+
this.co();
|
|
638
607
|
if (this.keysCleared != null) {
|
|
639
608
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
640
609
|
}
|
|
641
610
|
};
|
|
642
|
-
CheckboxList.prototype.
|
|
611
|
+
CheckboxList.prototype.c5 = function (a, b) {
|
|
643
612
|
if (this.e == null || this.e.actualSchema == null || this.am) {
|
|
644
613
|
return;
|
|
645
614
|
}
|
|
646
615
|
switch (b.action) {
|
|
647
616
|
case 0:
|
|
648
617
|
for (var c = 0; c < b.newItems.count; c++) {
|
|
649
|
-
this.
|
|
618
|
+
this.cy(b.newItems.item(c));
|
|
650
619
|
}
|
|
651
620
|
break;
|
|
652
621
|
case 1:
|
|
653
622
|
for (var d = 0; d < b.oldItems.count; d++) {
|
|
654
|
-
this.
|
|
623
|
+
this.cz(b.oldItems.item(d));
|
|
655
624
|
}
|
|
656
625
|
break;
|
|
657
626
|
case 2:
|
|
658
627
|
for (var e = 0; e < b.oldItems.count; e++) {
|
|
659
|
-
this.
|
|
628
|
+
this.cz(b.oldItems.item(e));
|
|
660
629
|
}
|
|
661
630
|
for (var f = 0; f < b.newItems.count; f++) {
|
|
662
|
-
this.
|
|
631
|
+
this.cy(b.newItems.item(f));
|
|
663
632
|
}
|
|
664
633
|
break;
|
|
665
634
|
case 4:
|
|
666
635
|
this.view.u(this.indexType == 0);
|
|
667
636
|
for (var g = 0; g < this.keys.ae.count; g++) {
|
|
668
|
-
this.
|
|
637
|
+
this.cy(this.keys.ae._inner[g]);
|
|
669
638
|
}
|
|
670
639
|
break;
|
|
671
640
|
}
|
|
672
641
|
};
|
|
673
|
-
CheckboxList.prototype.
|
|
642
|
+
CheckboxList.prototype.cy = function (a) {
|
|
674
643
|
var _this = this;
|
|
675
644
|
var b = this.e.indexOfKey(a.value);
|
|
676
645
|
if (b >= 0) {
|
|
@@ -687,7 +656,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
687
656
|
return $ret;
|
|
688
657
|
})()));
|
|
689
658
|
};
|
|
690
|
-
CheckboxList.prototype.
|
|
659
|
+
CheckboxList.prototype.cz = function (a) {
|
|
691
660
|
var _this = this;
|
|
692
661
|
var b = this.e.indexOfKey(a.value);
|
|
693
662
|
if (b >= 0) {
|
|
@@ -704,7 +673,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
704
673
|
return $ret;
|
|
705
674
|
})()));
|
|
706
675
|
};
|
|
707
|
-
CheckboxList.prototype.
|
|
676
|
+
CheckboxList.prototype.cu = function (a, b) {
|
|
708
677
|
if (this.checkedChanged != null && this.an == false) {
|
|
709
678
|
var c_1 = null;
|
|
710
679
|
if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
|
|
@@ -728,22 +697,22 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
728
697
|
CheckboxList.prototype.destroy = function () {
|
|
729
698
|
if (this.f != null) {
|
|
730
699
|
var a = this.f;
|
|
731
|
-
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.
|
|
700
|
+
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ck));
|
|
732
701
|
var b = this.f;
|
|
733
|
-
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.
|
|
702
|
+
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cl));
|
|
734
703
|
if (this.f.actualDataSource != null) {
|
|
735
704
|
var c = this.f.actualDataSource;
|
|
736
|
-
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.
|
|
705
|
+
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.c1));
|
|
737
706
|
}
|
|
738
707
|
}
|
|
739
708
|
if (this.s != null) {
|
|
740
709
|
var d = this.s;
|
|
741
|
-
d.change = delegateRemove(d.change, runOn(this, this.
|
|
710
|
+
d.change = delegateRemove(d.change, runOn(this, this.cm));
|
|
742
711
|
}
|
|
743
712
|
this.provideContainer(null, null, null);
|
|
744
713
|
if (this.j != null) {
|
|
745
714
|
var e = this.j;
|
|
746
|
-
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.
|
|
715
|
+
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cg));
|
|
747
716
|
}
|
|
748
717
|
};
|
|
749
718
|
CheckboxList.prototype.provideContainer = function (a, b, c) {
|
|
@@ -751,8 +720,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
751
720
|
if (null != this.f) {
|
|
752
721
|
this.f.scrollbarStyle = 1;
|
|
753
722
|
var d = this.f;
|
|
754
|
-
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.
|
|
755
|
-
this.f.scrollbarBackground = this.
|
|
723
|
+
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cl));
|
|
724
|
+
this.f.scrollbarBackground = this.d9;
|
|
756
725
|
this.f.headerHeight = 0;
|
|
757
726
|
this.f.rowSeparatorHeight = 0;
|
|
758
727
|
this.f.defaultColumnMinWidth = NaN;
|
|
@@ -760,27 +729,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
760
729
|
this.f.activationMode = 0;
|
|
761
730
|
this.f.editMode = 0;
|
|
762
731
|
var e = this.f;
|
|
763
|
-
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.
|
|
764
|
-
if (this.a2 != null) {
|
|
765
|
-
this.f.itemsSource = this.a2;
|
|
766
|
-
this.cd();
|
|
767
|
-
this.c1();
|
|
768
|
-
}
|
|
732
|
+
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ck));
|
|
769
733
|
if (this.a4 != null) {
|
|
770
|
-
this.
|
|
771
|
-
this.
|
|
734
|
+
this.f.itemsSource = this.a4;
|
|
735
|
+
this.cf();
|
|
736
|
+
this.c3();
|
|
737
|
+
}
|
|
738
|
+
if (this.a6 != null) {
|
|
739
|
+
this.c3();
|
|
740
|
+
this.dg();
|
|
772
741
|
}
|
|
773
742
|
}
|
|
774
743
|
this.view.q(c);
|
|
775
744
|
this.view.m(a);
|
|
776
745
|
};
|
|
777
|
-
CheckboxList.prototype.
|
|
746
|
+
CheckboxList.prototype.cl = function (a, b) {
|
|
778
747
|
this.f.scrollbarStyle = this.aa;
|
|
779
748
|
};
|
|
780
749
|
CheckboxList.prototype.provideSelectAllSection = function (a) {
|
|
781
750
|
this.view.q(a);
|
|
782
751
|
};
|
|
783
|
-
CheckboxList.prototype.
|
|
752
|
+
CheckboxList.prototype.ck = function (a, b) {
|
|
784
753
|
if (b.cellInfo.l.a5 == 0) {
|
|
785
754
|
return;
|
|
786
755
|
}
|
|
@@ -803,7 +772,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
803
772
|
this.keys.add(e);
|
|
804
773
|
}
|
|
805
774
|
};
|
|
806
|
-
CheckboxList.prototype.
|
|
775
|
+
CheckboxList.prototype.cg = function (a, b) {
|
|
807
776
|
var c = b.cellInfo.l.x;
|
|
808
777
|
if (-1 == c) {
|
|
809
778
|
return;
|
|
@@ -817,9 +786,9 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
817
786
|
}
|
|
818
787
|
this.view.o(b.content.element, c, d);
|
|
819
788
|
};
|
|
820
|
-
CheckboxList.prototype.
|
|
821
|
-
if (this.
|
|
822
|
-
var b = this.d.property(this.
|
|
789
|
+
CheckboxList.prototype.cv = function (a) {
|
|
790
|
+
if (this.a6 != null) {
|
|
791
|
+
var b = this.d.property(this.a6).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
823
792
|
var c = b.contains(a);
|
|
824
793
|
if (!this.f.filterExpressions.k.contains(this.c)) {
|
|
825
794
|
this.c = c;
|
|
@@ -833,13 +802,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
833
802
|
};
|
|
834
803
|
Object.defineProperty(CheckboxList.prototype, "itemsSource", {
|
|
835
804
|
get: function () {
|
|
836
|
-
return this.
|
|
805
|
+
return this.a4;
|
|
837
806
|
},
|
|
838
807
|
set: function (a) {
|
|
839
|
-
var b = this.
|
|
840
|
-
this.
|
|
841
|
-
if (b != this.
|
|
842
|
-
this.
|
|
808
|
+
var b = this.a4;
|
|
809
|
+
this.a4 = a;
|
|
810
|
+
if (b != this.a4) {
|
|
811
|
+
this.c0("ItemsSource", b, this.a4);
|
|
843
812
|
}
|
|
844
813
|
},
|
|
845
814
|
enumerable: false,
|
|
@@ -847,13 +816,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
847
816
|
});
|
|
848
817
|
Object.defineProperty(CheckboxList.prototype, "dataMemberPath", {
|
|
849
818
|
get: function () {
|
|
850
|
-
return this.
|
|
819
|
+
return this.a6;
|
|
851
820
|
},
|
|
852
821
|
set: function (a) {
|
|
853
|
-
var b = this.
|
|
854
|
-
this.
|
|
855
|
-
if (b != this.
|
|
856
|
-
this.
|
|
822
|
+
var b = this.a6;
|
|
823
|
+
this.a6 = a;
|
|
824
|
+
if (b != this.a6) {
|
|
825
|
+
this.c0("DataMemberPath", b, this.a6);
|
|
857
826
|
}
|
|
858
827
|
},
|
|
859
828
|
enumerable: false,
|
|
@@ -861,27 +830,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
861
830
|
});
|
|
862
831
|
Object.defineProperty(CheckboxList.prototype, "selectedMemberPath", {
|
|
863
832
|
get: function () {
|
|
864
|
-
return this.
|
|
833
|
+
return this.a8;
|
|
865
834
|
},
|
|
866
835
|
set: function (a) {
|
|
867
|
-
var b = this.
|
|
868
|
-
this.
|
|
869
|
-
if (b != this.
|
|
870
|
-
this.
|
|
836
|
+
var b = this.a8;
|
|
837
|
+
this.a8 = a;
|
|
838
|
+
if (b != this.a8) {
|
|
839
|
+
this.c0("SelectedMemberPath", b, this.a8);
|
|
871
840
|
}
|
|
872
841
|
},
|
|
873
842
|
enumerable: false,
|
|
874
843
|
configurable: true
|
|
875
844
|
});
|
|
876
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
845
|
+
Object.defineProperty(CheckboxList.prototype, "bm", {
|
|
877
846
|
get: function () {
|
|
878
|
-
return this.
|
|
847
|
+
return this.a7;
|
|
879
848
|
},
|
|
880
849
|
set: function (a) {
|
|
881
|
-
var b = this.
|
|
882
|
-
this.
|
|
883
|
-
if (b != this.
|
|
884
|
-
this.
|
|
850
|
+
var b = this.a7;
|
|
851
|
+
this.a7 = a;
|
|
852
|
+
if (b != this.a7) {
|
|
853
|
+
this.c0("FilterPlaceholderText", b, this.a7);
|
|
885
854
|
}
|
|
886
855
|
},
|
|
887
856
|
enumerable: false,
|
|
@@ -895,32 +864,44 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
895
864
|
var b = this.w;
|
|
896
865
|
this.w = a;
|
|
897
866
|
if (b != this.w) {
|
|
898
|
-
this.
|
|
867
|
+
this.c0("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.w));
|
|
899
868
|
}
|
|
900
869
|
},
|
|
901
870
|
enumerable: false,
|
|
902
871
|
configurable: true
|
|
903
872
|
});
|
|
904
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
873
|
+
Object.defineProperty(CheckboxList.prototype, "a3", {
|
|
905
874
|
get: function () {
|
|
906
|
-
return this.
|
|
875
|
+
return this.a0;
|
|
907
876
|
},
|
|
908
877
|
set: function (a) {
|
|
909
|
-
var b = this.
|
|
910
|
-
this.
|
|
911
|
-
if (b != this.
|
|
912
|
-
this.
|
|
878
|
+
var b = this.a0;
|
|
879
|
+
this.a0 = a;
|
|
880
|
+
if (b != this.a0) {
|
|
881
|
+
this.c0("RowHeight", b, this.a0);
|
|
913
882
|
}
|
|
914
883
|
},
|
|
915
884
|
enumerable: false,
|
|
916
885
|
configurable: true
|
|
917
886
|
});
|
|
918
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
887
|
+
Object.defineProperty(CheckboxList.prototype, "a1", {
|
|
919
888
|
get: function () {
|
|
920
889
|
if (this.f != null) {
|
|
921
890
|
return this.f.actualRowHeight;
|
|
922
891
|
}
|
|
923
|
-
|
|
892
|
+
else if (this.a0 != -1) {
|
|
893
|
+
return this.a0;
|
|
894
|
+
}
|
|
895
|
+
else {
|
|
896
|
+
switch (this.density) {
|
|
897
|
+
case 4:
|
|
898
|
+
case 3: return GridStyleRepository.q;
|
|
899
|
+
case 0:
|
|
900
|
+
case 2: return GridStyleRepository.r;
|
|
901
|
+
case 1: return GridStyleRepository.p;
|
|
902
|
+
}
|
|
903
|
+
return GridStyleRepository.r;
|
|
904
|
+
}
|
|
924
905
|
},
|
|
925
906
|
enumerable: false,
|
|
926
907
|
configurable: true
|
|
@@ -933,7 +914,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
933
914
|
var b = this.ag;
|
|
934
915
|
this.ag = a;
|
|
935
916
|
if (b != this.ag) {
|
|
936
|
-
this.
|
|
917
|
+
this.c0("CellTextStyle", b, this.ag);
|
|
937
918
|
}
|
|
938
919
|
},
|
|
939
920
|
enumerable: false,
|
|
@@ -947,7 +928,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
947
928
|
var b = this.k;
|
|
948
929
|
this.k = a;
|
|
949
930
|
if (b != this.k) {
|
|
950
|
-
this.
|
|
931
|
+
this.c0("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
|
|
951
932
|
}
|
|
952
933
|
},
|
|
953
934
|
enumerable: false,
|
|
@@ -961,7 +942,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
961
942
|
var b = this.ab;
|
|
962
943
|
this.ab = a;
|
|
963
944
|
if (b != this.ab) {
|
|
964
|
-
this.
|
|
945
|
+
this.c0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.ab));
|
|
965
946
|
}
|
|
966
947
|
},
|
|
967
948
|
enumerable: false,
|
|
@@ -975,13 +956,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
975
956
|
var b = this.ad;
|
|
976
957
|
this.ad = a;
|
|
977
958
|
if (b != this.ad) {
|
|
978
|
-
this.
|
|
959
|
+
this.c0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ad));
|
|
979
960
|
}
|
|
980
961
|
},
|
|
981
962
|
enumerable: false,
|
|
982
963
|
configurable: true
|
|
983
964
|
});
|
|
984
965
|
Object.defineProperty(CheckboxList.prototype, "searchIconColor", {
|
|
966
|
+
get: function () {
|
|
967
|
+
return this.du;
|
|
968
|
+
},
|
|
969
|
+
set: function (a) {
|
|
970
|
+
var b = this.du;
|
|
971
|
+
this.du = a;
|
|
972
|
+
if (b != this.du) {
|
|
973
|
+
this.c0("SearchIconColor", b, this.du);
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
enumerable: false,
|
|
977
|
+
configurable: true
|
|
978
|
+
});
|
|
979
|
+
Object.defineProperty(CheckboxList.prototype, "ea", {
|
|
985
980
|
get: function () {
|
|
986
981
|
return this.ds;
|
|
987
982
|
},
|
|
@@ -989,27 +984,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
989
984
|
var b = this.ds;
|
|
990
985
|
this.ds = a;
|
|
991
986
|
if (b != this.ds) {
|
|
992
|
-
this.
|
|
987
|
+
this.c0("SearchBackgroundColor", b, this.ds);
|
|
993
988
|
}
|
|
994
989
|
},
|
|
995
990
|
enumerable: false,
|
|
996
991
|
configurable: true
|
|
997
992
|
});
|
|
998
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
993
|
+
Object.defineProperty(CheckboxList.prototype, "searchTextColor", {
|
|
999
994
|
get: function () {
|
|
1000
|
-
return this.
|
|
995
|
+
return this.dv;
|
|
1001
996
|
},
|
|
1002
997
|
set: function (a) {
|
|
1003
|
-
var b = this.
|
|
1004
|
-
this.
|
|
1005
|
-
if (b != this.
|
|
1006
|
-
this.
|
|
998
|
+
var b = this.dv;
|
|
999
|
+
this.dv = a;
|
|
1000
|
+
if (b != this.dv) {
|
|
1001
|
+
this.c0("SearchTextColor", b, this.dv);
|
|
1007
1002
|
}
|
|
1008
1003
|
},
|
|
1009
1004
|
enumerable: false,
|
|
1010
1005
|
configurable: true
|
|
1011
1006
|
});
|
|
1012
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1007
|
+
Object.defineProperty(CheckboxList.prototype, "eb", {
|
|
1013
1008
|
get: function () {
|
|
1014
1009
|
return this.dt;
|
|
1015
1010
|
},
|
|
@@ -1017,35 +1012,35 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1017
1012
|
var b = this.dt;
|
|
1018
1013
|
this.dt = a;
|
|
1019
1014
|
if (b != this.dt) {
|
|
1020
|
-
this.
|
|
1015
|
+
this.c0("SearchBorderColor", b, this.dt);
|
|
1021
1016
|
}
|
|
1022
1017
|
},
|
|
1023
1018
|
enumerable: false,
|
|
1024
1019
|
configurable: true
|
|
1025
1020
|
});
|
|
1026
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1021
|
+
Object.defineProperty(CheckboxList.prototype, "aj", {
|
|
1027
1022
|
get: function () {
|
|
1028
|
-
return this.
|
|
1023
|
+
return this.ah;
|
|
1029
1024
|
},
|
|
1030
1025
|
set: function (a) {
|
|
1031
|
-
var b = this.
|
|
1032
|
-
this.
|
|
1033
|
-
if (b != this.
|
|
1034
|
-
this.
|
|
1026
|
+
var b = this.ah;
|
|
1027
|
+
this.ah = a;
|
|
1028
|
+
if (b != this.ah) {
|
|
1029
|
+
this.c0("SearchTextStyle", b, this.ah);
|
|
1035
1030
|
}
|
|
1036
1031
|
},
|
|
1037
1032
|
enumerable: false,
|
|
1038
1033
|
configurable: true
|
|
1039
1034
|
});
|
|
1040
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1035
|
+
Object.defineProperty(CheckboxList.prototype, "d2", {
|
|
1041
1036
|
get: function () {
|
|
1042
|
-
return this.
|
|
1037
|
+
return this.dm;
|
|
1043
1038
|
},
|
|
1044
1039
|
set: function (a) {
|
|
1045
|
-
var b = this.
|
|
1046
|
-
this.
|
|
1047
|
-
if (b != this.
|
|
1048
|
-
this.
|
|
1040
|
+
var b = this.dm;
|
|
1041
|
+
this.dm = a;
|
|
1042
|
+
if (b != this.dm) {
|
|
1043
|
+
this.c0("CheckboxTickColor", b, this.dm);
|
|
1049
1044
|
}
|
|
1050
1045
|
},
|
|
1051
1046
|
enumerable: false,
|
|
@@ -1059,21 +1054,21 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1059
1054
|
var b = this.dk;
|
|
1060
1055
|
this.dk = a;
|
|
1061
1056
|
if (b != this.dk) {
|
|
1062
|
-
this.
|
|
1057
|
+
this.c0("CheckboxCheckedBackgroundColor", b, this.dk);
|
|
1063
1058
|
}
|
|
1064
1059
|
},
|
|
1065
1060
|
enumerable: false,
|
|
1066
1061
|
configurable: true
|
|
1067
1062
|
});
|
|
1068
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1063
|
+
Object.defineProperty(CheckboxList.prototype, "d3", {
|
|
1069
1064
|
get: function () {
|
|
1070
|
-
return this.
|
|
1065
|
+
return this.dn;
|
|
1071
1066
|
},
|
|
1072
1067
|
set: function (a) {
|
|
1073
|
-
var b = this.
|
|
1074
|
-
this.
|
|
1075
|
-
if (b != this.
|
|
1076
|
-
this.
|
|
1068
|
+
var b = this.dn;
|
|
1069
|
+
this.dn = a;
|
|
1070
|
+
if (b != this.dn) {
|
|
1071
|
+
this.c0("CheckboxUncheckedBackgroundColor", b, this.dn);
|
|
1077
1072
|
}
|
|
1078
1073
|
},
|
|
1079
1074
|
enumerable: false,
|
|
@@ -1087,35 +1082,21 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1087
1082
|
var b = this.dl;
|
|
1088
1083
|
this.dl = a;
|
|
1089
1084
|
if (b != this.dl) {
|
|
1090
|
-
this.
|
|
1085
|
+
this.c0("CheckboxCheckedBorderColor", b, this.dl);
|
|
1091
1086
|
}
|
|
1092
1087
|
},
|
|
1093
1088
|
enumerable: false,
|
|
1094
1089
|
configurable: true
|
|
1095
1090
|
});
|
|
1096
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1091
|
+
Object.defineProperty(CheckboxList.prototype, "d4", {
|
|
1097
1092
|
get: function () {
|
|
1098
|
-
return this.
|
|
1099
|
-
},
|
|
1100
|
-
set: function (a) {
|
|
1101
|
-
var b = this.dj;
|
|
1102
|
-
this.dj = a;
|
|
1103
|
-
if (b != this.dj) {
|
|
1104
|
-
this.cy("CheckboxCheckedBorderColor", b, this.dj);
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
enumerable: false,
|
|
1108
|
-
configurable: true
|
|
1109
|
-
});
|
|
1110
|
-
Object.defineProperty(CheckboxList.prototype, "d2", {
|
|
1111
|
-
get: function () {
|
|
1112
|
-
return this.dm;
|
|
1093
|
+
return this.dp;
|
|
1113
1094
|
},
|
|
1114
1095
|
set: function (a) {
|
|
1115
|
-
var b = this.
|
|
1116
|
-
this.
|
|
1117
|
-
if (b != this.
|
|
1118
|
-
this.
|
|
1096
|
+
var b = this.dp;
|
|
1097
|
+
this.dp = a;
|
|
1098
|
+
if (b != this.dp) {
|
|
1099
|
+
this.c0("CheckboxUncheckedBorderColor", b, this.dp);
|
|
1119
1100
|
}
|
|
1120
1101
|
},
|
|
1121
1102
|
enumerable: false,
|
|
@@ -1129,42 +1110,42 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1129
1110
|
var b = this.z;
|
|
1130
1111
|
this.z = a;
|
|
1131
1112
|
if (b != this.z) {
|
|
1132
|
-
this.
|
|
1113
|
+
this.c0("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.z));
|
|
1133
1114
|
}
|
|
1134
1115
|
},
|
|
1135
1116
|
enumerable: false,
|
|
1136
1117
|
configurable: true
|
|
1137
1118
|
});
|
|
1138
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1119
|
+
Object.defineProperty(CheckboxList.prototype, "d9", {
|
|
1139
1120
|
get: function () {
|
|
1140
|
-
return this.
|
|
1121
|
+
return this.dr;
|
|
1141
1122
|
},
|
|
1142
1123
|
set: function (a) {
|
|
1143
|
-
var b = this.
|
|
1144
|
-
this.
|
|
1145
|
-
if (b != this.
|
|
1146
|
-
this.
|
|
1124
|
+
var b = this.dr;
|
|
1125
|
+
this.dr = a;
|
|
1126
|
+
if (b != this.dr) {
|
|
1127
|
+
this.c0("ScrollbarBackground", b, this.dr);
|
|
1147
1128
|
}
|
|
1148
1129
|
},
|
|
1149
1130
|
enumerable: false,
|
|
1150
1131
|
configurable: true
|
|
1151
1132
|
});
|
|
1152
|
-
CheckboxList.prototype.
|
|
1133
|
+
CheckboxList.prototype.c0 = function (a, b, c) {
|
|
1153
1134
|
if (this.propertyChanged != null) {
|
|
1154
1135
|
this.propertyChanged(this, new PropertyChangedEventArgs(a));
|
|
1155
1136
|
}
|
|
1156
|
-
this.
|
|
1137
|
+
this.c6(a, b, c);
|
|
1157
1138
|
};
|
|
1158
|
-
CheckboxList.prototype.
|
|
1139
|
+
CheckboxList.prototype.c6 = function (a, b, c) {
|
|
1159
1140
|
switch (a) {
|
|
1160
1141
|
case "IndexType":
|
|
1161
1142
|
this.keys.clear();
|
|
1162
|
-
this.
|
|
1143
|
+
this.co();
|
|
1163
1144
|
if (this.keysCleared != null) {
|
|
1164
1145
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1165
1146
|
}
|
|
1166
1147
|
this.view.ag();
|
|
1167
|
-
this.
|
|
1148
|
+
this.cw(b, c);
|
|
1168
1149
|
break;
|
|
1169
1150
|
case "ItemsSource":
|
|
1170
1151
|
if (this.f != null) {
|
|
@@ -1177,16 +1158,16 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1177
1158
|
}
|
|
1178
1159
|
if (this.f.actualDataSource != null) {
|
|
1179
1160
|
var d = this.f.actualDataSource;
|
|
1180
|
-
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.
|
|
1161
|
+
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.c1));
|
|
1181
1162
|
}
|
|
1182
|
-
this.f.itemsSource = this.
|
|
1183
|
-
this.
|
|
1163
|
+
this.f.itemsSource = this.a4;
|
|
1164
|
+
this.cf();
|
|
1184
1165
|
if (this.f.actualDataSource != null) {
|
|
1185
1166
|
var e = this.f.actualDataSource;
|
|
1186
|
-
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.
|
|
1167
|
+
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.c1));
|
|
1187
1168
|
}
|
|
1188
1169
|
this.an = true;
|
|
1189
|
-
this.
|
|
1170
|
+
this.c3();
|
|
1190
1171
|
this.an = false;
|
|
1191
1172
|
this.view.ag();
|
|
1192
1173
|
}
|
|
@@ -1194,9 +1175,9 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1194
1175
|
case "DataMemberPath":
|
|
1195
1176
|
case "SelectedMemberPath":
|
|
1196
1177
|
if (this.f != null) {
|
|
1197
|
-
if (this.
|
|
1198
|
-
this.
|
|
1199
|
-
this.
|
|
1178
|
+
if (this.a6 != null) {
|
|
1179
|
+
this.c3();
|
|
1180
|
+
this.dg();
|
|
1200
1181
|
}
|
|
1201
1182
|
}
|
|
1202
1183
|
break;
|
|
@@ -1206,7 +1187,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1206
1187
|
}
|
|
1207
1188
|
break;
|
|
1208
1189
|
case "SelectAllCaptionTextColor":
|
|
1209
|
-
this.
|
|
1190
|
+
this.dy = null != this.ee ? this.ee : CheckboxList.d7;
|
|
1210
1191
|
break;
|
|
1211
1192
|
case "SelectAllCaption":
|
|
1212
1193
|
case "ActualSelectAllCaptionTextColor":
|
|
@@ -1222,7 +1203,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1222
1203
|
break;
|
|
1223
1204
|
case "FilterPlaceholderText":
|
|
1224
1205
|
if (this.s != null) {
|
|
1225
|
-
this.s.cg = this.
|
|
1206
|
+
this.s.cg = this.bm;
|
|
1226
1207
|
}
|
|
1227
1208
|
break;
|
|
1228
1209
|
case "SearchInputType":
|
|
@@ -1232,7 +1213,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1232
1213
|
break;
|
|
1233
1214
|
case "RowHeight":
|
|
1234
1215
|
if (this.f != null) {
|
|
1235
|
-
this.f.rowHeight = this.
|
|
1216
|
+
this.f.rowHeight = this.a3;
|
|
1236
1217
|
}
|
|
1237
1218
|
break;
|
|
1238
1219
|
case "CellTextStyle":
|
|
@@ -1246,7 +1227,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1246
1227
|
case "RowHoverBackgroundColor":
|
|
1247
1228
|
var f = this.f;
|
|
1248
1229
|
if (null != f) {
|
|
1249
|
-
f.cellTextColor = this.
|
|
1230
|
+
f.cellTextColor = this.eg;
|
|
1250
1231
|
f.cellBackground = this.backgroundColor;
|
|
1251
1232
|
f.cellSelectedBackground = this.backgroundColor;
|
|
1252
1233
|
f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
@@ -1254,10 +1235,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1254
1235
|
this.view.ad();
|
|
1255
1236
|
break;
|
|
1256
1237
|
case "BaseTheme":
|
|
1257
|
-
this.
|
|
1238
|
+
this.df();
|
|
1258
1239
|
break;
|
|
1259
1240
|
case "Density":
|
|
1260
|
-
this.
|
|
1241
|
+
this.de();
|
|
1261
1242
|
break;
|
|
1262
1243
|
case "IsRowHoverEnabled":
|
|
1263
1244
|
if (this.f != null) {
|
|
@@ -1271,17 +1252,17 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1271
1252
|
break;
|
|
1272
1253
|
case "ScrollbarBackground":
|
|
1273
1254
|
if (this.f != null) {
|
|
1274
|
-
this.f.scrollbarBackground = this.
|
|
1255
|
+
this.f.scrollbarBackground = this.d9;
|
|
1275
1256
|
}
|
|
1276
1257
|
break;
|
|
1277
1258
|
case "SearchIconColor":
|
|
1278
1259
|
this.view.ab();
|
|
1279
1260
|
break;
|
|
1280
1261
|
case "SearchBackgroundColor":
|
|
1281
|
-
this.v.mc = this.
|
|
1262
|
+
this.v.mc = this.ea;
|
|
1282
1263
|
break;
|
|
1283
1264
|
case "SearchBorderColor":
|
|
1284
|
-
this.v.md = this.
|
|
1265
|
+
this.v.md = this.eb;
|
|
1285
1266
|
break;
|
|
1286
1267
|
case "SearchTextColor":
|
|
1287
1268
|
if (this.t != null) {
|
|
@@ -1303,7 +1284,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1303
1284
|
break;
|
|
1304
1285
|
}
|
|
1305
1286
|
};
|
|
1306
|
-
CheckboxList.prototype.
|
|
1287
|
+
CheckboxList.prototype.cw = function (a, b) {
|
|
1307
1288
|
if (this.indexTypeChanged != null) {
|
|
1308
1289
|
this.indexTypeChanged(this, ((function () {
|
|
1309
1290
|
var $ret = new CheckboxListIndexTypeChangedEventArgs();
|
|
@@ -1313,7 +1294,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1313
1294
|
})()));
|
|
1314
1295
|
}
|
|
1315
1296
|
};
|
|
1316
|
-
CheckboxList.prototype.
|
|
1297
|
+
CheckboxList.prototype.de = function () {
|
|
1317
1298
|
if (this.f != null) {
|
|
1318
1299
|
this.f.density = this.density;
|
|
1319
1300
|
}
|
|
@@ -1322,7 +1303,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1322
1303
|
}
|
|
1323
1304
|
this.view.x();
|
|
1324
1305
|
};
|
|
1325
|
-
CheckboxList.prototype.
|
|
1306
|
+
CheckboxList.prototype.df = function () {
|
|
1326
1307
|
if (this.u != null) {
|
|
1327
1308
|
this.u.p = this.baseTheme;
|
|
1328
1309
|
}
|
|
@@ -1330,31 +1311,31 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1330
1311
|
this.t.d8 = this.searchTextColor;
|
|
1331
1312
|
}
|
|
1332
1313
|
if (this.f != null) {
|
|
1333
|
-
this.f.cellTextColor = this.
|
|
1314
|
+
this.f.cellTextColor = this.eg;
|
|
1334
1315
|
this.f.cellBackground = this.backgroundColor;
|
|
1335
1316
|
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1336
1317
|
this.f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1337
1318
|
}
|
|
1338
1319
|
this.view.z();
|
|
1339
1320
|
};
|
|
1340
|
-
CheckboxList.prototype.
|
|
1321
|
+
CheckboxList.prototype.c1 = function (a, b) {
|
|
1341
1322
|
this.an = true;
|
|
1342
|
-
this.
|
|
1323
|
+
this.cf();
|
|
1343
1324
|
if (b.schema != null) {
|
|
1344
|
-
this.
|
|
1325
|
+
this.c3();
|
|
1345
1326
|
for (var c = 0; c < this.keys.count; c++) {
|
|
1346
|
-
this.
|
|
1327
|
+
this.cy(this.keys._inner[c]);
|
|
1347
1328
|
}
|
|
1348
1329
|
this.view.ag();
|
|
1349
1330
|
}
|
|
1350
1331
|
this.an = false;
|
|
1351
1332
|
};
|
|
1352
|
-
CheckboxList.prototype.
|
|
1353
|
-
if (this.af == null && this.
|
|
1354
|
-
this.af = new FastReflectionHelper(false, this.
|
|
1333
|
+
CheckboxList.prototype.c3 = function () {
|
|
1334
|
+
if (this.af == null && this.a8 != null && this.a8 != "") {
|
|
1335
|
+
this.af = new FastReflectionHelper(false, this.a8);
|
|
1355
1336
|
}
|
|
1356
|
-
if (this.
|
|
1357
|
-
this.af.propertyName = this.
|
|
1337
|
+
if (this.a4 != null && this.af != null && this.f.actualDataSource.actualSchema != null) {
|
|
1338
|
+
this.af.propertyName = this.a8;
|
|
1358
1339
|
var a = this.f.actualDataSource.actualCount;
|
|
1359
1340
|
for (var b = 0; b < a; b++) {
|
|
1360
1341
|
var c = this.f.actualDataSource.getItemAtIndex(b);
|
|
@@ -1368,11 +1349,11 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1368
1349
|
}
|
|
1369
1350
|
}
|
|
1370
1351
|
};
|
|
1371
|
-
CheckboxList.prototype.
|
|
1352
|
+
CheckboxList.prototype.dg = function () {
|
|
1372
1353
|
this.f.actualColumns.clear();
|
|
1373
1354
|
this.f.primaryKey = this.primaryKey;
|
|
1374
1355
|
this.f.isGroupRowSticky = false;
|
|
1375
|
-
this.f.rowHeight = this.
|
|
1356
|
+
this.f.rowHeight = this.a3;
|
|
1376
1357
|
this.f.cellBackground = this.backgroundColor;
|
|
1377
1358
|
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1378
1359
|
this.f.density = this.density;
|
|
@@ -1382,10 +1363,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1382
1363
|
this.f.cellTextStyle = this.ai;
|
|
1383
1364
|
}
|
|
1384
1365
|
var a = new TemplateColumn();
|
|
1385
|
-
if (this.
|
|
1386
|
-
this.
|
|
1366
|
+
if (this.a8 == null) {
|
|
1367
|
+
this.a8 = "";
|
|
1387
1368
|
}
|
|
1388
|
-
a.lo = this.
|
|
1369
|
+
a.lo = this.a8;
|
|
1389
1370
|
a.mf = "CheckboxColumn";
|
|
1390
1371
|
var b = new ColumnWidth();
|
|
1391
1372
|
b.c = false;
|
|
@@ -1393,10 +1374,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1393
1374
|
a.width = b;
|
|
1394
1375
|
a.kk = 0;
|
|
1395
1376
|
a.kl = 0;
|
|
1396
|
-
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.
|
|
1377
|
+
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cg));
|
|
1397
1378
|
this.f.columns.add(a);
|
|
1398
1379
|
this.j = a;
|
|
1399
|
-
var c = this.f.actualDataSource.resolveSchemaPropertyType(this.
|
|
1380
|
+
var c = this.f.actualDataSource.resolveSchemaPropertyType(this.a6);
|
|
1400
1381
|
var d;
|
|
1401
1382
|
switch (c) {
|
|
1402
1383
|
case 8:
|
|
@@ -1419,7 +1400,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1419
1400
|
d = new TextColumn();
|
|
1420
1401
|
break;
|
|
1421
1402
|
}
|
|
1422
|
-
d.lo = this.
|
|
1403
|
+
d.lo = this.a6;
|
|
1423
1404
|
d.mf = "DataColumn";
|
|
1424
1405
|
d.kk = 0;
|
|
1425
1406
|
d.g = 0;
|
|
@@ -1431,14 +1412,14 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1431
1412
|
CheckboxList.prototype.provideHrElement = function (a) {
|
|
1432
1413
|
this.view.p(a);
|
|
1433
1414
|
};
|
|
1434
|
-
CheckboxList.prototype.
|
|
1415
|
+
CheckboxList.prototype.cx = function () {
|
|
1435
1416
|
var a = this.t;
|
|
1436
|
-
a.changing = delegateCombine(a.changing, runOn(this, this.
|
|
1437
|
-
this.
|
|
1417
|
+
a.changing = delegateCombine(a.changing, runOn(this, this.cm));
|
|
1418
|
+
this.df();
|
|
1438
1419
|
};
|
|
1439
|
-
CheckboxList.prototype.
|
|
1420
|
+
CheckboxList.prototype.cm = function (a, b) {
|
|
1440
1421
|
var c = b.value.toLowerCase();
|
|
1441
|
-
this.
|
|
1422
|
+
this.cv(c);
|
|
1442
1423
|
};
|
|
1443
1424
|
CheckboxList.prototype.i = function (a) {
|
|
1444
1425
|
if (this.primaryKey == null) {
|
|
@@ -1452,7 +1433,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1452
1433
|
}
|
|
1453
1434
|
return new PrimaryKeyValue(b, c);
|
|
1454
1435
|
};
|
|
1455
|
-
CheckboxList.prototype.
|
|
1436
|
+
CheckboxList.prototype.da = function (a) {
|
|
1456
1437
|
this.am = true;
|
|
1457
1438
|
var b = this.e.getItemAtIndex(a);
|
|
1458
1439
|
if (this.af != null) {
|
|
@@ -1462,7 +1443,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1462
1443
|
this.keys.remove(c);
|
|
1463
1444
|
this.am = false;
|
|
1464
1445
|
};
|
|
1465
|
-
CheckboxList.prototype.
|
|
1446
|
+
CheckboxList.prototype.cc = function (a) {
|
|
1466
1447
|
this.am = true;
|
|
1467
1448
|
var b = this.e.getItemAtIndex(a);
|
|
1468
1449
|
if (this.af != null) {
|
|
@@ -1472,50 +1453,50 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1472
1453
|
this.keys.add(c);
|
|
1473
1454
|
this.am = false;
|
|
1474
1455
|
};
|
|
1475
|
-
CheckboxList.prototype.
|
|
1456
|
+
CheckboxList.prototype.dd = function () {
|
|
1476
1457
|
this.indexType = 0;
|
|
1477
1458
|
this.keys.clear();
|
|
1478
|
-
this.
|
|
1459
|
+
this.co();
|
|
1479
1460
|
if (this.keysCleared != null) {
|
|
1480
1461
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1481
1462
|
}
|
|
1482
1463
|
};
|
|
1483
|
-
CheckboxList.prototype.
|
|
1464
|
+
CheckboxList.prototype.ci = function () {
|
|
1484
1465
|
this.indexType = 1;
|
|
1485
1466
|
this.keys.clear();
|
|
1486
|
-
this.
|
|
1467
|
+
this.co();
|
|
1487
1468
|
if (this.keysCleared != null) {
|
|
1488
1469
|
this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
|
|
1489
1470
|
}
|
|
1490
1471
|
};
|
|
1491
|
-
CheckboxList.prototype.
|
|
1472
|
+
CheckboxList.prototype.cs = function (a, b, c) {
|
|
1492
1473
|
if (this.f != null) {
|
|
1493
1474
|
this.f.notifySetItem(a, b, c);
|
|
1494
1475
|
}
|
|
1495
1476
|
};
|
|
1496
|
-
CheckboxList.prototype.
|
|
1477
|
+
CheckboxList.prototype.cp = function () {
|
|
1497
1478
|
if (this.f != null) {
|
|
1498
1479
|
this.f.notifyClearItems();
|
|
1499
1480
|
}
|
|
1500
1481
|
};
|
|
1501
|
-
CheckboxList.prototype.
|
|
1482
|
+
CheckboxList.prototype.co = function () {
|
|
1502
1483
|
if (this.f != null) {
|
|
1503
1484
|
this.f.invalidateVisibleRows();
|
|
1504
1485
|
}
|
|
1505
1486
|
};
|
|
1506
|
-
CheckboxList.prototype.
|
|
1487
|
+
CheckboxList.prototype.cq = function (a, b) {
|
|
1507
1488
|
if (this.f != null) {
|
|
1508
1489
|
this.f.notifyInsertItem(a, b);
|
|
1509
1490
|
}
|
|
1510
1491
|
;
|
|
1511
1492
|
};
|
|
1512
|
-
CheckboxList.prototype.
|
|
1493
|
+
CheckboxList.prototype.cr = function (a, b) {
|
|
1513
1494
|
if (this.f != null) {
|
|
1514
1495
|
this.f.notifyRemoveItem(a, b);
|
|
1515
1496
|
}
|
|
1516
1497
|
;
|
|
1517
1498
|
};
|
|
1518
|
-
CheckboxList.prototype.
|
|
1499
|
+
CheckboxList.prototype.cd = function (a) {
|
|
1519
1500
|
var b = null;
|
|
1520
1501
|
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1521
1502
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1535,7 +1516,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1535
1516
|
this.keys.add(b);
|
|
1536
1517
|
}
|
|
1537
1518
|
};
|
|
1538
|
-
CheckboxList.prototype.
|
|
1519
|
+
CheckboxList.prototype.db = function (a) {
|
|
1539
1520
|
var b = null;
|
|
1540
1521
|
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1541
1522
|
b = new PrimaryKeyValue(null, a);
|
|
@@ -1555,70 +1536,82 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1555
1536
|
this.keys.remove(b);
|
|
1556
1537
|
}
|
|
1557
1538
|
};
|
|
1558
|
-
CheckboxList.prototype.getDesiredSize = function () {
|
|
1559
|
-
var
|
|
1560
|
-
var
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
var
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
if (e > 90) {
|
|
1573
|
-
b += 90;
|
|
1574
|
-
b += 15;
|
|
1539
|
+
CheckboxList.prototype.getDesiredSize = function (a) {
|
|
1540
|
+
var b = 248;
|
|
1541
|
+
var c = 0;
|
|
1542
|
+
var d = this.ay();
|
|
1543
|
+
var e = 5;
|
|
1544
|
+
if (this.f != null && this.f.actualDataSource != null && this.f.actualDataSource.actualCount > 0) {
|
|
1545
|
+
e = this.f.actualDataSource.actualCount;
|
|
1546
|
+
}
|
|
1547
|
+
var f = this.a1 * e;
|
|
1548
|
+
var g = this.a1 * (this.showSelectAll ? 4 : 5);
|
|
1549
|
+
var h = f > g ? g : f;
|
|
1550
|
+
var i = d + h;
|
|
1551
|
+
if (isPositiveInfinity(a.height)) {
|
|
1552
|
+
c = i;
|
|
1575
1553
|
}
|
|
1576
1554
|
else {
|
|
1577
|
-
|
|
1555
|
+
if (a.height <= i) {
|
|
1556
|
+
c = i;
|
|
1557
|
+
}
|
|
1558
|
+
else {
|
|
1559
|
+
var j = a.height - i;
|
|
1560
|
+
c = d + j;
|
|
1561
|
+
}
|
|
1578
1562
|
}
|
|
1563
|
+
return new Size(1, b, c);
|
|
1564
|
+
};
|
|
1565
|
+
CheckboxList.prototype.ay = function () {
|
|
1566
|
+
var a = 0;
|
|
1567
|
+
a += ComponentSizeHelpers.d(this.density, this.baseTheme);
|
|
1568
|
+
a += ComponentSizeHelpers.c(this.density, this.baseTheme);
|
|
1569
|
+
a += (0.8 + 6);
|
|
1570
|
+
a += 4;
|
|
1579
1571
|
if (this.showSelectAll) {
|
|
1580
|
-
|
|
1572
|
+
a += this.a1;
|
|
1581
1573
|
}
|
|
1582
|
-
|
|
1574
|
+
a += 4;
|
|
1575
|
+
return a;
|
|
1583
1576
|
};
|
|
1584
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1577
|
+
Object.defineProperty(CheckboxList.prototype, "b4", {
|
|
1585
1578
|
get: function () {
|
|
1586
|
-
return this.
|
|
1579
|
+
return this.b3 != null ? this.b3 : !stringIsNullOrWhiteSpace(this.al.b1("Select_All")) ? this.al.b1("Select_All") : "(Select All)";
|
|
1587
1580
|
},
|
|
1588
1581
|
set: function (a) {
|
|
1589
|
-
if (a == this.
|
|
1582
|
+
if (a == this.b3) {
|
|
1590
1583
|
return;
|
|
1591
1584
|
}
|
|
1592
|
-
var b = this.
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1585
|
+
var b = this.b3;
|
|
1586
|
+
this.b3 = a;
|
|
1587
|
+
this.c0("SelectAllCaption", b, this.b3);
|
|
1595
1588
|
},
|
|
1596
1589
|
enumerable: false,
|
|
1597
1590
|
configurable: true
|
|
1598
1591
|
});
|
|
1599
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1592
|
+
Object.defineProperty(CheckboxList.prototype, "ee", {
|
|
1600
1593
|
get: function () {
|
|
1601
|
-
return this.
|
|
1594
|
+
return this.dw;
|
|
1602
1595
|
},
|
|
1603
1596
|
set: function (a) {
|
|
1604
|
-
var b = this.
|
|
1605
|
-
this.
|
|
1606
|
-
if (b != this.
|
|
1607
|
-
this.
|
|
1597
|
+
var b = this.dw;
|
|
1598
|
+
this.dw = a;
|
|
1599
|
+
if (b != this.dw) {
|
|
1600
|
+
this.c0("SelectAllCaptionTextColor", b, a);
|
|
1608
1601
|
}
|
|
1609
1602
|
},
|
|
1610
1603
|
enumerable: false,
|
|
1611
1604
|
configurable: true
|
|
1612
1605
|
});
|
|
1613
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1606
|
+
Object.defineProperty(CheckboxList.prototype, "dy", {
|
|
1614
1607
|
get: function () {
|
|
1615
|
-
return this.
|
|
1608
|
+
return this.di;
|
|
1616
1609
|
},
|
|
1617
1610
|
set: function (a) {
|
|
1618
|
-
var b = this.
|
|
1619
|
-
this.
|
|
1620
|
-
if (b != this.
|
|
1621
|
-
this.
|
|
1611
|
+
var b = this.di;
|
|
1612
|
+
this.di = a;
|
|
1613
|
+
if (b != this.di) {
|
|
1614
|
+
this.c0("ActualSelectAllCaptionTextColor", b, a);
|
|
1622
1615
|
}
|
|
1623
1616
|
},
|
|
1624
1617
|
enumerable: false,
|
|
@@ -1626,14 +1619,14 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1626
1619
|
});
|
|
1627
1620
|
Object.defineProperty(CheckboxList.prototype, "as", {
|
|
1628
1621
|
get: function () {
|
|
1629
|
-
if (-1 == this.
|
|
1622
|
+
if (-1 == this.a2) {
|
|
1630
1623
|
return false;
|
|
1631
1624
|
}
|
|
1632
1625
|
var a = this.keys.count;
|
|
1633
1626
|
if (0 == a) {
|
|
1634
1627
|
return false;
|
|
1635
1628
|
}
|
|
1636
|
-
if (a == this.
|
|
1629
|
+
if (a == this.a2) {
|
|
1637
1630
|
return false;
|
|
1638
1631
|
}
|
|
1639
1632
|
return true;
|
|
@@ -1651,20 +1644,20 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1651
1644
|
}
|
|
1652
1645
|
var b = this.av;
|
|
1653
1646
|
this.av = a;
|
|
1654
|
-
this.
|
|
1647
|
+
this.c0("showSelectAll", b, this.av);
|
|
1655
1648
|
},
|
|
1656
1649
|
enumerable: false,
|
|
1657
1650
|
configurable: true
|
|
1658
1651
|
});
|
|
1659
1652
|
Object.defineProperty(CheckboxList.prototype, "backgroundColor", {
|
|
1660
1653
|
get: function () {
|
|
1661
|
-
return this.
|
|
1654
|
+
return this.dj;
|
|
1662
1655
|
},
|
|
1663
1656
|
set: function (a) {
|
|
1664
|
-
var b = this.
|
|
1665
|
-
this.
|
|
1666
|
-
if (b != this.
|
|
1667
|
-
this.
|
|
1657
|
+
var b = this.dj;
|
|
1658
|
+
this.dj = a;
|
|
1659
|
+
if (b != this.dj) {
|
|
1660
|
+
this.c0("BackgroundColor", b, a);
|
|
1668
1661
|
}
|
|
1669
1662
|
},
|
|
1670
1663
|
enumerable: false,
|
|
@@ -1672,33 +1665,33 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1672
1665
|
});
|
|
1673
1666
|
Object.defineProperty(CheckboxList.prototype, "rowHoverBackgroundColor", {
|
|
1674
1667
|
get: function () {
|
|
1675
|
-
return this.
|
|
1668
|
+
return this.dq;
|
|
1676
1669
|
},
|
|
1677
1670
|
set: function (a) {
|
|
1678
|
-
var b = this.
|
|
1679
|
-
this.
|
|
1680
|
-
if (b != this.
|
|
1681
|
-
this.
|
|
1671
|
+
var b = this.dq;
|
|
1672
|
+
this.dq = a;
|
|
1673
|
+
if (b != this.dq) {
|
|
1674
|
+
this.c0("RowHoverBackgroundColor", b, a);
|
|
1682
1675
|
}
|
|
1683
1676
|
},
|
|
1684
1677
|
enumerable: false,
|
|
1685
1678
|
configurable: true
|
|
1686
1679
|
});
|
|
1687
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1680
|
+
Object.defineProperty(CheckboxList.prototype, "eg", {
|
|
1688
1681
|
get: function () {
|
|
1689
|
-
return this.
|
|
1682
|
+
return this.dx;
|
|
1690
1683
|
},
|
|
1691
1684
|
set: function (a) {
|
|
1692
|
-
var b = this.
|
|
1693
|
-
this.
|
|
1694
|
-
if (b != this.
|
|
1695
|
-
this.
|
|
1685
|
+
var b = this.dx;
|
|
1686
|
+
this.dx = a;
|
|
1687
|
+
if (b != this.dx) {
|
|
1688
|
+
this.c0("TextColor", b, a);
|
|
1696
1689
|
}
|
|
1697
1690
|
},
|
|
1698
1691
|
enumerable: false,
|
|
1699
1692
|
configurable: true
|
|
1700
1693
|
});
|
|
1701
|
-
CheckboxList.prototype.
|
|
1694
|
+
CheckboxList.prototype.c2 = function (a) {
|
|
1702
1695
|
if (this.selectAllCheckboxChanged != null) {
|
|
1703
1696
|
this.selectAllCheckboxChanged(this, ((function () {
|
|
1704
1697
|
var $ret = new SelectAllCheckboxChangedEventArgs();
|
|
@@ -1708,39 +1701,39 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1708
1701
|
}
|
|
1709
1702
|
};
|
|
1710
1703
|
CheckboxList.prototype.ap = function () {
|
|
1711
|
-
if (-1 == this.
|
|
1704
|
+
if (-1 == this.a2) {
|
|
1712
1705
|
return true;
|
|
1713
1706
|
}
|
|
1714
1707
|
var a = this.keys.count;
|
|
1715
1708
|
switch (this.indexType) {
|
|
1716
|
-
case 0: return this.
|
|
1709
|
+
case 0: return this.a2 == a;
|
|
1717
1710
|
case 1: return 0 == a;
|
|
1718
1711
|
default: return false;
|
|
1719
1712
|
}
|
|
1720
1713
|
};
|
|
1721
1714
|
CheckboxList.prototype.ao = function () {
|
|
1722
|
-
if (-1 == this.
|
|
1715
|
+
if (-1 == this.a2) {
|
|
1723
1716
|
return false;
|
|
1724
1717
|
}
|
|
1725
1718
|
var a = this.keys.count;
|
|
1726
1719
|
switch (this.indexType) {
|
|
1727
1720
|
case 0: return 0 == a;
|
|
1728
|
-
case 1: return this.
|
|
1721
|
+
case 1: return this.a2 == a;
|
|
1729
1722
|
default: return false;
|
|
1730
1723
|
}
|
|
1731
1724
|
};
|
|
1732
|
-
CheckboxList.prototype.
|
|
1725
|
+
CheckboxList.prototype.cf = function () {
|
|
1733
1726
|
var a = this.f.actualDataSource;
|
|
1734
1727
|
if (null != a) {
|
|
1735
1728
|
if (null == a.actualSchema) {
|
|
1736
|
-
this.
|
|
1729
|
+
this.a2 = -1;
|
|
1737
1730
|
return;
|
|
1738
1731
|
}
|
|
1739
1732
|
var b = a.actualCount;
|
|
1740
|
-
this.
|
|
1733
|
+
this.a2 = b;
|
|
1741
1734
|
}
|
|
1742
1735
|
else {
|
|
1743
|
-
this.
|
|
1736
|
+
this.a2 = -1;
|
|
1744
1737
|
}
|
|
1745
1738
|
};
|
|
1746
1739
|
Object.defineProperty(CheckboxList.prototype, "au", {
|
|
@@ -1753,7 +1746,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1753
1746
|
}
|
|
1754
1747
|
var b = this.at;
|
|
1755
1748
|
this.at = a;
|
|
1756
|
-
this.
|
|
1749
|
+
this.c0("ShowFilter", b, this.at);
|
|
1757
1750
|
},
|
|
1758
1751
|
enumerable: false,
|
|
1759
1752
|
configurable: true
|
|
@@ -1768,17 +1761,17 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1768
1761
|
}
|
|
1769
1762
|
var b = this.aq;
|
|
1770
1763
|
this.aq = a;
|
|
1771
|
-
this.
|
|
1764
|
+
this.c0("IsRowHoverEnabled", b, this.aq);
|
|
1772
1765
|
},
|
|
1773
1766
|
enumerable: false,
|
|
1774
1767
|
configurable: true
|
|
1775
1768
|
});
|
|
1776
1769
|
CheckboxList.$t = markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
|
|
1777
|
-
CheckboxList.
|
|
1778
|
-
CheckboxList.
|
|
1779
|
-
CheckboxList.
|
|
1780
|
-
CheckboxList.
|
|
1781
|
-
CheckboxList.
|
|
1770
|
+
CheckboxList.ef = BrushUtil.h(255, 24, 29, 31);
|
|
1771
|
+
CheckboxList.b0 = "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";
|
|
1772
|
+
CheckboxList.d5 = BrushUtil.h(255, 248, 248, 248);
|
|
1773
|
+
CheckboxList.d6 = null;
|
|
1774
|
+
CheckboxList.d7 = BrushUtil.h(255, 24, 29, 31);
|
|
1782
1775
|
return CheckboxList;
|
|
1783
1776
|
}(Base));
|
|
1784
1777
|
export { CheckboxList };
|