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.
Files changed (85) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +1393 -1404
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/esm2015/lib/CanvasGridCellBase.js +52 -52
  4. package/esm2015/lib/CanvasTemplateCellPresenter.js +7 -7
  5. package/esm2015/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
  6. package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
  7. package/esm2015/lib/CheckboxListBridge.js +1 -4
  8. package/esm2015/lib/CheckboxListView_combined.js +188 -188
  9. package/esm2015/lib/ColumnChooserView_combined.js +42 -42
  10. package/esm2015/lib/ColumnFilterCondition_combined.js +659 -659
  11. package/esm2015/lib/ColumnGroupingView_combined.js +40 -40
  12. package/esm2015/lib/ColumnPinningView_combined.js +42 -42
  13. package/esm2015/lib/DataGridAccessibilityLayoutPanel.js +2 -2
  14. package/esm2015/lib/DataGridCellLayoutPanel.js +48 -48
  15. package/esm2015/lib/DataGridToolbarView_combined.js +87 -87
  16. package/esm2015/lib/EditorCell.js +86 -86
  17. package/esm2015/lib/EditorCellPresenter.js +1 -1
  18. package/esm2015/lib/FilterCell.js +90 -90
  19. package/esm2015/lib/FilterCellPresenter.js +1 -1
  20. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +7 -7
  21. package/esm2015/lib/ISummaryChooserView_combined.js +6 -6
  22. package/esm2015/lib/TemplateHeader.js +1 -1
  23. package/esm2015/lib/igc-checkbox-list-component.js +31 -27
  24. package/esm2015/lib/igc-column-chooser-component.js +2 -2
  25. package/esm2015/lib/igc-column-pinning-component.js +2 -2
  26. package/esm2015/lib/igc-data-grid-toolbar-component.js +2 -2
  27. package/esm2015/public_api.js +20 -21
  28. package/esm5/lib/CanvasGridCellBase.js +52 -52
  29. package/esm5/lib/CanvasTemplateCellPresenter.js +7 -7
  30. package/esm5/lib/CanvasTemplateHeaderCellPresenter.js +6 -6
  31. package/esm5/lib/CanvasTextHeaderCell.js +1 -1
  32. package/esm5/lib/CheckboxListBridge.js +1 -4
  33. package/esm5/lib/CheckboxListView_combined.js +179 -179
  34. package/esm5/lib/ColumnChooserView_combined.js +41 -41
  35. package/esm5/lib/ColumnFilterCondition_combined.js +654 -654
  36. package/esm5/lib/ColumnGroupingView_combined.js +40 -40
  37. package/esm5/lib/ColumnPinningView_combined.js +41 -41
  38. package/esm5/lib/DataGridAccessibilityLayoutPanel.js +2 -2
  39. package/esm5/lib/DataGridCellLayoutPanel.js +48 -48
  40. package/esm5/lib/DataGridToolbarView_combined.js +86 -86
  41. package/esm5/lib/EditorCell.js +85 -85
  42. package/esm5/lib/EditorCellPresenter.js +1 -1
  43. package/esm5/lib/FilterCell.js +88 -88
  44. package/esm5/lib/FilterCellPresenter.js +1 -1
  45. package/esm5/lib/GridColumnFilterOptionsView_combined.js +7 -7
  46. package/esm5/lib/ISummaryChooserView_combined.js +6 -6
  47. package/esm5/lib/TemplateHeader.js +1 -1
  48. package/esm5/lib/igc-checkbox-list-component.js +31 -27
  49. package/esm5/lib/igc-column-chooser-component.js +2 -2
  50. package/esm5/lib/igc-column-pinning-component.js +2 -2
  51. package/esm5/lib/igc-data-grid-toolbar-component.js +2 -2
  52. package/esm5/public_api.js +20 -21
  53. package/fesm2015/igniteui-webcomponents-grids.js +1415 -1425
  54. package/fesm5/igniteui-webcomponents-grids.js +1395 -1405
  55. package/grids/combined.js +16296 -15683
  56. package/grids/lib/igc-grid-base-directive.d.ts +1 -0
  57. package/grids/lib/igc-row-island-component.d.ts +1 -0
  58. package/grids/styles.css +1 -1
  59. package/grids/themes/dark/bootstrap.css +1 -1
  60. package/grids/themes/dark/fluent.css +1 -1
  61. package/grids/themes/dark/indigo.css +1 -1
  62. package/grids/themes/dark/material.css +1 -1
  63. package/grids/themes/light/bootstrap.css +1 -1
  64. package/grids/themes/light/fluent.css +1 -1
  65. package/grids/themes/light/indigo.css +1 -1
  66. package/grids/themes/light/material.css +1 -1
  67. package/lib/CanvasGridCellBase.d.ts +7 -7
  68. package/lib/CanvasTemplateCellPresenter.d.ts +2 -2
  69. package/lib/CanvasTemplateHeaderCellPresenter.d.ts +2 -2
  70. package/lib/CheckboxListExternal.d.ts +6 -4
  71. package/lib/CheckboxListView_combined.d.ts +26 -26
  72. package/lib/ColumnChooserView_combined.d.ts +4 -4
  73. package/lib/ColumnFilterCondition_combined.d.ts +113 -113
  74. package/lib/ColumnGroupingView_combined.d.ts +2 -2
  75. package/lib/ColumnPinningView_combined.d.ts +4 -4
  76. package/lib/DataGridCellLayoutPanel.d.ts +3 -3
  77. package/lib/DataGridToolbarView_combined.d.ts +5 -5
  78. package/lib/EditorCell.d.ts +8 -8
  79. package/lib/FilterCell.d.ts +12 -12
  80. package/lib/igc-checkbox-list-component.d.ts +2 -0
  81. package/package.json +4 -4
  82. package/public_api.d.ts +20 -21
  83. package/esm2015/lib/CheckboxListViewExternal.js +0 -11
  84. package/esm5/lib/CheckboxListViewExternal.js +0 -11
  85. package/lib/CheckboxListViewExternal.d.ts +0 -16
@@ -15,7 +15,6 @@ import { XInput } from "igniteui-webcomponents-inputs";
15
15
  import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
16
16
  import { NativeUI } from "igniteui-webcomponents-core";
17
17
  import { PrimaryKeyValue } from "./PrimaryKeyValue";
18
- import { Size } from "igniteui-webcomponents-core";
19
18
  import { Thickness } from "igniteui-webcomponents-core";
20
19
  import { CheckboxListIndexType_$type } from "./CheckboxListIndexType";
21
20
  import { SRProvider } from "igniteui-webcomponents-core";
@@ -34,6 +33,7 @@ import { DateTimeColumn } from "./DateTimeColumn";
34
33
  import { NumericColumn } from "./NumericColumn";
35
34
  import { TextColumn } from "./TextColumn";
36
35
  import { ArgumentException } from "igniteui-webcomponents-core";
36
+ import { Size } from "igniteui-webcomponents-core";
37
37
  import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
38
38
  import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
39
39
  /**
@@ -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.ac;
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.d1;
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.au == false) {
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.au) {
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.ac) {
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.au ? "flex" : "none";
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.g.count == 0;
320
+ this.a.checked = this.b.h.count == 0;
321
321
  }
322
322
  else {
323
- this.a.checked = this.b.g.count != 0;
323
+ this.a.checked = this.b.h.count != 0;
324
324
  }
325
325
  }
326
326
  finally {
@@ -349,37 +349,14 @@ 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.dn);
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.d1;
357
+ this.c.fill = this.b.searchIconColor;
358
358
  }
359
359
  }
360
- aj() {
361
- let a = 248;
362
- let b = 0;
363
- if (this.b.itemsSource == null) {
364
- return new Size(1, a, b + 158);
365
- }
366
- let c = (this.b.itemsSource.length);
367
- b += 4;
368
- b += 16;
369
- b += 38;
370
- b += 8;
371
- b += 4;
372
- let d = this.b.h != null ? this.b.h.actualRowHeight : 30;
373
- let e = d * c;
374
- if (e > 150) {
375
- b += 150;
376
- b += 15;
377
- }
378
- else {
379
- b += e;
380
- }
381
- return new Size(1, a, b);
382
- }
383
360
  ac() {
384
361
  if (this.b.ag != null) {
385
362
  this.i.setStyleProperty("font", this.b.ag.fontString);
@@ -426,10 +403,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
426
403
  this.q = a;
427
404
  }
428
405
  get e() {
429
- if (this.h == null) {
406
+ if (this.f == null) {
430
407
  return null;
431
408
  }
432
- return this.h.actualDataSource;
409
+ return this.f.actualDataSource;
433
410
  }
434
411
  get aj() {
435
412
  if (this.ai == null) {
@@ -438,13 +415,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
438
415
  }
439
416
  return this.ai;
440
417
  }
441
- get g() {
442
- return this.f;
418
+ get h() {
419
+ return this.g;
443
420
  }
444
- get b() {
421
+ get primaryKey() {
445
422
  return this.a;
446
423
  }
447
- set b(a) {
424
+ set primaryKey(a) {
448
425
  let b = this.a;
449
426
  this.a = a;
450
427
  if (b != this.a) {
@@ -454,8 +431,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
454
431
  constructor() {
455
432
  super();
456
433
  this.m = null;
457
- this.h = null;
458
- this.i = null;
434
+ this.f = null;
435
+ this.j = null;
459
436
  this.ad = null;
460
437
  this.d = null;
461
438
  this.ak = false;
@@ -464,7 +441,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
464
441
  this.s = null;
465
442
  this.al = false;
466
443
  this.ai = null;
467
- this.f = new GridSelectedKeysCollection();
444
+ this.g = new GridSelectedKeysCollection();
468
445
  this.a = null;
469
446
  this.propertyChanged = null;
470
447
  this.selectedKeyAdded = null;
@@ -503,7 +480,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
503
480
  this.ay = -1;
504
481
  this.ar = true;
505
482
  this.ao = true;
506
- let a = this.f;
483
+ let a = this.g;
507
484
  a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.cv));
508
485
  this.d = new FilterFactory();
509
486
  let b = new CheckboxListView();
@@ -536,8 +513,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
536
513
  break;
537
514
  case 4:
538
515
  this.m.u(this.l == 0);
539
- for (let g = 0; g < this.g.ae.count; g++) {
540
- this.cp(this.g.ae._inner[g]);
516
+ for (let g = 0; g < this.h.ae.count; g++) {
517
+ this.cp(this.h.ae._inner[g]);
541
518
  }
542
519
  break;
543
520
  }
@@ -596,13 +573,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
596
573
  this.m.l();
597
574
  }
598
575
  destroy() {
599
- if (this.h != null) {
600
- let a = this.h;
576
+ if (this.f != null) {
577
+ let a = this.f;
601
578
  a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ce));
602
- let b = this.h;
579
+ let b = this.f;
603
580
  b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cf));
604
- if (this.h.actualDataSource != null) {
605
- let c = this.h.actualDataSource;
581
+ if (this.f.actualDataSource != null) {
582
+ let c = this.f.actualDataSource;
606
583
  c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.cs));
607
584
  }
608
585
  }
@@ -611,28 +588,28 @@ export let CheckboxList = /*@__PURE__*/ (() => {
611
588
  d.change = delegateRemove(d.change, runOn(this, this.cg));
612
589
  }
613
590
  this.provideContainer(null, null, null);
614
- if (this.i != null) {
615
- let e = this.i;
591
+ if (this.j != null) {
592
+ let e = this.j;
616
593
  e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cb));
617
594
  }
618
595
  }
619
596
  provideContainer(a, b, c) {
620
- this.h = b;
621
- if (null != this.h) {
622
- this.h.scrollbarStyle = 1;
623
- let d = this.h;
597
+ this.f = b;
598
+ if (null != this.f) {
599
+ this.f.scrollbarStyle = 1;
600
+ let d = this.f;
624
601
  d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cf));
625
- this.h.scrollbarBackground = this.dy;
626
- this.h.headerHeight = 0;
627
- this.h.rowSeparatorHeight = 0;
628
- this.h.defaultColumnMinWidth = NaN;
629
- this.h.autoGenerateColumns = false;
630
- this.h.activationMode = 0;
631
- this.h.editMode = 0;
632
- let e = this.h;
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;
633
610
  e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ce));
634
611
  if (this.a0 != null) {
635
- this.h.itemsSource = this.a0;
612
+ this.f.itemsSource = this.a0;
636
613
  this.ca();
637
614
  this.cu();
638
615
  }
@@ -645,7 +622,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
645
622
  this.m.m(a);
646
623
  }
647
624
  cf(a, b) {
648
- this.h.scrollbarStyle = this.y;
625
+ this.f.scrollbarStyle = this.y;
649
626
  }
650
627
  provideSelectAllSection(a) {
651
628
  this.m.q(a);
@@ -659,18 +636,18 @@ export let CheckboxList = /*@__PURE__*/ (() => {
659
636
  return;
660
637
  }
661
638
  let d = b.cellInfo.g4;
662
- let e = this.j(d);
663
- if (this.g.contains(e)) {
639
+ let e = this.i(d);
640
+ if (this.h.contains(e)) {
664
641
  if (this.ad != null) {
665
642
  this.ad.setPropertyValue(d, false);
666
643
  }
667
- this.g.remove(e);
644
+ this.h.remove(e);
668
645
  }
669
646
  else {
670
647
  if (this.ad != null) {
671
648
  this.ad.setPropertyValue(d, true);
672
649
  }
673
- this.g.add(e);
650
+ this.h.add(e);
674
651
  }
675
652
  }
676
653
  cb(a, b) {
@@ -680,8 +657,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
680
657
  }
681
658
  let d = false;
682
659
  if (b.cellInfo.g4 != null) {
683
- let e = this.j(b.cellInfo.g4);
684
- if (this.g.contains(e)) {
660
+ let e = this.i(b.cellInfo.g4);
661
+ if (this.h.contains(e)) {
685
662
  d = true;
686
663
  }
687
664
  }
@@ -691,13 +668,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
691
668
  if (this.a2 != null) {
692
669
  let b = this.d.property(this.a2).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
693
670
  let c = b.contains(a);
694
- if (!this.h.filterExpressions.k.contains(this.c)) {
671
+ if (!this.f.filterExpressions.k.contains(this.c)) {
695
672
  this.c = c;
696
- this.h.filterExpressions.add(this.c);
673
+ this.f.filterExpressions.add(this.c);
697
674
  }
698
675
  else {
699
- let d = this.h.filterExpressions.k.indexOf(this.c);
700
- this.h.filterExpressions.k.item(d, this.c = c);
676
+ let d = this.f.filterExpressions.k.indexOf(this.c);
677
+ this.f.filterExpressions.k.item(d, this.c = c);
701
678
  }
702
679
  }
703
680
  }
@@ -711,20 +688,20 @@ export let CheckboxList = /*@__PURE__*/ (() => {
711
688
  this.cr("ItemsSource", b, this.a0);
712
689
  }
713
690
  }
714
- get be() {
691
+ get dataMemberPath() {
715
692
  return this.a2;
716
693
  }
717
- set be(a) {
694
+ set dataMemberPath(a) {
718
695
  let b = this.a2;
719
696
  this.a2 = a;
720
697
  if (b != this.a2) {
721
698
  this.cr("DataMemberPath", b, this.a2);
722
699
  }
723
700
  }
724
- get b3() {
701
+ get selectedMemberPath() {
725
702
  return this.a4;
726
703
  }
727
- set b3(a) {
704
+ set selectedMemberPath(a) {
728
705
  let b = this.a4;
729
706
  this.a4 = a;
730
707
  if (b != this.a4) {
@@ -762,8 +739,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
762
739
  }
763
740
  }
764
741
  get ax() {
765
- if (this.h != null) {
766
- return this.h.actualRowHeight;
742
+ if (this.f != null) {
743
+ return this.f.actualRowHeight;
767
744
  }
768
745
  return -1;
769
746
  }
@@ -797,20 +774,20 @@ export let CheckboxList = /*@__PURE__*/ (() => {
797
774
  this.cr("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.z));
798
775
  }
799
776
  }
800
- get ac() {
777
+ get density() {
801
778
  return this.ab;
802
779
  }
803
- set ac(a) {
780
+ set density(a) {
804
781
  let b = this.ab;
805
782
  this.ab = a;
806
783
  if (b != this.ab) {
807
784
  this.cr("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ab));
808
785
  }
809
786
  }
810
- get d1() {
787
+ get searchIconColor() {
811
788
  return this.di;
812
789
  }
813
- set d1(a) {
790
+ set searchIconColor(a) {
814
791
  let b = this.di;
815
792
  this.di = a;
816
793
  if (b != this.di) {
@@ -827,10 +804,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
827
804
  this.cr("SearchBackgroundColor", b, this.dg);
828
805
  }
829
806
  }
830
- get d2() {
807
+ get searchTextColor() {
831
808
  return this.dj;
832
809
  }
833
- set d2(a) {
810
+ set searchTextColor(a) {
834
811
  let b = this.dj;
835
812
  this.dj = a;
836
813
  if (b != this.dj) {
@@ -936,22 +913,22 @@ export let CheckboxList = /*@__PURE__*/ (() => {
936
913
  cw(a, b, c) {
937
914
  switch (a) {
938
915
  case "ItemsSource":
939
- if (this.h != null) {
916
+ if (this.f != null) {
940
917
  this.l = 1;
941
918
  if (c != null) {
942
- this.h.groupDescriptions.n();
943
- this.h.sortDescriptions.n();
944
- this.h.filterExpressions.clear();
945
- this.h.summaryDescriptions.n();
919
+ this.f.groupDescriptions.n();
920
+ this.f.sortDescriptions.n();
921
+ this.f.filterExpressions.clear();
922
+ this.f.summaryDescriptions.n();
946
923
  }
947
- if (this.h.actualDataSource != null) {
948
- let d = this.h.actualDataSource;
924
+ if (this.f.actualDataSource != null) {
925
+ let d = this.f.actualDataSource;
949
926
  d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.cs));
950
927
  }
951
- this.h.itemsSource = this.a0;
928
+ this.f.itemsSource = this.a0;
952
929
  this.ca();
953
- if (this.h.actualDataSource != null) {
954
- let e = this.h.actualDataSource;
930
+ if (this.f.actualDataSource != null) {
931
+ let e = this.f.actualDataSource;
955
932
  e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.cs));
956
933
  }
957
934
  this.al = true;
@@ -962,7 +939,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
962
939
  break;
963
940
  case "DataMemberPath":
964
941
  case "SelectedMemberPath":
965
- if (this.h != null) {
942
+ if (this.f != null) {
966
943
  if (this.a2 != null) {
967
944
  this.cu();
968
945
  this.c5();
@@ -970,8 +947,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
970
947
  }
971
948
  break;
972
949
  case "PrimaryKey":
973
- if (this.h != null) {
974
- this.h.primaryKey = this.b;
950
+ if (this.f != null) {
951
+ this.f.primaryKey = this.primaryKey;
975
952
  }
976
953
  break;
977
954
  case "SelectAllCaptionTextColor":
@@ -1000,25 +977,25 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1000
977
  }
1001
978
  break;
1002
979
  case "RowHeight":
1003
- if (this.h != null) {
1004
- this.h.rowHeight = this.az;
980
+ if (this.f != null) {
981
+ this.f.rowHeight = this.az;
1005
982
  }
1006
983
  break;
1007
984
  case "CellTextStyle":
1008
- if (this.h != null) {
1009
- this.h.cellTextStyle = this.ag;
985
+ if (this.f != null) {
986
+ this.f.cellTextStyle = this.ag;
1010
987
  }
1011
988
  this.m.ac();
1012
989
  break;
1013
990
  case "BackgroundColor":
1014
991
  case "TextColor":
1015
992
  case "RowHoverBackgroundColor":
1016
- let f = this.h;
993
+ let f = this.f;
1017
994
  if (null != f) {
1018
995
  f.cellTextColor = this.d5;
1019
- f.cellBackground = this.dn;
1020
- f.cellSelectedBackground = this.dn;
1021
- f.rowHoverBackground = this.dx;
996
+ f.cellBackground = this.backgroundColor;
997
+ f.cellSelectedBackground = this.backgroundColor;
998
+ f.rowHoverBackground = this.rowHoverBackgroundColor;
1022
999
  }
1023
1000
  this.m.ad();
1024
1001
  break;
@@ -1029,18 +1006,18 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1029
1006
  this.c3();
1030
1007
  break;
1031
1008
  case "IsRowHoverEnabled":
1032
- if (this.h != null) {
1033
- this.h.isRowHoverEnabled = this.ap;
1009
+ if (this.f != null) {
1010
+ this.f.isRowHoverEnabled = this.ap;
1034
1011
  }
1035
1012
  break;
1036
1013
  case "ScrollbarStyle":
1037
- if (this.h != null) {
1038
- this.h.scrollbarStyle = this.y;
1014
+ if (this.f != null) {
1015
+ this.f.scrollbarStyle = this.y;
1039
1016
  }
1040
1017
  break;
1041
1018
  case "ScrollbarBackground":
1042
- if (this.h != null) {
1043
- this.h.scrollbarBackground = this.dy;
1019
+ if (this.f != null) {
1020
+ this.f.scrollbarBackground = this.dy;
1044
1021
  }
1045
1022
  break;
1046
1023
  case "SearchIconColor":
@@ -1054,7 +1031,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1054
1031
  break;
1055
1032
  case "SearchTextColor":
1056
1033
  if (this.r != null) {
1057
- this.r.d8 = this.d2;
1034
+ this.r.d8 = this.searchTextColor;
1058
1035
  }
1059
1036
  break;
1060
1037
  case "SearchTextStyle":
@@ -1066,18 +1043,18 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1066
1043
  case "CheckboxCheckedBorderColor":
1067
1044
  case "CheckboxUncheckedBorderColor":
1068
1045
  this.m.y();
1069
- if (this.h != null) {
1070
- this.h.w9();
1046
+ if (this.f != null) {
1047
+ this.f.w9();
1071
1048
  }
1072
1049
  break;
1073
1050
  }
1074
1051
  }
1075
1052
  c3() {
1076
- if (this.h != null) {
1077
- this.h.density = this.ac;
1053
+ if (this.f != null) {
1054
+ this.f.density = this.density;
1078
1055
  }
1079
1056
  if (this.s != null) {
1080
- this.s.t = this.ac;
1057
+ this.s.t = this.density;
1081
1058
  }
1082
1059
  this.m.x();
1083
1060
  }
@@ -1086,13 +1063,13 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1086
1063
  this.s.p = this.aa;
1087
1064
  }
1088
1065
  if (this.r != null) {
1089
- this.r.d8 = this.d2;
1066
+ this.r.d8 = this.searchTextColor;
1090
1067
  }
1091
- if (this.h != null) {
1092
- this.h.cellTextColor = this.d5;
1093
- this.h.cellBackground = this.dn;
1094
- this.h.cellSelectedBackground = this.dn;
1095
- this.h.rowHoverBackground = this.dx;
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;
1096
1073
  }
1097
1074
  this.m.z();
1098
1075
  }
@@ -1101,8 +1078,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1101
1078
  this.ca();
1102
1079
  if (b.schema != null) {
1103
1080
  this.cu();
1104
- for (let c = 0; c < this.g.count; c++) {
1105
- this.cp(this.g._inner[c]);
1081
+ for (let c = 0; c < this.h.count; c++) {
1082
+ this.cp(this.h._inner[c]);
1106
1083
  }
1107
1084
  this.m.ag();
1108
1085
  }
@@ -1112,33 +1089,33 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1112
1089
  if (this.ad == null && this.a4 != null && this.a4 != "") {
1113
1090
  this.ad = new FastReflectionHelper(false, this.a4);
1114
1091
  }
1115
- if (this.a0 != null && this.ad != null && this.h.actualDataSource.actualSchema != null) {
1092
+ if (this.a0 != null && this.ad != null && this.f.actualDataSource.actualSchema != null) {
1116
1093
  this.ad.propertyName = this.a4;
1117
- let a = this.h.actualDataSource.actualCount;
1094
+ let a = this.f.actualDataSource.actualCount;
1118
1095
  for (let b = 0; b < a; b++) {
1119
- let c = this.h.actualDataSource.getItemAtIndex(b);
1096
+ let c = this.f.actualDataSource.getItemAtIndex(b);
1120
1097
  let d = this.ad.getPropertyValue(c);
1121
1098
  if (d == true) {
1122
- let e = this.j(c);
1123
- if (!this.g.contains(e)) {
1124
- this.g.add(e);
1099
+ let e = this.i(c);
1100
+ if (!this.h.contains(e)) {
1101
+ this.h.add(e);
1125
1102
  }
1126
1103
  }
1127
1104
  }
1128
1105
  }
1129
1106
  }
1130
1107
  c5() {
1131
- this.h.actualColumns.clear();
1132
- this.h.primaryKey = this.b;
1133
- this.h.isGroupRowSticky = false;
1134
- this.h.rowHeight = this.az;
1135
- this.h.cellBackground = this.dn;
1136
- this.h.cellSelectedBackground = this.dn;
1137
- this.h.density = this.ac;
1138
- this.h.isRowHoverEnabled = this.ap;
1139
- this.h.borderWidth = new Thickness(0, 0);
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);
1140
1117
  if (this.ag != null) {
1141
- this.h.cellTextStyle = this.ag;
1118
+ this.f.cellTextStyle = this.ag;
1142
1119
  }
1143
1120
  let a = new TemplateColumn();
1144
1121
  if (this.a4 == null) {
@@ -1153,9 +1130,9 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1153
1130
  a.h2 = 0;
1154
1131
  a.h3 = 0;
1155
1132
  a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cb));
1156
- this.h.columns.add(a);
1157
- this.i = a;
1158
- let c = this.h.actualDataSource.resolveSchemaPropertyType(this.a2);
1133
+ this.f.columns.add(a);
1134
+ this.j = a;
1135
+ let c = this.f.actualDataSource.resolveSchemaPropertyType(this.a2);
1159
1136
  let d;
1160
1137
  switch (c) {
1161
1138
  case 8:
@@ -1182,7 +1159,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1182
1159
  d.jz = "DataColumn";
1183
1160
  d.h2 = 0;
1184
1161
  d.e = 0;
1185
- this.h.columns.add(d);
1162
+ this.f.columns.add(d);
1186
1163
  }
1187
1164
  updateHrMargin(a) {
1188
1165
  this.m.aa(a);
@@ -1199,14 +1176,14 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1199
1176
  let c = b.value.toLowerCase();
1200
1177
  this.cn(c);
1201
1178
  }
1202
- j(a) {
1203
- if (this.b == null) {
1179
+ i(a) {
1180
+ if (this.primaryKey == null) {
1204
1181
  return PrimaryKeyValue.createIdentityKey(a);
1205
1182
  }
1206
- let b = new Array(this.b.length);
1207
- let c = new Array(this.b.length);
1183
+ let b = new Array(this.primaryKey.length);
1184
+ let c = new Array(this.primaryKey.length);
1208
1185
  for (let d = 0; d < b.length; d++) {
1209
- b[d] = this.b[d];
1186
+ b[d] = this.primaryKey[d];
1210
1187
  c[d] = this.e.getItemProperty(a, b[d]);
1211
1188
  }
1212
1189
  return new PrimaryKeyValue(b, c);
@@ -1217,8 +1194,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1217
1194
  if (this.ad != null) {
1218
1195
  this.ad.setPropertyValue(b, false);
1219
1196
  }
1220
- let c = this.j(b);
1221
- this.g.remove(c);
1197
+ let c = this.i(b);
1198
+ this.h.remove(c);
1222
1199
  this.ak = false;
1223
1200
  }
1224
1201
  b8(a) {
@@ -1227,51 +1204,51 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1227
1204
  if (this.ad != null) {
1228
1205
  this.ad.setPropertyValue(b, true);
1229
1206
  }
1230
- let c = this.j(b);
1231
- this.g.add(c);
1207
+ let c = this.i(b);
1208
+ this.h.add(c);
1232
1209
  this.ak = false;
1233
1210
  }
1234
1211
  c2() {
1235
1212
  this.l = 0;
1236
- this.g.clear();
1213
+ this.h.clear();
1237
1214
  this.ch();
1238
1215
  this.m.ag();
1239
1216
  }
1240
1217
  cc() {
1241
1218
  this.l = 1;
1242
- this.g.clear();
1219
+ this.h.clear();
1243
1220
  this.ch();
1244
1221
  this.m.ag();
1245
1222
  }
1246
1223
  ck(a, b, c) {
1247
- if (this.h != null) {
1248
- this.h.notifySetItem(a, b, c);
1224
+ if (this.f != null) {
1225
+ this.f.notifySetItem(a, b, c);
1249
1226
  }
1250
1227
  }
1251
1228
  ch() {
1252
- if (this.h != null) {
1253
- this.h.notifyClearItems();
1229
+ if (this.f != null) {
1230
+ this.f.notifyClearItems();
1254
1231
  }
1255
1232
  }
1256
1233
  ci(a, b) {
1257
- if (this.h != null) {
1258
- this.h.notifyInsertItem(a, b);
1234
+ if (this.f != null) {
1235
+ this.f.notifyInsertItem(a, b);
1259
1236
  }
1260
1237
  ;
1261
1238
  }
1262
1239
  cj(a, b) {
1263
- if (this.h != null) {
1264
- this.h.notifyRemoveItem(a, b);
1240
+ if (this.f != null) {
1241
+ this.f.notifyRemoveItem(a, b);
1265
1242
  }
1266
1243
  ;
1267
1244
  }
1268
1245
  b9(a) {
1269
1246
  let b = null;
1270
- if (this.b == null || this.b.length == 0) {
1247
+ if (this.primaryKey == null || this.primaryKey.length == 0) {
1271
1248
  b = new PrimaryKeyValue(null, a);
1272
1249
  }
1273
- else if (this.b.length == a.length) {
1274
- b = new PrimaryKeyValue(this.b, a);
1250
+ else if (this.primaryKey.length == a.length) {
1251
+ b = new PrimaryKeyValue(this.primaryKey, a);
1275
1252
  }
1276
1253
  else {
1277
1254
  throw new ArgumentException(1, "value length must match PrimaryKey length");
@@ -1282,28 +1259,51 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1282
1259
  let d = this.e.getItemAtIndex(c);
1283
1260
  this.ad.setPropertyValue(d, true);
1284
1261
  }
1285
- this.g.add(b);
1262
+ this.h.add(b);
1286
1263
  }
1287
1264
  }
1288
1265
  c1(a) {
1289
1266
  let b = null;
1290
- if (this.b == null || this.b.length == 0) {
1267
+ if (this.primaryKey == null || this.primaryKey.length == 0) {
1291
1268
  b = new PrimaryKeyValue(null, a);
1292
1269
  }
1293
- else if (this.b.length == a.length) {
1294
- b = new PrimaryKeyValue(this.b, a);
1270
+ else if (this.primaryKey.length == a.length) {
1271
+ b = new PrimaryKeyValue(this.primaryKey, a);
1295
1272
  }
1296
1273
  else {
1297
1274
  throw new ArgumentException(1, "value length must match PrimaryKey length");
1298
1275
  }
1299
- if (this.g.contains(b)) {
1276
+ if (this.h.contains(b)) {
1300
1277
  if (this.ad != null) {
1301
1278
  let c = this.e.indexOfKey(a);
1302
1279
  let d = this.e.getItemAtIndex(c);
1303
1280
  this.ad.setPropertyValue(d, false);
1304
1281
  }
1305
- this.g.remove(b);
1282
+ this.h.remove(b);
1283
+ }
1284
+ }
1285
+ getDesiredSize() {
1286
+ let a = 248;
1287
+ let b = 0;
1288
+ if (this.itemsSource == null) {
1289
+ return new Size(1, a, b + 158);
1306
1290
  }
1291
+ b += 4;
1292
+ b += 16;
1293
+ b += 38;
1294
+ b += 8;
1295
+ b += 4;
1296
+ let c = this.f != null ? this.f.actualRowHeight : 30;
1297
+ let d = (this.itemsSource.length);
1298
+ let e = c * d;
1299
+ if (e > 150) {
1300
+ b += 150;
1301
+ b += 15;
1302
+ }
1303
+ else {
1304
+ b += e;
1305
+ }
1306
+ return new Size(1, a, b);
1307
1307
  }
1308
1308
  get b0() {
1309
1309
  return this.bz != null ? this.bz : !stringIsNullOrWhiteSpace(this.aj.b1("Select_All")) ? this.aj.b1("Select_All") : "(Select All)";
@@ -1340,7 +1340,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1340
1340
  if (-1 == this.ay) {
1341
1341
  return false;
1342
1342
  }
1343
- let a = this.g.count;
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 au() {
1352
+ get showSelectAll() {
1353
1353
  return this.at;
1354
1354
  }
1355
- set au(a) {
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 dn() {
1363
+ get backgroundColor() {
1364
1364
  return this.c8;
1365
1365
  }
1366
- set dn(a) {
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 dx() {
1373
+ get rowHoverBackgroundColor() {
1374
1374
  return this.de;
1375
1375
  }
1376
- set dx(a) {
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.g.count;
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.g.count;
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.h.actualDataSource;
1425
+ let a = this.f.actualDataSource;
1426
1426
  if (null != a) {
1427
1427
  if (null == a.actualSchema) {
1428
1428
  this.ay = -1;