igniteui-webcomponents-grids 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/bundles/igniteui-webcomponents-grids.umd.js +440 -444
  2. package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
  3. package/custom-elements.json +21194 -0
  4. package/esm2015/lib/CheckboxListBridge.js +15 -15
  5. package/esm2015/lib/CheckboxListView_combined.js +343 -350
  6. package/esm2015/lib/ColumnChooserView_combined.js +4 -4
  7. package/esm2015/lib/ColumnFilterCondition_combined.js +7 -1
  8. package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
  9. package/esm2015/lib/ColumnPinningView_combined.js +2 -2
  10. package/esm2015/lib/FilterCell.js +1 -1
  11. package/esm2015/lib/GridColumnButtonOptionsView_combined.js +2 -2
  12. package/esm2015/lib/GridColumnFilterOptionsView_combined.js +5 -5
  13. package/esm2015/lib/GridColumnGroupOptionsView_combined.js +2 -2
  14. package/esm2015/lib/GridColumnHideOptionsView_combined.js +2 -2
  15. package/esm2015/lib/GridColumnOptionsViewBase_combined.js +4 -4
  16. package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +3 -3
  17. package/esm2015/lib/ISummaryChooserView_combined.js +7 -7
  18. package/esm2015/lib/PropertyEditorView_combined.js +2 -2
  19. package/esm2015/lib/igc-checkbox-list-component.js +52 -52
  20. package/esm5/lib/CheckboxListBridge.js +15 -15
  21. package/esm5/lib/CheckboxListView_combined.js +336 -343
  22. package/esm5/lib/ColumnChooserView_combined.js +4 -4
  23. package/esm5/lib/ColumnFilterCondition_combined.js +7 -1
  24. package/esm5/lib/ColumnGroupingView_combined.js +1 -1
  25. package/esm5/lib/ColumnPinningView_combined.js +2 -2
  26. package/esm5/lib/FilterCell.js +1 -1
  27. package/esm5/lib/GridColumnButtonOptionsView_combined.js +2 -2
  28. package/esm5/lib/GridColumnFilterOptionsView_combined.js +5 -5
  29. package/esm5/lib/GridColumnGroupOptionsView_combined.js +2 -2
  30. package/esm5/lib/GridColumnHideOptionsView_combined.js +2 -2
  31. package/esm5/lib/GridColumnOptionsViewBase_combined.js +4 -4
  32. package/esm5/lib/GridColumnSummaryOptionsView_combined.js +3 -3
  33. package/esm5/lib/ISummaryChooserView_combined.js +7 -7
  34. package/esm5/lib/PropertyEditorView_combined.js +2 -2
  35. package/esm5/lib/igc-checkbox-list-component.js +52 -52
  36. package/fesm2015/igniteui-webcomponents-grids.js +448 -452
  37. package/fesm5/igniteui-webcomponents-grids.js +441 -445
  38. package/grids/combined.js +32900 -31630
  39. package/grids/index.d.ts +0 -1
  40. package/grids/lib/common.d.ts +11 -2
  41. package/grids/lib/igc-action-strip-component.d.ts +5 -0
  42. package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
  43. package/grids/lib/igc-column-component.d.ts +23 -0
  44. package/grids/lib/igc-column-group-component.d.ts +5 -0
  45. package/grids/lib/igc-column-layout-component.d.ts +5 -0
  46. package/grids/lib/igc-column-pipe-args.d.ts +1 -1
  47. package/grids/lib/igc-grid-base-directive.d.ts +1 -0
  48. package/grids/lib/igc-grid-component.d.ts +7 -1
  49. package/grids/lib/igc-grid-editing-actions-component.d.ts +5 -0
  50. package/grids/lib/igc-grid-pinning-actions-component.d.ts +5 -0
  51. package/grids/lib/igc-grid-state-component.d.ts +5 -0
  52. package/grids/lib/igc-grid-toolbar-actions-component.d.ts +5 -0
  53. package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +5 -0
  54. package/grids/lib/igc-grid-toolbar-component.d.ts +5 -0
  55. package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +7 -1
  56. package/grids/lib/igc-grid-toolbar-hiding-component.d.ts +7 -1
  57. package/grids/lib/igc-grid-toolbar-pinning-component.d.ts +7 -1
  58. package/grids/lib/igc-grid-toolbar-title-component.d.ts +5 -0
  59. package/grids/lib/igc-hierarchical-grid-base-directive.d.ts +2 -1
  60. package/grids/lib/igc-hierarchical-grid-component.d.ts +7 -1
  61. package/grids/lib/igc-paginator-component.d.ts +5 -0
  62. package/grids/lib/igc-pivot-data-selector-component.d.ts +8 -2
  63. package/grids/lib/igc-pivot-grid-component.d.ts +7 -1
  64. package/grids/lib/igc-row-island-component.d.ts +6 -0
  65. package/grids/lib/igc-tree-grid-component.d.ts +7 -1
  66. package/grids/styles.css +1 -1
  67. package/grids/themes/dark/bootstrap.css +1 -1
  68. package/grids/themes/dark/fluent.css +1 -1
  69. package/grids/themes/dark/indigo.css +1 -1
  70. package/grids/themes/dark/material.css +1 -1
  71. package/grids/themes/light/bootstrap.css +1 -1
  72. package/grids/themes/light/fluent.css +1 -1
  73. package/grids/themes/light/indigo.css +1 -1
  74. package/grids/themes/light/material.css +1 -1
  75. package/lib/CheckboxListExternal.d.ts +1 -2
  76. package/lib/CheckboxListView_combined.d.ts +85 -85
  77. package/lib/igc-checkbox-list-component.d.ts +1 -1
  78. package/package.json +7 -5
  79. package/vscode.css-custom-data.json +6 -0
  80. package/vscode.html-custom-data.json +5 -0
  81. package/web-types.json +14 -0
  82. package/grids/lib/igc-grid-action-button-component.d.ts +0 -56
@@ -15,12 +15,12 @@ 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";
22
21
  import { GridSelectedKeysCollection } from "./GridSelectedKeysCollection";
23
22
  import { InputGroupDisplayType_$type } from "igniteui-webcomponents-inputs";
23
+ import { GridStyleRepository } from "./GridStyleRepository";
24
24
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
25
25
  import { ScrollbarStyle_$type } from "igniteui-webcomponents-core";
26
26
  import { BrushUtil } from "igniteui-webcomponents-core";
@@ -36,7 +36,10 @@ import { DateTimeColumn } from "./DateTimeColumn";
36
36
  import { NumericColumn } from "./NumericColumn";
37
37
  import { TextColumn } from "./TextColumn";
38
38
  import { ArgumentException } from "igniteui-webcomponents-core";
39
+ import { Size } from "igniteui-webcomponents-core";
40
+ import { ComponentSizeHelpers } from "igniteui-webcomponents-core";
39
41
  import { SelectAllCheckboxChangedEventArgs } from "./SelectAllCheckboxChangedEventArgs";
42
+ import { isPositiveInfinity } from "igniteui-webcomponents-core";
40
43
  import { stringIsNullOrWhiteSpace } from "igniteui-webcomponents-core";
41
44
  /**
42
45
  * @hidden
@@ -100,7 +103,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
100
103
  this.c = new XIcon();
101
104
  this.c.provideContainer(j);
102
105
  this.c.fill = this.b.searchIconColor;
103
- this.c.svgPath = CheckboxList.by;
106
+ this.c.svgPath = CheckboxList.b0;
104
107
  let k = f.getExternal(this.c, j.rootWrapper, j.getExternal(this.b, null, null));
105
108
  g.appendContentChild(i);
106
109
  this.b.v.appendContentChild(e);
@@ -112,27 +115,25 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
112
115
  this.b.t.provideContainer(m);
113
116
  this.b.t.b8 = "text";
114
117
  let n = m.getExternal(this.b.t, m.rootWrapper, m.getExternal(this.b, null, null));
115
- if (this.b.bk != null) {
116
- this.b.t.cg = this.b.bk;
118
+ if (this.b.bm != null) {
119
+ this.b.t.cg = this.b.bm;
117
120
  }
118
121
  this.b.v.appendContentChild(l);
119
122
  this.b.v.inputs.add(this.b.t);
120
- this.b.cv();
123
+ this.b.cx();
121
124
  }
122
125
  s() {
123
126
  if (this.f != null) {
124
127
  let a = this.f.rootWrapper.getChildAt(3);
125
128
  a.setStyleProperty("width", "100%");
126
129
  a.setStyleProperty("margin", "4px 0px 0px 0px");
127
- if (this.b.showSelectAll == false) {
128
- a.setStyleProperty("height", "calc(100% - 50px");
129
- }
130
- else {
131
- a.setStyleProperty("height", "calc(100% - 75px");
132
- }
133
130
  if (!this.b.au && !this.b.showSelectAll) {
134
131
  a.setStyleProperty("height", "100%");
135
132
  }
133
+ else {
134
+ let b = this.b.ay();
135
+ a.setStyleProperty("height", "calc(100% - " + b + "px");
136
+ }
136
137
  }
137
138
  }
138
139
  o(a, b, c) {
@@ -192,11 +193,11 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
192
193
  finally {
193
194
  d.z = h;
194
195
  }
195
- d.dk = this.b.d0;
196
- d.dd = this.b.dy;
197
- d.dl = this.b.d1;
198
- d.de = this.b.dz;
199
- d.dm = this.b.d2;
196
+ d.dk = this.b.d2;
197
+ d.dd = this.b.d0;
198
+ d.dl = this.b.d3;
199
+ d.de = this.b.d1;
200
+ d.dm = this.b.d4;
200
201
  }
201
202
  }
202
203
  z() {
@@ -218,21 +219,21 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
218
219
  let e = c.checked;
219
220
  if (e == true) {
220
221
  if (this.b.indexType == 0) {
221
- this.b.c8(d);
222
+ this.b.da(d);
222
223
  }
223
224
  else {
224
- this.b.ca(d);
225
+ this.b.cc(d);
225
226
  }
226
227
  }
227
228
  else {
228
229
  if (this.b.indexType == 0) {
229
- this.b.ca(d);
230
+ this.b.cc(d);
230
231
  }
231
232
  else {
232
- this.b.c8(d);
233
+ this.b.da(d);
233
234
  }
234
235
  }
235
- this.b.cs(d, e);
236
+ this.b.cu(d, e);
236
237
  this.ag(false);
237
238
  }
238
239
  l() {
@@ -243,7 +244,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
243
244
  let e = parseInt(d.a4.toString());
244
245
  if (e == a) {
245
246
  d.checked = b;
246
- this.b.cs(e, b);
247
+ this.b.cu(e, b);
247
248
  }
248
249
  }
249
250
  this.ag();
@@ -272,7 +273,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
272
273
  let d = this.f.getExternal(this.a, c.rootWrapper, this.f.getExternal(this.b, null, null));
273
274
  this.a.n = this.b.baseTheme;
274
275
  this.i = a.createElement("label");
275
- this.i.setRawText(this.b.b2);
276
+ this.i.setRawText(this.b.b4);
276
277
  this.i.setStyleProperty("font-size", "13px");
277
278
  this.j.setStyleProperty("display", "flex");
278
279
  this.j.setStyleProperty("flex-direction", "row");
@@ -288,8 +289,8 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
288
289
  }
289
290
  af() {
290
291
  if (null != this.i) {
291
- this.i.setRawText(this.b.b2);
292
- NativeUI.q(this.i, this.b.dw);
292
+ this.i.setRawText(this.b.b4);
293
+ NativeUI.q(this.i, this.b.dy);
293
294
  }
294
295
  }
295
296
  ai() {
@@ -337,12 +338,12 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
337
338
  return;
338
339
  }
339
340
  if (b.isChecked) {
340
- this.b.db();
341
- this.b.c0(b.isChecked);
341
+ this.b.dd();
342
+ this.b.c2(b.isChecked);
342
343
  }
343
344
  else {
344
- this.b.cg();
345
- this.b.c0(b.isChecked);
345
+ this.b.ci();
346
+ this.b.c2(b.isChecked);
346
347
  }
347
348
  }
348
349
  ad() {
@@ -352,7 +353,7 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
352
353
  }
353
354
  let b = a.rootWrapper;
354
355
  if (null != b) {
355
- NativeUI.q(b, this.b.ee);
356
+ NativeUI.q(b, this.b.eg);
356
357
  NativeUI.m(b, this.b.backgroundColor);
357
358
  }
358
359
  }
@@ -361,38 +362,6 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
361
362
  this.c.fill = this.b.searchIconColor;
362
363
  }
363
364
  }
364
- getDesiredSize() {
365
- let a = 248;
366
- let b = 0;
367
- if (this.b.itemsSource == null) {
368
- return new Size(1, a, b + 158);
369
- }
370
- let c = 0;
371
- if ((this.b.itemsSource.actualCount !== undefined)) {
372
- c = (this.b.itemsSource.actualCount);
373
- }
374
- else {
375
- c = (this.b.itemsSource.length);
376
- }
377
- b += 4;
378
- b += 16;
379
- b += 38;
380
- b += 8;
381
- b += 4;
382
- let d = this.b.f != null ? this.b.f.actualRowHeight : 30;
383
- let e = d * c;
384
- if (e > 90) {
385
- b += 90;
386
- b += 15;
387
- }
388
- else {
389
- b += e;
390
- }
391
- if (this.b.showSelectAll) {
392
- b += d;
393
- }
394
- return new Size(1, a, b);
395
- }
396
365
  ac() {
397
366
  if (this.b.ai != null) {
398
367
  this.i.setStyleProperty("font", this.b.ai.fontString);
@@ -403,11 +372,11 @@ export let CheckboxListView = /*@__PURE__*/ (() => {
403
372
  }
404
373
  }
405
374
  y() {
406
- this.a.dk = this.b.d0;
407
- this.a.dd = this.b.dy;
408
- this.a.dl = this.b.d1;
409
- this.a.de = this.b.dz;
410
- this.a.dm = this.b.d2;
375
+ this.a.dk = this.b.d2;
376
+ this.a.dd = this.b.d0;
377
+ this.a.dl = this.b.d3;
378
+ this.a.de = this.b.d1;
379
+ this.a.dm = this.b.d4;
411
380
  }
412
381
  aa(a) {
413
382
  if (this.g != null) {
@@ -467,7 +436,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
467
436
  let b = this.a;
468
437
  this.a = a;
469
438
  if (b != this.a) {
470
- this.cy("PrimaryKey", b, this.a);
439
+ this.c0("PrimaryKey", b, this.a);
471
440
  }
472
441
  }
473
442
  constructor() {
@@ -489,44 +458,44 @@ export let CheckboxList = /*@__PURE__*/ (() => {
489
458
  this.selectedKeyAdded = null;
490
459
  this.selectedKeyRemoved = null;
491
460
  this.checkedChanged = null;
492
- this.a2 = null;
493
461
  this.a4 = null;
494
462
  this.a6 = null;
495
- this.a5 = null;
463
+ this.a8 = null;
464
+ this.a7 = null;
496
465
  this.w = 3;
497
- this.ay = -1;
466
+ this.a0 = -1;
498
467
  this.ag = null;
499
468
  this.k = 1;
500
469
  this.ab = 1;
501
470
  this.ad = 2;
502
- this.ds = BrushUtil.h(255, 24, 29, 31);
503
- this.dq = null;
471
+ this.du = BrushUtil.h(255, 24, 29, 31);
472
+ this.ds = null;
473
+ this.dv = null;
504
474
  this.dt = null;
505
- this.dr = null;
506
475
  this.ah = null;
476
+ this.dm = null;
507
477
  this.dk = null;
508
- this.di = null;
478
+ this.dn = null;
509
479
  this.dl = null;
510
- this.dj = null;
511
- this.dm = null;
512
- this.z = 0;
513
480
  this.dp = null;
481
+ this.z = 0;
482
+ this.dr = null;
514
483
  this.indexTypeChanged = null;
515
- this.b1 = null;
516
- this.du = null;
517
- this.dg = CheckboxList.d5;
484
+ this.b3 = null;
485
+ this.dw = null;
486
+ this.di = CheckboxList.d7;
518
487
  this.av = true;
519
- this.dh = CheckboxList.d3;
520
- this.dn = CheckboxList.d4;
521
- this.dv = CheckboxList.d5;
488
+ this.dj = CheckboxList.d5;
489
+ this.dq = CheckboxList.d6;
490
+ this.dx = CheckboxList.d7;
522
491
  this.keysCleared = null;
523
492
  this.selectAllCheckboxChanged = null;
524
- this.a0 = -1;
493
+ this.a2 = -1;
525
494
  this.at = true;
526
495
  this.aq = true;
527
496
  let a = this.g;
528
- a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.c3));
529
- this.g.am(runOn(this, this.c2));
497
+ a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.c5));
498
+ this.g.am(runOn(this, this.c4));
530
499
  this.d = new FilterFactory();
531
500
  let b = new CheckboxListView();
532
501
  b.b = this;
@@ -548,44 +517,44 @@ export let CheckboxList = /*@__PURE__*/ (() => {
548
517
  removeSelectedKeyAt(a) {
549
518
  this.keys.removeAt(a);
550
519
  }
551
- c2() {
552
- this.cm();
520
+ c4() {
521
+ this.co();
553
522
  if (this.keysCleared != null) {
554
523
  this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
555
524
  }
556
525
  }
557
- c3(a, b) {
526
+ c5(a, b) {
558
527
  if (this.e == null || this.e.actualSchema == null || this.am) {
559
528
  return;
560
529
  }
561
530
  switch (b.action) {
562
531
  case 0:
563
532
  for (let c = 0; c < b.newItems.count; c++) {
564
- this.cw(b.newItems.item(c));
533
+ this.cy(b.newItems.item(c));
565
534
  }
566
535
  break;
567
536
  case 1:
568
537
  for (let d = 0; d < b.oldItems.count; d++) {
569
- this.cx(b.oldItems.item(d));
538
+ this.cz(b.oldItems.item(d));
570
539
  }
571
540
  break;
572
541
  case 2:
573
542
  for (let e = 0; e < b.oldItems.count; e++) {
574
- this.cx(b.oldItems.item(e));
543
+ this.cz(b.oldItems.item(e));
575
544
  }
576
545
  for (let f = 0; f < b.newItems.count; f++) {
577
- this.cw(b.newItems.item(f));
546
+ this.cy(b.newItems.item(f));
578
547
  }
579
548
  break;
580
549
  case 4:
581
550
  this.view.u(this.indexType == 0);
582
551
  for (let g = 0; g < this.keys.ae.count; g++) {
583
- this.cw(this.keys.ae._inner[g]);
552
+ this.cy(this.keys.ae._inner[g]);
584
553
  }
585
554
  break;
586
555
  }
587
556
  }
588
- cw(a) {
557
+ cy(a) {
589
558
  let b = this.e.indexOfKey(a.value);
590
559
  if (b >= 0) {
591
560
  this.view.t(b, this.indexType == 1);
@@ -601,7 +570,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
601
570
  return $ret;
602
571
  })()));
603
572
  }
604
- cx(a) {
573
+ cz(a) {
605
574
  let b = this.e.indexOfKey(a.value);
606
575
  if (b >= 0) {
607
576
  this.view.t(b, this.indexType == 0);
@@ -617,7 +586,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
617
586
  return $ret;
618
587
  })()));
619
588
  }
620
- cs(a, b) {
589
+ cu(a, b) {
621
590
  if (this.checkedChanged != null && this.an == false) {
622
591
  let c = null;
623
592
  if (this.e.actualPrimaryKey != null && this.e.actualPrimaryKey.length > 0) {
@@ -641,22 +610,22 @@ export let CheckboxList = /*@__PURE__*/ (() => {
641
610
  destroy() {
642
611
  if (this.f != null) {
643
612
  let a = this.f;
644
- a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ci));
613
+ a.cellClicked = delegateRemove(a.cellClicked, runOn(this, this.ck));
645
614
  let b = this.f;
646
- b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cj));
615
+ b.sizeChanged = delegateRemove(b.sizeChanged, runOn(this, this.cl));
647
616
  if (this.f.actualDataSource != null) {
648
617
  let c = this.f.actualDataSource;
649
- c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.cz));
618
+ c.schemaChanged = delegateRemove(c.schemaChanged, runOn(this, this.c1));
650
619
  }
651
620
  }
652
621
  if (this.s != null) {
653
622
  let d = this.s;
654
- d.change = delegateRemove(d.change, runOn(this, this.ck));
623
+ d.change = delegateRemove(d.change, runOn(this, this.cm));
655
624
  }
656
625
  this.provideContainer(null, null, null);
657
626
  if (this.j != null) {
658
627
  let e = this.j;
659
- e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.ce));
628
+ e.cellUpdating = delegateRemove(e.cellUpdating, runOn(this, this.cg));
660
629
  }
661
630
  }
662
631
  provideContainer(a, b, c) {
@@ -664,8 +633,8 @@ export let CheckboxList = /*@__PURE__*/ (() => {
664
633
  if (null != this.f) {
665
634
  this.f.scrollbarStyle = 1;
666
635
  let d = this.f;
667
- d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cj));
668
- this.f.scrollbarBackground = this.d7;
636
+ d.sizeChanged = delegateCombine(d.sizeChanged, runOn(this, this.cl));
637
+ this.f.scrollbarBackground = this.d9;
669
638
  this.f.headerHeight = 0;
670
639
  this.f.rowSeparatorHeight = 0;
671
640
  this.f.defaultColumnMinWidth = NaN;
@@ -673,27 +642,27 @@ export let CheckboxList = /*@__PURE__*/ (() => {
673
642
  this.f.activationMode = 0;
674
643
  this.f.editMode = 0;
675
644
  let e = this.f;
676
- e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ci));
677
- if (this.a2 != null) {
678
- this.f.itemsSource = this.a2;
679
- this.cd();
680
- this.c1();
681
- }
645
+ e.cellClicked = delegateCombine(e.cellClicked, runOn(this, this.ck));
682
646
  if (this.a4 != null) {
683
- this.c1();
684
- this.de();
647
+ this.f.itemsSource = this.a4;
648
+ this.cf();
649
+ this.c3();
650
+ }
651
+ if (this.a6 != null) {
652
+ this.c3();
653
+ this.dg();
685
654
  }
686
655
  }
687
656
  this.view.q(c);
688
657
  this.view.m(a);
689
658
  }
690
- cj(a, b) {
659
+ cl(a, b) {
691
660
  this.f.scrollbarStyle = this.aa;
692
661
  }
693
662
  provideSelectAllSection(a) {
694
663
  this.view.q(a);
695
664
  }
696
- ci(a, b) {
665
+ ck(a, b) {
697
666
  if (b.cellInfo.l.a5 == 0) {
698
667
  return;
699
668
  }
@@ -716,7 +685,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
716
685
  this.keys.add(e);
717
686
  }
718
687
  }
719
- ce(a, b) {
688
+ cg(a, b) {
720
689
  let c = b.cellInfo.l.x;
721
690
  if (-1 == c) {
722
691
  return;
@@ -730,9 +699,9 @@ export let CheckboxList = /*@__PURE__*/ (() => {
730
699
  }
731
700
  this.view.o(b.content.element, c, d);
732
701
  }
733
- ct(a) {
734
- if (this.a4 != null) {
735
- let b = this.d.property(this.a4).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
702
+ cv(a) {
703
+ if (this.a6 != null) {
704
+ let b = this.d.property(this.a6).cast(enumGetBox(DataSourceSchemaPropertyType_$type, 0)).toLower();
736
705
  let c = b.contains(a);
737
706
  if (!this.f.filterExpressions.k.contains(this.c)) {
738
707
  this.c = c;
@@ -745,43 +714,43 @@ export let CheckboxList = /*@__PURE__*/ (() => {
745
714
  }
746
715
  }
747
716
  get itemsSource() {
748
- return this.a2;
749
- }
750
- set itemsSource(a) {
751
- let b = this.a2;
752
- this.a2 = a;
753
- if (b != this.a2) {
754
- this.cy("ItemsSource", b, this.a2);
755
- }
756
- }
757
- get dataMemberPath() {
758
717
  return this.a4;
759
718
  }
760
- set dataMemberPath(a) {
719
+ set itemsSource(a) {
761
720
  let b = this.a4;
762
721
  this.a4 = a;
763
722
  if (b != this.a4) {
764
- this.cy("DataMemberPath", b, this.a4);
723
+ this.c0("ItemsSource", b, this.a4);
765
724
  }
766
725
  }
767
- get selectedMemberPath() {
726
+ get dataMemberPath() {
768
727
  return this.a6;
769
728
  }
770
- set selectedMemberPath(a) {
729
+ set dataMemberPath(a) {
771
730
  let b = this.a6;
772
731
  this.a6 = a;
773
732
  if (b != this.a6) {
774
- this.cy("SelectedMemberPath", b, this.a6);
733
+ this.c0("DataMemberPath", b, this.a6);
775
734
  }
776
735
  }
777
- get bk() {
778
- return this.a5;
736
+ get selectedMemberPath() {
737
+ return this.a8;
779
738
  }
780
- set bk(a) {
781
- let b = this.a5;
782
- this.a5 = a;
783
- if (b != this.a5) {
784
- this.cy("FilterPlaceholderText", b, this.a5);
739
+ set selectedMemberPath(a) {
740
+ let b = this.a8;
741
+ this.a8 = a;
742
+ if (b != this.a8) {
743
+ this.c0("SelectedMemberPath", b, this.a8);
744
+ }
745
+ }
746
+ get bm() {
747
+ return this.a7;
748
+ }
749
+ set bm(a) {
750
+ let b = this.a7;
751
+ this.a7 = a;
752
+ if (b != this.a7) {
753
+ this.c0("FilterPlaceholderText", b, this.a7);
785
754
  }
786
755
  }
787
756
  get x() {
@@ -791,24 +760,36 @@ export let CheckboxList = /*@__PURE__*/ (() => {
791
760
  let b = this.w;
792
761
  this.w = a;
793
762
  if (b != this.w) {
794
- this.cy("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.w));
763
+ this.c0("SearchInputType", enumGetBox(InputGroupDisplayType_$type, b), enumGetBox(InputGroupDisplayType_$type, this.w));
795
764
  }
796
765
  }
797
- get a1() {
798
- return this.ay;
766
+ get a3() {
767
+ return this.a0;
799
768
  }
800
- set a1(a) {
801
- let b = this.ay;
802
- this.ay = a;
803
- if (b != this.ay) {
804
- this.cy("RowHeight", b, this.ay);
769
+ set a3(a) {
770
+ let b = this.a0;
771
+ this.a0 = a;
772
+ if (b != this.a0) {
773
+ this.c0("RowHeight", b, this.a0);
805
774
  }
806
775
  }
807
- get az() {
776
+ get a1() {
808
777
  if (this.f != null) {
809
778
  return this.f.actualRowHeight;
810
779
  }
811
- return -1;
780
+ else if (this.a0 != -1) {
781
+ return this.a0;
782
+ }
783
+ else {
784
+ switch (this.density) {
785
+ case 4:
786
+ case 3: return GridStyleRepository.q;
787
+ case 0:
788
+ case 2: return GridStyleRepository.r;
789
+ case 1: return GridStyleRepository.p;
790
+ }
791
+ return GridStyleRepository.r;
792
+ }
812
793
  }
813
794
  get ai() {
814
795
  return this.ag;
@@ -817,7 +798,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
817
798
  let b = this.ag;
818
799
  this.ag = a;
819
800
  if (b != this.ag) {
820
- this.cy("CellTextStyle", b, this.ag);
801
+ this.c0("CellTextStyle", b, this.ag);
821
802
  }
822
803
  }
823
804
  get indexType() {
@@ -827,7 +808,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
827
808
  let b = this.k;
828
809
  this.k = a;
829
810
  if (b != this.k) {
830
- this.cy("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
811
+ this.c0("IndexType", enumGetBox(CheckboxListIndexType_$type, b), enumGetBox(CheckboxListIndexType_$type, this.k));
831
812
  }
832
813
  }
833
814
  get baseTheme() {
@@ -837,7 +818,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
837
818
  let b = this.ab;
838
819
  this.ab = a;
839
820
  if (b != this.ab) {
840
- this.cy("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.ab));
821
+ this.c0("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.ab));
841
822
  }
842
823
  }
843
824
  get density() {
@@ -847,47 +828,47 @@ export let CheckboxList = /*@__PURE__*/ (() => {
847
828
  let b = this.ad;
848
829
  this.ad = a;
849
830
  if (b != this.ad) {
850
- this.cy("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ad));
831
+ this.c0("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.ad));
851
832
  }
852
833
  }
853
834
  get searchIconColor() {
854
- return this.ds;
835
+ return this.du;
855
836
  }
856
837
  set searchIconColor(a) {
838
+ let b = this.du;
839
+ this.du = a;
840
+ if (b != this.du) {
841
+ this.c0("SearchIconColor", b, this.du);
842
+ }
843
+ }
844
+ get ea() {
845
+ return this.ds;
846
+ }
847
+ set ea(a) {
857
848
  let b = this.ds;
858
849
  this.ds = a;
859
850
  if (b != this.ds) {
860
- this.cy("SearchIconColor", b, this.ds);
851
+ this.c0("SearchBackgroundColor", b, this.ds);
861
852
  }
862
853
  }
863
- get d8() {
864
- return this.dq;
854
+ get searchTextColor() {
855
+ return this.dv;
865
856
  }
866
- set d8(a) {
867
- let b = this.dq;
868
- this.dq = a;
869
- if (b != this.dq) {
870
- this.cy("SearchBackgroundColor", b, this.dq);
857
+ set searchTextColor(a) {
858
+ let b = this.dv;
859
+ this.dv = a;
860
+ if (b != this.dv) {
861
+ this.c0("SearchTextColor", b, this.dv);
871
862
  }
872
863
  }
873
- get searchTextColor() {
864
+ get eb() {
874
865
  return this.dt;
875
866
  }
876
- set searchTextColor(a) {
867
+ set eb(a) {
877
868
  let b = this.dt;
878
869
  this.dt = a;
879
870
  if (b != this.dt) {
880
- this.cy("SearchTextColor", b, this.dt);
881
- }
882
- }
883
- get d9() {
884
- return this.dr;
885
- }
886
- set d9(a) {
887
- let b = this.dr;
888
- this.dr = a;
889
- if (b != this.dr) {
890
- this.cy("SearchBorderColor", b, this.dr);
871
+ this.c0("SearchBorderColor", b, this.dt);
891
872
  }
892
873
  }
893
874
  get aj() {
@@ -897,7 +878,17 @@ export let CheckboxList = /*@__PURE__*/ (() => {
897
878
  let b = this.ah;
898
879
  this.ah = a;
899
880
  if (b != this.ah) {
900
- this.cy("SearchTextStyle", b, this.ah);
881
+ this.c0("SearchTextStyle", b, this.ah);
882
+ }
883
+ }
884
+ get d2() {
885
+ return this.dm;
886
+ }
887
+ set d2(a) {
888
+ let b = this.dm;
889
+ this.dm = a;
890
+ if (b != this.dm) {
891
+ this.c0("CheckboxTickColor", b, this.dm);
901
892
  }
902
893
  }
903
894
  get d0() {
@@ -907,17 +898,17 @@ export let CheckboxList = /*@__PURE__*/ (() => {
907
898
  let b = this.dk;
908
899
  this.dk = a;
909
900
  if (b != this.dk) {
910
- this.cy("CheckboxTickColor", b, this.dk);
901
+ this.c0("CheckboxCheckedBackgroundColor", b, this.dk);
911
902
  }
912
903
  }
913
- get dy() {
914
- return this.di;
904
+ get d3() {
905
+ return this.dn;
915
906
  }
916
- set dy(a) {
917
- let b = this.di;
918
- this.di = a;
919
- if (b != this.di) {
920
- this.cy("CheckboxCheckedBackgroundColor", b, this.di);
907
+ set d3(a) {
908
+ let b = this.dn;
909
+ this.dn = a;
910
+ if (b != this.dn) {
911
+ this.c0("CheckboxUncheckedBackgroundColor", b, this.dn);
921
912
  }
922
913
  }
923
914
  get d1() {
@@ -927,27 +918,17 @@ export let CheckboxList = /*@__PURE__*/ (() => {
927
918
  let b = this.dl;
928
919
  this.dl = a;
929
920
  if (b != this.dl) {
930
- this.cy("CheckboxUncheckedBackgroundColor", b, this.dl);
921
+ this.c0("CheckboxCheckedBorderColor", b, this.dl);
931
922
  }
932
923
  }
933
- get dz() {
934
- return this.dj;
935
- }
936
- set dz(a) {
937
- let b = this.dj;
938
- this.dj = a;
939
- if (b != this.dj) {
940
- this.cy("CheckboxCheckedBorderColor", b, this.dj);
941
- }
942
- }
943
- get d2() {
944
- return this.dm;
924
+ get d4() {
925
+ return this.dp;
945
926
  }
946
- set d2(a) {
947
- let b = this.dm;
948
- this.dm = a;
949
- if (b != this.dm) {
950
- this.cy("CheckboxUncheckedBorderColor", b, this.dm);
927
+ set d4(a) {
928
+ let b = this.dp;
929
+ this.dp = a;
930
+ if (b != this.dp) {
931
+ this.c0("CheckboxUncheckedBorderColor", b, this.dp);
951
932
  }
952
933
  }
953
934
  get aa() {
@@ -957,35 +938,35 @@ export let CheckboxList = /*@__PURE__*/ (() => {
957
938
  let b = this.z;
958
939
  this.z = a;
959
940
  if (b != this.z) {
960
- this.cy("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.z));
941
+ this.c0("ScrollbarStyle", enumGetBox(ScrollbarStyle_$type, b), enumGetBox(ScrollbarStyle_$type, this.z));
961
942
  }
962
943
  }
963
- get d7() {
964
- return this.dp;
944
+ get d9() {
945
+ return this.dr;
965
946
  }
966
- set d7(a) {
967
- let b = this.dp;
968
- this.dp = a;
969
- if (b != this.dp) {
970
- this.cy("ScrollbarBackground", b, this.dp);
947
+ set d9(a) {
948
+ let b = this.dr;
949
+ this.dr = a;
950
+ if (b != this.dr) {
951
+ this.c0("ScrollbarBackground", b, this.dr);
971
952
  }
972
953
  }
973
- cy(a, b, c) {
954
+ c0(a, b, c) {
974
955
  if (this.propertyChanged != null) {
975
956
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
976
957
  }
977
- this.c4(a, b, c);
958
+ this.c6(a, b, c);
978
959
  }
979
- c4(a, b, c) {
960
+ c6(a, b, c) {
980
961
  switch (a) {
981
962
  case "IndexType":
982
963
  this.keys.clear();
983
- this.cm();
964
+ this.co();
984
965
  if (this.keysCleared != null) {
985
966
  this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
986
967
  }
987
968
  this.view.ag();
988
- this.cu(b, c);
969
+ this.cw(b, c);
989
970
  break;
990
971
  case "ItemsSource":
991
972
  if (this.f != null) {
@@ -998,16 +979,16 @@ export let CheckboxList = /*@__PURE__*/ (() => {
998
979
  }
999
980
  if (this.f.actualDataSource != null) {
1000
981
  let d = this.f.actualDataSource;
1001
- d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.cz));
982
+ d.schemaChanged = delegateRemove(d.schemaChanged, runOn(this, this.c1));
1002
983
  }
1003
- this.f.itemsSource = this.a2;
1004
- this.cd();
984
+ this.f.itemsSource = this.a4;
985
+ this.cf();
1005
986
  if (this.f.actualDataSource != null) {
1006
987
  let e = this.f.actualDataSource;
1007
- e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.cz));
988
+ e.schemaChanged = delegateCombine(e.schemaChanged, runOn(this, this.c1));
1008
989
  }
1009
990
  this.an = true;
1010
- this.c1();
991
+ this.c3();
1011
992
  this.an = false;
1012
993
  this.view.ag();
1013
994
  }
@@ -1015,9 +996,9 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1015
996
  case "DataMemberPath":
1016
997
  case "SelectedMemberPath":
1017
998
  if (this.f != null) {
1018
- if (this.a4 != null) {
1019
- this.c1();
1020
- this.de();
999
+ if (this.a6 != null) {
1000
+ this.c3();
1001
+ this.dg();
1021
1002
  }
1022
1003
  }
1023
1004
  break;
@@ -1027,7 +1008,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1027
1008
  }
1028
1009
  break;
1029
1010
  case "SelectAllCaptionTextColor":
1030
- this.dw = null != this.ec ? this.ec : CheckboxList.d5;
1011
+ this.dy = null != this.ee ? this.ee : CheckboxList.d7;
1031
1012
  break;
1032
1013
  case "SelectAllCaption":
1033
1014
  case "ActualSelectAllCaptionTextColor":
@@ -1043,7 +1024,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1043
1024
  break;
1044
1025
  case "FilterPlaceholderText":
1045
1026
  if (this.s != null) {
1046
- this.s.cg = this.bk;
1027
+ this.s.cg = this.bm;
1047
1028
  }
1048
1029
  break;
1049
1030
  case "SearchInputType":
@@ -1053,7 +1034,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1053
1034
  break;
1054
1035
  case "RowHeight":
1055
1036
  if (this.f != null) {
1056
- this.f.rowHeight = this.a1;
1037
+ this.f.rowHeight = this.a3;
1057
1038
  }
1058
1039
  break;
1059
1040
  case "CellTextStyle":
@@ -1067,7 +1048,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1067
1048
  case "RowHoverBackgroundColor":
1068
1049
  let f = this.f;
1069
1050
  if (null != f) {
1070
- f.cellTextColor = this.ee;
1051
+ f.cellTextColor = this.eg;
1071
1052
  f.cellBackground = this.backgroundColor;
1072
1053
  f.cellSelectedBackground = this.backgroundColor;
1073
1054
  f.rowHoverBackground = this.rowHoverBackgroundColor;
@@ -1075,10 +1056,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1075
1056
  this.view.ad();
1076
1057
  break;
1077
1058
  case "BaseTheme":
1078
- this.dd();
1059
+ this.df();
1079
1060
  break;
1080
1061
  case "Density":
1081
- this.dc();
1062
+ this.de();
1082
1063
  break;
1083
1064
  case "IsRowHoverEnabled":
1084
1065
  if (this.f != null) {
@@ -1092,17 +1073,17 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1092
1073
  break;
1093
1074
  case "ScrollbarBackground":
1094
1075
  if (this.f != null) {
1095
- this.f.scrollbarBackground = this.d7;
1076
+ this.f.scrollbarBackground = this.d9;
1096
1077
  }
1097
1078
  break;
1098
1079
  case "SearchIconColor":
1099
1080
  this.view.ab();
1100
1081
  break;
1101
1082
  case "SearchBackgroundColor":
1102
- this.v.mc = this.d8;
1083
+ this.v.mc = this.ea;
1103
1084
  break;
1104
1085
  case "SearchBorderColor":
1105
- this.v.md = this.d9;
1086
+ this.v.md = this.eb;
1106
1087
  break;
1107
1088
  case "SearchTextColor":
1108
1089
  if (this.t != null) {
@@ -1124,7 +1105,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1124
1105
  break;
1125
1106
  }
1126
1107
  }
1127
- cu(a, b) {
1108
+ cw(a, b) {
1128
1109
  if (this.indexTypeChanged != null) {
1129
1110
  this.indexTypeChanged(this, ((() => {
1130
1111
  let $ret = new CheckboxListIndexTypeChangedEventArgs();
@@ -1134,7 +1115,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1134
1115
  })()));
1135
1116
  }
1136
1117
  }
1137
- dc() {
1118
+ de() {
1138
1119
  if (this.f != null) {
1139
1120
  this.f.density = this.density;
1140
1121
  }
@@ -1143,7 +1124,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1143
1124
  }
1144
1125
  this.view.x();
1145
1126
  }
1146
- dd() {
1127
+ df() {
1147
1128
  if (this.u != null) {
1148
1129
  this.u.p = this.baseTheme;
1149
1130
  }
@@ -1151,31 +1132,31 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1151
1132
  this.t.d8 = this.searchTextColor;
1152
1133
  }
1153
1134
  if (this.f != null) {
1154
- this.f.cellTextColor = this.ee;
1135
+ this.f.cellTextColor = this.eg;
1155
1136
  this.f.cellBackground = this.backgroundColor;
1156
1137
  this.f.cellSelectedBackground = this.backgroundColor;
1157
1138
  this.f.rowHoverBackground = this.rowHoverBackgroundColor;
1158
1139
  }
1159
1140
  this.view.z();
1160
1141
  }
1161
- cz(a, b) {
1142
+ c1(a, b) {
1162
1143
  this.an = true;
1163
- this.cd();
1144
+ this.cf();
1164
1145
  if (b.schema != null) {
1165
- this.c1();
1146
+ this.c3();
1166
1147
  for (let c = 0; c < this.keys.count; c++) {
1167
- this.cw(this.keys._inner[c]);
1148
+ this.cy(this.keys._inner[c]);
1168
1149
  }
1169
1150
  this.view.ag();
1170
1151
  }
1171
1152
  this.an = false;
1172
1153
  }
1173
- c1() {
1174
- if (this.af == null && this.a6 != null && this.a6 != "") {
1175
- this.af = new FastReflectionHelper(false, this.a6);
1154
+ c3() {
1155
+ if (this.af == null && this.a8 != null && this.a8 != "") {
1156
+ this.af = new FastReflectionHelper(false, this.a8);
1176
1157
  }
1177
- if (this.a2 != null && this.af != null && this.f.actualDataSource.actualSchema != null) {
1178
- this.af.propertyName = this.a6;
1158
+ if (this.a4 != null && this.af != null && this.f.actualDataSource.actualSchema != null) {
1159
+ this.af.propertyName = this.a8;
1179
1160
  let a = this.f.actualDataSource.actualCount;
1180
1161
  for (let b = 0; b < a; b++) {
1181
1162
  let c = this.f.actualDataSource.getItemAtIndex(b);
@@ -1189,11 +1170,11 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1189
1170
  }
1190
1171
  }
1191
1172
  }
1192
- de() {
1173
+ dg() {
1193
1174
  this.f.actualColumns.clear();
1194
1175
  this.f.primaryKey = this.primaryKey;
1195
1176
  this.f.isGroupRowSticky = false;
1196
- this.f.rowHeight = this.a1;
1177
+ this.f.rowHeight = this.a3;
1197
1178
  this.f.cellBackground = this.backgroundColor;
1198
1179
  this.f.cellSelectedBackground = this.backgroundColor;
1199
1180
  this.f.density = this.density;
@@ -1203,10 +1184,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1203
1184
  this.f.cellTextStyle = this.ai;
1204
1185
  }
1205
1186
  let a = new TemplateColumn();
1206
- if (this.a6 == null) {
1207
- this.a6 = "";
1187
+ if (this.a8 == null) {
1188
+ this.a8 = "";
1208
1189
  }
1209
- a.lo = this.a6;
1190
+ a.lo = this.a8;
1210
1191
  a.mf = "CheckboxColumn";
1211
1192
  let b = new ColumnWidth();
1212
1193
  b.c = false;
@@ -1214,10 +1195,10 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1214
1195
  a.width = b;
1215
1196
  a.kk = 0;
1216
1197
  a.kl = 0;
1217
- a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.ce));
1198
+ a.cellUpdating = delegateCombine(a.cellUpdating, runOn(this, this.cg));
1218
1199
  this.f.columns.add(a);
1219
1200
  this.j = a;
1220
- let c = this.f.actualDataSource.resolveSchemaPropertyType(this.a4);
1201
+ let c = this.f.actualDataSource.resolveSchemaPropertyType(this.a6);
1221
1202
  let d;
1222
1203
  switch (c) {
1223
1204
  case 8:
@@ -1240,7 +1221,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1240
1221
  d = new TextColumn();
1241
1222
  break;
1242
1223
  }
1243
- d.lo = this.a4;
1224
+ d.lo = this.a6;
1244
1225
  d.mf = "DataColumn";
1245
1226
  d.kk = 0;
1246
1227
  d.g = 0;
@@ -1252,14 +1233,14 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1252
1233
  provideHrElement(a) {
1253
1234
  this.view.p(a);
1254
1235
  }
1255
- cv() {
1236
+ cx() {
1256
1237
  let a = this.t;
1257
- a.changing = delegateCombine(a.changing, runOn(this, this.ck));
1258
- this.dd();
1238
+ a.changing = delegateCombine(a.changing, runOn(this, this.cm));
1239
+ this.df();
1259
1240
  }
1260
- ck(a, b) {
1241
+ cm(a, b) {
1261
1242
  let c = b.value.toLowerCase();
1262
- this.ct(c);
1243
+ this.cv(c);
1263
1244
  }
1264
1245
  i(a) {
1265
1246
  if (this.primaryKey == null) {
@@ -1273,7 +1254,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1273
1254
  }
1274
1255
  return new PrimaryKeyValue(b, c);
1275
1256
  }
1276
- c8(a) {
1257
+ da(a) {
1277
1258
  this.am = true;
1278
1259
  let b = this.e.getItemAtIndex(a);
1279
1260
  if (this.af != null) {
@@ -1283,7 +1264,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1283
1264
  this.keys.remove(c);
1284
1265
  this.am = false;
1285
1266
  }
1286
- ca(a) {
1267
+ cc(a) {
1287
1268
  this.am = true;
1288
1269
  let b = this.e.getItemAtIndex(a);
1289
1270
  if (this.af != null) {
@@ -1293,50 +1274,50 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1293
1274
  this.keys.add(c);
1294
1275
  this.am = false;
1295
1276
  }
1296
- db() {
1277
+ dd() {
1297
1278
  this.indexType = 0;
1298
1279
  this.keys.clear();
1299
- this.cm();
1280
+ this.co();
1300
1281
  if (this.keysCleared != null) {
1301
1282
  this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
1302
1283
  }
1303
1284
  }
1304
- cg() {
1285
+ ci() {
1305
1286
  this.indexType = 1;
1306
1287
  this.keys.clear();
1307
- this.cm();
1288
+ this.co();
1308
1289
  if (this.keysCleared != null) {
1309
1290
  this.keysCleared(this, new CheckboxListKeysClearedEventArgs());
1310
1291
  }
1311
1292
  }
1312
- cq(a, b, c) {
1293
+ cs(a, b, c) {
1313
1294
  if (this.f != null) {
1314
1295
  this.f.notifySetItem(a, b, c);
1315
1296
  }
1316
1297
  }
1317
- cn() {
1298
+ cp() {
1318
1299
  if (this.f != null) {
1319
1300
  this.f.notifyClearItems();
1320
1301
  }
1321
1302
  }
1322
- cm() {
1303
+ co() {
1323
1304
  if (this.f != null) {
1324
1305
  this.f.invalidateVisibleRows();
1325
1306
  }
1326
1307
  }
1327
- co(a, b) {
1308
+ cq(a, b) {
1328
1309
  if (this.f != null) {
1329
1310
  this.f.notifyInsertItem(a, b);
1330
1311
  }
1331
1312
  ;
1332
1313
  }
1333
- cp(a, b) {
1314
+ cr(a, b) {
1334
1315
  if (this.f != null) {
1335
1316
  this.f.notifyRemoveItem(a, b);
1336
1317
  }
1337
1318
  ;
1338
1319
  }
1339
- cb(a) {
1320
+ cd(a) {
1340
1321
  let b = null;
1341
1322
  if (this.primaryKey == null || this.primaryKey.length == 0) {
1342
1323
  b = new PrimaryKeyValue(null, a);
@@ -1356,7 +1337,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1356
1337
  this.keys.add(b);
1357
1338
  }
1358
1339
  }
1359
- c9(a) {
1340
+ db(a) {
1360
1341
  let b = null;
1361
1342
  if (this.primaryKey == null || this.primaryKey.length == 0) {
1362
1343
  b = new PrimaryKeyValue(null, a);
@@ -1376,72 +1357,84 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1376
1357
  this.keys.remove(b);
1377
1358
  }
1378
1359
  }
1379
- getDesiredSize() {
1380
- let a = 248;
1381
- let b = 0;
1382
- if (this.itemsSource == null) {
1383
- return new Size(1, a, b + 158);
1384
- }
1385
- b += 4;
1386
- b += 16;
1387
- b += 38;
1388
- b += 8;
1389
- b += 4;
1390
- let c = this.f != null ? this.f.actualRowHeight : 30;
1391
- let d = (this.itemsSource.length);
1392
- let e = c * d;
1393
- if (e > 90) {
1394
- b += 90;
1395
- b += 15;
1360
+ getDesiredSize(a) {
1361
+ let b = 248;
1362
+ let c = 0;
1363
+ let d = this.ay();
1364
+ let e = 5;
1365
+ if (this.f != null && this.f.actualDataSource != null && this.f.actualDataSource.actualCount > 0) {
1366
+ e = this.f.actualDataSource.actualCount;
1367
+ }
1368
+ let f = this.a1 * e;
1369
+ let g = this.a1 * (this.showSelectAll ? 4 : 5);
1370
+ let h = f > g ? g : f;
1371
+ let i = d + h;
1372
+ if (isPositiveInfinity(a.height)) {
1373
+ c = i;
1396
1374
  }
1397
1375
  else {
1398
- b += e;
1376
+ if (a.height <= i) {
1377
+ c = i;
1378
+ }
1379
+ else {
1380
+ let j = a.height - i;
1381
+ c = d + j;
1382
+ }
1399
1383
  }
1384
+ return new Size(1, b, c);
1385
+ }
1386
+ ay() {
1387
+ let a = 0;
1388
+ a += ComponentSizeHelpers.d(this.density, this.baseTheme);
1389
+ a += ComponentSizeHelpers.c(this.density, this.baseTheme);
1390
+ a += (0.8 + 6);
1391
+ a += 4;
1400
1392
  if (this.showSelectAll) {
1401
- b += c;
1393
+ a += this.a1;
1402
1394
  }
1403
- return new Size(1, a, b);
1395
+ a += 4;
1396
+ return a;
1404
1397
  }
1405
- get b2() {
1406
- return this.b1 != null ? this.b1 : !stringIsNullOrWhiteSpace(this.al.b1("Select_All")) ? this.al.b1("Select_All") : "(Select All)";
1398
+ get b4() {
1399
+ return this.b3 != null ? this.b3 : !stringIsNullOrWhiteSpace(this.al.b1("Select_All")) ? this.al.b1("Select_All") : "(Select All)";
1407
1400
  }
1408
- set b2(a) {
1409
- if (a == this.b1) {
1401
+ set b4(a) {
1402
+ if (a == this.b3) {
1410
1403
  return;
1411
1404
  }
1412
- let b = this.b1;
1413
- this.b1 = a;
1414
- this.cy("SelectAllCaption", b, this.b1);
1405
+ let b = this.b3;
1406
+ this.b3 = a;
1407
+ this.c0("SelectAllCaption", b, this.b3);
1415
1408
  }
1416
- get ec() {
1417
- return this.du;
1409
+ get ee() {
1410
+ return this.dw;
1418
1411
  }
1419
- set ec(a) {
1420
- let b = this.du;
1421
- this.du = a;
1422
- if (b != this.du) {
1423
- this.cy("SelectAllCaptionTextColor", b, a);
1412
+ set ee(a) {
1413
+ let b = this.dw;
1414
+ this.dw = a;
1415
+ if (b != this.dw) {
1416
+ this.c0("SelectAllCaptionTextColor", b, a);
1424
1417
  }
1425
1418
  }
1426
- get dw() {
1427
- return this.dg;
1419
+ get dy() {
1420
+ return this.di;
1428
1421
  }
1429
- set dw(a) {
1430
- let b = this.dg;
1431
- this.dg = a;
1432
- if (b != this.dg) {
1433
- this.cy("ActualSelectAllCaptionTextColor", b, a);
1422
+ set dy(a) {
1423
+ let b = this.di;
1424
+ this.di = a;
1425
+ if (b != this.di) {
1426
+ this.c0("ActualSelectAllCaptionTextColor", b, a);
1434
1427
  }
1435
1428
  }
1436
1429
  get as() {
1437
- if (-1 == this.a0) {
1430
+ if (-1 == this.a2) {
1438
1431
  return false;
1439
1432
  }
1440
1433
  let a = this.keys.count;
1441
1434
  if (0 == a) {
1442
1435
  return false;
1443
1436
  }
1444
- if (a == this.a0) {
1437
+ if (a == this.a2) {
1445
1438
  return false;
1446
1439
  }
1447
1440
  return true;
@@ -1455,39 +1448,39 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1455
1448
  }
1456
1449
  let b = this.av;
1457
1450
  this.av = a;
1458
- this.cy("showSelectAll", b, this.av);
1451
+ this.c0("showSelectAll", b, this.av);
1459
1452
  }
1460
1453
  get backgroundColor() {
1461
- return this.dh;
1454
+ return this.dj;
1462
1455
  }
1463
1456
  set backgroundColor(a) {
1464
- let b = this.dh;
1465
- this.dh = a;
1466
- if (b != this.dh) {
1467
- this.cy("BackgroundColor", b, a);
1457
+ let b = this.dj;
1458
+ this.dj = a;
1459
+ if (b != this.dj) {
1460
+ this.c0("BackgroundColor", b, a);
1468
1461
  }
1469
1462
  }
1470
1463
  get rowHoverBackgroundColor() {
1471
- return this.dn;
1464
+ return this.dq;
1472
1465
  }
1473
1466
  set rowHoverBackgroundColor(a) {
1474
- let b = this.dn;
1475
- this.dn = a;
1476
- if (b != this.dn) {
1477
- this.cy("RowHoverBackgroundColor", b, a);
1467
+ let b = this.dq;
1468
+ this.dq = a;
1469
+ if (b != this.dq) {
1470
+ this.c0("RowHoverBackgroundColor", b, a);
1478
1471
  }
1479
1472
  }
1480
- get ee() {
1481
- return this.dv;
1473
+ get eg() {
1474
+ return this.dx;
1482
1475
  }
1483
- set ee(a) {
1484
- let b = this.dv;
1485
- this.dv = a;
1486
- if (b != this.dv) {
1487
- this.cy("TextColor", b, a);
1476
+ set eg(a) {
1477
+ let b = this.dx;
1478
+ this.dx = a;
1479
+ if (b != this.dx) {
1480
+ this.c0("TextColor", b, a);
1488
1481
  }
1489
1482
  }
1490
- c0(a) {
1483
+ c2(a) {
1491
1484
  if (this.selectAllCheckboxChanged != null) {
1492
1485
  this.selectAllCheckboxChanged(this, ((() => {
1493
1486
  let $ret = new SelectAllCheckboxChangedEventArgs();
@@ -1497,39 +1490,39 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1497
1490
  }
1498
1491
  }
1499
1492
  ap() {
1500
- if (-1 == this.a0) {
1493
+ if (-1 == this.a2) {
1501
1494
  return true;
1502
1495
  }
1503
1496
  let a = this.keys.count;
1504
1497
  switch (this.indexType) {
1505
- case 0: return this.a0 == a;
1498
+ case 0: return this.a2 == a;
1506
1499
  case 1: return 0 == a;
1507
1500
  default: return false;
1508
1501
  }
1509
1502
  }
1510
1503
  ao() {
1511
- if (-1 == this.a0) {
1504
+ if (-1 == this.a2) {
1512
1505
  return false;
1513
1506
  }
1514
1507
  let a = this.keys.count;
1515
1508
  switch (this.indexType) {
1516
1509
  case 0: return 0 == a;
1517
- case 1: return this.a0 == a;
1510
+ case 1: return this.a2 == a;
1518
1511
  default: return false;
1519
1512
  }
1520
1513
  }
1521
- cd() {
1514
+ cf() {
1522
1515
  let a = this.f.actualDataSource;
1523
1516
  if (null != a) {
1524
1517
  if (null == a.actualSchema) {
1525
- this.a0 = -1;
1518
+ this.a2 = -1;
1526
1519
  return;
1527
1520
  }
1528
1521
  let b = a.actualCount;
1529
- this.a0 = b;
1522
+ this.a2 = b;
1530
1523
  }
1531
1524
  else {
1532
- this.a0 = -1;
1525
+ this.a2 = -1;
1533
1526
  }
1534
1527
  }
1535
1528
  get au() {
@@ -1541,7 +1534,7 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1541
1534
  }
1542
1535
  let b = this.at;
1543
1536
  this.at = a;
1544
- this.cy("ShowFilter", b, this.at);
1537
+ this.c0("ShowFilter", b, this.at);
1545
1538
  }
1546
1539
  get ar() {
1547
1540
  return this.aq;
@@ -1552,14 +1545,14 @@ export let CheckboxList = /*@__PURE__*/ (() => {
1552
1545
  }
1553
1546
  let b = this.aq;
1554
1547
  this.aq = a;
1555
- this.cy("IsRowHoverEnabled", b, this.aq);
1548
+ this.c0("IsRowHoverEnabled", b, this.aq);
1556
1549
  }
1557
1550
  }
1558
1551
  CheckboxList.$t = /*@__PURE__*/ markType(CheckboxList, 'CheckboxList', Base.$, [INotifyPropertyChanged_$type]);
1559
- CheckboxList.ed = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
1560
- CheckboxList.by = "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
1561
- CheckboxList.d3 = /*@__PURE__*/ BrushUtil.h(255, 248, 248, 248);
1562
- CheckboxList.d4 = null;
1563
- CheckboxList.d5 = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
1552
+ CheckboxList.ef = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
1553
+ CheckboxList.b0 = "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z";
1554
+ CheckboxList.d5 = /*@__PURE__*/ BrushUtil.h(255, 248, 248, 248);
1555
+ CheckboxList.d6 = null;
1556
+ CheckboxList.d7 = /*@__PURE__*/ BrushUtil.h(255, 24, 29, 31);
1564
1557
  return CheckboxList;
1565
1558
  })();