@sme.up/ketchup 10.3.6 → 10.3.8

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 (298) hide show
  1. package/dist/cjs/{f-cell-e5ff9c98.js → f-cell-9a77e09a.js} +24 -19
  2. package/dist/cjs/{f-chip-f35c1b42.js → f-chip-f1b14141.js} +1 -1
  3. package/dist/cjs/{f-object-field-04065abd.js → f-object-field-7c1ea180.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-3ada5c71.js → f-paginator-utils-49cf707b.js} +9 -7
  5. package/dist/cjs/{f-text-field-0eda27cd.js → f-text-field-f5b2163a.js} +2 -5
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/ketchup.cjs.js +1 -1
  8. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  10. package/dist/cjs/kup-autocomplete_30.cjs.entry.js +229 -106
  11. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  12. package/dist/cjs/kup-calendar.cjs.entry.js +15 -8
  13. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  14. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +37 -19
  16. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  17. package/dist/cjs/{kup-data-table-helper-0b79fb90.js → kup-data-table-helper-63e5d7a2.js} +8 -4
  18. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-echart.cjs.entry.js +48 -6
  20. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +26 -26
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-htm.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +169 -29
  27. package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
  29. package/dist/cjs/{kup-manager-5cdad0f5.js → kup-manager-15f30f03.js} +7 -11
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
  33. package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
  34. package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
  35. package/dist/cjs/kup-planner.cjs.entry.js +3 -3
  36. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  37. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  38. package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
  39. package/dist/cjs/kup-txt.cjs.entry.js +2 -2
  40. package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
  41. package/dist/cjs/kup-typography.cjs.entry.js +3 -3
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/collection/assets/echart.js +343 -169
  44. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -2
  45. package/dist/collection/components/kup-calendar/kup-calendar.js +8 -4
  46. package/dist/collection/components/kup-chip/kup-chip-declarations.js +6 -1
  47. package/dist/collection/components/kup-chip/kup-chip.js +57 -57
  48. package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
  49. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
  50. package/dist/collection/components/kup-data-table/kup-data-table-helper.js +5 -1
  51. package/dist/collection/components/kup-data-table/kup-data-table.css +21 -4
  52. package/dist/collection/components/kup-data-table/kup-data-table.js +90 -23
  53. package/dist/collection/components/kup-echart/kup-echart.js +47 -5
  54. package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -1
  55. package/dist/collection/components/kup-file-upload/kup-file-upload.css +13 -0
  56. package/dist/collection/components/kup-file-upload/kup-file-upload.js +215 -25
  57. package/dist/collection/components/kup-form/kup-form.js +2 -2
  58. package/dist/collection/components/kup-htm/kup-htm.js +1 -1
  59. package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
  60. package/dist/collection/components/kup-input-panel/kup-input-panel.js +183 -23
  61. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  62. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  63. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  64. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  65. package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
  66. package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
  67. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  68. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  69. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +30 -12
  70. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  71. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  72. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  73. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  74. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  75. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  76. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  77. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  78. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  79. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.css +1 -0
  80. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  81. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  82. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  83. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  84. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  85. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  86. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  87. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  88. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  89. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  90. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  91. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  92. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  93. package/dist/collection/components/kup-typography/kup-typography.js +2 -2
  94. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  95. package/dist/collection/f-components/f-cell/f-cell.js +13 -7
  96. package/dist/collection/f-components/f-chip/f-chip.js +1 -1
  97. package/dist/collection/f-components/f-label/f-label.js +4 -7
  98. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -1
  99. package/dist/collection/f-components/f-radio/f-radio.js +3 -1
  100. package/dist/collection/f-components/f-text-field/f-text-field.js +1 -4
  101. package/dist/collection/utils/cell-utils.js +2 -7
  102. package/dist/components/index.js +1 -1
  103. package/dist/components/kup-accordion.js +2 -2
  104. package/dist/components/kup-activity-timeline.js +2 -2
  105. package/dist/components/kup-autocomplete.js +1 -1
  106. package/dist/components/kup-badge.js +1 -1
  107. package/dist/components/kup-box.js +1 -1
  108. package/dist/components/kup-button-list.js +1 -1
  109. package/dist/components/kup-button.js +1 -1
  110. package/dist/components/kup-calendar.js +15 -8
  111. package/dist/components/kup-card-list.js +3 -3
  112. package/dist/components/kup-card.js +1 -1
  113. package/dist/components/kup-cell.js +2 -2
  114. package/dist/components/kup-chart.js +1 -1
  115. package/dist/components/kup-checkbox.js +1 -1
  116. package/dist/components/kup-chip.js +1 -1
  117. package/dist/components/kup-color-picker.js +1 -1
  118. package/dist/components/kup-combobox.js +1 -1
  119. package/dist/components/kup-custom-task-list-header.js +1 -1
  120. package/dist/components/kup-custom-task-list-table.js +1 -1
  121. package/dist/components/kup-dashboard.js +2 -2
  122. package/dist/components/kup-data-table.js +1 -1
  123. package/dist/components/kup-date-picker.js +1 -1
  124. package/dist/components/kup-dialog.js +1 -1
  125. package/dist/components/kup-drawer.js +2 -2
  126. package/dist/components/kup-dropdown-button.js +1 -1
  127. package/dist/components/kup-echart.js +1 -1
  128. package/dist/components/kup-editor.js +1 -1
  129. package/dist/components/kup-family-tree.js +3 -3
  130. package/dist/components/kup-file-upload.js +1 -1
  131. package/dist/components/kup-form.js +1 -1
  132. package/dist/components/kup-gantt-calendar.js +1 -1
  133. package/dist/components/kup-gantt.js +1 -1
  134. package/dist/components/kup-gauge.js +1 -1
  135. package/dist/components/kup-grid-renderer.js +1 -1
  136. package/dist/components/kup-grid.js +1 -1
  137. package/dist/components/kup-horizontal-scroll.js +1 -1
  138. package/dist/components/kup-htm.js +3 -3
  139. package/dist/components/kup-iframe.js +2 -2
  140. package/dist/components/kup-image-list.js +1 -1
  141. package/dist/components/kup-image.js +1 -1
  142. package/dist/components/kup-input-panel.js +167 -27
  143. package/dist/components/kup-lazy.js +13 -13
  144. package/dist/components/kup-list.js +1 -1
  145. package/dist/components/kup-magic-box.js +7 -7
  146. package/dist/components/kup-nav-bar.js +3 -3
  147. package/dist/components/kup-numeric-picker.js +3 -3
  148. package/dist/components/kup-object-field.js +3 -3
  149. package/dist/components/kup-pdf.js +3 -3
  150. package/dist/components/kup-planner-renderer.js +1 -1
  151. package/dist/components/kup-planner.js +18 -18
  152. package/dist/components/kup-probe.js +3 -3
  153. package/dist/components/kup-progress-bar.js +1 -1
  154. package/dist/components/kup-qlik.js +3 -3
  155. package/dist/components/kup-radio.js +1 -1
  156. package/dist/components/kup-rating.js +1 -1
  157. package/dist/components/kup-snackbar.js +3 -3
  158. package/dist/components/kup-spinner.js +1 -1
  159. package/dist/components/kup-standard-tooltip.js +1 -1
  160. package/dist/components/kup-switch.js +1 -1
  161. package/dist/components/kup-switcher.js +1 -1
  162. package/dist/components/kup-tab-bar.js +1 -1
  163. package/dist/components/kup-task-gantt.js +1 -1
  164. package/dist/components/kup-task-list-header.js +1 -1
  165. package/dist/components/kup-task-list-table.js +1 -1
  166. package/dist/components/kup-task-list.js +1 -1
  167. package/dist/components/kup-text-field.js +1 -1
  168. package/dist/components/kup-time-picker.js +1 -1
  169. package/dist/components/kup-toolbar.js +1 -1
  170. package/dist/components/kup-tooltip.js +1 -1
  171. package/dist/components/kup-tree.js +1 -1
  172. package/dist/components/kup-txt.js +3 -3
  173. package/dist/components/kup-typography-list.js +3 -3
  174. package/dist/components/kup-typography.js +4 -4
  175. package/dist/components/kup-vertical-scroll.js +1 -1
  176. package/dist/components/{p-ae3013bd.js → p-0886650d.js} +2 -2
  177. package/dist/components/{p-daa07bb7.js → p-168b2e98.js} +2 -2
  178. package/dist/components/{p-5e31c839.js → p-46440124.js} +2 -2
  179. package/dist/components/{p-af0a6cfe.js → p-47eafd24.js} +2 -2
  180. package/dist/components/{p-33cf89e0.js → p-57069e5c.js} +1 -1
  181. package/dist/components/{p-c061deb1.js → p-5aea1707.js} +279 -135
  182. package/dist/components/{p-28774fba.js → p-73b82fab.js} +4 -4
  183. package/dist/components/{p-5db0bb55.js → p-75cc2a0e.js} +4 -4
  184. package/dist/components/{p-57a120a5.js → p-78086e86.js} +1 -1
  185. package/dist/components/{p-46ec5845.js → p-7b80651f.js} +1 -1
  186. package/dist/components/{p-34ed7a73.js → p-7fa7072d.js} +2 -2
  187. package/dist/components/{p-edac29ad.js → p-91cbfbb1.js} +2 -2
  188. package/dist/components/{p-b87bd975.js → p-96d517a7.js} +5 -5
  189. package/dist/components/{p-5579a90c.js → p-a52b0e92.js} +30 -12
  190. package/dist/components/{p-394a36af.js → p-bba3ee8c.js} +3 -3
  191. package/dist/components/{p-b45eb398.js → p-d5573b9a.js} +14 -14
  192. package/dist/components/{p-28f24feb.js → p-dbfe7218.js} +16 -16
  193. package/dist/components/{p-398198d3.js → p-e74c4841.js} +49 -7
  194. package/dist/components/{p-7aa9d49d.js → p-f0de2fa5.js} +8 -8
  195. package/dist/components/{p-d3a8c2ba.js → p-f836c3ed.js} +2 -2
  196. package/dist/components/{p-df77b97b.js → p-fbaf1165.js} +7 -11
  197. package/dist/esm/{f-cell-d72f5a9c.js → f-cell-0a43dfd3.js} +24 -19
  198. package/dist/esm/{f-chip-663db488.js → f-chip-d5f27ee2.js} +1 -1
  199. package/dist/esm/{f-object-field-afe7604f.js → f-object-field-6f759bf9.js} +2 -2
  200. package/dist/esm/{f-paginator-utils-b6924c55.js → f-paginator-utils-6d124369.js} +9 -7
  201. package/dist/esm/{f-text-field-40f1ad00.js → f-text-field-86dd8534.js} +2 -5
  202. package/dist/esm/index.js +1 -1
  203. package/dist/esm/ketchup.js +1 -1
  204. package/dist/esm/kup-accordion.entry.js +1 -1
  205. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  206. package/dist/esm/kup-autocomplete_30.entry.js +229 -106
  207. package/dist/esm/kup-box.entry.js +7 -7
  208. package/dist/esm/kup-calendar.entry.js +15 -8
  209. package/dist/esm/kup-card-list.entry.js +1 -1
  210. package/dist/esm/kup-cell.entry.js +5 -5
  211. package/dist/esm/kup-custom-task-list-header_4.entry.js +37 -19
  212. package/dist/esm/kup-dashboard.entry.js +2 -2
  213. package/dist/esm/{kup-data-table-helper-8f020338.js → kup-data-table-helper-7d5e4260.js} +8 -4
  214. package/dist/esm/kup-drawer.entry.js +1 -1
  215. package/dist/esm/kup-echart.entry.js +48 -6
  216. package/dist/esm/kup-editor.entry.js +1 -1
  217. package/dist/esm/kup-family-tree.entry.js +1 -1
  218. package/dist/esm/kup-gantt_10.entry.js +26 -26
  219. package/dist/esm/kup-grid.entry.js +1 -1
  220. package/dist/esm/kup-htm.entry.js +2 -2
  221. package/dist/esm/kup-iframe.entry.js +1 -1
  222. package/dist/esm/kup-input-panel.entry.js +169 -29
  223. package/dist/esm/kup-lazy.entry.js +12 -12
  224. package/dist/esm/kup-magic-box.entry.js +4 -4
  225. package/dist/esm/{kup-manager-b367be3b.js → kup-manager-2b06d829.js} +7 -11
  226. package/dist/esm/kup-nav-bar.entry.js +2 -2
  227. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  228. package/dist/esm/kup-object-field.entry.js +4 -4
  229. package/dist/esm/kup-pdf.entry.js +2 -2
  230. package/dist/esm/kup-planner-renderer.entry.js +2 -2
  231. package/dist/esm/kup-planner.entry.js +3 -3
  232. package/dist/esm/kup-probe.entry.js +2 -2
  233. package/dist/esm/kup-qlik.entry.js +2 -2
  234. package/dist/esm/kup-snackbar.entry.js +2 -2
  235. package/dist/esm/kup-txt.entry.js +2 -2
  236. package/dist/esm/kup-typography-list.entry.js +2 -2
  237. package/dist/esm/kup-typography.entry.js +3 -3
  238. package/dist/esm/loader.js +1 -1
  239. package/dist/ketchup/index.esm.js +1 -1
  240. package/dist/ketchup/ketchup.esm.js +1 -1
  241. package/dist/ketchup/{p-b9350213.entry.js → p-00963efe.entry.js} +1 -1
  242. package/dist/ketchup/{p-62edfd5a.entry.js → p-045e7306.entry.js} +1 -1
  243. package/dist/ketchup/{p-8bc2888a.entry.js → p-0a93321f.entry.js} +1 -1
  244. package/dist/ketchup/{p-c0928fec.entry.js → p-1015f35b.entry.js} +1 -1
  245. package/dist/ketchup/{p-0666ba27.entry.js → p-179d9c32.entry.js} +2 -2
  246. package/dist/ketchup/{p-75deebdb.entry.js → p-17f69e68.entry.js} +1 -1
  247. package/dist/ketchup/{p-d49f1a0d.js → p-2bb6c663.js} +1 -1
  248. package/dist/ketchup/{p-ebf955a8.entry.js → p-2f626d6c.entry.js} +1 -1
  249. package/dist/ketchup/{p-9ff4c3e5.entry.js → p-39472246.entry.js} +1 -1
  250. package/dist/ketchup/{p-9c13c092.entry.js → p-3f7fec03.entry.js} +1 -1
  251. package/dist/ketchup/{p-26206b66.entry.js → p-425fab24.entry.js} +1 -1
  252. package/dist/ketchup/{p-51cc836a.js → p-43246def.js} +1 -1
  253. package/dist/ketchup/{p-4af4b7d3.entry.js → p-4c8480a1.entry.js} +1 -1
  254. package/dist/ketchup/p-4d3ae43b.entry.js +8 -0
  255. package/dist/ketchup/{p-941beedb.entry.js → p-4f380f49.entry.js} +1 -1
  256. package/dist/ketchup/p-514a0dfd.js +1 -0
  257. package/dist/ketchup/p-5f35bc3e.js +1 -0
  258. package/dist/ketchup/{p-d696e519.js → p-62b0efc0.js} +1 -1
  259. package/dist/ketchup/p-68929471.entry.js +1 -0
  260. package/dist/ketchup/{p-17b25b3d.entry.js → p-74035126.entry.js} +1 -1
  261. package/dist/ketchup/{p-c2531d28.entry.js → p-8a95b2a0.entry.js} +1 -1
  262. package/dist/ketchup/{p-ec1129bf.entry.js → p-9432bc02.entry.js} +1 -1
  263. package/dist/ketchup/{p-5bf264dd.entry.js → p-98fb85e5.entry.js} +1 -1
  264. package/dist/ketchup/p-a186678f.js +1 -0
  265. package/dist/ketchup/{p-4c8edfb1.entry.js → p-a301cd89.entry.js} +1 -1
  266. package/dist/ketchup/p-a34c1e3c.entry.js +1 -0
  267. package/dist/ketchup/p-b1371652.js +1 -0
  268. package/dist/ketchup/{p-fac09a35.entry.js → p-b1a9f499.entry.js} +1 -1
  269. package/dist/ketchup/{p-928adf93.entry.js → p-b5575d63.entry.js} +1 -1
  270. package/dist/ketchup/{p-4735c623.entry.js → p-beacc7fd.entry.js} +1 -1
  271. package/dist/ketchup/{p-6e6d3296.entry.js → p-bf5abe49.entry.js} +1 -1
  272. package/dist/ketchup/{p-b0550f15.entry.js → p-d022b77e.entry.js} +2 -2
  273. package/dist/ketchup/{p-32ced542.entry.js → p-d83f2153.entry.js} +1 -1
  274. package/dist/ketchup/{p-26a20d81.entry.js → p-e5022c5b.entry.js} +1 -1
  275. package/dist/ketchup/{p-def6d8b4.entry.js → p-e5f2da82.entry.js} +1 -1
  276. package/dist/ketchup/{p-f2bfb53c.entry.js → p-e6cad40c.entry.js} +1 -1
  277. package/dist/ketchup/{p-6b185239.entry.js → p-f9c3699f.entry.js} +1 -1
  278. package/dist/ketchup/p-f9d6a629.entry.js +16 -0
  279. package/dist/ketchup/{p-006b5782.entry.js → p-fd855732.entry.js} +1 -1
  280. package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +5 -1
  281. package/dist/types/components/kup-chip/kup-chip.d.ts +15 -15
  282. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +4 -1
  283. package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -1
  284. package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +6 -1
  285. package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +38 -5
  286. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
  287. package/dist/types/components.d.ts +65 -11
  288. package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
  289. package/dist/types/utils/cell-utils.d.ts +3 -1
  290. package/package.json +4 -1
  291. package/dist/ketchup/p-058def11.entry.js +0 -1
  292. package/dist/ketchup/p-29c07479.entry.js +0 -8
  293. package/dist/ketchup/p-2e012afe.js +0 -1
  294. package/dist/ketchup/p-43bfca60.entry.js +0 -16
  295. package/dist/ketchup/p-8be7a37f.js +0 -1
  296. package/dist/ketchup/p-b39c7a22.js +0 -1
  297. package/dist/ketchup/p-c109ce22.js +0 -1
  298. package/dist/ketchup/p-eb771c1b.entry.js +0 -1
@@ -6,7 +6,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
6
6
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
7
  };
8
8
  var _KupFileUpload_instances, _KupFileUpload_kupManager, _KupFileUpload_previewMap, _KupFileUpload_handleClick, _KupFileUpload_handleFileChange, _KupFileUpload_handleFileRemove, _KupFileUpload_handleDrop, _KupFileUpload_handleCancel, _KupFileUpload_getPreview, _KupFileUpload_trimFileName, _KupFileUpload_uploadClick;
9
- import { forceUpdate, Host, h, } from "@stencil/core";
9
+ import { forceUpdate, Host, h, Fragment, } from "@stencil/core";
10
10
  import { kupManagerInstance } from "../../managers/kup-manager/kup-manager";
11
11
  import { getProps, setProps } from "../../utils/utils";
12
12
  import { KupFileUploadProps, } from "./kup-file-upload-declarations";
@@ -38,18 +38,42 @@ export class KupFileUpload {
38
38
  ],
39
39
  ]));
40
40
  this.customStyle = '';
41
- this.data = null;
41
+ this.pathString = null;
42
+ this.FupMul = 'false';
43
+ this.FupAut = 'false';
44
+ this.FupDir = null;
45
+ this.FupAty = null;
46
+ this.error = undefined;
42
47
  this.inputRef = undefined;
43
- this.files = [];
48
+ this.tempFiles = [];
49
+ this.pathFiles = [];
44
50
  this.uploadSuccess = false;
45
51
  this.showSpinner = false;
52
+ this.multiUpload = false;
53
+ this.autoUpload = false;
54
+ this.acceptedFiles = null;
46
55
  }
47
56
  //#endregion
48
57
  //#region WATCHERS
49
58
  /*-------------------------------------------------*/
50
59
  /* W a t c h e r s */
51
60
  /*-------------------------------------------------*/
52
- onDataChanged() { }
61
+ onDataChanged() {
62
+ var _a;
63
+ this.uploadSuccess = false;
64
+ __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).call(this);
65
+ this.pathFiles = ((_a = this.pathString) === null || _a === void 0 ? void 0 : _a.split(';')) || [];
66
+ }
67
+ onFupMulChanged() {
68
+ this.multiUpload = this.FupMul === 'true';
69
+ }
70
+ onFupAutChanged() {
71
+ this.autoUpload = this.FupAut === 'true';
72
+ }
73
+ onFupFupAtyChanged() {
74
+ var _a;
75
+ this.acceptedFiles = (_a = this.FupAty) === null || _a === void 0 ? void 0 : _a.split('|').map((ext) => `.${ext}`);
76
+ }
53
77
  //#endregion
54
78
  //#region PUBLIC METHODS
55
79
  /*-------------------------------------------------*/
@@ -80,11 +104,19 @@ export class KupFileUpload {
80
104
  * Sets upload has been successfull to show success message.
81
105
  * @param {boolean} success - Boolean to set if upload has been successfull.
82
106
  */
83
- async setSuccess(success) {
107
+ async setSuccess(success, pathFiles) {
84
108
  this.setLoading(false);
85
- if (success) {
109
+ if (success && pathFiles) {
86
110
  __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).call(this);
87
111
  this.uploadSuccess = success;
112
+ this.pathFiles = this.multiUpload
113
+ ? [...this.pathFiles, ...pathFiles.split(';')]
114
+ : [pathFiles.split(';')[0]];
115
+ this.kupChange.emit({
116
+ comp: this,
117
+ id: this.rootElement.id,
118
+ value: this.pathFiles.join(';'),
119
+ });
88
120
  }
89
121
  }
90
122
  /**
@@ -100,9 +132,13 @@ export class KupFileUpload {
100
132
  /* L i f e c y c l e H o o k s */
101
133
  /*-------------------------------------------------*/
102
134
  componentWillLoad() {
135
+ var _a;
103
136
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, false);
104
137
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.register(this);
105
138
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.register(this);
139
+ this.multiUpload = this.FupMul === 'true';
140
+ this.autoUpload = this.FupAut === 'true';
141
+ this.acceptedFiles = (_a = this.FupAty) === null || _a === void 0 ? void 0 : _a.split('|').map((ext) => `.${ext}`);
106
142
  }
107
143
  componentDidLoad() {
108
144
  this.kupReady.emit({ comp: this, id: this.rootElement.id });
@@ -115,10 +151,11 @@ export class KupFileUpload {
115
151
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logRender(this, true);
116
152
  }
117
153
  render() {
118
- return (h(Host, { key: 'c1d2c71efa28c233051bdfeb1535bcb07149c660' }, h("style", { key: '9fb2a5e633f49bac0fe1c8673869ac8b29c1272b' }, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'b43469650151abf962aba80f54e15343c2a95767', id: componentWrapperId }, h("div", { key: '18489f11209ad6cf55c2de3e232b2b0888a4f505', class: {
154
+ var _a;
155
+ return (h(Host, { key: 'f08391eac6f841cb117304af6a09ae63ff92549b' }, h("style", { key: 'acc0df4a07fdd65f35182769077763a9643f34b0' }, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '11e1fb63a9949c804f9b41236c218b80eef965a1', id: componentWrapperId }, h("div", { key: '8cf8270d6e066bc361feda602a82ac97657853a4', class: {
119
156
  'file-upload': true,
120
157
  'file-upload-spinner': this.showSpinner,
121
- }, onDrop: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragOver: (event) => event.preventDefault() }, h("input", { key: '8a700a42c034d2604bfe84199212123dd082c64a', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: true, hidden: true }), h("div", { key: '5279ca7bbb0468519c8cb4ae223c0d4e1e6dc7a5', class: "file-upload__buttons" }, h(FButton, { key: '76b00cac757d67e629a043f123217cdbc0b3dc58', icon: "upload", label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), h(FButton, { key: 'ddec08321006f92257b336530f168cbabcdb0796', icon: "save", disabled: !this.files.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h(FButton, { key: '1e70cb49c36286d5e72dd412b776c9002194102e', icon: "clear", disabled: !this.files.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })), this.uploadSuccess ? (h("span", null, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageUpload.SUCCESS))) : (h("div", { class: "file-upload__list" }, this.files.map((file, i) => (h("div", { class: "file-upload__list__item" }, h("div", { class: "file-upload__list__item__preview" }, h(FImage, { resource: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file) })), h("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) })))))), this.showSpinner && (h("div", { key: 'f6a8de73c3109a9067866628f78698150bc83bdc', class: "file-upload__spinner-container" }, h("kup-spinner", { key: 'ca00b8efcae2be30f8ea5028d6c2a7e3839d63a4', active: true, layout: 14, dimensions: "7px" })))))));
158
+ }, onDrop: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragOver: (event) => event.preventDefault() }, h("input", { key: 'a34748d05872c863c0f96ef5a8e4fa36f549f1ae', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: this.multiUpload, accept: (_a = this.acceptedFiles) === null || _a === void 0 ? void 0 : _a.join(','), hidden: true }), h("div", { key: 'cc13058c673bc816ff51e8278b187c87a1ef4467', class: "file-upload__buttons" }, h(FButton, { key: 'b54e4ff41658b67e1700b2d4c06885ea37ae3004', icon: "upload", label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), !this.autoUpload && (h(Fragment, { key: 'd2df1fc3e94dc20573226456a5131599140817d3' }, h(FButton, { key: '6b05c656c460218841c85e4f07dde8965f47c36e', icon: "save", disabled: !this.tempFiles.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h(FButton, { key: '70ac6c463966d7e0fd2f69a59a648334587d46ef', icon: "clear", disabled: !this.tempFiles.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })))), this.error && (h("div", { key: '90c46db7caa99ba8460b0b925135ef1c9223e3e8', class: "file-upload__error" }, h("span", { key: '5a50f58e4d6e6cd87ac3074d48c849fc54716de5', class: "mdc-error-message" }, this.error))), this.uploadSuccess ? (h("span", null, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageUpload.SUCCESS))) : (h("div", { class: "file-upload__list" }, this.tempFiles.map((file, i) => (h("div", { class: "file-upload__list__item" }, h("div", { class: "file-upload__list__item__preview" }, h(FImage, { resource: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file), placeholderResource: "file" })), h("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) })))))), this.pathFiles.length ? (h("div", { class: "file-upload__list" }, this.pathFiles.map((path, i) => (h("span", { class: "file-upload__list__item" }, h("span", null, i + 1, ". ", path)))))) : null, this.showSpinner && (h("div", { key: '4cf819053c80ffaff9225fa351e9c1c3f37791b6', class: "file-upload__spinner-container" }, h("kup-spinner", { key: '3e1c322698976c8243fd6e9aefc678727056f8ea', active: true, layout: 14, dimensions: "7px" })))))));
122
159
  }
123
160
  disconnectedCallback() {
124
161
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.unregister(this);
@@ -162,12 +199,96 @@ export class KupFileUpload {
162
199
  "reflect": false,
163
200
  "defaultValue": "''"
164
201
  },
165
- "data": {
166
- "type": "any",
202
+ "pathString": {
203
+ "type": "string",
204
+ "mutable": false,
205
+ "complexType": {
206
+ "original": "string",
207
+ "resolved": "string",
208
+ "references": {}
209
+ },
210
+ "required": false,
211
+ "optional": false,
212
+ "docs": {
213
+ "tags": [{
214
+ "name": "default",
215
+ "text": "null"
216
+ }],
217
+ "text": "The initial filepaths"
218
+ },
219
+ "attribute": "path-string",
220
+ "reflect": false,
221
+ "defaultValue": "null"
222
+ },
223
+ "FupMul": {
224
+ "type": "string",
225
+ "mutable": false,
226
+ "complexType": {
227
+ "original": "string",
228
+ "resolved": "string",
229
+ "references": {}
230
+ },
231
+ "required": false,
232
+ "optional": false,
233
+ "docs": {
234
+ "tags": [{
235
+ "name": "default",
236
+ "text": "'false'"
237
+ }],
238
+ "text": "Sets the multiple upload"
239
+ },
240
+ "attribute": "fup-mul",
241
+ "reflect": false,
242
+ "defaultValue": "'false'"
243
+ },
244
+ "FupAut": {
245
+ "type": "string",
246
+ "mutable": false,
247
+ "complexType": {
248
+ "original": "string",
249
+ "resolved": "string",
250
+ "references": {}
251
+ },
252
+ "required": false,
253
+ "optional": false,
254
+ "docs": {
255
+ "tags": [{
256
+ "name": "default",
257
+ "text": "'false'"
258
+ }],
259
+ "text": "Sets the auto upload of select file"
260
+ },
261
+ "attribute": "fup-aut",
262
+ "reflect": false,
263
+ "defaultValue": "'false'"
264
+ },
265
+ "FupDir": {
266
+ "type": "string",
267
+ "mutable": false,
268
+ "complexType": {
269
+ "original": "string",
270
+ "resolved": "string",
271
+ "references": {}
272
+ },
273
+ "required": false,
274
+ "optional": false,
275
+ "docs": {
276
+ "tags": [{
277
+ "name": "default",
278
+ "text": "null"
279
+ }],
280
+ "text": "Sets the custom dir to upload files"
281
+ },
282
+ "attribute": "fup-dir",
283
+ "reflect": false,
284
+ "defaultValue": "null"
285
+ },
286
+ "FupAty": {
287
+ "type": "string",
167
288
  "mutable": false,
168
289
  "complexType": {
169
- "original": "any",
170
- "resolved": "any",
290
+ "original": "string",
291
+ "resolved": "string",
171
292
  "references": {}
172
293
  },
173
294
  "required": false,
@@ -177,20 +298,45 @@ export class KupFileUpload {
177
298
  "name": "default",
178
299
  "text": "null"
179
300
  }],
180
- "text": "Actual data of the input field."
301
+ "text": "Sets the accepted extensions"
181
302
  },
182
- "attribute": "data",
303
+ "attribute": "fup-aty",
183
304
  "reflect": false,
184
305
  "defaultValue": "null"
306
+ },
307
+ "error": {
308
+ "type": "string",
309
+ "mutable": false,
310
+ "complexType": {
311
+ "original": "string",
312
+ "resolved": "string",
313
+ "references": {}
314
+ },
315
+ "required": false,
316
+ "optional": false,
317
+ "docs": {
318
+ "tags": [{
319
+ "name": "default",
320
+ "text": "'false'"
321
+ }],
322
+ "text": "Error string to render in component"
323
+ },
324
+ "attribute": "error",
325
+ "reflect": false,
326
+ "defaultValue": "undefined"
185
327
  }
186
328
  };
187
329
  }
188
330
  static get states() {
189
331
  return {
190
332
  "inputRef": {},
191
- "files": {},
333
+ "tempFiles": {},
334
+ "pathFiles": {},
192
335
  "uploadSuccess": {},
193
- "showSpinner": {}
336
+ "showSpinner": {},
337
+ "multiUpload": {},
338
+ "autoUpload": {},
339
+ "acceptedFiles": {}
194
340
  };
195
341
  }
196
342
  static get events() {
@@ -236,6 +382,27 @@ export class KupFileUpload {
236
382
  }
237
383
  }
238
384
  }
385
+ }, {
386
+ "method": "kupChange",
387
+ "name": "kup-file-upload-change",
388
+ "bubbles": true,
389
+ "cancelable": false,
390
+ "composed": true,
391
+ "docs": {
392
+ "tags": [],
393
+ "text": ""
394
+ },
395
+ "complexType": {
396
+ "original": "KupFileUploadChangeEventPayload",
397
+ "resolved": "KupFileUploadChangeEventPayload",
398
+ "references": {
399
+ "KupFileUploadChangeEventPayload": {
400
+ "location": "import",
401
+ "path": "./kup-file-upload-declarations",
402
+ "id": "src/components/kup-file-upload/kup-file-upload-declarations.ts::KupFileUploadChangeEventPayload"
403
+ }
404
+ }
405
+ }
239
406
  }];
240
407
  }
241
408
  static get methods() {
@@ -320,11 +487,15 @@ export class KupFileUpload {
320
487
  },
321
488
  "setSuccess": {
322
489
  "complexType": {
323
- "signature": "(success: boolean) => Promise<void>",
490
+ "signature": "(success: boolean, pathFiles: string) => Promise<void>",
324
491
  "parameters": [{
325
492
  "name": "success",
326
493
  "type": "boolean",
327
494
  "docs": "- Boolean to set if upload has been successfull."
495
+ }, {
496
+ "name": "pathFiles",
497
+ "type": "string",
498
+ "docs": ""
328
499
  }],
329
500
  "references": {
330
501
  "Promise": {
@@ -371,8 +542,17 @@ export class KupFileUpload {
371
542
  static get elementRef() { return "rootElement"; }
372
543
  static get watchers() {
373
544
  return [{
374
- "propName": "data",
545
+ "propName": "pathString",
375
546
  "methodName": "onDataChanged"
547
+ }, {
548
+ "propName": "FupMul",
549
+ "methodName": "onFupMulChanged"
550
+ }, {
551
+ "propName": "FupAut",
552
+ "methodName": "onFupAutChanged"
553
+ }, {
554
+ "propName": "FupAty",
555
+ "methodName": "onFupFupAtyChanged"
376
556
  }];
377
557
  }
378
558
  }
@@ -380,12 +560,22 @@ _KupFileUpload_kupManager = new WeakMap(), _KupFileUpload_previewMap = new WeakM
380
560
  this.inputRef.click();
381
561
  }, _KupFileUpload_handleFileChange = function _KupFileUpload_handleFileChange(event) {
382
562
  this.uploadSuccess = false;
563
+ this.error = '';
383
564
  const newFiles = Array.from(event.target.files);
384
- this.files = [...this.files, ...newFiles];
565
+ this.tempFiles = [...this.tempFiles, ...newFiles];
566
+ this.inputRef.value = '';
567
+ if (this.autoUpload) {
568
+ this.kupUpload.emit({
569
+ comp: this,
570
+ id: this.rootElement.id,
571
+ files: this.tempFiles,
572
+ });
573
+ this.setLoading(true);
574
+ }
385
575
  }, _KupFileUpload_handleFileRemove = function _KupFileUpload_handleFileRemove(index) {
386
- this.files = [
387
- ...this.files.splice(0, index),
388
- ...this.files.splice(index + 1),
576
+ this.tempFiles = [
577
+ ...this.tempFiles.splice(0, index),
578
+ ...this.tempFiles.splice(index + 1),
389
579
  ];
390
580
  }, _KupFileUpload_handleDrop = function _KupFileUpload_handleDrop(event) {
391
581
  event.preventDefault();
@@ -393,10 +583,10 @@ _KupFileUpload_kupManager = new WeakMap(), _KupFileUpload_previewMap = new WeakM
393
583
  const droppedFiles = event.dataTransfer.files;
394
584
  if (droppedFiles.length > 0) {
395
585
  const newFiles = Array.from(droppedFiles);
396
- this.files = [...this.files, ...newFiles];
586
+ this.tempFiles = [...this.tempFiles, ...newFiles];
397
587
  }
398
588
  }, _KupFileUpload_handleCancel = function _KupFileUpload_handleCancel() {
399
- this.files = [];
589
+ this.tempFiles = [];
400
590
  }, _KupFileUpload_getPreview = function _KupFileUpload_getPreview(file) {
401
591
  const previewIcon = __classPrivateFieldGet(this, _KupFileUpload_previewMap, "f").get(file.type);
402
592
  if (!previewIcon) {
@@ -418,7 +608,7 @@ _KupFileUpload_kupManager = new WeakMap(), _KupFileUpload_previewMap = new WeakM
418
608
  this.kupUpload.emit({
419
609
  comp: this,
420
610
  id: this.rootElement.id,
421
- files: this.files,
611
+ files: this.tempFiles,
422
612
  });
423
613
  this.setLoading(true);
424
614
  };
@@ -408,7 +408,7 @@ export class KupForm {
408
408
  render() {
409
409
  let formContent = null;
410
410
  if (this.data.rows.length === 0) {
411
- formContent = (h("p", { key: 'cf8c793fae4b7ab811ed6385dd446ce1603d4921' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
411
+ formContent = (h("p", { key: '103de9b30f44f7958a691e5dccc8698e49ca76cf' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
412
412
  }
413
413
  else {
414
414
  const rows = this.data.rows;
@@ -419,7 +419,7 @@ export class KupForm {
419
419
  formContent.push(this.renderRow(rows[cnt++]));
420
420
  }
421
421
  }
422
- return (h(Host, { key: 'a97811d53f4ed45ced27c021e1cf164f093b04d2' }, h("style", { key: '5531da216461ca36e3efb0f0a365517eb8494d64' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '50e19a44c0be7805bf35215fbc079924178458f9', id: componentWrapperId }, formContent)));
422
+ return (h(Host, { key: 'cdaa7ff6add189834cc6f570d2a7cd032d3a0b3c' }, h("style", { key: 'd9eff3af01d39df16086be74e2c893b64f861e52' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'd4dd031f9dac773296738ebfe27510be56af8e5a', id: componentWrapperId }, formContent)));
423
423
  }
424
424
  disconnectedCallback() {
425
425
  this.kupManager.language.unregister(this);
@@ -69,7 +69,7 @@ export class KupHTM {
69
69
  render() {
70
70
  var _a;
71
71
  const isLink = __classPrivateFieldGet(this, _KupHTM_instances, "m", _KupHTM_isObjectCompatibleWithHTM).call(this, (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a.obj);
72
- return (h(Host, { key: '5fd7a24633313c182200d98e795cd27938bdd0ed' }, h("style", { key: '283f61604341bc317f9eece1bacdfd6f394d73b6' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2e35f4c034756925be450b15a14b54acd3e496fa', id: componentWrapperId }, h("div", { key: 'a7372f43ada38738eb4134e8feaade2c9db14c13', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB)), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
72
+ return (h(Host, { key: 'd4c059a573d252c5809a77375222a78bcdee56bc' }, h("style", { key: '46ea04367aae5ad0602ab6f84dc0cb904b14e091' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '3d2ad3be208bd0cb850e66113155b70ace70983c', id: componentWrapperId }, h("div", { key: '075017b3ef686bfc5d6cee4035c3b053c11d67af', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB)), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
73
73
  }
74
74
  disconnectedCallback() {
75
75
  __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
@@ -205,14 +205,14 @@ export class KupImageList {
205
205
  }
206
206
  const imlClass = 'image-list' +
207
207
  (this.showFullDescription ? ' full-description' : '');
208
- return (h(Host, { key: 'e126ffca6f4a347874e940c20833b9a211d75139' }, h("style", { key: 'ecf74bc3247070d5f246cd334885a281e8f71ecc' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2d742444cbca6dab5060901ef99313817ec95893', id: componentWrapperId, ref: (el) => {
208
+ return (h(Host, { key: '4a3c80748fec9b98c9268077893643042b2c4ade' }, h("style", { key: '5fbc10ef98292d3cc1919d26cf64baa1286611e4' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '52254d30b66446960be0db63fdf486420d35a7ce', id: componentWrapperId, ref: (el) => {
209
209
  __classPrivateFieldSet(this, _KupImageList_el, el, "f");
210
- } }, h("div", { key: '1bc44a87241d1488cfe012a2a83567a9d6391414', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
210
+ } }, h("div", { key: '68cb3d98496d6314556ad5d777e6a67543a14ff3', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
211
211
  ? 'navigation-bar__wrapper--active'
212
212
  : ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
213
213
  this.navigationBarToggled =
214
214
  !this.navigationBarToggled;
215
- } }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), this.leadingLabel && (h("div", { key: 'a527e20f9633054995f013cd550aae7c9254b492', class: "mdc-text-field__label-container" }, h("label", { key: '8fd3989537d74e0363c822bee6dc3a12eca276d9', class: "mdc-label" }, this.leadingLabel))), h("div", { key: '55329659aec995c3da9718b553ce93efe04cc6e4', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
215
+ } }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), this.leadingLabel && (h("div", { key: '4b808d9230730a0eb49c5eca46a8130eda1c0f51', class: "mdc-text-field__label-container" }, h("label", { key: 'c1fcdb83116da8e7591091fcb97ea6c4ecb19a27', class: "mdc-label" }, this.leadingLabel))), h("div", { key: 'f0b462e13602be5a3a8c00ffd993fd9c8b02476a', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
216
216
  }
217
217
  disconnectedCallback() {
218
218
  __classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));