@sme.up/ketchup 9.5.2 → 9.6.1

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 (310) hide show
  1. package/dist/cjs/{f-button-357a3dff.js → f-button-623dfcc3.js} +2 -2
  2. package/dist/cjs/{f-cell-1de0ea69.js → f-cell-9c718d83.js} +9 -8
  3. package/dist/cjs/{f-checkbox-41864e53.js → f-checkbox-bfa92ebe.js} +1 -1
  4. package/dist/cjs/{f-chip-bd5882a0.js → f-chip-c8efad5b.js} +3 -3
  5. package/dist/cjs/{f-image-30531fd0.js → f-image-b61cc967.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-ad8a4635.js → f-paginator-utils-f32382f6.js} +8 -8
  7. package/dist/cjs/{f-text-field-be758970.js → f-text-field-a09b1705.js} +2 -2
  8. package/dist/cjs/{index-8f2f4159.js → index-db0a6be6.js} +79 -38
  9. package/dist/cjs/index.cjs.js +3 -3
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +7 -6
  12. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +141 -112
  13. package/dist/cjs/kup-box.cjs.entry.js +82 -19
  14. package/dist/cjs/kup-calendar.cjs.entry.js +78 -11
  15. package/dist/cjs/kup-card-list.cjs.entry.js +5 -4
  16. package/dist/cjs/kup-cell.cjs.entry.js +12 -11
  17. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +22 -16
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +10 -9
  19. package/dist/cjs/{kup-dates-0e59b05d.js → kup-dates-4aa560f0.js} +80 -67
  20. package/dist/cjs/kup-drawer.cjs.entry.js +7 -6
  21. package/dist/cjs/kup-echart.cjs.entry.js +1504 -1025
  22. package/dist/cjs/kup-editor.cjs.entry.js +46260 -0
  23. package/dist/cjs/kup-family-tree.cjs.entry.js +9 -8
  24. package/dist/cjs/kup-gantt_10.cjs.entry.js +58 -42
  25. package/dist/cjs/kup-grid.cjs.entry.js +5 -4
  26. package/dist/cjs/kup-iframe.cjs.entry.js +5 -4
  27. package/dist/cjs/kup-image-list.cjs.entry.js +13 -12
  28. package/dist/cjs/kup-lazy.cjs.entry.js +16 -15
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +9 -8
  30. package/dist/cjs/{kup-manager-cefb1999.js → kup-manager-227c4be2.js} +121 -79
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +6 -5
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +7 -6
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -6
  34. package/dist/cjs/{kup-planner-renderer-helper-c2394940.js → kup-planner-renderer-helper-f0c869d7.js} +1 -1
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
  36. package/dist/cjs/kup-planner.cjs.entry.js +7 -6
  37. package/dist/cjs/kup-probe.cjs.entry.js +4 -4
  38. package/dist/cjs/kup-qlik.cjs.entry.js +6 -5
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +8 -7
  40. package/dist/cjs/loader.cjs.js +2 -2
  41. package/dist/collection/assets/editor-example-1.js +52 -0
  42. package/dist/collection/assets/editor.js +60 -0
  43. package/dist/collection/assets/index.js +12 -0
  44. package/dist/collection/assets/planner-example-4.js +4 -4
  45. package/dist/collection/assets/planner-example-5.js +3175 -0
  46. package/dist/collection/collection-manifest.json +3 -2
  47. package/dist/collection/components/kup-accordion/kup-accordion.js +10 -16
  48. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +10 -16
  49. package/dist/collection/components/kup-badge/kup-badge.js +8 -12
  50. package/dist/collection/components/kup-box/kup-box-declarations.js +11 -0
  51. package/dist/collection/components/kup-box/kup-box-state.js +2 -0
  52. package/dist/collection/components/kup-box/kup-box.css +1 -1
  53. package/dist/collection/components/kup-box/kup-box.js +181 -23
  54. package/dist/collection/components/kup-button/kup-button.js +6 -10
  55. package/dist/collection/components/kup-button-list/kup-button-list.js +7 -11
  56. package/dist/collection/components/kup-calendar/kup-calendar.js +10 -12
  57. package/dist/collection/components/kup-card/kup-card.js +6 -10
  58. package/dist/collection/components/kup-card-list/kup-card-list.js +6 -10
  59. package/dist/collection/components/kup-cell/kup-cell.js +13 -21
  60. package/dist/collection/components/kup-chart/kup-chart.js +7 -11
  61. package/dist/collection/components/kup-checkbox/kup-checkbox.js +7 -11
  62. package/dist/collection/components/kup-chip/kup-chip.js +8 -12
  63. package/dist/collection/components/kup-color-picker/kup-color-picker.js +11 -17
  64. package/dist/collection/components/kup-combobox/kup-combobox.js +10 -16
  65. package/dist/collection/components/kup-dashboard/kup-dashboard.js +7 -11
  66. package/dist/collection/components/kup-data-table/kup-data-table.js +72 -95
  67. package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -11
  68. package/dist/collection/components/kup-dialog/kup-dialog.css +2 -2
  69. package/dist/collection/components/kup-dialog/kup-dialog.js +9 -13
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +8 -12
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +10 -13
  72. package/dist/collection/components/kup-echart/kup-echart.js +7 -11
  73. package/dist/collection/components/kup-editor/kup-editor-declarations.js +15 -0
  74. package/dist/collection/components/kup-editor/kup-editor.js +774 -0
  75. package/dist/collection/components/kup-family-tree/kup-family-tree.js +14 -16
  76. package/dist/collection/components/kup-form/kup-form.js +14 -22
  77. package/dist/collection/components/kup-gauge/kup-gauge.js +6 -10
  78. package/dist/collection/components/kup-grid/kup-grid.js +6 -10
  79. package/dist/collection/components/kup-iframe/kup-iframe.js +6 -10
  80. package/dist/collection/components/kup-image/kup-image.js +6 -10
  81. package/dist/collection/components/kup-image-list/kup-image-list.js +8 -12
  82. package/dist/collection/components/kup-lazy/kup-lazy.js +17 -21
  83. package/dist/collection/components/kup-list/kup-list.js +10 -16
  84. package/dist/collection/components/kup-magic-box/kup-magic-box.js +9 -13
  85. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +7 -11
  86. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +7 -11
  87. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +8 -12
  88. package/dist/collection/components/kup-planner/kup-planner.js +13 -21
  89. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  90. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
  91. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -1
  92. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
  93. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
  94. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +0 -2
  95. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +13 -14
  96. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
  97. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  98. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +6 -4
  99. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  100. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  101. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +6 -1
  102. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  103. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  104. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.css +0 -2
  105. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  106. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  107. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +7 -11
  108. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  109. package/dist/collection/components/kup-radio/kup-radio.js +6 -10
  110. package/dist/collection/components/kup-rating/kup-rating.js +7 -11
  111. package/dist/collection/components/kup-snackbar/kup-snackbar.js +7 -11
  112. package/dist/collection/components/kup-spinner/kup-spinner.js +40 -44
  113. package/dist/collection/components/kup-switch/kup-switch.js +7 -11
  114. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +6 -10
  115. package/dist/collection/components/kup-text-field/kup-text-field.js +10 -13
  116. package/dist/collection/components/kup-time-picker/kup-time-picker.js +10 -13
  117. package/dist/collection/components/kup-tree/kup-tree-faker.js +1 -1
  118. package/dist/collection/components/kup-tree/kup-tree.js +24 -33
  119. package/dist/collection/f-components/f-cell/f-cell.js +2 -1
  120. package/dist/collection/managers/kup-manager/kup-manager.js +5 -0
  121. package/dist/collection/managers/kup-openai/kup-openai.js +11 -8
  122. package/dist/components/custom-task-list-header.js +4 -3
  123. package/dist/components/custom-task-list-table.js +4 -3
  124. package/dist/components/kup-accordion.js +3 -2
  125. package/dist/components/kup-autocomplete2.js +136 -106
  126. package/dist/components/kup-box2.js +78 -11
  127. package/dist/components/kup-button-list.js +1 -1
  128. package/dist/components/kup-button.js +1 -1
  129. package/dist/components/kup-calendar.js +74 -7
  130. package/dist/components/kup-card-list.js +2 -1
  131. package/dist/components/kup-card.js +1 -1
  132. package/dist/components/kup-cell.js +3 -2
  133. package/dist/components/kup-chart.js +1 -1
  134. package/dist/components/kup-checkbox.js +1 -1
  135. package/dist/components/kup-chip.js +1 -1
  136. package/dist/components/kup-color-picker.js +1 -1
  137. package/dist/components/kup-combobox.js +1 -1
  138. package/dist/components/kup-dashboard.js +4 -3
  139. package/dist/components/kup-data-table.js +1 -1
  140. package/dist/components/kup-date-picker.js +1 -1
  141. package/dist/components/kup-dates.js +81 -67
  142. package/dist/components/kup-dialog.js +1 -1
  143. package/dist/components/kup-drawer.js +4 -3
  144. package/dist/components/kup-dropdown-button.js +1 -1
  145. package/dist/components/kup-echart2.js +1501 -1022
  146. package/dist/components/kup-editor.d.ts +11 -0
  147. package/dist/components/kup-editor.js +46434 -0
  148. package/dist/components/kup-family-tree.js +5 -4
  149. package/dist/components/kup-form.js +1 -1
  150. package/dist/components/kup-gantt-calendar2.js +3 -2
  151. package/dist/components/kup-gantt2.js +4 -2
  152. package/dist/components/kup-gauge.js +1 -1
  153. package/dist/components/kup-grid-renderer2.js +10 -7
  154. package/dist/components/kup-grid2.js +2 -1
  155. package/dist/components/kup-horizontal-scroll2.js +12 -12
  156. package/dist/components/kup-iframe.js +2 -1
  157. package/dist/components/kup-image-list.js +5 -4
  158. package/dist/components/kup-image.js +1 -1
  159. package/dist/components/kup-lazy.js +13 -12
  160. package/dist/components/kup-list.js +1 -1
  161. package/dist/components/kup-magic-box.js +6 -5
  162. package/dist/components/kup-manager.js +121 -79
  163. package/dist/components/kup-nav-bar.js +3 -2
  164. package/dist/components/kup-numeric-picker.js +4 -3
  165. package/dist/components/kup-photo-frame.js +4 -3
  166. package/dist/components/kup-planner-renderer-helper.js +2 -2
  167. package/dist/components/kup-planner-renderer2.js +3 -3
  168. package/dist/components/kup-planner.js +5 -4
  169. package/dist/components/kup-probe.js +1 -1
  170. package/dist/components/kup-progress-bar.js +1 -1
  171. package/dist/components/kup-qlik.js +3 -2
  172. package/dist/components/kup-radio.js +1 -1
  173. package/dist/components/kup-rating.js +1 -1
  174. package/dist/components/kup-snackbar.js +4 -3
  175. package/dist/components/kup-spinner.js +1 -1
  176. package/dist/components/kup-standard-tooltip2.js +3 -2
  177. package/dist/components/kup-switch.js +1 -1
  178. package/dist/components/kup-switcher2.js +3 -2
  179. package/dist/components/kup-tab-bar.js +1 -1
  180. package/dist/components/kup-task-gantt2.js +6 -4
  181. package/dist/components/kup-task-list-header2.js +9 -8
  182. package/dist/components/kup-task-list-table2.js +3 -2
  183. package/dist/components/kup-task-list2.js +9 -3
  184. package/dist/components/kup-text-field.js +1 -1
  185. package/dist/components/kup-time-picker.js +1 -1
  186. package/dist/components/kup-tooltip2.js +3 -2
  187. package/dist/components/kup-tree.js +1 -1
  188. package/dist/components/kup-vertical-scroll2.js +5 -4
  189. package/dist/esm/{f-button-856a189a.js → f-button-121958b3.js} +2 -2
  190. package/dist/esm/{f-cell-6324d838.js → f-cell-959b83db.js} +9 -8
  191. package/dist/esm/{f-checkbox-43481de2.js → f-checkbox-fdf27ce9.js} +1 -1
  192. package/dist/esm/{f-chip-e15fba8a.js → f-chip-915ddf53.js} +3 -3
  193. package/dist/esm/{f-image-26b1bc14.js → f-image-98371dac.js} +2 -2
  194. package/dist/esm/{f-paginator-utils-e8f62783.js → f-paginator-utils-10fa5a7d.js} +5 -5
  195. package/dist/esm/{f-text-field-bbe1f236.js → f-text-field-0df308e4.js} +2 -2
  196. package/dist/esm/{index-59f83f91.js → index-bbef9f2a.js} +79 -38
  197. package/dist/esm/index.js +3 -3
  198. package/dist/esm/ketchup.js +4 -4
  199. package/dist/esm/kup-accordion.entry.js +7 -6
  200. package/dist/esm/kup-autocomplete_27.entry.js +141 -112
  201. package/dist/esm/kup-box.entry.js +82 -19
  202. package/dist/esm/kup-calendar.entry.js +78 -11
  203. package/dist/esm/kup-card-list.entry.js +5 -4
  204. package/dist/esm/kup-cell.entry.js +12 -11
  205. package/dist/esm/kup-custom-task-list-header_4.entry.js +22 -16
  206. package/dist/esm/kup-dashboard.entry.js +10 -9
  207. package/dist/esm/{kup-dates-15f89ea2.js → kup-dates-172954df.js} +81 -67
  208. package/dist/esm/kup-drawer.entry.js +7 -6
  209. package/dist/esm/kup-echart.entry.js +1504 -1025
  210. package/dist/esm/kup-editor.entry.js +46256 -0
  211. package/dist/esm/kup-family-tree.entry.js +9 -8
  212. package/dist/esm/kup-gantt_10.entry.js +58 -42
  213. package/dist/esm/kup-grid.entry.js +5 -4
  214. package/dist/esm/kup-iframe.entry.js +5 -4
  215. package/dist/esm/kup-image-list.entry.js +13 -12
  216. package/dist/esm/kup-lazy.entry.js +16 -15
  217. package/dist/esm/kup-magic-box.entry.js +9 -8
  218. package/dist/esm/{kup-manager-8d1df189.js → kup-manager-33b051d6.js} +122 -80
  219. package/dist/esm/kup-nav-bar.entry.js +6 -5
  220. package/dist/esm/kup-numeric-picker.entry.js +7 -6
  221. package/dist/esm/kup-photo-frame.entry.js +7 -6
  222. package/dist/esm/{kup-planner-renderer-helper-2143d119.js → kup-planner-renderer-helper-5d97e075.js} +2 -2
  223. package/dist/esm/kup-planner-renderer.entry.js +4 -4
  224. package/dist/esm/kup-planner.entry.js +8 -7
  225. package/dist/esm/kup-probe.entry.js +4 -4
  226. package/dist/esm/kup-qlik.entry.js +6 -5
  227. package/dist/esm/kup-snackbar.entry.js +8 -7
  228. package/dist/esm/loader.js +3 -3
  229. package/dist/ketchup/index.esm.js +1 -1
  230. package/dist/ketchup/ketchup.esm.js +1 -1
  231. package/dist/ketchup/p-060ae996.entry.js +1 -0
  232. package/dist/ketchup/{p-0c124f99.entry.js → p-0a4595bd.entry.js} +1 -1
  233. package/dist/ketchup/{p-dc370227.entry.js → p-0dd0ae49.entry.js} +1 -1
  234. package/dist/ketchup/p-102866cd.js +1 -0
  235. package/dist/ketchup/{p-d300948a.entry.js → p-11d5400a.entry.js} +1 -1
  236. package/dist/ketchup/p-1ad7fea0.js +2 -0
  237. package/dist/ketchup/{p-01a0b54c.js → p-2778f948.js} +1 -1
  238. package/dist/ketchup/p-2f4055ba.entry.js +1 -0
  239. package/dist/ketchup/p-3c9ac0fd.entry.js +1 -0
  240. package/dist/ketchup/p-3ce8ce77.entry.js +49 -0
  241. package/dist/ketchup/p-3ff9a661.entry.js +1 -0
  242. package/dist/ketchup/p-41d6466e.entry.js +1 -0
  243. package/dist/ketchup/p-4bf5e04f.entry.js +1 -0
  244. package/dist/ketchup/p-610a03d4.js +28 -0
  245. package/dist/ketchup/{p-d9a1e5a4.entry.js → p-662d2f9b.entry.js} +1 -1
  246. package/dist/ketchup/p-773bcc69.entry.js +1 -0
  247. package/dist/ketchup/{p-caeed3c3.js → p-7bda0684.js} +1 -1
  248. package/dist/ketchup/p-81996620.entry.js +1 -0
  249. package/dist/ketchup/p-9d8d5070.entry.js +1 -0
  250. package/dist/ketchup/{p-8042dcd5.entry.js → p-9e63f56b.entry.js} +1 -1
  251. package/dist/ketchup/p-9f31a129.entry.js +38 -0
  252. package/dist/ketchup/p-a9b06bb8.js +1 -0
  253. package/dist/ketchup/p-b3067fd0.entry.js +9 -0
  254. package/dist/ketchup/p-b5d3c24d.entry.js +1 -0
  255. package/dist/ketchup/p-babbffa4.entry.js +1 -0
  256. package/dist/ketchup/p-c1ade766.entry.js +1 -0
  257. package/dist/ketchup/{p-9ba8f169.js → p-ccc637ee.js} +1 -1
  258. package/dist/ketchup/p-d15d1083.entry.js +1 -0
  259. package/dist/ketchup/p-d5254caf.entry.js +1 -0
  260. package/dist/ketchup/{p-d76cd8d6.js → p-dba484b8.js} +1 -1
  261. package/dist/ketchup/{p-f51dbf68.js → p-dc18691c.js} +1 -1
  262. package/dist/ketchup/p-de07d17e.js +1 -0
  263. package/dist/ketchup/p-df450df9.entry.js +16 -0
  264. package/dist/ketchup/{p-269a9af8.js → p-e43d4ccc.js} +1 -1
  265. package/dist/ketchup/p-ea625b2a.entry.js +1 -0
  266. package/dist/ketchup/{p-81c1d557.entry.js → p-eb37ea7e.entry.js} +1 -1
  267. package/dist/ketchup/p-f0b882f4.entry.js +1 -0
  268. package/dist/types/components/kup-box/kup-box-declarations.d.ts +13 -0
  269. package/dist/types/components/kup-box/kup-box-state.d.ts +2 -0
  270. package/dist/types/components/kup-box/kup-box.d.ts +26 -1
  271. package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -0
  272. package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +1 -0
  273. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
  274. package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +21 -0
  275. package/dist/types/components/kup-editor/kup-editor.d.ts +128 -0
  276. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +1 -0
  277. package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +1 -1
  278. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -0
  279. package/dist/types/components.d.ts +197 -8
  280. package/dist/types/managers/kup-data/kup-data.d.ts +1 -1
  281. package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +1 -0
  282. package/dist/types/managers/kup-interact/kup-interact.d.ts +1 -0
  283. package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +3 -0
  284. package/dist/types/managers/kup-manager/kup-manager.d.ts +1 -0
  285. package/dist/types/managers/kup-toolbar/kup-toolbar-declarations.d.ts +1 -1
  286. package/package.json +4 -3
  287. package/dist/ketchup/p-07bed934.entry.js +0 -1
  288. package/dist/ketchup/p-0f6cb6e4.entry.js +0 -1
  289. package/dist/ketchup/p-177f8008.entry.js +0 -9
  290. package/dist/ketchup/p-2ab02da0.entry.js +0 -1
  291. package/dist/ketchup/p-3f028a71.entry.js +0 -1
  292. package/dist/ketchup/p-4a18db68.entry.js +0 -39
  293. package/dist/ketchup/p-4eb6d4e8.entry.js +0 -1
  294. package/dist/ketchup/p-63031c77.js +0 -1
  295. package/dist/ketchup/p-71acfd3c.entry.js +0 -1
  296. package/dist/ketchup/p-753f30d8.entry.js +0 -1
  297. package/dist/ketchup/p-8c3ad5ef.entry.js +0 -1
  298. package/dist/ketchup/p-937a322f.js +0 -29
  299. package/dist/ketchup/p-a2d3aec9.entry.js +0 -1
  300. package/dist/ketchup/p-b07ffd18.entry.js +0 -16
  301. package/dist/ketchup/p-b115e1ec.entry.js +0 -1
  302. package/dist/ketchup/p-b396d0f8.js +0 -1
  303. package/dist/ketchup/p-c12a9759.entry.js +0 -1
  304. package/dist/ketchup/p-c23731ca.js +0 -1
  305. package/dist/ketchup/p-cadeb53d.entry.js +0 -1
  306. package/dist/ketchup/p-cd9a4274.js +0 -2
  307. package/dist/ketchup/p-f1cae1e1.entry.js +0 -1
  308. package/dist/ketchup/p-f417e794.entry.js +0 -1
  309. package/dist/ketchup/p-f753c13f.entry.js +0 -1
  310. package/dist/ketchup/p-f7980061.entry.js +0 -1
@@ -24,6 +24,7 @@
24
24
  "components/kup-dialog/kup-dialog.js",
25
25
  "components/kup-drawer/kup-drawer.js",
26
26
  "components/kup-echart/kup-echart.js",
27
+ "components/kup-editor/kup-editor.js",
27
28
  "components/kup-family-tree/kup-family-tree.js",
28
29
  "components/kup-form/kup-form.js",
29
30
  "components/kup-gauge/kup-gauge.js",
@@ -66,8 +67,8 @@
66
67
  ],
67
68
  "compiler": {
68
69
  "name": "@stencil/core",
69
- "version": "4.8.2",
70
- "typescriptVersion": "5.2.2"
70
+ "version": "4.12.1",
71
+ "typescriptVersion": "5.3.3"
71
72
  },
72
73
  "collections": [],
73
74
  "bundles": []
@@ -179,7 +179,7 @@ export class KupAccordion {
179
179
  }
180
180
  render() {
181
181
  const content = this.data && this.data.columns ? this.renderItems() : null;
182
- return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: "accordion" }, content))));
182
+ return (h(Host, { key: '12da47dc3f3462e4d3e78b5266ee5416c26a2a99' }, h("style", { key: 'af0aa37c789ba350584ffd5289e5e08a581a2bb7' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e662e0fb3e38440eb105a18f0e6302d5b619a958', id: componentWrapperId }, h("div", { key: 'e5860263f1b09c6f9f64d3a15ccbde1d2d88a316', class: "accordion" }, content))));
183
183
  }
184
184
  disconnectedCallback() {
185
185
  this.kupManager.theme.unregister(this);
@@ -339,11 +339,9 @@ export class KupAccordion {
339
339
  "complexType": {
340
340
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
341
341
  "parameters": [{
342
- "tags": [{
343
- "name": "param",
344
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
345
- }],
346
- "text": "- When provided and true, the result will be the list of props with their description."
342
+ "name": "descriptions",
343
+ "type": "boolean",
344
+ "docs": "- When provided and true, the result will be the list of props with their description."
347
345
  }],
348
346
  "references": {
349
347
  "Promise": {
@@ -390,11 +388,9 @@ export class KupAccordion {
390
388
  "complexType": {
391
389
  "signature": "(props: GenericObject) => Promise<void>",
392
390
  "parameters": [{
393
- "tags": [{
394
- "name": "param",
395
- "text": "props - Object containing props that will be set to the component."
396
- }],
397
- "text": "- Object containing props that will be set to the component."
391
+ "name": "props",
392
+ "type": "GenericObject",
393
+ "docs": "- Object containing props that will be set to the component."
398
394
  }],
399
395
  "references": {
400
396
  "Promise": {
@@ -421,11 +417,9 @@ export class KupAccordion {
421
417
  "complexType": {
422
418
  "signature": "(itemName: string) => Promise<void>",
423
419
  "parameters": [{
424
- "tags": [{
425
- "name": "param",
426
- "text": "itemName - Name of the item."
427
- }],
428
- "text": "- Name of the item."
420
+ "name": "itemName",
421
+ "type": "string",
422
+ "docs": "- Name of the item."
429
423
  }],
430
424
  "references": {
431
425
  "Promise": {
@@ -269,7 +269,7 @@ export class KupAutocomplete {
269
269
  render() {
270
270
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
271
271
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
272
- return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h("style", null, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ icon: this.showDropDownIcon
272
+ return (h(Host, { key: '88774505c1f13b133ce2be0bda250290f6de04a6', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: '2f8ca0e34b61255f0820ca1c9ac36d872642e009' }, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '0cafe0954f744146d3fdd0c8452be08ea2f2193d', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: '6b84b32bd60fbc96c17f88257a439a5134243df1', icon: this.showDropDownIcon
273
273
  ? KupThemeIconValues.DROPDOWN
274
274
  : null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
275
275
  window.clearTimeout(__classPrivateFieldGet(this, _KupAutocomplete_inputTimeout, "f"));
@@ -710,11 +710,9 @@ export class KupAutocomplete {
710
710
  "complexType": {
711
711
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
712
712
  "parameters": [{
713
- "tags": [{
714
- "name": "param",
715
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
716
- }],
717
- "text": "- When provided and true, the result will be the list of props with their description."
713
+ "name": "descriptions",
714
+ "type": "boolean",
715
+ "docs": "- When provided and true, the result will be the list of props with their description."
718
716
  }],
719
717
  "references": {
720
718
  "Promise": {
@@ -798,11 +796,9 @@ export class KupAutocomplete {
798
796
  "complexType": {
799
797
  "signature": "(props: GenericObject) => Promise<void>",
800
798
  "parameters": [{
801
- "tags": [{
802
- "name": "param",
803
- "text": "props - Object containing props that will be set to the component."
804
- }],
805
- "text": "- Object containing props that will be set to the component."
799
+ "name": "props",
800
+ "type": "GenericObject",
801
+ "docs": "- Object containing props that will be set to the component."
806
802
  }],
807
803
  "references": {
808
804
  "Promise": {
@@ -829,11 +825,9 @@ export class KupAutocomplete {
829
825
  "complexType": {
830
826
  "signature": "(value: string) => Promise<void>",
831
827
  "parameters": [{
832
- "tags": [{
833
- "name": "param",
834
- "text": "value - Value of the component."
835
- }],
836
- "text": "- Value of the component."
828
+ "name": "value",
829
+ "type": "string",
830
+ "docs": "- Value of the component."
837
831
  }],
838
832
  "references": {
839
833
  "Promise": {
@@ -76,9 +76,9 @@ export class KupBadge {
76
76
  if (!this.imageData.color) {
77
77
  this.imageData.color = `var(${KupThemeColorValues.TEXT_ON_PRIMARY})`;
78
78
  }
79
- imageEl = h(FImage, Object.assign({}, this.imageData));
79
+ imageEl = h(FImage, Object.assign({ key: '13d604cf44b52b9a914eaa17dd40501400476847' }, this.imageData));
80
80
  }
81
- return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, onClick: () => this.onKupClick() }, this.text, imageEl)));
81
+ return (h(Host, { key: 'a88511192e2f63f9e527485ada0786df92d6aa6f' }, h("style", { key: '127e5883c7a23cdb3302d8f6a2db82d1d8bedcce' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'f06c0031f262f1214426b8916bc6d81690894045', id: componentWrapperId, onClick: () => this.onKupClick() }, this.text, imageEl)));
82
82
  }
83
83
  disconnectedCallback() {
84
84
  this.kupManager.theme.unregister(this);
@@ -199,11 +199,9 @@ export class KupBadge {
199
199
  "complexType": {
200
200
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
201
201
  "parameters": [{
202
- "tags": [{
203
- "name": "param",
204
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
205
- }],
206
- "text": "- When provided and true, the result will be the list of props with their description."
202
+ "name": "descriptions",
203
+ "type": "boolean",
204
+ "docs": "- When provided and true, the result will be the list of props with their description."
207
205
  }],
208
206
  "references": {
209
207
  "Promise": {
@@ -250,11 +248,9 @@ export class KupBadge {
250
248
  "complexType": {
251
249
  "signature": "(props: GenericObject) => Promise<void>",
252
250
  "parameters": [{
253
- "tags": [{
254
- "name": "param",
255
- "text": "props - Object containing props that will be set to the component."
256
- }],
257
- "text": "- Object containing props that will be set to the component."
251
+ "name": "props",
252
+ "type": "GenericObject",
253
+ "docs": "- Object containing props that will be set to the component."
258
254
  }],
259
255
  "references": {
260
256
  "Promise": {
@@ -17,6 +17,9 @@ export var KupBoxProps;
17
17
  KupBoxProps["kanban"] = "Displays the boxlist as a Kanban.";
18
18
  KupBoxProps["layout"] = "How the field will be displayed. If not present, a default one will be created.";
19
19
  KupBoxProps["lazyLoadRows"] = "When set to true, extra rows will be automatically loaded once the last row enters the viewport.";
20
+ KupBoxProps["loadMoreLimit"] = "Sets a maximum limit of new records which can be required by the load more functionality.";
21
+ KupBoxProps["loadMoreMode"] = "Establish the modality of how many new records will be downloaded. This property is regulated also by loadMoreStep.";
22
+ KupBoxProps["loadMoreStep"] = "The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.";
20
23
  KupBoxProps["multiSelection"] = "Enable multi selection.";
21
24
  KupBoxProps["pageSelected"] = "Current page number.";
22
25
  KupBoxProps["pagination"] = "Enables pagination.";
@@ -24,6 +27,7 @@ export var KupBoxProps;
24
27
  KupBoxProps["scrollOnHover"] = "Activates the scroll on hover function.";
25
28
  KupBoxProps["selectBox"] = "Automatically selects the box at the specified index.";
26
29
  KupBoxProps["selectedRowsState"] = "Multiple selection.";
30
+ KupBoxProps["showLoadMore"] = "If set to true, displays the button to load more records.";
27
31
  KupBoxProps["showSelection"] = "If enabled, highlights the selected box/boxes.";
28
32
  KupBoxProps["sortBy"] = "If sorting is enabled, specifies which column to sort.";
29
33
  KupBoxProps["sortEnabled"] = "Enable sorting.";
@@ -31,3 +35,10 @@ export var KupBoxProps;
31
35
  KupBoxProps["store"] = "";
32
36
  KupBoxProps["swipeDisabled"] = "Disable swipe.";
33
37
  })(KupBoxProps || (KupBoxProps = {}));
38
+ //---- *NEXT functionality AKA load more ----
39
+ export var LoadMoreMode;
40
+ (function (LoadMoreMode) {
41
+ LoadMoreMode["CONSTANT"] = "constant";
42
+ LoadMoreMode["CONSTANT_INCREMENT"] = "constant_increment";
43
+ LoadMoreMode["PROGRESSIVE_THRESHOLD"] = "progressive_threshold";
44
+ })(LoadMoreMode || (LoadMoreMode = {}));
@@ -6,6 +6,8 @@ export class KupBoxState {
6
6
  this.pageSelected = 1;
7
7
  this.rowsPerPage = 0;
8
8
  this.load = false;
9
+ this.loadMoreLimit = 1000;
10
+ this.showLoadMore = false;
9
11
  }
10
12
  /*Add attribute*/
11
13
  toDebugString() {
@@ -55,7 +55,7 @@
55
55
  #box-container.is-kanban .box-wrapper .box {
56
56
  overflow: auto;
57
57
  }
58
- #box-container * {
58
+ #box-container *:not(.progress-bar-percentage) {
59
59
  box-sizing: border-box;
60
60
  }
61
61
  #box-container .box-wrapper {
@@ -14,10 +14,10 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
14
14
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
15
15
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
16
16
  };
17
- var _KupBox_instances, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_didRenderObservers, _KupBox_setObserver;
17
+ var _KupBox_instances, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
18
18
  import { forceUpdate, h, Host, } from "@stencil/core";
19
19
  import { SortMode, } from "../kup-data-table/kup-data-table-declarations";
20
- import { KupBoxProps, } from "./kup-box-declarations";
20
+ import { KupBoxProps, LoadMoreMode, } from "./kup-box-declarations";
21
21
  import { getColumnByName } from "../../utils/cell-utils";
22
22
  import { filterRows, sortRows, paginateRows, } from "../kup-data-table/kup-data-table-helper";
23
23
  import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
@@ -32,7 +32,6 @@ import { KupThemeIconValues } from "../../managers/kup-theme/kup-theme-declarati
32
32
  import { KupDragEffect, kupDraggableAttr, KupDropEventTypes, KupPointerEventTypes, } from "../../managers/kup-interact/kup-interact-declarations";
33
33
  import { FCell } from "../../f-components/f-cell/f-cell";
34
34
  import { FPaginator } from "../../f-components/f-paginator/f-paginator";
35
- import { FPaginatorMode } from "../../f-components/f-paginator/f-paginator-declarations";
36
35
  import { pageChange, rowsPerPageChange, } from "../../f-components/f-paginator/f-paginator-utils";
37
36
  import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc";
38
37
  export class KupBox {
@@ -58,6 +57,8 @@ export class KupBox {
58
57
  _KupBox_intObserver.set(this, undefined);
59
58
  _KupBox_rowsRefs.set(this, []);
60
59
  _KupBox_navBarHeight.set(this, 0);
60
+ _KupBox_loadMoreEventCounter.set(this, 0);
61
+ _KupBox_loadMoreEventPreviousQuantity.set(this, 0);
61
62
  this.collapsedSection = {};
62
63
  this.selectedRows = [];
63
64
  this.rowActionMenuOpened = undefined;
@@ -77,6 +78,9 @@ export class KupBox {
77
78
  this.kanban = null;
78
79
  this.layout = undefined;
79
80
  this.lazyLoadRows = false;
81
+ this.loadMoreLimit = 1000;
82
+ this.loadMoreMode = LoadMoreMode.PROGRESSIVE_THRESHOLD;
83
+ this.loadMoreStep = 60;
80
84
  this.multiSelection = false;
81
85
  this.pageSelected = 1;
82
86
  this.pagination = false;
@@ -84,6 +88,7 @@ export class KupBox {
84
88
  this.scrollOnHover = false;
85
89
  this.selectBox = undefined;
86
90
  this.selectedRowsState = undefined;
91
+ this.showLoadMore = false;
87
92
  this.showSelection = true;
88
93
  this.sortBy = undefined;
89
94
  this.sortEnabled = false;
@@ -105,6 +110,8 @@ export class KupBox {
105
110
  this.selectedRowsState = this.state.selectedRowsState;
106
111
  this.pageSelected = this.state.pageSelected;
107
112
  this.rowsPerPage = this.state.rowsPerPage;
113
+ this.loadMoreLimit = state.loadMoreLimit;
114
+ this.showLoadMore = state.showLoadMore;
108
115
  }
109
116
  }
110
117
  }
@@ -135,6 +142,14 @@ export class KupBox {
135
142
  this.state.selectedRowsState = selectedRowsState;
136
143
  somethingChanged = true;
137
144
  }
145
+ if (!this.kupManager.objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
146
+ this.state.loadMoreLimit = this.loadMoreLimit;
147
+ somethingChanged = true;
148
+ }
149
+ if (!this.kupManager.objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
150
+ this.state.showLoadMore = this.showLoadMore;
151
+ somethingChanged = true;
152
+ }
138
153
  if (!this.state.load) {
139
154
  this.state.load = true;
140
155
  return;
@@ -1164,10 +1179,18 @@ export class KupBox {
1164
1179
  } })));
1165
1180
  }
1166
1181
  let paginator = null;
1167
- if (!this.lazyLoadRows && this.pagination) {
1168
- paginator = (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.filteredRows.length, mode: FPaginatorMode.SIMPLE, perPage: this.currentRowsPerPage
1182
+ // paginaltorPos prop not managed yet
1183
+ const top = true;
1184
+ if (this.showLoadMore || (!this.lazyLoadRows && this.pagination)) {
1185
+ paginator = (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.filteredRows.length,
1186
+ // mode={FPaginatorMode.SIMPLE}
1187
+ perPage: this.currentRowsPerPage
1169
1188
  ? this.currentRowsPerPage
1170
- : this.rowsPerPage, onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) }));
1189
+ : this.rowsPerPage, onLoadMore: this.showLoadMore
1190
+ ? () => {
1191
+ __classPrivateFieldGet(this, _KupBox_instances, "m", _KupBox_onLoadMoreClick).call(this);
1192
+ }
1193
+ : null, onNextPage: () => this.handlePageChange(this.currentPage + 1), onPrevPage: () => this.handlePageChange(this.currentPage - 1), onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) }));
1171
1194
  }
1172
1195
  let boxContent = null;
1173
1196
  let containerStyle = {};
@@ -1531,6 +1554,78 @@ export class KupBox {
1531
1554
  "reflect": false,
1532
1555
  "defaultValue": "false"
1533
1556
  },
1557
+ "loadMoreLimit": {
1558
+ "type": "number",
1559
+ "mutable": false,
1560
+ "complexType": {
1561
+ "original": "number",
1562
+ "resolved": "number",
1563
+ "references": {}
1564
+ },
1565
+ "required": false,
1566
+ "optional": false,
1567
+ "docs": {
1568
+ "tags": [],
1569
+ "text": "Sets a maximum limit of new records which can be required by the load more functionality."
1570
+ },
1571
+ "attribute": "load-more-limit",
1572
+ "reflect": false,
1573
+ "defaultValue": "1000"
1574
+ },
1575
+ "loadMoreMode": {
1576
+ "type": "string",
1577
+ "mutable": false,
1578
+ "complexType": {
1579
+ "original": "LoadMoreMode",
1580
+ "resolved": "LoadMoreMode.CONSTANT | LoadMoreMode.CONSTANT_INCREMENT | LoadMoreMode.PROGRESSIVE_THRESHOLD",
1581
+ "references": {
1582
+ "LoadMoreMode": {
1583
+ "location": "import",
1584
+ "path": "./kup-box-declarations",
1585
+ "id": "src/components/kup-box/kup-box-declarations.ts::LoadMoreMode"
1586
+ }
1587
+ }
1588
+ },
1589
+ "required": false,
1590
+ "optional": false,
1591
+ "docs": {
1592
+ "tags": [{
1593
+ "name": "see",
1594
+ "text": "loadMoreStep *"
1595
+ }, {
1596
+ "name": "see",
1597
+ "text": "loadMoreLimit"
1598
+ }],
1599
+ "text": "Establish the modality of how many new records will be downloaded.\r\n\r\nThis property is regulated also by loadMoreStep."
1600
+ },
1601
+ "attribute": "load-more-mode",
1602
+ "reflect": false,
1603
+ "defaultValue": "LoadMoreMode.PROGRESSIVE_THRESHOLD"
1604
+ },
1605
+ "loadMoreStep": {
1606
+ "type": "number",
1607
+ "mutable": false,
1608
+ "complexType": {
1609
+ "original": "number",
1610
+ "resolved": "number",
1611
+ "references": {}
1612
+ },
1613
+ "required": false,
1614
+ "optional": false,
1615
+ "docs": {
1616
+ "tags": [{
1617
+ "name": "see",
1618
+ "text": "loadMoreMode *"
1619
+ }, {
1620
+ "name": "see",
1621
+ "text": "loadMoreLimit"
1622
+ }],
1623
+ "text": "The number of records which will be requested to be downloaded when clicking on the load more button.\r\n\r\nThis property is regulated also by loadMoreMode."
1624
+ },
1625
+ "attribute": "load-more-step",
1626
+ "reflect": false,
1627
+ "defaultValue": "60"
1628
+ },
1534
1629
  "multiSelection": {
1535
1630
  "type": "boolean",
1536
1631
  "mutable": false,
@@ -1675,6 +1770,24 @@ export class KupBox {
1675
1770
  "attribute": "selected-rows-state",
1676
1771
  "reflect": false
1677
1772
  },
1773
+ "showLoadMore": {
1774
+ "type": "boolean",
1775
+ "mutable": false,
1776
+ "complexType": {
1777
+ "original": "boolean",
1778
+ "resolved": "boolean",
1779
+ "references": {}
1780
+ },
1781
+ "required": false,
1782
+ "optional": false,
1783
+ "docs": {
1784
+ "tags": [],
1785
+ "text": "If set to true, displays the button to load more records."
1786
+ },
1787
+ "attribute": "show-load-more",
1788
+ "reflect": false,
1789
+ "defaultValue": "false"
1790
+ },
1678
1791
  "showSelection": {
1679
1792
  "type": "boolean",
1680
1793
  "mutable": false,
@@ -1977,6 +2090,27 @@ export class KupBox {
1977
2090
  }
1978
2091
  }
1979
2092
  }
2093
+ }, {
2094
+ "method": "kupLoadMoreClick",
2095
+ "name": "kup-box-loadmoreclick",
2096
+ "bubbles": true,
2097
+ "cancelable": false,
2098
+ "composed": true,
2099
+ "docs": {
2100
+ "tags": [],
2101
+ "text": ""
2102
+ },
2103
+ "complexType": {
2104
+ "original": "KupBoxLoadMoreClickEventPayload",
2105
+ "resolved": "KupBoxLoadMoreClickEventPayload",
2106
+ "references": {
2107
+ "KupBoxLoadMoreClickEventPayload": {
2108
+ "location": "import",
2109
+ "path": "./kup-box-declarations",
2110
+ "id": "src/components/kup-box/kup-box-declarations.ts::KupBoxLoadMoreClickEventPayload"
2111
+ }
2112
+ }
2113
+ }
1980
2114
  }];
1981
2115
  }
1982
2116
  static get methods() {
@@ -1985,11 +2119,9 @@ export class KupBox {
1985
2119
  "complexType": {
1986
2120
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
1987
2121
  "parameters": [{
1988
- "tags": [{
1989
- "name": "param",
1990
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
1991
- }],
1992
- "text": "- When provided and true, the result will be the list of props with their description."
2122
+ "name": "descriptions",
2123
+ "type": "boolean",
2124
+ "docs": "- When provided and true, the result will be the list of props with their description."
1993
2125
  }],
1994
2126
  "references": {
1995
2127
  "Promise": {
@@ -2019,11 +2151,13 @@ export class KupBox {
2019
2151
  "complexType": {
2020
2152
  "signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
2021
2153
  "parameters": [{
2022
- "tags": [],
2023
- "text": ""
2154
+ "name": "row",
2155
+ "type": "KupBoxRow",
2156
+ "docs": ""
2024
2157
  }, {
2025
- "tags": [],
2026
- "text": ""
2158
+ "name": "actions",
2159
+ "type": "KupDataRowAction[]",
2160
+ "docs": ""
2027
2161
  }],
2028
2162
  "references": {
2029
2163
  "Promise": {
@@ -2069,11 +2203,9 @@ export class KupBox {
2069
2203
  "complexType": {
2070
2204
  "signature": "(props: GenericObject) => Promise<void>",
2071
2205
  "parameters": [{
2072
- "tags": [{
2073
- "name": "param",
2074
- "text": "props - Object containing props that will be set to the component."
2075
- }],
2076
- "text": "- Object containing props that will be set to the component."
2206
+ "name": "props",
2207
+ "type": "GenericObject",
2208
+ "docs": "- Object containing props that will be set to the component."
2077
2209
  }],
2078
2210
  "references": {
2079
2211
  "Promise": {
@@ -2133,7 +2265,7 @@ export class KupBox {
2133
2265
  }];
2134
2266
  }
2135
2267
  }
2136
- _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_didRenderObservers = function _KupBox_didRenderObservers() {
2268
+ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_loadMoreEventCounter = new WeakMap(), _KupBox_loadMoreEventPreviousQuantity = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_didRenderObservers = function _KupBox_didRenderObservers() {
2137
2269
  if (this.lazyLoadRows &&
2138
2270
  this.currentRowsPerPage < this.data.rows.length) {
2139
2271
  __classPrivateFieldGet(this, _KupBox_intObserver, "f").observe(__classPrivateFieldGet(this, _KupBox_rowsRefs, "f")[__classPrivateFieldGet(this, _KupBox_rowsRefs, "f").length - 1]);
@@ -2144,11 +2276,11 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
2144
2276
  if (entry.isIntersecting) {
2145
2277
  this.kupManager.debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
2146
2278
  const delta = this.data.rows.length - this.currentRowsPerPage;
2147
- if (delta < 10) {
2279
+ if (delta < this.loadMoreStep) {
2148
2280
  this.currentRowsPerPage += delta;
2149
2281
  }
2150
2282
  else {
2151
- this.currentRowsPerPage += 10;
2283
+ this.currentRowsPerPage += this.loadMoreStep;
2152
2284
  }
2153
2285
  entry.target.classList.remove('last-row');
2154
2286
  __classPrivateFieldGet(this, _KupBox_intObserver, "f").unobserve(entry.target);
@@ -2160,4 +2292,30 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
2160
2292
  rootMargin: '-' + __classPrivateFieldGet(this, _KupBox_navBarHeight, "f") + 'px 0px 0px 0px',
2161
2293
  };
2162
2294
  __classPrivateFieldSet(this, _KupBox_intObserver, new IntersectionObserver(callback, options), "f");
2295
+ }, _KupBox_onLoadMoreClick = function _KupBox_onLoadMoreClick() {
2296
+ var _a;
2297
+ let loadItems = 0;
2298
+ switch (this.loadMoreMode) {
2299
+ case LoadMoreMode.CONSTANT:
2300
+ loadItems = this.loadMoreStep;
2301
+ break;
2302
+ case LoadMoreMode.CONSTANT_INCREMENT:
2303
+ loadItems =
2304
+ this.loadMoreStep * (__classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f") + 1);
2305
+ break;
2306
+ case LoadMoreMode.PROGRESSIVE_THRESHOLD:
2307
+ loadItems =
2308
+ Math.max(__classPrivateFieldGet(this, _KupBox_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f") + 1, 2);
2309
+ break;
2310
+ }
2311
+ if (loadItems > this.loadMoreLimit) {
2312
+ loadItems = this.loadMoreLimit;
2313
+ }
2314
+ this.kupLoadMoreClick.emit({
2315
+ comp: this,
2316
+ id: this.rootElement.id,
2317
+ loadItems: loadItems,
2318
+ });
2319
+ __classPrivateFieldSet(this, _KupBox_loadMoreEventPreviousQuantity, loadItems, "f");
2320
+ __classPrivateFieldSet(this, _KupBox_loadMoreEventCounter, (_a = __classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f"), _a++, _a), "f");
2163
2321
  };
@@ -505,11 +505,9 @@ export class KupButton {
505
505
  "complexType": {
506
506
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
507
507
  "parameters": [{
508
- "tags": [{
509
- "name": "param",
510
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
511
- }],
512
- "text": "- When provided and true, the result will be the list of props with their description."
508
+ "name": "descriptions",
509
+ "type": "boolean",
510
+ "docs": "- When provided and true, the result will be the list of props with their description."
513
511
  }],
514
512
  "references": {
515
513
  "Promise": {
@@ -556,11 +554,9 @@ export class KupButton {
556
554
  "complexType": {
557
555
  "signature": "(props: GenericObject) => Promise<void>",
558
556
  "parameters": [{
559
- "tags": [{
560
- "name": "param",
561
- "text": "props - Object containing props that will be set to the component."
562
- }],
563
- "text": "- Object containing props that will be set to the component."
557
+ "name": "props",
558
+ "type": "GenericObject",
559
+ "docs": "- Object containing props that will be set to the component."
564
560
  }],
565
561
  "references": {
566
562
  "Promise": {
@@ -250,7 +250,7 @@ export class KupButtonList {
250
250
  'button-list--container': true,
251
251
  'show-selection': this.showSelection && this.selected ? true : false,
252
252
  };
253
- return (h(Host, { style: hostStyle }, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: classObj }, buttons))));
253
+ return (h(Host, { key: 'a01db9921adbf39f2d78e4dab8f36628cfa6c36b', style: hostStyle }, h("style", { key: '48e3bd8c16086c166b34b4ff7131257d4258e627' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '849c6b0831fce22ca8cc3c462e5889146088f214', id: componentWrapperId }, h("div", { key: '61423fbc92aa0f2336b54b976719e48736c22e62', class: classObj }, buttons))));
254
254
  }
255
255
  disconnectedCallback() {
256
256
  this.kupManager.theme.unregister(this);
@@ -445,11 +445,9 @@ export class KupButtonList {
445
445
  "complexType": {
446
446
  "signature": "(descriptions?: boolean) => Promise<GenericObject>",
447
447
  "parameters": [{
448
- "tags": [{
449
- "name": "param",
450
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
451
- }],
452
- "text": "- When provided and true, the result will be the list of props with their description."
448
+ "name": "descriptions",
449
+ "type": "boolean",
450
+ "docs": "- When provided and true, the result will be the list of props with their description."
453
451
  }],
454
452
  "references": {
455
453
  "Promise": {
@@ -496,11 +494,9 @@ export class KupButtonList {
496
494
  "complexType": {
497
495
  "signature": "(props: GenericObject) => Promise<void>",
498
496
  "parameters": [{
499
- "tags": [{
500
- "name": "param",
501
- "text": "props - Object containing props that will be set to the component."
502
- }],
503
- "text": "- Object containing props that will be set to the component."
497
+ "name": "props",
498
+ "type": "GenericObject",
499
+ "docs": "- Object containing props that will be set to the component."
504
500
  }],
505
501
  "references": {
506
502
  "Promise": {