@sme.up/ketchup 6.5.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 (209) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-4e2a0bb6.js → f-button-bf76ab95.js} +2 -2
  3. package/dist/cjs/{f-cell-1fc8a8b6.js → f-cell-b7a1524a.js} +25 -23
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-7867f17b.js → f-chip-a5e100b1.js} +3 -3
  6. package/dist/cjs/{f-image-6b7a6168.js → f-image-d80a2749.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-b7712403.js → f-paginator-utils-c70812fe.js} +3 -5
  8. package/dist/cjs/{f-text-field-153e827c.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 +433 -163
  13. package/dist/cjs/kup-box.cjs.entry.js +27 -16
  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 +19 -7
  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 +9 -9
  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-cfe2f36e.js → kup-manager-0e38bf48.js} +39 -26
  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/assets/card.js +12 -2
  37. package/dist/collection/collection-manifest.json +3 -3
  38. package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
  39. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
  40. package/dist/collection/components/kup-badge/kup-badge.js +176 -170
  41. package/dist/collection/components/kup-box/kup-box.js +907 -913
  42. package/dist/collection/components/kup-button/kup-button.css +1 -0
  43. package/dist/collection/components/kup-button/kup-button.js +379 -370
  44. package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
  45. package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
  46. package/dist/collection/components/kup-card/box/kup-card-box.js +115 -0
  47. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  48. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  49. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  50. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  51. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  52. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  53. package/dist/collection/components/kup-card/kup-card-declarations.js +2 -0
  54. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  55. package/dist/collection/components/kup-card/kup-card.css +140 -20
  56. package/dist/collection/components/kup-card/kup-card.js +352 -340
  57. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  58. package/dist/collection/components/kup-card/standard/kup-card-standard.js +96 -304
  59. package/dist/collection/components/kup-cell/kup-cell.js +221 -216
  60. package/dist/collection/components/kup-chart/kup-chart.js +547 -537
  61. package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
  62. package/dist/collection/components/kup-chip/kup-chip.js +240 -231
  63. package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
  64. package/dist/collection/components/kup-combobox/kup-combobox.js +458 -440
  65. package/dist/collection/components/kup-dash/kup-dash.js +110 -158
  66. package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
  67. package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
  68. package/dist/collection/components/kup-data-table/kup-data-table.js +1932 -1838
  69. package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
  72. package/dist/collection/components/kup-echart/kup-echart.js +436 -423
  73. package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +1 -0
  74. package/dist/collection/components/kup-family-tree/kup-family-tree.js +420 -398
  75. package/dist/collection/components/kup-form/kup-form.js +223 -225
  76. package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
  77. package/dist/collection/components/kup-grid/kup-grid.js +156 -153
  78. package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
  79. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  80. package/dist/collection/components/kup-image/kup-image.js +300 -295
  81. package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
  82. package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
  83. package/dist/collection/components/kup-list/kup-list.js +541 -504
  84. package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
  85. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
  86. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
  87. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
  88. package/dist/collection/components/kup-probe/kup-probe.js +87 -83
  89. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
  90. package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
  91. package/dist/collection/components/kup-radio/kup-radio.js +258 -255
  92. package/dist/collection/components/kup-rating/kup-rating.js +208 -197
  93. package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
  94. package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
  95. package/dist/collection/components/kup-switch/kup-switch.js +255 -246
  96. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
  97. package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
  98. package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
  99. package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -2
  100. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  101. package/dist/collection/components/kup-tree/kup-tree.js +1134 -1133
  102. package/dist/collection/f-components/f-button/f-button.js +11 -20
  103. package/dist/collection/f-components/f-cell/f-cell.js +23 -23
  104. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  105. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  106. package/dist/collection/f-components/f-image/f-image.js +1 -3
  107. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  108. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  109. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  110. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  111. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  112. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
  113. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  114. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  115. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  116. package/dist/esm/{f-button-a24e43dd.js → f-button-e79f7594.js} +2 -2
  117. package/dist/esm/{f-cell-ebbb0c06.js → f-cell-9400374e.js} +25 -23
  118. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  119. package/dist/esm/{f-chip-e2c38ba8.js → f-chip-bf740287.js} +3 -3
  120. package/dist/esm/{f-image-7e02e88f.js → f-image-ab3dc8cb.js} +2 -2
  121. package/dist/esm/{f-paginator-utils-e6d2638f.js → f-paginator-utils-6909e43b.js} +3 -5
  122. package/dist/esm/{f-text-field-8438a278.js → f-text-field-4841dfea.js} +2 -2
  123. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  124. package/dist/esm/ketchup.js +3 -3
  125. package/dist/esm/kup-accordion.entry.js +3 -3
  126. package/dist/esm/kup-autocomplete_25.entry.js +433 -163
  127. package/dist/esm/kup-box.entry.js +27 -16
  128. package/dist/esm/kup-calendar.entry.js +5 -5
  129. package/dist/esm/kup-cell.entry.js +7 -7
  130. package/dist/esm/kup-dash-list.entry.js +2 -2
  131. package/dist/esm/kup-dash_2.entry.js +2 -2
  132. package/dist/esm/kup-dashboard.entry.js +6 -6
  133. package/dist/esm/kup-drawer.entry.js +2 -2
  134. package/dist/esm/kup-echart.entry.js +2 -2
  135. package/dist/esm/kup-family-tree.entry.js +19 -7
  136. package/dist/esm/kup-form.entry.js +8 -8
  137. package/dist/esm/kup-iframe.entry.js +2 -2
  138. package/dist/esm/kup-image-list.entry.js +9 -9
  139. package/dist/esm/kup-lazy.entry.js +2 -2
  140. package/dist/esm/kup-magic-box.entry.js +3 -3
  141. package/dist/esm/{kup-manager-7c27e90e.js → kup-manager-c54e6df5.js} +22 -9
  142. package/dist/esm/kup-nav-bar.entry.js +2 -2
  143. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  144. package/dist/esm/kup-photo-frame.entry.js +2 -2
  145. package/dist/esm/kup-probe.entry.js +2 -2
  146. package/dist/esm/kup-qlik.entry.js +2 -2
  147. package/dist/esm/kup-snackbar.entry.js +4 -4
  148. package/dist/esm/loader.js +3 -3
  149. package/dist/esm/polyfills/css-shim.js +1 -1
  150. package/dist/ketchup/ketchup.esm.js +1 -1
  151. package/dist/ketchup/{p-191096ff.entry.js → p-182b869e.entry.js} +1 -1
  152. package/dist/ketchup/p-1dfd2a51.js +30 -0
  153. package/dist/ketchup/{p-b502b91b.entry.js → p-1f5c7f21.entry.js} +1 -1
  154. package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
  155. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  156. package/dist/ketchup/{p-26acb448.js → p-25bf0cb6.js} +1 -1
  157. package/dist/ketchup/{p-601a50db.entry.js → p-260ff835.entry.js} +1 -1
  158. package/dist/ketchup/{p-5a703573.entry.js → p-2e184b57.entry.js} +1 -1
  159. package/dist/ketchup/{p-45415b72.entry.js → p-30a63b85.entry.js} +1 -1
  160. package/dist/ketchup/{p-cc663bad.entry.js → p-313e376b.entry.js} +1 -1
  161. package/dist/ketchup/{p-e0ed3fd7.entry.js → p-41620707.entry.js} +1 -1
  162. package/dist/ketchup/{p-25875aa1.entry.js → p-4a0ccf18.entry.js} +1 -1
  163. package/dist/ketchup/{p-3decc8e4.js → p-4f0d3062.js} +1 -1
  164. package/dist/ketchup/p-4fdb684f.js +2 -0
  165. package/dist/ketchup/{p-52590a90.entry.js → p-53d3ae80.entry.js} +1 -1
  166. package/dist/ketchup/{p-92595296.js → p-5bea2971.js} +1 -1
  167. package/dist/ketchup/{p-a782ebd1.entry.js → p-60fa0ccf.entry.js} +1 -1
  168. package/dist/ketchup/p-6333388c.js +1 -0
  169. package/dist/ketchup/{p-2003a841.entry.js → p-6bd57787.entry.js} +1 -1
  170. package/dist/ketchup/p-758d03f4.entry.js +1 -0
  171. package/dist/ketchup/{p-2f009c42.entry.js → p-7e7b6127.entry.js} +1 -1
  172. package/dist/ketchup/p-8386e3db.entry.js +1 -0
  173. package/dist/ketchup/{p-23111c8d.entry.js → p-859163c2.entry.js} +1 -1
  174. package/dist/ketchup/{p-97f28bbd.entry.js → p-8e1fa7a8.entry.js} +6 -6
  175. package/dist/ketchup/{p-ca98059c.entry.js → p-90860d9e.entry.js} +1 -1
  176. package/dist/ketchup/{p-b131b257.entry.js → p-b7fdc7aa.entry.js} +1 -1
  177. package/dist/ketchup/{p-3138cabb.entry.js → p-bffaef6e.entry.js} +1 -1
  178. package/dist/ketchup/p-c35c5e05.js +1 -0
  179. package/dist/ketchup/{p-1468bf09.js → p-e1d0ea71.js} +1 -1
  180. package/dist/ketchup/p-f9d5e553.entry.js +1 -0
  181. package/dist/ketchup/{p-69dd11da.entry.js → p-fb4d772a.entry.js} +1 -1
  182. package/dist/loader/package.json +1 -0
  183. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  184. package/dist/types/components/kup-card/box/kup-card-box.d.ts +26 -0
  185. package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
  186. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  187. package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +0 -6
  188. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -1
  189. package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
  190. package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -0
  191. package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +5 -0
  192. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  193. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  194. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +0 -4
  195. package/dist/types/components/kup-tree/kup-tree.d.ts +18 -12
  196. package/dist/types/components.d.ts +43 -16
  197. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  198. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  199. package/dist/types/stencil-public-runtime.d.ts +15 -4
  200. package/package.json +3 -2
  201. package/CHANGELOG.md +0 -5
  202. package/dist/ketchup/p-753c82d8.js +0 -1
  203. package/dist/ketchup/p-77600efd.entry.js +0 -9
  204. package/dist/ketchup/p-88722265.js +0 -1
  205. package/dist/ketchup/p-9027e5ac.js +0 -30
  206. package/dist/ketchup/p-aa564df8.entry.js +0 -1
  207. package/dist/ketchup/p-b0b3989b.js +0 -2
  208. package/dist/ketchup/p-b238f9ea.entry.js +0 -1
  209. package/dist/ketchup/p-b4f85d34.entry.js +0 -1
@@ -1,4 +1,4 @@
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 { SortMode, } from '../kup-data-table/kup-data-table-declarations';
3
3
  import { KupBoxProps, } from './kup-box-declarations';
4
4
  import { getColumnByName } from '../../utils/cell-utils';
@@ -383,12 +383,24 @@ export class KupBox {
383
383
  let column = null;
384
384
  if (el) {
385
385
  boxObject =
386
- el.closest('.box-object') || el.querySelector('.box-object');
386
+ el.closest('.box-object') ||
387
+ el.querySelector('.box-object') ||
388
+ el.closest('.f-cell');
387
389
  }
388
390
  if (boxObject) {
389
- cell = boxObject['data-cell'];
390
- row = boxObject['data-row'];
391
- column = getColumnByName(this.visibleColumns, boxObject.dataset.column);
391
+ if (boxObject.classList.contains('f-cell')) {
392
+ const props = boxObject['kup-get-cell-props']();
393
+ cell = props.cell;
394
+ column = props.column;
395
+ row = props.row;
396
+ }
397
+ else {
398
+ cell = boxObject['data-cell'];
399
+ row = boxObject['data-row'];
400
+ column = getColumnByName(this.visibleColumns, boxObject.dataset.column);
401
+ }
402
+ }
403
+ else {
392
404
  }
393
405
  return {
394
406
  boxObject: boxObject ? boxObject : null,
@@ -598,7 +610,7 @@ export class KupBox {
598
610
  for (const key in row.cells) {
599
611
  if (row.cells.hasOwnProperty(key)) {
600
612
  const cell = row.cells[key];
601
- if (cell.cardID !== undefined) {
613
+ if (cell.cardID !== undefined && cell.obj) {
602
614
  switch (cell.obj.p) {
603
615
  case 'BTN':
604
616
  do {
@@ -638,7 +650,7 @@ export class KupBox {
638
650
  for (const key in row.cells) {
639
651
  if (row.cells.hasOwnProperty(key)) {
640
652
  const cell = row.cells[key];
641
- if (cell.cardID === undefined) {
653
+ if (cell.cardID === undefined && cell.obj) {
642
654
  skipPush = false;
643
655
  switch (cell.obj.p) {
644
656
  case 'BTN':
@@ -759,8 +771,7 @@ export class KupBox {
759
771
  }
760
772
  let multiSel = null;
761
773
  if (this.multiSelection) {
762
- multiSel = (h("div", { class: "box-selection" },
763
- h("kup-checkbox", { checked: isSelected })));
774
+ multiSel = (h("div", { class: "box-selection" }, h("kup-checkbox", { checked: isSelected })));
764
775
  }
765
776
  let rowObject = null;
766
777
  if (this.enableRowActions && !this.swipeDisabled) {
@@ -772,17 +783,11 @@ export class KupBox {
772
783
  if (row.actions) {
773
784
  const actionItems = row.actions.map((item, index) => {
774
785
  const iconClass = `icon ${item.icon}`;
775
- return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) },
776
- h("div", { class: iconClass }),
777
- h("div", { class: "text" }, item.text)));
786
+ return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) }, h("div", { class: iconClass }), h("div", { class: "text" }, item.text)));
778
787
  });
779
788
  rowActionMenuContent = h("ul", null, actionItems);
780
789
  }
781
- rowObject = (h("div", { class: "row-actions-wrapper" },
782
- h("div", { class: "row-actions-toggler" },
783
- h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) },
784
- h("path", { d: "M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" })),
785
- h("div", { class: menuClass }, rowActionMenuContent))));
790
+ rowObject = (h("div", { class: "row-actions-wrapper" }, h("div", { class: "row-actions-toggler" }, h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) }, h("path", { d: "M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" })), h("div", { class: menuClass }, rowActionMenuContent))));
786
791
  }
787
792
  let badges = null;
788
793
  if (row.badgeData && row.badgeData.length > 0) {
@@ -796,12 +801,8 @@ export class KupBox {
796
801
  selected: this.showSelection && isSelected,
797
802
  column: !horizontal,
798
803
  };
799
- return (h("div", { class: "box-wrapper" },
800
- h("div", { class: boxClass, onClick: (e) => this.onBoxClick(e, row), ref: (el) => this.rowsRefs.push(el) },
801
- multiSel,
802
- boxContent,
803
- badges),
804
- rowObject));
804
+ const rowStyle = row.style || {};
805
+ return (h("div", { class: "box-wrapper", style: rowStyle }, h("div", { class: boxClass, onClick: (e) => this.onBoxClick(e, row), ref: (el) => this.rowsRefs.push(el) }, multiSel, boxContent, badges), rowObject));
805
806
  }
806
807
  renderSection(section, parent, row, visibleColumns) {
807
808
  let sectionContent = null;
@@ -881,21 +882,14 @@ export class KupBox {
881
882
  else {
882
883
  headerTitle = this.kupManager.language.translate(KupLanguageGeneric.EXPAND);
883
884
  }
884
- sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
885
- h("div", { class: contentClass }, sectionContent),
886
- h("div", { class: "header", role: "button", onClick: (e) => {
887
- e.stopPropagation();
888
- this.toggleSectionExpand(row, section);
889
- } },
890
- h("div", { class: "header-content" },
891
- h("span", null, headerTitle),
892
- h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
885
+ sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, h("div", { class: contentClass }, sectionContent), h("div", { class: "header", role: "button", onClick: (e) => {
886
+ e.stopPropagation();
887
+ this.toggleSectionExpand(row, section);
888
+ } }, h("div", { class: "header-content" }, h("span", null, headerTitle), h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
893
889
  }
894
890
  else {
895
891
  const title = section.title ? h("h3", null, section.title) : null;
896
- sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
897
- title,
898
- sectionContent));
892
+ sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, title, sectionContent));
899
893
  }
900
894
  return sectionContainer;
901
895
  }
@@ -950,9 +944,7 @@ export class KupBox {
950
944
  if (!this.kanban.columns || this.kanban.columns.length === 0) {
951
945
  this.kupManager.debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
952
946
  return {
953
- jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" },
954
- h("div", { ref: (el) => this.rowsRefs.push(el) }),
955
- this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
947
+ jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { ref: (el) => this.rowsRefs.push(el) }), this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
956
948
  style: { 'grid-template-columns': `repeat(1, 1fr)` },
957
949
  };
958
950
  }
@@ -1021,9 +1013,7 @@ export class KupBox {
1021
1013
  id: sortingKey[index],
1022
1014
  });
1023
1015
  }
1024
- kanbanJSX.push(h("div", { class: "kanban-section" },
1025
- h(FChip, Object.assign({}, props)),
1026
- kanbanSections[index].nodes));
1016
+ kanbanJSX.push(h("div", { class: "kanban-section" }, h(FChip, Object.assign({}, props)), kanbanSections[index].nodes));
1027
1017
  }
1028
1018
  return {
1029
1019
  jsx: kanbanJSX,
@@ -1207,16 +1197,14 @@ export class KupBox {
1207
1197
  'kup-text-field': textfieldData,
1208
1198
  'kup-list': listData,
1209
1199
  };
1210
- sortPanel = (h("div", { id: "sort-panel" },
1211
- h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
1200
+ sortPanel = (h("div", { id: "sort-panel" }, h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
1212
1201
  }
1213
1202
  let filterPanel = null;
1214
1203
  if (this.globalFilter) {
1215
- filterPanel = (h("div", { id: "global-filter" },
1216
- h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
1217
- window.clearTimeout(this.globalFilterTimeout);
1218
- this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1219
- } })));
1204
+ filterPanel = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
1205
+ window.clearTimeout(this.globalFilterTimeout);
1206
+ this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1207
+ } })));
1220
1208
  }
1221
1209
  let paginator = null;
1222
1210
  if (this.pagination) {
@@ -1227,8 +1215,7 @@ export class KupBox {
1227
1215
  let boxContent = null;
1228
1216
  let containerStyle = {};
1229
1217
  if (this.rows.length === 0) {
1230
- boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" },
1231
- h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1218
+ boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
1232
1219
  containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
1233
1220
  }
1234
1221
  else if (isKanban) {
@@ -1248,17 +1235,10 @@ export class KupBox {
1248
1235
  boxContent.push(this.renderRow(rows[cnt++]));
1249
1236
  }
1250
1237
  }
1251
- return (h(Host, null,
1252
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
1253
- h("div", { id: componentWrapperId },
1254
- h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) },
1255
- sortPanel,
1256
- filterPanel,
1257
- paginator,
1258
- h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
1259
- e.preventDefault();
1260
- }, ref: (el) => (this.boxContainer =
1261
- el) }, boxContent)))));
1238
+ return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) }, sortPanel, filterPanel, paginator, h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
1239
+ e.preventDefault();
1240
+ }, ref: (el) => (this.boxContainer =
1241
+ el) }, boxContent)))));
1262
1242
  }
1263
1243
  disconnectedCallback() {
1264
1244
  this.kupManager.interact.unregister(this.interactableDrag.concat(this.interactableDrop));
@@ -1273,894 +1253,908 @@ export class KupBox {
1273
1253
  }
1274
1254
  static get is() { return "kup-box"; }
1275
1255
  static get encapsulation() { return "shadow"; }
1276
- static get originalStyleUrls() { return {
1277
- "$": ["kup-box.scss"]
1278
- }; }
1279
- static get styleUrls() { return {
1280
- "$": ["kup-box.css"]
1281
- }; }
1282
- static get properties() { return {
1283
- "cardData": {
1284
- "type": "unknown",
1285
- "mutable": false,
1286
- "complexType": {
1287
- "original": "GenericObject",
1288
- "resolved": "GenericObject",
1289
- "references": {
1290
- "GenericObject": {
1291
- "location": "import",
1292
- "path": "../../types/GenericTypes"
1256
+ static get originalStyleUrls() {
1257
+ return {
1258
+ "$": ["kup-box.scss"]
1259
+ };
1260
+ }
1261
+ static get styleUrls() {
1262
+ return {
1263
+ "$": ["kup-box.css"]
1264
+ };
1265
+ }
1266
+ static get properties() {
1267
+ return {
1268
+ "cardData": {
1269
+ "type": "unknown",
1270
+ "mutable": false,
1271
+ "complexType": {
1272
+ "original": "GenericObject",
1273
+ "resolved": "GenericObject",
1274
+ "references": {
1275
+ "GenericObject": {
1276
+ "location": "import",
1277
+ "path": "../../types/GenericTypes"
1278
+ }
1293
1279
  }
1294
- }
1295
- },
1296
- "required": false,
1297
- "optional": false,
1298
- "docs": {
1299
- "tags": [{
1300
- "name": "default",
1301
- "text": "null"
1302
- }],
1303
- "text": "Data of the card linked to the box when the latter's layout must be a premade template."
1304
- },
1305
- "defaultValue": "null"
1306
- },
1307
- "columns": {
1308
- "type": "number",
1309
- "mutable": false,
1310
- "complexType": {
1311
- "original": "number",
1312
- "resolved": "number",
1313
- "references": {}
1314
- },
1315
- "required": false,
1316
- "optional": false,
1317
- "docs": {
1318
- "tags": [{
1319
- "name": "default",
1320
- "text": "1"
1321
- }],
1322
- "text": "Number of columns"
1323
- },
1324
- "attribute": "columns",
1325
- "reflect": false,
1326
- "defaultValue": "1"
1327
- },
1328
- "customStyle": {
1329
- "type": "string",
1330
- "mutable": false,
1331
- "complexType": {
1332
- "original": "string",
1333
- "resolved": "string",
1334
- "references": {}
1335
- },
1336
- "required": false,
1337
- "optional": false,
1338
- "docs": {
1339
- "tags": [{
1340
- "name": "default",
1341
- "text": "\"\""
1342
- }, {
1343
- "name": "see",
1344
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1345
- }],
1346
- "text": "Custom style of the component."
1347
- },
1348
- "attribute": "custom-style",
1349
- "reflect": false,
1350
- "defaultValue": "''"
1351
- },
1352
- "data": {
1353
- "type": "unknown",
1354
- "mutable": false,
1355
- "complexType": {
1356
- "original": "KupBoxData",
1357
- "resolved": "KupBoxData",
1358
- "references": {
1359
- "KupBoxData": {
1360
- "location": "import",
1361
- "path": "./kup-box-declarations"
1280
+ },
1281
+ "required": false,
1282
+ "optional": false,
1283
+ "docs": {
1284
+ "tags": [{
1285
+ "name": "default",
1286
+ "text": "null"
1287
+ }],
1288
+ "text": "Data of the card linked to the box when the latter's layout must be a premade template."
1289
+ },
1290
+ "defaultValue": "null"
1291
+ },
1292
+ "columns": {
1293
+ "type": "number",
1294
+ "mutable": false,
1295
+ "complexType": {
1296
+ "original": "number",
1297
+ "resolved": "number",
1298
+ "references": {}
1299
+ },
1300
+ "required": false,
1301
+ "optional": false,
1302
+ "docs": {
1303
+ "tags": [{
1304
+ "name": "default",
1305
+ "text": "1"
1306
+ }],
1307
+ "text": "Number of columns"
1308
+ },
1309
+ "attribute": "columns",
1310
+ "reflect": false,
1311
+ "defaultValue": "1"
1312
+ },
1313
+ "customStyle": {
1314
+ "type": "string",
1315
+ "mutable": false,
1316
+ "complexType": {
1317
+ "original": "string",
1318
+ "resolved": "string",
1319
+ "references": {}
1320
+ },
1321
+ "required": false,
1322
+ "optional": false,
1323
+ "docs": {
1324
+ "tags": [{
1325
+ "name": "default",
1326
+ "text": "\"\""
1327
+ }, {
1328
+ "name": "see",
1329
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1330
+ }],
1331
+ "text": "Custom style of the component."
1332
+ },
1333
+ "attribute": "custom-style",
1334
+ "reflect": false,
1335
+ "defaultValue": "''"
1336
+ },
1337
+ "data": {
1338
+ "type": "unknown",
1339
+ "mutable": false,
1340
+ "complexType": {
1341
+ "original": "KupBoxData",
1342
+ "resolved": "KupBoxData",
1343
+ "references": {
1344
+ "KupBoxData": {
1345
+ "location": "import",
1346
+ "path": "./kup-box-declarations"
1347
+ }
1362
1348
  }
1363
- }
1364
- },
1365
- "required": false,
1366
- "optional": false,
1367
- "docs": {
1368
- "tags": [{
1369
- "name": "default",
1370
- "text": "null"
1371
- }],
1372
- "text": "Actual data of the box."
1373
- },
1374
- "defaultValue": "null"
1375
- },
1376
- "dragEnabled": {
1377
- "type": "boolean",
1378
- "mutable": false,
1379
- "complexType": {
1380
- "original": "boolean",
1381
- "resolved": "boolean",
1382
- "references": {}
1383
- },
1384
- "required": false,
1385
- "optional": false,
1386
- "docs": {
1387
- "tags": [{
1388
- "name": "default",
1389
- "text": "false"
1390
- }],
1391
- "text": "Enable dragging"
1392
- },
1393
- "attribute": "drag-enabled",
1394
- "reflect": false,
1395
- "defaultValue": "false"
1396
- },
1397
- "dropEnabled": {
1398
- "type": "boolean",
1399
- "mutable": false,
1400
- "complexType": {
1401
- "original": "boolean",
1402
- "resolved": "boolean",
1403
- "references": {}
1404
- },
1405
- "required": false,
1406
- "optional": false,
1407
- "docs": {
1408
- "tags": [{
1409
- "name": "default",
1410
- "text": "false"
1411
- }],
1412
- "text": "Enable dropping"
1413
- },
1414
- "attribute": "drop-enabled",
1415
- "reflect": false,
1416
- "defaultValue": "false"
1417
- },
1418
- "dropOnSection": {
1419
- "type": "boolean",
1420
- "mutable": false,
1421
- "complexType": {
1422
- "original": "boolean",
1423
- "resolved": "boolean",
1424
- "references": {}
1425
- },
1426
- "required": false,
1427
- "optional": false,
1428
- "docs": {
1429
- "tags": [{
1430
- "name": "default",
1431
- "text": "false"
1432
- }],
1433
- "text": "Drop can be done in section"
1434
- },
1435
- "attribute": "drop-on-section",
1436
- "reflect": false,
1437
- "defaultValue": "false"
1438
- },
1439
- "editableData": {
1440
- "type": "boolean",
1441
- "mutable": false,
1442
- "complexType": {
1443
- "original": "boolean",
1444
- "resolved": "boolean",
1445
- "references": {}
1446
- },
1447
- "required": false,
1448
- "optional": false,
1449
- "docs": {
1450
- "tags": [{
1451
- "name": "default",
1452
- "text": "false"
1453
- }],
1454
- "text": "When set to true, editable cells will be rendered using input components."
1455
- },
1456
- "attribute": "editable-data",
1457
- "reflect": false,
1458
- "defaultValue": "false"
1459
- },
1460
- "enableRowActions": {
1461
- "type": "boolean",
1462
- "mutable": false,
1463
- "complexType": {
1464
- "original": "boolean",
1465
- "resolved": "boolean",
1466
- "references": {}
1467
- },
1468
- "required": false,
1469
- "optional": false,
1470
- "docs": {
1471
- "tags": [{
1472
- "name": "default",
1473
- "text": "false"
1474
- }],
1475
- "text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
1476
- },
1477
- "attribute": "enable-row-actions",
1478
- "reflect": false,
1479
- "defaultValue": "false"
1480
- },
1481
- "globalFilter": {
1482
- "type": "boolean",
1483
- "mutable": false,
1484
- "complexType": {
1485
- "original": "boolean",
1486
- "resolved": "boolean",
1487
- "references": {}
1488
- },
1489
- "required": false,
1490
- "optional": false,
1491
- "docs": {
1492
- "tags": [{
1493
- "name": "default",
1494
- "text": "false"
1495
- }],
1496
- "text": "When set to true it activates the global filter."
1497
- },
1498
- "attribute": "global-filter",
1499
- "reflect": false,
1500
- "defaultValue": "false"
1501
- },
1502
- "globalFilterValue": {
1503
- "type": "string",
1504
- "mutable": true,
1505
- "complexType": {
1506
- "original": "string",
1507
- "resolved": "string",
1508
- "references": {}
1509
- },
1510
- "required": false,
1511
- "optional": false,
1512
- "docs": {
1513
- "tags": [{
1514
- "name": "default",
1515
- "text": "\"\""
1516
- }],
1517
- "text": "The value of the global filter."
1518
- },
1519
- "attribute": "global-filter-value",
1520
- "reflect": true,
1521
- "defaultValue": "''"
1522
- },
1523
- "kanban": {
1524
- "type": "unknown",
1525
- "mutable": false,
1526
- "complexType": {
1527
- "original": "KupBoxKanban",
1528
- "resolved": "KupBoxKanban",
1529
- "references": {
1530
- "KupBoxKanban": {
1531
- "location": "import",
1532
- "path": "./kup-box-declarations"
1349
+ },
1350
+ "required": false,
1351
+ "optional": false,
1352
+ "docs": {
1353
+ "tags": [{
1354
+ "name": "default",
1355
+ "text": "null"
1356
+ }],
1357
+ "text": "Actual data of the box."
1358
+ },
1359
+ "defaultValue": "null"
1360
+ },
1361
+ "dragEnabled": {
1362
+ "type": "boolean",
1363
+ "mutable": false,
1364
+ "complexType": {
1365
+ "original": "boolean",
1366
+ "resolved": "boolean",
1367
+ "references": {}
1368
+ },
1369
+ "required": false,
1370
+ "optional": false,
1371
+ "docs": {
1372
+ "tags": [{
1373
+ "name": "default",
1374
+ "text": "false"
1375
+ }],
1376
+ "text": "Enable dragging"
1377
+ },
1378
+ "attribute": "drag-enabled",
1379
+ "reflect": false,
1380
+ "defaultValue": "false"
1381
+ },
1382
+ "dropEnabled": {
1383
+ "type": "boolean",
1384
+ "mutable": false,
1385
+ "complexType": {
1386
+ "original": "boolean",
1387
+ "resolved": "boolean",
1388
+ "references": {}
1389
+ },
1390
+ "required": false,
1391
+ "optional": false,
1392
+ "docs": {
1393
+ "tags": [{
1394
+ "name": "default",
1395
+ "text": "false"
1396
+ }],
1397
+ "text": "Enable dropping"
1398
+ },
1399
+ "attribute": "drop-enabled",
1400
+ "reflect": false,
1401
+ "defaultValue": "false"
1402
+ },
1403
+ "dropOnSection": {
1404
+ "type": "boolean",
1405
+ "mutable": false,
1406
+ "complexType": {
1407
+ "original": "boolean",
1408
+ "resolved": "boolean",
1409
+ "references": {}
1410
+ },
1411
+ "required": false,
1412
+ "optional": false,
1413
+ "docs": {
1414
+ "tags": [{
1415
+ "name": "default",
1416
+ "text": "false"
1417
+ }],
1418
+ "text": "Drop can be done in section"
1419
+ },
1420
+ "attribute": "drop-on-section",
1421
+ "reflect": false,
1422
+ "defaultValue": "false"
1423
+ },
1424
+ "editableData": {
1425
+ "type": "boolean",
1426
+ "mutable": false,
1427
+ "complexType": {
1428
+ "original": "boolean",
1429
+ "resolved": "boolean",
1430
+ "references": {}
1431
+ },
1432
+ "required": false,
1433
+ "optional": false,
1434
+ "docs": {
1435
+ "tags": [{
1436
+ "name": "default",
1437
+ "text": "false"
1438
+ }],
1439
+ "text": "When set to true, editable cells will be rendered using input components."
1440
+ },
1441
+ "attribute": "editable-data",
1442
+ "reflect": false,
1443
+ "defaultValue": "false"
1444
+ },
1445
+ "enableRowActions": {
1446
+ "type": "boolean",
1447
+ "mutable": false,
1448
+ "complexType": {
1449
+ "original": "boolean",
1450
+ "resolved": "boolean",
1451
+ "references": {}
1452
+ },
1453
+ "required": false,
1454
+ "optional": false,
1455
+ "docs": {
1456
+ "tags": [{
1457
+ "name": "default",
1458
+ "text": "false"
1459
+ }],
1460
+ "text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
1461
+ },
1462
+ "attribute": "enable-row-actions",
1463
+ "reflect": false,
1464
+ "defaultValue": "false"
1465
+ },
1466
+ "globalFilter": {
1467
+ "type": "boolean",
1468
+ "mutable": false,
1469
+ "complexType": {
1470
+ "original": "boolean",
1471
+ "resolved": "boolean",
1472
+ "references": {}
1473
+ },
1474
+ "required": false,
1475
+ "optional": false,
1476
+ "docs": {
1477
+ "tags": [{
1478
+ "name": "default",
1479
+ "text": "false"
1480
+ }],
1481
+ "text": "When set to true it activates the global filter."
1482
+ },
1483
+ "attribute": "global-filter",
1484
+ "reflect": false,
1485
+ "defaultValue": "false"
1486
+ },
1487
+ "globalFilterValue": {
1488
+ "type": "string",
1489
+ "mutable": true,
1490
+ "complexType": {
1491
+ "original": "string",
1492
+ "resolved": "string",
1493
+ "references": {}
1494
+ },
1495
+ "required": false,
1496
+ "optional": false,
1497
+ "docs": {
1498
+ "tags": [{
1499
+ "name": "default",
1500
+ "text": "\"\""
1501
+ }],
1502
+ "text": "The value of the global filter."
1503
+ },
1504
+ "attribute": "global-filter-value",
1505
+ "reflect": true,
1506
+ "defaultValue": "''"
1507
+ },
1508
+ "kanban": {
1509
+ "type": "unknown",
1510
+ "mutable": false,
1511
+ "complexType": {
1512
+ "original": "KupBoxKanban",
1513
+ "resolved": "KupBoxKanban",
1514
+ "references": {
1515
+ "KupBoxKanban": {
1516
+ "location": "import",
1517
+ "path": "./kup-box-declarations"
1518
+ }
1533
1519
  }
1534
- }
1535
- },
1536
- "required": false,
1537
- "optional": false,
1538
- "docs": {
1539
- "tags": [{
1540
- "name": "default",
1541
- "text": "null"
1542
- }],
1543
- "text": "Displays the boxlist as a Kanban."
1544
- },
1545
- "defaultValue": "null"
1546
- },
1547
- "layout": {
1548
- "type": "unknown",
1549
- "mutable": false,
1550
- "complexType": {
1551
- "original": "KupBoxLayout",
1552
- "resolved": "KupBoxLayout",
1553
- "references": {
1554
- "KupBoxLayout": {
1555
- "location": "import",
1556
- "path": "./kup-box-declarations"
1520
+ },
1521
+ "required": false,
1522
+ "optional": false,
1523
+ "docs": {
1524
+ "tags": [{
1525
+ "name": "default",
1526
+ "text": "null"
1527
+ }],
1528
+ "text": "Displays the boxlist as a Kanban."
1529
+ },
1530
+ "defaultValue": "null"
1531
+ },
1532
+ "layout": {
1533
+ "type": "unknown",
1534
+ "mutable": false,
1535
+ "complexType": {
1536
+ "original": "KupBoxLayout",
1537
+ "resolved": "KupBoxLayout",
1538
+ "references": {
1539
+ "KupBoxLayout": {
1540
+ "location": "import",
1541
+ "path": "./kup-box-declarations"
1542
+ }
1557
1543
  }
1544
+ },
1545
+ "required": false,
1546
+ "optional": false,
1547
+ "docs": {
1548
+ "tags": [{
1549
+ "name": "default",
1550
+ "text": "undefined"
1551
+ }],
1552
+ "text": "How the field will be displayed. If not present, a default one will be created."
1558
1553
  }
1559
1554
  },
1560
- "required": false,
1561
- "optional": false,
1562
- "docs": {
1563
- "tags": [{
1564
- "name": "default",
1565
- "text": "undefined"
1566
- }],
1567
- "text": "How the field will be displayed. If not present, a default one will be created."
1568
- }
1569
- },
1570
- "multiSelection": {
1571
- "type": "boolean",
1572
- "mutable": false,
1573
- "complexType": {
1574
- "original": "boolean",
1575
- "resolved": "boolean",
1576
- "references": {}
1577
- },
1578
- "required": false,
1579
- "optional": false,
1580
- "docs": {
1581
- "tags": [{
1582
- "name": "default",
1583
- "text": "false"
1584
- }],
1585
- "text": "Enable multi selection"
1586
- },
1587
- "attribute": "multi-selection",
1588
- "reflect": false,
1589
- "defaultValue": "false"
1590
- },
1591
- "pageSelected": {
1592
- "type": "number",
1593
- "mutable": false,
1594
- "complexType": {
1595
- "original": "number",
1596
- "resolved": "number",
1597
- "references": {}
1598
- },
1599
- "required": false,
1600
- "optional": false,
1601
- "docs": {
1602
- "tags": [{
1603
- "name": "default",
1604
- "text": "1"
1605
- }],
1606
- "text": "Current page number"
1607
- },
1608
- "attribute": "page-selected",
1609
- "reflect": false,
1610
- "defaultValue": "1"
1611
- },
1612
- "pageSize": {
1613
- "type": "number",
1614
- "mutable": false,
1615
- "complexType": {
1616
- "original": "number",
1617
- "resolved": "number",
1618
- "references": {}
1619
- },
1620
- "required": false,
1621
- "optional": false,
1622
- "docs": {
1623
- "tags": [{
1624
- "name": "default",
1625
- "text": "10"
1626
- }],
1627
- "text": "Number of boxes per page"
1628
- },
1629
- "attribute": "page-size",
1630
- "reflect": false,
1631
- "defaultValue": "10"
1632
- },
1633
- "pagination": {
1634
- "type": "boolean",
1635
- "mutable": false,
1636
- "complexType": {
1637
- "original": "boolean",
1638
- "resolved": "boolean",
1639
- "references": {}
1640
- },
1641
- "required": false,
1642
- "optional": false,
1643
- "docs": {
1644
- "tags": [{
1645
- "name": "default",
1646
- "text": "false"
1647
- }],
1648
- "text": "Enables pagination"
1649
- },
1650
- "attribute": "pagination",
1651
- "reflect": false,
1652
- "defaultValue": "false"
1653
- },
1654
- "rowsPerPage": {
1655
- "type": "number",
1656
- "mutable": false,
1657
- "complexType": {
1658
- "original": "number",
1659
- "resolved": "number",
1660
- "references": {}
1661
- },
1662
- "required": false,
1663
- "optional": false,
1664
- "docs": {
1665
- "tags": [{
1666
- "name": "default",
1667
- "text": "undefined"
1668
- }],
1669
- "text": "Number of current rows per page"
1670
- },
1671
- "attribute": "rows-per-page",
1672
- "reflect": false
1673
- },
1674
- "scrollOnHover": {
1675
- "type": "boolean",
1676
- "mutable": false,
1677
- "complexType": {
1678
- "original": "boolean",
1679
- "resolved": "boolean",
1680
- "references": {}
1681
- },
1682
- "required": false,
1683
- "optional": false,
1684
- "docs": {
1685
- "tags": [{
1686
- "name": "default",
1687
- "text": "false"
1688
- }],
1689
- "text": "Activates the scroll on hover function."
1690
- },
1691
- "attribute": "scroll-on-hover",
1692
- "reflect": false,
1693
- "defaultValue": "false"
1694
- },
1695
- "selectBox": {
1696
- "type": "number",
1697
- "mutable": false,
1698
- "complexType": {
1699
- "original": "number",
1700
- "resolved": "number",
1701
- "references": {}
1702
- },
1703
- "required": false,
1704
- "optional": false,
1705
- "docs": {
1706
- "tags": [{
1707
- "name": "default",
1708
- "text": "undefined"
1709
- }],
1710
- "text": "Automatically selects the box at the specified index"
1711
- },
1712
- "attribute": "select-box",
1713
- "reflect": false
1714
- },
1715
- "selectedRowsState": {
1716
- "type": "string",
1717
- "mutable": true,
1718
- "complexType": {
1719
- "original": "string",
1720
- "resolved": "string",
1721
- "references": {}
1722
- },
1723
- "required": false,
1724
- "optional": false,
1725
- "docs": {
1726
- "tags": [{
1727
- "name": "default",
1728
- "text": "undefined"
1729
- }],
1730
- "text": "Multiple selection"
1731
- },
1732
- "attribute": "selected-rows-state",
1733
- "reflect": false
1734
- },
1735
- "showSelection": {
1736
- "type": "boolean",
1737
- "mutable": false,
1738
- "complexType": {
1739
- "original": "boolean",
1740
- "resolved": "boolean",
1741
- "references": {}
1742
- },
1743
- "required": false,
1744
- "optional": false,
1745
- "docs": {
1746
- "tags": [{
1747
- "name": "default",
1748
- "text": "true"
1749
- }],
1750
- "text": "If enabled, highlights the selected box/boxes"
1751
- },
1752
- "attribute": "show-selection",
1753
- "reflect": false,
1754
- "defaultValue": "true"
1755
- },
1756
- "sortBy": {
1757
- "type": "string",
1758
- "mutable": true,
1759
- "complexType": {
1760
- "original": "string",
1761
- "resolved": "string",
1762
- "references": {}
1763
- },
1764
- "required": false,
1765
- "optional": false,
1766
- "docs": {
1767
- "tags": [{
1768
- "name": "default",
1769
- "text": "undefined"
1770
- }],
1771
- "text": "If sorting is enabled, specifies which column to sort"
1772
- },
1773
- "attribute": "sort-by",
1774
- "reflect": false
1775
- },
1776
- "sortEnabled": {
1777
- "type": "boolean",
1778
- "mutable": false,
1779
- "complexType": {
1780
- "original": "boolean",
1781
- "resolved": "boolean",
1782
- "references": {}
1783
- },
1784
- "required": false,
1785
- "optional": false,
1786
- "docs": {
1787
- "tags": [{
1788
- "name": "default",
1789
- "text": "false"
1790
- }],
1791
- "text": "Enable sorting"
1792
- },
1793
- "attribute": "sort-enabled",
1794
- "reflect": false,
1795
- "defaultValue": "false"
1796
- },
1797
- "stateId": {
1798
- "type": "string",
1799
- "mutable": false,
1800
- "complexType": {
1801
- "original": "string",
1802
- "resolved": "string",
1803
- "references": {}
1804
- },
1805
- "required": false,
1806
- "optional": false,
1807
- "docs": {
1808
- "tags": [],
1809
- "text": ""
1810
- },
1811
- "attribute": "state-id",
1812
- "reflect": false,
1813
- "defaultValue": "''"
1814
- },
1815
- "store": {
1816
- "type": "unknown",
1817
- "mutable": false,
1818
- "complexType": {
1819
- "original": "KupStore",
1820
- "resolved": "KupStore",
1821
- "references": {
1822
- "KupStore": {
1823
- "location": "import",
1824
- "path": "../kup-state/kup-store"
1555
+ "multiSelection": {
1556
+ "type": "boolean",
1557
+ "mutable": false,
1558
+ "complexType": {
1559
+ "original": "boolean",
1560
+ "resolved": "boolean",
1561
+ "references": {}
1562
+ },
1563
+ "required": false,
1564
+ "optional": false,
1565
+ "docs": {
1566
+ "tags": [{
1567
+ "name": "default",
1568
+ "text": "false"
1569
+ }],
1570
+ "text": "Enable multi selection"
1571
+ },
1572
+ "attribute": "multi-selection",
1573
+ "reflect": false,
1574
+ "defaultValue": "false"
1575
+ },
1576
+ "pageSelected": {
1577
+ "type": "number",
1578
+ "mutable": false,
1579
+ "complexType": {
1580
+ "original": "number",
1581
+ "resolved": "number",
1582
+ "references": {}
1583
+ },
1584
+ "required": false,
1585
+ "optional": false,
1586
+ "docs": {
1587
+ "tags": [{
1588
+ "name": "default",
1589
+ "text": "1"
1590
+ }],
1591
+ "text": "Current page number"
1592
+ },
1593
+ "attribute": "page-selected",
1594
+ "reflect": false,
1595
+ "defaultValue": "1"
1596
+ },
1597
+ "pageSize": {
1598
+ "type": "number",
1599
+ "mutable": false,
1600
+ "complexType": {
1601
+ "original": "number",
1602
+ "resolved": "number",
1603
+ "references": {}
1604
+ },
1605
+ "required": false,
1606
+ "optional": false,
1607
+ "docs": {
1608
+ "tags": [{
1609
+ "name": "default",
1610
+ "text": "10"
1611
+ }],
1612
+ "text": "Number of boxes per page"
1613
+ },
1614
+ "attribute": "page-size",
1615
+ "reflect": false,
1616
+ "defaultValue": "10"
1617
+ },
1618
+ "pagination": {
1619
+ "type": "boolean",
1620
+ "mutable": false,
1621
+ "complexType": {
1622
+ "original": "boolean",
1623
+ "resolved": "boolean",
1624
+ "references": {}
1625
+ },
1626
+ "required": false,
1627
+ "optional": false,
1628
+ "docs": {
1629
+ "tags": [{
1630
+ "name": "default",
1631
+ "text": "false"
1632
+ }],
1633
+ "text": "Enables pagination"
1634
+ },
1635
+ "attribute": "pagination",
1636
+ "reflect": false,
1637
+ "defaultValue": "false"
1638
+ },
1639
+ "rowsPerPage": {
1640
+ "type": "number",
1641
+ "mutable": false,
1642
+ "complexType": {
1643
+ "original": "number",
1644
+ "resolved": "number",
1645
+ "references": {}
1646
+ },
1647
+ "required": false,
1648
+ "optional": false,
1649
+ "docs": {
1650
+ "tags": [{
1651
+ "name": "default",
1652
+ "text": "undefined"
1653
+ }],
1654
+ "text": "Number of current rows per page"
1655
+ },
1656
+ "attribute": "rows-per-page",
1657
+ "reflect": false
1658
+ },
1659
+ "scrollOnHover": {
1660
+ "type": "boolean",
1661
+ "mutable": false,
1662
+ "complexType": {
1663
+ "original": "boolean",
1664
+ "resolved": "boolean",
1665
+ "references": {}
1666
+ },
1667
+ "required": false,
1668
+ "optional": false,
1669
+ "docs": {
1670
+ "tags": [{
1671
+ "name": "default",
1672
+ "text": "false"
1673
+ }],
1674
+ "text": "Activates the scroll on hover function."
1675
+ },
1676
+ "attribute": "scroll-on-hover",
1677
+ "reflect": false,
1678
+ "defaultValue": "false"
1679
+ },
1680
+ "selectBox": {
1681
+ "type": "number",
1682
+ "mutable": false,
1683
+ "complexType": {
1684
+ "original": "number",
1685
+ "resolved": "number",
1686
+ "references": {}
1687
+ },
1688
+ "required": false,
1689
+ "optional": false,
1690
+ "docs": {
1691
+ "tags": [{
1692
+ "name": "default",
1693
+ "text": "undefined"
1694
+ }],
1695
+ "text": "Automatically selects the box at the specified index"
1696
+ },
1697
+ "attribute": "select-box",
1698
+ "reflect": false
1699
+ },
1700
+ "selectedRowsState": {
1701
+ "type": "string",
1702
+ "mutable": true,
1703
+ "complexType": {
1704
+ "original": "string",
1705
+ "resolved": "string",
1706
+ "references": {}
1707
+ },
1708
+ "required": false,
1709
+ "optional": false,
1710
+ "docs": {
1711
+ "tags": [{
1712
+ "name": "default",
1713
+ "text": "undefined"
1714
+ }],
1715
+ "text": "Multiple selection"
1716
+ },
1717
+ "attribute": "selected-rows-state",
1718
+ "reflect": false
1719
+ },
1720
+ "showSelection": {
1721
+ "type": "boolean",
1722
+ "mutable": false,
1723
+ "complexType": {
1724
+ "original": "boolean",
1725
+ "resolved": "boolean",
1726
+ "references": {}
1727
+ },
1728
+ "required": false,
1729
+ "optional": false,
1730
+ "docs": {
1731
+ "tags": [{
1732
+ "name": "default",
1733
+ "text": "true"
1734
+ }],
1735
+ "text": "If enabled, highlights the selected box/boxes"
1736
+ },
1737
+ "attribute": "show-selection",
1738
+ "reflect": false,
1739
+ "defaultValue": "true"
1740
+ },
1741
+ "sortBy": {
1742
+ "type": "string",
1743
+ "mutable": true,
1744
+ "complexType": {
1745
+ "original": "string",
1746
+ "resolved": "string",
1747
+ "references": {}
1748
+ },
1749
+ "required": false,
1750
+ "optional": false,
1751
+ "docs": {
1752
+ "tags": [{
1753
+ "name": "default",
1754
+ "text": "undefined"
1755
+ }],
1756
+ "text": "If sorting is enabled, specifies which column to sort"
1757
+ },
1758
+ "attribute": "sort-by",
1759
+ "reflect": false
1760
+ },
1761
+ "sortEnabled": {
1762
+ "type": "boolean",
1763
+ "mutable": false,
1764
+ "complexType": {
1765
+ "original": "boolean",
1766
+ "resolved": "boolean",
1767
+ "references": {}
1768
+ },
1769
+ "required": false,
1770
+ "optional": false,
1771
+ "docs": {
1772
+ "tags": [{
1773
+ "name": "default",
1774
+ "text": "false"
1775
+ }],
1776
+ "text": "Enable sorting"
1777
+ },
1778
+ "attribute": "sort-enabled",
1779
+ "reflect": false,
1780
+ "defaultValue": "false"
1781
+ },
1782
+ "stateId": {
1783
+ "type": "string",
1784
+ "mutable": false,
1785
+ "complexType": {
1786
+ "original": "string",
1787
+ "resolved": "string",
1788
+ "references": {}
1789
+ },
1790
+ "required": false,
1791
+ "optional": false,
1792
+ "docs": {
1793
+ "tags": [],
1794
+ "text": ""
1795
+ },
1796
+ "attribute": "state-id",
1797
+ "reflect": false,
1798
+ "defaultValue": "''"
1799
+ },
1800
+ "store": {
1801
+ "type": "unknown",
1802
+ "mutable": false,
1803
+ "complexType": {
1804
+ "original": "KupStore",
1805
+ "resolved": "KupStore",
1806
+ "references": {
1807
+ "KupStore": {
1808
+ "location": "import",
1809
+ "path": "../kup-state/kup-store"
1810
+ }
1825
1811
  }
1812
+ },
1813
+ "required": false,
1814
+ "optional": false,
1815
+ "docs": {
1816
+ "tags": [],
1817
+ "text": ""
1826
1818
  }
1827
1819
  },
1828
- "required": false,
1829
- "optional": false,
1830
- "docs": {
1831
- "tags": [],
1832
- "text": ""
1820
+ "swipeDisabled": {
1821
+ "type": "boolean",
1822
+ "mutable": false,
1823
+ "complexType": {
1824
+ "original": "boolean",
1825
+ "resolved": "boolean",
1826
+ "references": {}
1827
+ },
1828
+ "required": false,
1829
+ "optional": false,
1830
+ "docs": {
1831
+ "tags": [{
1832
+ "name": "default",
1833
+ "text": "false"
1834
+ }],
1835
+ "text": "Disable swipe"
1836
+ },
1837
+ "attribute": "swipe-disabled",
1838
+ "reflect": false,
1839
+ "defaultValue": "false"
1833
1840
  }
1834
- },
1835
- "swipeDisabled": {
1836
- "type": "boolean",
1837
- "mutable": false,
1838
- "complexType": {
1839
- "original": "boolean",
1840
- "resolved": "boolean",
1841
- "references": {}
1842
- },
1843
- "required": false,
1844
- "optional": false,
1845
- "docs": {
1846
- "tags": [{
1847
- "name": "default",
1848
- "text": "false"
1849
- }],
1850
- "text": "Disable swipe"
1851
- },
1852
- "attribute": "swipe-disabled",
1853
- "reflect": false,
1854
- "defaultValue": "false"
1855
- }
1856
- }; }
1857
- static get states() { return {
1858
- "collapsedSection": {},
1859
- "selectedRows": {},
1860
- "rowActionMenuOpened": {},
1861
- "currentPage": {},
1862
- "currentRowsPerPage": {}
1863
- }; }
1864
- static get events() { return [{
1865
- "method": "kupBoxClick",
1866
- "name": "kup-box-click",
1867
- "bubbles": true,
1868
- "cancelable": false,
1869
- "composed": true,
1870
- "docs": {
1871
- "tags": [],
1872
- "text": "Triggered when a box is clicked"
1873
- },
1874
- "complexType": {
1875
- "original": "KupBoxClickEventPayload",
1876
- "resolved": "KupBoxClickEventPayload",
1877
- "references": {
1878
- "KupBoxClickEventPayload": {
1879
- "location": "import",
1880
- "path": "./kup-box-declarations"
1841
+ };
1842
+ }
1843
+ static get states() {
1844
+ return {
1845
+ "collapsedSection": {},
1846
+ "selectedRows": {},
1847
+ "rowActionMenuOpened": {},
1848
+ "currentPage": {},
1849
+ "currentRowsPerPage": {}
1850
+ };
1851
+ }
1852
+ static get events() {
1853
+ return [{
1854
+ "method": "kupBoxClick",
1855
+ "name": "kup-box-click",
1856
+ "bubbles": true,
1857
+ "cancelable": false,
1858
+ "composed": true,
1859
+ "docs": {
1860
+ "tags": [],
1861
+ "text": "Triggered when a box is clicked"
1862
+ },
1863
+ "complexType": {
1864
+ "original": "KupBoxClickEventPayload",
1865
+ "resolved": "KupBoxClickEventPayload",
1866
+ "references": {
1867
+ "KupBoxClickEventPayload": {
1868
+ "location": "import",
1869
+ "path": "./kup-box-declarations"
1870
+ }
1881
1871
  }
1882
1872
  }
1883
- }
1884
- }, {
1885
- "method": "kupBoxSelected",
1886
- "name": "kup-box-selected",
1887
- "bubbles": true,
1888
- "cancelable": false,
1889
- "composed": true,
1890
- "docs": {
1891
- "tags": [],
1892
- "text": "Triggered when the multi selection checkbox changes value"
1893
- },
1894
- "complexType": {
1895
- "original": "KupBoxSelectedEventPayload",
1896
- "resolved": "KupBoxSelectedEventPayload",
1897
- "references": {
1898
- "KupBoxSelectedEventPayload": {
1899
- "location": "import",
1900
- "path": "./kup-box-declarations"
1873
+ }, {
1874
+ "method": "kupBoxSelected",
1875
+ "name": "kup-box-selected",
1876
+ "bubbles": true,
1877
+ "cancelable": false,
1878
+ "composed": true,
1879
+ "docs": {
1880
+ "tags": [],
1881
+ "text": "Triggered when the multi selection checkbox changes value"
1882
+ },
1883
+ "complexType": {
1884
+ "original": "KupBoxSelectedEventPayload",
1885
+ "resolved": "KupBoxSelectedEventPayload",
1886
+ "references": {
1887
+ "KupBoxSelectedEventPayload": {
1888
+ "location": "import",
1889
+ "path": "./kup-box-declarations"
1890
+ }
1901
1891
  }
1902
1892
  }
1903
- }
1904
- }, {
1905
- "method": "kupAutoBoxSelect",
1906
- "name": "kup-box-autoselect",
1907
- "bubbles": true,
1908
- "cancelable": false,
1909
- "composed": true,
1910
- "docs": {
1911
- "tags": [],
1912
- "text": "Triggered when a box is auto selected via selectBox prop"
1913
- },
1914
- "complexType": {
1915
- "original": "KupBoxAutoSelectEventPayload",
1916
- "resolved": "KupBoxAutoSelectEventPayload",
1917
- "references": {
1918
- "KupBoxAutoSelectEventPayload": {
1919
- "location": "import",
1920
- "path": "./kup-box-declarations"
1893
+ }, {
1894
+ "method": "kupAutoBoxSelect",
1895
+ "name": "kup-box-autoselect",
1896
+ "bubbles": true,
1897
+ "cancelable": false,
1898
+ "composed": true,
1899
+ "docs": {
1900
+ "tags": [],
1901
+ "text": "Triggered when a box is auto selected via selectBox prop"
1902
+ },
1903
+ "complexType": {
1904
+ "original": "KupBoxAutoSelectEventPayload",
1905
+ "resolved": "KupBoxAutoSelectEventPayload",
1906
+ "references": {
1907
+ "KupBoxAutoSelectEventPayload": {
1908
+ "location": "import",
1909
+ "path": "./kup-box-declarations"
1910
+ }
1921
1911
  }
1922
1912
  }
1923
- }
1924
- }, {
1925
- "method": "kupRowActionMenuClick",
1926
- "name": "kup-box-rowactionmenuclick",
1927
- "bubbles": true,
1928
- "cancelable": false,
1929
- "composed": true,
1930
- "docs": {
1931
- "tags": [],
1932
- "text": "When the row menu action icon is click"
1933
- },
1934
- "complexType": {
1935
- "original": "KupBoxAutoSelectEventPayload",
1936
- "resolved": "KupBoxAutoSelectEventPayload",
1937
- "references": {
1938
- "KupBoxAutoSelectEventPayload": {
1939
- "location": "import",
1940
- "path": "./kup-box-declarations"
1913
+ }, {
1914
+ "method": "kupRowActionMenuClick",
1915
+ "name": "kup-box-rowactionmenuclick",
1916
+ "bubbles": true,
1917
+ "cancelable": false,
1918
+ "composed": true,
1919
+ "docs": {
1920
+ "tags": [],
1921
+ "text": "When the row menu action icon is click"
1922
+ },
1923
+ "complexType": {
1924
+ "original": "KupBoxAutoSelectEventPayload",
1925
+ "resolved": "KupBoxAutoSelectEventPayload",
1926
+ "references": {
1927
+ "KupBoxAutoSelectEventPayload": {
1928
+ "location": "import",
1929
+ "path": "./kup-box-declarations"
1930
+ }
1941
1931
  }
1942
1932
  }
1943
- }
1944
- }, {
1945
- "method": "kupRowActionClick",
1946
- "name": "kup-box-rowactionclick",
1947
- "bubbles": true,
1948
- "cancelable": false,
1949
- "composed": true,
1950
- "docs": {
1951
- "tags": [],
1952
- "text": "When the row menu action icon is click"
1953
- },
1954
- "complexType": {
1955
- "original": "KupBoxRowActionClickEventPayload",
1956
- "resolved": "KupBoxRowActionClickEventPayload",
1957
- "references": {
1958
- "KupBoxRowActionClickEventPayload": {
1959
- "location": "import",
1960
- "path": "./kup-box-declarations"
1933
+ }, {
1934
+ "method": "kupRowActionClick",
1935
+ "name": "kup-box-rowactionclick",
1936
+ "bubbles": true,
1937
+ "cancelable": false,
1938
+ "composed": true,
1939
+ "docs": {
1940
+ "tags": [],
1941
+ "text": "When the row menu action icon is click"
1942
+ },
1943
+ "complexType": {
1944
+ "original": "KupBoxRowActionClickEventPayload",
1945
+ "resolved": "KupBoxRowActionClickEventPayload",
1946
+ "references": {
1947
+ "KupBoxRowActionClickEventPayload": {
1948
+ "location": "import",
1949
+ "path": "./kup-box-declarations"
1950
+ }
1961
1951
  }
1962
1952
  }
1963
- }
1964
- }, {
1965
- "method": "kupDidLoad",
1966
- "name": "kup-box-didload",
1967
- "bubbles": true,
1968
- "cancelable": false,
1969
- "composed": true,
1970
- "docs": {
1971
- "tags": [],
1972
- "text": ""
1973
- },
1974
- "complexType": {
1975
- "original": "KupEventPayload",
1976
- "resolved": "KupEventPayload",
1977
- "references": {
1978
- "KupEventPayload": {
1979
- "location": "import",
1980
- "path": "../../types/GenericTypes"
1953
+ }, {
1954
+ "method": "kupDidLoad",
1955
+ "name": "kup-box-didload",
1956
+ "bubbles": true,
1957
+ "cancelable": false,
1958
+ "composed": true,
1959
+ "docs": {
1960
+ "tags": [],
1961
+ "text": ""
1962
+ },
1963
+ "complexType": {
1964
+ "original": "KupEventPayload",
1965
+ "resolved": "KupEventPayload",
1966
+ "references": {
1967
+ "KupEventPayload": {
1968
+ "location": "import",
1969
+ "path": "../../types/GenericTypes"
1970
+ }
1981
1971
  }
1982
1972
  }
1983
- }
1984
- }, {
1985
- "method": "kupDidUnload",
1986
- "name": "kup-box-didunload",
1987
- "bubbles": true,
1988
- "cancelable": false,
1989
- "composed": true,
1990
- "docs": {
1991
- "tags": [],
1992
- "text": "Triggered when stop propagation event"
1993
- },
1994
- "complexType": {
1995
- "original": "KupEventPayload",
1996
- "resolved": "KupEventPayload",
1997
- "references": {
1998
- "KupEventPayload": {
1999
- "location": "import",
2000
- "path": "../../types/GenericTypes"
1973
+ }, {
1974
+ "method": "kupDidUnload",
1975
+ "name": "kup-box-didunload",
1976
+ "bubbles": true,
1977
+ "cancelable": false,
1978
+ "composed": true,
1979
+ "docs": {
1980
+ "tags": [],
1981
+ "text": "Triggered when stop propagation event"
1982
+ },
1983
+ "complexType": {
1984
+ "original": "KupEventPayload",
1985
+ "resolved": "KupEventPayload",
1986
+ "references": {
1987
+ "KupEventPayload": {
1988
+ "location": "import",
1989
+ "path": "../../types/GenericTypes"
1990
+ }
2001
1991
  }
2002
1992
  }
2003
- }
2004
- }, {
2005
- "method": "kupBoxContextMenu",
2006
- "name": "kup-box-contextmenu",
2007
- "bubbles": true,
2008
- "cancelable": false,
2009
- "composed": true,
2010
- "docs": {
2011
- "tags": [],
2012
- "text": "Generic right click event on box."
2013
- },
2014
- "complexType": {
2015
- "original": "KupBoxContextMenuEventPayload",
2016
- "resolved": "KupBoxContextMenuEventPayload",
2017
- "references": {
2018
- "KupBoxContextMenuEventPayload": {
2019
- "location": "import",
2020
- "path": "./kup-box-declarations"
1993
+ }, {
1994
+ "method": "kupBoxContextMenu",
1995
+ "name": "kup-box-contextmenu",
1996
+ "bubbles": true,
1997
+ "cancelable": false,
1998
+ "composed": true,
1999
+ "docs": {
2000
+ "tags": [],
2001
+ "text": "Generic right click event on box."
2002
+ },
2003
+ "complexType": {
2004
+ "original": "KupBoxContextMenuEventPayload",
2005
+ "resolved": "KupBoxContextMenuEventPayload",
2006
+ "references": {
2007
+ "KupBoxContextMenuEventPayload": {
2008
+ "location": "import",
2009
+ "path": "./kup-box-declarations"
2010
+ }
2021
2011
  }
2022
2012
  }
2023
- }
2024
- }]; }
2025
- static get methods() { return {
2026
- "getProps": {
2027
- "complexType": {
2028
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2029
- "parameters": [{
2030
- "tags": [{
2031
- "name": "param",
2032
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2033
- }],
2034
- "text": "- When provided and true, the result will be the list of props with their description."
2035
- }],
2036
- "references": {
2037
- "Promise": {
2038
- "location": "global"
2013
+ }];
2014
+ }
2015
+ static get methods() {
2016
+ return {
2017
+ "getProps": {
2018
+ "complexType": {
2019
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2020
+ "parameters": [{
2021
+ "tags": [{
2022
+ "name": "param",
2023
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
2024
+ }],
2025
+ "text": "- When provided and true, the result will be the list of props with their description."
2026
+ }],
2027
+ "references": {
2028
+ "Promise": {
2029
+ "location": "global"
2030
+ },
2031
+ "GenericObject": {
2032
+ "location": "import",
2033
+ "path": "../../types/GenericTypes"
2034
+ }
2039
2035
  },
2040
- "GenericObject": {
2041
- "location": "import",
2042
- "path": "../../types/GenericTypes"
2043
- }
2036
+ "return": "Promise<GenericObject>"
2044
2037
  },
2045
- "return": "Promise<GenericObject>"
2038
+ "docs": {
2039
+ "text": "Used to retrieve component's props values.",
2040
+ "tags": [{
2041
+ "name": "param",
2042
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
2043
+ }, {
2044
+ "name": "returns",
2045
+ "text": "List of props as object, each key will be a prop."
2046
+ }]
2047
+ }
2046
2048
  },
2047
- "docs": {
2048
- "text": "Used to retrieve component's props values.",
2049
- "tags": [{
2050
- "name": "param",
2051
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2052
- }, {
2053
- "name": "returns",
2054
- "text": "List of props as object, each key will be a prop."
2055
- }]
2056
- }
2057
- },
2058
- "loadRowActions": {
2059
- "complexType": {
2060
- "signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
2061
- "parameters": [{
2062
- "tags": [],
2063
- "text": ""
2064
- }, {
2065
- "tags": [],
2066
- "text": ""
2067
- }],
2068
- "references": {
2069
- "Promise": {
2070
- "location": "global"
2071
- },
2072
- "KupBoxRow": {
2073
- "location": "import",
2074
- "path": "./kup-box-declarations"
2049
+ "loadRowActions": {
2050
+ "complexType": {
2051
+ "signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
2052
+ "parameters": [{
2053
+ "tags": [],
2054
+ "text": ""
2055
+ }, {
2056
+ "tags": [],
2057
+ "text": ""
2058
+ }],
2059
+ "references": {
2060
+ "Promise": {
2061
+ "location": "global"
2062
+ },
2063
+ "KupBoxRow": {
2064
+ "location": "import",
2065
+ "path": "./kup-box-declarations"
2066
+ },
2067
+ "KupDataRowAction": {
2068
+ "location": "import",
2069
+ "path": "../../managers/kup-data/kup-data-declarations"
2070
+ }
2075
2071
  },
2076
- "KupDataRowAction": {
2077
- "location": "import",
2078
- "path": "../../managers/kup-data/kup-data-declarations"
2079
- }
2072
+ "return": "Promise<void>"
2080
2073
  },
2081
- "return": "Promise<void>"
2074
+ "docs": {
2075
+ "text": "",
2076
+ "tags": []
2077
+ }
2082
2078
  },
2083
- "docs": {
2084
- "text": "",
2085
- "tags": []
2086
- }
2087
- },
2088
- "refresh": {
2089
- "complexType": {
2090
- "signature": "() => Promise<void>",
2091
- "parameters": [],
2092
- "references": {
2093
- "Promise": {
2094
- "location": "global"
2095
- }
2079
+ "refresh": {
2080
+ "complexType": {
2081
+ "signature": "() => Promise<void>",
2082
+ "parameters": [],
2083
+ "references": {
2084
+ "Promise": {
2085
+ "location": "global"
2086
+ }
2087
+ },
2088
+ "return": "Promise<void>"
2096
2089
  },
2097
- "return": "Promise<void>"
2090
+ "docs": {
2091
+ "text": "This method is used to trigger a new render of the component.",
2092
+ "tags": []
2093
+ }
2098
2094
  },
2099
- "docs": {
2100
- "text": "This method is used to trigger a new render of the component.",
2101
- "tags": []
2102
- }
2103
- },
2104
- "setProps": {
2105
- "complexType": {
2106
- "signature": "(props: GenericObject) => Promise<void>",
2107
- "parameters": [{
2108
- "tags": [{
2109
- "name": "param",
2110
- "text": "props - Object containing props that will be set to the component."
2111
- }],
2112
- "text": "- Object containing props that will be set to the component."
2113
- }],
2114
- "references": {
2115
- "Promise": {
2116
- "location": "global"
2095
+ "setProps": {
2096
+ "complexType": {
2097
+ "signature": "(props: GenericObject) => Promise<void>",
2098
+ "parameters": [{
2099
+ "tags": [{
2100
+ "name": "param",
2101
+ "text": "props - Object containing props that will be set to the component."
2102
+ }],
2103
+ "text": "- Object containing props that will be set to the component."
2104
+ }],
2105
+ "references": {
2106
+ "Promise": {
2107
+ "location": "global"
2108
+ },
2109
+ "GenericObject": {
2110
+ "location": "import",
2111
+ "path": "../../types/GenericTypes"
2112
+ }
2117
2113
  },
2118
- "GenericObject": {
2119
- "location": "import",
2120
- "path": "../../types/GenericTypes"
2121
- }
2114
+ "return": "Promise<void>"
2122
2115
  },
2123
- "return": "Promise<void>"
2124
- },
2125
- "docs": {
2126
- "text": "Sets the props to the component.",
2127
- "tags": [{
2128
- "name": "param",
2129
- "text": "props - Object containing props that will be set to the component."
2130
- }]
2116
+ "docs": {
2117
+ "text": "Sets the props to the component.",
2118
+ "tags": [{
2119
+ "name": "param",
2120
+ "text": "props - Object containing props that will be set to the component."
2121
+ }]
2122
+ }
2131
2123
  }
2132
- }
2133
- }; }
2124
+ };
2125
+ }
2134
2126
  static get elementRef() { return "rootElement"; }
2135
- static get watchers() { return [{
2136
- "propName": "pageSize",
2137
- "methodName": "rowsPerPageHandler"
2138
- }, {
2139
- "propName": "globalFilterValue",
2140
- "methodName": "recalculateRows"
2141
- }, {
2142
- "propName": "sortBy",
2143
- "methodName": "recalculateRows"
2144
- }, {
2145
- "propName": "pagination",
2146
- "methodName": "recalculateRows"
2147
- }, {
2148
- "propName": "pageSize",
2149
- "methodName": "recalculateRows"
2150
- }, {
2151
- "propName": "currentPage",
2152
- "methodName": "recalculateRows"
2153
- }, {
2154
- "propName": "currentRowsPerPage",
2155
- "methodName": "recalculateRows"
2156
- }, {
2157
- "propName": "data",
2158
- "methodName": "onDataChanged"
2159
- }, {
2160
- "propName": "layout",
2161
- "methodName": "onLayoutChanged"
2162
- }, {
2163
- "propName": "selectBox",
2164
- "methodName": "onSelectBoxChanged"
2165
- }]; }
2127
+ static get watchers() {
2128
+ return [{
2129
+ "propName": "pageSize",
2130
+ "methodName": "rowsPerPageHandler"
2131
+ }, {
2132
+ "propName": "globalFilterValue",
2133
+ "methodName": "recalculateRows"
2134
+ }, {
2135
+ "propName": "sortBy",
2136
+ "methodName": "recalculateRows"
2137
+ }, {
2138
+ "propName": "pagination",
2139
+ "methodName": "recalculateRows"
2140
+ }, {
2141
+ "propName": "pageSize",
2142
+ "methodName": "recalculateRows"
2143
+ }, {
2144
+ "propName": "currentPage",
2145
+ "methodName": "recalculateRows"
2146
+ }, {
2147
+ "propName": "currentRowsPerPage",
2148
+ "methodName": "recalculateRows"
2149
+ }, {
2150
+ "propName": "data",
2151
+ "methodName": "onDataChanged"
2152
+ }, {
2153
+ "propName": "layout",
2154
+ "methodName": "onLayoutChanged"
2155
+ }, {
2156
+ "propName": "selectBox",
2157
+ "methodName": "onSelectBoxChanged"
2158
+ }];
2159
+ }
2166
2160
  }