@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,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';
@@ -771,8 +771,7 @@ export class KupBox {
771
771
  }
772
772
  let multiSel = null;
773
773
  if (this.multiSelection) {
774
- multiSel = (h("div", { class: "box-selection" },
775
- h("kup-checkbox", { checked: isSelected })));
774
+ multiSel = (h("div", { class: "box-selection" }, h("kup-checkbox", { checked: isSelected })));
776
775
  }
777
776
  let rowObject = null;
778
777
  if (this.enableRowActions && !this.swipeDisabled) {
@@ -784,17 +783,11 @@ export class KupBox {
784
783
  if (row.actions) {
785
784
  const actionItems = row.actions.map((item, index) => {
786
785
  const iconClass = `icon ${item.icon}`;
787
- return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) },
788
- h("div", { class: iconClass }),
789
- 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)));
790
787
  });
791
788
  rowActionMenuContent = h("ul", null, actionItems);
792
789
  }
793
- rowObject = (h("div", { class: "row-actions-wrapper" },
794
- h("div", { class: "row-actions-toggler" },
795
- h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) },
796
- 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" })),
797
- 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))));
798
791
  }
799
792
  let badges = null;
800
793
  if (row.badgeData && row.badgeData.length > 0) {
@@ -808,12 +801,8 @@ export class KupBox {
808
801
  selected: this.showSelection && isSelected,
809
802
  column: !horizontal,
810
803
  };
811
- return (h("div", { class: "box-wrapper" },
812
- h("div", { class: boxClass, onClick: (e) => this.onBoxClick(e, row), ref: (el) => this.rowsRefs.push(el) },
813
- multiSel,
814
- boxContent,
815
- badges),
816
- 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));
817
806
  }
818
807
  renderSection(section, parent, row, visibleColumns) {
819
808
  let sectionContent = null;
@@ -893,21 +882,14 @@ export class KupBox {
893
882
  else {
894
883
  headerTitle = this.kupManager.language.translate(KupLanguageGeneric.EXPAND);
895
884
  }
896
- sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
897
- h("div", { class: contentClass }, sectionContent),
898
- h("div", { class: "header", role: "button", onClick: (e) => {
899
- e.stopPropagation();
900
- this.toggleSectionExpand(row, section);
901
- } },
902
- h("div", { class: "header-content" },
903
- h("span", null, headerTitle),
904
- 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' : '' })))));
905
889
  }
906
890
  else {
907
891
  const title = section.title ? h("h3", null, section.title) : null;
908
- sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
909
- title,
910
- sectionContent));
892
+ sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, title, sectionContent));
911
893
  }
912
894
  return sectionContainer;
913
895
  }
@@ -962,9 +944,7 @@ export class KupBox {
962
944
  if (!this.kanban.columns || this.kanban.columns.length === 0) {
963
945
  this.kupManager.debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
964
946
  return {
965
- jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" },
966
- h("div", { ref: (el) => this.rowsRefs.push(el) }),
967
- 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))),
968
948
  style: { 'grid-template-columns': `repeat(1, 1fr)` },
969
949
  };
970
950
  }
@@ -1033,9 +1013,7 @@ export class KupBox {
1033
1013
  id: sortingKey[index],
1034
1014
  });
1035
1015
  }
1036
- kanbanJSX.push(h("div", { class: "kanban-section" },
1037
- h(FChip, Object.assign({}, props)),
1038
- kanbanSections[index].nodes));
1016
+ kanbanJSX.push(h("div", { class: "kanban-section" }, h(FChip, Object.assign({}, props)), kanbanSections[index].nodes));
1039
1017
  }
1040
1018
  return {
1041
1019
  jsx: kanbanJSX,
@@ -1219,16 +1197,14 @@ export class KupBox {
1219
1197
  'kup-text-field': textfieldData,
1220
1198
  'kup-list': listData,
1221
1199
  };
1222
- sortPanel = (h("div", { id: "sort-panel" },
1223
- 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) })));
1224
1201
  }
1225
1202
  let filterPanel = null;
1226
1203
  if (this.globalFilter) {
1227
- filterPanel = (h("div", { id: "global-filter" },
1228
- h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
1229
- window.clearTimeout(this.globalFilterTimeout);
1230
- this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
1231
- } })));
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
+ } })));
1232
1208
  }
1233
1209
  let paginator = null;
1234
1210
  if (this.pagination) {
@@ -1239,8 +1215,7 @@ export class KupBox {
1239
1215
  let boxContent = null;
1240
1216
  let containerStyle = {};
1241
1217
  if (this.rows.length === 0) {
1242
- boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" },
1243
- 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))));
1244
1219
  containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
1245
1220
  }
1246
1221
  else if (isKanban) {
@@ -1260,17 +1235,10 @@ export class KupBox {
1260
1235
  boxContent.push(this.renderRow(rows[cnt++]));
1261
1236
  }
1262
1237
  }
1263
- return (h(Host, null,
1264
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
1265
- h("div", { id: componentWrapperId },
1266
- h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) },
1267
- sortPanel,
1268
- filterPanel,
1269
- paginator,
1270
- h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
1271
- e.preventDefault();
1272
- }, ref: (el) => (this.boxContainer =
1273
- 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)))));
1274
1242
  }
1275
1243
  disconnectedCallback() {
1276
1244
  this.kupManager.interact.unregister(this.interactableDrag.concat(this.interactableDrop));
@@ -1285,894 +1253,908 @@ export class KupBox {
1285
1253
  }
1286
1254
  static get is() { return "kup-box"; }
1287
1255
  static get encapsulation() { return "shadow"; }
1288
- static get originalStyleUrls() { return {
1289
- "$": ["kup-box.scss"]
1290
- }; }
1291
- static get styleUrls() { return {
1292
- "$": ["kup-box.css"]
1293
- }; }
1294
- static get properties() { return {
1295
- "cardData": {
1296
- "type": "unknown",
1297
- "mutable": false,
1298
- "complexType": {
1299
- "original": "GenericObject",
1300
- "resolved": "GenericObject",
1301
- "references": {
1302
- "GenericObject": {
1303
- "location": "import",
1304
- "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
+ }
1305
1279
  }
1306
- }
1307
- },
1308
- "required": false,
1309
- "optional": false,
1310
- "docs": {
1311
- "tags": [{
1312
- "name": "default",
1313
- "text": "null"
1314
- }],
1315
- "text": "Data of the card linked to the box when the latter's layout must be a premade template."
1316
- },
1317
- "defaultValue": "null"
1318
- },
1319
- "columns": {
1320
- "type": "number",
1321
- "mutable": false,
1322
- "complexType": {
1323
- "original": "number",
1324
- "resolved": "number",
1325
- "references": {}
1326
- },
1327
- "required": false,
1328
- "optional": false,
1329
- "docs": {
1330
- "tags": [{
1331
- "name": "default",
1332
- "text": "1"
1333
- }],
1334
- "text": "Number of columns"
1335
- },
1336
- "attribute": "columns",
1337
- "reflect": false,
1338
- "defaultValue": "1"
1339
- },
1340
- "customStyle": {
1341
- "type": "string",
1342
- "mutable": false,
1343
- "complexType": {
1344
- "original": "string",
1345
- "resolved": "string",
1346
- "references": {}
1347
- },
1348
- "required": false,
1349
- "optional": false,
1350
- "docs": {
1351
- "tags": [{
1352
- "name": "default",
1353
- "text": "\"\""
1354
- }, {
1355
- "name": "see",
1356
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
1357
- }],
1358
- "text": "Custom style of the component."
1359
- },
1360
- "attribute": "custom-style",
1361
- "reflect": false,
1362
- "defaultValue": "''"
1363
- },
1364
- "data": {
1365
- "type": "unknown",
1366
- "mutable": false,
1367
- "complexType": {
1368
- "original": "KupBoxData",
1369
- "resolved": "KupBoxData",
1370
- "references": {
1371
- "KupBoxData": {
1372
- "location": "import",
1373
- "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
+ }
1374
1348
  }
1375
- }
1376
- },
1377
- "required": false,
1378
- "optional": false,
1379
- "docs": {
1380
- "tags": [{
1381
- "name": "default",
1382
- "text": "null"
1383
- }],
1384
- "text": "Actual data of the box."
1385
- },
1386
- "defaultValue": "null"
1387
- },
1388
- "dragEnabled": {
1389
- "type": "boolean",
1390
- "mutable": false,
1391
- "complexType": {
1392
- "original": "boolean",
1393
- "resolved": "boolean",
1394
- "references": {}
1395
- },
1396
- "required": false,
1397
- "optional": false,
1398
- "docs": {
1399
- "tags": [{
1400
- "name": "default",
1401
- "text": "false"
1402
- }],
1403
- "text": "Enable dragging"
1404
- },
1405
- "attribute": "drag-enabled",
1406
- "reflect": false,
1407
- "defaultValue": "false"
1408
- },
1409
- "dropEnabled": {
1410
- "type": "boolean",
1411
- "mutable": false,
1412
- "complexType": {
1413
- "original": "boolean",
1414
- "resolved": "boolean",
1415
- "references": {}
1416
- },
1417
- "required": false,
1418
- "optional": false,
1419
- "docs": {
1420
- "tags": [{
1421
- "name": "default",
1422
- "text": "false"
1423
- }],
1424
- "text": "Enable dropping"
1425
- },
1426
- "attribute": "drop-enabled",
1427
- "reflect": false,
1428
- "defaultValue": "false"
1429
- },
1430
- "dropOnSection": {
1431
- "type": "boolean",
1432
- "mutable": false,
1433
- "complexType": {
1434
- "original": "boolean",
1435
- "resolved": "boolean",
1436
- "references": {}
1437
- },
1438
- "required": false,
1439
- "optional": false,
1440
- "docs": {
1441
- "tags": [{
1442
- "name": "default",
1443
- "text": "false"
1444
- }],
1445
- "text": "Drop can be done in section"
1446
- },
1447
- "attribute": "drop-on-section",
1448
- "reflect": false,
1449
- "defaultValue": "false"
1450
- },
1451
- "editableData": {
1452
- "type": "boolean",
1453
- "mutable": false,
1454
- "complexType": {
1455
- "original": "boolean",
1456
- "resolved": "boolean",
1457
- "references": {}
1458
- },
1459
- "required": false,
1460
- "optional": false,
1461
- "docs": {
1462
- "tags": [{
1463
- "name": "default",
1464
- "text": "false"
1465
- }],
1466
- "text": "When set to true, editable cells will be rendered using input components."
1467
- },
1468
- "attribute": "editable-data",
1469
- "reflect": false,
1470
- "defaultValue": "false"
1471
- },
1472
- "enableRowActions": {
1473
- "type": "boolean",
1474
- "mutable": false,
1475
- "complexType": {
1476
- "original": "boolean",
1477
- "resolved": "boolean",
1478
- "references": {}
1479
- },
1480
- "required": false,
1481
- "optional": false,
1482
- "docs": {
1483
- "tags": [{
1484
- "name": "default",
1485
- "text": "false"
1486
- }],
1487
- "text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
1488
- },
1489
- "attribute": "enable-row-actions",
1490
- "reflect": false,
1491
- "defaultValue": "false"
1492
- },
1493
- "globalFilter": {
1494
- "type": "boolean",
1495
- "mutable": false,
1496
- "complexType": {
1497
- "original": "boolean",
1498
- "resolved": "boolean",
1499
- "references": {}
1500
- },
1501
- "required": false,
1502
- "optional": false,
1503
- "docs": {
1504
- "tags": [{
1505
- "name": "default",
1506
- "text": "false"
1507
- }],
1508
- "text": "When set to true it activates the global filter."
1509
- },
1510
- "attribute": "global-filter",
1511
- "reflect": false,
1512
- "defaultValue": "false"
1513
- },
1514
- "globalFilterValue": {
1515
- "type": "string",
1516
- "mutable": true,
1517
- "complexType": {
1518
- "original": "string",
1519
- "resolved": "string",
1520
- "references": {}
1521
- },
1522
- "required": false,
1523
- "optional": false,
1524
- "docs": {
1525
- "tags": [{
1526
- "name": "default",
1527
- "text": "\"\""
1528
- }],
1529
- "text": "The value of the global filter."
1530
- },
1531
- "attribute": "global-filter-value",
1532
- "reflect": true,
1533
- "defaultValue": "''"
1534
- },
1535
- "kanban": {
1536
- "type": "unknown",
1537
- "mutable": false,
1538
- "complexType": {
1539
- "original": "KupBoxKanban",
1540
- "resolved": "KupBoxKanban",
1541
- "references": {
1542
- "KupBoxKanban": {
1543
- "location": "import",
1544
- "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
+ }
1545
1519
  }
1546
- }
1547
- },
1548
- "required": false,
1549
- "optional": false,
1550
- "docs": {
1551
- "tags": [{
1552
- "name": "default",
1553
- "text": "null"
1554
- }],
1555
- "text": "Displays the boxlist as a Kanban."
1556
- },
1557
- "defaultValue": "null"
1558
- },
1559
- "layout": {
1560
- "type": "unknown",
1561
- "mutable": false,
1562
- "complexType": {
1563
- "original": "KupBoxLayout",
1564
- "resolved": "KupBoxLayout",
1565
- "references": {
1566
- "KupBoxLayout": {
1567
- "location": "import",
1568
- "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
+ }
1569
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."
1570
1553
  }
1571
1554
  },
1572
- "required": false,
1573
- "optional": false,
1574
- "docs": {
1575
- "tags": [{
1576
- "name": "default",
1577
- "text": "undefined"
1578
- }],
1579
- "text": "How the field will be displayed. If not present, a default one will be created."
1580
- }
1581
- },
1582
- "multiSelection": {
1583
- "type": "boolean",
1584
- "mutable": false,
1585
- "complexType": {
1586
- "original": "boolean",
1587
- "resolved": "boolean",
1588
- "references": {}
1589
- },
1590
- "required": false,
1591
- "optional": false,
1592
- "docs": {
1593
- "tags": [{
1594
- "name": "default",
1595
- "text": "false"
1596
- }],
1597
- "text": "Enable multi selection"
1598
- },
1599
- "attribute": "multi-selection",
1600
- "reflect": false,
1601
- "defaultValue": "false"
1602
- },
1603
- "pageSelected": {
1604
- "type": "number",
1605
- "mutable": false,
1606
- "complexType": {
1607
- "original": "number",
1608
- "resolved": "number",
1609
- "references": {}
1610
- },
1611
- "required": false,
1612
- "optional": false,
1613
- "docs": {
1614
- "tags": [{
1615
- "name": "default",
1616
- "text": "1"
1617
- }],
1618
- "text": "Current page number"
1619
- },
1620
- "attribute": "page-selected",
1621
- "reflect": false,
1622
- "defaultValue": "1"
1623
- },
1624
- "pageSize": {
1625
- "type": "number",
1626
- "mutable": false,
1627
- "complexType": {
1628
- "original": "number",
1629
- "resolved": "number",
1630
- "references": {}
1631
- },
1632
- "required": false,
1633
- "optional": false,
1634
- "docs": {
1635
- "tags": [{
1636
- "name": "default",
1637
- "text": "10"
1638
- }],
1639
- "text": "Number of boxes per page"
1640
- },
1641
- "attribute": "page-size",
1642
- "reflect": false,
1643
- "defaultValue": "10"
1644
- },
1645
- "pagination": {
1646
- "type": "boolean",
1647
- "mutable": false,
1648
- "complexType": {
1649
- "original": "boolean",
1650
- "resolved": "boolean",
1651
- "references": {}
1652
- },
1653
- "required": false,
1654
- "optional": false,
1655
- "docs": {
1656
- "tags": [{
1657
- "name": "default",
1658
- "text": "false"
1659
- }],
1660
- "text": "Enables pagination"
1661
- },
1662
- "attribute": "pagination",
1663
- "reflect": false,
1664
- "defaultValue": "false"
1665
- },
1666
- "rowsPerPage": {
1667
- "type": "number",
1668
- "mutable": false,
1669
- "complexType": {
1670
- "original": "number",
1671
- "resolved": "number",
1672
- "references": {}
1673
- },
1674
- "required": false,
1675
- "optional": false,
1676
- "docs": {
1677
- "tags": [{
1678
- "name": "default",
1679
- "text": "undefined"
1680
- }],
1681
- "text": "Number of current rows per page"
1682
- },
1683
- "attribute": "rows-per-page",
1684
- "reflect": false
1685
- },
1686
- "scrollOnHover": {
1687
- "type": "boolean",
1688
- "mutable": false,
1689
- "complexType": {
1690
- "original": "boolean",
1691
- "resolved": "boolean",
1692
- "references": {}
1693
- },
1694
- "required": false,
1695
- "optional": false,
1696
- "docs": {
1697
- "tags": [{
1698
- "name": "default",
1699
- "text": "false"
1700
- }],
1701
- "text": "Activates the scroll on hover function."
1702
- },
1703
- "attribute": "scroll-on-hover",
1704
- "reflect": false,
1705
- "defaultValue": "false"
1706
- },
1707
- "selectBox": {
1708
- "type": "number",
1709
- "mutable": false,
1710
- "complexType": {
1711
- "original": "number",
1712
- "resolved": "number",
1713
- "references": {}
1714
- },
1715
- "required": false,
1716
- "optional": false,
1717
- "docs": {
1718
- "tags": [{
1719
- "name": "default",
1720
- "text": "undefined"
1721
- }],
1722
- "text": "Automatically selects the box at the specified index"
1723
- },
1724
- "attribute": "select-box",
1725
- "reflect": false
1726
- },
1727
- "selectedRowsState": {
1728
- "type": "string",
1729
- "mutable": true,
1730
- "complexType": {
1731
- "original": "string",
1732
- "resolved": "string",
1733
- "references": {}
1734
- },
1735
- "required": false,
1736
- "optional": false,
1737
- "docs": {
1738
- "tags": [{
1739
- "name": "default",
1740
- "text": "undefined"
1741
- }],
1742
- "text": "Multiple selection"
1743
- },
1744
- "attribute": "selected-rows-state",
1745
- "reflect": false
1746
- },
1747
- "showSelection": {
1748
- "type": "boolean",
1749
- "mutable": false,
1750
- "complexType": {
1751
- "original": "boolean",
1752
- "resolved": "boolean",
1753
- "references": {}
1754
- },
1755
- "required": false,
1756
- "optional": false,
1757
- "docs": {
1758
- "tags": [{
1759
- "name": "default",
1760
- "text": "true"
1761
- }],
1762
- "text": "If enabled, highlights the selected box/boxes"
1763
- },
1764
- "attribute": "show-selection",
1765
- "reflect": false,
1766
- "defaultValue": "true"
1767
- },
1768
- "sortBy": {
1769
- "type": "string",
1770
- "mutable": true,
1771
- "complexType": {
1772
- "original": "string",
1773
- "resolved": "string",
1774
- "references": {}
1775
- },
1776
- "required": false,
1777
- "optional": false,
1778
- "docs": {
1779
- "tags": [{
1780
- "name": "default",
1781
- "text": "undefined"
1782
- }],
1783
- "text": "If sorting is enabled, specifies which column to sort"
1784
- },
1785
- "attribute": "sort-by",
1786
- "reflect": false
1787
- },
1788
- "sortEnabled": {
1789
- "type": "boolean",
1790
- "mutable": false,
1791
- "complexType": {
1792
- "original": "boolean",
1793
- "resolved": "boolean",
1794
- "references": {}
1795
- },
1796
- "required": false,
1797
- "optional": false,
1798
- "docs": {
1799
- "tags": [{
1800
- "name": "default",
1801
- "text": "false"
1802
- }],
1803
- "text": "Enable sorting"
1804
- },
1805
- "attribute": "sort-enabled",
1806
- "reflect": false,
1807
- "defaultValue": "false"
1808
- },
1809
- "stateId": {
1810
- "type": "string",
1811
- "mutable": false,
1812
- "complexType": {
1813
- "original": "string",
1814
- "resolved": "string",
1815
- "references": {}
1816
- },
1817
- "required": false,
1818
- "optional": false,
1819
- "docs": {
1820
- "tags": [],
1821
- "text": ""
1822
- },
1823
- "attribute": "state-id",
1824
- "reflect": false,
1825
- "defaultValue": "''"
1826
- },
1827
- "store": {
1828
- "type": "unknown",
1829
- "mutable": false,
1830
- "complexType": {
1831
- "original": "KupStore",
1832
- "resolved": "KupStore",
1833
- "references": {
1834
- "KupStore": {
1835
- "location": "import",
1836
- "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
+ }
1837
1811
  }
1812
+ },
1813
+ "required": false,
1814
+ "optional": false,
1815
+ "docs": {
1816
+ "tags": [],
1817
+ "text": ""
1838
1818
  }
1839
1819
  },
1840
- "required": false,
1841
- "optional": false,
1842
- "docs": {
1843
- "tags": [],
1844
- "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"
1845
1840
  }
1846
- },
1847
- "swipeDisabled": {
1848
- "type": "boolean",
1849
- "mutable": false,
1850
- "complexType": {
1851
- "original": "boolean",
1852
- "resolved": "boolean",
1853
- "references": {}
1854
- },
1855
- "required": false,
1856
- "optional": false,
1857
- "docs": {
1858
- "tags": [{
1859
- "name": "default",
1860
- "text": "false"
1861
- }],
1862
- "text": "Disable swipe"
1863
- },
1864
- "attribute": "swipe-disabled",
1865
- "reflect": false,
1866
- "defaultValue": "false"
1867
- }
1868
- }; }
1869
- static get states() { return {
1870
- "collapsedSection": {},
1871
- "selectedRows": {},
1872
- "rowActionMenuOpened": {},
1873
- "currentPage": {},
1874
- "currentRowsPerPage": {}
1875
- }; }
1876
- static get events() { return [{
1877
- "method": "kupBoxClick",
1878
- "name": "kup-box-click",
1879
- "bubbles": true,
1880
- "cancelable": false,
1881
- "composed": true,
1882
- "docs": {
1883
- "tags": [],
1884
- "text": "Triggered when a box is clicked"
1885
- },
1886
- "complexType": {
1887
- "original": "KupBoxClickEventPayload",
1888
- "resolved": "KupBoxClickEventPayload",
1889
- "references": {
1890
- "KupBoxClickEventPayload": {
1891
- "location": "import",
1892
- "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
+ }
1893
1871
  }
1894
1872
  }
1895
- }
1896
- }, {
1897
- "method": "kupBoxSelected",
1898
- "name": "kup-box-selected",
1899
- "bubbles": true,
1900
- "cancelable": false,
1901
- "composed": true,
1902
- "docs": {
1903
- "tags": [],
1904
- "text": "Triggered when the multi selection checkbox changes value"
1905
- },
1906
- "complexType": {
1907
- "original": "KupBoxSelectedEventPayload",
1908
- "resolved": "KupBoxSelectedEventPayload",
1909
- "references": {
1910
- "KupBoxSelectedEventPayload": {
1911
- "location": "import",
1912
- "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
+ }
1913
1891
  }
1914
1892
  }
1915
- }
1916
- }, {
1917
- "method": "kupAutoBoxSelect",
1918
- "name": "kup-box-autoselect",
1919
- "bubbles": true,
1920
- "cancelable": false,
1921
- "composed": true,
1922
- "docs": {
1923
- "tags": [],
1924
- "text": "Triggered when a box is auto selected via selectBox prop"
1925
- },
1926
- "complexType": {
1927
- "original": "KupBoxAutoSelectEventPayload",
1928
- "resolved": "KupBoxAutoSelectEventPayload",
1929
- "references": {
1930
- "KupBoxAutoSelectEventPayload": {
1931
- "location": "import",
1932
- "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
+ }
1933
1911
  }
1934
1912
  }
1935
- }
1936
- }, {
1937
- "method": "kupRowActionMenuClick",
1938
- "name": "kup-box-rowactionmenuclick",
1939
- "bubbles": true,
1940
- "cancelable": false,
1941
- "composed": true,
1942
- "docs": {
1943
- "tags": [],
1944
- "text": "When the row menu action icon is click"
1945
- },
1946
- "complexType": {
1947
- "original": "KupBoxAutoSelectEventPayload",
1948
- "resolved": "KupBoxAutoSelectEventPayload",
1949
- "references": {
1950
- "KupBoxAutoSelectEventPayload": {
1951
- "location": "import",
1952
- "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
+ }
1953
1931
  }
1954
1932
  }
1955
- }
1956
- }, {
1957
- "method": "kupRowActionClick",
1958
- "name": "kup-box-rowactionclick",
1959
- "bubbles": true,
1960
- "cancelable": false,
1961
- "composed": true,
1962
- "docs": {
1963
- "tags": [],
1964
- "text": "When the row menu action icon is click"
1965
- },
1966
- "complexType": {
1967
- "original": "KupBoxRowActionClickEventPayload",
1968
- "resolved": "KupBoxRowActionClickEventPayload",
1969
- "references": {
1970
- "KupBoxRowActionClickEventPayload": {
1971
- "location": "import",
1972
- "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
+ }
1973
1951
  }
1974
1952
  }
1975
- }
1976
- }, {
1977
- "method": "kupDidLoad",
1978
- "name": "kup-box-didload",
1979
- "bubbles": true,
1980
- "cancelable": false,
1981
- "composed": true,
1982
- "docs": {
1983
- "tags": [],
1984
- "text": ""
1985
- },
1986
- "complexType": {
1987
- "original": "KupEventPayload",
1988
- "resolved": "KupEventPayload",
1989
- "references": {
1990
- "KupEventPayload": {
1991
- "location": "import",
1992
- "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
+ }
1993
1971
  }
1994
1972
  }
1995
- }
1996
- }, {
1997
- "method": "kupDidUnload",
1998
- "name": "kup-box-didunload",
1999
- "bubbles": true,
2000
- "cancelable": false,
2001
- "composed": true,
2002
- "docs": {
2003
- "tags": [],
2004
- "text": "Triggered when stop propagation event"
2005
- },
2006
- "complexType": {
2007
- "original": "KupEventPayload",
2008
- "resolved": "KupEventPayload",
2009
- "references": {
2010
- "KupEventPayload": {
2011
- "location": "import",
2012
- "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
+ }
2013
1991
  }
2014
1992
  }
2015
- }
2016
- }, {
2017
- "method": "kupBoxContextMenu",
2018
- "name": "kup-box-contextmenu",
2019
- "bubbles": true,
2020
- "cancelable": false,
2021
- "composed": true,
2022
- "docs": {
2023
- "tags": [],
2024
- "text": "Generic right click event on box."
2025
- },
2026
- "complexType": {
2027
- "original": "KupBoxContextMenuEventPayload",
2028
- "resolved": "KupBoxContextMenuEventPayload",
2029
- "references": {
2030
- "KupBoxContextMenuEventPayload": {
2031
- "location": "import",
2032
- "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
+ }
2033
2011
  }
2034
2012
  }
2035
- }
2036
- }]; }
2037
- static get methods() { return {
2038
- "getProps": {
2039
- "complexType": {
2040
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
2041
- "parameters": [{
2042
- "tags": [{
2043
- "name": "param",
2044
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2045
- }],
2046
- "text": "- When provided and true, the result will be the list of props with their description."
2047
- }],
2048
- "references": {
2049
- "Promise": {
2050
- "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
+ }
2051
2035
  },
2052
- "GenericObject": {
2053
- "location": "import",
2054
- "path": "../../types/GenericTypes"
2055
- }
2036
+ "return": "Promise<GenericObject>"
2056
2037
  },
2057
- "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
+ }
2058
2048
  },
2059
- "docs": {
2060
- "text": "Used to retrieve component's props values.",
2061
- "tags": [{
2062
- "name": "param",
2063
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
2064
- }, {
2065
- "name": "returns",
2066
- "text": "List of props as object, each key will be a prop."
2067
- }]
2068
- }
2069
- },
2070
- "loadRowActions": {
2071
- "complexType": {
2072
- "signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
2073
- "parameters": [{
2074
- "tags": [],
2075
- "text": ""
2076
- }, {
2077
- "tags": [],
2078
- "text": ""
2079
- }],
2080
- "references": {
2081
- "Promise": {
2082
- "location": "global"
2083
- },
2084
- "KupBoxRow": {
2085
- "location": "import",
2086
- "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
+ }
2087
2071
  },
2088
- "KupDataRowAction": {
2089
- "location": "import",
2090
- "path": "../../managers/kup-data/kup-data-declarations"
2091
- }
2072
+ "return": "Promise<void>"
2092
2073
  },
2093
- "return": "Promise<void>"
2074
+ "docs": {
2075
+ "text": "",
2076
+ "tags": []
2077
+ }
2094
2078
  },
2095
- "docs": {
2096
- "text": "",
2097
- "tags": []
2098
- }
2099
- },
2100
- "refresh": {
2101
- "complexType": {
2102
- "signature": "() => Promise<void>",
2103
- "parameters": [],
2104
- "references": {
2105
- "Promise": {
2106
- "location": "global"
2107
- }
2079
+ "refresh": {
2080
+ "complexType": {
2081
+ "signature": "() => Promise<void>",
2082
+ "parameters": [],
2083
+ "references": {
2084
+ "Promise": {
2085
+ "location": "global"
2086
+ }
2087
+ },
2088
+ "return": "Promise<void>"
2108
2089
  },
2109
- "return": "Promise<void>"
2090
+ "docs": {
2091
+ "text": "This method is used to trigger a new render of the component.",
2092
+ "tags": []
2093
+ }
2110
2094
  },
2111
- "docs": {
2112
- "text": "This method is used to trigger a new render of the component.",
2113
- "tags": []
2114
- }
2115
- },
2116
- "setProps": {
2117
- "complexType": {
2118
- "signature": "(props: GenericObject) => Promise<void>",
2119
- "parameters": [{
2120
- "tags": [{
2121
- "name": "param",
2122
- "text": "props - Object containing props that will be set to the component."
2123
- }],
2124
- "text": "- Object containing props that will be set to the component."
2125
- }],
2126
- "references": {
2127
- "Promise": {
2128
- "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
+ }
2129
2113
  },
2130
- "GenericObject": {
2131
- "location": "import",
2132
- "path": "../../types/GenericTypes"
2133
- }
2114
+ "return": "Promise<void>"
2134
2115
  },
2135
- "return": "Promise<void>"
2136
- },
2137
- "docs": {
2138
- "text": "Sets the props to the component.",
2139
- "tags": [{
2140
- "name": "param",
2141
- "text": "props - Object containing props that will be set to the component."
2142
- }]
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
+ }
2143
2123
  }
2144
- }
2145
- }; }
2124
+ };
2125
+ }
2146
2126
  static get elementRef() { return "rootElement"; }
2147
- static get watchers() { return [{
2148
- "propName": "pageSize",
2149
- "methodName": "rowsPerPageHandler"
2150
- }, {
2151
- "propName": "globalFilterValue",
2152
- "methodName": "recalculateRows"
2153
- }, {
2154
- "propName": "sortBy",
2155
- "methodName": "recalculateRows"
2156
- }, {
2157
- "propName": "pagination",
2158
- "methodName": "recalculateRows"
2159
- }, {
2160
- "propName": "pageSize",
2161
- "methodName": "recalculateRows"
2162
- }, {
2163
- "propName": "currentPage",
2164
- "methodName": "recalculateRows"
2165
- }, {
2166
- "propName": "currentRowsPerPage",
2167
- "methodName": "recalculateRows"
2168
- }, {
2169
- "propName": "data",
2170
- "methodName": "onDataChanged"
2171
- }, {
2172
- "propName": "layout",
2173
- "methodName": "onLayoutChanged"
2174
- }, {
2175
- "propName": "selectBox",
2176
- "methodName": "onSelectBoxChanged"
2177
- }]; }
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
+ }
2178
2160
  }