igniteui-webcomponents-grids 5.0.1 → 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 +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
|
@@ -86,7 +86,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
86
86
|
let d = c.getExternal(this.b.t, c.rootWrapper, c.getExternal(this.b, null, null));
|
|
87
87
|
this.b.t.d = this.b.v;
|
|
88
88
|
this.b.t.p = this.b.aa;
|
|
89
|
-
this.b.t.t = this.b.
|
|
89
|
+
this.b.t.t = this.b.density;
|
|
90
90
|
let e = a.createElement("div");
|
|
91
91
|
let f = a.getSubRenderer(e);
|
|
92
92
|
let g = new XPrefix();
|
|
@@ -96,7 +96,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
96
96
|
let j = a.getSubRenderer(i);
|
|
97
97
|
this.c = new XIcon();
|
|
98
98
|
this.c.provideContainer(j);
|
|
99
|
-
this.c.fill = this.b.
|
|
99
|
+
this.c.fill = this.b.searchIconColor;
|
|
100
100
|
this.c.svgPath = CheckboxList.bw;
|
|
101
101
|
let k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
|
|
102
102
|
g.appendContentChild(i);
|
|
@@ -121,13 +121,13 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
121
121
|
let a = this.f.rootWrapper.getChildAt(3);
|
|
122
122
|
a.setStyleProperty("width", "100%");
|
|
123
123
|
a.setStyleProperty("margin", "4px 0px 0px 0px");
|
|
124
|
-
if (this.b.
|
|
124
|
+
if (this.b.showSelectAll == false) {
|
|
125
125
|
a.setStyleProperty("height", "calc(100% - 50px");
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
a.setStyleProperty("height", "calc(100% - 75px");
|
|
129
129
|
}
|
|
130
|
-
if (!this.b.as && !this.b.
|
|
130
|
+
if (!this.b.as && !this.b.showSelectAll) {
|
|
131
131
|
a.setStyleProperty("height", "100%");
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -147,7 +147,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
147
147
|
a.setStyleProperty("display", "flex");
|
|
148
148
|
a.setStyleProperty("height", "100%");
|
|
149
149
|
a.setStyleProperty("align-items", "center");
|
|
150
|
-
switch (this.b.
|
|
150
|
+
switch (this.b.density) {
|
|
151
151
|
case 1:
|
|
152
152
|
a.setStyleProperty("margin-top", "-4px");
|
|
153
153
|
break;
|
|
@@ -290,7 +290,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
290
290
|
}
|
|
291
291
|
ai() {
|
|
292
292
|
if (null != this.i) {
|
|
293
|
-
let a = this.b.
|
|
293
|
+
let a = this.b.showSelectAll ? "flex" : "none";
|
|
294
294
|
this.j.setStyleProperty("display", a);
|
|
295
295
|
}
|
|
296
296
|
}
|
|
@@ -317,10 +317,10 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
317
317
|
}
|
|
318
318
|
this.a.indeterminate = false;
|
|
319
319
|
if (this.b.l == 0) {
|
|
320
|
-
this.a.checked = this.b.
|
|
320
|
+
this.a.checked = this.b.h.count == 0;
|
|
321
321
|
}
|
|
322
322
|
else {
|
|
323
|
-
this.a.checked = this.b.
|
|
323
|
+
this.a.checked = this.b.h.count != 0;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
finally {
|
|
@@ -349,12 +349,12 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
|
|
|
349
349
|
let b = a.rootWrapper;
|
|
350
350
|
if (null != b) {
|
|
351
351
|
NativeUI.q(b, this.b.d5);
|
|
352
|
-
NativeUI.m(b, this.b.
|
|
352
|
+
NativeUI.m(b, this.b.backgroundColor);
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
ab() {
|
|
356
356
|
if (this.c != null) {
|
|
357
|
-
this.c.fill = this.b.
|
|
357
|
+
this.c.fill = this.b.searchIconColor;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
ac() {
|
|
@@ -403,10 +403,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
403
403
|
this.q = a;
|
|
404
404
|
}
|
|
405
405
|
get e() {
|
|
406
|
-
if (this.
|
|
406
|
+
if (this.f == null) {
|
|
407
407
|
return null;
|
|
408
408
|
}
|
|
409
|
-
return this.
|
|
409
|
+
return this.f.actualDataSource;
|
|
410
410
|
}
|
|
411
411
|
get aj() {
|
|
412
412
|
if (this.ai == null) {
|
|
@@ -415,13 +415,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
415
415
|
}
|
|
416
416
|
return this.ai;
|
|
417
417
|
}
|
|
418
|
-
get
|
|
419
|
-
return this.
|
|
418
|
+
get h() {
|
|
419
|
+
return this.g;
|
|
420
420
|
}
|
|
421
|
-
get
|
|
421
|
+
get primaryKey() {
|
|
422
422
|
return this.a;
|
|
423
423
|
}
|
|
424
|
-
set
|
|
424
|
+
set primaryKey(a) {
|
|
425
425
|
let b = this.a;
|
|
426
426
|
this.a = a;
|
|
427
427
|
if (b != this.a) {
|
|
@@ -431,8 +431,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
431
431
|
constructor() {
|
|
432
432
|
super();
|
|
433
433
|
this.m = null;
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
434
|
+
this.f = null;
|
|
435
|
+
this.j = null;
|
|
436
436
|
this.ad = null;
|
|
437
437
|
this.d = null;
|
|
438
438
|
this.ak = false;
|
|
@@ -441,7 +441,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
441
441
|
this.s = null;
|
|
442
442
|
this.al = false;
|
|
443
443
|
this.ai = null;
|
|
444
|
-
this.
|
|
444
|
+
this.g = new GridSelectedKeysCollection();
|
|
445
445
|
this.a = null;
|
|
446
446
|
this.propertyChanged = null;
|
|
447
447
|
this.selectedKeyAdded = null;
|
|
@@ -480,7 +480,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
480
480
|
this.ay = -1;
|
|
481
481
|
this.ar = true;
|
|
482
482
|
this.ao = true;
|
|
483
|
-
let a = this.
|
|
483
|
+
let a = this.g;
|
|
484
484
|
a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.cv));
|
|
485
485
|
this.d = new FilterFactory();
|
|
486
486
|
let b = new CheckboxListView();
|
|
@@ -513,8 +513,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
513
513
|
break;
|
|
514
514
|
case 4:
|
|
515
515
|
this.m.u(this.l == 0);
|
|
516
|
-
for (let g = 0; g < this.
|
|
517
|
-
this.cp(this.
|
|
516
|
+
for (let g = 0; g < this.h.ae.count; g++) {
|
|
517
|
+
this.cp(this.h.ae._inner[g]);
|
|
518
518
|
}
|
|
519
519
|
break;
|
|
520
520
|
}
|
|
@@ -573,13 +573,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
573
573
|
this.m.l();
|
|
574
574
|
}
|
|
575
575
|
destroy() {
|
|
576
|
-
if (this.
|
|
577
|
-
let a = this.
|
|
576
|
+
if (this.f != null) {
|
|
577
|
+
let a = this.f;
|
|
578
578
|
a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ce));
|
|
579
|
-
let b = this.
|
|
579
|
+
let b = this.f;
|
|
580
580
|
b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cf));
|
|
581
|
-
if (this.
|
|
582
|
-
let c = this.
|
|
581
|
+
if (this.f.actualDataSource != null) {
|
|
582
|
+
let c = this.f.actualDataSource;
|
|
583
583
|
c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.cs));
|
|
584
584
|
}
|
|
585
585
|
}
|
|
@@ -588,28 +588,28 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
588
588
|
d.change = delegateRemove(d.change, runOn(this, this.cg));
|
|
589
589
|
}
|
|
590
590
|
this.provideContainer(null, null, null);
|
|
591
|
-
if (this.
|
|
592
|
-
let e = this.
|
|
591
|
+
if (this.j != null) {
|
|
592
|
+
let e = this.j;
|
|
593
593
|
e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cb));
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
provideContainer(a, b, c) {
|
|
597
|
-
this.
|
|
598
|
-
if (null != this.
|
|
599
|
-
this.
|
|
600
|
-
let d = this.
|
|
597
|
+
this.f = b;
|
|
598
|
+
if (null != this.f) {
|
|
599
|
+
this.f.scrollbarStyle = 1;
|
|
600
|
+
let d = this.f;
|
|
601
601
|
d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cf));
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
let e = this.
|
|
602
|
+
this.f.scrollbarBackground = this.dy;
|
|
603
|
+
this.f.headerHeight = 0;
|
|
604
|
+
this.f.rowSeparatorHeight = 0;
|
|
605
|
+
this.f.defaultColumnMinWidth = NaN;
|
|
606
|
+
this.f.autoGenerateColumns = false;
|
|
607
|
+
this.f.activationMode = 0;
|
|
608
|
+
this.f.editMode = 0;
|
|
609
|
+
let e = this.f;
|
|
610
610
|
e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ce));
|
|
611
611
|
if (this.a0 != null) {
|
|
612
|
-
this.
|
|
612
|
+
this.f.itemsSource = this.a0;
|
|
613
613
|
this.ca();
|
|
614
614
|
this.cu();
|
|
615
615
|
}
|
|
@@ -622,7 +622,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
622
622
|
this.m.m(a);
|
|
623
623
|
}
|
|
624
624
|
cf(a, b) {
|
|
625
|
-
this.
|
|
625
|
+
this.f.scrollbarStyle = this.y;
|
|
626
626
|
}
|
|
627
627
|
provideSelectAllSection(a) {
|
|
628
628
|
this.m.q(a);
|
|
@@ -636,18 +636,18 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
636
636
|
return;
|
|
637
637
|
}
|
|
638
638
|
let d = b.cellInfo.g4;
|
|
639
|
-
let e = this.
|
|
640
|
-
if (this.
|
|
639
|
+
let e = this.i(d);
|
|
640
|
+
if (this.h.contains(e)) {
|
|
641
641
|
if (this.ad != null) {
|
|
642
642
|
this.ad.setPropertyValue(d, false);
|
|
643
643
|
}
|
|
644
|
-
this.
|
|
644
|
+
this.h.remove(e);
|
|
645
645
|
}
|
|
646
646
|
else {
|
|
647
647
|
if (this.ad != null) {
|
|
648
648
|
this.ad.setPropertyValue(d, true);
|
|
649
649
|
}
|
|
650
|
-
this.
|
|
650
|
+
this.h.add(e);
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
cb(a, b) {
|
|
@@ -657,8 +657,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
657
657
|
}
|
|
658
658
|
let d = false;
|
|
659
659
|
if (b.cellInfo.g4 != null) {
|
|
660
|
-
let e = this.
|
|
661
|
-
if (this.
|
|
660
|
+
let e = this.i(b.cellInfo.g4);
|
|
661
|
+
if (this.h.contains(e)) {
|
|
662
662
|
d = true;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
@@ -668,13 +668,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
668
668
|
if (this.a2 != null) {
|
|
669
669
|
let b = this.d.property(this.a2).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
|
|
670
670
|
let c = b.contains(a);
|
|
671
|
-
if (!this.
|
|
671
|
+
if (!this.f.filterExpressions.k.contains(this.c)) {
|
|
672
672
|
this.c = c;
|
|
673
|
-
this.
|
|
673
|
+
this.f.filterExpressions.add(this.c);
|
|
674
674
|
}
|
|
675
675
|
else {
|
|
676
|
-
let d = this.
|
|
677
|
-
this.
|
|
676
|
+
let d = this.f.filterExpressions.k.indexOf(this.c);
|
|
677
|
+
this.f.filterExpressions.k.item(d, this.c = c);
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
}
|
|
@@ -688,20 +688,20 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
688
688
|
this.cr("ItemsSource", b, this.a0);
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
|
-
get
|
|
691
|
+
get dataMemberPath() {
|
|
692
692
|
return this.a2;
|
|
693
693
|
}
|
|
694
|
-
set
|
|
694
|
+
set dataMemberPath(a) {
|
|
695
695
|
let b = this.a2;
|
|
696
696
|
this.a2 = a;
|
|
697
697
|
if (b != this.a2) {
|
|
698
698
|
this.cr("DataMemberPath", b, this.a2);
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
get
|
|
701
|
+
get selectedMemberPath() {
|
|
702
702
|
return this.a4;
|
|
703
703
|
}
|
|
704
|
-
set
|
|
704
|
+
set selectedMemberPath(a) {
|
|
705
705
|
let b = this.a4;
|
|
706
706
|
this.a4 = a;
|
|
707
707
|
if (b != this.a4) {
|
|
@@ -739,8 +739,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
741
|
get ax() {
|
|
742
|
-
if (this.
|
|
743
|
-
return this.
|
|
742
|
+
if (this.f != null) {
|
|
743
|
+
return this.f.actualRowHeight;
|
|
744
744
|
}
|
|
745
745
|
return -1;
|
|
746
746
|
}
|
|
@@ -774,20 +774,20 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
774
774
|
this.cr("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.z));
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
|
-
get
|
|
777
|
+
get density() {
|
|
778
778
|
return this.ab;
|
|
779
779
|
}
|
|
780
|
-
set
|
|
780
|
+
set density(a) {
|
|
781
781
|
let b = this.ab;
|
|
782
782
|
this.ab = a;
|
|
783
783
|
if (b != this.ab) {
|
|
784
784
|
this.cr("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ab));
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
|
-
get
|
|
787
|
+
get searchIconColor() {
|
|
788
788
|
return this.di;
|
|
789
789
|
}
|
|
790
|
-
set
|
|
790
|
+
set searchIconColor(a) {
|
|
791
791
|
let b = this.di;
|
|
792
792
|
this.di = a;
|
|
793
793
|
if (b != this.di) {
|
|
@@ -804,10 +804,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
804
804
|
this.cr("SearchBackgroundColor", b, this.dg);
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
|
-
get
|
|
807
|
+
get searchTextColor() {
|
|
808
808
|
return this.dj;
|
|
809
809
|
}
|
|
810
|
-
set
|
|
810
|
+
set searchTextColor(a) {
|
|
811
811
|
let b = this.dj;
|
|
812
812
|
this.dj = a;
|
|
813
813
|
if (b != this.dj) {
|
|
@@ -913,22 +913,22 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
913
913
|
cw(a, b, c) {
|
|
914
914
|
switch (a) {
|
|
915
915
|
case "ItemsSource":
|
|
916
|
-
if (this.
|
|
916
|
+
if (this.f != null) {
|
|
917
917
|
this.l = 1;
|
|
918
918
|
if (c != null) {
|
|
919
|
-
this.
|
|
920
|
-
this.
|
|
921
|
-
this.
|
|
922
|
-
this.
|
|
919
|
+
this.f.groupDescriptions.n();
|
|
920
|
+
this.f.sortDescriptions.n();
|
|
921
|
+
this.f.filterExpressions.clear();
|
|
922
|
+
this.f.summaryDescriptions.n();
|
|
923
923
|
}
|
|
924
|
-
if (this.
|
|
925
|
-
let d = this.
|
|
924
|
+
if (this.f.actualDataSource != null) {
|
|
925
|
+
let d = this.f.actualDataSource;
|
|
926
926
|
d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.cs));
|
|
927
927
|
}
|
|
928
|
-
this.
|
|
928
|
+
this.f.itemsSource = this.a0;
|
|
929
929
|
this.ca();
|
|
930
|
-
if (this.
|
|
931
|
-
let e = this.
|
|
930
|
+
if (this.f.actualDataSource != null) {
|
|
931
|
+
let e = this.f.actualDataSource;
|
|
932
932
|
e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.cs));
|
|
933
933
|
}
|
|
934
934
|
this.al = true;
|
|
@@ -939,7 +939,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
939
939
|
break;
|
|
940
940
|
case "DataMemberPath":
|
|
941
941
|
case "SelectedMemberPath":
|
|
942
|
-
if (this.
|
|
942
|
+
if (this.f != null) {
|
|
943
943
|
if (this.a2 != null) {
|
|
944
944
|
this.cu();
|
|
945
945
|
this.c5();
|
|
@@ -947,8 +947,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
947
947
|
}
|
|
948
948
|
break;
|
|
949
949
|
case "PrimaryKey":
|
|
950
|
-
if (this.
|
|
951
|
-
this.
|
|
950
|
+
if (this.f != null) {
|
|
951
|
+
this.f.primaryKey = this.primaryKey;
|
|
952
952
|
}
|
|
953
953
|
break;
|
|
954
954
|
case "SelectAllCaptionTextColor":
|
|
@@ -977,25 +977,25 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
977
977
|
}
|
|
978
978
|
break;
|
|
979
979
|
case "RowHeight":
|
|
980
|
-
if (this.
|
|
981
|
-
this.
|
|
980
|
+
if (this.f != null) {
|
|
981
|
+
this.f.rowHeight = this.az;
|
|
982
982
|
}
|
|
983
983
|
break;
|
|
984
984
|
case "CellTextStyle":
|
|
985
|
-
if (this.
|
|
986
|
-
this.
|
|
985
|
+
if (this.f != null) {
|
|
986
|
+
this.f.cellTextStyle = this.ag;
|
|
987
987
|
}
|
|
988
988
|
this.m.ac();
|
|
989
989
|
break;
|
|
990
990
|
case "BackgroundColor":
|
|
991
991
|
case "TextColor":
|
|
992
992
|
case "RowHoverBackgroundColor":
|
|
993
|
-
let f = this.
|
|
993
|
+
let f = this.f;
|
|
994
994
|
if (null != f) {
|
|
995
995
|
f.cellTextColor = this.d5;
|
|
996
|
-
f.cellBackground = this.
|
|
997
|
-
f.cellSelectedBackground = this.
|
|
998
|
-
f.rowHoverBackground = this.
|
|
996
|
+
f.cellBackground = this.backgroundColor;
|
|
997
|
+
f.cellSelectedBackground = this.backgroundColor;
|
|
998
|
+
f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
999
999
|
}
|
|
1000
1000
|
this.m.ad();
|
|
1001
1001
|
break;
|
|
@@ -1006,18 +1006,18 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1006
1006
|
this.c3();
|
|
1007
1007
|
break;
|
|
1008
1008
|
case "IsRowHoverEnabled":
|
|
1009
|
-
if (this.
|
|
1010
|
-
this.
|
|
1009
|
+
if (this.f != null) {
|
|
1010
|
+
this.f.isRowHoverEnabled = this.ap;
|
|
1011
1011
|
}
|
|
1012
1012
|
break;
|
|
1013
1013
|
case "ScrollbarStyle":
|
|
1014
|
-
if (this.
|
|
1015
|
-
this.
|
|
1014
|
+
if (this.f != null) {
|
|
1015
|
+
this.f.scrollbarStyle = this.y;
|
|
1016
1016
|
}
|
|
1017
1017
|
break;
|
|
1018
1018
|
case "ScrollbarBackground":
|
|
1019
|
-
if (this.
|
|
1020
|
-
this.
|
|
1019
|
+
if (this.f != null) {
|
|
1020
|
+
this.f.scrollbarBackground = this.dy;
|
|
1021
1021
|
}
|
|
1022
1022
|
break;
|
|
1023
1023
|
case "SearchIconColor":
|
|
@@ -1031,7 +1031,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1031
1031
|
break;
|
|
1032
1032
|
case "SearchTextColor":
|
|
1033
1033
|
if (this.r != null) {
|
|
1034
|
-
this.r.d8 = this.
|
|
1034
|
+
this.r.d8 = this.searchTextColor;
|
|
1035
1035
|
}
|
|
1036
1036
|
break;
|
|
1037
1037
|
case "SearchTextStyle":
|
|
@@ -1043,18 +1043,18 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1043
1043
|
case "CheckboxCheckedBorderColor":
|
|
1044
1044
|
case "CheckboxUncheckedBorderColor":
|
|
1045
1045
|
this.m.y();
|
|
1046
|
-
if (this.
|
|
1047
|
-
this.
|
|
1046
|
+
if (this.f != null) {
|
|
1047
|
+
this.f.w9();
|
|
1048
1048
|
}
|
|
1049
1049
|
break;
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
1052
|
c3() {
|
|
1053
|
-
if (this.
|
|
1054
|
-
this.
|
|
1053
|
+
if (this.f != null) {
|
|
1054
|
+
this.f.density = this.density;
|
|
1055
1055
|
}
|
|
1056
1056
|
if (this.s != null) {
|
|
1057
|
-
this.s.t = this.
|
|
1057
|
+
this.s.t = this.density;
|
|
1058
1058
|
}
|
|
1059
1059
|
this.m.x();
|
|
1060
1060
|
}
|
|
@@ -1063,13 +1063,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1063
1063
|
this.s.p = this.aa;
|
|
1064
1064
|
}
|
|
1065
1065
|
if (this.r != null) {
|
|
1066
|
-
this.r.d8 = this.
|
|
1066
|
+
this.r.d8 = this.searchTextColor;
|
|
1067
1067
|
}
|
|
1068
|
-
if (this.
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1072
|
-
this.
|
|
1068
|
+
if (this.f != null) {
|
|
1069
|
+
this.f.cellTextColor = this.d5;
|
|
1070
|
+
this.f.cellBackground = this.backgroundColor;
|
|
1071
|
+
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1072
|
+
this.f.rowHoverBackground = this.rowHoverBackgroundColor;
|
|
1073
1073
|
}
|
|
1074
1074
|
this.m.z();
|
|
1075
1075
|
}
|
|
@@ -1078,8 +1078,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1078
1078
|
this.ca();
|
|
1079
1079
|
if (b.schema != null) {
|
|
1080
1080
|
this.cu();
|
|
1081
|
-
for (let c = 0; c < this.
|
|
1082
|
-
this.cp(this.
|
|
1081
|
+
for (let c = 0; c < this.h.count; c++) {
|
|
1082
|
+
this.cp(this.h._inner[c]);
|
|
1083
1083
|
}
|
|
1084
1084
|
this.m.ag();
|
|
1085
1085
|
}
|
|
@@ -1089,33 +1089,33 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1089
1089
|
if (this.ad == null && this.a4 != null && this.a4 != "") {
|
|
1090
1090
|
this.ad = new FastReflectionHelper(false, this.a4);
|
|
1091
1091
|
}
|
|
1092
|
-
if (this.a0 != null && this.ad != null && this.
|
|
1092
|
+
if (this.a0 != null && this.ad != null && this.f.actualDataSource.actualSchema != null) {
|
|
1093
1093
|
this.ad.propertyName = this.a4;
|
|
1094
|
-
let a = this.
|
|
1094
|
+
let a = this.f.actualDataSource.actualCount;
|
|
1095
1095
|
for (let b = 0; b < a; b++) {
|
|
1096
|
-
let c = this.
|
|
1096
|
+
let c = this.f.actualDataSource.getItemAtIndex(b);
|
|
1097
1097
|
let d = this.ad.getPropertyValue(c);
|
|
1098
1098
|
if (d == true) {
|
|
1099
|
-
let e = this.
|
|
1100
|
-
if (!this.
|
|
1101
|
-
this.
|
|
1099
|
+
let e = this.i(c);
|
|
1100
|
+
if (!this.h.contains(e)) {
|
|
1101
|
+
this.h.add(e);
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
}
|
|
1107
1107
|
c5() {
|
|
1108
|
-
this.
|
|
1109
|
-
this.
|
|
1110
|
-
this.
|
|
1111
|
-
this.
|
|
1112
|
-
this.
|
|
1113
|
-
this.
|
|
1114
|
-
this.
|
|
1115
|
-
this.
|
|
1116
|
-
this.
|
|
1108
|
+
this.f.actualColumns.clear();
|
|
1109
|
+
this.f.primaryKey = this.primaryKey;
|
|
1110
|
+
this.f.isGroupRowSticky = false;
|
|
1111
|
+
this.f.rowHeight = this.az;
|
|
1112
|
+
this.f.cellBackground = this.backgroundColor;
|
|
1113
|
+
this.f.cellSelectedBackground = this.backgroundColor;
|
|
1114
|
+
this.f.density = this.density;
|
|
1115
|
+
this.f.isRowHoverEnabled = this.ap;
|
|
1116
|
+
this.f.borderWidth = new Thickness(0, 0);
|
|
1117
1117
|
if (this.ag != null) {
|
|
1118
|
-
this.
|
|
1118
|
+
this.f.cellTextStyle = this.ag;
|
|
1119
1119
|
}
|
|
1120
1120
|
let a = new TemplateColumn();
|
|
1121
1121
|
if (this.a4 == null) {
|
|
@@ -1130,9 +1130,9 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1130
1130
|
a.h2 = 0;
|
|
1131
1131
|
a.h3 = 0;
|
|
1132
1132
|
a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cb));
|
|
1133
|
-
this.
|
|
1134
|
-
this.
|
|
1135
|
-
let c = this.
|
|
1133
|
+
this.f.columns.add(a);
|
|
1134
|
+
this.j = a;
|
|
1135
|
+
let c = this.f.actualDataSource.resolveSchemaPropertyType(this.a2);
|
|
1136
1136
|
let d;
|
|
1137
1137
|
switch (c) {
|
|
1138
1138
|
case 8:
|
|
@@ -1159,7 +1159,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1159
1159
|
d.jz = "DataColumn";
|
|
1160
1160
|
d.h2 = 0;
|
|
1161
1161
|
d.e = 0;
|
|
1162
|
-
this.
|
|
1162
|
+
this.f.columns.add(d);
|
|
1163
1163
|
}
|
|
1164
1164
|
updateHrMargin(a) {
|
|
1165
1165
|
this.m.aa(a);
|
|
@@ -1176,14 +1176,14 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1176
1176
|
let c = b.value.toLowerCase();
|
|
1177
1177
|
this.cn(c);
|
|
1178
1178
|
}
|
|
1179
|
-
|
|
1180
|
-
if (this.
|
|
1179
|
+
i(a) {
|
|
1180
|
+
if (this.primaryKey == null) {
|
|
1181
1181
|
return PrimaryKeyValue.createIdentityKey(a);
|
|
1182
1182
|
}
|
|
1183
|
-
let b = new Array(this.
|
|
1184
|
-
let c = new Array(this.
|
|
1183
|
+
let b = new Array(this.primaryKey.length);
|
|
1184
|
+
let c = new Array(this.primaryKey.length);
|
|
1185
1185
|
for (let d = 0; d < b.length; d++) {
|
|
1186
|
-
b[d] = this.
|
|
1186
|
+
b[d] = this.primaryKey[d];
|
|
1187
1187
|
c[d] = this.e.getItemProperty(a, b[d]);
|
|
1188
1188
|
}
|
|
1189
1189
|
return new PrimaryKeyValue(b, c);
|
|
@@ -1194,8 +1194,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1194
1194
|
if (this.ad != null) {
|
|
1195
1195
|
this.ad.setPropertyValue(b, false);
|
|
1196
1196
|
}
|
|
1197
|
-
let c = this.
|
|
1198
|
-
this.
|
|
1197
|
+
let c = this.i(b);
|
|
1198
|
+
this.h.remove(c);
|
|
1199
1199
|
this.ak = false;
|
|
1200
1200
|
}
|
|
1201
1201
|
b8(a) {
|
|
@@ -1204,51 +1204,51 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1204
1204
|
if (this.ad != null) {
|
|
1205
1205
|
this.ad.setPropertyValue(b, true);
|
|
1206
1206
|
}
|
|
1207
|
-
let c = this.
|
|
1208
|
-
this.
|
|
1207
|
+
let c = this.i(b);
|
|
1208
|
+
this.h.add(c);
|
|
1209
1209
|
this.ak = false;
|
|
1210
1210
|
}
|
|
1211
1211
|
c2() {
|
|
1212
1212
|
this.l = 0;
|
|
1213
|
-
this.
|
|
1213
|
+
this.h.clear();
|
|
1214
1214
|
this.ch();
|
|
1215
1215
|
this.m.ag();
|
|
1216
1216
|
}
|
|
1217
1217
|
cc() {
|
|
1218
1218
|
this.l = 1;
|
|
1219
|
-
this.
|
|
1219
|
+
this.h.clear();
|
|
1220
1220
|
this.ch();
|
|
1221
1221
|
this.m.ag();
|
|
1222
1222
|
}
|
|
1223
1223
|
ck(a, b, c) {
|
|
1224
|
-
if (this.
|
|
1225
|
-
this.
|
|
1224
|
+
if (this.f != null) {
|
|
1225
|
+
this.f.notifySetItem(a, b, c);
|
|
1226
1226
|
}
|
|
1227
1227
|
}
|
|
1228
1228
|
ch() {
|
|
1229
|
-
if (this.
|
|
1230
|
-
this.
|
|
1229
|
+
if (this.f != null) {
|
|
1230
|
+
this.f.notifyClearItems();
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
1233
|
ci(a, b) {
|
|
1234
|
-
if (this.
|
|
1235
|
-
this.
|
|
1234
|
+
if (this.f != null) {
|
|
1235
|
+
this.f.notifyInsertItem(a, b);
|
|
1236
1236
|
}
|
|
1237
1237
|
;
|
|
1238
1238
|
}
|
|
1239
1239
|
cj(a, b) {
|
|
1240
|
-
if (this.
|
|
1241
|
-
this.
|
|
1240
|
+
if (this.f != null) {
|
|
1241
|
+
this.f.notifyRemoveItem(a, b);
|
|
1242
1242
|
}
|
|
1243
1243
|
;
|
|
1244
1244
|
}
|
|
1245
1245
|
b9(a) {
|
|
1246
1246
|
let b = null;
|
|
1247
|
-
if (this.
|
|
1247
|
+
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1248
1248
|
b = new PrimaryKeyValue(null, a);
|
|
1249
1249
|
}
|
|
1250
|
-
else if (this.
|
|
1251
|
-
b = new PrimaryKeyValue(this.
|
|
1250
|
+
else if (this.primaryKey.length == a.length) {
|
|
1251
|
+
b = new PrimaryKeyValue(this.primaryKey, a);
|
|
1252
1252
|
}
|
|
1253
1253
|
else {
|
|
1254
1254
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
@@ -1259,27 +1259,27 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1259
1259
|
let d = this.e.getItemAtIndex(c);
|
|
1260
1260
|
this.ad.setPropertyValue(d, true);
|
|
1261
1261
|
}
|
|
1262
|
-
this.
|
|
1262
|
+
this.h.add(b);
|
|
1263
1263
|
}
|
|
1264
1264
|
}
|
|
1265
1265
|
c1(a) {
|
|
1266
1266
|
let b = null;
|
|
1267
|
-
if (this.
|
|
1267
|
+
if (this.primaryKey == null || this.primaryKey.length == 0) {
|
|
1268
1268
|
b = new PrimaryKeyValue(null, a);
|
|
1269
1269
|
}
|
|
1270
|
-
else if (this.
|
|
1271
|
-
b = new PrimaryKeyValue(this.
|
|
1270
|
+
else if (this.primaryKey.length == a.length) {
|
|
1271
|
+
b = new PrimaryKeyValue(this.primaryKey, a);
|
|
1272
1272
|
}
|
|
1273
1273
|
else {
|
|
1274
1274
|
throw new ArgumentException(1, "value length must match PrimaryKey length");
|
|
1275
1275
|
}
|
|
1276
|
-
if (this.
|
|
1276
|
+
if (this.h.contains(b)) {
|
|
1277
1277
|
if (this.ad != null) {
|
|
1278
1278
|
let c = this.e.indexOfKey(a);
|
|
1279
1279
|
let d = this.e.getItemAtIndex(c);
|
|
1280
1280
|
this.ad.setPropertyValue(d, false);
|
|
1281
1281
|
}
|
|
1282
|
-
this.
|
|
1282
|
+
this.h.remove(b);
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
1285
|
getDesiredSize() {
|
|
@@ -1293,7 +1293,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1293
1293
|
b += 38;
|
|
1294
1294
|
b += 8;
|
|
1295
1295
|
b += 4;
|
|
1296
|
-
let c = this.
|
|
1296
|
+
let c = this.f != null ? this.f.actualRowHeight : 30;
|
|
1297
1297
|
let d = (this.itemsSource.length);
|
|
1298
1298
|
let e = c * d;
|
|
1299
1299
|
if (e > 150) {
|
|
@@ -1340,7 +1340,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1340
1340
|
if (-1 == this.ay) {
|
|
1341
1341
|
return false;
|
|
1342
1342
|
}
|
|
1343
|
-
let a = this.
|
|
1343
|
+
let a = this.h.count;
|
|
1344
1344
|
if (0 == a) {
|
|
1345
1345
|
return false;
|
|
1346
1346
|
}
|
|
@@ -1349,10 +1349,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
return true;
|
|
1351
1351
|
}
|
|
1352
|
-
get
|
|
1352
|
+
get showSelectAll() {
|
|
1353
1353
|
return this.at;
|
|
1354
1354
|
}
|
|
1355
|
-
set
|
|
1355
|
+
set showSelectAll(a) {
|
|
1356
1356
|
if (a == this.at) {
|
|
1357
1357
|
return;
|
|
1358
1358
|
}
|
|
@@ -1360,20 +1360,20 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1360
1360
|
this.at = a;
|
|
1361
1361
|
this.cr("showSelectAll", b, this.at);
|
|
1362
1362
|
}
|
|
1363
|
-
get
|
|
1363
|
+
get backgroundColor() {
|
|
1364
1364
|
return this.c8;
|
|
1365
1365
|
}
|
|
1366
|
-
set
|
|
1366
|
+
set backgroundColor(a) {
|
|
1367
1367
|
let b = this.c8;
|
|
1368
1368
|
this.c8 = a;
|
|
1369
1369
|
if (b != this.c8) {
|
|
1370
1370
|
this.cr("BackgroundColor", b, a);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
|
-
get
|
|
1373
|
+
get rowHoverBackgroundColor() {
|
|
1374
1374
|
return this.de;
|
|
1375
1375
|
}
|
|
1376
|
-
set
|
|
1376
|
+
set rowHoverBackgroundColor(a) {
|
|
1377
1377
|
let b = this.de;
|
|
1378
1378
|
this.de = a;
|
|
1379
1379
|
if (b != this.de) {
|
|
@@ -1403,7 +1403,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1403
1403
|
if (-1 == this.ay) {
|
|
1404
1404
|
return true;
|
|
1405
1405
|
}
|
|
1406
|
-
let a = this.
|
|
1406
|
+
let a = this.h.count;
|
|
1407
1407
|
switch (this.l) {
|
|
1408
1408
|
case 0: return this.ay == a;
|
|
1409
1409
|
case 1: return 0 == a;
|
|
@@ -1414,7 +1414,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1414
1414
|
if (-1 == this.ay) {
|
|
1415
1415
|
return false;
|
|
1416
1416
|
}
|
|
1417
|
-
let a = this.
|
|
1417
|
+
let a = this.h.count;
|
|
1418
1418
|
switch (this.l) {
|
|
1419
1419
|
case 0: return 0 == a;
|
|
1420
1420
|
case 1: return this.ay == a;
|
|
@@ -1422,7 +1422,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
}
|
|
1424
1424
|
ca() {
|
|
1425
|
-
let a = this.
|
|
1425
|
+
let a = this.f.actualDataSource;
|
|
1426
1426
|
if (null != a) {
|
|
1427
1427
|
if (null == a.actualSchema) {
|
|
1428
1428
|
this.ay = -1;
|