@sme.up/ketchup 6.6.0 → 6.7.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 (192) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-a531feb2.js → f-button-bf76ab95.js} +2 -2
  3. package/dist/cjs/{f-cell-75cb7933.js → f-cell-b7a1524a.js} +21 -21
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-9508a2e4.js → f-chip-a5e100b1.js} +3 -3
  6. package/dist/cjs/{f-image-c21cc616.js → f-image-d80a2749.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-c70812fe.js} +3 -3
  8. package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-48b8bb16.js} +2 -2
  9. package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  12. package/dist/cjs/kup-autocomplete_25.cjs.entry.js +206 -57
  13. package/dist/cjs/kup-box.cjs.entry.js +11 -10
  14. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
  19. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-form.cjs.entry.js +8 -8
  23. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
  25. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  27. package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-0e38bf48.js} +16 -6
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  30. package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  34. package/dist/cjs/loader.cjs.js +3 -3
  35. package/dist/collection/assets/box.js +9 -6
  36. package/dist/collection/collection-manifest.json +3 -3
  37. package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
  38. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
  39. package/dist/collection/components/kup-badge/kup-badge.js +176 -170
  40. package/dist/collection/components/kup-box/kup-box.js +889 -907
  41. package/dist/collection/components/kup-button/kup-button.js +379 -370
  42. package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
  43. package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
  44. package/dist/collection/components/kup-card/box/kup-card-box.js +7 -24
  45. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  46. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  47. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  48. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  49. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  50. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  51. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  52. package/dist/collection/components/kup-card/kup-card.css +40 -0
  53. package/dist/collection/components/kup-card/kup-card.js +348 -340
  54. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  55. package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
  56. package/dist/collection/components/kup-cell/kup-cell.js +221 -216
  57. package/dist/collection/components/kup-chart/kup-chart.js +547 -537
  58. package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
  59. package/dist/collection/components/kup-chip/kup-chip.js +240 -231
  60. package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
  61. package/dist/collection/components/kup-combobox/kup-combobox.js +457 -440
  62. package/dist/collection/components/kup-dash/kup-dash.js +110 -158
  63. package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
  64. package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
  65. package/dist/collection/components/kup-data-table/kup-data-table.js +1917 -1830
  66. package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
  67. package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
  68. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
  69. package/dist/collection/components/kup-echart/kup-echart.js +436 -423
  70. package/dist/collection/components/kup-family-tree/kup-family-tree.js +408 -421
  71. package/dist/collection/components/kup-form/kup-form.js +223 -225
  72. package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
  73. package/dist/collection/components/kup-grid/kup-grid.js +156 -153
  74. package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
  75. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  76. package/dist/collection/components/kup-image/kup-image.js +300 -295
  77. package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
  78. package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
  79. package/dist/collection/components/kup-list/kup-list.js +541 -504
  80. package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
  81. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
  82. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
  83. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
  84. package/dist/collection/components/kup-probe/kup-probe.js +87 -83
  85. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
  86. package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
  87. package/dist/collection/components/kup-radio/kup-radio.js +258 -255
  88. package/dist/collection/components/kup-rating/kup-rating.js +208 -197
  89. package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
  90. package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
  91. package/dist/collection/components/kup-switch/kup-switch.js +255 -246
  92. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
  93. package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
  94. package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
  95. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  96. package/dist/collection/components/kup-tree/kup-tree.js +1068 -1076
  97. package/dist/collection/f-components/f-button/f-button.js +11 -20
  98. package/dist/collection/f-components/f-cell/f-cell.js +19 -21
  99. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  100. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  101. package/dist/collection/f-components/f-image/f-image.js +1 -3
  102. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  103. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  104. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  105. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  106. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  107. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  108. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  109. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  110. package/dist/esm/{f-button-15719ec1.js → f-button-e79f7594.js} +2 -2
  111. package/dist/esm/{f-cell-692c37bf.js → f-cell-9400374e.js} +21 -21
  112. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  113. package/dist/esm/{f-chip-abab04bf.js → f-chip-bf740287.js} +3 -3
  114. package/dist/esm/{f-image-98783644.js → f-image-ab3dc8cb.js} +2 -2
  115. package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-6909e43b.js} +3 -3
  116. package/dist/esm/{f-text-field-282025dd.js → f-text-field-4841dfea.js} +2 -2
  117. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  118. package/dist/esm/ketchup.js +3 -3
  119. package/dist/esm/kup-accordion.entry.js +3 -3
  120. package/dist/esm/kup-autocomplete_25.entry.js +206 -57
  121. package/dist/esm/kup-box.entry.js +11 -10
  122. package/dist/esm/kup-calendar.entry.js +5 -5
  123. package/dist/esm/kup-cell.entry.js +7 -7
  124. package/dist/esm/kup-dash-list.entry.js +2 -2
  125. package/dist/esm/kup-dash_2.entry.js +2 -2
  126. package/dist/esm/kup-dashboard.entry.js +6 -6
  127. package/dist/esm/kup-drawer.entry.js +2 -2
  128. package/dist/esm/kup-echart.entry.js +2 -2
  129. package/dist/esm/kup-family-tree.entry.js +4 -4
  130. package/dist/esm/kup-form.entry.js +8 -8
  131. package/dist/esm/kup-iframe.entry.js +2 -2
  132. package/dist/esm/kup-image-list.entry.js +8 -8
  133. package/dist/esm/kup-lazy.entry.js +2 -2
  134. package/dist/esm/kup-magic-box.entry.js +3 -3
  135. package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c54e6df5.js} +16 -6
  136. package/dist/esm/kup-nav-bar.entry.js +2 -2
  137. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  138. package/dist/esm/kup-photo-frame.entry.js +2 -2
  139. package/dist/esm/kup-probe.entry.js +2 -2
  140. package/dist/esm/kup-qlik.entry.js +2 -2
  141. package/dist/esm/kup-snackbar.entry.js +4 -4
  142. package/dist/esm/loader.js +3 -3
  143. package/dist/esm/polyfills/css-shim.js +1 -1
  144. package/dist/ketchup/ketchup.esm.js +1 -1
  145. package/dist/ketchup/{p-5933aa02.entry.js → p-182b869e.entry.js} +1 -1
  146. package/dist/ketchup/{p-c05f2638.js → p-1dfd2a51.js} +1 -1
  147. package/dist/ketchup/{p-62f3ec78.entry.js → p-1f5c7f21.entry.js} +1 -1
  148. package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
  149. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  150. package/dist/ketchup/{p-62421bcf.js → p-25bf0cb6.js} +1 -1
  151. package/dist/ketchup/{p-6946b614.entry.js → p-260ff835.entry.js} +1 -1
  152. package/dist/ketchup/{p-ccef2553.entry.js → p-2e184b57.entry.js} +1 -1
  153. package/dist/ketchup/{p-eeadd688.entry.js → p-30a63b85.entry.js} +1 -1
  154. package/dist/ketchup/{p-3760a159.entry.js → p-313e376b.entry.js} +1 -1
  155. package/dist/ketchup/{p-7e16265d.entry.js → p-41620707.entry.js} +1 -1
  156. package/dist/ketchup/{p-5ea2a1ff.entry.js → p-4a0ccf18.entry.js} +1 -1
  157. package/dist/ketchup/{p-6f3040fb.js → p-4f0d3062.js} +1 -1
  158. package/dist/ketchup/p-4fdb684f.js +2 -0
  159. package/dist/ketchup/{p-27538d6f.entry.js → p-53d3ae80.entry.js} +1 -1
  160. package/dist/ketchup/{p-20221a50.js → p-5bea2971.js} +1 -1
  161. package/dist/ketchup/{p-1ef5d16d.entry.js → p-60fa0ccf.entry.js} +1 -1
  162. package/dist/ketchup/p-6333388c.js +1 -0
  163. package/dist/ketchup/{p-725c6268.entry.js → p-6bd57787.entry.js} +1 -1
  164. package/dist/ketchup/p-758d03f4.entry.js +1 -0
  165. package/dist/ketchup/{p-9419919c.entry.js → p-7e7b6127.entry.js} +1 -1
  166. package/dist/ketchup/p-8386e3db.entry.js +1 -0
  167. package/dist/ketchup/{p-a4a30e0e.entry.js → p-859163c2.entry.js} +1 -1
  168. package/dist/ketchup/{p-a450d60a.entry.js → p-8e1fa7a8.entry.js} +1 -1
  169. package/dist/ketchup/{p-29d72040.entry.js → p-90860d9e.entry.js} +1 -1
  170. package/dist/ketchup/{p-d8af7ba6.entry.js → p-b7fdc7aa.entry.js} +1 -1
  171. package/dist/ketchup/{p-7d37ea62.entry.js → p-bffaef6e.entry.js} +1 -1
  172. package/dist/ketchup/{p-3e74e1ed.js → p-c35c5e05.js} +1 -1
  173. package/dist/ketchup/{p-e6ebdb80.js → p-e1d0ea71.js} +1 -1
  174. package/dist/ketchup/{p-fd930a34.entry.js → p-f9d5e553.entry.js} +1 -1
  175. package/dist/ketchup/{p-f6409c42.entry.js → p-fb4d772a.entry.js} +1 -1
  176. package/dist/loader/package.json +1 -0
  177. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  178. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  179. package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
  180. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  181. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  182. package/dist/types/components.d.ts +23 -0
  183. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  184. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  185. package/dist/types/stencil-public-runtime.d.ts +15 -4
  186. package/package.json +1 -1
  187. package/CHANGELOG.md +0 -5
  188. package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
  189. package/dist/ketchup/p-680a8cb4.entry.js +0 -9
  190. package/dist/ketchup/p-b0b3989b.js +0 -2
  191. package/dist/ketchup/p-d7a92197.entry.js +0 -1
  192. package/dist/ketchup/p-e07a10fb.js +0 -1
@@ -1,6 +1,6 @@
1
- import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, Watch, } from '@stencil/core';
1
+ import { forceUpdate, h, Host, } from '@stencil/core';
2
2
  import { FixedCellsClasses, FixedCellsCSSVarsBase, GroupLabelDisplayMode, LoadMoreMode, PaginatorPos, ShowGrid, SortMode, TotalMode, TotalLabel, KupDataTableProps, fieldColumn, iconColumn, keyColumn, SelectionMode, } from './kup-data-table-declarations';
3
- import { getColumnByName } from '../../utils/cell-utils';
3
+ import { getColumnByName, } from '../../utils/cell-utils';
4
4
  import { calcTotals, normalizeRows, filterRows, groupRows, paginateRows, sortRows, } from './kup-data-table-helper';
5
5
  import { numberToFormattedStringNumber, identify, getProps, setProps, } from '../../utils/utils';
6
6
  import { ItemsDisplayMode, } from '../kup-list/kup-list-declarations';
@@ -583,6 +583,30 @@ export class KupDataTable {
583
583
  async collapseAll() {
584
584
  this.expandGroups = false;
585
585
  }
586
+ /**
587
+ * This method will delete rows by id from the data table dataset.
588
+ * @param {string[]} ids - Array of row ids to delete.
589
+ * @returns {Promise<Array<KupDataTableRow>>} Deleted rows.
590
+ */
591
+ async deleteRows(ids = []) {
592
+ const deletedRows = [];
593
+ const newRows = [];
594
+ for (let index = 0; index < this.data.rows.length; index++) {
595
+ const row = this.data.rows[index];
596
+ if (ids.includes(row.id)) {
597
+ deletedRows.push(row);
598
+ }
599
+ else {
600
+ newRows.push(row);
601
+ }
602
+ }
603
+ if (deletedRows.length > 0) {
604
+ this.data.rows = newRows;
605
+ this.recalculateRowsAndUndoSelections();
606
+ await this.refresh();
607
+ }
608
+ return deletedRows;
609
+ }
586
610
  /**
587
611
  * Expands all groups.
588
612
  */
@@ -690,6 +714,49 @@ export class KupDataTable {
690
714
  this.resizeTimeout = window.setTimeout(() => this.refresh(), 300);
691
715
  }
692
716
  }
717
+ /**
718
+ * Sets the cell value in a table cell.
719
+ * @param {string} columnName - Name of the column.
720
+ * @param {string} rowId - Id of the row.
721
+ * @param {string} value - Value to set.
722
+ */
723
+ async setCellValue(columnName, rowId, value) {
724
+ const column = getColumnByName(this.data.columns, columnName);
725
+ if (!column) {
726
+ return;
727
+ }
728
+ const row = this.getRow(rowId);
729
+ if (!row) {
730
+ return;
731
+ }
732
+ const cell = row.cells[columnName];
733
+ if (!cell) {
734
+ return;
735
+ }
736
+ cell.value = value;
737
+ cell.displayedValue = null;
738
+ if (cell.data) {
739
+ cell.data.key = new Date().getTime() + column.name;
740
+ cell.data.initialValue = value;
741
+ }
742
+ /*
743
+ const cells = this.rootElement.shadowRoot.querySelectorAll(
744
+ 'td[data-column="' + columnName + '"]'
745
+ );
746
+ for (let index = 0; cells && index < cells.length; index++) {
747
+ const cell = cells[index];
748
+ if (cell['data-row'] && cell['data-row'].id == rowId) {
749
+ const kupInput = cell.querySelector('.hydrated');
750
+ if (kupInput) {
751
+ try {
752
+ (kupInput as any).setValue(value);
753
+ } catch (error) {}
754
+ }
755
+ break;
756
+ }
757
+ }*/
758
+ this.refresh();
759
+ }
693
760
  /**
694
761
  * Sets the focus on an editable table cell.
695
762
  * @param {string} column - Name of the column.
@@ -732,13 +799,7 @@ export class KupDataTable {
732
799
  this.selectedRows = [];
733
800
  for (let index = 0; index < rowsIdentifiers.length; index++) {
734
801
  const id = rowsIdentifiers[index];
735
- if (typeof id === 'number') {
736
- this.selectedRows.push(this.renderedRows[id]);
737
- }
738
- else {
739
- const row = this.renderedRows.find((row) => row.id === id);
740
- this.selectedRows.push(row);
741
- }
802
+ this.selectedRows.push(this.getRow(id));
742
803
  }
743
804
  if (emitEvent !== false) {
744
805
  this.kupRowSelected.emit({
@@ -813,6 +874,20 @@ export class KupDataTable {
813
874
  this.setTransposedData();
814
875
  }
815
876
  }
877
+ getRow(id) {
878
+ if (typeof id === 'number') {
879
+ return this.data.rows[id];
880
+ }
881
+ else {
882
+ return this.data.rows.find((row) => row.id === id);
883
+ }
884
+ }
885
+ getTransposedData(column) {
886
+ if (column) {
887
+ this.filters = {};
888
+ }
889
+ return this.kupManager.data.transpose(this.data, column);
890
+ }
816
891
  setTransposedData() {
817
892
  // transpose
818
893
  this.originalData = Object.assign({}, this.data);
@@ -948,12 +1023,6 @@ export class KupDataTable {
948
1023
  delete column.icon;
949
1024
  }
950
1025
  }
951
- getTransposedData(column) {
952
- if (column) {
953
- this.filters = {};
954
- }
955
- return this.kupManager.data.transpose(this.data, column);
956
- }
957
1026
  updateStickyHeaderSize() {
958
1027
  const navBar = document.querySelectorAll('.header')[0];
959
1028
  if (navBar) {
@@ -2430,13 +2499,12 @@ export class KupDataTable {
2430
2499
  : {}));
2431
2500
  multiSelectColumn = (h("th", { class: selectionStyleAndClass
2432
2501
  ? selectionStyleAndClass.fixedCellClasses
2433
- : {}, style: style },
2434
- h("kup-checkbox", { "onkup-checkbox-change": (e) => this.onSelectAll(e), title: this.kupManager.language.translate(KupLanguageRow.SELECTED) +
2435
- `: ${this.selectedRows.length},` +
2436
- this.kupManager.language.translate(KupLanguageRow.RENDERED) +
2437
- `: ${this.renderedRows.length}`, checked: this.selectedRows.length > 0 &&
2438
- this.selectedRows.length ===
2439
- this.renderedRows.length })));
2502
+ : {}, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => this.onSelectAll(e), title: this.kupManager.language.translate(KupLanguageRow.SELECTED) +
2503
+ `: ${this.selectedRows.length},` +
2504
+ this.kupManager.language.translate(KupLanguageRow.RENDERED) +
2505
+ `: ${this.renderedRows.length}`, checked: this.selectedRows.length > 0 &&
2506
+ this.selectedRows.length ===
2507
+ this.renderedRows.length })));
2440
2508
  }
2441
2509
  // Renders action column
2442
2510
  let actionsColumn = null;
@@ -2483,14 +2551,7 @@ export class KupDataTable {
2483
2551
  }
2484
2552
  }
2485
2553
  }
2486
- return (h("th", { ref: (el) => this.thRefs.push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name },
2487
- h("div", { class: "header-cell__content" },
2488
- h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)),
2489
- h("span", { class: "header-cell__icons" },
2490
- keyIcon,
2491
- sortIcon,
2492
- filter)),
2493
- this.resizableColumns ? (h("span", { class: "header-cell__drag-handler" })) : null));
2554
+ return (h("th", { ref: (el) => this.thRefs.push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)), h("span", { class: "header-cell__icons" }, keyIcon, sortIcon, filter)), this.resizableColumns ? (h("span", { class: "header-cell__drag-handler" })) : null));
2494
2555
  });
2495
2556
  return [multiSelectColumn, actionsColumn, ...dataColumns];
2496
2557
  // return [multiSelectColumn, groupColumn, actionsColumn, ...dataColumns];
@@ -2506,13 +2567,12 @@ export class KupDataTable {
2506
2567
  : {}));
2507
2568
  multiSelectColumn = (h("th-sticky", { class: selectionStyleAndClass
2508
2569
  ? selectionStyleAndClass.fixedCellClasses
2509
- : null, style: style },
2510
- h("kup-checkbox", { "onkup-checkbox-change": (e) => this.onSelectAll(e), title: this.kupManager.language.translate(KupLanguageRow.SELECTED) +
2511
- `: ${this.selectedRows.length},` +
2512
- this.kupManager.language.translate(KupLanguageRow.RENDERED) +
2513
- `: ${this.renderedRows.length}`, checked: this.selectedRows.length > 0 &&
2514
- this.selectedRows.length ===
2515
- this.renderedRows.length })));
2570
+ : null, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => this.onSelectAll(e), title: this.kupManager.language.translate(KupLanguageRow.SELECTED) +
2571
+ `: ${this.selectedRows.length},` +
2572
+ this.kupManager.language.translate(KupLanguageRow.RENDERED) +
2573
+ `: ${this.renderedRows.length}`, checked: this.selectedRows.length > 0 &&
2574
+ this.selectedRows.length ===
2575
+ this.renderedRows.length })));
2516
2576
  }
2517
2577
  // Empty cell for the actions
2518
2578
  let actionsColumn = null;
@@ -2528,9 +2588,7 @@ export class KupDataTable {
2528
2588
  // Composes normal header cells
2529
2589
  const dataColumns = this.getVisibleColumns().map((column, columnIndex) => {
2530
2590
  const { columnClass, thStyle } = this.composeHeaderCellClassAndStyle(columnIndex, specialExtraCellsCount, column);
2531
- return (h("th-sticky", { class: columnClass, style: thStyle },
2532
- h("div", { class: "header-cell__content" },
2533
- h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)))));
2591
+ return (h("th-sticky", { class: columnClass, style: thStyle }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)))));
2534
2592
  });
2535
2593
  return [multiSelectColumn, actionsColumn, ...dataColumns];
2536
2594
  }
@@ -2716,15 +2774,9 @@ export class KupDataTable {
2716
2774
  ? fixedCellStyle.fixedCellClasses
2717
2775
  : '', style: fixedCellStyle
2718
2776
  ? fixedCellStyle.fixedCellStyle
2719
- : null },
2720
- totalMenu,
2721
- h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
2777
+ : null }, totalMenu, h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
2722
2778
  });
2723
- const footer = (h("tfoot", null,
2724
- h("tr", null,
2725
- selectRowCell,
2726
- actionsCell,
2727
- footerCells)));
2779
+ const footer = (h("tfoot", null, h("tr", null, selectRowCell, actionsCell, footerCells)));
2728
2780
  return footer;
2729
2781
  }
2730
2782
  renderRow(row, level = 0, rowCssIndex = 0, previousRow) {
@@ -2768,11 +2820,7 @@ export class KupDataTable {
2768
2820
  cells.push(h("td", null));
2769
2821
  }
2770
2822
  // adding 'grouping' cell
2771
- const grouplabelcell = (h("td", { colSpan: this.calculateColspan() },
2772
- h("span", { class: "group-cell-content" },
2773
- indent,
2774
- h("span", { class: iconClass }),
2775
- h("span", { class: "text" }, composedGroupLabel))));
2823
+ const grouplabelcell = (h("td", { colSpan: this.calculateColspan() }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel))));
2776
2824
  // adding 'totals grouping' cells
2777
2825
  for (let column of visibleColumns) {
2778
2826
  let totalClass = 'total';
@@ -2808,12 +2856,7 @@ export class KupDataTable {
2808
2856
  jsxRows.push(h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: "group group-total" }, cells));
2809
2857
  }
2810
2858
  else {
2811
- jsxRows.push(h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: "group" },
2812
- h("td", { colSpan: this.calculateColspan() },
2813
- h("span", { class: "group-cell-content" },
2814
- indent,
2815
- h("span", { class: iconClass }),
2816
- h("span", { class: "text" }, composedGroupLabel)))));
2859
+ jsxRows.push(h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: "group" }, h("td", { colSpan: this.calculateColspan() }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel)))));
2817
2860
  }
2818
2861
  // if group is expanded, add children
2819
2862
  if (this.isGroupExpanded(row)) {
@@ -2858,8 +2901,7 @@ export class KupDataTable {
2858
2901
  ? selectionStyleAndClass.fixedCellClasses
2859
2902
  : null, style: selectionStyleAndClass
2860
2903
  ? selectionStyleAndClass.fixedCellStyle
2861
- : null },
2862
- h(FCheckbox, Object.assign({}, props))));
2904
+ : null }, h(FCheckbox, Object.assign({}, props))));
2863
2905
  }
2864
2906
  // Renders action cell
2865
2907
  // If active, this can be either the first or second cell
@@ -2897,10 +2939,7 @@ export class KupDataTable {
2897
2939
  ? actionsStyleAndClass.fixedCellClasses
2898
2940
  : null, style: actionsStyleAndClass
2899
2941
  ? actionsStyleAndClass.fixedCellStyle
2900
- : null },
2901
- defaultRowActions,
2902
- rowActionExpander,
2903
- variableActions));
2942
+ : null }, defaultRowActions, rowActionExpander, variableActions));
2904
2943
  }
2905
2944
  // Renders plain rows cells
2906
2945
  const cells = visibleColumns.map((currentColumn, cellIndex) => {
@@ -2982,10 +3021,7 @@ export class KupDataTable {
2982
3021
  const style = {
2983
3022
  '--kup_datatable_row_actions': rowActionsCount,
2984
3023
  };
2985
- return (h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: rowClass, style: style },
2986
- selectRowCell,
2987
- rowActionsCell,
2988
- cells));
3024
+ return (h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: rowClass, style: style }, selectRowCell, rowActionsCell, cells));
2989
3025
  }
2990
3026
  }
2991
3027
  renderActions(actions, row, type) {
@@ -3040,16 +3076,15 @@ export class KupDataTable {
3040
3076
  this.kupManager.removeClickCallback(this.clickCbCustomPanel);
3041
3077
  }
3042
3078
  renderPaginator(top) {
3043
- return (h("div", { class: "paginator-wrapper" },
3044
- h("div", { class: "paginator-tabs" }, this.showLoadMore ||
3045
- (!this.lazyLoadRows &&
3046
- this.rowsLength > this.rowsPerPage) ? (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.rowsLength, perPage: this.currentRowsPerPage
3047
- ? this.currentRowsPerPage
3048
- : this.rowsPerPage, onLoadMore: this.showLoadMore
3049
- ? () => {
3050
- this.onLoadMoreClick();
3051
- }
3052
- : null, onNextPage: () => this.handlePageChange(this.currentPage + 1), onPrevPage: () => this.handlePageChange(this.currentPage - 1), onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) })) : null)));
3079
+ return (h("div", { class: "paginator-wrapper" }, h("div", { class: "paginator-tabs" }, this.showLoadMore ||
3080
+ (!this.lazyLoadRows &&
3081
+ this.rowsLength > this.rowsPerPage) ? (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.rowsLength, perPage: this.currentRowsPerPage
3082
+ ? this.currentRowsPerPage
3083
+ : this.rowsPerPage, onLoadMore: this.showLoadMore
3084
+ ? () => {
3085
+ this.onLoadMoreClick();
3086
+ }
3087
+ : null, onNextPage: () => this.handlePageChange(this.currentPage + 1), onPrevPage: () => this.handlePageChange(this.currentPage - 1), onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) })) : null)));
3053
3088
  }
3054
3089
  renderCustomizePanel() {
3055
3090
  let density = undefined;
@@ -3068,29 +3103,17 @@ export class KupDataTable {
3068
3103
  }
3069
3104
  return (h("kup-card", { customStyle: "::slotted(kup-switch) { width: max-content !important; } ::slotted(*) { margin: auto !important; } ::slotted(.customize-element) { margin: auto !important; padding: 0 1em 1em 1em !important; width: max-content !important; } ::slotted(.customize-element):nth-child(1) { padding-top: 1em !important; }", isMenu: true, layoutFamily: KupCardFamily.FREE, ref: (el) => {
3070
3105
  this.customizeTopPanelRef = el;
3071
- }, sizeX: "360px", sizeY: "300px" },
3072
- density,
3073
- grid,
3074
- fontsize,
3075
- transpose,
3076
- h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: this.kupManager.language.translate(KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }),
3077
- h("kup-switch", { class: "customize-element", checked: this.editableData, label: this.kupManager.language.translate(KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }),
3078
- h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOGGLE) +
3079
- ' Magic Box ' +
3080
- '(' +
3081
- this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
3082
- ')', icon: "auto-fix", "onkup-button-click": () => this.kupManager.toggleMagicBox() }),
3083
- totalsMatrix));
3106
+ }, sizeX: "360px", sizeY: "300px" }, density, grid, fontsize, transpose, h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: this.kupManager.language.translate(KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }), h("kup-switch", { class: "customize-element", checked: this.editableData, label: this.kupManager.language.translate(KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }), h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOGGLE) +
3107
+ ' Magic Box ' +
3108
+ '(' +
3109
+ this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
3110
+ ')', icon: "auto-fix", "onkup-button-click": () => this.kupManager.toggleMagicBox() }), totalsMatrix));
3084
3111
  }
3085
3112
  columnRemoveArea() {
3086
- return (h("div", { class: "droparea__remove", ref: (el) => (this.removeDropareaRef = el) },
3087
- h(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }),
3088
- h(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
3113
+ return (h("div", { class: "droparea__remove", ref: (el) => (this.removeDropareaRef = el) }, h(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
3089
3114
  }
3090
3115
  columnGroupArea() {
3091
- return (h("div", { class: "droparea__groups", ref: (el) => (this.groupsDropareaRef = el) },
3092
- h(FImage, { resource: "bookmark", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" }),
3093
- h(FImage, { resource: "book", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" })));
3116
+ return (h("div", { class: "droparea__groups", ref: (el) => (this.groupsDropareaRef = el) }, h(FImage, { resource: "bookmark", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "book", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" })));
3094
3117
  }
3095
3118
  hideShowColumnDropArea(show, th) {
3096
3119
  if (show && th && (this.removableColumns || this.showGroups)) {
@@ -3204,11 +3227,10 @@ export class KupDataTable {
3204
3227
  text = KupLanguageFontsize.SMALL;
3205
3228
  break;
3206
3229
  }
3207
- return (h("div", { class: "customize-element fontsize-panel" },
3208
- h("kup-combobox", { isSelect: true, data: data, initialValue: this.kupManager.language.translate(text), "onkup-combobox-itemclick": (e) => {
3209
- e.stopPropagation();
3210
- this.fontsize = this.getFontSizeCodeFromDecode(e.detail.node.id);
3211
- } })));
3230
+ return (h("div", { class: "customize-element fontsize-panel" }, h("kup-combobox", { isSelect: true, data: data, initialValue: this.kupManager.language.translate(text), "onkup-combobox-itemclick": (e) => {
3231
+ e.stopPropagation();
3232
+ this.fontsize = this.getFontSizeCodeFromDecode(e.detail.node.id);
3233
+ } })));
3212
3234
  }
3213
3235
  getDensityCodeFromDecode(decode) {
3214
3236
  return this.transcodeItem(decode, this.DENSITY_DECODES, [
@@ -3239,33 +3261,30 @@ export class KupDataTable {
3239
3261
  text = KupLanguageDensity.WIDE;
3240
3262
  break;
3241
3263
  }
3242
- return (h("div", { class: "customize-element density-panel" },
3243
- h("kup-combobox", { isSelect: true, initialValue: this.kupManager.language.translate(text), selectMode: ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
3244
- e.stopPropagation();
3245
- this.density = this.getDensityCodeFromDecode(e.detail.node.id);
3246
- } })));
3264
+ return (h("div", { class: "customize-element density-panel" }, h("kup-combobox", { isSelect: true, initialValue: this.kupManager.language.translate(text), selectMode: ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
3265
+ e.stopPropagation();
3266
+ this.density = this.getDensityCodeFromDecode(e.detail.node.id);
3267
+ } })));
3247
3268
  }
3248
3269
  getGridCodeFromDecode(decode) {
3249
3270
  return this.transcodeItem(decode, this.GRID_DECODES, this.GRID_CODES);
3250
3271
  }
3251
3272
  renderTransposeSwitch() {
3252
- return (h("div", { class: "customize-element grid-panel" },
3253
- h("kup-switch", { checked: this.transpose, label: this.kupManager.language.translate(KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
3254
- e.stopPropagation();
3255
- if (e.detail.value === 'on') {
3256
- this.transpose = true;
3257
- }
3258
- else {
3259
- this.transpose = false;
3260
- }
3261
- } })));
3273
+ return (h("div", { class: "customize-element grid-panel" }, h("kup-switch", { checked: this.transpose, label: this.kupManager.language.translate(KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
3274
+ e.stopPropagation();
3275
+ if (e.detail.value === 'on') {
3276
+ this.transpose = true;
3277
+ }
3278
+ else {
3279
+ this.transpose = false;
3280
+ }
3281
+ } })));
3262
3282
  }
3263
3283
  renderTotalsMatrix() {
3264
- return (h("div", { class: "customize-element grid-panel" },
3265
- h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE) +
3266
- ' (' +
3267
- this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
3268
- ')', label: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => this.switchToTotalsMatrix() })));
3284
+ return (h("div", { class: "customize-element grid-panel" }, h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE) +
3285
+ ' (' +
3286
+ this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
3287
+ ')', label: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => this.switchToTotalsMatrix() })));
3269
3288
  }
3270
3289
  renderGridPanel() {
3271
3290
  const listItems = this.createListData(this.GRID_CODES, this.GRID_ICONS, this.showGrid);
@@ -3292,12 +3311,11 @@ export class KupDataTable {
3292
3311
  text = KupLanguageGrid.ROW;
3293
3312
  break;
3294
3313
  }
3295
- return (h("div", { class: "customize-element grid-panel" },
3296
- h("kup-combobox", { isSelect: true, initialValue: this.kupManager.language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
3297
- e.stopPropagation();
3298
- const grid = this.getGridCodeFromDecode(e.detail.value);
3299
- this.showGrid = grid;
3300
- } })));
3314
+ return (h("div", { class: "customize-element grid-panel" }, h("kup-combobox", { isSelect: true, initialValue: this.kupManager.language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
3315
+ e.stopPropagation();
3316
+ const grid = this.getGridCodeFromDecode(e.detail.value);
3317
+ this.showGrid = grid;
3318
+ } })));
3301
3319
  }
3302
3320
  render() {
3303
3321
  this.thRefs = [];
@@ -3307,8 +3325,7 @@ export class KupDataTable {
3307
3325
  this.sizedColumns = this.getSizedColumns();
3308
3326
  let rows = null;
3309
3327
  if (this.paginatedRowsLength === 0) {
3310
- rows = (h("tr", { ref: (el) => this.rowsRefs.push(el) },
3311
- h("td", { colSpan: this.calculateColspan() }, this.emptyDataLabel)));
3328
+ rows = (h("tr", { ref: (el) => this.rowsRefs.push(el) }, h("td", { colSpan: this.calculateColspan() }, this.emptyDataLabel)));
3312
3329
  }
3313
3330
  else {
3314
3331
  rows = [];
@@ -3405,56 +3422,34 @@ export class KupDataTable {
3405
3422
  if (this.headerIsPersistent &&
3406
3423
  this.tableHeight === undefined &&
3407
3424
  this.tableWidth === undefined) {
3408
- stickyEl = (h("sticky-header", { class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (this.stickyTheadRef = el) },
3409
- h("thead-sticky", null,
3410
- h("tr-sticky", null, stickyHeader))));
3425
+ stickyEl = (h("sticky-header", { class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (this.stickyTheadRef = el) }, h("thead-sticky", null, h("tr-sticky", null, stickyHeader))));
3411
3426
  }
3412
3427
  let belowClass = 'below-wrapper';
3413
3428
  if (this.tableHeight !== undefined || this.tableWidth !== undefined) {
3414
3429
  belowClass += ' custom-size';
3415
3430
  }
3416
- const compCreated = (h(Host, null,
3417
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
3418
- h("div", { id: componentWrapperId },
3419
- h("div", { class: "above-wrapper" },
3420
- this.globalFilter ? (h("div", { id: "global-filter" },
3421
- h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
3422
- const t = event.target;
3423
- window.clearTimeout(this.globalFilterTimeout);
3424
- this.globalFilterTimeout =
3425
- window.setTimeout(() => this.onGlobalFilterChange(t), 600, t);
3426
- } }))) : null,
3427
- paginatorTop),
3428
- h("div", { class: "group-wrapper" }, groupChips),
3429
- h("div", { class: "droparea", ref: (el) => (this.dropareaRef = el) },
3430
- this.showGroups ? this.columnGroupArea() : null,
3431
- this.removableColumns ? this.columnRemoveArea() : null),
3432
- h("div", { style: elStyle, class: belowClass, ref: (el) => (this.tableAreaRef = el) },
3433
- this.showCustomization
3434
- ? [
3435
- h("div", { class: "settings-trigger", onClick: () => {
3436
- this.onCustomSettingsClick();
3437
- }, ref: (el) => {
3438
- this.customizeTopButtonRef =
3439
- el;
3440
- } },
3441
- h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
3442
- this.renderCustomizePanel(),
3443
- ]
3444
- : null,
3445
- h("table", { class: tableClass, ref: (el) => (this.tableRef = el), onMouseLeave: (ev) => {
3446
- ev.stopPropagation();
3447
- }, onContextMenu: (e) => {
3448
- e.preventDefault();
3449
- } },
3450
- h("thead", { hidden: !this.showHeader, ref: (el) => (this.theadRef = el) },
3451
- h("tr", null, header)),
3452
- h("tbody", null, rows),
3453
- this.showFooter || this.hasTotals()
3454
- ? this.renderFooter()
3455
- : null),
3456
- stickyEl),
3457
- paginatorBottom)));
3431
+ const compCreated = (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: "above-wrapper" }, this.globalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
3432
+ const t = event.target;
3433
+ window.clearTimeout(this.globalFilterTimeout);
3434
+ this.globalFilterTimeout =
3435
+ window.setTimeout(() => this.onGlobalFilterChange(t), 600, t);
3436
+ } }))) : null, paginatorTop), h("div", { class: "group-wrapper" }, groupChips), h("div", { class: "droparea", ref: (el) => (this.dropareaRef = el) }, this.showGroups ? this.columnGroupArea() : null, this.removableColumns ? this.columnRemoveArea() : null), h("div", { style: elStyle, class: belowClass, ref: (el) => (this.tableAreaRef = el) }, this.showCustomization
3437
+ ? [
3438
+ h("div", { class: "settings-trigger", onClick: () => {
3439
+ this.onCustomSettingsClick();
3440
+ }, ref: (el) => {
3441
+ this.customizeTopButtonRef =
3442
+ el;
3443
+ } }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
3444
+ this.renderCustomizePanel(),
3445
+ ]
3446
+ : null, h("table", { class: tableClass, ref: (el) => (this.tableRef = el), onMouseLeave: (ev) => {
3447
+ ev.stopPropagation();
3448
+ }, onContextMenu: (e) => {
3449
+ e.preventDefault();
3450
+ } }, h("thead", { hidden: !this.showHeader, ref: (el) => (this.theadRef = el) }, h("tr", null, header)), h("tbody", null, rows), this.showFooter || this.hasTotals()
3451
+ ? this.renderFooter()
3452
+ : null), stickyEl), paginatorBottom)));
3458
3453
  return compCreated;
3459
3454
  }
3460
3455
  disconnectedCallback() {
@@ -3479,1745 +3474,1837 @@ export class KupDataTable {
3479
3474
  }
3480
3475
  static get is() { return "kup-data-table"; }
3481
3476
  static get encapsulation() { return "shadow"; }
3482
- static get originalStyleUrls() { return {
3483
- "$": ["kup-data-table.scss"]
3484
- }; }
3485
- static get styleUrls() { return {
3486
- "$": ["kup-data-table.css"]
3487
- }; }
3488
- static get properties() { return {
3489
- "stateId": {
3490
- "type": "string",
3491
- "mutable": false,
3492
- "complexType": {
3493
- "original": "string",
3494
- "resolved": "string",
3495
- "references": {}
3496
- },
3497
- "required": false,
3498
- "optional": false,
3499
- "docs": {
3500
- "tags": [],
3501
- "text": ""
3502
- },
3503
- "attribute": "state-id",
3504
- "reflect": false,
3505
- "defaultValue": "''"
3506
- },
3507
- "store": {
3508
- "type": "unknown",
3509
- "mutable": false,
3510
- "complexType": {
3511
- "original": "KupStore",
3512
- "resolved": "KupStore",
3513
- "references": {
3514
- "KupStore": {
3515
- "location": "import",
3516
- "path": "../kup-state/kup-store"
3477
+ static get originalStyleUrls() {
3478
+ return {
3479
+ "$": ["kup-data-table.scss"]
3480
+ };
3481
+ }
3482
+ static get styleUrls() {
3483
+ return {
3484
+ "$": ["kup-data-table.css"]
3485
+ };
3486
+ }
3487
+ static get properties() {
3488
+ return {
3489
+ "stateId": {
3490
+ "type": "string",
3491
+ "mutable": false,
3492
+ "complexType": {
3493
+ "original": "string",
3494
+ "resolved": "string",
3495
+ "references": {}
3496
+ },
3497
+ "required": false,
3498
+ "optional": false,
3499
+ "docs": {
3500
+ "tags": [],
3501
+ "text": ""
3502
+ },
3503
+ "attribute": "state-id",
3504
+ "reflect": false,
3505
+ "defaultValue": "''"
3506
+ },
3507
+ "store": {
3508
+ "type": "unknown",
3509
+ "mutable": false,
3510
+ "complexType": {
3511
+ "original": "KupStore",
3512
+ "resolved": "KupStore",
3513
+ "references": {
3514
+ "KupStore": {
3515
+ "location": "import",
3516
+ "path": "../kup-state/kup-store"
3517
+ }
3517
3518
  }
3519
+ },
3520
+ "required": false,
3521
+ "optional": false,
3522
+ "docs": {
3523
+ "tags": [],
3524
+ "text": ""
3518
3525
  }
3519
3526
  },
3520
- "required": false,
3521
- "optional": false,
3522
- "docs": {
3523
- "tags": [],
3524
- "text": ""
3525
- }
3526
- },
3527
- "autoFillMissingCells": {
3528
- "type": "boolean",
3529
- "mutable": false,
3530
- "complexType": {
3531
- "original": "boolean",
3532
- "resolved": "boolean",
3533
- "references": {}
3534
- },
3535
- "required": false,
3536
- "optional": false,
3537
- "docs": {
3538
- "tags": [{
3539
- "name": "default",
3540
- "text": "false"
3541
- }],
3542
- "text": "When true and when a row is missing some columns, the missing cells will be autogenerated."
3543
- },
3544
- "attribute": "auto-fill-missing-cells",
3545
- "reflect": false,
3546
- "defaultValue": "false"
3547
- },
3548
- "customStyle": {
3549
- "type": "string",
3550
- "mutable": false,
3551
- "complexType": {
3552
- "original": "string",
3553
- "resolved": "string",
3554
- "references": {}
3555
- },
3556
- "required": false,
3557
- "optional": false,
3558
- "docs": {
3559
- "tags": [],
3560
- "text": "Custom style of the component. For more information: https://ketchup.smeup.com/ketchup-showcase/#/customization"
3561
- },
3562
- "attribute": "custom-style",
3563
- "reflect": false,
3564
- "defaultValue": "''"
3565
- },
3566
- "data": {
3567
- "type": "unknown",
3568
- "mutable": true,
3569
- "complexType": {
3570
- "original": "KupDataTableDataset",
3571
- "resolved": "KupDataTableDataset",
3572
- "references": {
3573
- "KupDataTableDataset": {
3574
- "location": "import",
3575
- "path": "./kup-data-table-declarations"
3527
+ "autoFillMissingCells": {
3528
+ "type": "boolean",
3529
+ "mutable": false,
3530
+ "complexType": {
3531
+ "original": "boolean",
3532
+ "resolved": "boolean",
3533
+ "references": {}
3534
+ },
3535
+ "required": false,
3536
+ "optional": false,
3537
+ "docs": {
3538
+ "tags": [{
3539
+ "name": "default",
3540
+ "text": "false"
3541
+ }],
3542
+ "text": "When true and when a row is missing some columns, the missing cells will be autogenerated."
3543
+ },
3544
+ "attribute": "auto-fill-missing-cells",
3545
+ "reflect": false,
3546
+ "defaultValue": "false"
3547
+ },
3548
+ "customStyle": {
3549
+ "type": "string",
3550
+ "mutable": false,
3551
+ "complexType": {
3552
+ "original": "string",
3553
+ "resolved": "string",
3554
+ "references": {}
3555
+ },
3556
+ "required": false,
3557
+ "optional": false,
3558
+ "docs": {
3559
+ "tags": [],
3560
+ "text": "Custom style of the component. For more information: https://ketchup.smeup.com/ketchup-showcase/#/customization"
3561
+ },
3562
+ "attribute": "custom-style",
3563
+ "reflect": false,
3564
+ "defaultValue": "''"
3565
+ },
3566
+ "data": {
3567
+ "type": "unknown",
3568
+ "mutable": true,
3569
+ "complexType": {
3570
+ "original": "KupDataTableDataset",
3571
+ "resolved": "KupDataTableDataset",
3572
+ "references": {
3573
+ "KupDataTableDataset": {
3574
+ "location": "import",
3575
+ "path": "./kup-data-table-declarations"
3576
+ }
3576
3577
  }
3578
+ },
3579
+ "required": false,
3580
+ "optional": false,
3581
+ "docs": {
3582
+ "tags": [],
3583
+ "text": "The data of the table."
3577
3584
  }
3578
3585
  },
3579
- "required": false,
3580
- "optional": false,
3581
- "docs": {
3582
- "tags": [],
3583
- "text": "The data of the table."
3584
- }
3585
- },
3586
- "density": {
3587
- "type": "string",
3588
- "mutable": false,
3589
- "complexType": {
3590
- "original": "FCellPadding",
3591
- "resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
3592
- "references": {
3593
- "FCellPadding": {
3594
- "location": "import",
3595
- "path": "../../f-components/f-cell/f-cell-declarations"
3586
+ "density": {
3587
+ "type": "string",
3588
+ "mutable": false,
3589
+ "complexType": {
3590
+ "original": "FCellPadding",
3591
+ "resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
3592
+ "references": {
3593
+ "FCellPadding": {
3594
+ "location": "import",
3595
+ "path": "../../f-components/f-cell/f-cell-declarations"
3596
+ }
3596
3597
  }
3597
- }
3598
- },
3599
- "required": false,
3600
- "optional": false,
3601
- "docs": {
3602
- "tags": [],
3603
- "text": "The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'."
3604
- },
3605
- "attribute": "density",
3606
- "reflect": false,
3607
- "defaultValue": "FCellPadding.DENSE"
3608
- },
3609
- "dragEnabled": {
3610
- "type": "boolean",
3611
- "mutable": true,
3612
- "complexType": {
3613
- "original": "boolean",
3614
- "resolved": "boolean",
3615
- "references": {}
3616
- },
3617
- "required": false,
3618
- "optional": false,
3619
- "docs": {
3620
- "tags": [],
3621
- "text": "Enables drag."
3622
- },
3623
- "attribute": "drag-enabled",
3624
- "reflect": true,
3625
- "defaultValue": "false"
3626
- },
3627
- "dropEnabled": {
3628
- "type": "boolean",
3629
- "mutable": false,
3630
- "complexType": {
3631
- "original": "boolean",
3632
- "resolved": "boolean",
3633
- "references": {}
3634
- },
3635
- "required": false,
3636
- "optional": false,
3637
- "docs": {
3638
- "tags": [],
3639
- "text": "Enables drop."
3640
- },
3641
- "attribute": "drop-enabled",
3642
- "reflect": true,
3643
- "defaultValue": "false"
3644
- },
3645
- "editableData": {
3646
- "type": "boolean",
3647
- "mutable": true,
3648
- "complexType": {
3649
- "original": "boolean",
3650
- "resolved": "boolean",
3651
- "references": {}
3652
- },
3653
- "required": false,
3654
- "optional": false,
3655
- "docs": {
3656
- "tags": [{
3657
- "name": "default",
3658
- "text": "false"
3659
- }],
3660
- "text": "When set to true, editable cells will be rendered using input components."
3661
- },
3662
- "attribute": "editable-data",
3663
- "reflect": false,
3664
- "defaultValue": "false"
3665
- },
3666
- "emptyDataLabel": {
3667
- "type": "string",
3668
- "mutable": true,
3669
- "complexType": {
3670
- "original": "string",
3671
- "resolved": "string",
3672
- "references": {}
3673
- },
3674
- "required": false,
3675
- "optional": false,
3676
- "docs": {
3677
- "tags": [],
3678
- "text": "Defines the label to show when the table is empty."
3679
- },
3680
- "attribute": "empty-data-label",
3681
- "reflect": false,
3682
- "defaultValue": "null"
3683
- },
3684
- "enableColumnsFormula": {
3685
- "type": "boolean",
3686
- "mutable": false,
3687
- "complexType": {
3688
- "original": "boolean",
3689
- "resolved": "boolean",
3690
- "references": {}
3691
- },
3692
- "required": false,
3693
- "optional": false,
3694
- "docs": {
3695
- "tags": [{
3696
- "name": "default",
3697
- "text": "true"
3698
- }],
3699
- "text": "Enables the choice to set formulas on columns by dragging them into different columns."
3700
- },
3701
- "attribute": "enable-columns-formula",
3702
- "reflect": false,
3703
- "defaultValue": "true"
3704
- },
3705
- "enableExtraColumns": {
3706
- "type": "boolean",
3707
- "mutable": false,
3708
- "complexType": {
3709
- "original": "boolean",
3710
- "resolved": "boolean",
3711
- "references": {}
3712
- },
3713
- "required": false,
3714
- "optional": false,
3715
- "docs": {
3716
- "tags": [],
3717
- "text": "Enables the extracolumns add buttons."
3718
- },
3719
- "attribute": "enable-extra-columns",
3720
- "reflect": false,
3721
- "defaultValue": "true"
3722
- },
3723
- "enableMergeColumns": {
3724
- "type": "boolean",
3725
- "mutable": false,
3726
- "complexType": {
3727
- "original": "boolean",
3728
- "resolved": "boolean",
3729
- "references": {}
3730
- },
3731
- "required": false,
3732
- "optional": false,
3733
- "docs": {
3734
- "tags": [{
3735
- "name": "default",
3736
- "text": "true"
3737
- }],
3738
- "text": "Enables the merging of columns by dragging them into different columns."
3739
- },
3740
- "attribute": "enable-merge-columns",
3741
- "reflect": false,
3742
- "defaultValue": "true"
3743
- },
3744
- "enableSortableColumns": {
3745
- "type": "boolean",
3746
- "mutable": false,
3747
- "complexType": {
3748
- "original": "boolean",
3749
- "resolved": "boolean",
3750
- "references": {}
3751
- },
3752
- "required": false,
3753
- "optional": false,
3754
- "docs": {
3755
- "tags": [],
3756
- "text": "Enables the sorting of columns by dragging them into different columns."
3757
- },
3758
- "attribute": "enable-sortable-columns",
3759
- "reflect": false,
3760
- "defaultValue": "true"
3761
- },
3762
- "expandGroups": {
3763
- "type": "boolean",
3764
- "mutable": false,
3765
- "complexType": {
3766
- "original": "boolean",
3767
- "resolved": "boolean",
3768
- "references": {}
3769
- },
3770
- "required": false,
3771
- "optional": false,
3772
- "docs": {
3773
- "tags": [],
3774
- "text": "Expands groups when set to true."
3775
- },
3776
- "attribute": "expand-groups",
3777
- "reflect": false,
3778
- "defaultValue": "false"
3779
- },
3780
- "filters": {
3781
- "type": "unknown",
3782
- "mutable": true,
3783
- "complexType": {
3784
- "original": "GenericFilter",
3785
- "resolved": "GenericFilter",
3786
- "references": {
3787
- "GenericFilter": {
3788
- "location": "import",
3789
- "path": "../../utils/filters/filters-declarations"
3598
+ },
3599
+ "required": false,
3600
+ "optional": false,
3601
+ "docs": {
3602
+ "tags": [],
3603
+ "text": "The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'."
3604
+ },
3605
+ "attribute": "density",
3606
+ "reflect": false,
3607
+ "defaultValue": "FCellPadding.DENSE"
3608
+ },
3609
+ "dragEnabled": {
3610
+ "type": "boolean",
3611
+ "mutable": true,
3612
+ "complexType": {
3613
+ "original": "boolean",
3614
+ "resolved": "boolean",
3615
+ "references": {}
3616
+ },
3617
+ "required": false,
3618
+ "optional": false,
3619
+ "docs": {
3620
+ "tags": [],
3621
+ "text": "Enables drag."
3622
+ },
3623
+ "attribute": "drag-enabled",
3624
+ "reflect": true,
3625
+ "defaultValue": "false"
3626
+ },
3627
+ "dropEnabled": {
3628
+ "type": "boolean",
3629
+ "mutable": false,
3630
+ "complexType": {
3631
+ "original": "boolean",
3632
+ "resolved": "boolean",
3633
+ "references": {}
3634
+ },
3635
+ "required": false,
3636
+ "optional": false,
3637
+ "docs": {
3638
+ "tags": [],
3639
+ "text": "Enables drop."
3640
+ },
3641
+ "attribute": "drop-enabled",
3642
+ "reflect": true,
3643
+ "defaultValue": "false"
3644
+ },
3645
+ "editableData": {
3646
+ "type": "boolean",
3647
+ "mutable": true,
3648
+ "complexType": {
3649
+ "original": "boolean",
3650
+ "resolved": "boolean",
3651
+ "references": {}
3652
+ },
3653
+ "required": false,
3654
+ "optional": false,
3655
+ "docs": {
3656
+ "tags": [{
3657
+ "name": "default",
3658
+ "text": "false"
3659
+ }],
3660
+ "text": "When set to true, editable cells will be rendered using input components."
3661
+ },
3662
+ "attribute": "editable-data",
3663
+ "reflect": false,
3664
+ "defaultValue": "false"
3665
+ },
3666
+ "emptyDataLabel": {
3667
+ "type": "string",
3668
+ "mutable": true,
3669
+ "complexType": {
3670
+ "original": "string",
3671
+ "resolved": "string",
3672
+ "references": {}
3673
+ },
3674
+ "required": false,
3675
+ "optional": false,
3676
+ "docs": {
3677
+ "tags": [],
3678
+ "text": "Defines the label to show when the table is empty."
3679
+ },
3680
+ "attribute": "empty-data-label",
3681
+ "reflect": false,
3682
+ "defaultValue": "null"
3683
+ },
3684
+ "enableColumnsFormula": {
3685
+ "type": "boolean",
3686
+ "mutable": false,
3687
+ "complexType": {
3688
+ "original": "boolean",
3689
+ "resolved": "boolean",
3690
+ "references": {}
3691
+ },
3692
+ "required": false,
3693
+ "optional": false,
3694
+ "docs": {
3695
+ "tags": [{
3696
+ "name": "default",
3697
+ "text": "true"
3698
+ }],
3699
+ "text": "Enables the choice to set formulas on columns by dragging them into different columns."
3700
+ },
3701
+ "attribute": "enable-columns-formula",
3702
+ "reflect": false,
3703
+ "defaultValue": "true"
3704
+ },
3705
+ "enableExtraColumns": {
3706
+ "type": "boolean",
3707
+ "mutable": false,
3708
+ "complexType": {
3709
+ "original": "boolean",
3710
+ "resolved": "boolean",
3711
+ "references": {}
3712
+ },
3713
+ "required": false,
3714
+ "optional": false,
3715
+ "docs": {
3716
+ "tags": [],
3717
+ "text": "Enables the extracolumns add buttons."
3718
+ },
3719
+ "attribute": "enable-extra-columns",
3720
+ "reflect": false,
3721
+ "defaultValue": "true"
3722
+ },
3723
+ "enableMergeColumns": {
3724
+ "type": "boolean",
3725
+ "mutable": false,
3726
+ "complexType": {
3727
+ "original": "boolean",
3728
+ "resolved": "boolean",
3729
+ "references": {}
3730
+ },
3731
+ "required": false,
3732
+ "optional": false,
3733
+ "docs": {
3734
+ "tags": [{
3735
+ "name": "default",
3736
+ "text": "true"
3737
+ }],
3738
+ "text": "Enables the merging of columns by dragging them into different columns."
3739
+ },
3740
+ "attribute": "enable-merge-columns",
3741
+ "reflect": false,
3742
+ "defaultValue": "true"
3743
+ },
3744
+ "enableSortableColumns": {
3745
+ "type": "boolean",
3746
+ "mutable": false,
3747
+ "complexType": {
3748
+ "original": "boolean",
3749
+ "resolved": "boolean",
3750
+ "references": {}
3751
+ },
3752
+ "required": false,
3753
+ "optional": false,
3754
+ "docs": {
3755
+ "tags": [],
3756
+ "text": "Enables the sorting of columns by dragging them into different columns."
3757
+ },
3758
+ "attribute": "enable-sortable-columns",
3759
+ "reflect": false,
3760
+ "defaultValue": "true"
3761
+ },
3762
+ "expandGroups": {
3763
+ "type": "boolean",
3764
+ "mutable": false,
3765
+ "complexType": {
3766
+ "original": "boolean",
3767
+ "resolved": "boolean",
3768
+ "references": {}
3769
+ },
3770
+ "required": false,
3771
+ "optional": false,
3772
+ "docs": {
3773
+ "tags": [],
3774
+ "text": "Expands groups when set to true."
3775
+ },
3776
+ "attribute": "expand-groups",
3777
+ "reflect": false,
3778
+ "defaultValue": "false"
3779
+ },
3780
+ "filters": {
3781
+ "type": "unknown",
3782
+ "mutable": true,
3783
+ "complexType": {
3784
+ "original": "GenericFilter",
3785
+ "resolved": "GenericFilter",
3786
+ "references": {
3787
+ "GenericFilter": {
3788
+ "location": "import",
3789
+ "path": "../../utils/filters/filters-declarations"
3790
+ }
3790
3791
  }
3791
- }
3792
- },
3793
- "required": false,
3794
- "optional": false,
3795
- "docs": {
3796
- "tags": [],
3797
- "text": "List of filters set by the user."
3798
- },
3799
- "defaultValue": "{}"
3800
- },
3801
- "fixedColumns": {
3802
- "type": "number",
3803
- "mutable": false,
3804
- "complexType": {
3805
- "original": "number",
3806
- "resolved": "number",
3807
- "references": {}
3808
- },
3809
- "required": false,
3810
- "optional": false,
3811
- "docs": {
3812
- "tags": [{
3813
- "name": "see",
3814
- "text": "fixedRows"
3815
- }],
3816
- "text": "Fixes the given number of columns so that they stay visible when horizontally scrolling the data-table.\r\nIf grouping is active or the value of the prop is <= 0, this prop will have no effect.\r\nCan be combined with fixedRows."
3817
- },
3818
- "attribute": "fixed-columns",
3819
- "reflect": false,
3820
- "defaultValue": "0"
3821
- },
3822
- "fixedRows": {
3823
- "type": "number",
3824
- "mutable": false,
3825
- "complexType": {
3826
- "original": "number",
3827
- "resolved": "number",
3828
- "references": {}
3829
- },
3830
- "required": false,
3831
- "optional": false,
3832
- "docs": {
3833
- "tags": [{
3834
- "name": "see",
3835
- "text": "fixedColumns"
3836
- }],
3837
- "text": "Fixes the given number of rows so that they stay visible when vertically scrolling the data-table.\r\nIf grouping is active or the value of the prop is <= 0, this prop will have no effect.\r\nCan be combined with fixedColumns."
3838
- },
3839
- "attribute": "fixed-rows",
3840
- "reflect": false,
3841
- "defaultValue": "0"
3842
- },
3843
- "forceOneLine": {
3844
- "type": "boolean",
3845
- "mutable": false,
3846
- "complexType": {
3847
- "original": "boolean",
3848
- "resolved": "boolean",
3849
- "references": {}
3850
- },
3851
- "required": false,
3852
- "optional": false,
3853
- "docs": {
3854
- "tags": [],
3855
- "text": "Forces cells with long text and a fixed column size to have an ellipsis set on their text.\r\nThe reflect attribute is mandatory to allow styling."
3856
- },
3857
- "attribute": "force-one-line",
3858
- "reflect": true,
3859
- "defaultValue": "false"
3860
- },
3861
- "globalFilter": {
3862
- "type": "boolean",
3863
- "mutable": false,
3864
- "complexType": {
3865
- "original": "boolean",
3866
- "resolved": "boolean",
3867
- "references": {}
3868
- },
3869
- "required": false,
3870
- "optional": false,
3871
- "docs": {
3872
- "tags": [],
3873
- "text": "When set to true it activates the global filter."
3874
- },
3875
- "attribute": "global-filter",
3876
- "reflect": false,
3877
- "defaultValue": "false"
3878
- },
3879
- "globalFilterValue": {
3880
- "type": "string",
3881
- "mutable": true,
3882
- "complexType": {
3883
- "original": "string",
3884
- "resolved": "string",
3885
- "references": {}
3886
- },
3887
- "required": false,
3888
- "optional": false,
3889
- "docs": {
3890
- "tags": [],
3891
- "text": "The value of the global filter."
3892
- },
3893
- "attribute": "global-filter-value",
3894
- "reflect": true,
3895
- "defaultValue": "''"
3896
- },
3897
- "groupLabelDisplay": {
3898
- "type": "string",
3899
- "mutable": false,
3900
- "complexType": {
3901
- "original": "GroupLabelDisplayMode",
3902
- "resolved": "GroupLabelDisplayMode.BOTH | GroupLabelDisplayMode.LABEL | GroupLabelDisplayMode.VALUE",
3903
- "references": {
3904
- "GroupLabelDisplayMode": {
3905
- "location": "import",
3906
- "path": "./kup-data-table-declarations"
3792
+ },
3793
+ "required": false,
3794
+ "optional": false,
3795
+ "docs": {
3796
+ "tags": [],
3797
+ "text": "List of filters set by the user."
3798
+ },
3799
+ "defaultValue": "{}"
3800
+ },
3801
+ "fixedColumns": {
3802
+ "type": "number",
3803
+ "mutable": false,
3804
+ "complexType": {
3805
+ "original": "number",
3806
+ "resolved": "number",
3807
+ "references": {}
3808
+ },
3809
+ "required": false,
3810
+ "optional": false,
3811
+ "docs": {
3812
+ "tags": [{
3813
+ "name": "see",
3814
+ "text": "fixedRows"
3815
+ }],
3816
+ "text": "Fixes the given number of columns so that they stay visible when horizontally scrolling the data-table.\r\nIf grouping is active or the value of the prop is <= 0, this prop will have no effect.\r\nCan be combined with fixedRows."
3817
+ },
3818
+ "attribute": "fixed-columns",
3819
+ "reflect": false,
3820
+ "defaultValue": "0"
3821
+ },
3822
+ "fixedRows": {
3823
+ "type": "number",
3824
+ "mutable": false,
3825
+ "complexType": {
3826
+ "original": "number",
3827
+ "resolved": "number",
3828
+ "references": {}
3829
+ },
3830
+ "required": false,
3831
+ "optional": false,
3832
+ "docs": {
3833
+ "tags": [{
3834
+ "name": "see",
3835
+ "text": "fixedColumns"
3836
+ }],
3837
+ "text": "Fixes the given number of rows so that they stay visible when vertically scrolling the data-table.\r\nIf grouping is active or the value of the prop is <= 0, this prop will have no effect.\r\nCan be combined with fixedColumns."
3838
+ },
3839
+ "attribute": "fixed-rows",
3840
+ "reflect": false,
3841
+ "defaultValue": "0"
3842
+ },
3843
+ "forceOneLine": {
3844
+ "type": "boolean",
3845
+ "mutable": false,
3846
+ "complexType": {
3847
+ "original": "boolean",
3848
+ "resolved": "boolean",
3849
+ "references": {}
3850
+ },
3851
+ "required": false,
3852
+ "optional": false,
3853
+ "docs": {
3854
+ "tags": [],
3855
+ "text": "Forces cells with long text and a fixed column size to have an ellipsis set on their text.\r\nThe reflect attribute is mandatory to allow styling."
3856
+ },
3857
+ "attribute": "force-one-line",
3858
+ "reflect": true,
3859
+ "defaultValue": "false"
3860
+ },
3861
+ "globalFilter": {
3862
+ "type": "boolean",
3863
+ "mutable": false,
3864
+ "complexType": {
3865
+ "original": "boolean",
3866
+ "resolved": "boolean",
3867
+ "references": {}
3868
+ },
3869
+ "required": false,
3870
+ "optional": false,
3871
+ "docs": {
3872
+ "tags": [],
3873
+ "text": "When set to true it activates the global filter."
3874
+ },
3875
+ "attribute": "global-filter",
3876
+ "reflect": false,
3877
+ "defaultValue": "false"
3878
+ },
3879
+ "globalFilterValue": {
3880
+ "type": "string",
3881
+ "mutable": true,
3882
+ "complexType": {
3883
+ "original": "string",
3884
+ "resolved": "string",
3885
+ "references": {}
3886
+ },
3887
+ "required": false,
3888
+ "optional": false,
3889
+ "docs": {
3890
+ "tags": [],
3891
+ "text": "The value of the global filter."
3892
+ },
3893
+ "attribute": "global-filter-value",
3894
+ "reflect": true,
3895
+ "defaultValue": "''"
3896
+ },
3897
+ "groupLabelDisplay": {
3898
+ "type": "string",
3899
+ "mutable": false,
3900
+ "complexType": {
3901
+ "original": "GroupLabelDisplayMode",
3902
+ "resolved": "GroupLabelDisplayMode.BOTH | GroupLabelDisplayMode.LABEL | GroupLabelDisplayMode.VALUE",
3903
+ "references": {
3904
+ "GroupLabelDisplayMode": {
3905
+ "location": "import",
3906
+ "path": "./kup-data-table-declarations"
3907
+ }
3907
3908
  }
3908
- }
3909
- },
3910
- "required": false,
3911
- "optional": false,
3912
- "docs": {
3913
- "tags": [],
3914
- "text": "How the label of a group must be displayed.\r\nFor available values [see here]{@link GroupLabelDisplayMode}"
3915
- },
3916
- "attribute": "group-label-display",
3917
- "reflect": false,
3918
- "defaultValue": "GroupLabelDisplayMode.BOTH"
3919
- },
3920
- "groups": {
3921
- "type": "unknown",
3922
- "mutable": true,
3923
- "complexType": {
3924
- "original": "Array<GroupObject>",
3925
- "resolved": "GroupObject[]",
3926
- "references": {
3927
- "Array": {
3928
- "location": "global"
3929
- },
3930
- "GroupObject": {
3931
- "location": "import",
3932
- "path": "./kup-data-table-declarations"
3909
+ },
3910
+ "required": false,
3911
+ "optional": false,
3912
+ "docs": {
3913
+ "tags": [],
3914
+ "text": "How the label of a group must be displayed.\r\nFor available values [see here]{@link GroupLabelDisplayMode}"
3915
+ },
3916
+ "attribute": "group-label-display",
3917
+ "reflect": false,
3918
+ "defaultValue": "GroupLabelDisplayMode.BOTH"
3919
+ },
3920
+ "groups": {
3921
+ "type": "unknown",
3922
+ "mutable": true,
3923
+ "complexType": {
3924
+ "original": "Array<GroupObject>",
3925
+ "resolved": "GroupObject[]",
3926
+ "references": {
3927
+ "Array": {
3928
+ "location": "global"
3929
+ },
3930
+ "GroupObject": {
3931
+ "location": "import",
3932
+ "path": "./kup-data-table-declarations"
3933
+ }
3933
3934
  }
3934
- }
3935
- },
3936
- "required": false,
3937
- "optional": false,
3938
- "docs": {
3939
- "tags": [],
3940
- "text": "The list of groups."
3941
- },
3942
- "defaultValue": "[]"
3943
- },
3944
- "headerIsPersistent": {
3945
- "type": "boolean",
3946
- "mutable": false,
3947
- "complexType": {
3948
- "original": "boolean",
3949
- "resolved": "boolean",
3950
- "references": {}
3951
- },
3952
- "required": false,
3953
- "optional": false,
3954
- "docs": {
3955
- "tags": [],
3956
- "text": "When set to true the header will stick on top of the table when scrolling."
3957
- },
3958
- "attribute": "header-is-persistent",
3959
- "reflect": false,
3960
- "defaultValue": "true"
3961
- },
3962
- "isFocusable": {
3963
- "type": "boolean",
3964
- "mutable": false,
3965
- "complexType": {
3966
- "original": "boolean",
3967
- "resolved": "boolean",
3968
- "references": {}
3969
- },
3970
- "required": false,
3971
- "optional": false,
3972
- "docs": {
3973
- "tags": [{
3974
- "name": "default",
3975
- "text": "false"
3976
- }],
3977
- "text": "When set to true, clicked-on rows will have a visual feedback."
3978
- },
3979
- "attribute": "is-focusable",
3980
- "reflect": false,
3981
- "defaultValue": "false"
3982
- },
3983
- "lazyLoadRows": {
3984
- "type": "boolean",
3985
- "mutable": false,
3986
- "complexType": {
3987
- "original": "boolean",
3988
- "resolved": "boolean",
3989
- "references": {}
3990
- },
3991
- "required": false,
3992
- "optional": false,
3993
- "docs": {
3994
- "tags": [],
3995
- "text": "When set to true, extra rows will be automatically loaded once the last row enters the viewport. When groups are present, the number of rows is referred to groups and not to their content. Paginator is disabled."
3996
- },
3997
- "attribute": "lazy-load-rows",
3998
- "reflect": false,
3999
- "defaultValue": "false"
4000
- },
4001
- "lineBreakCharacter": {
4002
- "type": "string",
4003
- "mutable": false,
4004
- "complexType": {
4005
- "original": "string",
4006
- "resolved": "string",
4007
- "references": {}
4008
- },
4009
- "required": false,
4010
- "optional": false,
4011
- "docs": {
4012
- "tags": [],
4013
- "text": "Defines the placeholder character which will be replaced by a line break inside table header cells, normal or sticky."
4014
- },
4015
- "attribute": "line-break-character",
4016
- "reflect": false,
4017
- "defaultValue": "'\\n'"
4018
- },
4019
- "loadMoreLimit": {
4020
- "type": "number",
4021
- "mutable": false,
4022
- "complexType": {
4023
- "original": "number",
4024
- "resolved": "number",
4025
- "references": {}
4026
- },
4027
- "required": false,
4028
- "optional": false,
4029
- "docs": {
4030
- "tags": [],
4031
- "text": "Sets a maximum limit of new records which can be required by the load more functionality."
4032
- },
4033
- "attribute": "load-more-limit",
4034
- "reflect": false,
4035
- "defaultValue": "1000"
4036
- },
4037
- "loadMoreMode": {
4038
- "type": "string",
4039
- "mutable": false,
4040
- "complexType": {
4041
- "original": "LoadMoreMode",
4042
- "resolved": "LoadMoreMode.CONSTANT | LoadMoreMode.CONSTANT_INCREMENT | LoadMoreMode.PROGRESSIVE_THRESHOLD",
4043
- "references": {
4044
- "LoadMoreMode": {
4045
- "location": "import",
4046
- "path": "./kup-data-table-declarations"
3935
+ },
3936
+ "required": false,
3937
+ "optional": false,
3938
+ "docs": {
3939
+ "tags": [],
3940
+ "text": "The list of groups."
3941
+ },
3942
+ "defaultValue": "[]"
3943
+ },
3944
+ "headerIsPersistent": {
3945
+ "type": "boolean",
3946
+ "mutable": false,
3947
+ "complexType": {
3948
+ "original": "boolean",
3949
+ "resolved": "boolean",
3950
+ "references": {}
3951
+ },
3952
+ "required": false,
3953
+ "optional": false,
3954
+ "docs": {
3955
+ "tags": [],
3956
+ "text": "When set to true the header will stick on top of the table when scrolling."
3957
+ },
3958
+ "attribute": "header-is-persistent",
3959
+ "reflect": false,
3960
+ "defaultValue": "true"
3961
+ },
3962
+ "isFocusable": {
3963
+ "type": "boolean",
3964
+ "mutable": false,
3965
+ "complexType": {
3966
+ "original": "boolean",
3967
+ "resolved": "boolean",
3968
+ "references": {}
3969
+ },
3970
+ "required": false,
3971
+ "optional": false,
3972
+ "docs": {
3973
+ "tags": [{
3974
+ "name": "default",
3975
+ "text": "false"
3976
+ }],
3977
+ "text": "When set to true, clicked-on rows will have a visual feedback."
3978
+ },
3979
+ "attribute": "is-focusable",
3980
+ "reflect": false,
3981
+ "defaultValue": "false"
3982
+ },
3983
+ "lazyLoadRows": {
3984
+ "type": "boolean",
3985
+ "mutable": false,
3986
+ "complexType": {
3987
+ "original": "boolean",
3988
+ "resolved": "boolean",
3989
+ "references": {}
3990
+ },
3991
+ "required": false,
3992
+ "optional": false,
3993
+ "docs": {
3994
+ "tags": [],
3995
+ "text": "When set to true, extra rows will be automatically loaded once the last row enters the viewport. When groups are present, the number of rows is referred to groups and not to their content. Paginator is disabled."
3996
+ },
3997
+ "attribute": "lazy-load-rows",
3998
+ "reflect": false,
3999
+ "defaultValue": "false"
4000
+ },
4001
+ "lineBreakCharacter": {
4002
+ "type": "string",
4003
+ "mutable": false,
4004
+ "complexType": {
4005
+ "original": "string",
4006
+ "resolved": "string",
4007
+ "references": {}
4008
+ },
4009
+ "required": false,
4010
+ "optional": false,
4011
+ "docs": {
4012
+ "tags": [],
4013
+ "text": "Defines the placeholder character which will be replaced by a line break inside table header cells, normal or sticky."
4014
+ },
4015
+ "attribute": "line-break-character",
4016
+ "reflect": false,
4017
+ "defaultValue": "'\\n'"
4018
+ },
4019
+ "loadMoreLimit": {
4020
+ "type": "number",
4021
+ "mutable": false,
4022
+ "complexType": {
4023
+ "original": "number",
4024
+ "resolved": "number",
4025
+ "references": {}
4026
+ },
4027
+ "required": false,
4028
+ "optional": false,
4029
+ "docs": {
4030
+ "tags": [],
4031
+ "text": "Sets a maximum limit of new records which can be required by the load more functionality."
4032
+ },
4033
+ "attribute": "load-more-limit",
4034
+ "reflect": false,
4035
+ "defaultValue": "1000"
4036
+ },
4037
+ "loadMoreMode": {
4038
+ "type": "string",
4039
+ "mutable": false,
4040
+ "complexType": {
4041
+ "original": "LoadMoreMode",
4042
+ "resolved": "LoadMoreMode.CONSTANT | LoadMoreMode.CONSTANT_INCREMENT | LoadMoreMode.PROGRESSIVE_THRESHOLD",
4043
+ "references": {
4044
+ "LoadMoreMode": {
4045
+ "location": "import",
4046
+ "path": "./kup-data-table-declarations"
4047
+ }
4047
4048
  }
4048
- }
4049
- },
4050
- "required": false,
4051
- "optional": false,
4052
- "docs": {
4053
- "tags": [{
4054
- "name": "see",
4055
- "text": "loadMoreStep *"
4056
- }, {
4057
- "name": "see",
4058
- "text": "loadMoreLimit"
4059
- }],
4060
- "text": "Establish the modality of how many new records will be downloaded.\r\n\r\nThis property is regulated also by loadMoreStep."
4061
- },
4062
- "attribute": "load-more-mode",
4063
- "reflect": false,
4064
- "defaultValue": "LoadMoreMode.PROGRESSIVE_THRESHOLD"
4065
- },
4066
- "loadMoreStep": {
4067
- "type": "number",
4068
- "mutable": false,
4069
- "complexType": {
4070
- "original": "number",
4071
- "resolved": "number",
4072
- "references": {}
4073
- },
4074
- "required": false,
4075
- "optional": false,
4076
- "docs": {
4077
- "tags": [{
4078
- "name": "see",
4079
- "text": "loadMoreMode *"
4080
- }, {
4081
- "name": "see",
4082
- "text": "loadMoreLimit"
4083
- }],
4084
- "text": "The number of records which will be requested to be downloaded when clicking on the load more button.\r\n\r\nThis property is regulated also by loadMoreMode."
4085
- },
4086
- "attribute": "load-more-step",
4087
- "reflect": false,
4088
- "defaultValue": "60"
4089
- },
4090
- "pageSelected": {
4091
- "type": "number",
4092
- "mutable": false,
4093
- "complexType": {
4094
- "original": "number",
4095
- "resolved": "number",
4096
- "references": {}
4097
- },
4098
- "required": false,
4099
- "optional": false,
4100
- "docs": {
4101
- "tags": [],
4102
- "text": "Current selected page set on component load"
4103
- },
4104
- "attribute": "page-selected",
4105
- "reflect": false,
4106
- "defaultValue": "-1"
4107
- },
4108
- "paginatorPos": {
4109
- "type": "string",
4110
- "mutable": false,
4111
- "complexType": {
4112
- "original": "PaginatorPos",
4113
- "resolved": "PaginatorPos.BOTH | PaginatorPos.BOTTOM | PaginatorPos.TOP",
4114
- "references": {
4115
- "PaginatorPos": {
4116
- "location": "import",
4117
- "path": "./kup-data-table-declarations"
4049
+ },
4050
+ "required": false,
4051
+ "optional": false,
4052
+ "docs": {
4053
+ "tags": [{
4054
+ "name": "see",
4055
+ "text": "loadMoreStep *"
4056
+ }, {
4057
+ "name": "see",
4058
+ "text": "loadMoreLimit"
4059
+ }],
4060
+ "text": "Establish the modality of how many new records will be downloaded.\r\n\r\nThis property is regulated also by loadMoreStep."
4061
+ },
4062
+ "attribute": "load-more-mode",
4063
+ "reflect": false,
4064
+ "defaultValue": "LoadMoreMode.PROGRESSIVE_THRESHOLD"
4065
+ },
4066
+ "loadMoreStep": {
4067
+ "type": "number",
4068
+ "mutable": false,
4069
+ "complexType": {
4070
+ "original": "number",
4071
+ "resolved": "number",
4072
+ "references": {}
4073
+ },
4074
+ "required": false,
4075
+ "optional": false,
4076
+ "docs": {
4077
+ "tags": [{
4078
+ "name": "see",
4079
+ "text": "loadMoreMode *"
4080
+ }, {
4081
+ "name": "see",
4082
+ "text": "loadMoreLimit"
4083
+ }],
4084
+ "text": "The number of records which will be requested to be downloaded when clicking on the load more button.\r\n\r\nThis property is regulated also by loadMoreMode."
4085
+ },
4086
+ "attribute": "load-more-step",
4087
+ "reflect": false,
4088
+ "defaultValue": "60"
4089
+ },
4090
+ "pageSelected": {
4091
+ "type": "number",
4092
+ "mutable": false,
4093
+ "complexType": {
4094
+ "original": "number",
4095
+ "resolved": "number",
4096
+ "references": {}
4097
+ },
4098
+ "required": false,
4099
+ "optional": false,
4100
+ "docs": {
4101
+ "tags": [],
4102
+ "text": "Current selected page set on component load"
4103
+ },
4104
+ "attribute": "page-selected",
4105
+ "reflect": false,
4106
+ "defaultValue": "-1"
4107
+ },
4108
+ "paginatorPos": {
4109
+ "type": "string",
4110
+ "mutable": false,
4111
+ "complexType": {
4112
+ "original": "PaginatorPos",
4113
+ "resolved": "PaginatorPos.BOTH | PaginatorPos.BOTTOM | PaginatorPos.TOP",
4114
+ "references": {
4115
+ "PaginatorPos": {
4116
+ "location": "import",
4117
+ "path": "./kup-data-table-declarations"
4118
+ }
4118
4119
  }
4119
- }
4120
- },
4121
- "required": false,
4122
- "optional": false,
4123
- "docs": {
4124
- "tags": [],
4125
- "text": "Sets the position of the paginator. Available positions: top, bottom or both."
4126
- },
4127
- "attribute": "paginator-pos",
4128
- "reflect": false,
4129
- "defaultValue": "PaginatorPos.TOP"
4130
- },
4131
- "removableColumns": {
4132
- "type": "boolean",
4133
- "mutable": false,
4134
- "complexType": {
4135
- "original": "boolean",
4136
- "resolved": "boolean",
4137
- "references": {}
4138
- },
4139
- "required": false,
4140
- "optional": false,
4141
- "docs": {
4142
- "tags": [],
4143
- "text": "Sets the possibility to remove the selected column."
4144
- },
4145
- "attribute": "removable-columns",
4146
- "reflect": false,
4147
- "defaultValue": "false"
4148
- },
4149
- "resizableColumns": {
4150
- "type": "boolean",
4151
- "mutable": false,
4152
- "complexType": {
4153
- "original": "boolean",
4154
- "resolved": "boolean",
4155
- "references": {}
4156
- },
4157
- "required": false,
4158
- "optional": false,
4159
- "docs": {
4160
- "tags": [],
4161
- "text": "Gives the possibility to resize columns by dragging on their right edge."
4162
- },
4163
- "attribute": "resizable-columns",
4164
- "reflect": false,
4165
- "defaultValue": "true"
4166
- },
4167
- "rowActions": {
4168
- "type": "unknown",
4169
- "mutable": false,
4170
- "complexType": {
4171
- "original": "Array<KupDataRowAction>",
4172
- "resolved": "KupDataRowAction[]",
4173
- "references": {
4174
- "Array": {
4175
- "location": "global"
4176
- },
4177
- "KupDataRowAction": {
4178
- "location": "import",
4179
- "path": "../../managers/kup-data/kup-data-declarations"
4120
+ },
4121
+ "required": false,
4122
+ "optional": false,
4123
+ "docs": {
4124
+ "tags": [],
4125
+ "text": "Sets the position of the paginator. Available positions: top, bottom or both."
4126
+ },
4127
+ "attribute": "paginator-pos",
4128
+ "reflect": false,
4129
+ "defaultValue": "PaginatorPos.TOP"
4130
+ },
4131
+ "removableColumns": {
4132
+ "type": "boolean",
4133
+ "mutable": false,
4134
+ "complexType": {
4135
+ "original": "boolean",
4136
+ "resolved": "boolean",
4137
+ "references": {}
4138
+ },
4139
+ "required": false,
4140
+ "optional": false,
4141
+ "docs": {
4142
+ "tags": [],
4143
+ "text": "Sets the possibility to remove the selected column."
4144
+ },
4145
+ "attribute": "removable-columns",
4146
+ "reflect": false,
4147
+ "defaultValue": "false"
4148
+ },
4149
+ "resizableColumns": {
4150
+ "type": "boolean",
4151
+ "mutable": false,
4152
+ "complexType": {
4153
+ "original": "boolean",
4154
+ "resolved": "boolean",
4155
+ "references": {}
4156
+ },
4157
+ "required": false,
4158
+ "optional": false,
4159
+ "docs": {
4160
+ "tags": [],
4161
+ "text": "Gives the possibility to resize columns by dragging on their right edge."
4162
+ },
4163
+ "attribute": "resizable-columns",
4164
+ "reflect": false,
4165
+ "defaultValue": "true"
4166
+ },
4167
+ "rowActions": {
4168
+ "type": "unknown",
4169
+ "mutable": false,
4170
+ "complexType": {
4171
+ "original": "Array<KupDataRowAction>",
4172
+ "resolved": "KupDataRowAction[]",
4173
+ "references": {
4174
+ "Array": {
4175
+ "location": "global"
4176
+ },
4177
+ "KupDataRowAction": {
4178
+ "location": "import",
4179
+ "path": "../../managers/kup-data/kup-data-declarations"
4180
+ }
4180
4181
  }
4182
+ },
4183
+ "required": false,
4184
+ "optional": false,
4185
+ "docs": {
4186
+ "tags": [],
4187
+ "text": "Sets the actions of the rows."
4181
4188
  }
4182
4189
  },
4183
- "required": false,
4184
- "optional": false,
4185
- "docs": {
4186
- "tags": [],
4187
- "text": "Sets the actions of the rows."
4188
- }
4189
- },
4190
- "rowsPerPage": {
4191
- "type": "number",
4192
- "mutable": false,
4193
- "complexType": {
4194
- "original": "number",
4195
- "resolved": "number",
4196
- "references": {}
4197
- },
4198
- "required": false,
4199
- "optional": false,
4200
- "docs": {
4201
- "tags": [],
4202
- "text": "Sets the number of rows per page to display."
4203
- },
4204
- "attribute": "rows-per-page",
4205
- "reflect": false,
4206
- "defaultValue": "10"
4207
- },
4208
- "scrollOnHover": {
4209
- "type": "boolean",
4210
- "mutable": false,
4211
- "complexType": {
4212
- "original": "boolean",
4213
- "resolved": "boolean",
4214
- "references": {}
4215
- },
4216
- "required": false,
4217
- "optional": false,
4218
- "docs": {
4219
- "tags": [],
4220
- "text": "Activates the scroll on hover function."
4221
- },
4222
- "attribute": "scroll-on-hover",
4223
- "reflect": false,
4224
- "defaultValue": "false"
4225
- },
4226
- "selection": {
4227
- "type": "string",
4228
- "mutable": false,
4229
- "complexType": {
4230
- "original": "SelectionMode",
4231
- "resolved": "SelectionMode.MULTIPLE | SelectionMode.MULTIPLE_CHECKBOX | SelectionMode.NONE | SelectionMode.SINGLE",
4232
- "references": {
4233
- "SelectionMode": {
4234
- "location": "import",
4235
- "path": "./kup-data-table-declarations"
4190
+ "rowsPerPage": {
4191
+ "type": "number",
4192
+ "mutable": false,
4193
+ "complexType": {
4194
+ "original": "number",
4195
+ "resolved": "number",
4196
+ "references": {}
4197
+ },
4198
+ "required": false,
4199
+ "optional": false,
4200
+ "docs": {
4201
+ "tags": [],
4202
+ "text": "Sets the number of rows per page to display."
4203
+ },
4204
+ "attribute": "rows-per-page",
4205
+ "reflect": false,
4206
+ "defaultValue": "10"
4207
+ },
4208
+ "scrollOnHover": {
4209
+ "type": "boolean",
4210
+ "mutable": false,
4211
+ "complexType": {
4212
+ "original": "boolean",
4213
+ "resolved": "boolean",
4214
+ "references": {}
4215
+ },
4216
+ "required": false,
4217
+ "optional": false,
4218
+ "docs": {
4219
+ "tags": [],
4220
+ "text": "Activates the scroll on hover function."
4221
+ },
4222
+ "attribute": "scroll-on-hover",
4223
+ "reflect": false,
4224
+ "defaultValue": "false"
4225
+ },
4226
+ "selection": {
4227
+ "type": "string",
4228
+ "mutable": false,
4229
+ "complexType": {
4230
+ "original": "SelectionMode",
4231
+ "resolved": "SelectionMode.MULTIPLE | SelectionMode.MULTIPLE_CHECKBOX | SelectionMode.NONE | SelectionMode.SINGLE",
4232
+ "references": {
4233
+ "SelectionMode": {
4234
+ "location": "import",
4235
+ "path": "./kup-data-table-declarations"
4236
+ }
4236
4237
  }
4237
- }
4238
- },
4239
- "required": false,
4240
- "optional": false,
4241
- "docs": {
4242
- "tags": [],
4243
- "text": "Set the type of the rows selection."
4244
- },
4245
- "attribute": "selection",
4246
- "reflect": false,
4247
- "defaultValue": "SelectionMode.SINGLE"
4248
- },
4249
- "showCustomization": {
4250
- "type": "boolean",
4251
- "mutable": false,
4252
- "complexType": {
4253
- "original": "boolean",
4254
- "resolved": "boolean",
4255
- "references": {}
4256
- },
4257
- "required": false,
4258
- "optional": false,
4259
- "docs": {
4260
- "tags": [],
4261
- "text": "If set to true, displays the button to open the customization panel."
4262
- },
4263
- "attribute": "show-customization",
4264
- "reflect": false,
4265
- "defaultValue": "true"
4266
- },
4267
- "showFilters": {
4268
- "type": "boolean",
4269
- "mutable": false,
4270
- "complexType": {
4271
- "original": "boolean",
4272
- "resolved": "boolean",
4273
- "references": {}
4274
- },
4275
- "required": false,
4276
- "optional": false,
4277
- "docs": {
4278
- "tags": [],
4279
- "text": "When set to true enables the column filters."
4280
- },
4281
- "attribute": "show-filters",
4282
- "reflect": false,
4283
- "defaultValue": "false"
4284
- },
4285
- "showGroups": {
4286
- "type": "boolean",
4287
- "mutable": false,
4288
- "complexType": {
4289
- "original": "boolean",
4290
- "resolved": "boolean",
4291
- "references": {}
4292
- },
4293
- "required": false,
4294
- "optional": false,
4295
- "docs": {
4296
- "tags": [],
4297
- "text": "When set to true enables the column grouping."
4298
- },
4299
- "attribute": "show-groups",
4300
- "reflect": false,
4301
- "defaultValue": "false"
4302
- },
4303
- "showFooter": {
4304
- "type": "boolean",
4305
- "mutable": false,
4306
- "complexType": {
4307
- "original": "boolean",
4308
- "resolved": "boolean",
4309
- "references": {}
4310
- },
4311
- "required": false,
4312
- "optional": false,
4313
- "docs": {
4314
- "tags": [],
4315
- "text": "When set to true shows the footer."
4316
- },
4317
- "attribute": "show-footer",
4318
- "reflect": false,
4319
- "defaultValue": "false"
4320
- },
4321
- "showGrid": {
4322
- "type": "string",
4323
- "mutable": false,
4324
- "complexType": {
4325
- "original": "ShowGrid",
4326
- "resolved": "ShowGrid.COL | ShowGrid.COMPLETE | ShowGrid.NONE | ShowGrid.ROW",
4327
- "references": {
4328
- "ShowGrid": {
4329
- "location": "import",
4330
- "path": "./kup-data-table-declarations"
4238
+ },
4239
+ "required": false,
4240
+ "optional": false,
4241
+ "docs": {
4242
+ "tags": [],
4243
+ "text": "Set the type of the rows selection."
4244
+ },
4245
+ "attribute": "selection",
4246
+ "reflect": false,
4247
+ "defaultValue": "SelectionMode.SINGLE"
4248
+ },
4249
+ "showCustomization": {
4250
+ "type": "boolean",
4251
+ "mutable": false,
4252
+ "complexType": {
4253
+ "original": "boolean",
4254
+ "resolved": "boolean",
4255
+ "references": {}
4256
+ },
4257
+ "required": false,
4258
+ "optional": false,
4259
+ "docs": {
4260
+ "tags": [],
4261
+ "text": "If set to true, displays the button to open the customization panel."
4262
+ },
4263
+ "attribute": "show-customization",
4264
+ "reflect": false,
4265
+ "defaultValue": "true"
4266
+ },
4267
+ "showFilters": {
4268
+ "type": "boolean",
4269
+ "mutable": false,
4270
+ "complexType": {
4271
+ "original": "boolean",
4272
+ "resolved": "boolean",
4273
+ "references": {}
4274
+ },
4275
+ "required": false,
4276
+ "optional": false,
4277
+ "docs": {
4278
+ "tags": [],
4279
+ "text": "When set to true enables the column filters."
4280
+ },
4281
+ "attribute": "show-filters",
4282
+ "reflect": false,
4283
+ "defaultValue": "false"
4284
+ },
4285
+ "showGroups": {
4286
+ "type": "boolean",
4287
+ "mutable": false,
4288
+ "complexType": {
4289
+ "original": "boolean",
4290
+ "resolved": "boolean",
4291
+ "references": {}
4292
+ },
4293
+ "required": false,
4294
+ "optional": false,
4295
+ "docs": {
4296
+ "tags": [],
4297
+ "text": "When set to true enables the column grouping."
4298
+ },
4299
+ "attribute": "show-groups",
4300
+ "reflect": false,
4301
+ "defaultValue": "false"
4302
+ },
4303
+ "showFooter": {
4304
+ "type": "boolean",
4305
+ "mutable": false,
4306
+ "complexType": {
4307
+ "original": "boolean",
4308
+ "resolved": "boolean",
4309
+ "references": {}
4310
+ },
4311
+ "required": false,
4312
+ "optional": false,
4313
+ "docs": {
4314
+ "tags": [],
4315
+ "text": "When set to true shows the footer."
4316
+ },
4317
+ "attribute": "show-footer",
4318
+ "reflect": false,
4319
+ "defaultValue": "false"
4320
+ },
4321
+ "showGrid": {
4322
+ "type": "string",
4323
+ "mutable": false,
4324
+ "complexType": {
4325
+ "original": "ShowGrid",
4326
+ "resolved": "ShowGrid.COL | ShowGrid.COMPLETE | ShowGrid.NONE | ShowGrid.ROW",
4327
+ "references": {
4328
+ "ShowGrid": {
4329
+ "location": "import",
4330
+ "path": "./kup-data-table-declarations"
4331
+ }
4331
4332
  }
4332
- }
4333
- },
4334
- "required": false,
4335
- "optional": false,
4336
- "docs": {
4337
- "tags": [],
4338
- "text": "Can be used to customize the grid view of the table."
4339
- },
4340
- "attribute": "show-grid",
4341
- "reflect": false,
4342
- "defaultValue": "ShowGrid.ROW"
4343
- },
4344
- "showHeader": {
4345
- "type": "boolean",
4346
- "mutable": false,
4347
- "complexType": {
4348
- "original": "boolean",
4349
- "resolved": "boolean",
4350
- "references": {}
4351
- },
4352
- "required": false,
4353
- "optional": false,
4354
- "docs": {
4355
- "tags": [{
4356
- "name": "namespace",
4357
- "text": "KupDataTable.showHeader"
4358
- }],
4359
- "text": "Enables rendering of the table header."
4360
- },
4361
- "attribute": "show-header",
4362
- "reflect": false,
4363
- "defaultValue": "true"
4364
- },
4365
- "showLoadMore": {
4366
- "type": "boolean",
4367
- "mutable": false,
4368
- "complexType": {
4369
- "original": "boolean",
4370
- "resolved": "boolean",
4371
- "references": {}
4372
- },
4373
- "required": false,
4374
- "optional": false,
4375
- "docs": {
4376
- "tags": [],
4377
- "text": "If set to true, displays the button to load more records."
4378
- },
4379
- "attribute": "show-load-more",
4380
- "reflect": false,
4381
- "defaultValue": "false"
4382
- },
4383
- "sort": {
4384
- "type": "unknown",
4385
- "mutable": true,
4386
- "complexType": {
4387
- "original": "Array<SortObject>",
4388
- "resolved": "SortObject[]",
4389
- "references": {
4390
- "Array": {
4391
- "location": "global"
4392
- },
4393
- "SortObject": {
4394
- "location": "import",
4395
- "path": "./kup-data-table-declarations"
4333
+ },
4334
+ "required": false,
4335
+ "optional": false,
4336
+ "docs": {
4337
+ "tags": [],
4338
+ "text": "Can be used to customize the grid view of the table."
4339
+ },
4340
+ "attribute": "show-grid",
4341
+ "reflect": false,
4342
+ "defaultValue": "ShowGrid.ROW"
4343
+ },
4344
+ "showHeader": {
4345
+ "type": "boolean",
4346
+ "mutable": false,
4347
+ "complexType": {
4348
+ "original": "boolean",
4349
+ "resolved": "boolean",
4350
+ "references": {}
4351
+ },
4352
+ "required": false,
4353
+ "optional": false,
4354
+ "docs": {
4355
+ "tags": [{
4356
+ "name": "namespace",
4357
+ "text": "KupDataTable.showHeader"
4358
+ }],
4359
+ "text": "Enables rendering of the table header."
4360
+ },
4361
+ "attribute": "show-header",
4362
+ "reflect": false,
4363
+ "defaultValue": "true"
4364
+ },
4365
+ "showLoadMore": {
4366
+ "type": "boolean",
4367
+ "mutable": false,
4368
+ "complexType": {
4369
+ "original": "boolean",
4370
+ "resolved": "boolean",
4371
+ "references": {}
4372
+ },
4373
+ "required": false,
4374
+ "optional": false,
4375
+ "docs": {
4376
+ "tags": [],
4377
+ "text": "If set to true, displays the button to load more records."
4378
+ },
4379
+ "attribute": "show-load-more",
4380
+ "reflect": false,
4381
+ "defaultValue": "false"
4382
+ },
4383
+ "sort": {
4384
+ "type": "unknown",
4385
+ "mutable": true,
4386
+ "complexType": {
4387
+ "original": "Array<SortObject>",
4388
+ "resolved": "SortObject[]",
4389
+ "references": {
4390
+ "Array": {
4391
+ "location": "global"
4392
+ },
4393
+ "SortObject": {
4394
+ "location": "import",
4395
+ "path": "./kup-data-table-declarations"
4396
+ }
4396
4397
  }
4397
- }
4398
- },
4399
- "required": false,
4400
- "optional": false,
4401
- "docs": {
4402
- "tags": [],
4403
- "text": "Defines the current sorting options."
4404
- },
4405
- "defaultValue": "[]"
4406
- },
4407
- "sortableColumnsMutateData": {
4408
- "type": "boolean",
4409
- "mutable": false,
4410
- "complexType": {
4411
- "original": "boolean",
4412
- "resolved": "boolean",
4413
- "references": {}
4414
- },
4415
- "required": false,
4416
- "optional": false,
4417
- "docs": {
4418
- "tags": [],
4419
- "text": "If set to true, when a column is dragged to be sorted, the component directly mutates the data.columns property\r\nand then fires the event"
4420
- },
4421
- "attribute": "sortable-columns-mutate-data",
4422
- "reflect": false,
4423
- "defaultValue": "true"
4424
- },
4425
- "sortEnabled": {
4426
- "type": "boolean",
4427
- "mutable": false,
4428
- "complexType": {
4429
- "original": "boolean",
4430
- "resolved": "boolean",
4431
- "references": {}
4432
- },
4433
- "required": false,
4434
- "optional": false,
4435
- "docs": {
4436
- "tags": [],
4437
- "text": "When set to true enables the sorting of the columns by clicking on the column header."
4438
- },
4439
- "attribute": "sort-enabled",
4440
- "reflect": false,
4441
- "defaultValue": "true"
4442
- },
4443
- "tableHeight": {
4444
- "type": "string",
4445
- "mutable": false,
4446
- "complexType": {
4447
- "original": "string",
4448
- "resolved": "string",
4449
- "references": {}
4450
- },
4451
- "required": false,
4452
- "optional": false,
4453
- "docs": {
4454
- "tags": [],
4455
- "text": "Sets the height of the table."
4456
- },
4457
- "attribute": "table-height",
4458
- "reflect": false,
4459
- "defaultValue": "undefined"
4460
- },
4461
- "tableWidth": {
4462
- "type": "string",
4463
- "mutable": false,
4464
- "complexType": {
4465
- "original": "string",
4466
- "resolved": "string",
4467
- "references": {}
4468
- },
4469
- "required": false,
4470
- "optional": false,
4471
- "docs": {
4472
- "tags": [],
4473
- "text": "Sets the width of the table."
4474
- },
4475
- "attribute": "table-width",
4476
- "reflect": false,
4477
- "defaultValue": "undefined"
4478
- },
4479
- "totals": {
4480
- "type": "unknown",
4481
- "mutable": true,
4482
- "complexType": {
4483
- "original": "TotalsMap",
4484
- "resolved": "TotalsMap",
4485
- "references": {
4486
- "TotalsMap": {
4487
- "location": "import",
4488
- "path": "./kup-data-table-declarations"
4398
+ },
4399
+ "required": false,
4400
+ "optional": false,
4401
+ "docs": {
4402
+ "tags": [],
4403
+ "text": "Defines the current sorting options."
4404
+ },
4405
+ "defaultValue": "[]"
4406
+ },
4407
+ "sortableColumnsMutateData": {
4408
+ "type": "boolean",
4409
+ "mutable": false,
4410
+ "complexType": {
4411
+ "original": "boolean",
4412
+ "resolved": "boolean",
4413
+ "references": {}
4414
+ },
4415
+ "required": false,
4416
+ "optional": false,
4417
+ "docs": {
4418
+ "tags": [],
4419
+ "text": "If set to true, when a column is dragged to be sorted, the component directly mutates the data.columns property\r\nand then fires the event"
4420
+ },
4421
+ "attribute": "sortable-columns-mutate-data",
4422
+ "reflect": false,
4423
+ "defaultValue": "true"
4424
+ },
4425
+ "sortEnabled": {
4426
+ "type": "boolean",
4427
+ "mutable": false,
4428
+ "complexType": {
4429
+ "original": "boolean",
4430
+ "resolved": "boolean",
4431
+ "references": {}
4432
+ },
4433
+ "required": false,
4434
+ "optional": false,
4435
+ "docs": {
4436
+ "tags": [],
4437
+ "text": "When set to true enables the sorting of the columns by clicking on the column header."
4438
+ },
4439
+ "attribute": "sort-enabled",
4440
+ "reflect": false,
4441
+ "defaultValue": "true"
4442
+ },
4443
+ "tableHeight": {
4444
+ "type": "string",
4445
+ "mutable": false,
4446
+ "complexType": {
4447
+ "original": "string",
4448
+ "resolved": "string",
4449
+ "references": {}
4450
+ },
4451
+ "required": false,
4452
+ "optional": false,
4453
+ "docs": {
4454
+ "tags": [],
4455
+ "text": "Sets the height of the table."
4456
+ },
4457
+ "attribute": "table-height",
4458
+ "reflect": false,
4459
+ "defaultValue": "undefined"
4460
+ },
4461
+ "tableWidth": {
4462
+ "type": "string",
4463
+ "mutable": false,
4464
+ "complexType": {
4465
+ "original": "string",
4466
+ "resolved": "string",
4467
+ "references": {}
4468
+ },
4469
+ "required": false,
4470
+ "optional": false,
4471
+ "docs": {
4472
+ "tags": [],
4473
+ "text": "Sets the width of the table."
4474
+ },
4475
+ "attribute": "table-width",
4476
+ "reflect": false,
4477
+ "defaultValue": "undefined"
4478
+ },
4479
+ "totals": {
4480
+ "type": "unknown",
4481
+ "mutable": true,
4482
+ "complexType": {
4483
+ "original": "TotalsMap",
4484
+ "resolved": "TotalsMap",
4485
+ "references": {
4486
+ "TotalsMap": {
4487
+ "location": "import",
4488
+ "path": "./kup-data-table-declarations"
4489
+ }
4489
4490
  }
4491
+ },
4492
+ "required": false,
4493
+ "optional": false,
4494
+ "docs": {
4495
+ "tags": [],
4496
+ "text": "Defines the current totals options"
4490
4497
  }
4491
4498
  },
4492
- "required": false,
4493
- "optional": false,
4494
- "docs": {
4495
- "tags": [],
4496
- "text": "Defines the current totals options"
4499
+ "transpose": {
4500
+ "type": "boolean",
4501
+ "mutable": true,
4502
+ "complexType": {
4503
+ "original": "boolean",
4504
+ "resolved": "boolean",
4505
+ "references": {}
4506
+ },
4507
+ "required": false,
4508
+ "optional": false,
4509
+ "docs": {
4510
+ "tags": [],
4511
+ "text": "Transposes the data of the data table"
4512
+ },
4513
+ "attribute": "transpose",
4514
+ "reflect": false,
4515
+ "defaultValue": "false"
4497
4516
  }
4498
- },
4499
- "transpose": {
4500
- "type": "boolean",
4501
- "mutable": true,
4502
- "complexType": {
4503
- "original": "boolean",
4504
- "resolved": "boolean",
4505
- "references": {}
4506
- },
4507
- "required": false,
4508
- "optional": false,
4509
- "docs": {
4510
- "tags": [],
4511
- "text": "Transposes the data of the data table"
4512
- },
4513
- "attribute": "transpose",
4514
- "reflect": false,
4515
- "defaultValue": "false"
4516
- }
4517
- }; }
4518
- static get states() { return {
4519
- "lazyLoadCells": {},
4520
- "currentPage": {},
4521
- "currentRowsPerPage": {},
4522
- "selectedRows": {},
4523
- "selectedColumn": {},
4524
- "columnMenuAnchor": {},
4525
- "groupState": {},
4526
- "openedTotalMenu": {},
4527
- "openedCustomSettings": {},
4528
- "fontsize": {}
4529
- }; }
4530
- static get events() { return [{
4531
- "method": "kupDidUnload",
4532
- "name": "kup-datatable-didunload",
4533
- "bubbles": true,
4534
- "cancelable": false,
4535
- "composed": true,
4536
- "docs": {
4537
- "tags": [],
4538
- "text": "When component unload is complete"
4539
- },
4540
- "complexType": {
4541
- "original": "KupEventPayload",
4542
- "resolved": "KupEventPayload",
4543
- "references": {
4544
- "KupEventPayload": {
4545
- "location": "import",
4546
- "path": "../../types/GenericTypes"
4517
+ };
4518
+ }
4519
+ static get states() {
4520
+ return {
4521
+ "lazyLoadCells": {},
4522
+ "currentPage": {},
4523
+ "currentRowsPerPage": {},
4524
+ "selectedRows": {},
4525
+ "selectedColumn": {},
4526
+ "columnMenuAnchor": {},
4527
+ "groupState": {},
4528
+ "openedTotalMenu": {},
4529
+ "openedCustomSettings": {},
4530
+ "fontsize": {}
4531
+ };
4532
+ }
4533
+ static get events() {
4534
+ return [{
4535
+ "method": "kupDidUnload",
4536
+ "name": "kup-datatable-didunload",
4537
+ "bubbles": true,
4538
+ "cancelable": false,
4539
+ "composed": true,
4540
+ "docs": {
4541
+ "tags": [],
4542
+ "text": "When component unload is complete"
4543
+ },
4544
+ "complexType": {
4545
+ "original": "KupEventPayload",
4546
+ "resolved": "KupEventPayload",
4547
+ "references": {
4548
+ "KupEventPayload": {
4549
+ "location": "import",
4550
+ "path": "../../types/GenericTypes"
4551
+ }
4547
4552
  }
4548
4553
  }
4549
- }
4550
- }, {
4551
- "method": "kupDidLoad",
4552
- "name": "kup-datatable-didload",
4553
- "bubbles": true,
4554
- "cancelable": false,
4555
- "composed": true,
4556
- "docs": {
4557
- "tags": [],
4558
- "text": "When component load is complete"
4559
- },
4560
- "complexType": {
4561
- "original": "KupEventPayload",
4562
- "resolved": "KupEventPayload",
4563
- "references": {
4564
- "KupEventPayload": {
4565
- "location": "import",
4566
- "path": "../../types/GenericTypes"
4554
+ }, {
4555
+ "method": "kupDidLoad",
4556
+ "name": "kup-datatable-didload",
4557
+ "bubbles": true,
4558
+ "cancelable": false,
4559
+ "composed": true,
4560
+ "docs": {
4561
+ "tags": [],
4562
+ "text": "When component load is complete"
4563
+ },
4564
+ "complexType": {
4565
+ "original": "KupEventPayload",
4566
+ "resolved": "KupEventPayload",
4567
+ "references": {
4568
+ "KupEventPayload": {
4569
+ "location": "import",
4570
+ "path": "../../types/GenericTypes"
4571
+ }
4567
4572
  }
4568
4573
  }
4569
- }
4570
- }, {
4571
- "method": "kupResetSelectedRows",
4572
- "name": "kup-datatable-resetselectedrows",
4573
- "bubbles": true,
4574
- "cancelable": false,
4575
- "composed": true,
4576
- "docs": {
4577
- "tags": [],
4578
- "text": "When rows selections reset"
4579
- },
4580
- "complexType": {
4581
- "original": "KupEventPayload",
4582
- "resolved": "KupEventPayload",
4583
- "references": {
4584
- "KupEventPayload": {
4585
- "location": "import",
4586
- "path": "../../types/GenericTypes"
4574
+ }, {
4575
+ "method": "kupResetSelectedRows",
4576
+ "name": "kup-datatable-resetselectedrows",
4577
+ "bubbles": true,
4578
+ "cancelable": false,
4579
+ "composed": true,
4580
+ "docs": {
4581
+ "tags": [],
4582
+ "text": "When rows selections reset"
4583
+ },
4584
+ "complexType": {
4585
+ "original": "KupEventPayload",
4586
+ "resolved": "KupEventPayload",
4587
+ "references": {
4588
+ "KupEventPayload": {
4589
+ "location": "import",
4590
+ "path": "../../types/GenericTypes"
4591
+ }
4587
4592
  }
4588
4593
  }
4589
- }
4590
- }, {
4591
- "method": "kupRowSelected",
4592
- "name": "kup-datatable-rowselected",
4593
- "bubbles": true,
4594
- "cancelable": false,
4595
- "composed": true,
4596
- "docs": {
4597
- "tags": [],
4598
- "text": "When a row is selected"
4599
- },
4600
- "complexType": {
4601
- "original": "KupDatatableRowSelectedEventPayload",
4602
- "resolved": "KupDatatableRowSelectedEventPayload",
4603
- "references": {
4604
- "KupDatatableRowSelectedEventPayload": {
4605
- "location": "import",
4606
- "path": "./kup-data-table-declarations"
4594
+ }, {
4595
+ "method": "kupRowSelected",
4596
+ "name": "kup-datatable-rowselected",
4597
+ "bubbles": true,
4598
+ "cancelable": false,
4599
+ "composed": true,
4600
+ "docs": {
4601
+ "tags": [],
4602
+ "text": "When a row is selected"
4603
+ },
4604
+ "complexType": {
4605
+ "original": "KupDatatableRowSelectedEventPayload",
4606
+ "resolved": "KupDatatableRowSelectedEventPayload",
4607
+ "references": {
4608
+ "KupDatatableRowSelectedEventPayload": {
4609
+ "location": "import",
4610
+ "path": "./kup-data-table-declarations"
4611
+ }
4607
4612
  }
4608
4613
  }
4609
- }
4610
- }, {
4611
- "method": "kupDataTableClick",
4612
- "name": "kup-datatable-click",
4613
- "bubbles": true,
4614
- "cancelable": false,
4615
- "composed": true,
4616
- "docs": {
4617
- "tags": [],
4618
- "text": "Generic click event on data table."
4619
- },
4620
- "complexType": {
4621
- "original": "KupDatatableClickEventPayload",
4622
- "resolved": "KupDatatableClickEventPayload",
4623
- "references": {
4624
- "KupDatatableClickEventPayload": {
4625
- "location": "import",
4626
- "path": "./kup-data-table-declarations"
4614
+ }, {
4615
+ "method": "kupDataTableClick",
4616
+ "name": "kup-datatable-click",
4617
+ "bubbles": true,
4618
+ "cancelable": false,
4619
+ "composed": true,
4620
+ "docs": {
4621
+ "tags": [],
4622
+ "text": "Generic click event on data table."
4623
+ },
4624
+ "complexType": {
4625
+ "original": "KupDatatableClickEventPayload",
4626
+ "resolved": "KupDatatableClickEventPayload",
4627
+ "references": {
4628
+ "KupDatatableClickEventPayload": {
4629
+ "location": "import",
4630
+ "path": "./kup-data-table-declarations"
4631
+ }
4627
4632
  }
4628
4633
  }
4629
- }
4630
- }, {
4631
- "method": "kupDataTableContextMenu",
4632
- "name": "kup-datatable-contextmenu",
4633
- "bubbles": true,
4634
- "cancelable": false,
4635
- "composed": true,
4636
- "docs": {
4637
- "tags": [],
4638
- "text": "Generic right click event on data table."
4639
- },
4640
- "complexType": {
4641
- "original": "KupDatatableClickEventPayload",
4642
- "resolved": "KupDatatableClickEventPayload",
4643
- "references": {
4644
- "KupDatatableClickEventPayload": {
4645
- "location": "import",
4646
- "path": "./kup-data-table-declarations"
4634
+ }, {
4635
+ "method": "kupDataTableContextMenu",
4636
+ "name": "kup-datatable-contextmenu",
4637
+ "bubbles": true,
4638
+ "cancelable": false,
4639
+ "composed": true,
4640
+ "docs": {
4641
+ "tags": [],
4642
+ "text": "Generic right click event on data table."
4643
+ },
4644
+ "complexType": {
4645
+ "original": "KupDatatableClickEventPayload",
4646
+ "resolved": "KupDatatableClickEventPayload",
4647
+ "references": {
4648
+ "KupDatatableClickEventPayload": {
4649
+ "location": "import",
4650
+ "path": "./kup-data-table-declarations"
4651
+ }
4647
4652
  }
4648
4653
  }
4649
- }
4650
- }, {
4651
- "method": "kupDataTableDblClick",
4652
- "name": "kup-datatable-dblclick",
4653
- "bubbles": true,
4654
- "cancelable": false,
4655
- "composed": true,
4656
- "docs": {
4657
- "tags": [],
4658
- "text": "Generic double click event on data table."
4659
- },
4660
- "complexType": {
4661
- "original": "KupDatatableClickEventPayload",
4662
- "resolved": "KupDatatableClickEventPayload",
4663
- "references": {
4664
- "KupDatatableClickEventPayload": {
4665
- "location": "import",
4666
- "path": "./kup-data-table-declarations"
4654
+ }, {
4655
+ "method": "kupDataTableDblClick",
4656
+ "name": "kup-datatable-dblclick",
4657
+ "bubbles": true,
4658
+ "cancelable": false,
4659
+ "composed": true,
4660
+ "docs": {
4661
+ "tags": [],
4662
+ "text": "Generic double click event on data table."
4663
+ },
4664
+ "complexType": {
4665
+ "original": "KupDatatableClickEventPayload",
4666
+ "resolved": "KupDatatableClickEventPayload",
4667
+ "references": {
4668
+ "KupDatatableClickEventPayload": {
4669
+ "location": "import",
4670
+ "path": "./kup-data-table-declarations"
4671
+ }
4667
4672
  }
4668
4673
  }
4669
- }
4670
- }, {
4671
- "method": "kupDataTableColumnMenu",
4672
- "name": "kup-datatable-columnmenu",
4673
- "bubbles": true,
4674
- "cancelable": false,
4675
- "composed": true,
4676
- "docs": {
4677
- "tags": [],
4678
- "text": "Emitted by the column menu card when opened/closed or when a kup-card-event is fired."
4679
- },
4680
- "complexType": {
4681
- "original": "KupDatatableColumnMenuEventPayload",
4682
- "resolved": "KupDatatableColumnMenuEventPayload",
4683
- "references": {
4684
- "KupDatatableColumnMenuEventPayload": {
4685
- "location": "import",
4686
- "path": "./kup-data-table-declarations"
4674
+ }, {
4675
+ "method": "kupDataTableColumnMenu",
4676
+ "name": "kup-datatable-columnmenu",
4677
+ "bubbles": true,
4678
+ "cancelable": false,
4679
+ "composed": true,
4680
+ "docs": {
4681
+ "tags": [],
4682
+ "text": "Emitted by the column menu card when opened/closed or when a kup-card-event is fired."
4683
+ },
4684
+ "complexType": {
4685
+ "original": "KupDatatableColumnMenuEventPayload",
4686
+ "resolved": "KupDatatableColumnMenuEventPayload",
4687
+ "references": {
4688
+ "KupDatatableColumnMenuEventPayload": {
4689
+ "location": "import",
4690
+ "path": "./kup-data-table-declarations"
4691
+ }
4687
4692
  }
4688
4693
  }
4689
- }
4690
- }, {
4691
- "method": "kupRowActionClick",
4692
- "name": "kup-datatable-rowactionclick",
4693
- "bubbles": true,
4694
- "cancelable": false,
4695
- "composed": true,
4696
- "docs": {
4697
- "tags": [],
4698
- "text": "When a row action is clicked"
4699
- },
4700
- "complexType": {
4701
- "original": "KupDatatableRowActionClickEventPayload",
4702
- "resolved": "KupDatatableRowActionClickEventPayload",
4703
- "references": {
4704
- "KupDatatableRowActionClickEventPayload": {
4705
- "location": "import",
4706
- "path": "./kup-data-table-declarations"
4694
+ }, {
4695
+ "method": "kupRowActionClick",
4696
+ "name": "kup-datatable-rowactionclick",
4697
+ "bubbles": true,
4698
+ "cancelable": false,
4699
+ "composed": true,
4700
+ "docs": {
4701
+ "tags": [],
4702
+ "text": "When a row action is clicked"
4703
+ },
4704
+ "complexType": {
4705
+ "original": "KupDatatableRowActionClickEventPayload",
4706
+ "resolved": "KupDatatableRowActionClickEventPayload",
4707
+ "references": {
4708
+ "KupDatatableRowActionClickEventPayload": {
4709
+ "location": "import",
4710
+ "path": "./kup-data-table-declarations"
4711
+ }
4707
4712
  }
4708
4713
  }
4709
- }
4710
- }, {
4711
- "method": "kupLoadMoreClick",
4712
- "name": "kup-datatable-loadmoreclick",
4713
- "bubbles": true,
4714
- "cancelable": false,
4715
- "composed": true,
4716
- "docs": {
4717
- "tags": [],
4718
- "text": ""
4719
- },
4720
- "complexType": {
4721
- "original": "KupDatatableLoadMoreClickEventPayload",
4722
- "resolved": "KupDatatableLoadMoreClickEventPayload",
4723
- "references": {
4724
- "KupDatatableLoadMoreClickEventPayload": {
4725
- "location": "import",
4726
- "path": "./kup-data-table-declarations"
4714
+ }, {
4715
+ "method": "kupLoadMoreClick",
4716
+ "name": "kup-datatable-loadmoreclick",
4717
+ "bubbles": true,
4718
+ "cancelable": false,
4719
+ "composed": true,
4720
+ "docs": {
4721
+ "tags": [],
4722
+ "text": ""
4723
+ },
4724
+ "complexType": {
4725
+ "original": "KupDatatableLoadMoreClickEventPayload",
4726
+ "resolved": "KupDatatableLoadMoreClickEventPayload",
4727
+ "references": {
4728
+ "KupDatatableLoadMoreClickEventPayload": {
4729
+ "location": "import",
4730
+ "path": "./kup-data-table-declarations"
4731
+ }
4727
4732
  }
4728
4733
  }
4729
- }
4730
- }, {
4731
- "method": "kupColumnMove",
4732
- "name": "kup-datatable-columnmove",
4733
- "bubbles": true,
4734
- "cancelable": false,
4735
- "composed": true,
4736
- "docs": {
4737
- "tags": [],
4738
- "text": "Event fired when columns are moved (sorted)."
4739
- },
4740
- "complexType": {
4741
- "original": "KupDatatableColumnMoveEventPayload",
4742
- "resolved": "KupDatatableColumnMoveEventPayload",
4743
- "references": {
4744
- "KupDatatableColumnMoveEventPayload": {
4745
- "location": "import",
4746
- "path": "./kup-data-table-declarations"
4734
+ }, {
4735
+ "method": "kupColumnMove",
4736
+ "name": "kup-datatable-columnmove",
4737
+ "bubbles": true,
4738
+ "cancelable": false,
4739
+ "composed": true,
4740
+ "docs": {
4741
+ "tags": [],
4742
+ "text": "Event fired when columns are moved (sorted)."
4743
+ },
4744
+ "complexType": {
4745
+ "original": "KupDatatableColumnMoveEventPayload",
4746
+ "resolved": "KupDatatableColumnMoveEventPayload",
4747
+ "references": {
4748
+ "KupDatatableColumnMoveEventPayload": {
4749
+ "location": "import",
4750
+ "path": "./kup-data-table-declarations"
4751
+ }
4747
4752
  }
4748
4753
  }
4749
- }
4750
- }, {
4751
- "method": "kupColumnRemove",
4752
- "name": "kup-datatable-columnremove",
4753
- "bubbles": true,
4754
- "cancelable": false,
4755
- "composed": true,
4756
- "docs": {
4757
- "tags": [],
4758
- "text": "Event fired when columns are removed (set to hidden)."
4759
- },
4760
- "complexType": {
4761
- "original": "KupDatatableColumnRemoveEventPayload",
4762
- "resolved": "KupDatatableColumnRemoveEventPayload",
4763
- "references": {
4764
- "KupDatatableColumnRemoveEventPayload": {
4765
- "location": "import",
4766
- "path": "./kup-data-table-declarations"
4754
+ }, {
4755
+ "method": "kupColumnRemove",
4756
+ "name": "kup-datatable-columnremove",
4757
+ "bubbles": true,
4758
+ "cancelable": false,
4759
+ "composed": true,
4760
+ "docs": {
4761
+ "tags": [],
4762
+ "text": "Event fired when columns are removed (set to hidden)."
4763
+ },
4764
+ "complexType": {
4765
+ "original": "KupDatatableColumnRemoveEventPayload",
4766
+ "resolved": "KupDatatableColumnRemoveEventPayload",
4767
+ "references": {
4768
+ "KupDatatableColumnRemoveEventPayload": {
4769
+ "location": "import",
4770
+ "path": "./kup-data-table-declarations"
4771
+ }
4767
4772
  }
4768
4773
  }
4769
- }
4770
- }]; }
4771
- static get methods() { return {
4772
- "closeColumnMenu": {
4773
- "complexType": {
4774
- "signature": "() => Promise<void>",
4775
- "parameters": [],
4776
- "references": {
4777
- "Promise": {
4778
- "location": "global"
4779
- }
4774
+ }];
4775
+ }
4776
+ static get methods() {
4777
+ return {
4778
+ "closeColumnMenu": {
4779
+ "complexType": {
4780
+ "signature": "() => Promise<void>",
4781
+ "parameters": [],
4782
+ "references": {
4783
+ "Promise": {
4784
+ "location": "global"
4785
+ }
4786
+ },
4787
+ "return": "Promise<void>"
4780
4788
  },
4781
- "return": "Promise<void>"
4789
+ "docs": {
4790
+ "text": "Closes any opened column menu.",
4791
+ "tags": []
4792
+ }
4782
4793
  },
4783
- "docs": {
4784
- "text": "Closes any opened column menu.",
4785
- "tags": []
4786
- }
4787
- },
4788
- "collapseAll": {
4789
- "complexType": {
4790
- "signature": "() => Promise<void>",
4791
- "parameters": [],
4792
- "references": {
4793
- "Promise": {
4794
- "location": "global"
4795
- }
4794
+ "collapseAll": {
4795
+ "complexType": {
4796
+ "signature": "() => Promise<void>",
4797
+ "parameters": [],
4798
+ "references": {
4799
+ "Promise": {
4800
+ "location": "global"
4801
+ }
4802
+ },
4803
+ "return": "Promise<void>"
4796
4804
  },
4797
- "return": "Promise<void>"
4805
+ "docs": {
4806
+ "text": "Collapses all groups.",
4807
+ "tags": []
4808
+ }
4798
4809
  },
4799
- "docs": {
4800
- "text": "Collapses all groups.",
4801
- "tags": []
4802
- }
4803
- },
4804
- "expandAll": {
4805
- "complexType": {
4806
- "signature": "() => Promise<void>",
4807
- "parameters": [],
4808
- "references": {
4809
- "Promise": {
4810
- "location": "global"
4811
- }
4810
+ "deleteRows": {
4811
+ "complexType": {
4812
+ "signature": "(ids?: string[]) => Promise<Array<KupDataTableRow>>",
4813
+ "parameters": [{
4814
+ "tags": [{
4815
+ "name": "param",
4816
+ "text": "ids - Array of row ids to delete."
4817
+ }],
4818
+ "text": "- Array of row ids to delete."
4819
+ }],
4820
+ "references": {
4821
+ "Promise": {
4822
+ "location": "global"
4823
+ },
4824
+ "KupDataTableRow": {
4825
+ "location": "import",
4826
+ "path": "./kup-data-table-declarations"
4827
+ },
4828
+ "Array": {
4829
+ "location": "global"
4830
+ }
4831
+ },
4832
+ "return": "Promise<KupDataTableRow[]>"
4812
4833
  },
4813
- "return": "Promise<void>"
4834
+ "docs": {
4835
+ "text": "This method will delete rows by id from the data table dataset.",
4836
+ "tags": [{
4837
+ "name": "param",
4838
+ "text": "ids - Array of row ids to delete."
4839
+ }, {
4840
+ "name": "returns",
4841
+ "text": "Deleted rows."
4842
+ }]
4843
+ }
4814
4844
  },
4815
- "docs": {
4816
- "text": "Expands all groups.",
4817
- "tags": []
4818
- }
4819
- },
4820
- "getProps": {
4821
- "complexType": {
4822
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
4823
- "parameters": [{
4824
- "tags": [{
4825
- "name": "param",
4826
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
4827
- }],
4828
- "text": "- When provided and true, the result will be the list of props with their description."
4829
- }],
4830
- "references": {
4831
- "Promise": {
4832
- "location": "global"
4845
+ "expandAll": {
4846
+ "complexType": {
4847
+ "signature": "() => Promise<void>",
4848
+ "parameters": [],
4849
+ "references": {
4850
+ "Promise": {
4851
+ "location": "global"
4852
+ }
4833
4853
  },
4834
- "GenericObject": {
4835
- "location": "import",
4836
- "path": "../../types/GenericTypes"
4837
- }
4854
+ "return": "Promise<void>"
4838
4855
  },
4839
- "return": "Promise<GenericObject>"
4856
+ "docs": {
4857
+ "text": "Expands all groups.",
4858
+ "tags": []
4859
+ }
4840
4860
  },
4841
- "docs": {
4842
- "text": "Used to retrieve component's props values.",
4843
- "tags": [{
4844
- "name": "param",
4845
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
4846
- }, {
4847
- "name": "returns",
4848
- "text": "List of props as object, each key will be a prop."
4849
- }]
4850
- }
4851
- },
4852
- "getSelectedRows": {
4853
- "complexType": {
4854
- "signature": "() => Promise<Array<KupDataTableRow>>",
4855
- "parameters": [],
4856
- "references": {
4857
- "Promise": {
4858
- "location": "global"
4859
- },
4860
- "KupDataTableRow": {
4861
- "location": "import",
4862
- "path": "./kup-data-table-declarations"
4861
+ "getProps": {
4862
+ "complexType": {
4863
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
4864
+ "parameters": [{
4865
+ "tags": [{
4866
+ "name": "param",
4867
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
4868
+ }],
4869
+ "text": "- When provided and true, the result will be the list of props with their description."
4870
+ }],
4871
+ "references": {
4872
+ "Promise": {
4873
+ "location": "global"
4874
+ },
4875
+ "GenericObject": {
4876
+ "location": "import",
4877
+ "path": "../../types/GenericTypes"
4878
+ }
4863
4879
  },
4864
- "Array": {
4865
- "location": "global"
4866
- }
4880
+ "return": "Promise<GenericObject>"
4867
4881
  },
4868
- "return": "Promise<KupDataTableRow[]>"
4882
+ "docs": {
4883
+ "text": "Used to retrieve component's props values.",
4884
+ "tags": [{
4885
+ "name": "param",
4886
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
4887
+ }, {
4888
+ "name": "returns",
4889
+ "text": "List of props as object, each key will be a prop."
4890
+ }]
4891
+ }
4869
4892
  },
4870
- "docs": {
4871
- "text": "This method will get the selected rows of the component.",
4872
- "tags": []
4873
- }
4874
- },
4875
- "hideColumn": {
4876
- "complexType": {
4877
- "signature": "(column: KupDataColumn) => Promise<void>",
4878
- "parameters": [{
4879
- "tags": [{
4880
- "name": "param",
4881
- "text": "column - Column to hide."
4882
- }],
4883
- "text": "- Column to hide."
4884
- }],
4885
- "references": {
4886
- "Promise": {
4887
- "location": "global"
4893
+ "getSelectedRows": {
4894
+ "complexType": {
4895
+ "signature": "() => Promise<Array<KupDataTableRow>>",
4896
+ "parameters": [],
4897
+ "references": {
4898
+ "Promise": {
4899
+ "location": "global"
4900
+ },
4901
+ "KupDataTableRow": {
4902
+ "location": "import",
4903
+ "path": "./kup-data-table-declarations"
4904
+ },
4905
+ "Array": {
4906
+ "location": "global"
4907
+ }
4888
4908
  },
4889
- "KupDataColumn": {
4890
- "location": "import",
4891
- "path": "../../managers/kup-data/kup-data-declarations"
4892
- }
4909
+ "return": "Promise<KupDataTableRow[]>"
4893
4910
  },
4894
- "return": "Promise<void>"
4911
+ "docs": {
4912
+ "text": "This method will get the selected rows of the component.",
4913
+ "tags": []
4914
+ }
4895
4915
  },
4896
- "docs": {
4897
- "text": "Hides the given column.",
4898
- "tags": [{
4899
- "name": "param",
4900
- "text": "column - Column to hide."
4901
- }]
4902
- }
4903
- },
4904
- "newColumn": {
4905
- "complexType": {
4906
- "signature": "(type: KupDataNewColumnTypes, options: KupDataNewColumnOptions) => Promise<string | KupDataColumn>",
4907
- "parameters": [{
4908
- "tags": [{
4909
- "name": "param",
4910
- "text": "type - Type of the column creation."
4911
- }],
4912
- "text": "- Type of the column creation."
4913
- }, {
4914
- "tags": [{
4915
- "name": "param",
4916
- "text": "options - Options of the creation."
4917
- }],
4918
- "text": "- Options of the creation."
4919
- }],
4920
- "references": {
4921
- "Promise": {
4922
- "location": "global"
4923
- },
4924
- "KupDataColumn": {
4925
- "location": "import",
4926
- "path": "../../managers/kup-data/kup-data-declarations"
4927
- },
4928
- "KupDataNewColumnTypes": {
4929
- "location": "import",
4930
- "path": "../../managers/kup-data/kup-data-declarations"
4916
+ "hideColumn": {
4917
+ "complexType": {
4918
+ "signature": "(column: KupDataColumn) => Promise<void>",
4919
+ "parameters": [{
4920
+ "tags": [{
4921
+ "name": "param",
4922
+ "text": "column - Column to hide."
4923
+ }],
4924
+ "text": "- Column to hide."
4925
+ }],
4926
+ "references": {
4927
+ "Promise": {
4928
+ "location": "global"
4929
+ },
4930
+ "KupDataColumn": {
4931
+ "location": "import",
4932
+ "path": "../../managers/kup-data/kup-data-declarations"
4933
+ }
4931
4934
  },
4932
- "KupDataNewColumnOptions": {
4933
- "location": "import",
4934
- "path": "../../managers/kup-data/kup-data-declarations"
4935
- }
4935
+ "return": "Promise<void>"
4936
4936
  },
4937
- "return": "Promise<string | KupDataColumn>"
4937
+ "docs": {
4938
+ "text": "Hides the given column.",
4939
+ "tags": [{
4940
+ "name": "param",
4941
+ "text": "column - Column to hide."
4942
+ }]
4943
+ }
4938
4944
  },
4939
- "docs": {
4940
- "text": "Invokes the KupData API for column creation, then refreshes the component in case no errors were catched.",
4941
- "tags": [{
4942
- "name": "param",
4943
- "text": "type - Type of the column creation."
4944
- }, {
4945
- "name": "param",
4946
- "text": "options - Options of the creation."
4947
- }, {
4948
- "name": "returns",
4949
- "text": "Returns the new column created or a string containing the error message if something went wrong."
4950
- }]
4951
- }
4952
- },
4953
- "openColumnMenu": {
4954
- "complexType": {
4955
- "signature": "(column: string) => Promise<void>",
4956
- "parameters": [{
4957
- "tags": [{
4958
- "name": "param",
4959
- "text": "column - Name of the column."
4960
- }],
4961
- "text": "- Name of the column."
4962
- }],
4963
- "references": {
4964
- "Promise": {
4965
- "location": "global"
4966
- },
4967
- "CustomEvent": {
4968
- "location": "global"
4969
- },
4970
- "KupEventPayload": {
4971
- "location": "import",
4972
- "path": "../../types/GenericTypes"
4945
+ "newColumn": {
4946
+ "complexType": {
4947
+ "signature": "(type: KupDataNewColumnTypes, options: KupDataNewColumnOptions) => Promise<string | KupDataColumn>",
4948
+ "parameters": [{
4949
+ "tags": [{
4950
+ "name": "param",
4951
+ "text": "type - Type of the column creation."
4952
+ }],
4953
+ "text": "- Type of the column creation."
4954
+ }, {
4955
+ "tags": [{
4956
+ "name": "param",
4957
+ "text": "options - Options of the creation."
4958
+ }],
4959
+ "text": "- Options of the creation."
4960
+ }],
4961
+ "references": {
4962
+ "Promise": {
4963
+ "location": "global"
4964
+ },
4965
+ "KupDataColumn": {
4966
+ "location": "import",
4967
+ "path": "../../managers/kup-data/kup-data-declarations"
4968
+ },
4969
+ "KupDataNewColumnTypes": {
4970
+ "location": "import",
4971
+ "path": "../../managers/kup-data/kup-data-declarations"
4972
+ },
4973
+ "KupDataNewColumnOptions": {
4974
+ "location": "import",
4975
+ "path": "../../managers/kup-data/kup-data-declarations"
4976
+ }
4973
4977
  },
4974
- "KupCardEventPayload": {
4975
- "location": "import",
4976
- "path": "../kup-card/kup-card-declarations"
4977
- }
4978
+ "return": "Promise<string | KupDataColumn>"
4978
4979
  },
4979
- "return": "Promise<void>"
4980
+ "docs": {
4981
+ "text": "Invokes the KupData API for column creation, then refreshes the component in case no errors were catched.",
4982
+ "tags": [{
4983
+ "name": "param",
4984
+ "text": "type - Type of the column creation."
4985
+ }, {
4986
+ "name": "param",
4987
+ "text": "options - Options of the creation."
4988
+ }, {
4989
+ "name": "returns",
4990
+ "text": "Returns the new column created or a string containing the error message if something went wrong."
4991
+ }]
4992
+ }
4980
4993
  },
4981
- "docs": {
4982
- "text": "Opens the column menu of the given column.",
4983
- "tags": [{
4984
- "name": "param",
4985
- "text": "column - Name of the column."
4986
- }]
4987
- }
4988
- },
4989
- "refresh": {
4990
- "complexType": {
4991
- "signature": "() => Promise<void>",
4992
- "parameters": [],
4993
- "references": {
4994
- "Promise": {
4995
- "location": "global"
4996
- }
4994
+ "openColumnMenu": {
4995
+ "complexType": {
4996
+ "signature": "(column: string) => Promise<void>",
4997
+ "parameters": [{
4998
+ "tags": [{
4999
+ "name": "param",
5000
+ "text": "column - Name of the column."
5001
+ }],
5002
+ "text": "- Name of the column."
5003
+ }],
5004
+ "references": {
5005
+ "Promise": {
5006
+ "location": "global"
5007
+ },
5008
+ "CustomEvent": {
5009
+ "location": "global"
5010
+ },
5011
+ "KupEventPayload": {
5012
+ "location": "import",
5013
+ "path": "../../types/GenericTypes"
5014
+ },
5015
+ "KupCardEventPayload": {
5016
+ "location": "import",
5017
+ "path": "../kup-card/kup-card-declarations"
5018
+ }
5019
+ },
5020
+ "return": "Promise<void>"
4997
5021
  },
4998
- "return": "Promise<void>"
5022
+ "docs": {
5023
+ "text": "Opens the column menu of the given column.",
5024
+ "tags": [{
5025
+ "name": "param",
5026
+ "text": "column - Name of the column."
5027
+ }]
5028
+ }
4999
5029
  },
5000
- "docs": {
5001
- "text": "This method is used to trigger a new render of the component.",
5002
- "tags": []
5003
- }
5004
- },
5005
- "resizeCallback": {
5006
- "complexType": {
5007
- "signature": "() => Promise<void>",
5008
- "parameters": [],
5009
- "references": {
5010
- "Promise": {
5011
- "location": "global"
5012
- }
5030
+ "refresh": {
5031
+ "complexType": {
5032
+ "signature": "() => Promise<void>",
5033
+ "parameters": [],
5034
+ "references": {
5035
+ "Promise": {
5036
+ "location": "global"
5037
+ }
5038
+ },
5039
+ "return": "Promise<void>"
5013
5040
  },
5014
- "return": "Promise<void>"
5041
+ "docs": {
5042
+ "text": "This method is used to trigger a new render of the component.",
5043
+ "tags": []
5044
+ }
5015
5045
  },
5016
- "docs": {
5017
- "text": "This method is invoked by KupManager whenever the component changes size.",
5018
- "tags": []
5019
- }
5020
- },
5021
- "setFocus": {
5022
- "complexType": {
5023
- "signature": "(column: string, rowId: string) => Promise<void>",
5024
- "parameters": [{
5025
- "tags": [{
5026
- "name": "param",
5027
- "text": "column - Name of the column."
5028
- }],
5029
- "text": "- Name of the column."
5030
- }, {
5031
- "tags": [{
5032
- "name": "param",
5033
- "text": "rowId - Id of the row."
5034
- }],
5035
- "text": "- Id of the row."
5036
- }],
5037
- "references": {
5038
- "Promise": {
5039
- "location": "global"
5040
- }
5046
+ "resizeCallback": {
5047
+ "complexType": {
5048
+ "signature": "() => Promise<void>",
5049
+ "parameters": [],
5050
+ "references": {
5051
+ "Promise": {
5052
+ "location": "global"
5053
+ }
5054
+ },
5055
+ "return": "Promise<void>"
5041
5056
  },
5042
- "return": "Promise<void>"
5057
+ "docs": {
5058
+ "text": "This method is invoked by KupManager whenever the component changes size.",
5059
+ "tags": []
5060
+ }
5043
5061
  },
5044
- "docs": {
5045
- "text": "Sets the focus on an editable table cell.",
5046
- "tags": [{
5047
- "name": "param",
5048
- "text": "column - Name of the column."
5049
- }, {
5050
- "name": "param",
5051
- "text": "rowId - Id of the row."
5052
- }]
5053
- }
5054
- },
5055
- "setProps": {
5056
- "complexType": {
5057
- "signature": "(props: GenericObject) => Promise<void>",
5058
- "parameters": [{
5059
- "tags": [{
5060
- "name": "param",
5061
- "text": "props - Object containing props that will be set to the component."
5062
- }],
5063
- "text": "- Object containing props that will be set to the component."
5064
- }],
5065
- "references": {
5066
- "Promise": {
5067
- "location": "global"
5062
+ "setCellValue": {
5063
+ "complexType": {
5064
+ "signature": "(columnName: string, rowId: string, value: string) => Promise<void>",
5065
+ "parameters": [{
5066
+ "tags": [{
5067
+ "name": "param",
5068
+ "text": "columnName - Name of the column."
5069
+ }],
5070
+ "text": "- Name of the column."
5071
+ }, {
5072
+ "tags": [{
5073
+ "name": "param",
5074
+ "text": "rowId - Id of the row."
5075
+ }],
5076
+ "text": "- Id of the row."
5077
+ }, {
5078
+ "tags": [{
5079
+ "name": "param",
5080
+ "text": "value - Value to set."
5081
+ }],
5082
+ "text": "- Value to set."
5083
+ }],
5084
+ "references": {
5085
+ "Promise": {
5086
+ "location": "global"
5087
+ }
5068
5088
  },
5069
- "GenericObject": {
5070
- "location": "import",
5071
- "path": "../../types/GenericTypes"
5072
- }
5089
+ "return": "Promise<void>"
5073
5090
  },
5074
- "return": "Promise<void>"
5091
+ "docs": {
5092
+ "text": "Sets the cell value in a table cell.",
5093
+ "tags": [{
5094
+ "name": "param",
5095
+ "text": "columnName - Name of the column."
5096
+ }, {
5097
+ "name": "param",
5098
+ "text": "rowId - Id of the row."
5099
+ }, {
5100
+ "name": "param",
5101
+ "text": "value - Value to set."
5102
+ }]
5103
+ }
5075
5104
  },
5076
- "docs": {
5077
- "text": "Sets the props to the component.",
5078
- "tags": [{
5079
- "name": "param",
5080
- "text": "props - Object containing props that will be set to the component."
5081
- }]
5082
- }
5083
- },
5084
- "setSelectedRows": {
5085
- "complexType": {
5086
- "signature": "(rowsIdentifiers: string[] | number[], emitEvent?: boolean) => Promise<void>",
5087
- "parameters": [{
5088
- "tags": [{
5089
- "name": "param",
5090
- "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
5091
- }],
5092
- "text": "- Array of ids (dataset) or indexes (rendered rows)."
5093
- }, {
5094
- "tags": [{
5095
- "name": "param",
5096
- "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
5097
- }],
5098
- "text": "- The event will always be emitted unless emitEvent is set to false."
5099
- }],
5100
- "references": {
5101
- "Promise": {
5102
- "location": "global"
5103
- }
5105
+ "setFocus": {
5106
+ "complexType": {
5107
+ "signature": "(column: string, rowId: string) => Promise<void>",
5108
+ "parameters": [{
5109
+ "tags": [{
5110
+ "name": "param",
5111
+ "text": "column - Name of the column."
5112
+ }],
5113
+ "text": "- Name of the column."
5114
+ }, {
5115
+ "tags": [{
5116
+ "name": "param",
5117
+ "text": "rowId - Id of the row."
5118
+ }],
5119
+ "text": "- Id of the row."
5120
+ }],
5121
+ "references": {
5122
+ "Promise": {
5123
+ "location": "global"
5124
+ }
5125
+ },
5126
+ "return": "Promise<void>"
5104
5127
  },
5105
- "return": "Promise<void>"
5128
+ "docs": {
5129
+ "text": "Sets the focus on an editable table cell.",
5130
+ "tags": [{
5131
+ "name": "param",
5132
+ "text": "column - Name of the column."
5133
+ }, {
5134
+ "name": "param",
5135
+ "text": "rowId - Id of the row."
5136
+ }]
5137
+ }
5106
5138
  },
5107
- "docs": {
5108
- "text": "This method will set the selected rows of the component.",
5109
- "tags": [{
5110
- "name": "param",
5111
- "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
5112
- }, {
5113
- "name": "param",
5114
- "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
5115
- }]
5116
- }
5117
- },
5118
- "getInternalState": {
5119
- "complexType": {
5120
- "signature": "() => Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>",
5121
- "parameters": [],
5122
- "references": {
5123
- "Promise": {
5124
- "location": "global"
5125
- },
5126
- "GroupObject": {
5127
- "location": "import",
5128
- "path": "./kup-data-table-declarations"
5139
+ "setProps": {
5140
+ "complexType": {
5141
+ "signature": "(props: GenericObject) => Promise<void>",
5142
+ "parameters": [{
5143
+ "tags": [{
5144
+ "name": "param",
5145
+ "text": "props - Object containing props that will be set to the component."
5146
+ }],
5147
+ "text": "- Object containing props that will be set to the component."
5148
+ }],
5149
+ "references": {
5150
+ "Promise": {
5151
+ "location": "global"
5152
+ },
5153
+ "GenericObject": {
5154
+ "location": "import",
5155
+ "path": "../../types/GenericTypes"
5156
+ }
5129
5157
  },
5130
- "GenericFilter": {
5131
- "location": "import",
5132
- "path": "../../utils/filters/filters-declarations"
5158
+ "return": "Promise<void>"
5159
+ },
5160
+ "docs": {
5161
+ "text": "Sets the props to the component.",
5162
+ "tags": [{
5163
+ "name": "param",
5164
+ "text": "props - Object containing props that will be set to the component."
5165
+ }]
5166
+ }
5167
+ },
5168
+ "setSelectedRows": {
5169
+ "complexType": {
5170
+ "signature": "(rowsIdentifiers: string[] | number[], emitEvent?: boolean) => Promise<void>",
5171
+ "parameters": [{
5172
+ "tags": [{
5173
+ "name": "param",
5174
+ "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
5175
+ }],
5176
+ "text": "- Array of ids (dataset) or indexes (rendered rows)."
5177
+ }, {
5178
+ "tags": [{
5179
+ "name": "param",
5180
+ "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
5181
+ }],
5182
+ "text": "- The event will always be emitted unless emitEvent is set to false."
5183
+ }],
5184
+ "references": {
5185
+ "Promise": {
5186
+ "location": "global"
5187
+ }
5133
5188
  },
5134
- "KupDataTableDataset": {
5135
- "location": "import",
5136
- "path": "./kup-data-table-declarations"
5137
- }
5189
+ "return": "Promise<void>"
5138
5190
  },
5139
- "return": "Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>"
5191
+ "docs": {
5192
+ "text": "This method will set the selected rows of the component.",
5193
+ "tags": [{
5194
+ "name": "param",
5195
+ "text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
5196
+ }, {
5197
+ "name": "param",
5198
+ "text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
5199
+ }]
5200
+ }
5140
5201
  },
5141
- "docs": {
5142
- "text": "",
5143
- "tags": []
5144
- }
5145
- },
5146
- "defaultSortingFunction": {
5147
- "complexType": {
5148
- "signature": "(columns: KupDataColumn[], receivingColumnIndex: number, sortedColumnIndex: number, useNewObject?: boolean) => Promise<KupDataColumn[]>",
5149
- "parameters": [{
5150
- "tags": [],
5151
- "text": ""
5152
- }, {
5153
- "tags": [],
5154
- "text": ""
5155
- }, {
5156
- "tags": [],
5157
- "text": ""
5158
- }, {
5159
- "tags": [],
5160
- "text": ""
5161
- }],
5162
- "references": {
5163
- "Promise": {
5164
- "location": "global"
5202
+ "getInternalState": {
5203
+ "complexType": {
5204
+ "signature": "() => Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>",
5205
+ "parameters": [],
5206
+ "references": {
5207
+ "Promise": {
5208
+ "location": "global"
5209
+ },
5210
+ "GroupObject": {
5211
+ "location": "import",
5212
+ "path": "./kup-data-table-declarations"
5213
+ },
5214
+ "GenericFilter": {
5215
+ "location": "import",
5216
+ "path": "../../utils/filters/filters-declarations"
5217
+ },
5218
+ "KupDataTableDataset": {
5219
+ "location": "import",
5220
+ "path": "./kup-data-table-declarations"
5221
+ }
5165
5222
  },
5166
- "KupDataColumn": {
5167
- "location": "import",
5168
- "path": "../../managers/kup-data/kup-data-declarations"
5169
- }
5223
+ "return": "Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>"
5170
5224
  },
5171
- "return": "Promise<KupDataColumn[]>"
5225
+ "docs": {
5226
+ "text": "",
5227
+ "tags": []
5228
+ }
5172
5229
  },
5173
- "docs": {
5174
- "text": "",
5175
- "tags": []
5230
+ "defaultSortingFunction": {
5231
+ "complexType": {
5232
+ "signature": "(columns: KupDataColumn[], receivingColumnIndex: number, sortedColumnIndex: number, useNewObject?: boolean) => Promise<KupDataColumn[]>",
5233
+ "parameters": [{
5234
+ "tags": [],
5235
+ "text": ""
5236
+ }, {
5237
+ "tags": [],
5238
+ "text": ""
5239
+ }, {
5240
+ "tags": [],
5241
+ "text": ""
5242
+ }, {
5243
+ "tags": [],
5244
+ "text": ""
5245
+ }],
5246
+ "references": {
5247
+ "Promise": {
5248
+ "location": "global"
5249
+ },
5250
+ "KupDataColumn": {
5251
+ "location": "import",
5252
+ "path": "../../managers/kup-data/kup-data-declarations"
5253
+ }
5254
+ },
5255
+ "return": "Promise<KupDataColumn[]>"
5256
+ },
5257
+ "docs": {
5258
+ "text": "",
5259
+ "tags": []
5260
+ }
5176
5261
  }
5177
- }
5178
- }; }
5262
+ };
5263
+ }
5179
5264
  static get elementRef() { return "rootElement"; }
5180
- static get watchers() { return [{
5181
- "propName": "rowsPerPage",
5182
- "methodName": "rowsPerPageHandler"
5183
- }, {
5184
- "propName": "expandGroups",
5185
- "methodName": "expandGroupsHandler"
5186
- }, {
5187
- "propName": "filters",
5188
- "methodName": "filtersChanged"
5189
- }, {
5190
- "propName": "globalFilterValue",
5191
- "methodName": "filtersChanged"
5192
- }, {
5193
- "propName": "sort",
5194
- "methodName": "recalculateRows"
5195
- }, {
5196
- "propName": "rowsPerPage",
5197
- "methodName": "recalculateRows"
5198
- }, {
5199
- "propName": "totals",
5200
- "methodName": "recalculateRows"
5201
- }, {
5202
- "propName": "currentPage",
5203
- "methodName": "recalculateRows"
5204
- }, {
5205
- "propName": "currentRowsPerPage",
5206
- "methodName": "recalculateRows"
5207
- }, {
5208
- "propName": "data",
5209
- "methodName": "identifyAndInitRows"
5210
- }, {
5211
- "propName": "groups",
5212
- "methodName": "recalculateRowsAndUndoSelections"
5213
- }, {
5214
- "propName": "fixedColumns",
5215
- "methodName": "controlFixedRowsColumns"
5216
- }, {
5217
- "propName": "fixedRows",
5218
- "methodName": "controlFixedRowsColumns"
5219
- }, {
5220
- "propName": "transpose",
5221
- "methodName": "recalculateData"
5222
- }]; }
5265
+ static get watchers() {
5266
+ return [{
5267
+ "propName": "rowsPerPage",
5268
+ "methodName": "rowsPerPageHandler"
5269
+ }, {
5270
+ "propName": "expandGroups",
5271
+ "methodName": "expandGroupsHandler"
5272
+ }, {
5273
+ "propName": "filters",
5274
+ "methodName": "filtersChanged"
5275
+ }, {
5276
+ "propName": "globalFilterValue",
5277
+ "methodName": "filtersChanged"
5278
+ }, {
5279
+ "propName": "sort",
5280
+ "methodName": "recalculateRows"
5281
+ }, {
5282
+ "propName": "rowsPerPage",
5283
+ "methodName": "recalculateRows"
5284
+ }, {
5285
+ "propName": "totals",
5286
+ "methodName": "recalculateRows"
5287
+ }, {
5288
+ "propName": "currentPage",
5289
+ "methodName": "recalculateRows"
5290
+ }, {
5291
+ "propName": "currentRowsPerPage",
5292
+ "methodName": "recalculateRows"
5293
+ }, {
5294
+ "propName": "data",
5295
+ "methodName": "identifyAndInitRows"
5296
+ }, {
5297
+ "propName": "groups",
5298
+ "methodName": "recalculateRowsAndUndoSelections"
5299
+ }, {
5300
+ "propName": "fixedColumns",
5301
+ "methodName": "controlFixedRowsColumns"
5302
+ }, {
5303
+ "propName": "fixedRows",
5304
+ "methodName": "controlFixedRowsColumns"
5305
+ }, {
5306
+ "propName": "transpose",
5307
+ "methodName": "recalculateData"
5308
+ }];
5309
+ }
5223
5310
  }