igniteui-webcomponents-layouts 5.3.0 → 5.4.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 (123) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +11266 -8364
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ComboEditorBridge.js +8 -8
  4. package/esm2015/lib/ComboEditorView_combined.js +27 -26
  5. package/esm2015/lib/ListPanelScrollerKeyboardListener.js +1 -1
  6. package/esm2015/lib/ListPanelView_combined.js +595 -577
  7. package/esm2015/lib/NativeUILayoutFactory_combined.js +6734 -5325
  8. package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
  9. package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -1
  10. package/esm2015/lib/ToolActionFieldSelector.js +7 -0
  11. package/esm2015/lib/ToolActionFieldSelectorAggregation.js +40 -0
  12. package/esm2015/lib/ToolActionFieldSelectorAggregationsCollection.js +160 -0
  13. package/esm2015/lib/ToolActionFieldSelectorEventType.js +16 -0
  14. package/esm2015/lib/ToolActionFieldSelectorSelectedAggregation.js +40 -0
  15. package/esm2015/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +160 -0
  16. package/esm2015/lib/ToolActionFieldSelectorType.js +16 -0
  17. package/esm2015/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +26 -0
  18. package/esm2015/lib/ToolActionIconMenuVisualData.js +3 -3
  19. package/esm2015/lib/ToolActionVisualData.js +17 -13
  20. package/esm2015/lib/ToolPanelContext.js +4 -1
  21. package/esm2015/lib/igc-list-panel-component.js +64 -54
  22. package/esm2015/lib/igc-tool-action-button-component.js +6 -6
  23. package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
  24. package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
  25. package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
  26. package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
  27. package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
  28. package/esm2015/lib/igc-tool-action-component.js +191 -180
  29. package/esm2015/lib/igc-tool-action-field-selector-aggregation-module.js +15 -0
  30. package/esm2015/lib/igc-tool-action-field-selector-aggregation.js +58 -0
  31. package/esm2015/lib/igc-tool-action-field-selector-aggregations-collection.js +53 -0
  32. package/esm2015/lib/igc-tool-action-field-selector-component.js +261 -0
  33. package/esm2015/lib/igc-tool-action-field-selector-module.js +16 -0
  34. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation-module.js +15 -0
  35. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation.js +58 -0
  36. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +53 -0
  37. package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
  38. package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -34
  39. package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
  40. package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
  41. package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
  42. package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
  43. package/esm2015/lib/igc-tool-action-sub-panel-component.js +10 -0
  44. package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
  45. package/esm2015/lib/igc-tool-panel-component.js +275 -250
  46. package/esm2015/lib/igc-tool-panel-module.js +2 -0
  47. package/esm2015/lib/igc-toolbar-component.js +171 -156
  48. package/esm2015/public_api.js +16 -0
  49. package/esm5/lib/ComboEditorBridge.js +8 -8
  50. package/esm5/lib/ComboEditorView_combined.js +27 -26
  51. package/esm5/lib/ListPanelScrollerKeyboardListener.js +1 -1
  52. package/esm5/lib/ListPanelView_combined.js +592 -570
  53. package/esm5/lib/NativeUILayoutFactory_combined.js +6684 -5125
  54. package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
  55. package/esm5/lib/PropertyEditorTreeTransformer.js +1 -1
  56. package/esm5/lib/ToolActionFieldSelector.js +7 -0
  57. package/esm5/lib/ToolActionFieldSelectorAggregation.js +54 -0
  58. package/esm5/lib/ToolActionFieldSelectorAggregationsCollection.js +220 -0
  59. package/esm5/lib/ToolActionFieldSelectorEventType.js +16 -0
  60. package/esm5/lib/ToolActionFieldSelectorSelectedAggregation.js +54 -0
  61. package/esm5/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +220 -0
  62. package/esm5/lib/ToolActionFieldSelectorType.js +16 -0
  63. package/esm5/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +28 -0
  64. package/esm5/lib/ToolActionIconMenuVisualData.js +3 -3
  65. package/esm5/lib/ToolActionVisualData.js +17 -13
  66. package/esm5/lib/ToolPanelContext.js +4 -1
  67. package/esm5/lib/igc-list-panel-component.js +68 -54
  68. package/esm5/lib/igc-tool-action-button-component.js +6 -6
  69. package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
  70. package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
  71. package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
  72. package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
  73. package/esm5/lib/igc-tool-action-combo-component.js +8 -8
  74. package/esm5/lib/igc-tool-action-component.js +195 -180
  75. package/esm5/lib/igc-tool-action-field-selector-aggregation-module.js +19 -0
  76. package/esm5/lib/igc-tool-action-field-selector-aggregation.js +76 -0
  77. package/esm5/lib/igc-tool-action-field-selector-aggregations-collection.js +58 -0
  78. package/esm5/lib/igc-tool-action-field-selector-component.js +331 -0
  79. package/esm5/lib/igc-tool-action-field-selector-module.js +20 -0
  80. package/esm5/lib/igc-tool-action-field-selector-selected-aggregation-module.js +19 -0
  81. package/esm5/lib/igc-tool-action-field-selector-selected-aggregation.js +76 -0
  82. package/esm5/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +58 -0
  83. package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
  84. package/esm5/lib/igc-tool-action-icon-button-component.js +34 -34
  85. package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
  86. package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
  87. package/esm5/lib/igc-tool-action-radio-component.js +32 -32
  88. package/esm5/lib/igc-tool-action-separator-component.js +6 -6
  89. package/esm5/lib/igc-tool-action-sub-panel-component.js +14 -0
  90. package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
  91. package/esm5/lib/igc-tool-panel-component.js +283 -250
  92. package/esm5/lib/igc-tool-panel-module.js +2 -0
  93. package/esm5/lib/igc-toolbar-component.js +175 -156
  94. package/esm5/public_api.js +16 -0
  95. package/fesm2015/igniteui-webcomponents-layouts.js +10397 -7947
  96. package/fesm5/igniteui-webcomponents-layouts.js +11250 -8366
  97. package/lib/ListPanelView_combined.d.ts +147 -144
  98. package/lib/NativeUILayoutFactory_combined.d.ts +1393 -1262
  99. package/lib/ToolActionFieldSelector.d.ts +1 -0
  100. package/lib/ToolActionFieldSelectorAggregation.d.ts +17 -0
  101. package/lib/ToolActionFieldSelectorAggregationsCollection.d.ts +31 -0
  102. package/lib/ToolActionFieldSelectorEventType.d.ts +9 -0
  103. package/lib/ToolActionFieldSelectorSelectedAggregation.d.ts +17 -0
  104. package/lib/ToolActionFieldSelectorSelectedAggregationsCollection.d.ts +31 -0
  105. package/lib/ToolActionFieldSelectorType.d.ts +9 -0
  106. package/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.d.ts +16 -0
  107. package/lib/ToolActionIconMenuVisualData.d.ts +2 -2
  108. package/lib/ToolActionVisualData.d.ts +6 -5
  109. package/lib/igc-list-panel-component.d.ts +5 -0
  110. package/lib/igc-tool-action-component.d.ts +6 -0
  111. package/lib/igc-tool-action-field-selector-aggregation-module.d.ts +3 -0
  112. package/lib/igc-tool-action-field-selector-aggregation.d.ts +20 -0
  113. package/lib/igc-tool-action-field-selector-aggregations-collection.d.ts +8 -0
  114. package/lib/igc-tool-action-field-selector-component.d.ts +73 -0
  115. package/lib/igc-tool-action-field-selector-module.d.ts +3 -0
  116. package/lib/igc-tool-action-field-selector-selected-aggregation-module.d.ts +3 -0
  117. package/lib/igc-tool-action-field-selector-selected-aggregation.d.ts +20 -0
  118. package/lib/igc-tool-action-field-selector-selected-aggregations-collection.d.ts +8 -0
  119. package/lib/igc-tool-action-sub-panel-component.d.ts +5 -0
  120. package/lib/igc-tool-panel-component.d.ts +10 -0
  121. package/lib/igc-toolbar-component.d.ts +5 -0
  122. package/package.json +3 -3
  123. package/public_api.d.ts +16 -0
@@ -21,7 +21,7 @@ export let ToolPanelContext = /*@__PURE__*/ (() => {
21
21
  if (this.e.containsKey(a)) {
22
22
  let c = this.e.item(a);
23
23
  this.e.item(a, b);
24
- if ((c == null && b != null) || !Base.equalsStatic(c, b)) {
24
+ if ((c == null && b != null) || (c != null && !Base.equalsStatic(c, b))) {
25
25
  this.h(a, c, b);
26
26
  }
27
27
  return;
@@ -42,6 +42,9 @@ export let ToolPanelContext = /*@__PURE__*/ (() => {
42
42
  })()));
43
43
  }
44
44
  g(a) {
45
+ if (this.e == null || !this.e.containsKey(a)) {
46
+ return null;
47
+ }
45
48
  return this.e.item(a);
46
49
  }
47
50
  d($t, a, b) {
@@ -320,71 +320,71 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
320
320
  * Gets or sets the background color to use for the cells when they are selected
321
321
  */
322
322
  get selectedBackground() {
323
- return brushToString(this.i.h2);
323
+ return brushToString(this.i.h5);
324
324
  }
325
325
  set selectedBackground(v) {
326
- this.i.h2 = stringToBrush(v);
327
- this._a("selectedBackground", brushToString(this.i.h2));
326
+ this.i.h5 = stringToBrush(v);
327
+ this._a("selectedBackground", brushToString(this.i.h5));
328
328
  }
329
329
  /**
330
330
  * Gets or sets the background color to use.
331
331
  */
332
332
  get normalBackground() {
333
- return brushToString(this.i.h0);
333
+ return brushToString(this.i.h3);
334
334
  }
335
335
  set normalBackground(v) {
336
- this.i.h0 = stringToBrush(v);
337
- this._a("normalBackground", brushToString(this.i.h0));
336
+ this.i.h3 = stringToBrush(v);
337
+ this._a("normalBackground", brushToString(this.i.h3));
338
338
  }
339
339
  /**
340
340
  * Gets or sets the activation border color to use.
341
341
  */
342
342
  get activationBorder() {
343
- return brushToString(this.i.hw);
343
+ return brushToString(this.i.hz);
344
344
  }
345
345
  set activationBorder(v) {
346
- this.i.hw = stringToBrush(v);
347
- this._a("activationBorder", brushToString(this.i.hw));
346
+ this.i.hz = stringToBrush(v);
347
+ this._a("activationBorder", brushToString(this.i.hz));
348
348
  }
349
349
  /**
350
350
  * Gets or sets the amount of left activation border to use for the cell content for this column.
351
351
  */
352
352
  get activationBorderLeftWidth() {
353
- return this.i.dq;
353
+ return this.i.ds;
354
354
  }
355
355
  set activationBorderLeftWidth(v) {
356
- this.i.dq = +v;
357
- this._a("activationBorderLeftWidth", this.i.dq);
356
+ this.i.ds = +v;
357
+ this._a("activationBorderLeftWidth", this.i.ds);
358
358
  }
359
359
  /**
360
360
  * Gets or sets the amount of top activation border to use for the cell content for this column.
361
361
  */
362
362
  get activationBorderTopWidth() {
363
- return this.i.ds;
363
+ return this.i.du;
364
364
  }
365
365
  set activationBorderTopWidth(v) {
366
- this.i.ds = +v;
367
- this._a("activationBorderTopWidth", this.i.ds);
366
+ this.i.du = +v;
367
+ this._a("activationBorderTopWidth", this.i.du);
368
368
  }
369
369
  /**
370
370
  * Gets or sets the amount of right activation border to use for the cell content of this column.
371
371
  */
372
372
  get activationBorderRightWidth() {
373
- return this.i.dr;
373
+ return this.i.dt;
374
374
  }
375
375
  set activationBorderRightWidth(v) {
376
- this.i.dr = +v;
377
- this._a("activationBorderRightWidth", this.i.dr);
376
+ this.i.dt = +v;
377
+ this._a("activationBorderRightWidth", this.i.dt);
378
378
  }
379
379
  /**
380
380
  * Gets or sets the amount of bottom activation border to use for the cell content of this column.
381
381
  */
382
382
  get activationBorderBottomWidth() {
383
- return this.i.dp;
383
+ return this.i.dr;
384
384
  }
385
385
  set activationBorderBottomWidth(v) {
386
- this.i.dp = +v;
387
- this._a("activationBorderBottomWidth", this.i.dp);
386
+ this.i.dr = +v;
387
+ this._a("activationBorderBottomWidth", this.i.dr);
388
388
  }
389
389
  /**
390
390
  * Sets or gets the grid selection mode.
@@ -506,22 +506,32 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
506
506
  }
507
507
  this.i.g = v;
508
508
  }
509
+ /**
510
+ * Gets or sets the spacing between items.
511
+ */
512
+ get itemSpacing() {
513
+ return this.i.c8;
514
+ }
515
+ set itemSpacing(v) {
516
+ this.i.c8 = +v;
517
+ this._a("itemSpacing", this.i.c8);
518
+ }
509
519
  /**
510
520
  * Gets or Sets the property name that contains the values.
511
521
  */
512
522
  get rowHeight() {
513
- return this.i.ec;
523
+ return this.i.ee;
514
524
  }
515
525
  set rowHeight(v) {
516
- this.i.ec = +v;
517
- this._a("rowHeight", this.i.ec);
526
+ this.i.ee = +v;
527
+ this._a("rowHeight", this.i.ee);
518
528
  }
519
529
  get actualRowHeight() {
520
- return this.i.c4;
530
+ return this.i.c5;
521
531
  }
522
532
  set actualRowHeight(v) {
523
- this.i.c4 = +v;
524
- this._a("actualRowHeight", this.i.c4);
533
+ this.i.c5 = +v;
534
+ this._a("actualRowHeight", this.i.c5);
525
535
  }
526
536
  /**
527
537
  * Gets or Sets the property name that contains the values.
@@ -555,21 +565,21 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
555
565
  * Gets or sets the scrollbar background color.
556
566
  */
557
567
  get scrollbarBackground() {
558
- return brushToString(this.i.h1);
568
+ return brushToString(this.i.h4);
559
569
  }
560
570
  set scrollbarBackground(v) {
561
- this.i.h1 = stringToBrush(v);
562
- this._a("scrollbarBackground", brushToString(this.i.h1));
571
+ this.i.h4 = stringToBrush(v);
572
+ this._a("scrollbarBackground", brushToString(this.i.h4));
563
573
  }
564
574
  /**
565
575
  * Gets or sets the color to use for the background of the component.
566
576
  */
567
577
  get backgroundColor() {
568
- return brushToString(this.i.hx);
578
+ return brushToString(this.i.h0);
569
579
  }
570
580
  set backgroundColor(v) {
571
- this.i.hx = stringToBrush(v);
572
- this._a("backgroundColor", brushToString(this.i.hx));
581
+ this.i.h0 = stringToBrush(v);
582
+ this._a("backgroundColor", brushToString(this.i.h0));
573
583
  }
574
584
  /**
575
585
  * Gets or sets the color to use for the background of the component.
@@ -595,21 +605,21 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
595
605
  * Gets or sets the color to use for the text of the component.
596
606
  */
597
607
  get textColor() {
598
- return brushToString(this.i.h3);
608
+ return brushToString(this.i.h6);
599
609
  }
600
610
  set textColor(v) {
601
- this.i.h3 = stringToBrush(v);
602
- this._a("textColor", brushToString(this.i.h3));
611
+ this.i.h6 = stringToBrush(v);
612
+ this._a("textColor", brushToString(this.i.h6));
603
613
  }
604
614
  /**
605
615
  * Gets or sets the position of the active row.
606
616
  */
607
617
  get activeRow() {
608
- return this.i.dt;
618
+ return this.i.dv;
609
619
  }
610
620
  set activeRow(v) {
611
- this.i.dt = +v;
612
- this._a("activeRow", this.i.dt);
621
+ this.i.dv = +v;
622
+ this._a("activeRow", this.i.dv);
613
623
  }
614
624
  /**
615
625
  * Gets or sets if the grid should notify on programmatic selection changes as well as changes from the UI.
@@ -722,7 +732,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
722
732
 
723
733
  */
724
734
  getLastVisibleIndex() {
725
- let iv = this.i.d2();
735
+ let iv = this.i.d4();
726
736
  return (iv);
727
737
  }
728
738
  /**
@@ -730,7 +740,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
730
740
 
731
741
  */
732
742
  getFirstVisibleIndex() {
733
- let iv = this.i.d0();
743
+ let iv = this.i.d2();
734
744
  return (iv);
735
745
  }
736
746
  /**
@@ -738,10 +748,10 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
738
748
 
739
749
  */
740
750
  invalidateVisibleItems() {
741
- this.i.f3();
751
+ this.i.f6();
742
752
  }
743
753
  notifySetItem(index, oldItem, newItem) {
744
- this.i.f9(index, oldItem, newItem);
754
+ this.i.gc(index, oldItem, newItem);
745
755
  }
746
756
  /**
747
757
  * Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined.
@@ -749,13 +759,13 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
749
759
 
750
760
  */
751
761
  notifyClearItems() {
752
- this.i.f6();
762
+ this.i.f9();
753
763
  }
754
764
  notifyInsertItem(index, newItem) {
755
- this.i.f7(index, newItem);
765
+ this.i.ga(index, newItem);
756
766
  }
757
767
  notifyRemoveItem(index, oldItem) {
758
- this.i.f8(index, oldItem);
768
+ this.i.gb(index, oldItem);
759
769
  }
760
770
  /**
761
771
  * Returns the data index of an item within the bound data source.
@@ -763,19 +773,19 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
763
773
  * @param item * The item from which to get the index.
764
774
  */
765
775
  dataIndexOfItem(item) {
766
- let iv = this.i.dv(item);
776
+ let iv = this.i.dx(item);
767
777
  return (iv);
768
778
  }
769
779
  dataIndexOfPrimaryKey(key) {
770
- let iv = this.i.dw(key);
780
+ let iv = this.i.dy(key);
771
781
  return (iv);
772
782
  }
773
783
  exportVisualData() {
774
- let iv = this.i.ef();
784
+ let iv = this.i.eh();
775
785
  return (iv);
776
786
  }
777
787
  exportSerializedVisualData() {
778
- let iv = this.i.ex();
788
+ let iv = this.i.ez();
779
789
  return (iv);
780
790
  }
781
791
  /**
@@ -783,7 +793,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
783
793
 
784
794
  */
785
795
  selectAllRows() {
786
- this.i.hf();
796
+ this.i.hi();
787
797
  }
788
798
  /**
789
799
  * Scrolls the grid to given row, by index
@@ -791,7 +801,7 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
791
801
  * @param rowNumber * The row index to scroll to.
792
802
  */
793
803
  scrollToRowByIndex(rowNumber) {
794
- this.i.hd(rowNumber);
804
+ this.i.hg(rowNumber);
795
805
  }
796
806
  /**
797
807
  * Scrolls the grid so that a row is the last visible, by index.
@@ -799,14 +809,14 @@ export let IgcListPanelComponent = /*@__PURE__*/ (() => {
799
809
  * @param rowNumber * The row index to scroll to.
800
810
  */
801
811
  scrollToLastRowByIndex(rowNumber) {
802
- this.i.hb(rowNumber);
812
+ this.i.he(rowNumber);
803
813
  }
804
814
  /**
805
815
  * Deselects all currently selected rows.
806
816
 
807
817
  */
808
818
  deselectAllRows() {
809
- this.i.fm();
819
+ this.i.fp();
810
820
  }
811
821
  /**
812
822
  * Called when item content is recycled.
@@ -66,21 +66,21 @@ export let IgcToolActionButtonComponent = /*@__PURE__*/ (() => {
66
66
  * Gets or sets the display type for the button.
67
67
  */
68
68
  get displayType() {
69
- return this.i.hd;
69
+ return this.i.hl;
70
70
  }
71
71
  set displayType(v) {
72
- this.i.hd = ensureEnum(ToolActionButtonDisplayType_$type, v);
73
- this._a("displayType", enumToString(ToolActionButtonDisplayType_$type, this.i.hd));
72
+ this.i.hl = ensureEnum(ToolActionButtonDisplayType_$type, v);
73
+ this._a("displayType", enumToString(ToolActionButtonDisplayType_$type, this.i.hl));
74
74
  }
75
75
  /**
76
76
  * Gets or sets the button corner radius.
77
77
  */
78
78
  get cornerRadius() {
79
- return this.i.hh;
79
+ return this.i.hp;
80
80
  }
81
81
  set cornerRadius(v) {
82
- this.i.hh = +v;
83
- this._a("cornerRadius", this.i.hh);
82
+ this.i.hp = +v;
83
+ this._a("cornerRadius", this.i.hp);
84
84
  }
85
85
  }
86
86
  IgcToolActionButtonComponent._observedAttributesIgcToolActionButtonComponent = null;