igniteui-webcomponents-grids 5.0.0 → 5.0.2-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 +1393 -1404
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/CanvasGridCellBase.js +52 -52
- package/esm2015/lib/CanvasTemplateCellPresenter.js +7 -7
- package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListBridge.js +1 -4
- package/esm2015/lib/CheckboxListView_combined.js +188 -188
- package/esm2015/lib/ColumnChooserView_combined.js +42 -42
- package/esm2015/lib/ColumnFilterCondition_combined.js +659 -659
- package/esm2015/lib/ColumnGroupingView_combined.js +40 -40
- package/esm2015/lib/ColumnPinningView_combined.js +42 -42
- package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +2 -2
- package/esm2015/lib/DataGridCellLayoutPanel.js +48 -48
- package/esm2015/lib/DataGridToolbarView_combined.js +87 -87
- package/esm2015/lib/EditorCell.js +86 -86
- package/esm2015/lib/EditorCellPresenter.js +1 -1
- package/esm2015/lib/FilterCell.js +90 -90
- package/esm2015/lib/FilterCellPresenter.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +7 -7
- package/esm2015/lib/ISummaryChooserView_combined.js +6 -6
- package/esm2015/lib/TemplateHeader.js +1 -1
- package/esm2015/lib/igc-checkbox-list-component.js +31 -27
- package/esm2015/lib/igc-column-chooser-component.js +2 -2
- package/esm2015/lib/igc-column-pinning-component.js +2 -2
- package/esm2015/lib/igc-data-grid-toolbar-component.js +2 -2
- package/esm2015/public_api.js +20 -21
- package/esm5/lib/CanvasGridCellBase.js +52 -52
- package/esm5/lib/CanvasTemplateCellPresenter.js +7 -7
- package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListBridge.js +1 -4
- package/esm5/lib/CheckboxListView_combined.js +179 -179
- package/esm5/lib/ColumnChooserView_combined.js +41 -41
- package/esm5/lib/ColumnFilterCondition_combined.js +654 -654
- package/esm5/lib/ColumnGroupingView_combined.js +40 -40
- package/esm5/lib/ColumnPinningView_combined.js +41 -41
- package/esm5/lib/DataGridAccessibilityLayoutPanel.js +2 -2
- package/esm5/lib/DataGridCellLayoutPanel.js +48 -48
- package/esm5/lib/DataGridToolbarView_combined.js +86 -86
- package/esm5/lib/EditorCell.js +85 -85
- package/esm5/lib/EditorCellPresenter.js +1 -1
- package/esm5/lib/FilterCell.js +88 -88
- package/esm5/lib/FilterCellPresenter.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +7 -7
- package/esm5/lib/ISummaryChooserView_combined.js +6 -6
- package/esm5/lib/TemplateHeader.js +1 -1
- package/esm5/lib/igc-checkbox-list-component.js +31 -27
- package/esm5/lib/igc-column-chooser-component.js +2 -2
- package/esm5/lib/igc-column-pinning-component.js +2 -2
- package/esm5/lib/igc-data-grid-toolbar-component.js +2 -2
- package/esm5/public_api.js +20 -21
- package/fesm2015/igniteui-webcomponents-grids.js +1415 -1425
- package/fesm5/igniteui-webcomponents-grids.js +1395 -1405
- package/grids/combined.js +16296 -15683
- package/grids/lib/igc-grid-base-directive.d.ts +1 -0
- package/grids/lib/igc-row-island-component.d.ts +1 -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/CanvasGridCellBase.d.ts +7 -7
- package/lib/CanvasTemplateCellPresenter.d.ts +2 -2
- package/lib/CanvasTemplateHeaderCellPresenter.d.ts +2 -2
- package/lib/CheckboxListExternal.d.ts +6 -4
- package/lib/CheckboxListView_combined.d.ts +26 -26
- package/lib/ColumnChooserView_combined.d.ts +4 -4
- package/lib/ColumnFilterCondition_combined.d.ts +113 -113
- package/lib/ColumnGroupingView_combined.d.ts +2 -2
- package/lib/ColumnPinningView_combined.d.ts +4 -4
- package/lib/DataGridCellLayoutPanel.d.ts +3 -3
- package/lib/DataGridToolbarView_combined.d.ts +5 -5
- package/lib/EditorCell.d.ts +8 -8
- package/lib/FilterCell.d.ts +12 -12
- package/lib/igc-checkbox-list-component.d.ts +2 -0
- package/package.json +4 -4
- package/public_api.d.ts +20 -21
- package/esm2015/lib/CheckboxListViewExternal.js +0 -11
- package/esm5/lib/CheckboxListViewExternal.js +0 -11
- package/lib/CheckboxListViewExternal.d.ts +0 -16
|
@@ -16,7 +16,6 @@ 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";
|
|
@@ -35,6 +34,7 @@ import { DateTimeColumn } from "./DateTimeColumn";
|
|
|
35
34
|
import { NumericColumn } from "./NumericColumn";
|
|
36
35
|
import { TextColumn } from "./TextColumn";
|
|
37
36
|
import { ArgumentException } from "igniteui-webcomponents-core";
|
|
37
|
+
import { Size } from "igniteui-webcomponents-core";
|
|
38
38
|
import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
|
|
39
39
|
import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
|
|
40
40
|
/**
|
|
@@ -88,7 +88,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
88
88
|
var d = c.getExternal(this.b.t, c.rootWrapper, c.getExternal(this.b, null, null));
|
|
89
89
|
this.b.t.d = this.b.v;
|
|
90
90
|
this.b.t.p = this.b.aa;
|
|
91
|
-
this.b.t.t = this.b.
|
|
91
|
+
this.b.t.t = this.b.density;
|
|
92
92
|
var e = a.createElement("div");
|
|
93
93
|
var f = a.getSubRenderer(e);
|
|
94
94
|
var g = new XPrefix();
|
|
@@ -98,7 +98,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
98
98
|
var j = a.getSubRenderer(i);
|
|
99
99
|
this.c = new XIcon();
|
|
100
100
|
this.c.provideContainer(j);
|
|
101
|
-
this.c.fill = this.b.
|
|
101
|
+
this.c.fill = this.b.searchIconColor;
|
|
102
102
|
this.c.svgPath = CheckboxList.bw;
|
|
103
103
|
var k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
104
104
|
g.appendContentChild(i);
|
|
@@ -123,13 +123,13 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
123
123
|
var a = this.f.rootWrapper.getChildAt(3);
|
|
124
124
|
a.setStyleProperty("width", "100%");
|
|
125
125
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
126
|
-
if (this.b.
|
|
126
|
+
if (this.b.showSelectAll == false) {
|
|
127
127
|
a.setStyleProperty("height", "calc(100% - 50px");
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
130
130
|
a.setStyleProperty("height", "calc(100% - 75px");
|
|
131
131
|
}
|
|
132
|
-
if (!this.b.as && !this.b.
|
|
132
|
+
if (!this.b.as && !this.b.showSelectAll) {
|
|
133
133
|
a.setStyleProperty("height", "100%");
|
|
134
134
|
}
|
|
135
135
|
}
|
|
@@ -149,7 +149,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
149
149
|
a.setStyleProperty("display", "flex");
|
|
150
150
|
a.setStyleProperty("height", "100%");
|
|
151
151
|
a.setStyleProperty("align-items", "center");
|
|
152
|
-
switch (this.b.
|
|
152
|
+
switch (this.b.density) {
|
|
153
153
|
case 1:
|
|
154
154
|
a.setStyleProperty("margin-top", "-4px");
|
|
155
155
|
break;
|
|
@@ -343,7 +343,7 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
343
343
|
};
|
|
344
344
|
CheckboxListView.prototype.ai = function () {
|
|
345
345
|
if (null != this.i) {
|
|
346
|
-
var a = this.b.
|
|
346
|
+
var a = this.b.showSelectAll ? "flex" : "none";
|
|
347
347
|
this.j.setStyleProperty("display", a);
|
|
348
348
|
}
|
|
349
349
|
};
|
|
@@ -373,10 +373,10 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
373
373
|
}
|
|
374
374
|
this.a.indeterminate = false;
|
|
375
375
|
if (this.b.l == 0) {
|
|
376
|
-
this.a.checked = this.b.
|
|
376
|
+
this.a.checked = this.b.h.count == 0;
|
|
377
377
|
}
|
|
378
378
|
else {
|
|
379
|
-
this.a.checked = this.b.
|
|
379
|
+
this.a.checked = this.b.h.count != 0;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
finally {
|
|
@@ -405,37 +405,14 @@ var CheckboxListView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
405
405
|
var b = a.rootWrapper;
|
|
406
406
|
if (null != b) {
|
|
407
407
|
NativeUI.q(b, this.b.d5);
|
|
408
|
-
NativeUI.m(b, this.b.
|
|
408
|
+
NativeUI.m(b, this.b.backgroundColor);
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
CheckboxListView.prototype.ab = function () {
|
|
412
412
|
if (this.c != null) {
|
|
413
|
-
this.c.fill = this.b.
|
|
413
|
+
this.c.fill = this.b.searchIconColor;
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
|
-
CheckboxListView.prototype.aj = function () {
|
|
417
|
-
var a = 248;
|
|
418
|
-
var b = 0;
|
|
419
|
-
if (this.b.itemsSource == null) {
|
|
420
|
-
return new Size(1, a, b + 158);
|
|
421
|
-
}
|
|
422
|
-
var c = (this.b.itemsSource.length);
|
|
423
|
-
b += 4;
|
|
424
|
-
b += 16;
|
|
425
|
-
b += 38;
|
|
426
|
-
b += 8;
|
|
427
|
-
b += 4;
|
|
428
|
-
var d = this.b.h != null ? this.b.h.actualRowHeight : 30;
|
|
429
|
-
var e = d * c;
|
|
430
|
-
if (e > 150) {
|
|
431
|
-
b += 150;
|
|
432
|
-
b += 15;
|
|
433
|
-
}
|
|
434
|
-
else {
|
|
435
|
-
b += e;
|
|
436
|
-
}
|
|
437
|
-
return new Size(1, a, b);
|
|
438
|
-
};
|
|
439
416
|
CheckboxListView.prototype.ac = function () {
|
|
440
417
|
if (this.b.ag != null) {
|
|
441
418
|
this.i.setStyleProperty("font", this.b.ag.fontString);
|
|
@@ -472,8 +449,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
472
449
|
function CheckboxList() {
|
|
473
450
|
var _this = _super.call(this) || this;
|
|
474
451
|
_this.m = null;
|
|
475
|
-
_this.
|
|
476
|
-
_this.
|
|
452
|
+
_this.f = null;
|
|
453
|
+
_this.j = null;
|
|
477
454
|
_this.ad = null;
|
|
478
455
|
_this.d = null;
|
|
479
456
|
_this.ak = false;
|
|
@@ -482,7 +459,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
482
459
|
_this.s = null;
|
|
483
460
|
_this.al = false;
|
|
484
461
|
_this.ai = null;
|
|
485
|
-
_this.
|
|
462
|
+
_this.g = new GridSelectedKeysCollection();
|
|
486
463
|
_this.a = null;
|
|
487
464
|
_this.propertyChanged = null;
|
|
488
465
|
_this.selectedKeyAdded = null;
|
|
@@ -521,7 +498,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
521
498
|
_this.ay = -1;
|
|
522
499
|
_this.ar = true;
|
|
523
500
|
_this.ao = true;
|
|
524
|
-
var a = _this.
|
|
501
|
+
var a = _this.g;
|
|
525
502
|
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.cv));
|
|
526
503
|
_this.d = new FilterFactory();
|
|
527
504
|
var b = new CheckboxListView();
|
|
@@ -552,10 +529,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
552
529
|
});
|
|
553
530
|
Object.defineProperty(CheckboxList.prototype, "e", {
|
|
554
531
|
get: function () {
|
|
555
|
-
if (this.
|
|
532
|
+
if (this.f == null) {
|
|
556
533
|
return null;
|
|
557
534
|
}
|
|
558
|
-
return this.
|
|
535
|
+
return this.f.actualDataSource;
|
|
559
536
|
},
|
|
560
537
|
enumerable: false,
|
|
561
538
|
configurable: true
|
|
@@ -571,14 +548,14 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
571
548
|
enumerable: false,
|
|
572
549
|
configurable: true
|
|
573
550
|
});
|
|
574
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
551
|
+
Object.defineProperty(CheckboxList.prototype, "h", {
|
|
575
552
|
get: function () {
|
|
576
|
-
return this.
|
|
553
|
+
return this.g;
|
|
577
554
|
},
|
|
578
555
|
enumerable: false,
|
|
579
556
|
configurable: true
|
|
580
557
|
});
|
|
581
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
558
|
+
Object.defineProperty(CheckboxList.prototype, "primaryKey", {
|
|
582
559
|
get: function () {
|
|
583
560
|
return this.a;
|
|
584
561
|
},
|
|
@@ -617,8 +594,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
617
594
|
break;
|
|
618
595
|
case 4:
|
|
619
596
|
this.m.u(this.l == 0);
|
|
620
|
-
for (var g = 0; g < this.
|
|
621
|
-
this.cp(this.
|
|
597
|
+
for (var g = 0; g < this.h.ae.count; g++) {
|
|
598
|
+
this.cp(this.h.ae._inner[g]);
|
|
622
599
|
}
|
|
623
600
|
break;
|
|
624
601
|
}
|
|
@@ -679,13 +656,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
679
656
|
this.m.l();
|
|
680
657
|
};
|
|
681
658
|
CheckboxList.prototype.destroy = function () {
|
|
682
|
-
if (this.
|
|
683
|
-
var a = this.
|
|
659
|
+
if (this.f != null) {
|
|
660
|
+
var a = this.f;
|
|
684
661
|
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ce));
|
|
685
|
-
var b = this.
|
|
662
|
+
var b = this.f;
|
|
686
663
|
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cf));
|
|
687
|
-
if (this.
|
|
688
|
-
var c = this.
|
|
664
|
+
if (this.f.actualDataSource != null) {
|
|
665
|
+
var c = this.f.actualDataSource;
|
|
689
666
|
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.cs));
|
|
690
667
|
}
|
|
691
668
|
}
|
|
@@ -694,28 +671,28 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
694
671
|
d.change = delegateRemove(d.change, runOn(this, this.cg));
|
|
695
672
|
}
|
|
696
673
|
this.provideContainer(null, null, null);
|
|
697
|
-
if (this.
|
|
698
|
-
var e = this.
|
|
674
|
+
if (this.j != null) {
|
|
675
|
+
var e = this.j;
|
|
699
676
|
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cb));
|
|
700
677
|
}
|
|
701
678
|
};
|
|
702
679
|
CheckboxList.prototype.provideContainer = function (a, b, c) {
|
|
703
|
-
this.
|
|
704
|
-
if (null != this.
|
|
705
|
-
this.
|
|
706
|
-
var d = this.
|
|
680
|
+
this.f = b;
|
|
681
|
+
if (null != this.f) {
|
|
682
|
+
this.f.scrollbarStyle = 1;
|
|
683
|
+
var d = this.f;
|
|
707
684
|
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cf));
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
711
|
-
this.
|
|
712
|
-
this.
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
715
|
-
var e = this.
|
|
685
|
+
this.f.scrollbarBackground = this.dy;
|
|
686
|
+
this.f.headerHeight = 0;
|
|
687
|
+
this.f.rowSeparatorHeight = 0;
|
|
688
|
+
this.f.defaultColumnMinWidth = NaN;
|
|
689
|
+
this.f.autoGenerateColumns = false;
|
|
690
|
+
this.f.activationMode = 0;
|
|
691
|
+
this.f.editMode = 0;
|
|
692
|
+
var e = this.f;
|
|
716
693
|
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ce));
|
|
717
694
|
if (this.a0 != null) {
|
|
718
|
-
this.
|
|
695
|
+
this.f.itemsSource = this.a0;
|
|
719
696
|
this.ca();
|
|
720
697
|
this.cu();
|
|
721
698
|
}
|
|
@@ -728,7 +705,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
728
705
|
this.m.m(a);
|
|
729
706
|
};
|
|
730
707
|
CheckboxList.prototype.cf = function (a, b) {
|
|
731
|
-
this.
|
|
708
|
+
this.f.scrollbarStyle = this.y;
|
|
732
709
|
};
|
|
733
710
|
CheckboxList.prototype.provideSelectAllSection = function (a) {
|
|
734
711
|
this.m.q(a);
|
|
@@ -742,18 +719,18 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
742
719
|
return;
|
|
743
720
|
}
|
|
744
721
|
var d = b.cellInfo.g4;
|
|
745
|
-
var e = this.
|
|
746
|
-
if (this.
|
|
722
|
+
var e = this.i(d);
|
|
723
|
+
if (this.h.contains(e)) {
|
|
747
724
|
if (this.ad != null) {
|
|
748
725
|
this.ad.setPropertyValue(d, false);
|
|
749
726
|
}
|
|
750
|
-
this.
|
|
727
|
+
this.h.remove(e);
|
|
751
728
|
}
|
|
752
729
|
else {
|
|
753
730
|
if (this.ad != null) {
|
|
754
731
|
this.ad.setPropertyValue(d, true);
|
|
755
732
|
}
|
|
756
|
-
this.
|
|
733
|
+
this.h.add(e);
|
|
757
734
|
}
|
|
758
735
|
};
|
|
759
736
|
CheckboxList.prototype.cb = function (a, b) {
|
|
@@ -763,8 +740,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
763
740
|
}
|
|
764
741
|
var d = false;
|
|
765
742
|
if (b.cellInfo.g4 != null) {
|
|
766
|
-
var e = this.
|
|
767
|
-
if (this.
|
|
743
|
+
var e = this.i(b.cellInfo.g4);
|
|
744
|
+
if (this.h.contains(e)) {
|
|
768
745
|
d = true;
|
|
769
746
|
}
|
|
770
747
|
}
|
|
@@ -774,13 +751,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
774
751
|
if (this.a2 != null) {
|
|
775
752
|
var b = this.d.property(this.a2).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
776
753
|
var c = b.contains(a);
|
|
777
|
-
if (!this.
|
|
754
|
+
if (!this.f.filterExpressions.k.contains(this.c)) {
|
|
778
755
|
this.c = c;
|
|
779
|
-
this.
|
|
756
|
+
this.f.filterExpressions.add(this.c);
|
|
780
757
|
}
|
|
781
758
|
else {
|
|
782
|
-
var d = this.
|
|
783
|
-
this.
|
|
759
|
+
var d = this.f.filterExpressions.k.indexOf(this.c);
|
|
760
|
+
this.f.filterExpressions.k.item(d, this.c = c);
|
|
784
761
|
}
|
|
785
762
|
}
|
|
786
763
|
};
|
|
@@ -798,7 +775,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
798
775
|
enumerable: false,
|
|
799
776
|
configurable: true
|
|
800
777
|
});
|
|
801
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
778
|
+
Object.defineProperty(CheckboxList.prototype, "dataMemberPath", {
|
|
802
779
|
get: function () {
|
|
803
780
|
return this.a2;
|
|
804
781
|
},
|
|
@@ -812,7 +789,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
812
789
|
enumerable: false,
|
|
813
790
|
configurable: true
|
|
814
791
|
});
|
|
815
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
792
|
+
Object.defineProperty(CheckboxList.prototype, "selectedMemberPath", {
|
|
816
793
|
get: function () {
|
|
817
794
|
return this.a4;
|
|
818
795
|
},
|
|
@@ -870,8 +847,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
870
847
|
});
|
|
871
848
|
Object.defineProperty(CheckboxList.prototype, "ax", {
|
|
872
849
|
get: function () {
|
|
873
|
-
if (this.
|
|
874
|
-
return this.
|
|
850
|
+
if (this.f != null) {
|
|
851
|
+
return this.f.actualRowHeight;
|
|
875
852
|
}
|
|
876
853
|
return -1;
|
|
877
854
|
},
|
|
@@ -920,7 +897,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
920
897
|
enumerable: false,
|
|
921
898
|
configurable: true
|
|
922
899
|
});
|
|
923
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
900
|
+
Object.defineProperty(CheckboxList.prototype, "density", {
|
|
924
901
|
get: function () {
|
|
925
902
|
return this.ab;
|
|
926
903
|
},
|
|
@@ -934,7 +911,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
934
911
|
enumerable: false,
|
|
935
912
|
configurable: true
|
|
936
913
|
});
|
|
937
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
914
|
+
Object.defineProperty(CheckboxList.prototype, "searchIconColor", {
|
|
938
915
|
get: function () {
|
|
939
916
|
return this.di;
|
|
940
917
|
},
|
|
@@ -962,7 +939,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
962
939
|
enumerable: false,
|
|
963
940
|
configurable: true
|
|
964
941
|
});
|
|
965
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
942
|
+
Object.defineProperty(CheckboxList.prototype, "searchTextColor", {
|
|
966
943
|
get: function () {
|
|
967
944
|
return this.dj;
|
|
968
945
|
},
|
|
@@ -1111,22 +1088,22 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1111
1088
|
CheckboxList.prototype.cw = function (a, b, c) {
|
|
1112
1089
|
switch (a) {
|
|
1113
1090
|
case "ItemsSource":
|
|
1114
|
-
if (this.
|
|
1091
|
+
if (this.f != null) {
|
|
1115
1092
|
this.l = 1;
|
|
1116
1093
|
if (c != null) {
|
|
1117
|
-
this.
|
|
1118
|
-
this.
|
|
1119
|
-
this.
|
|
1120
|
-
this.
|
|
1094
|
+
this.f.groupDescriptions.n();
|
|
1095
|
+
this.f.sortDescriptions.n();
|
|
1096
|
+
this.f.filterExpressions.clear();
|
|
1097
|
+
this.f.summaryDescriptions.n();
|
|
1121
1098
|
}
|
|
1122
|
-
if (this.
|
|
1123
|
-
var d = this.
|
|
1099
|
+
if (this.f.actualDataSource != null) {
|
|
1100
|
+
var d = this.f.actualDataSource;
|
|
1124
1101
|
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.cs));
|
|
1125
1102
|
}
|
|
1126
|
-
this.
|
|
1103
|
+
this.f.itemsSource = this.a0;
|
|
1127
1104
|
this.ca();
|
|
1128
|
-
if (this.
|
|
1129
|
-
var e = this.
|
|
1105
|
+
if (this.f.actualDataSource != null) {
|
|
1106
|
+
var e = this.f.actualDataSource;
|
|
1130
1107
|
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.cs));
|
|
1131
1108
|
}
|
|
1132
1109
|
this.al = true;
|
|
@@ -1137,7 +1114,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1137
1114
|
break;
|
|
1138
1115
|
case "DataMemberPath":
|
|
1139
1116
|
case "SelectedMemberPath":
|
|
1140
|
-
if (this.
|
|
1117
|
+
if (this.f != null) {
|
|
1141
1118
|
if (this.a2 != null) {
|
|
1142
1119
|
this.cu();
|
|
1143
1120
|
this.c5();
|
|
@@ -1145,8 +1122,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1145
1122
|
}
|
|
1146
1123
|
break;
|
|
1147
1124
|
case "PrimaryKey":
|
|
1148
|
-
if (this.
|
|
1149
|
-
this.
|
|
1125
|
+
if (this.f != null) {
|
|
1126
|
+
this.f.primaryKey = this.primaryKey;
|
|
1150
1127
|
}
|
|
1151
1128
|
break;
|
|
1152
1129
|
case "SelectAllCaptionTextColor":
|
|
@@ -1175,25 +1152,25 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1175
1152
|
}
|
|
1176
1153
|
break;
|
|
1177
1154
|
case "RowHeight":
|
|
1178
|
-
if (this.
|
|
1179
|
-
this.
|
|
1155
|
+
if (this.f != null) {
|
|
1156
|
+
this.f.rowHeight = this.az;
|
|
1180
1157
|
}
|
|
1181
1158
|
break;
|
|
1182
1159
|
case "CellTextStyle":
|
|
1183
|
-
if (this.
|
|
1184
|
-
this.
|
|
1160
|
+
if (this.f != null) {
|
|
1161
|
+
this.f.cellTextStyle = this.ag;
|
|
1185
1162
|
}
|
|
1186
1163
|
this.m.ac();
|
|
1187
1164
|
break;
|
|
1188
1165
|
case "BackgroundColor":
|
|
1189
1166
|
case "TextColor":
|
|
1190
1167
|
case "RowHoverBackgroundColor":
|
|
1191
|
-
var f = this.
|
|
1168
|
+
var f = this.f;
|
|
1192
1169
|
if (null != f) {
|
|
1193
1170
|
f.cellTextColor = this.d5;
|
|
1194
|
-
f.cellBackground = this.
|
|
1195
|
-
f.cellSelectedBackground = this.
|
|
1196
|
-
f.rowHoverBackground = this.
|
|
1171
|
+
f.cellBackground = this.backgroundColor;
|
|
1172
|
+
f.cellSelectedBackground = this.backgroundColor;
|
|
1173
|
+
f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1197
1174
|
}
|
|
1198
1175
|
this.m.ad();
|
|
1199
1176
|
break;
|
|
@@ -1204,18 +1181,18 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1204
1181
|
this.c3();
|
|
1205
1182
|
break;
|
|
1206
1183
|
case "IsRowHoverEnabled":
|
|
1207
|
-
if (this.
|
|
1208
|
-
this.
|
|
1184
|
+
if (this.f != null) {
|
|
1185
|
+
this.f.isRowHoverEnabled = this.ap;
|
|
1209
1186
|
}
|
|
1210
1187
|
break;
|
|
1211
1188
|
case "ScrollbarStyle":
|
|
1212
|
-
if (this.
|
|
1213
|
-
this.
|
|
1189
|
+
if (this.f != null) {
|
|
1190
|
+
this.f.scrollbarStyle = this.y;
|
|
1214
1191
|
}
|
|
1215
1192
|
break;
|
|
1216
1193
|
case "ScrollbarBackground":
|
|
1217
|
-
if (this.
|
|
1218
|
-
this.
|
|
1194
|
+
if (this.f != null) {
|
|
1195
|
+
this.f.scrollbarBackground = this.dy;
|
|
1219
1196
|
}
|
|
1220
1197
|
break;
|
|
1221
1198
|
case "SearchIconColor":
|
|
@@ -1229,7 +1206,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1229
1206
|
break;
|
|
1230
1207
|
case "SearchTextColor":
|
|
1231
1208
|
if (this.r != null) {
|
|
1232
|
-
this.r.d8 = this.
|
|
1209
|
+
this.r.d8 = this.searchTextColor;
|
|
1233
1210
|
}
|
|
1234
1211
|
break;
|
|
1235
1212
|
case "SearchTextStyle":
|
|
@@ -1241,18 +1218,18 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1241
1218
|
case "CheckboxCheckedBorderColor":
|
|
1242
1219
|
case "CheckboxUncheckedBorderColor":
|
|
1243
1220
|
this.m.y();
|
|
1244
|
-
if (this.
|
|
1245
|
-
this.
|
|
1221
|
+
if (this.f != null) {
|
|
1222
|
+
this.f.w9();
|
|
1246
1223
|
}
|
|
1247
1224
|
break;
|
|
1248
1225
|
}
|
|
1249
1226
|
};
|
|
1250
1227
|
CheckboxList.prototype.c3 = function () {
|
|
1251
|
-
if (this.
|
|
1252
|
-
this.
|
|
1228
|
+
if (this.f != null) {
|
|
1229
|
+
this.f.density = this.density;
|
|
1253
1230
|
}
|
|
1254
1231
|
if (this.s != null) {
|
|
1255
|
-
this.s.t = this.
|
|
1232
|
+
this.s.t = this.density;
|
|
1256
1233
|
}
|
|
1257
1234
|
this.m.x();
|
|
1258
1235
|
};
|
|
@@ -1261,13 +1238,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1261
1238
|
this.s.p = this.aa;
|
|
1262
1239
|
}
|
|
1263
1240
|
if (this.r != null) {
|
|
1264
|
-
this.r.d8 = this.
|
|
1241
|
+
this.r.d8 = this.searchTextColor;
|
|
1265
1242
|
}
|
|
1266
|
-
if (this.
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1269
|
-
this.
|
|
1270
|
-
this.
|
|
1243
|
+
if (this.f != null) {
|
|
1244
|
+
this.f.cellTextColor = this.d5;
|
|
1245
|
+
this.f.cellBackground = this.backgroundColor;
|
|
1246
|
+
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1247
|
+
this.f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1271
1248
|
}
|
|
1272
1249
|
this.m.z();
|
|
1273
1250
|
};
|
|
@@ -1276,8 +1253,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1276
1253
|
this.ca();
|
|
1277
1254
|
if (b.schema != null) {
|
|
1278
1255
|
this.cu();
|
|
1279
|
-
for (var c = 0; c < this.
|
|
1280
|
-
this.cp(this.
|
|
1256
|
+
for (var c = 0; c < this.h.count; c++) {
|
|
1257
|
+
this.cp(this.h._inner[c]);
|
|
1281
1258
|
}
|
|
1282
1259
|
this.m.ag();
|
|
1283
1260
|
}
|
|
@@ -1287,33 +1264,33 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1287
1264
|
if (this.ad == null && this.a4 != null && this.a4 != "") {
|
|
1288
1265
|
this.ad = new FastReflectionHelper(false, this.a4);
|
|
1289
1266
|
}
|
|
1290
|
-
if (this.a0 != null && this.ad != null && this.
|
|
1267
|
+
if (this.a0 != null && this.ad != null && this.f.actualDataSource.actualSchema != null) {
|
|
1291
1268
|
this.ad.propertyName = this.a4;
|
|
1292
|
-
var a = this.
|
|
1269
|
+
var a = this.f.actualDataSource.actualCount;
|
|
1293
1270
|
for (var b = 0; b < a; b++) {
|
|
1294
|
-
var c = this.
|
|
1271
|
+
var c = this.f.actualDataSource.getItemAtIndex(b);
|
|
1295
1272
|
var d = this.ad.getPropertyValue(c);
|
|
1296
1273
|
if (d == true) {
|
|
1297
|
-
var e = this.
|
|
1298
|
-
if (!this.
|
|
1299
|
-
this.
|
|
1274
|
+
var e = this.i(c);
|
|
1275
|
+
if (!this.h.contains(e)) {
|
|
1276
|
+
this.h.add(e);
|
|
1300
1277
|
}
|
|
1301
1278
|
}
|
|
1302
1279
|
}
|
|
1303
1280
|
}
|
|
1304
1281
|
};
|
|
1305
1282
|
CheckboxList.prototype.c5 = function () {
|
|
1306
|
-
this.
|
|
1307
|
-
this.
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1310
|
-
this.
|
|
1311
|
-
this.
|
|
1312
|
-
this.
|
|
1313
|
-
this.
|
|
1314
|
-
this.
|
|
1283
|
+
this.f.actualColumns.clear();
|
|
1284
|
+
this.f.primaryKey = this.primaryKey;
|
|
1285
|
+
this.f.isGroupRowSticky = false;
|
|
1286
|
+
this.f.rowHeight = this.az;
|
|
1287
|
+
this.f.cellBackground = this.backgroundColor;
|
|
1288
|
+
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1289
|
+
this.f.density = this.density;
|
|
1290
|
+
this.f.isRowHoverEnabled = this.ap;
|
|
1291
|
+
this.f.borderWidth = new Thickness(0, 0);
|
|
1315
1292
|
if (this.ag != null) {
|
|
1316
|
-
this.
|
|
1293
|
+
this.f.cellTextStyle = this.ag;
|
|
1317
1294
|
}
|
|
1318
1295
|
var a = new TemplateColumn();
|
|
1319
1296
|
if (this.a4 == null) {
|
|
@@ -1328,9 +1305,9 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1328
1305
|
a.h2 = 0;
|
|
1329
1306
|
a.h3 = 0;
|
|
1330
1307
|
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cb));
|
|
1331
|
-
this.
|
|
1332
|
-
this.
|
|
1333
|
-
var c = this.
|
|
1308
|
+
this.f.columns.add(a);
|
|
1309
|
+
this.j = a;
|
|
1310
|
+
var c = this.f.actualDataSource.resolveSchemaPropertyType(this.a2);
|
|
1334
1311
|
var d;
|
|
1335
1312
|
switch (c) {
|
|
1336
1313
|
case 8:
|
|
@@ -1357,7 +1334,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1357
1334
|
d.jz = "DataColumn";
|
|
1358
1335
|
d.h2 = 0;
|
|
1359
1336
|
d.e = 0;
|
|
1360
|
-
this.
|
|
1337
|
+
this.f.columns.add(d);
|
|
1361
1338
|
};
|
|
1362
1339
|
CheckboxList.prototype.updateHrMargin = function (a) {
|
|
1363
1340
|
this.m.aa(a);
|
|
@@ -1374,14 +1351,14 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1374
1351
|
var c = b.value.toLowerCase();
|
|
1375
1352
|
this.cn(c);
|
|
1376
1353
|
};
|
|
1377
|
-
CheckboxList.prototype.
|
|
1378
|
-
if (this.
|
|
1354
|
+
CheckboxList.prototype.i = function (a) {
|
|
1355
|
+
if (this.primaryKey == null) {
|
|
1379
1356
|
return PrimaryKeyValue.createIdentityKey(a);
|
|
1380
1357
|
}
|
|
1381
|
-
var b = new Array(this.
|
|
1382
|
-
var c = new Array(this.
|
|
1358
|
+
var b = new Array(this.primaryKey.length);
|
|
1359
|
+
var c = new Array(this.primaryKey.length);
|
|
1383
1360
|
for (var d = 0; d < b.length; d++) {
|
|
1384
|
-
b[d] = this.
|
|
1361
|
+
b[d] = this.primaryKey[d];
|
|
1385
1362
|
c[d] = this.e.getItemProperty(a, b[d]);
|
|
1386
1363
|
}
|
|
1387
1364
|
return new PrimaryKeyValue(b, c);
|
|
@@ -1392,8 +1369,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1392
1369
|
if (this.ad != null) {
|
|
1393
1370
|
this.ad.setPropertyValue(b, false);
|
|
1394
1371
|
}
|
|
1395
|
-
var c = this.
|
|
1396
|
-
this.
|
|
1372
|
+
var c = this.i(b);
|
|
1373
|
+
this.h.remove(c);
|
|
1397
1374
|
this.ak = false;
|
|
1398
1375
|
};
|
|
1399
1376
|
CheckboxList.prototype.b8 = function (a) {
|
|
@@ -1402,51 +1379,51 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1402
1379
|
if (this.ad != null) {
|
|
1403
1380
|
this.ad.setPropertyValue(b, true);
|
|
1404
1381
|
}
|
|
1405
|
-
var c = this.
|
|
1406
|
-
this.
|
|
1382
|
+
var c = this.i(b);
|
|
1383
|
+
this.h.add(c);
|
|
1407
1384
|
this.ak = false;
|
|
1408
1385
|
};
|
|
1409
1386
|
CheckboxList.prototype.c2 = function () {
|
|
1410
1387
|
this.l = 0;
|
|
1411
|
-
this.
|
|
1388
|
+
this.h.clear();
|
|
1412
1389
|
this.ch();
|
|
1413
1390
|
this.m.ag();
|
|
1414
1391
|
};
|
|
1415
1392
|
CheckboxList.prototype.cc = function () {
|
|
1416
1393
|
this.l = 1;
|
|
1417
|
-
this.
|
|
1394
|
+
this.h.clear();
|
|
1418
1395
|
this.ch();
|
|
1419
1396
|
this.m.ag();
|
|
1420
1397
|
};
|
|
1421
1398
|
CheckboxList.prototype.ck = function (a, b, c) {
|
|
1422
|
-
if (this.
|
|
1423
|
-
this.
|
|
1399
|
+
if (this.f != null) {
|
|
1400
|
+
this.f.notifySetItem(a, b, c);
|
|
1424
1401
|
}
|
|
1425
1402
|
};
|
|
1426
1403
|
CheckboxList.prototype.ch = function () {
|
|
1427
|
-
if (this.
|
|
1428
|
-
this.
|
|
1404
|
+
if (this.f != null) {
|
|
1405
|
+
this.f.notifyClearItems();
|
|
1429
1406
|
}
|
|
1430
1407
|
};
|
|
1431
1408
|
CheckboxList.prototype.ci = function (a, b) {
|
|
1432
|
-
if (this.
|
|
1433
|
-
this.
|
|
1409
|
+
if (this.f != null) {
|
|
1410
|
+
this.f.notifyInsertItem(a, b);
|
|
1434
1411
|
}
|
|
1435
1412
|
;
|
|
1436
1413
|
};
|
|
1437
1414
|
CheckboxList.prototype.cj = function (a, b) {
|
|
1438
|
-
if (this.
|
|
1439
|
-
this.
|
|
1415
|
+
if (this.f != null) {
|
|
1416
|
+
this.f.notifyRemoveItem(a, b);
|
|
1440
1417
|
}
|
|
1441
1418
|
;
|
|
1442
1419
|
};
|
|
1443
1420
|
CheckboxList.prototype.b9 = function (a) {
|
|
1444
1421
|
var b = null;
|
|
1445
|
-
if (this.
|
|
1422
|
+
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1446
1423
|
b = new PrimaryKeyValue(null, a);
|
|
1447
1424
|
}
|
|
1448
|
-
else if (this.
|
|
1449
|
-
b = new PrimaryKeyValue(this.
|
|
1425
|
+
else if (this.primaryKey.length == a.length) {
|
|
1426
|
+
b = new PrimaryKeyValue(this.primaryKey, a);
|
|
1450
1427
|
}
|
|
1451
1428
|
else {
|
|
1452
1429
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
@@ -1457,29 +1434,52 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1457
1434
|
var d = this.e.getItemAtIndex(c);
|
|
1458
1435
|
this.ad.setPropertyValue(d, true);
|
|
1459
1436
|
}
|
|
1460
|
-
this.
|
|
1437
|
+
this.h.add(b);
|
|
1461
1438
|
}
|
|
1462
1439
|
};
|
|
1463
1440
|
CheckboxList.prototype.c1 = function (a) {
|
|
1464
1441
|
var b = null;
|
|
1465
|
-
if (this.
|
|
1442
|
+
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1466
1443
|
b = new PrimaryKeyValue(null, a);
|
|
1467
1444
|
}
|
|
1468
|
-
else if (this.
|
|
1469
|
-
b = new PrimaryKeyValue(this.
|
|
1445
|
+
else if (this.primaryKey.length == a.length) {
|
|
1446
|
+
b = new PrimaryKeyValue(this.primaryKey, a);
|
|
1470
1447
|
}
|
|
1471
1448
|
else {
|
|
1472
1449
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1473
1450
|
}
|
|
1474
|
-
if (this.
|
|
1451
|
+
if (this.h.contains(b)) {
|
|
1475
1452
|
if (this.ad != null) {
|
|
1476
1453
|
var c = this.e.indexOfKey(a);
|
|
1477
1454
|
var d = this.e.getItemAtIndex(c);
|
|
1478
1455
|
this.ad.setPropertyValue(d, false);
|
|
1479
1456
|
}
|
|
1480
|
-
this.
|
|
1457
|
+
this.h.remove(b);
|
|
1481
1458
|
}
|
|
1482
1459
|
};
|
|
1460
|
+
CheckboxList.prototype.getDesiredSize = function () {
|
|
1461
|
+
var a = 248;
|
|
1462
|
+
var b = 0;
|
|
1463
|
+
if (this.itemsSource == null) {
|
|
1464
|
+
return new Size(1, a, b + 158);
|
|
1465
|
+
}
|
|
1466
|
+
b += 4;
|
|
1467
|
+
b += 16;
|
|
1468
|
+
b += 38;
|
|
1469
|
+
b += 8;
|
|
1470
|
+
b += 4;
|
|
1471
|
+
var c = this.f != null ? this.f.actualRowHeight : 30;
|
|
1472
|
+
var d = (this.itemsSource.length);
|
|
1473
|
+
var e = c * d;
|
|
1474
|
+
if (e > 150) {
|
|
1475
|
+
b += 150;
|
|
1476
|
+
b += 15;
|
|
1477
|
+
}
|
|
1478
|
+
else {
|
|
1479
|
+
b += e;
|
|
1480
|
+
}
|
|
1481
|
+
return new Size(1, a, b);
|
|
1482
|
+
};
|
|
1483
1483
|
Object.defineProperty(CheckboxList.prototype, "b0", {
|
|
1484
1484
|
get: function () {
|
|
1485
1485
|
return this.bz != null ? this.bz : !stringIsNullOrWhiteSpace(this.aj.b1("Select_All")) ? this.aj.b1("Select_All") : "(Select All)";
|
|
@@ -1528,7 +1528,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1528
1528
|
if (-1 == this.ay) {
|
|
1529
1529
|
return false;
|
|
1530
1530
|
}
|
|
1531
|
-
var a = this.
|
|
1531
|
+
var a = this.h.count;
|
|
1532
1532
|
if (0 == a) {
|
|
1533
1533
|
return false;
|
|
1534
1534
|
}
|
|
@@ -1540,7 +1540,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1540
1540
|
enumerable: false,
|
|
1541
1541
|
configurable: true
|
|
1542
1542
|
});
|
|
1543
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1543
|
+
Object.defineProperty(CheckboxList.prototype, "showSelectAll", {
|
|
1544
1544
|
get: function () {
|
|
1545
1545
|
return this.at;
|
|
1546
1546
|
},
|
|
@@ -1555,7 +1555,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1555
1555
|
enumerable: false,
|
|
1556
1556
|
configurable: true
|
|
1557
1557
|
});
|
|
1558
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1558
|
+
Object.defineProperty(CheckboxList.prototype, "backgroundColor", {
|
|
1559
1559
|
get: function () {
|
|
1560
1560
|
return this.c8;
|
|
1561
1561
|
},
|
|
@@ -1569,7 +1569,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1569
1569
|
enumerable: false,
|
|
1570
1570
|
configurable: true
|
|
1571
1571
|
});
|
|
1572
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
1572
|
+
Object.defineProperty(CheckboxList.prototype, "rowHoverBackgroundColor", {
|
|
1573
1573
|
get: function () {
|
|
1574
1574
|
return this.de;
|
|
1575
1575
|
},
|
|
@@ -1610,7 +1610,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1610
1610
|
if (-1 == this.ay) {
|
|
1611
1611
|
return true;
|
|
1612
1612
|
}
|
|
1613
|
-
var a = this.
|
|
1613
|
+
var a = this.h.count;
|
|
1614
1614
|
switch (this.l) {
|
|
1615
1615
|
case 0: return this.ay == a;
|
|
1616
1616
|
case 1: return 0 == a;
|
|
@@ -1621,7 +1621,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1621
1621
|
if (-1 == this.ay) {
|
|
1622
1622
|
return false;
|
|
1623
1623
|
}
|
|
1624
|
-
var a = this.
|
|
1624
|
+
var a = this.h.count;
|
|
1625
1625
|
switch (this.l) {
|
|
1626
1626
|
case 0: return 0 == a;
|
|
1627
1627
|
case 1: return this.ay == a;
|
|
@@ -1629,7 +1629,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
};
|
|
1631
1631
|
CheckboxList.prototype.ca = function () {
|
|
1632
|
-
var a = this.
|
|
1632
|
+
var a = this.f.actualDataSource;
|
|
1633
1633
|
if (null != a) {
|
|
1634
1634
|
if (null == a.actualSchema) {
|
|
1635
1635
|
this.ay = -1;
|