@sme.up/ketchup 10.3.2 → 10.3.4

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 (299) hide show
  1. package/dist/cjs/{f-cell-7a2faf7a.js → f-cell-2d3d1fb1.js} +17 -9
  2. package/dist/cjs/{f-chip-f2d6124b.js → f-chip-9ac0d065.js} +11 -2
  3. package/dist/cjs/{f-object-field-3810f288.js → f-object-field-e0c83ebd.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-3855e84c.js → f-paginator-utils-d61b2fc7.js} +1 -1
  5. package/dist/cjs/{f-text-field-a34a5979.js → f-text-field-6c373c74.js} +1 -1
  6. package/dist/cjs/index-c7d441d8.js +2 -6
  7. package/dist/cjs/index.cjs.js +1 -1
  8. package/dist/cjs/ketchup.cjs.js +1 -1
  9. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  10. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  11. package/dist/cjs/{kup-autocomplete_29.cjs.entry.js → kup-autocomplete_30.cjs.entry.js} +1505 -1076
  12. package/dist/cjs/kup-box.cjs.entry.js +8 -8
  13. package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
  14. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  15. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  16. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  18. package/dist/cjs/{kup-data-table-helper-f53032e7.js → kup-data-table-helper-f4e3958d.js} +1 -1
  19. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-editor.cjs.entry.js +44 -34
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  23. package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
  24. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-htm.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  27. package/dist/cjs/kup-input-panel.cjs.entry.js +22 -13
  28. package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
  30. package/dist/cjs/{kup-manager-c70d3188.js → kup-manager-587e54f5.js} +13 -4
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  33. package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
  34. package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
  36. package/dist/cjs/kup-planner.cjs.entry.js +3 -3
  37. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  38. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
  40. package/dist/cjs/kup-txt.cjs.entry.js +2 -2
  41. package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
  42. package/dist/cjs/kup-typography.cjs.entry.js +3 -3
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/collection/assets/editor-example-1.js +27 -0
  45. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +54 -8
  46. package/dist/collection/components/kup-box/kup-box.css +19 -3
  47. package/dist/collection/components/kup-chip/kup-chip.js +6 -4
  48. package/dist/collection/components/kup-combobox/kup-combobox.js +23 -1
  49. package/dist/collection/components/kup-data-table/kup-data-table.css +1 -1
  50. package/dist/collection/components/kup-data-table/kup-data-table.js +48 -27
  51. package/dist/collection/components/kup-editor/kup-editor-declarations.js +1 -1
  52. package/dist/collection/components/kup-editor/kup-editor.js +44 -34
  53. package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
  54. package/dist/collection/components/kup-file-upload/kup-file-upload.js +2 -2
  55. package/dist/collection/components/kup-form/kup-form.js +2 -2
  56. package/dist/collection/components/kup-htm/kup-htm.js +1 -1
  57. package/dist/collection/components/kup-image-list/kup-image-list.css +4 -0
  58. package/dist/collection/components/kup-image-list/kup-image-list.js +68 -7
  59. package/dist/collection/components/kup-input-panel/kup-input-panel.js +18 -8
  60. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  61. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  62. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  63. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  64. package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
  65. package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
  66. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  67. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  68. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  69. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  70. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  71. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  72. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  73. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  74. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  75. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  76. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  77. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  78. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  79. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  80. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  81. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  82. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  83. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  84. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  85. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  86. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  87. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  88. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  89. package/dist/collection/components/kup-tree/kup-tree.js +7 -7
  90. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  91. package/dist/collection/components/kup-typography/kup-typography.js +2 -2
  92. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  93. package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
  94. package/dist/collection/f-components/f-cell/f-cell.js +13 -5
  95. package/dist/collection/f-components/f-chip/f-chip-declarations.js +1 -0
  96. package/dist/collection/f-components/f-chip/f-chip.js +8 -2
  97. package/dist/collection/managers/kup-data/kup-data-cell-helper.js +2 -2
  98. package/dist/collection/managers/kup-data/kup-data-declarations.js +5 -0
  99. package/dist/collection/managers/kup-data/kup-data.js +2 -0
  100. package/dist/collection/utils/filters/filters.js +1 -1
  101. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -4
  102. package/dist/components/index.js +1 -1
  103. package/dist/components/kup-accordion.js +25 -20
  104. package/dist/components/kup-activity-timeline.js +25 -20
  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 +25 -20
  111. package/dist/components/kup-card-list.js +27 -22
  112. package/dist/components/kup-card.js +1 -1
  113. package/dist/components/kup-cell.js +25 -20
  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-dashboard.js +25 -20
  121. package/dist/components/kup-data-table.js +1 -1
  122. package/dist/components/kup-date-picker.js +1 -1
  123. package/dist/components/kup-dialog.js +1 -1
  124. package/dist/components/kup-drawer.js +25 -20
  125. package/dist/components/kup-dropdown-button.js +1 -1
  126. package/dist/components/kup-echart.js +1 -1
  127. package/dist/components/kup-editor.js +1 -1
  128. package/dist/components/kup-family-tree.js +29 -24
  129. package/dist/components/kup-file-upload.js +1 -1
  130. package/dist/components/kup-form.js +1 -1
  131. package/dist/components/kup-gantt-calendar.js +1 -1
  132. package/dist/components/kup-gantt.js +1 -1
  133. package/dist/components/kup-gauge.js +1 -1
  134. package/dist/components/kup-grid-renderer.js +1 -1
  135. package/dist/components/kup-grid.js +1 -1
  136. package/dist/components/kup-horizontal-scroll.js +1 -1
  137. package/dist/components/kup-htm.js +26 -21
  138. package/dist/components/kup-iframe.js +25 -20
  139. package/dist/components/kup-image-list.js +1 -565
  140. package/dist/components/kup-image.js +1 -1
  141. package/dist/components/kup-input-panel.js +44 -30
  142. package/dist/components/kup-lazy.js +36 -31
  143. package/dist/components/kup-list.js +1 -1
  144. package/dist/components/kup-magic-box.js +32 -27
  145. package/dist/components/kup-nav-bar.js +26 -21
  146. package/dist/components/kup-numeric-picker.js +26 -21
  147. package/dist/components/kup-object-field.js +26 -21
  148. package/dist/components/kup-pdf.js +26 -21
  149. package/dist/components/kup-planner-renderer.js +1 -1
  150. package/dist/components/kup-planner.js +47 -42
  151. package/dist/components/kup-probe.js +26 -21
  152. package/dist/components/kup-progress-bar.js +1 -1
  153. package/dist/components/kup-qlik.js +26 -21
  154. package/dist/components/kup-radio.js +1 -1
  155. package/dist/components/kup-rating.js +1 -1
  156. package/dist/components/kup-snackbar.js +26 -21
  157. package/dist/components/kup-spinner.js +1 -1
  158. package/dist/components/kup-standard-tooltip.js +1 -1
  159. package/dist/components/kup-switch.js +1 -1
  160. package/dist/components/kup-switcher.js +1 -1
  161. package/dist/components/kup-tab-bar.js +1 -1
  162. package/dist/components/kup-task-gantt.js +1 -1
  163. package/dist/components/kup-task-list-header.js +1 -1
  164. package/dist/components/kup-task-list-table.js +1 -1
  165. package/dist/components/kup-task-list.js +1 -1
  166. package/dist/components/kup-text-field.js +1 -1
  167. package/dist/components/kup-time-picker.js +1 -1
  168. package/dist/components/kup-toolbar.js +1 -1
  169. package/dist/components/kup-tooltip.js +1 -1
  170. package/dist/components/kup-tree.js +1 -1
  171. package/dist/components/kup-txt.js +26 -21
  172. package/dist/components/kup-typography-list.js +26 -21
  173. package/dist/components/kup-typography.js +27 -22
  174. package/dist/components/kup-vertical-scroll.js +1 -1
  175. package/dist/components/{p-c325da75.js → p-0ca0b3b7.js} +2 -2
  176. package/dist/components/{p-de04aef6.js → p-1ac3dd8e.js} +15 -15
  177. package/dist/components/{p-d0e33e04.js → p-206f0986.js} +13 -13
  178. package/dist/components/{p-6992b96f.js → p-28774fba.js} +4 -4
  179. package/dist/components/{p-6bfda249.js → p-33cf89e0.js} +1 -1
  180. package/dist/components/{p-8472facf.js → p-34ed7a73.js} +2 -2
  181. package/dist/components/{p-a22e5ee4.js → p-36397daa.js} +25 -20
  182. package/dist/components/{p-0e85ab66.js → p-394a36af.js} +3 -3
  183. package/dist/components/{p-55542b47.js → p-46ec5845.js} +1 -1
  184. package/dist/components/{p-3ba7c133.js → p-4b555010.js} +26 -21
  185. package/dist/components/{p-c7c7f760.js → p-57a120a5.js} +1 -1
  186. package/dist/components/{p-3b4cdace.js → p-7aa9d49d.js} +7 -7
  187. package/dist/components/{p-55fda958.js → p-9b35cce9.js} +1361 -588
  188. package/dist/components/{p-286915d4.js → p-ad93796a.js} +25 -20
  189. package/dist/components/{p-97053b4d.js → p-af0a6cfe.js} +2 -2
  190. package/dist/components/{p-9859e801.js → p-af2d3d26.js} +14 -5
  191. package/dist/components/{p-f2e153e3.js → p-b87bd975.js} +5 -5
  192. package/dist/components/{p-d7136d08.js → p-d3a8c2ba.js} +2 -2
  193. package/dist/components/{p-bd3047ee.js → p-daa07bb7.js} +1 -1
  194. package/dist/components/{p-7bdb5142.js → p-f976f7ae.js} +69 -54
  195. package/dist/esm/{f-cell-ae0c965d.js → f-cell-e08c0b3c.js} +17 -9
  196. package/dist/esm/{f-chip-29242e70.js → f-chip-a030d384.js} +11 -2
  197. package/dist/esm/{f-object-field-75069ac2.js → f-object-field-badf11fe.js} +2 -2
  198. package/dist/esm/{f-paginator-utils-212f93c3.js → f-paginator-utils-e1e23a7e.js} +1 -1
  199. package/dist/esm/{f-text-field-ebe023fb.js → f-text-field-188fd143.js} +1 -1
  200. package/dist/esm/index-9b0f4a0d.js +2 -6
  201. package/dist/esm/index.js +1 -1
  202. package/dist/esm/ketchup.js +1 -1
  203. package/dist/esm/kup-accordion.entry.js +1 -1
  204. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  205. package/dist/esm/{kup-autocomplete_29.entry.js → kup-autocomplete_30.entry.js} +1505 -1077
  206. package/dist/esm/kup-box.entry.js +8 -8
  207. package/dist/esm/kup-calendar.entry.js +2 -2
  208. package/dist/esm/kup-card-list.entry.js +1 -1
  209. package/dist/esm/kup-cell.entry.js +5 -5
  210. package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
  211. package/dist/esm/kup-dashboard.entry.js +2 -2
  212. package/dist/esm/{kup-data-table-helper-ca11e6e9.js → kup-data-table-helper-1c128c4b.js} +1 -1
  213. package/dist/esm/kup-drawer.entry.js +1 -1
  214. package/dist/esm/kup-echart.entry.js +1 -1
  215. package/dist/esm/kup-editor.entry.js +44 -34
  216. package/dist/esm/kup-family-tree.entry.js +3 -3
  217. package/dist/esm/kup-gantt_10.entry.js +23 -23
  218. package/dist/esm/kup-grid.entry.js +1 -1
  219. package/dist/esm/kup-htm.entry.js +2 -2
  220. package/dist/esm/kup-iframe.entry.js +1 -1
  221. package/dist/esm/kup-input-panel.entry.js +22 -13
  222. package/dist/esm/kup-lazy.entry.js +12 -12
  223. package/dist/esm/kup-magic-box.entry.js +4 -4
  224. package/dist/esm/{kup-manager-63a8048f.js → kup-manager-fbf034b0.js} +14 -5
  225. package/dist/esm/kup-nav-bar.entry.js +2 -2
  226. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  227. package/dist/esm/kup-object-field.entry.js +4 -4
  228. package/dist/esm/kup-pdf.entry.js +2 -2
  229. package/dist/esm/kup-planner-renderer.entry.js +2 -2
  230. package/dist/esm/kup-planner.entry.js +3 -3
  231. package/dist/esm/kup-probe.entry.js +2 -2
  232. package/dist/esm/kup-qlik.entry.js +2 -2
  233. package/dist/esm/kup-snackbar.entry.js +2 -2
  234. package/dist/esm/kup-txt.entry.js +2 -2
  235. package/dist/esm/kup-typography-list.entry.js +2 -2
  236. package/dist/esm/kup-typography.entry.js +3 -3
  237. package/dist/esm/loader.js +1 -1
  238. package/dist/ketchup/index.esm.js +1 -1
  239. package/dist/ketchup/ketchup.esm.js +1 -1
  240. package/dist/ketchup/p-00e65c8b.entry.js +1 -0
  241. package/dist/ketchup/p-0b47c2e3.js +1 -0
  242. package/dist/ketchup/{p-6f1dec16.entry.js → p-100446c4.entry.js} +1 -1
  243. package/dist/ketchup/{p-b91e3bae.entry.js → p-14b668f6.entry.js} +1 -1
  244. package/dist/ketchup/{p-fb7c0958.entry.js → p-14e878e9.entry.js} +1 -1
  245. package/dist/ketchup/{p-c8cd012e.entry.js → p-15c1ed53.entry.js} +1 -1
  246. package/dist/ketchup/{p-260587c5.entry.js → p-19de01e7.entry.js} +1 -1
  247. package/dist/ketchup/{p-bc789017.entry.js → p-2032b357.entry.js} +1 -1
  248. package/dist/ketchup/{p-a2d40711.entry.js → p-4bef80af.entry.js} +1 -1
  249. package/dist/ketchup/{p-e705eb4a.js → p-515c59b6.js} +1 -1
  250. package/dist/ketchup/{p-9baa1d6d.entry.js → p-58196a26.entry.js} +1 -1
  251. package/dist/ketchup/{p-11e54526.entry.js → p-5bdc3f74.entry.js} +1 -1
  252. package/dist/ketchup/{p-7dfc42f0.entry.js → p-64c7546a.entry.js} +1 -1
  253. package/dist/ketchup/{p-8ba1d444.entry.js → p-66b6d56b.entry.js} +1 -1
  254. package/dist/ketchup/{p-fe42ae2d.entry.js → p-6782ea5b.entry.js} +1 -1
  255. package/dist/ketchup/p-679a76b6.entry.js +8 -0
  256. package/dist/ketchup/{p-610faea9.js → p-69c806c5.js} +1 -1
  257. package/dist/ketchup/{p-434f2c39.entry.js → p-6e4e479b.entry.js} +1 -1
  258. package/dist/ketchup/p-6fe18ae9.js +1 -0
  259. package/dist/ketchup/p-7b5c4ec1.entry.js +1 -0
  260. package/dist/ketchup/{p-eb090acd.entry.js → p-83d15d86.entry.js} +2 -2
  261. package/dist/ketchup/{p-e7293ae8.entry.js → p-85835e52.entry.js} +1 -1
  262. package/dist/ketchup/{p-43f12940.entry.js → p-8ee44f57.entry.js} +1 -1
  263. package/dist/ketchup/{p-5bf3d60d.entry.js → p-8fad681d.entry.js} +1 -1
  264. package/dist/ketchup/{p-f87b7768.entry.js → p-91743bb0.entry.js} +1 -1
  265. package/dist/ketchup/{p-9b200a90.entry.js → p-982d4b01.entry.js} +1 -1
  266. package/dist/ketchup/{p-8610d5b5.js → p-a9a2f8c7.js} +3 -3
  267. package/dist/ketchup/{p-3533879b.entry.js → p-af99fb41.entry.js} +1 -1
  268. package/dist/ketchup/{p-4677cfd1.entry.js → p-b71d58a8.entry.js} +1 -1
  269. package/dist/ketchup/{p-81743364.entry.js → p-bf3bbbe5.entry.js} +1 -1
  270. package/dist/ketchup/p-c3595114.js +1 -0
  271. package/dist/ketchup/{p-d84e4e90.entry.js → p-d52f2836.entry.js} +1 -1
  272. package/dist/ketchup/{p-7b326bde.entry.js → p-ddfe8edb.entry.js} +1 -1
  273. package/dist/ketchup/{p-6c41cd20.entry.js → p-e4687067.entry.js} +1 -1
  274. package/dist/ketchup/{p-6b529a6f.entry.js → p-ec382a7d.entry.js} +2 -2
  275. package/dist/ketchup/{p-4365fbd3.entry.js → p-f17369c3.entry.js} +3 -3
  276. package/dist/ketchup/{p-da694791.js → p-f6eba414.js} +1 -1
  277. package/dist/ketchup/{p-b6beace3.entry.js → p-f738c370.entry.js} +1 -1
  278. package/dist/ketchup/{p-b068a383.entry.js → p-fe3f5f09.entry.js} +1 -1
  279. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +6 -1
  280. package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
  281. package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -1
  282. package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +2 -2
  283. package/dist/types/components/kup-image-list/kup-image-list.d.ts +12 -0
  284. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +1 -4
  285. package/dist/types/components.d.ts +39 -1
  286. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
  287. package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -0
  288. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +5 -1
  289. package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -2
  290. package/package.json +1 -1
  291. package/dist/cjs/kup-image-list.cjs.entry.js +0 -404
  292. package/dist/esm/kup-image-list.entry.js +0 -400
  293. package/dist/ketchup/p-102d35b1.js +0 -1
  294. package/dist/ketchup/p-4a64f9f2.entry.js +0 -1
  295. package/dist/ketchup/p-4cfa35bc.js +0 -1
  296. package/dist/ketchup/p-5d28e8e0.entry.js +0 -8
  297. package/dist/ketchup/p-7375d456.js +0 -1
  298. package/dist/ketchup/p-93541362.entry.js +0 -1
  299. package/dist/ketchup/p-fb82cad9.entry.js +0 -1
@@ -14,7 +14,7 @@ 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 _KupEditor_autosaveInterval, _KupEditor_hasChanges, _KupEditor_initialContent, _KupEditor_kupManager, _KupEditor_unsavedChangesIndex, _KupEditor_unsavedChangesItem;
17
+ var _KupEditor_instances, _KupEditor_autosaveInterval, _KupEditor_hasChanges, _KupEditor_initialContent, _KupEditor_kupManager, _KupEditor_unsavedChangesIndex, _KupEditor_unsavedChangesItem, _KupEditor_textareaRef, _KupEditor_isPlainTextEditor, _KupEditor_handleUnsavedChanges;
18
18
  import { forceUpdate, h, Host, } from "@stencil/core";
19
19
  import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
20
20
  import { componentWrapperId } from "../../variables/GenericVariables";
@@ -24,6 +24,7 @@ import Viewer from "@toast-ui/editor/dist/toastui-editor-viewer";
24
24
  import { getProps, setProps } from "../../utils/utils";
25
25
  export class KupEditor {
26
26
  constructor() {
27
+ _KupEditor_instances.add(this);
27
28
  /*-------------------------------------------------*/
28
29
  /* I n t e r n a l V a r i a b l e s */
29
30
  /*-------------------------------------------------*/
@@ -40,6 +41,7 @@ export class KupEditor {
40
41
  },
41
42
  type: 'button',
42
43
  });
44
+ _KupEditor_textareaRef.set(this, void 0);
43
45
  this.editor = null;
44
46
  this.editorRef = undefined;
45
47
  this.viewer = null;
@@ -185,36 +187,12 @@ export class KupEditor {
185
187
  async setProps(props) {
186
188
  setProps(this, KupEditorProps, props);
187
189
  }
188
- /*-------------------------------------------------*/
189
- /* P r i v a t e M e t h o d s */
190
- /*-------------------------------------------------*/
191
190
  createEditor() {
192
191
  var _a;
193
192
  const editorProps = {
194
193
  el: this.editorRef,
195
194
  events: {
196
- change: () => {
197
- if (__classPrivateFieldGet(this, _KupEditor_initialContent, "f") !== this.editor.getMarkdown()) {
198
- if (!__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
199
- __classPrivateFieldSet(this, _KupEditor_unsavedChangesIndex, this.editor.getUI().getToolbar().getItems()
200
- .length - 1, "f");
201
- this.editor
202
- .getUI()
203
- .getToolbar()
204
- .insertItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"), __classPrivateFieldGet(this, _KupEditor_unsavedChangesItem, "f"));
205
- }
206
- __classPrivateFieldSet(this, _KupEditor_hasChanges, true, "f");
207
- }
208
- else {
209
- if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
210
- this.editor
211
- .getUI()
212
- .getToolbar()
213
- .removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
214
- }
215
- __classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
216
- }
217
- },
195
+ change: () => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this),
218
196
  focus: () => {
219
197
  if (!this.isReadOnly && !this.showToolbar) {
220
198
  this.showToolbar = true;
@@ -223,7 +201,7 @@ export class KupEditor {
223
201
  },
224
202
  height: (_a = this.editorHeight) !== null && _a !== void 0 ? _a : 'auto',
225
203
  hideModeSwitch: true,
226
- initialEditType: this.initialEditType,
204
+ initialEditType: this.initialEditType === 'wysiwyg' ? 'wysiwyg' : 'markdown',
227
205
  initialValue: this.initialValue,
228
206
  placeholder: 'Type your text here...',
229
207
  previewStyle: this.previewStyle,
@@ -371,12 +349,17 @@ export class KupEditor {
371
349
  return toolBarItems;
372
350
  }
373
351
  getSaveAndAutoSaveProps() {
374
- var _a, _b;
352
+ const htmlValue = __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this)
353
+ ? __classPrivateFieldGet(this, _KupEditor_textareaRef, "f").value
354
+ : this.editor.getHtml();
355
+ const markdownValue = __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this)
356
+ ? __classPrivateFieldGet(this, _KupEditor_textareaRef, "f").value
357
+ : this.editor.getMarkdown();
375
358
  return {
376
359
  comp: this,
377
360
  id: this.rootElement.id,
378
- htmlValue: (_a = this.editor.getHtml()) !== null && _a !== void 0 ? _a : '',
379
- markdownValue: (_b = this.editor.getMarkdown()) !== null && _b !== void 0 ? _b : '',
361
+ htmlValue,
362
+ markdownValue,
380
363
  };
381
364
  }
382
365
  /*-------------------------------------------------*/
@@ -400,7 +383,9 @@ export class KupEditor {
400
383
  __classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
401
384
  }
402
385
  render() {
403
- return (h(Host, { key: 'e7af368e1134de8874c2791b82291bc5391bff6d' }, h("div", { key: '0faeedec267b850a027ce153adaf116c8dbe0a82', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }))));
386
+ return (h(Host, { key: '031333deffb0732e544076f155555bb62bc53190' }, h("div", { key: '0f312ec339138f3a62afdf742660606526d11e70', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }), __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this) && (h("textarea", { key: '0e2bc200ff30a15f624299a9577ec910134dc3d1', id: '' + this.rootElement.id + '-textarea', value: this.initialValue, ref: (el) => (__classPrivateFieldSet(this, _KupEditor_textareaRef, el, "f")), onInput: (e) => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this, e.target.value), placeholder: "Type your text here...", readOnly: this.isReadOnly, style: {
387
+ height: this.editorHeight || 'auto',
388
+ }, class: "kup-editor-textarea" })))));
404
389
  }
405
390
  disconnectedCallback() {
406
391
  __classPrivateFieldGet(this, _KupEditor_kupManager, "f").theme.unregister(this);
@@ -455,7 +440,7 @@ export class KupEditor {
455
440
  "mutable": false,
456
441
  "complexType": {
457
442
  "original": "KupEditorType",
458
- "resolved": "\"markdown\" | \"wysiwyg\"",
443
+ "resolved": "\"markdown\" | \"text\" | \"wysiwyg\"",
459
444
  "references": {
460
445
  "KupEditorType": {
461
446
  "location": "import",
@@ -474,7 +459,7 @@ export class KupEditor {
474
459
  "text": "The editor type."
475
460
  },
476
461
  "attribute": "initial-edit-type",
477
- "reflect": false,
462
+ "reflect": true,
478
463
  "defaultValue": "'markdown'"
479
464
  },
480
465
  "initialValue": {
@@ -838,4 +823,29 @@ export class KupEditor {
838
823
  }];
839
824
  }
840
825
  }
841
- _KupEditor_autosaveInterval = new WeakMap(), _KupEditor_hasChanges = new WeakMap(), _KupEditor_initialContent = new WeakMap(), _KupEditor_kupManager = new WeakMap(), _KupEditor_unsavedChangesIndex = new WeakMap(), _KupEditor_unsavedChangesItem = new WeakMap();
826
+ _KupEditor_autosaveInterval = new WeakMap(), _KupEditor_hasChanges = new WeakMap(), _KupEditor_initialContent = new WeakMap(), _KupEditor_kupManager = new WeakMap(), _KupEditor_unsavedChangesIndex = new WeakMap(), _KupEditor_unsavedChangesItem = new WeakMap(), _KupEditor_textareaRef = new WeakMap(), _KupEditor_instances = new WeakSet(), _KupEditor_isPlainTextEditor = function _KupEditor_isPlainTextEditor() {
827
+ return this.initialEditType === 'text';
828
+ }, _KupEditor_handleUnsavedChanges = function _KupEditor_handleUnsavedChanges(value) {
829
+ value = value !== undefined ? value : this.editor.getMarkdown();
830
+ if (__classPrivateFieldGet(this, _KupEditor_textareaRef, "f")) {
831
+ if (__classPrivateFieldGet(this, _KupEditor_initialContent, "f") !== value) {
832
+ if (!__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
833
+ __classPrivateFieldSet(this, _KupEditor_unsavedChangesIndex, this.editor.getUI().getToolbar().getItems().length - 1, "f");
834
+ this.editor
835
+ .getUI()
836
+ .getToolbar()
837
+ .insertItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"), __classPrivateFieldGet(this, _KupEditor_unsavedChangesItem, "f"));
838
+ }
839
+ __classPrivateFieldSet(this, _KupEditor_hasChanges, true, "f");
840
+ }
841
+ else {
842
+ if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
843
+ this.editor
844
+ .getUI()
845
+ .getToolbar()
846
+ .removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
847
+ }
848
+ __classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
849
+ }
850
+ }
851
+ };
@@ -149,12 +149,12 @@ export class KupFamilyTree {
149
149
  __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").debug.logRender(this, true);
150
150
  }
151
151
  render() {
152
- return (h(Host, { key: 'a9f9ee994a291bdd1ccf08b30874b2db4bc4259a', onDrag: (e) => e.preventDefault(), onPointerDown: (e) => {
152
+ return (h(Host, { key: '4c4b1e324af112481cf07385a41b645cd61d55bd', onDrag: (e) => e.preventDefault(), onPointerDown: (e) => {
153
153
  e.preventDefault();
154
154
  __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_startPanning).call(this, e);
155
155
  }, onWheel: (e) => {
156
156
  __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_zoomTree).call(this, e);
157
- } }, h("style", { key: 'bd183547c40402c13ff97646b17040ef6a53282d' }, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '9cb4e3898a457cd224333306aa6fe8bfda4f89da', id: componentWrapperId }, __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_createTree).call(this))));
157
+ } }, h("style", { key: '1a78eadb1ec514d7144499d24b31e7c159cb4330' }, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'fdae258f4384af40bb13232a15633fec74aa8fe2', id: componentWrapperId }, __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_createTree).call(this))));
158
158
  }
159
159
  disconnectedCallback() {
160
160
  __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").language.unregister(this);
@@ -115,10 +115,10 @@ export class KupFileUpload {
115
115
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logRender(this, true);
116
116
  }
117
117
  render() {
118
- return (h(Host, { key: 'e143d3c489688e407f713b20c5ae427797141bc6' }, h("style", { key: '99f08c09b494f7e16ef281f954714eff1182ae1f' }, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '7d5a7b4fbe15ce43bea1a957efbf6314ea65c6c6', id: componentWrapperId }, h("div", { key: 'eababb5992fd22bcd6b1d036dc058eaf30554613', class: {
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: {
119
119
  'file-upload': true,
120
120
  'file-upload-spinner': this.showSpinner,
121
- }, onDrop: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragOver: (event) => event.preventDefault() }, h("input", { key: '9f326f25f1976b64caac0bf0bb7c6390519df02d', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: true, hidden: true }), h("div", { key: '470189c4ff4e0376b0b46104e7b0748e09f2a52f', class: "file-upload__buttons" }, h(FButton, { key: 'c7b8810f0c783cdbe16c9f10cd569717de360602', 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: 'b0c4678d433916abfe9265760c2133f337e9c536', 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: '34205b6c5db56c861be73aa7471ba886884f0009', 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: 'fbbce7bf09bbdfa87d395773f3eaa1d39b995171', class: "file-upload__spinner-container" }, h("kup-spinner", { key: '2fb0b8832149034fd650d52aeddfc0e478ebadc0', active: true, layout: 14, dimensions: "7px" })))))));
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" })))))));
122
122
  }
123
123
  disconnectedCallback() {
124
124
  __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.unregister(this);
@@ -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: '07600a04c3f15543fc67c6524d273bcbfbdae951' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
411
+ formContent = (h("p", { key: 'cf8c793fae4b7ab811ed6385dd446ce1603d4921' }, 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: '68a9e2e5b9c07904b53b265235b6c2b4fe9590e5' }, h("style", { key: '16282a283ab8f5a848c5675b0b27f2437b57f542' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b37f1997e8891928f5a3d765b90bcc82c965aeb2', id: componentWrapperId }, formContent)));
422
+ return (h(Host, { key: 'a97811d53f4ed45ced27c021e1cf164f093b04d2' }, h("style", { key: '5531da216461ca36e3efb0f0a365517eb8494d64' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '50e19a44c0be7805bf35215fbc079924178458f9', 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: '5a79767bda05f81fbfa3b44c06592ce9d338c859' }, h("style", { key: '4977d1d9a029a0669695ac206ecbd306b467cf21' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'f8e7cdc3e1992853c090f3204fed1a0de76b904b', id: componentWrapperId }, h("div", { key: '0c6724dc5d6c2b8f53ca7573424aab59adbcf6a4', 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: '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 }))))));
73
73
  }
74
74
  disconnectedCallback() {
75
75
  __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
@@ -294,6 +294,10 @@
294
294
  .image-list__item:hover {
295
295
  background-color: var(--kup_imagelist_item_background_color_hover);
296
296
  }
297
+ .image-list__item--active {
298
+ background-color: rgba(var(--kup_imagelist_primary_color_rgb), 0.15);
299
+ color: var(--kup_imagelist_primary_color);
300
+ }
297
301
  .image-list__image.f-image {
298
302
  position: absolute;
299
303
  padding: var(--kup-space-03);
@@ -69,6 +69,7 @@ export class KupImageList {
69
69
  _KupImageList_interactableTouch.set(this, []);
70
70
  this.currentNode = null;
71
71
  this.navigationBarToggled = false;
72
+ this.activeSelectedNode = null;
72
73
  this.columns = [];
73
74
  this.customStyle = '';
74
75
  this.data = [];
@@ -78,6 +79,8 @@ export class KupImageList {
78
79
  this.stateId = '';
79
80
  this.store = undefined;
80
81
  this.showFullDescription = false;
82
+ this.leadingLabel = null;
83
+ this.activeNode = undefined;
81
84
  }
82
85
  initWithPersistedState() {
83
86
  if (this.store && this.stateId) {
@@ -110,6 +113,9 @@ export class KupImageList {
110
113
  }
111
114
  this.currentNode = __classPrivateFieldGet(this, _KupImageList_kupManager, "f").data.node.find(this.data, newData);
112
115
  }
116
+ watchActiveNode(newNode) {
117
+ this.activeSelectedNode = newNode !== null && newNode !== void 0 ? newNode : null;
118
+ }
113
119
  /*-------------------------------------------------*/
114
120
  /* P u b l i c M e t h o d s */
115
121
  /*-------------------------------------------------*/
@@ -138,9 +144,11 @@ export class KupImageList {
138
144
  /* L i f e c y c l e H o o k s */
139
145
  /*-------------------------------------------------*/
140
146
  componentWillLoad() {
147
+ var _a;
141
148
  __classPrivateFieldGet(this, _KupImageList_kupManager, "f").debug.logLoad(this, false);
142
149
  __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.register(this);
143
150
  __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.register(this);
151
+ this.activeSelectedNode = (_a = this.activeNode) !== null && _a !== void 0 ? _a : null;
144
152
  }
145
153
  componentDidLoad() {
146
154
  __classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_didLoadInteractables).call(this);
@@ -200,14 +208,14 @@ export class KupImageList {
200
208
  }
201
209
  const imlClass = 'image-list' +
202
210
  (this.showFullDescription ? ' full-description' : '');
203
- return (h(Host, { key: 'ca040281aa4d992d8d6efaa3e294e4cc5e06f95a' }, h("style", { key: '433ac510a032fef1a28de7a19cc725338f12ed18' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '09711dbe9475c429a0b87f08c4f95d33dc0a2387', id: componentWrapperId, ref: (el) => {
211
+ return (h(Host, { key: 'ea207d793c3a9810a262f2f307451cc05c8f05c2' }, h("style", { key: '35dfe806784efd59f7e54ad3dd5808c3b441656b' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '0fe6b33096bb41c05f7e4fc9adad1f6c7140e086', id: componentWrapperId, ref: (el) => {
204
212
  __classPrivateFieldSet(this, _KupImageList_el, el, "f");
205
- } }, h("div", { key: 'fa65e7bfd83e21146e71c9889cf08849cccc1479', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
213
+ } }, h("div", { key: '6b7576d25b6a19b7316b97d8745a3690d2a649bc', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
206
214
  ? 'navigation-bar__wrapper--active'
207
215
  : ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
208
216
  this.navigationBarToggled =
209
217
  !this.navigationBarToggled;
210
- } }, 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), h("div", { key: 'e8348ec6cfc974859f45548e1bb156032dda8d2d', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
218
+ } }, 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: '74521e394aed3145d3a134bf2e5939ce9c8561cc', class: "mdc-text-field__label-container" }, h("label", { key: '247b7c52c6e3e590e15933e4a4fd2186b7bd9e64', class: "mdc-label" }, this.leadingLabel))), h("div", { key: 'f6c424c22bb28fe016184529d6023f42e2f8dc00', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
211
219
  }
212
220
  disconnectedCallback() {
213
221
  __classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
@@ -419,13 +427,59 @@ export class KupImageList {
419
427
  "attribute": "show-full-description",
420
428
  "reflect": false,
421
429
  "defaultValue": "false"
430
+ },
431
+ "leadingLabel": {
432
+ "type": "string",
433
+ "mutable": false,
434
+ "complexType": {
435
+ "original": "string",
436
+ "resolved": "string",
437
+ "references": {}
438
+ },
439
+ "required": false,
440
+ "optional": false,
441
+ "docs": {
442
+ "tags": [{
443
+ "name": "default",
444
+ "text": "null"
445
+ }],
446
+ "text": "When present component will have a main label."
447
+ },
448
+ "attribute": "leading-label",
449
+ "reflect": false,
450
+ "defaultValue": "null"
451
+ },
452
+ "activeNode": {
453
+ "type": "unknown",
454
+ "mutable": false,
455
+ "complexType": {
456
+ "original": "KupImageListDataNode",
457
+ "resolved": "KupImageListDataNode",
458
+ "references": {
459
+ "KupImageListDataNode": {
460
+ "location": "import",
461
+ "path": "./kup-image-list-declarations",
462
+ "id": "src/components/kup-image-list/kup-image-list-declarations.ts::KupImageListDataNode"
463
+ }
464
+ }
465
+ },
466
+ "required": false,
467
+ "optional": true,
468
+ "docs": {
469
+ "tags": [{
470
+ "name": "default",
471
+ "text": "null"
472
+ }],
473
+ "text": "When present component will have an active class on node selected."
474
+ }
422
475
  }
423
476
  };
424
477
  }
425
478
  static get states() {
426
479
  return {
427
480
  "currentNode": {},
428
- "navigationBarToggled": {}
481
+ "navigationBarToggled": {},
482
+ "activeSelectedNode": {}
429
483
  };
430
484
  }
431
485
  static get events() {
@@ -581,6 +635,9 @@ export class KupImageList {
581
635
  return [{
582
636
  "propName": "selectedNode",
583
637
  "methodName": "selectNode"
638
+ }, {
639
+ "propName": "activeNode",
640
+ "methodName": "watchActiveNode"
584
641
  }];
585
642
  }
586
643
  }
@@ -593,6 +650,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
593
650
  }
594
651
  return somethingChanged;
595
652
  }, _KupImageList_createItem = function _KupImageList_createItem(node) {
653
+ var _a, _b, _c;
596
654
  const props = {
597
655
  fit: true,
598
656
  resource: node.icon,
@@ -603,9 +661,9 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
603
661
  };
604
662
  const image = h(FImage, Object.assign({}, props));
605
663
  const label = h("div", { class: "image-list__label" }, node.value);
606
- const hasExternalResource = props.resource.indexOf('.') > -1 ||
607
- props.resource.indexOf('/') > -1 ||
608
- props.resource.indexOf('\\') > -1;
664
+ const hasExternalResource = ((_a = props.resource) === null || _a === void 0 ? void 0 : _a.indexOf('.')) > -1 ||
665
+ ((_b = props.resource) === null || _b === void 0 ? void 0 : _b.indexOf('/')) > -1 ||
666
+ ((_c = props.resource) === null || _c === void 0 ? void 0 : _c.indexOf('\\')) > -1;
609
667
  return (h(FCell, { cell: {
610
668
  value: node.value,
611
669
  icon: node.icon,
@@ -614,6 +672,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
614
672
  cssClass: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").data.cell.getObjectRelatedStyleClasses(node.obj, node.cssClass),
615
673
  }, column: { name: 'IMAGE', title: 'Image' }, component: this, density: FCellPadding.NONE, row: Object.assign({}, node) }, h("div", { class: `image-list__wrapper${hasExternalResource ? ' images' : ''}` }, !hasExternalResource && (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 24 24" })), image, label)));
616
674
  }, _KupImageList_createList = function _KupImageList_createList() {
675
+ var _a;
617
676
  const nodes = [];
618
677
  const items = this.currentNode ? this.currentNode.children : this.data;
619
678
  for (let index = 0; items && index < items.length; index++) {
@@ -621,6 +680,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
621
680
  const classObj = {
622
681
  'image-list__item': true,
623
682
  'mdc-ripple-surface': this.ripple ? true : false,
683
+ 'image-list__item--active': ((_a = this.activeSelectedNode) === null || _a === void 0 ? void 0 : _a.value) === node.value,
624
684
  };
625
685
  const item = (h("div", { onContextMenu: (e) => {
626
686
  e.preventDefault();
@@ -679,6 +739,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
679
739
  if (((_a = node === null || node === void 0 ? void 0 : node.children) === null || _a === void 0 ? void 0 : _a.length) > 0) {
680
740
  this.currentNode = node;
681
741
  }
742
+ this.activeSelectedNode = node;
682
743
  this.kupClick.emit({
683
744
  comp: this,
684
745
  id: this.rootElement.id,
@@ -26,7 +26,7 @@ var __rest = (this && this.__rest) || function (s, e) {
26
26
  }
27
27
  return t;
28
28
  };
29
- var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
29
+ var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
30
30
  import { forceUpdate, h, Host, } from "@stencil/core";
31
31
  import { FButton } from "../../f-components/f-button/f-button";
32
32
  import { FCell } from "../../f-components/f-cell/f-cell";
@@ -35,6 +35,7 @@ import { FLabel } from "../../f-components/f-label/f-label";
35
35
  import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc";
36
36
  import { FTypography } from "../../f-components/f-typography/f-typography";
37
37
  import { FTypographyType } from "../../f-components/f-typography/f-typography-declarations";
38
+ import { UseAsValue, } from "../../managers/kup-data/kup-data-declarations";
38
39
  import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
39
40
  import { KupPointerEventTypes } from "../../managers/kup-interact/kup-interact-declarations";
40
41
  import { KupLanguageGeneric } from "../../managers/kup-language/kup-language-declarations";
@@ -248,7 +249,7 @@ export class KupInputPanel {
248
249
  h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
249
250
  ]
250
251
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
251
- return (h(Host, { key: 'b1133efe7244cc661038684eaf17e4703b9534d1', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
252
+ return (h(Host, { key: '0347e85caa65bc2cbbab726ebec3c14a89957e09', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
252
253
  this.tabSelected = e.detail.node.id;
253
254
  }, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK), "onKup-objectfield-searchpayload": (e) => {
254
255
  this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
@@ -256,7 +257,7 @@ export class KupInputPanel {
256
257
  this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
257
258
  }, "onKup-objectfield-selectedmenuitem": (e) => {
258
259
  this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
259
- } }, h("style", { key: '9427c673b6350b14496c77211089da3e6addbbf3' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '35e45b29284732303c817997dcd0888e615453aa', id: componentWrapperId }, inputPanelContent)));
260
+ } }, h("style", { key: 'cb11bd3c5747ec2796be74a5e5248ac6efe8c88a' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '50ea1fafbda4e62b01806ff02b07dc8e33c174d4', id: componentWrapperId }, inputPanelContent)));
260
261
  }
261
262
  disconnectedCallback() {
262
263
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -909,7 +910,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
909
910
  let rowContent;
910
911
  if (!((_a = layout === null || layout === void 0 ? void 0 : layout.sections) === null || _a === void 0 ? void 0 : _a.length)) {
911
912
  rowContent = inputPanelCell.cells
912
- .filter(({ column }) => column.visible)
913
+ .filter(({ column }) => column.visible !== false)
913
914
  .map((cell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, cell.cell, inputPanelCell.row, cell.column));
914
915
  }
915
916
  else {
@@ -1189,9 +1190,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1189
1190
  });
1190
1191
  const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
1191
1192
  return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
1193
+ }, _KupInputPanel_skipRenderField = function _KupInputPanel_skipRenderField(fieldCell) {
1194
+ return (!fieldCell || !fieldCell.cell || fieldCell.column.visible === false);
1192
1195
  }, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
1193
1196
  const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
1194
- if (!fieldCell || !fieldCell.cell || !fieldCell.column.visible) {
1197
+ if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_skipRenderField).call(this, fieldCell)) {
1195
1198
  return;
1196
1199
  }
1197
1200
  const colSpan = +field.colSpan > 0
@@ -1218,7 +1221,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1218
1221
  return (h("div", { style: styleObj }, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, fieldCell.cell, cells.row, fieldCell.column)));
1219
1222
  }, _KupInputPanel_renderAbsoluteField = function _KupInputPanel_renderAbsoluteField(cells, field, absoluteTblPositioningData) {
1220
1223
  const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
1221
- if (!fieldCell || !fieldCell.cell || !fieldCell.column.visible) {
1224
+ if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_skipRenderField).call(this, fieldCell)) {
1222
1225
  return;
1223
1226
  }
1224
1227
  let length;
@@ -1309,7 +1312,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1309
1312
  }));
1310
1313
  this.inputPanelCells = inpuPanelCells;
1311
1314
  }, _KupInputPanel_setData = function _KupInputPanel_setData(cell, column, layout) {
1312
- const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable, id: column.name });
1315
+ const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable || column.useAs === UseAsValue.KEY, id: column.name });
1313
1316
  const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
1314
1317
  const _a = cell.data || {}, { data } = _a, noDataProps = __rest(_a, ["data"]);
1315
1318
  return cellType !== FCellTypes.MULTI_AUTOCOMPLETE &&
@@ -1390,6 +1393,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1390
1393
  [FCellTypes.SWITCH, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_SWTAdapter).bind(this)],
1391
1394
  [FCellTypes.TABLE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_DataTableAdapter).bind(this)],
1392
1395
  [FCellTypes.TIME, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_TimeAdapter).bind(this)],
1396
+ [FCellTypes.IMAGE_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ImageListAdapter).bind(this)],
1393
1397
  ]);
1394
1398
  const adapter = dataAdapterMap.get(cellType);
1395
1399
  return adapter
@@ -1490,6 +1494,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1490
1494
  label: fieldLabel || ' ',
1491
1495
  value: currentValue || '',
1492
1496
  };
1497
+ }, _KupInputPanel_ImageListAdapter = function _KupInputPanel_ImageListAdapter(_options, fieldLabel, currentValue) {
1498
+ return {
1499
+ initialValue: currentValue || '',
1500
+ leadingLabel: fieldLabel || '',
1501
+ value: currentValue || '',
1502
+ };
1493
1503
  }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
1494
1504
  return {
1495
1505
  data: {
@@ -1612,7 +1622,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1612
1622
  }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
1613
1623
  this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1614
1624
  var _a, _b, _c, _d, _e, _f;
1615
- const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) === null || _a === void 0 ? void 0 : _a.filter((col) => (col === null || col === void 0 ? void 0 : col.visible) || !('visible' in col)).map((col) => col.name)) || [];
1625
+ const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) === null || _a === void 0 ? void 0 : _a.filter((col) => (col === null || col === void 0 ? void 0 : col.visible) !== false).map((col) => col.name)) || [];
1616
1626
  const filteredRows = (_b = options === null || options === void 0 ? void 0 : options.rows) === null || _b === void 0 ? void 0 : _b.map((row) => {
1617
1627
  const { cells } = row;
1618
1628
  const filteredCells = visibleColumns.reduce((acc, columnName) => {
@@ -108,39 +108,39 @@ export class KupLazy {
108
108
  switch (this.componentName) {
109
109
  case 'kup-button':
110
110
  //call_to_action.svg
111
- resource = (h("svg", { key: '3d3f813296d36cdcd7d173d9f436e0d552a0673b', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '23e46931d75401379ce83357a9c343c7c720acfd', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
111
+ resource = (h("svg", { key: '5c5d09e1114809cae5e4d04d2810fcbe38919665', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'ef0cc102b4f61b6cb0b6a11b990d8a683d3dadbb', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
112
112
  break;
113
113
  case 'kup-card':
114
114
  //art_track.svg
115
- resource = (h("svg", { key: '31f0e5169cd260697da6edd1c763db915b8153cf', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '65ac92668eb2914e838b8333f7db8b863f500435', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
115
+ resource = (h("svg", { key: '08418ea5f354cd9703db966a32ba3a2bde766474', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '8575071216916dbd3994f778e3811762c4b1ba14', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
116
116
  break;
117
117
  case 'kup-checkbox':
118
118
  //check_box_outline_blank.svg
119
- resource = (h("svg", { key: 'e969df1de6bddaad47c745033e6c67f3cd155067', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '32a60569f176c7e0bda2577c5f28116e6102741f', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
119
+ resource = (h("svg", { key: '830ea284f7a58f781306f46dbe30917cf24f953f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'd76171580d775362c392e3ad8fc00370f9ab7b2f', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
120
120
  break;
121
121
  case 'kup-chart':
122
122
  //chart-bar.svg
123
- resource = (h("svg", { key: '3990a3b5027d15ba60962352f011efc0bc0bdbc8', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'c745d3d21ce3dcc2f6eae81c558cdfb9ddf7856c', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
123
+ resource = (h("svg", { key: '81b641d30123794bacaecc19a99f4ec544c84a8e', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '175cb426d36b630d55bcc637d3d5b7e54ce4cede', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
124
124
  break;
125
125
  case 'kup-data-table':
126
126
  //table-large.svg
127
- resource = (h("svg", { key: '39530590dd10736009c375b5f21e8a62b9e9bb6e', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '929b9d6f5a883ae75056635152b971f41b4f7fab', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
127
+ resource = (h("svg", { key: '15f07a20fc21b25f6faad4a2a7f5afa3b38a1914', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '8880c4646eb4d39529164b920b6c06f6ca9d574c', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
128
128
  break;
129
129
  case 'kup-image':
130
130
  //photo.svg
131
- resource = (h("svg", { key: 'e0352a356d272be14bbb79539526c0cb72ffcea1', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'c2743da82c65cc5a8a8238dda4bbd79a07a4f7e6', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
131
+ resource = (h("svg", { key: 'a43bbf16254b87ba99dcd0380fb6dd48d459587e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '37fe8e3e880ad99cd2ce8699062ea7aaf20b8e2e', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
132
132
  break;
133
133
  case 'kup-progress-bar':
134
134
  //linear_scale.svg
135
- resource = (h("svg", { key: '490fc3794bf51a697a165784e7c2f3e208e0fb24', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'd6fe5a4e35eb39076669fff9027bc300ac0ea7a9', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
135
+ resource = (h("svg", { key: '3f24c39011fcb687a3ab2887020ed239e66f4127', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '42289a40edc167d2ddb4b99cd80c1343c9904142', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
136
136
  break;
137
137
  case 'kup-radio':
138
138
  //radio_button_unchecked.svg
139
- resource = (h("svg", { key: 'ddaca4167f0df39ff99c2eedf51da43e11daa217', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'f1277d43c4b879169ef89e57f3212adc3bd1673b', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
139
+ resource = (h("svg", { key: '8031d9825c3efdfc622b2026309c499b31619be2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '60b60ed680daf4a6bfcfca0c1ce55debbff62235', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
140
140
  break;
141
141
  default:
142
142
  //art_track.svg
143
- resource = (h("svg", { key: 'bac4baf6a31b7f455fb1ec4875c2d01109a136cf', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '6766752680a0ece7a570ae86cb7ea7451b2f6768', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
143
+ resource = (h("svg", { key: '24bc59869d647844dcbe9f24acd37c661c8dcffd', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '29f284cbe18ac03051367321466d2e369860c66e', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
144
144
  break;
145
145
  }
146
146
  if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
@@ -149,14 +149,14 @@ export class KupLazy {
149
149
  this.data &&
150
150
  this.isInViewport)) {
151
151
  let Tag = this.componentName;
152
- content = (h(Tag, Object.assign({ key: 'c0d1463f2f6d7abde1954aed56c87727966a421b' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
152
+ content = (h(Tag, Object.assign({ key: '1a843ca9f51d0686f5db923cbfbfbeac4c200105' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
153
153
  className += ' kup-loaded';
154
154
  }
155
155
  else if (this.showPlaceholder) {
156
156
  content = resource;
157
157
  className += ' kup-to-be-loaded';
158
158
  }
159
- return (h(Host, { key: '71c1a3aec26a79f50340cb14cf92f79fedd590a1', class: className }, h("style", { key: '41231e59fd53a143644414d9dc15e4be2c7b4715' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '210ea58d84ae6f3ecf2a224cb5e65f74e1b1469f', id: componentWrapperId }, content)));
159
+ return (h(Host, { key: 'd150ddb67a168132fc8127e310f628acc9387cce', class: className }, h("style", { key: '572fb2b794e42339a3d85dc7df73bb59829a4c23' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e355c76efbd00ed487c8f1d20e3ea1de360e93ec', id: componentWrapperId }, content)));
160
160
  }
161
161
  disconnectedCallback() {
162
162
  var _a;