igniteui-webcomponents-grids 5.0.1 → 5.0.2
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 +1366 -1366
- 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/CheckboxListView_combined.js +165 -165
- 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 +26 -26
- 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 -20
- 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/CheckboxListView_combined.js +156 -156
- 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 +26 -26
- 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 -20
- package/fesm2015/igniteui-webcomponents-grids.js +1386 -1386
- package/fesm5/igniteui-webcomponents-grids.js +1366 -1366
- package/grids/combined.js +587 -590
- 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/CheckboxListView_combined.d.ts +23 -23
- 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/package.json +4 -4
- package/public_api.d.ts +20 -20
|
@@ -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,12 +405,12 @@ 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
416
|
CheckboxListView.prototype.ac = function () {
|
|
@@ -449,8 +449,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
449
449
|
function CheckboxList() {
|
|
450
450
|
var _this = _super.call(this) || this;
|
|
451
451
|
_this.m = null;
|
|
452
|
-
_this.
|
|
453
|
-
_this.
|
|
452
|
+
_this.f = null;
|
|
453
|
+
_this.j = null;
|
|
454
454
|
_this.ad = null;
|
|
455
455
|
_this.d = null;
|
|
456
456
|
_this.ak = false;
|
|
@@ -459,7 +459,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
459
459
|
_this.s = null;
|
|
460
460
|
_this.al = false;
|
|
461
461
|
_this.ai = null;
|
|
462
|
-
_this.
|
|
462
|
+
_this.g = new GridSelectedKeysCollection();
|
|
463
463
|
_this.a = null;
|
|
464
464
|
_this.propertyChanged = null;
|
|
465
465
|
_this.selectedKeyAdded = null;
|
|
@@ -498,7 +498,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
498
498
|
_this.ay = -1;
|
|
499
499
|
_this.ar = true;
|
|
500
500
|
_this.ao = true;
|
|
501
|
-
var a = _this.
|
|
501
|
+
var a = _this.g;
|
|
502
502
|
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(_this, _this.cv));
|
|
503
503
|
_this.d = new FilterFactory();
|
|
504
504
|
var b = new CheckboxListView();
|
|
@@ -529,10 +529,10 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
529
529
|
});
|
|
530
530
|
Object.defineProperty(CheckboxList.prototype, "e", {
|
|
531
531
|
get: function () {
|
|
532
|
-
if (this.
|
|
532
|
+
if (this.f == null) {
|
|
533
533
|
return null;
|
|
534
534
|
}
|
|
535
|
-
return this.
|
|
535
|
+
return this.f.actualDataSource;
|
|
536
536
|
},
|
|
537
537
|
enumerable: false,
|
|
538
538
|
configurable: true
|
|
@@ -548,14 +548,14 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
548
548
|
enumerable: false,
|
|
549
549
|
configurable: true
|
|
550
550
|
});
|
|
551
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
551
|
+
Object.defineProperty(CheckboxList.prototype, "h", {
|
|
552
552
|
get: function () {
|
|
553
|
-
return this.
|
|
553
|
+
return this.g;
|
|
554
554
|
},
|
|
555
555
|
enumerable: false,
|
|
556
556
|
configurable: true
|
|
557
557
|
});
|
|
558
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
558
|
+
Object.defineProperty(CheckboxList.prototype, "primaryKey", {
|
|
559
559
|
get: function () {
|
|
560
560
|
return this.a;
|
|
561
561
|
},
|
|
@@ -594,8 +594,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
594
594
|
break;
|
|
595
595
|
case 4:
|
|
596
596
|
this.m.u(this.l == 0);
|
|
597
|
-
for (var g = 0; g < this.
|
|
598
|
-
this.cp(this.
|
|
597
|
+
for (var g = 0; g < this.h.ae.count; g++) {
|
|
598
|
+
this.cp(this.h.ae._inner[g]);
|
|
599
599
|
}
|
|
600
600
|
break;
|
|
601
601
|
}
|
|
@@ -656,13 +656,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
656
656
|
this.m.l();
|
|
657
657
|
};
|
|
658
658
|
CheckboxList.prototype.destroy = function () {
|
|
659
|
-
if (this.
|
|
660
|
-
var a = this.
|
|
659
|
+
if (this.f != null) {
|
|
660
|
+
var a = this.f;
|
|
661
661
|
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ce));
|
|
662
|
-
var b = this.
|
|
662
|
+
var b = this.f;
|
|
663
663
|
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cf));
|
|
664
|
-
if (this.
|
|
665
|
-
var c = this.
|
|
664
|
+
if (this.f.actualDataSource != null) {
|
|
665
|
+
var c = this.f.actualDataSource;
|
|
666
666
|
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.cs));
|
|
667
667
|
}
|
|
668
668
|
}
|
|
@@ -671,28 +671,28 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
671
671
|
d.change = delegateRemove(d.change, runOn(this, this.cg));
|
|
672
672
|
}
|
|
673
673
|
this.provideContainer(null, null, null);
|
|
674
|
-
if (this.
|
|
675
|
-
var e = this.
|
|
674
|
+
if (this.j != null) {
|
|
675
|
+
var e = this.j;
|
|
676
676
|
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cb));
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
679
|
CheckboxList.prototype.provideContainer = function (a, b, c) {
|
|
680
|
-
this.
|
|
681
|
-
if (null != this.
|
|
682
|
-
this.
|
|
683
|
-
var d = this.
|
|
680
|
+
this.f = b;
|
|
681
|
+
if (null != this.f) {
|
|
682
|
+
this.f.scrollbarStyle = 1;
|
|
683
|
+
var d = this.f;
|
|
684
684
|
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cf));
|
|
685
|
-
this.
|
|
686
|
-
this.
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
692
|
-
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;
|
|
693
693
|
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ce));
|
|
694
694
|
if (this.a0 != null) {
|
|
695
|
-
this.
|
|
695
|
+
this.f.itemsSource = this.a0;
|
|
696
696
|
this.ca();
|
|
697
697
|
this.cu();
|
|
698
698
|
}
|
|
@@ -705,7 +705,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
705
705
|
this.m.m(a);
|
|
706
706
|
};
|
|
707
707
|
CheckboxList.prototype.cf = function (a, b) {
|
|
708
|
-
this.
|
|
708
|
+
this.f.scrollbarStyle = this.y;
|
|
709
709
|
};
|
|
710
710
|
CheckboxList.prototype.provideSelectAllSection = function (a) {
|
|
711
711
|
this.m.q(a);
|
|
@@ -719,18 +719,18 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
721
721
|
var d = b.cellInfo.g4;
|
|
722
|
-
var e = this.
|
|
723
|
-
if (this.
|
|
722
|
+
var e = this.i(d);
|
|
723
|
+
if (this.h.contains(e)) {
|
|
724
724
|
if (this.ad != null) {
|
|
725
725
|
this.ad.setPropertyValue(d, false);
|
|
726
726
|
}
|
|
727
|
-
this.
|
|
727
|
+
this.h.remove(e);
|
|
728
728
|
}
|
|
729
729
|
else {
|
|
730
730
|
if (this.ad != null) {
|
|
731
731
|
this.ad.setPropertyValue(d, true);
|
|
732
732
|
}
|
|
733
|
-
this.
|
|
733
|
+
this.h.add(e);
|
|
734
734
|
}
|
|
735
735
|
};
|
|
736
736
|
CheckboxList.prototype.cb = function (a, b) {
|
|
@@ -740,8 +740,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
740
740
|
}
|
|
741
741
|
var d = false;
|
|
742
742
|
if (b.cellInfo.g4 != null) {
|
|
743
|
-
var e = this.
|
|
744
|
-
if (this.
|
|
743
|
+
var e = this.i(b.cellInfo.g4);
|
|
744
|
+
if (this.h.contains(e)) {
|
|
745
745
|
d = true;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
@@ -751,13 +751,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
751
751
|
if (this.a2 != null) {
|
|
752
752
|
var b = this.d.property(this.a2).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
753
753
|
var c = b.contains(a);
|
|
754
|
-
if (!this.
|
|
754
|
+
if (!this.f.filterExpressions.k.contains(this.c)) {
|
|
755
755
|
this.c = c;
|
|
756
|
-
this.
|
|
756
|
+
this.f.filterExpressions.add(this.c);
|
|
757
757
|
}
|
|
758
758
|
else {
|
|
759
|
-
var d = this.
|
|
760
|
-
this.
|
|
759
|
+
var d = this.f.filterExpressions.k.indexOf(this.c);
|
|
760
|
+
this.f.filterExpressions.k.item(d, this.c = c);
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
763
|
};
|
|
@@ -775,7 +775,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
775
775
|
enumerable: false,
|
|
776
776
|
configurable: true
|
|
777
777
|
});
|
|
778
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
778
|
+
Object.defineProperty(CheckboxList.prototype, "dataMemberPath", {
|
|
779
779
|
get: function () {
|
|
780
780
|
return this.a2;
|
|
781
781
|
},
|
|
@@ -789,7 +789,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
789
789
|
enumerable: false,
|
|
790
790
|
configurable: true
|
|
791
791
|
});
|
|
792
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
792
|
+
Object.defineProperty(CheckboxList.prototype, "selectedMemberPath", {
|
|
793
793
|
get: function () {
|
|
794
794
|
return this.a4;
|
|
795
795
|
},
|
|
@@ -847,8 +847,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
847
847
|
});
|
|
848
848
|
Object.defineProperty(CheckboxList.prototype, "ax", {
|
|
849
849
|
get: function () {
|
|
850
|
-
if (this.
|
|
851
|
-
return this.
|
|
850
|
+
if (this.f != null) {
|
|
851
|
+
return this.f.actualRowHeight;
|
|
852
852
|
}
|
|
853
853
|
return -1;
|
|
854
854
|
},
|
|
@@ -897,7 +897,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
897
897
|
enumerable: false,
|
|
898
898
|
configurable: true
|
|
899
899
|
});
|
|
900
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
900
|
+
Object.defineProperty(CheckboxList.prototype, "density", {
|
|
901
901
|
get: function () {
|
|
902
902
|
return this.ab;
|
|
903
903
|
},
|
|
@@ -911,7 +911,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
911
911
|
enumerable: false,
|
|
912
912
|
configurable: true
|
|
913
913
|
});
|
|
914
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
914
|
+
Object.defineProperty(CheckboxList.prototype, "searchIconColor", {
|
|
915
915
|
get: function () {
|
|
916
916
|
return this.di;
|
|
917
917
|
},
|
|
@@ -939,7 +939,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
939
939
|
enumerable: false,
|
|
940
940
|
configurable: true
|
|
941
941
|
});
|
|
942
|
-
Object.defineProperty(CheckboxList.prototype, "
|
|
942
|
+
Object.defineProperty(CheckboxList.prototype, "searchTextColor", {
|
|
943
943
|
get: function () {
|
|
944
944
|
return this.dj;
|
|
945
945
|
},
|
|
@@ -1088,22 +1088,22 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1088
1088
|
CheckboxList.prototype.cw = function (a, b, c) {
|
|
1089
1089
|
switch (a) {
|
|
1090
1090
|
case "ItemsSource":
|
|
1091
|
-
if (this.
|
|
1091
|
+
if (this.f != null) {
|
|
1092
1092
|
this.l = 1;
|
|
1093
1093
|
if (c != null) {
|
|
1094
|
-
this.
|
|
1095
|
-
this.
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1094
|
+
this.f.groupDescriptions.n();
|
|
1095
|
+
this.f.sortDescriptions.n();
|
|
1096
|
+
this.f.filterExpressions.clear();
|
|
1097
|
+
this.f.summaryDescriptions.n();
|
|
1098
1098
|
}
|
|
1099
|
-
if (this.
|
|
1100
|
-
var d = this.
|
|
1099
|
+
if (this.f.actualDataSource != null) {
|
|
1100
|
+
var d = this.f.actualDataSource;
|
|
1101
1101
|
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.cs));
|
|
1102
1102
|
}
|
|
1103
|
-
this.
|
|
1103
|
+
this.f.itemsSource = this.a0;
|
|
1104
1104
|
this.ca();
|
|
1105
|
-
if (this.
|
|
1106
|
-
var e = this.
|
|
1105
|
+
if (this.f.actualDataSource != null) {
|
|
1106
|
+
var e = this.f.actualDataSource;
|
|
1107
1107
|
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.cs));
|
|
1108
1108
|
}
|
|
1109
1109
|
this.al = true;
|
|
@@ -1114,7 +1114,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1114
1114
|
break;
|
|
1115
1115
|
case "DataMemberPath":
|
|
1116
1116
|
case "SelectedMemberPath":
|
|
1117
|
-
if (this.
|
|
1117
|
+
if (this.f != null) {
|
|
1118
1118
|
if (this.a2 != null) {
|
|
1119
1119
|
this.cu();
|
|
1120
1120
|
this.c5();
|
|
@@ -1122,8 +1122,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
break;
|
|
1124
1124
|
case "PrimaryKey":
|
|
1125
|
-
if (this.
|
|
1126
|
-
this.
|
|
1125
|
+
if (this.f != null) {
|
|
1126
|
+
this.f.primaryKey = this.primaryKey;
|
|
1127
1127
|
}
|
|
1128
1128
|
break;
|
|
1129
1129
|
case "SelectAllCaptionTextColor":
|
|
@@ -1152,25 +1152,25 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
break;
|
|
1154
1154
|
case "RowHeight":
|
|
1155
|
-
if (this.
|
|
1156
|
-
this.
|
|
1155
|
+
if (this.f != null) {
|
|
1156
|
+
this.f.rowHeight = this.az;
|
|
1157
1157
|
}
|
|
1158
1158
|
break;
|
|
1159
1159
|
case "CellTextStyle":
|
|
1160
|
-
if (this.
|
|
1161
|
-
this.
|
|
1160
|
+
if (this.f != null) {
|
|
1161
|
+
this.f.cellTextStyle = this.ag;
|
|
1162
1162
|
}
|
|
1163
1163
|
this.m.ac();
|
|
1164
1164
|
break;
|
|
1165
1165
|
case "BackgroundColor":
|
|
1166
1166
|
case "TextColor":
|
|
1167
1167
|
case "RowHoverBackgroundColor":
|
|
1168
|
-
var f = this.
|
|
1168
|
+
var f = this.f;
|
|
1169
1169
|
if (null != f) {
|
|
1170
1170
|
f.cellTextColor = this.d5;
|
|
1171
|
-
f.cellBackground = this.
|
|
1172
|
-
f.cellSelectedBackground = this.
|
|
1173
|
-
f.rowHoverBackground = this.
|
|
1171
|
+
f.cellBackground = this.backgroundColor;
|
|
1172
|
+
f.cellSelectedBackground = this.backgroundColor;
|
|
1173
|
+
f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1174
1174
|
}
|
|
1175
1175
|
this.m.ad();
|
|
1176
1176
|
break;
|
|
@@ -1181,18 +1181,18 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1181
1181
|
this.c3();
|
|
1182
1182
|
break;
|
|
1183
1183
|
case "IsRowHoverEnabled":
|
|
1184
|
-
if (this.
|
|
1185
|
-
this.
|
|
1184
|
+
if (this.f != null) {
|
|
1185
|
+
this.f.isRowHoverEnabled = this.ap;
|
|
1186
1186
|
}
|
|
1187
1187
|
break;
|
|
1188
1188
|
case "ScrollbarStyle":
|
|
1189
|
-
if (this.
|
|
1190
|
-
this.
|
|
1189
|
+
if (this.f != null) {
|
|
1190
|
+
this.f.scrollbarStyle = this.y;
|
|
1191
1191
|
}
|
|
1192
1192
|
break;
|
|
1193
1193
|
case "ScrollbarBackground":
|
|
1194
|
-
if (this.
|
|
1195
|
-
this.
|
|
1194
|
+
if (this.f != null) {
|
|
1195
|
+
this.f.scrollbarBackground = this.dy;
|
|
1196
1196
|
}
|
|
1197
1197
|
break;
|
|
1198
1198
|
case "SearchIconColor":
|
|
@@ -1206,7 +1206,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1206
1206
|
break;
|
|
1207
1207
|
case "SearchTextColor":
|
|
1208
1208
|
if (this.r != null) {
|
|
1209
|
-
this.r.d8 = this.
|
|
1209
|
+
this.r.d8 = this.searchTextColor;
|
|
1210
1210
|
}
|
|
1211
1211
|
break;
|
|
1212
1212
|
case "SearchTextStyle":
|
|
@@ -1218,18 +1218,18 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1218
1218
|
case "CheckboxCheckedBorderColor":
|
|
1219
1219
|
case "CheckboxUncheckedBorderColor":
|
|
1220
1220
|
this.m.y();
|
|
1221
|
-
if (this.
|
|
1222
|
-
this.
|
|
1221
|
+
if (this.f != null) {
|
|
1222
|
+
this.f.w9();
|
|
1223
1223
|
}
|
|
1224
1224
|
break;
|
|
1225
1225
|
}
|
|
1226
1226
|
};
|
|
1227
1227
|
CheckboxList.prototype.c3 = function () {
|
|
1228
|
-
if (this.
|
|
1229
|
-
this.
|
|
1228
|
+
if (this.f != null) {
|
|
1229
|
+
this.f.density = this.density;
|
|
1230
1230
|
}
|
|
1231
1231
|
if (this.s != null) {
|
|
1232
|
-
this.s.t = this.
|
|
1232
|
+
this.s.t = this.density;
|
|
1233
1233
|
}
|
|
1234
1234
|
this.m.x();
|
|
1235
1235
|
};
|
|
@@ -1238,13 +1238,13 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1238
1238
|
this.s.p = this.aa;
|
|
1239
1239
|
}
|
|
1240
1240
|
if (this.r != null) {
|
|
1241
|
-
this.r.d8 = this.
|
|
1241
|
+
this.r.d8 = this.searchTextColor;
|
|
1242
1242
|
}
|
|
1243
|
-
if (this.
|
|
1244
|
-
this.
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1247
|
-
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;
|
|
1248
1248
|
}
|
|
1249
1249
|
this.m.z();
|
|
1250
1250
|
};
|
|
@@ -1253,8 +1253,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1253
1253
|
this.ca();
|
|
1254
1254
|
if (b.schema != null) {
|
|
1255
1255
|
this.cu();
|
|
1256
|
-
for (var c = 0; c < this.
|
|
1257
|
-
this.cp(this.
|
|
1256
|
+
for (var c = 0; c < this.h.count; c++) {
|
|
1257
|
+
this.cp(this.h._inner[c]);
|
|
1258
1258
|
}
|
|
1259
1259
|
this.m.ag();
|
|
1260
1260
|
}
|
|
@@ -1264,33 +1264,33 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1264
1264
|
if (this.ad == null && this.a4 != null && this.a4 != "") {
|
|
1265
1265
|
this.ad = new FastReflectionHelper(false, this.a4);
|
|
1266
1266
|
}
|
|
1267
|
-
if (this.a0 != null && this.ad != null && this.
|
|
1267
|
+
if (this.a0 != null && this.ad != null && this.f.actualDataSource.actualSchema != null) {
|
|
1268
1268
|
this.ad.propertyName = this.a4;
|
|
1269
|
-
var a = this.
|
|
1269
|
+
var a = this.f.actualDataSource.actualCount;
|
|
1270
1270
|
for (var b = 0; b < a; b++) {
|
|
1271
|
-
var c = this.
|
|
1271
|
+
var c = this.f.actualDataSource.getItemAtIndex(b);
|
|
1272
1272
|
var d = this.ad.getPropertyValue(c);
|
|
1273
1273
|
if (d == true) {
|
|
1274
|
-
var e = this.
|
|
1275
|
-
if (!this.
|
|
1276
|
-
this.
|
|
1274
|
+
var e = this.i(c);
|
|
1275
|
+
if (!this.h.contains(e)) {
|
|
1276
|
+
this.h.add(e);
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
};
|
|
1282
1282
|
CheckboxList.prototype.c5 = function () {
|
|
1283
|
-
this.
|
|
1284
|
-
this.
|
|
1285
|
-
this.
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1288
|
-
this.
|
|
1289
|
-
this.
|
|
1290
|
-
this.
|
|
1291
|
-
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);
|
|
1292
1292
|
if (this.ag != null) {
|
|
1293
|
-
this.
|
|
1293
|
+
this.f.cellTextStyle = this.ag;
|
|
1294
1294
|
}
|
|
1295
1295
|
var a = new TemplateColumn();
|
|
1296
1296
|
if (this.a4 == null) {
|
|
@@ -1305,9 +1305,9 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1305
1305
|
a.h2 = 0;
|
|
1306
1306
|
a.h3 = 0;
|
|
1307
1307
|
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cb));
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1310
|
-
var c = this.
|
|
1308
|
+
this.f.columns.add(a);
|
|
1309
|
+
this.j = a;
|
|
1310
|
+
var c = this.f.actualDataSource.resolveSchemaPropertyType(this.a2);
|
|
1311
1311
|
var d;
|
|
1312
1312
|
switch (c) {
|
|
1313
1313
|
case 8:
|
|
@@ -1334,7 +1334,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1334
1334
|
d.jz = "DataColumn";
|
|
1335
1335
|
d.h2 = 0;
|
|
1336
1336
|
d.e = 0;
|
|
1337
|
-
this.
|
|
1337
|
+
this.f.columns.add(d);
|
|
1338
1338
|
};
|
|
1339
1339
|
CheckboxList.prototype.updateHrMargin = function (a) {
|
|
1340
1340
|
this.m.aa(a);
|
|
@@ -1351,14 +1351,14 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1351
1351
|
var c = b.value.toLowerCase();
|
|
1352
1352
|
this.cn(c);
|
|
1353
1353
|
};
|
|
1354
|
-
CheckboxList.prototype.
|
|
1355
|
-
if (this.
|
|
1354
|
+
CheckboxList.prototype.i = function (a) {
|
|
1355
|
+
if (this.primaryKey == null) {
|
|
1356
1356
|
return PrimaryKeyValue.createIdentityKey(a);
|
|
1357
1357
|
}
|
|
1358
|
-
var b = new Array(this.
|
|
1359
|
-
var c = new Array(this.
|
|
1358
|
+
var b = new Array(this.primaryKey.length);
|
|
1359
|
+
var c = new Array(this.primaryKey.length);
|
|
1360
1360
|
for (var d = 0; d < b.length; d++) {
|
|
1361
|
-
b[d] = this.
|
|
1361
|
+
b[d] = this.primaryKey[d];
|
|
1362
1362
|
c[d] = this.e.getItemProperty(a, b[d]);
|
|
1363
1363
|
}
|
|
1364
1364
|
return new PrimaryKeyValue(b, c);
|
|
@@ -1369,8 +1369,8 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1369
1369
|
if (this.ad != null) {
|
|
1370
1370
|
this.ad.setPropertyValue(b, false);
|
|
1371
1371
|
}
|
|
1372
|
-
var c = this.
|
|
1373
|
-
this.
|
|
1372
|
+
var c = this.i(b);
|
|
1373
|
+
this.h.remove(c);
|
|
1374
1374
|
this.ak = false;
|
|
1375
1375
|
};
|
|
1376
1376
|
CheckboxList.prototype.b8 = function (a) {
|
|
@@ -1379,51 +1379,51 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1379
1379
|
if (this.ad != null) {
|
|
1380
1380
|
this.ad.setPropertyValue(b, true);
|
|
1381
1381
|
}
|
|
1382
|
-
var c = this.
|
|
1383
|
-
this.
|
|
1382
|
+
var c = this.i(b);
|
|
1383
|
+
this.h.add(c);
|
|
1384
1384
|
this.ak = false;
|
|
1385
1385
|
};
|
|
1386
1386
|
CheckboxList.prototype.c2 = function () {
|
|
1387
1387
|
this.l = 0;
|
|
1388
|
-
this.
|
|
1388
|
+
this.h.clear();
|
|
1389
1389
|
this.ch();
|
|
1390
1390
|
this.m.ag();
|
|
1391
1391
|
};
|
|
1392
1392
|
CheckboxList.prototype.cc = function () {
|
|
1393
1393
|
this.l = 1;
|
|
1394
|
-
this.
|
|
1394
|
+
this.h.clear();
|
|
1395
1395
|
this.ch();
|
|
1396
1396
|
this.m.ag();
|
|
1397
1397
|
};
|
|
1398
1398
|
CheckboxList.prototype.ck = function (a, b, c) {
|
|
1399
|
-
if (this.
|
|
1400
|
-
this.
|
|
1399
|
+
if (this.f != null) {
|
|
1400
|
+
this.f.notifySetItem(a, b, c);
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
1403
|
CheckboxList.prototype.ch = function () {
|
|
1404
|
-
if (this.
|
|
1405
|
-
this.
|
|
1404
|
+
if (this.f != null) {
|
|
1405
|
+
this.f.notifyClearItems();
|
|
1406
1406
|
}
|
|
1407
1407
|
};
|
|
1408
1408
|
CheckboxList.prototype.ci = function (a, b) {
|
|
1409
|
-
if (this.
|
|
1410
|
-
this.
|
|
1409
|
+
if (this.f != null) {
|
|
1410
|
+
this.f.notifyInsertItem(a, b);
|
|
1411
1411
|
}
|
|
1412
1412
|
;
|
|
1413
1413
|
};
|
|
1414
1414
|
CheckboxList.prototype.cj = function (a, b) {
|
|
1415
|
-
if (this.
|
|
1416
|
-
this.
|
|
1415
|
+
if (this.f != null) {
|
|
1416
|
+
this.f.notifyRemoveItem(a, b);
|
|
1417
1417
|
}
|
|
1418
1418
|
;
|
|
1419
1419
|
};
|
|
1420
1420
|
CheckboxList.prototype.b9 = function (a) {
|
|
1421
1421
|
var b = null;
|
|
1422
|
-
if (this.
|
|
1422
|
+
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1423
1423
|
b = new PrimaryKeyValue(null, a);
|
|
1424
1424
|
}
|
|
1425
|
-
else if (this.
|
|
1426
|
-
b = new PrimaryKeyValue(this.
|
|
1425
|
+
else if (this.primaryKey.length == a.length) {
|
|
1426
|
+
b = new PrimaryKeyValue(this.primaryKey, a);
|
|
1427
1427
|
}
|
|
1428
1428
|
else {
|
|
1429
1429
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
@@ -1434,27 +1434,27 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1434
1434
|
var d = this.e.getItemAtIndex(c);
|
|
1435
1435
|
this.ad.setPropertyValue(d, true);
|
|
1436
1436
|
}
|
|
1437
|
-
this.
|
|
1437
|
+
this.h.add(b);
|
|
1438
1438
|
}
|
|
1439
1439
|
};
|
|
1440
1440
|
CheckboxList.prototype.c1 = function (a) {
|
|
1441
1441
|
var b = null;
|
|
1442
|
-
if (this.
|
|
1442
|
+
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1443
1443
|
b = new PrimaryKeyValue(null, a);
|
|
1444
1444
|
}
|
|
1445
|
-
else if (this.
|
|
1446
|
-
b = new PrimaryKeyValue(this.
|
|
1445
|
+
else if (this.primaryKey.length == a.length) {
|
|
1446
|
+
b = new PrimaryKeyValue(this.primaryKey, a);
|
|
1447
1447
|
}
|
|
1448
1448
|
else {
|
|
1449
1449
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1450
1450
|
}
|
|
1451
|
-
if (this.
|
|
1451
|
+
if (this.h.contains(b)) {
|
|
1452
1452
|
if (this.ad != null) {
|
|
1453
1453
|
var c = this.e.indexOfKey(a);
|
|
1454
1454
|
var d = this.e.getItemAtIndex(c);
|
|
1455
1455
|
this.ad.setPropertyValue(d, false);
|
|
1456
1456
|
}
|
|
1457
|
-
this.
|
|
1457
|
+
this.h.remove(b);
|
|
1458
1458
|
}
|
|
1459
1459
|
};
|
|
1460
1460
|
CheckboxList.prototype.getDesiredSize = function () {
|
|
@@ -1468,7 +1468,7 @@ var CheckboxList = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
1468
1468
|
b += 38;
|
|
1469
1469
|
b += 8;
|
|
1470
1470
|
b += 4;
|
|
1471
|
-
var c = this.
|
|
1471
|
+
var c = this.f != null ? this.f.actualRowHeight : 30;
|
|
1472
1472
|
var d = (this.itemsSource.length);
|
|
1473
1473
|
var e = c * d;
|
|
1474
1474
|
if (e > 150) {
|
|
@@ -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;
|