@sme.up/ketchup 11.0.0-SNAPSHOT-20241217083229 → 11.0.0-SNAPSHOT-20241217103457

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 (300) hide show
  1. package/dist/cjs/{f-cell-39c40bdf.js → f-cell-732263b0.js} +16 -16
  2. package/dist/cjs/{f-chip-d89bcb57.js → f-chip-238c78d1.js} +1 -1
  3. package/dist/cjs/{f-object-field-4a77d419.js → f-object-field-8bca23a7.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-0743ddec.js → f-paginator-utils-be634c3c.js} +1 -1
  5. package/dist/cjs/{f-text-field-02f710d5.js → f-text-field-b5a51398.js} +3 -2
  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 +2 -2
  9. package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
  10. package/dist/cjs/kup-autocomplete_28.cjs.entry.js +242 -245
  11. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  12. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  13. package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
  14. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  15. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
  17. package/dist/cjs/{kup-data-table-helper-43cfaea5.js → kup-data-table-helper-07df1b41.js} +1 -1
  18. package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
  19. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-editor.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
  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-image-list.cjs.entry.js +8 -8
  27. package/dist/cjs/kup-input-panel.cjs.entry.js +43 -198
  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-1145102b.js → kup-manager-f5ccf3d0.js} +2 -1
  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-photo-frame.cjs.entry.js +3 -3
  36. package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
  37. package/dist/cjs/kup-planner.cjs.entry.js +3 -3
  38. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  39. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  40. package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
  41. package/dist/cjs/kup-txt.cjs.entry.js +2 -2
  42. package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
  43. package/dist/cjs/kup-typography.cjs.entry.js +2 -2
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/collection/components/kup-accordion/kup-accordion.js +1 -1
  46. package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.js +1 -1
  47. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
  48. package/dist/collection/components/kup-badge/kup-badge.js +2 -2
  49. package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
  50. package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
  51. package/dist/collection/components/kup-card-list/kup-card-list.css +1 -1
  52. package/dist/collection/components/kup-cell/kup-cell.js +2 -2
  53. package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
  54. package/dist/collection/components/kup-chip/kup-chip.js +2 -2
  55. package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
  56. package/dist/collection/components/kup-combobox/kup-combobox.js +29 -15
  57. package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
  58. package/dist/collection/components/kup-data-table/kup-data-table.js +97 -70
  59. package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
  60. package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
  61. package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
  62. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -1
  63. package/dist/collection/components/kup-echart/kup-echart.js +1 -1
  64. package/dist/collection/components/kup-editor/kup-editor.js +1 -1
  65. package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
  66. package/dist/collection/components/kup-form/kup-form.js +2 -2
  67. package/dist/collection/components/kup-htm/kup-htm.js +1 -1
  68. package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
  69. package/dist/collection/components/kup-input-panel/kup-input-panel.js +38 -193
  70. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  71. package/dist/collection/components/kup-list/kup-list.css +5 -1
  72. package/dist/collection/components/kup-list/kup-list.js +43 -4
  73. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  74. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  75. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  76. package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
  77. package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
  78. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
  79. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  80. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  81. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  82. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  83. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  84. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  85. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  86. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  87. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  88. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  89. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  90. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  91. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  92. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  93. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  94. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  95. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  96. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  97. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  98. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  99. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  100. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  101. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  102. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  103. package/dist/collection/components/kup-typography/kup-typography.js +1 -1
  104. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  105. package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
  106. package/dist/collection/f-components/f-cell/f-cell.js +12 -12
  107. package/dist/collection/f-components/f-text-field/f-text-field.js +2 -1
  108. package/dist/components/index.js +1 -1
  109. package/dist/components/kup-accordion.js +3 -3
  110. package/dist/components/kup-activity-timeline.js +3 -3
  111. package/dist/components/kup-autocomplete.js +1 -1
  112. package/dist/components/kup-badge.js +1 -1
  113. package/dist/components/kup-box.js +1 -1
  114. package/dist/components/kup-button-list.js +1 -1
  115. package/dist/components/kup-button.js +1 -1
  116. package/dist/components/kup-calendar.js +4 -4
  117. package/dist/components/kup-card-list.js +4 -4
  118. package/dist/components/kup-card.js +1 -1
  119. package/dist/components/kup-cell.js +4 -4
  120. package/dist/components/kup-chart.js +1 -1
  121. package/dist/components/kup-checkbox.js +1 -1
  122. package/dist/components/kup-chip.js +1 -1
  123. package/dist/components/kup-color-picker.js +1 -1
  124. package/dist/components/kup-combobox.js +1 -1
  125. package/dist/components/kup-custom-task-list-header.js +1 -1
  126. package/dist/components/kup-dashboard.js +3 -3
  127. package/dist/components/kup-data-table.js +1 -1
  128. package/dist/components/kup-date-picker.js +1 -1
  129. package/dist/components/kup-dialog.js +1 -1
  130. package/dist/components/kup-drawer.js +4 -4
  131. package/dist/components/kup-dropdown-button.js +1 -1
  132. package/dist/components/kup-echart.js +1 -1
  133. package/dist/components/kup-editor.js +1 -1
  134. package/dist/components/kup-family-tree.js +5 -5
  135. package/dist/components/kup-form.js +1 -1
  136. package/dist/components/kup-gantt-calendar.js +1 -1
  137. package/dist/components/kup-gantt.js +1 -1
  138. package/dist/components/kup-gauge.js +1 -1
  139. package/dist/components/kup-grid-renderer.js +1 -1
  140. package/dist/components/kup-grid.js +1 -1
  141. package/dist/components/kup-horizontal-scroll.js +1 -1
  142. package/dist/components/kup-htm.js +3 -3
  143. package/dist/components/kup-iframe.js +2 -2
  144. package/dist/components/kup-image-list.js +5 -5
  145. package/dist/components/kup-image.js +1 -1
  146. package/dist/components/kup-input-panel.js +41 -196
  147. package/dist/components/kup-lazy.js +13 -13
  148. package/dist/components/kup-list.js +1 -1
  149. package/dist/components/kup-magic-box.js +7 -7
  150. package/dist/components/kup-nav-bar.js +3 -3
  151. package/dist/components/kup-numeric-picker.js +3 -3
  152. package/dist/components/kup-object-field.js +3 -3
  153. package/dist/components/kup-pdf.js +3 -3
  154. package/dist/components/kup-photo-frame.js +4 -4
  155. package/dist/components/kup-planner-renderer.js +1 -1
  156. package/dist/components/kup-planner.js +17 -17
  157. package/dist/components/kup-probe.js +3 -3
  158. package/dist/components/kup-progress-bar.js +1 -1
  159. package/dist/components/kup-qlik.js +3 -3
  160. package/dist/components/kup-radio.js +1 -1
  161. package/dist/components/kup-rating.js +1 -1
  162. package/dist/components/kup-snackbar.js +3 -3
  163. package/dist/components/kup-spinner.js +1 -1
  164. package/dist/components/kup-standard-tooltip.js +1 -1
  165. package/dist/components/kup-switch.js +1 -1
  166. package/dist/components/kup-switcher.js +1 -1
  167. package/dist/components/kup-tab-bar.js +1 -1
  168. package/dist/components/kup-task-gantt.js +1 -1
  169. package/dist/components/kup-task-list-header.js +1 -1
  170. package/dist/components/kup-task-list-table.js +1 -1
  171. package/dist/components/kup-task-list.js +1 -1
  172. package/dist/components/kup-text-field.js +1 -1
  173. package/dist/components/kup-time-picker.js +1 -1
  174. package/dist/components/kup-toolbar.js +1 -1
  175. package/dist/components/kup-tooltip.js +1 -1
  176. package/dist/components/kup-tree.js +1 -1
  177. package/dist/components/kup-txt.js +3 -3
  178. package/dist/components/kup-typography-list.js +3 -3
  179. package/dist/components/kup-typography.js +3 -3
  180. package/dist/components/kup-vertical-scroll.js +1 -1
  181. package/dist/components/{p-f95300f6.js → p-22b40453.js} +2 -2
  182. package/dist/components/{p-f81a6df1.js → p-248b85c1.js} +2 -2
  183. package/dist/components/{p-cfc8a8fb.js → p-3466bd5a.js} +1 -1
  184. package/dist/components/{p-2d57f1db.js → p-3bc624c9.js} +1 -1
  185. package/dist/components/{p-5a065bf1.js → p-3bf643ae.js} +2 -2
  186. package/dist/components/{p-f3a59611.js → p-5c82ed77.js} +3 -3
  187. package/dist/components/{p-4bab013a.js → p-5ee0b3dc.js} +326 -327
  188. package/dist/components/{p-911cd91d.js → p-776a38a0.js} +15 -15
  189. package/dist/components/{p-73449cb1.js → p-79c12fc7.js} +2 -2
  190. package/dist/components/{p-d80bbcb0.js → p-8138bfb7.js} +2 -1
  191. package/dist/components/{p-56c8142a.js → p-822c3930.js} +1 -1
  192. package/dist/components/{p-0d856495.js → p-ae5af2ad.js} +13 -13
  193. package/dist/components/{p-d0735e25.js → p-af3fcbd9.js} +3 -3
  194. package/dist/components/{p-3e08d788.js → p-b31cf6a0.js} +3 -3
  195. package/dist/components/{p-61b8d8fd.js → p-babf447c.js} +2 -2
  196. package/dist/components/{p-dc697572.js → p-be17920c.js} +2 -2
  197. package/dist/components/{p-e275fc9f.js → p-c97810e2.js} +1 -1
  198. package/dist/components/{p-ff1894fe.js → p-d8b0f5eb.js} +5 -5
  199. package/dist/components/{p-a2ed336a.js → p-f7c2ca1d.js} +4 -4
  200. package/dist/components/{p-1f1d9b1f.js → p-ff8bdafd.js} +7 -7
  201. package/dist/esm/{f-cell-31585bb7.js → f-cell-b6871cf3.js} +16 -16
  202. package/dist/esm/{f-chip-e31d0dfb.js → f-chip-ba9a3748.js} +1 -1
  203. package/dist/esm/{f-object-field-fa795c94.js → f-object-field-e76b1e59.js} +2 -2
  204. package/dist/esm/{f-paginator-utils-d34dca74.js → f-paginator-utils-54e4b908.js} +1 -1
  205. package/dist/esm/{f-text-field-e73d7967.js → f-text-field-48beba2c.js} +3 -2
  206. package/dist/esm/index.js +1 -1
  207. package/dist/esm/ketchup.js +1 -1
  208. package/dist/esm/kup-accordion.entry.js +2 -2
  209. package/dist/esm/kup-activity-timeline.entry.js +3 -3
  210. package/dist/esm/kup-autocomplete_28.entry.js +242 -245
  211. package/dist/esm/kup-box.entry.js +7 -7
  212. package/dist/esm/kup-calendar.entry.js +4 -4
  213. package/dist/esm/kup-card-list.entry.js +2 -2
  214. package/dist/esm/kup-cell.entry.js +7 -7
  215. package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
  216. package/dist/esm/kup-dashboard.entry.js +3 -3
  217. package/dist/esm/{kup-data-table-helper-771bc5c8.js → kup-data-table-helper-c2ac5163.js} +1 -1
  218. package/dist/esm/kup-drawer.entry.js +3 -3
  219. package/dist/esm/kup-echart.entry.js +2 -2
  220. package/dist/esm/kup-editor.entry.js +2 -2
  221. package/dist/esm/kup-family-tree.entry.js +3 -3
  222. package/dist/esm/kup-gantt_10.entry.js +23 -23
  223. package/dist/esm/kup-grid.entry.js +1 -1
  224. package/dist/esm/kup-htm.entry.js +2 -2
  225. package/dist/esm/kup-iframe.entry.js +1 -1
  226. package/dist/esm/kup-image-list.entry.js +8 -8
  227. package/dist/esm/kup-input-panel.entry.js +43 -198
  228. package/dist/esm/kup-lazy.entry.js +12 -12
  229. package/dist/esm/kup-magic-box.entry.js +4 -4
  230. package/dist/esm/{kup-manager-828bdc1c.js → kup-manager-02d449a3.js} +3 -2
  231. package/dist/esm/kup-nav-bar.entry.js +2 -2
  232. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  233. package/dist/esm/kup-object-field.entry.js +4 -4
  234. package/dist/esm/kup-pdf.entry.js +2 -2
  235. package/dist/esm/kup-photo-frame.entry.js +3 -3
  236. package/dist/esm/kup-planner-renderer.entry.js +2 -2
  237. package/dist/esm/kup-planner.entry.js +3 -3
  238. package/dist/esm/kup-probe.entry.js +2 -2
  239. package/dist/esm/kup-qlik.entry.js +2 -2
  240. package/dist/esm/kup-snackbar.entry.js +2 -2
  241. package/dist/esm/kup-txt.entry.js +2 -2
  242. package/dist/esm/kup-typography-list.entry.js +2 -2
  243. package/dist/esm/kup-typography.entry.js +2 -2
  244. package/dist/esm/loader.js +1 -1
  245. package/dist/ketchup/index.esm.js +1 -1
  246. package/dist/ketchup/ketchup.esm.js +1 -1
  247. package/dist/ketchup/{p-e1048932.entry.js → p-004e0b2c.entry.js} +1 -1
  248. package/dist/ketchup/{p-14706a7c.entry.js → p-06670b74.entry.js} +2 -2
  249. package/dist/ketchup/{p-73827465.entry.js → p-0ee306a5.entry.js} +1 -1
  250. package/dist/ketchup/p-16a65a92.js +1 -0
  251. package/dist/ketchup/p-2ca239c5.js +1 -0
  252. package/dist/ketchup/{p-ed017acb.entry.js → p-32beb39d.entry.js} +1 -1
  253. package/dist/ketchup/{p-19afdc14.entry.js → p-383f0f64.entry.js} +1 -1
  254. package/dist/ketchup/{p-23b38d86.entry.js → p-43bdc189.entry.js} +1 -1
  255. package/dist/ketchup/{p-883c6a82.entry.js → p-4c23dfc6.entry.js} +1 -1
  256. package/dist/ketchup/{p-e369dacb.entry.js → p-4ce1c468.entry.js} +1 -1
  257. package/dist/ketchup/{p-cd75fa31.entry.js → p-597facc7.entry.js} +1 -1
  258. package/dist/ketchup/{p-b53e417a.entry.js → p-5fbe73fa.entry.js} +1 -1
  259. package/dist/ketchup/{p-05ab6230.entry.js → p-63ac7b9d.entry.js} +1 -1
  260. package/dist/ketchup/{p-c7464ad2.entry.js → p-6a6887c2.entry.js} +1 -1
  261. package/dist/ketchup/{p-9d94d189.entry.js → p-6aef8eca.entry.js} +1 -1
  262. package/dist/ketchup/{p-018021f3.entry.js → p-72148698.entry.js} +2 -2
  263. package/dist/ketchup/{p-739564c1.entry.js → p-75ed372c.entry.js} +2 -2
  264. package/dist/ketchup/p-76d0aeb9.entry.js +9 -0
  265. package/dist/ketchup/{p-c01717af.entry.js → p-808a7ffa.entry.js} +1 -1
  266. package/dist/ketchup/{p-8315558f.entry.js → p-85512014.entry.js} +1 -1
  267. package/dist/ketchup/{p-54906238.js → p-927aa746.js} +2 -2
  268. package/dist/ketchup/{p-5d4bfad2.js → p-9a33082b.js} +1 -1
  269. package/dist/ketchup/{p-dd2c41ac.entry.js → p-9cdfce9d.entry.js} +1 -1
  270. package/dist/ketchup/{p-be59b96c.entry.js → p-a4ac2d83.entry.js} +2 -2
  271. package/dist/ketchup/{p-c1950e47.entry.js → p-a9738796.entry.js} +1 -1
  272. package/dist/ketchup/{p-e472b1ac.entry.js → p-bdf12dc3.entry.js} +1 -1
  273. package/dist/ketchup/{p-cffd22c7.entry.js → p-c10caeed.entry.js} +1 -1
  274. package/dist/ketchup/{p-bdf8da46.entry.js → p-c9924da3.entry.js} +1 -1
  275. package/dist/ketchup/{p-6ee26164.js → p-ce299c02.js} +1 -1
  276. package/dist/ketchup/{p-d20fbba2.entry.js → p-ce37247c.entry.js} +1 -1
  277. package/dist/ketchup/p-ce908d23.entry.js +1 -0
  278. package/dist/ketchup/p-d52a97d6.entry.js +1 -0
  279. package/dist/ketchup/{p-6a552af4.entry.js → p-d75f7618.entry.js} +1 -1
  280. package/dist/ketchup/{p-5a24ec5b.entry.js → p-d9bd93d2.entry.js} +1 -1
  281. package/dist/ketchup/{p-7d639720.entry.js → p-dd567e1d.entry.js} +1 -1
  282. package/dist/ketchup/{p-31c2ce09.entry.js → p-e5b796d2.entry.js} +1 -1
  283. package/dist/ketchup/p-ed3253c1.js +1 -0
  284. package/dist/ketchup/{p-d15d479c.js → p-ed3ff1ae.js} +1 -1
  285. package/dist/ketchup/{p-b1012dc7.entry.js → p-f252ef4f.entry.js} +1 -1
  286. package/dist/ketchup/{p-9474bc4f.entry.js → p-f81d80a7.entry.js} +1 -1
  287. package/dist/ketchup/{p-ebf37ad3.entry.js → p-f81e7e01.entry.js} +1 -1
  288. package/dist/types/components/kup-combobox/kup-combobox.d.ts +1 -1
  289. package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -1
  290. package/dist/types/components/kup-list/kup-list.d.ts +8 -0
  291. package/dist/types/components.d.ts +20 -4
  292. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
  293. package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
  294. package/package.json +1 -1
  295. package/dist/ketchup/p-13b22d3c.js +0 -1
  296. package/dist/ketchup/p-43783080.js +0 -1
  297. package/dist/ketchup/p-54d790eb.entry.js +0 -1
  298. package/dist/ketchup/p-5d26e46f.js +0 -1
  299. package/dist/ketchup/p-8e89db49.entry.js +0 -1
  300. package/dist/ketchup/p-f87e97e4.entry.js +0 -9
@@ -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_eventNames, _KupInputPanel_eventBlurNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _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_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_checkOnBlurProp, _KupInputPanel_checkOnBlurEvent, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_getEventDetails, _KupInputPanel_contextMenuHandler, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
29
+ var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _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_onBlurHandler, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_getEventDetails, _KupInputPanel_contextMenuHandler, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
30
30
  import { Host, forceUpdate, h, } 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";
@@ -73,15 +73,6 @@ export class KupInputPanel {
73
73
  [FCellTypes.COMBOBOX, ['kup-combobox-iconclick', 'kup-combobox-blur']],
74
74
  [FCellTypes.MULTI_COMBOBOX, ['kup-combobox-iconclick']],
75
75
  ]));
76
- _KupInputPanel_eventBlurNames.set(this, new Map([
77
- [FCellShapes.AUTOCOMPLETE, 'kup-autocomplete-blur'],
78
- [FCellShapes.CHIP, 'kup-textfield-blur'],
79
- [FCellShapes.COMBOBOX, 'kup-combobox-blur'],
80
- [FCellShapes.DATE, 'kup-datepicker-blur'],
81
- [FCellShapes.MULTI_AUTOCOMPLETE, 'kup-autocomplete-blur'],
82
- [FCellShapes.MULTI_COMBOBOX, 'kup-combobox-blur'],
83
- [FCellShapes.TIME, 'kup-timepicker-blur'],
84
- ]));
85
76
  _KupInputPanel_listeners.set(this, []);
86
77
  _KupInputPanel_cellTypeComponents.set(this, new Map([
87
78
  [FCellTypes.DATE, 'kup-date-picker'],
@@ -199,7 +190,9 @@ export class KupInputPanel {
199
190
  h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
200
191
  ]
201
192
  : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
202
- return (h(Host, { key: '6e21e639b2d2f9e1f5338319cc965c4d588c5fbe' }, h("style", { key: '435b0e0cbebad1f25b642ffc327168afe3855250' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '4cf09729bf357a5f91363c23e24dad8f414973cd', id: componentWrapperId }, inputPanelContent)));
193
+ return (h(Host, { key: '1316f47cce917e05cfb94bd3e68c8f1ad14a85de', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
194
+ this.tabSelected = e.detail.node.id;
195
+ }, "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": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this) }, h("style", { key: 'f8d4834ceed60a77270667e9229090faf36c06fe' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'ca1a00d028a0a8ef030d41c2452fbb229a041c32', id: componentWrapperId }, inputPanelContent)));
203
196
  }
204
197
  disconnectedCallback() {
205
198
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
@@ -675,7 +668,7 @@ export class KupInputPanel {
675
668
  }];
676
669
  }
677
670
  }
678
- _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_eventBlurNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
671
+ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
679
672
  return this.inputPanelCells.reduce((cell, { cells }) => {
680
673
  if (!cell) {
681
674
  return cells.find(({ column }) => column.name === id).cell;
@@ -934,17 +927,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
934
927
  });
935
928
  });
936
929
  const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
937
- if (!__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map((l) => l.event).includes('kup-tabbar-click')) {
938
- const event = 'kup-tabbar-click';
939
- const handler = (e) => {
940
- this.tabSelected = e.detail.node.id;
941
- };
942
- this.rootElement.addEventListener(event, handler);
943
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
944
- event,
945
- handler,
946
- });
947
- }
948
930
  return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
949
931
  }, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
950
932
  const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
@@ -1163,16 +1145,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1163
1145
  }
1164
1146
  if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
1165
1147
  cellType === FCellTypes.MULTI_COMBOBOX) {
1166
- return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null, cell, col.name)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.editable, id: col.name });
1148
+ return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.editable, id: col.name });
1167
1149
  }
1168
1150
  return null;
1169
- }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell, id) {
1170
- var _a, _b;
1171
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1172
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1173
- cell.mandatory) {
1174
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1175
- }
1151
+ }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue) {
1176
1152
  return CHIAdapter(currentValue);
1177
1153
  }, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
1178
1154
  //TODO: definire mapping
@@ -1198,47 +1174,20 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1198
1174
  __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
1199
1175
  }
1200
1176
  return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
1201
- }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell, id) {
1202
- var _a, _b;
1177
+ }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
1203
1178
  const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
1204
- if (cell.fun) {
1205
- const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
1206
- const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
1207
- if (!evNames) {
1208
- return;
1209
- }
1210
- evNames.map((evName) => {
1211
- const handler = (e) => {
1212
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
1213
- };
1214
- this.rootElement.addEventListener(evName, handler);
1215
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
1216
- event: evName,
1217
- handler,
1218
- });
1219
- });
1220
- }
1221
- else if (rawOptions) {
1179
+ if (rawOptions) {
1222
1180
  configCMandACP.data['kup-list'].data =
1223
1181
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
1224
1182
  }
1225
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1226
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1227
- cell.mandatory) {
1228
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1229
- }
1230
1183
  return configCMandACP;
1231
- }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue, cell, id) {
1232
- var _a, _b;
1233
- let data = CHKAdapter(currentValue, fieldLabel);
1234
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1235
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1236
- cell.mandatory) {
1237
- return Object.assign(Object.assign({}, data), { onBlur: () => {
1238
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1239
- } });
1184
+ }, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }) {
1185
+ const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
1186
+ if (cell.fun) {
1187
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
1240
1188
  }
1241
- return data;
1189
+ }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
1190
+ return CHKAdapter(currentValue, fieldLabel);
1242
1191
  }, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
1243
1192
  return {
1244
1193
  data: {
@@ -1252,7 +1201,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1252
1201
  initialValue: currentValue,
1253
1202
  };
1254
1203
  }, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
1255
- var _a, _b, _c;
1204
+ var _a;
1256
1205
  const data = Object.assign({ label: fieldLabel }, cell.data);
1257
1206
  if (this.autoSkip &&
1258
1207
  (cell.isEditable || cell.editable) &&
@@ -1261,34 +1210,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1261
1210
  __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setAutoSkip).call(this, id, event);
1262
1211
  };
1263
1212
  }
1264
- if (((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkObject) ||
1265
- ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) ||
1266
- cell.mandatory) {
1267
- data.onBlur = () => {
1268
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1269
- };
1270
- }
1271
- return data;
1272
- }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
1273
- var _a, _b;
1274
- let data = RADAdapter(currentValue, options);
1275
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1276
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1277
- cell.mandatory) {
1278
- return Object.assign(Object.assign({}, data), { onBlur: () => {
1279
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1280
- } });
1281
- }
1282
1213
  return data;
1214
+ }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
1215
+ return RADAdapter(currentValue, options);
1283
1216
  }, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
1284
1217
  return SWTAdapter(currentValue, fieldLabel);
1285
- }, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue, cell, id) {
1286
- var _a, _b;
1287
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1288
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1289
- cell.mandatory) {
1290
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1291
- }
1218
+ }, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
1292
1219
  return {
1293
1220
  data: {
1294
1221
  'kup-text-field': {
@@ -1297,32 +1224,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1297
1224
  },
1298
1225
  initialValue: currentValue !== null && currentValue !== void 0 ? currentValue : '',
1299
1226
  };
1300
- }, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue, cell, id) {
1301
- var _a, _b;
1302
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1303
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1304
- cell.mandatory) {
1305
- return {
1306
- initialValue: currentValue || '',
1307
- label: fieldLabel || ' ',
1308
- value: currentValue || '',
1309
- onBlur: () => {
1310
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1311
- },
1312
- };
1313
- }
1227
+ }, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue) {
1314
1228
  return {
1315
1229
  initialValue: currentValue || '',
1316
1230
  label: fieldLabel || ' ',
1317
1231
  value: currentValue || '',
1318
1232
  };
1319
- }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue, cell, id) {
1320
- var _a, _b;
1321
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1322
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1323
- cell.mandatory) {
1324
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
1325
- }
1233
+ }, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
1326
1234
  return {
1327
1235
  data: {
1328
1236
  'kup-text-field': {
@@ -1331,18 +1239,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1331
1239
  },
1332
1240
  initialValue: currentValue,
1333
1241
  };
1334
- }, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue, cell, id) {
1335
- var _a, _b;
1336
- if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
1337
- ((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
1338
- cell.mandatory) {
1339
- return {
1340
- label: fieldLabel,
1341
- onBlur: () => {
1342
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
1343
- },
1344
- };
1345
- }
1242
+ }, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue) {
1346
1243
  return { label: fieldLabel };
1347
1244
  }, _KupInputPanel_DataTableAdapter = function _KupInputPanel_DataTableAdapter(_rawOptions, _fieldLabel, _value, cell, id) {
1348
1245
  try {
@@ -1448,44 +1345,42 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1448
1345
  }
1449
1346
  const buttonCell = Object.assign(Object.assign({}, cell), { data: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter).call(this, null, null, cell.value, cell, cell.obj.k), id: cell.obj.k });
1450
1347
  return buttonCell;
1451
- }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, fun, data, id, currentValue) {
1452
- if (detail.id !== id ||
1453
- detail.open === false) {
1454
- return;
1455
- }
1456
- this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1348
+ }, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
1349
+ this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
1457
1350
  var _a;
1458
- data.data['kup-list'].data =
1459
- (_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, currentValue)) !== null && _a !== void 0 ? _a : [];
1351
+ cell.data.data['kup-list'].data =
1352
+ (_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, cell.value)) !== null && _a !== void 0 ? _a : [];
1460
1353
  detail.comp.refresh();
1461
1354
  });
1462
- }, _KupInputPanel_checkOnBlurProp = async function _KupInputPanel_checkOnBlurProp(cell, id) {
1355
+ }, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
1463
1356
  var _a, _b, _c, _d, _e;
1464
- const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
1357
+ const { detail: { column, cell }, } = e;
1358
+ const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
1359
+ const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
1465
1360
  // Required cell check
1466
1361
  if (cell.mandatory) {
1467
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
1468
- ? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1362
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, currCell.value
1363
+ ? ((_a = originalCell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1469
1364
  : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
1470
- if (!currCell.value) {
1365
+ if (!cell.value) {
1471
1366
  return;
1472
1367
  }
1473
1368
  }
1474
1369
  else {
1475
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1370
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_b = originalCell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1476
1371
  }
1477
1372
  // Valid object check
1478
- if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && currCell.value) {
1373
+ if ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) {
1479
1374
  const { valid } = await this.checkValidObjCallback({
1480
1375
  obj: cell.obj,
1481
1376
  currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1482
1377
  fun: cell.fun,
1483
1378
  });
1484
1379
  if (valid) {
1485
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
1380
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_d = originalCell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
1486
1381
  }
1487
1382
  else {
1488
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
1383
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
1489
1384
  return;
1490
1385
  }
1491
1386
  }
@@ -1493,58 +1388,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
1493
1388
  this.checkValidValueCallback({
1494
1389
  before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
1495
1390
  after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1496
- }, id);
1391
+ }, column.name);
1497
1392
  }
1498
- }, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
1499
- const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
1500
- if (!evName) {
1501
- return;
1502
- }
1503
- const handler = async (e) => {
1504
- var _a, _b, _c, _d, _e;
1505
- const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
1506
- if (e.detail.id !== id) {
1507
- return;
1508
- }
1509
- // Required cell check
1510
- if (cell.mandatory) {
1511
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
1512
- ? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
1513
- : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
1514
- if (!e.detail.value) {
1515
- return;
1516
- }
1517
- }
1518
- else {
1519
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
1520
- }
1521
- // Valid object check
1522
- if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && e.detail.value) {
1523
- const { valid } = await this.checkValidObjCallback({
1524
- obj: cell.obj,
1525
- currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1526
- fun: cell.fun,
1527
- });
1528
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
1529
- ? ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null
1530
- : __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
1531
- if (!valid) {
1532
- return;
1533
- }
1534
- }
1535
- if (((_e = cell.inputSettings) === null || _e === void 0 ? void 0 : _e.checkValueOnExit) &&
1536
- __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_areValuesUpdated).call(this)) {
1537
- this.checkValidValueCallback({
1538
- before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
1539
- after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
1540
- }, id);
1541
- }
1542
- };
1543
- this.rootElement.addEventListener(evName, handler);
1544
- __classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
1545
- event: evName,
1546
- handler,
1547
- });
1548
1393
  }, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
1549
1394
  this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
1550
1395
  const data = column.name === id
@@ -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: '220fa65d9836c520dfed8e3dae2700c6b2b0cb9a', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '1d1e33f3ed89c32e6ee9ad2b1996fb65037cc3f2', 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: '665704637b3354494ef01a225fd4d37a0188c34f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '6a0391862537ed0250af6780a7c0fef06130b831', 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: 'd799cc013987de74e23c34201ecd2186c57b13f1', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'de98ef94a3f714e45e56a02877d4a139a8804424', 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: 'a91f941eaf227d71122f52ef990999697e5140d2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '9b757b8dae5fbb1d30ba262087274d6ed177b713', 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: '26ad78503d5c00f5b902b2bddb782a14f1a13b73', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '03ae544d551c47e0dce8f8fbaa92b1a2a1024c55', 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: 'dd4f4172b01ef1784c3a4947940e11f6cacbe746', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '4a65af5a391cfaf3d1e82c229db9a361b493cf49', 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: 'cc70b61653552ff28e1b6eda65ca7bec5bbbe7d2', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'f63b011d43b7c6649e1392de9426b325259e9f38', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
123
+ resource = (h("svg", { key: '593f6aa43a513b12ea0b49f7feb6680e2931c36c', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '0a24ba272bc6830f9bf356585d4a16d769b37b52', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
124
124
  break;
125
125
  case 'kup-data-table':
126
126
  //table-large.svg
127
- resource = (h("svg", { key: '3c6218a9e78c22aa2cfdd787a77fd7575409b926', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '28aaf9eb0e27fd2ad901866bd1f93ff181eba283', 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: 'fccd6198bf2c7d9b67fd9df526483f8f9dafee21', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '976cebc69cdc6153f4f91e935e48c18d5d345544', 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: '695002a63b98d0c090f350df167e2dec9b85c8f6', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '160f2450a206b3da182ef9514e41d0e9cfebd7dd', 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: '17b1e569dabdfb945ea6880e770ae52566c14964', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '8208a3be977f5294e724adc8e0c168f3e0447940', 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: 'e7f09d307522f61e8448975f881fb435f0c585bd', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '2ad28af4bed1da877edb16db6acdc392bfbfb47b', 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: 'd75588e7fdd9dd67ca01598159316c0a480ff7b2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'b6cb40a0509a7da7a0d764cb11b8170a4b083932', 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: 'c60a5e10b12c2945bdc8d0558d1fb9c46cb4ca90', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'f016960b177263ba06c3b63c4761fef4a06a4fd3', 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: '1b18bc766908f4da555824535f7dbdc93779bb60', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '0feac444636e26df8fded6a7e566252087e60e86', 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: 'f221046bcd689deebeb597f557d547292518a34a', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '8cd9ec1705efd526543348dcfe793c0705399482', 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: '455a2d22a5d9d50f071e8facd31b50b7bd3f5d92', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'fefd08ea2bbd6eaa7e4ee0fefe2b25afa81165cf', 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: 'b856e5475a8fc048cf96c0ee534f17fa2ad261fe' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
152
+ content = (h(Tag, Object.assign({ key: 'd1d563697c56db2c3fdcf3252aae2a2966b06858' }, 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: 'de01035df24b5d3811ca54bb3840bf232287103d', class: className }, h("style", { key: 'db6f4fe85ed90c8a17b598a4805eff35fbfc11af' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '00c41dbaa1579061edf0b9472b19e6c5c8f24eb9', id: componentWrapperId }, content)));
159
+ return (h(Host, { key: '4a055d835d8e6d3fb06bd4870fe5b13c2e4e922e', class: className }, h("style", { key: '5a8b37cd487d2db656dc8614469ba37c11809343' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '21ace7612895c14f8d63303fc171f04a66016427', id: componentWrapperId }, content)));
160
160
  }
161
161
  disconnectedCallback() {
162
162
  var _a;
@@ -198,6 +198,11 @@
198
198
  outline: none;
199
199
  }
200
200
 
201
+ .scroll-list {
202
+ overflow-y: auto;
203
+ max-height: var(--kup_list_max_height_as_menu);
204
+ }
205
+
201
206
  .list {
202
207
  background: var(--kup_list_background_color);
203
208
  color: var(--kup_list_text_color);
@@ -336,7 +341,6 @@
336
341
  color: var(--kup-text-color);
337
342
  display: none;
338
343
  max-height: var(--kup_list_max_height_as_menu);
339
- overflow: auto;
340
344
  position: relative;
341
345
  transform: none;
342
346
  transform-origin: unset;
@@ -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 _KupList_instances, _KupList_kupManager, _KupList_radios, _KupList_listItems, _KupList_handleSelection, _KupList_isNested, _KupList_renderListItem, _KupList_getIconTag, _KupList_isMultiSelection, _KupList_isCheckBoxRule, _KupList_isRadioButtonRule, _KupList_isListBoxRule, _KupList_checkRoleType, _KupList_itemCompliant;
17
+ var _KupList_instances, _KupList_kupManager, _KupList_globalFilterTimeout, _KupList_radios, _KupList_listItems, _KupList_handleSelection, _KupList_isNested, _KupList_renderListItem, _KupList_getIconTag, _KupList_isMultiSelection, _KupList_isCheckBoxRule, _KupList_isRadioButtonRule, _KupList_isListBoxRule, _KupList_checkRoleType, _KupList_itemCompliant, _KupList_createFilterComponent;
18
18
  import { forceUpdate, h, Host, } from "@stencil/core";
19
19
  import { KupListProps, KupListRole, } from "./kup-list-declarations";
20
20
  import { ItemsDisplayMode } from "./kup-list-declarations";
@@ -23,6 +23,8 @@ import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
23
23
  import { FImage } from "../../f-components/f-image/f-image";
24
24
  import { getProps, setProps } from "../../utils/utils";
25
25
  import { FCheckbox } from "../../f-components/f-checkbox/f-checkbox";
26
+ import { KupLanguageSearch } from "../../managers/kup-language/kup-language-declarations";
27
+ import { KupThemeIconValues } from "../../managers/kup-theme/kup-theme-declarations";
26
28
  export class KupList {
27
29
  constructor() {
28
30
  _KupList_instances.add(this);
@@ -33,6 +35,7 @@ export class KupList {
33
35
  * Instance of the KupManager class.
34
36
  */
35
37
  _KupList_kupManager.set(this, kupManagerInstance());
38
+ _KupList_globalFilterTimeout.set(this, void 0);
36
39
  _KupList_radios.set(this, []);
37
40
  _KupList_listItems.set(this, []);
38
41
  this.focused = null;
@@ -40,6 +43,7 @@ export class KupList {
40
43
  this.customStyle = '';
41
44
  this.data = [];
42
45
  this.displayMode = ItemsDisplayMode.DESCRIPTION;
46
+ this.showFilter = false;
43
47
  this.filter = '';
44
48
  this.hideText = false;
45
49
  this.isMenu = false;
@@ -182,6 +186,13 @@ export class KupList {
182
186
  async setProps(props) {
183
187
  setProps(this, KupListProps, props);
184
188
  }
189
+ onFilterValueChange({ detail }) {
190
+ let value = '';
191
+ if (detail && detail.value) {
192
+ value = detail.value;
193
+ }
194
+ this.filter = value;
195
+ }
185
196
  /*-------------------------------------------------*/
186
197
  /* L i f e c y c l e H o o k s */
187
198
  /*-------------------------------------------------*/
@@ -216,6 +227,8 @@ export class KupList {
216
227
  __classPrivateFieldSet(this, _KupList_listItems, [], "f");
217
228
  let componentClass = 'list';
218
229
  let wrapperClass = undefined;
230
+ let filterClass = 'filter';
231
+ let listScrollClass = 'scroll-list';
219
232
  if (this.isMenu) {
220
233
  wrapperClass = 'kup-menu';
221
234
  if (this.menuVisible) {
@@ -242,9 +255,9 @@ export class KupList {
242
255
  }
243
256
  __classPrivateFieldSet(this, _KupList_radios, [], "f");
244
257
  let index = 0;
245
- return (h(Host, { key: '08701617c26a28e330d8db4d579cda4b99f53fa4' }, h("style", { key: '12f6c1797eb686c114114eb5dce532979f6226cb' }, __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '3bae7c17b51cf2c03835ae90661f46209bcf251b', id: "kup-component", class: wrapperClass }, h("ul", { key: '99232d1e8c3a5eb2a4c3d4ca6f080ebb5e468b95', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
258
+ return (h(Host, { key: 'e8cdd2092681385e1066487b2b62ee82bceab891' }, h("style", { key: '336d64d0725b9eac37163b89464384ffe0b5a1f2' }, __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '62e457fb4a4af1eadae76893c8cc247140b2fbaa', id: "kup-component", class: wrapperClass }, this.showFilter ? (h("div", { class: filterClass }, __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, h("div", { key: 'd256a7e0e34dd704d03a19d361e308fe9542540f', class: listScrollClass }, h("ul", { key: '040ad58ac8867cb5a5ae50dbf687d019a497b153', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
246
259
  .filter((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
247
- .map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++))))));
260
+ .map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++)))))));
248
261
  }
249
262
  disconnectedCallback() {
250
263
  __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.unregister(this);
@@ -339,6 +352,27 @@ export class KupList {
339
352
  "reflect": false,
340
353
  "defaultValue": "ItemsDisplayMode.DESCRIPTION"
341
354
  },
355
+ "showFilter": {
356
+ "type": "boolean",
357
+ "mutable": false,
358
+ "complexType": {
359
+ "original": "boolean",
360
+ "resolved": "boolean",
361
+ "references": {}
362
+ },
363
+ "required": false,
364
+ "optional": false,
365
+ "docs": {
366
+ "tags": [{
367
+ "name": "default",
368
+ "text": "false"
369
+ }],
370
+ "text": "Show filter for filter elements in list"
371
+ },
372
+ "attribute": "show-filter",
373
+ "reflect": false,
374
+ "defaultValue": "false"
375
+ },
342
376
  "filter": {
343
377
  "type": "string",
344
378
  "mutable": true,
@@ -794,7 +828,7 @@ export class KupList {
794
828
  }];
795
829
  }
796
830
  }
797
- _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_listItems = new WeakMap(), _KupList_instances = new WeakSet(), _KupList_handleSelection = function _KupList_handleSelection(index) {
831
+ _KupList_kupManager = new WeakMap(), _KupList_globalFilterTimeout = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_listItems = new WeakMap(), _KupList_instances = new WeakSet(), _KupList_handleSelection = function _KupList_handleSelection(index) {
798
832
  if (index !== null && index !== undefined && !isNaN(index)) {
799
833
  const listItems = this.rootElement.shadowRoot.querySelectorAll('.list-item');
800
834
  const id = listItems[index].dataset.id;
@@ -958,4 +992,9 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
958
992
  }
959
993
  return (item.id.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0 ||
960
994
  item.value.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0);
995
+ }, _KupList_createFilterComponent = function _KupList_createFilterComponent() {
996
+ return (h("div", { id: "global-filter", class: "filter" }, h("kup-text-field", { fullWidth: true, label: __classPrivateFieldGet(this, _KupList_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.filter, "onkup-textfield-input": (event) => {
997
+ window.clearTimeout(this.filter);
998
+ __classPrivateFieldSet(this, _KupList_globalFilterTimeout, window.setTimeout(() => this.onFilterValueChange(event), 600), "f");
999
+ } })));
961
1000
  };
@@ -263,11 +263,11 @@ export class KupMagicBox {
263
263
  this.kupManager.debug.logRender(this, true);
264
264
  }
265
265
  render() {
266
- return (h(Host, { key: '8f04a5029dad9d7d8f3673124a6fb954880719d5' }, h("style", { key: 'af43ffc44c345efb6982aecac7ffeb7469a1e1ab' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '4da32884b8cfaee501fe98de3ad61dbfd40644f1', id: componentWrapperId }, h("div", { key: '3ae6ee9f2ee07d1ace113fe223bf45fe907eb1d2', class: "magic-box-wrapper" }, h("div", { key: '7331459e7beeecbad1f94907c5dfc37e6fd77221', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: 'cf49975df5a5aa923c031c64ecee9a81ae4ad0bc' }, this.comboboxProps())), h("kup-button", { key: '9268ce09ec663aa4e00a82ba0fadef493422d12f', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
266
+ return (h(Host, { key: 'cc7eb83eaccd2507c886ec16bc37d2fa567ac52e' }, h("style", { key: '809d326e5dcbf28e7aadc8901b0b4958442de680' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1f05d7964adaebc3e44123e766f54b913b6427a4', id: componentWrapperId }, h("div", { key: '08e3fe041eca609baf1bffc35d19711a54557b92', class: "magic-box-wrapper" }, h("div", { key: 'a66c16ca2910391f07eeca825443cd13d1a9eaef', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '8751f6abdbb318c30470954b6b59a5ee331b3ab9' }, this.comboboxProps())), h("kup-button", { key: 'aaae57d304a47b6371f87e7be3ec6e52d6dac92f', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
267
267
  this.data = null;
268
- } }), h("kup-button", { key: '3724463433b93aa9ae13ae19d67be8fc39c702f6', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
268
+ } }), h("kup-button", { key: '295644dff6eff6d80df769fd54d5e0db43de8473', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
269
269
  this.kupManager.hideMagicBox();
270
- } })), h("div", { key: '448858d039c7cd0ea8e756d9ad66af2b3baf5c52', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
270
+ } })), h("div", { key: '3aedf43217a1a013c78170af418adbde5994e0cc', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
271
271
  }
272
272
  disconnectedCallback() {
273
273
  this.kupManager.interact.unregister([
@@ -98,7 +98,7 @@ export class KupNavBar {
98
98
  this.kupManager.debug.logRender(this, true);
99
99
  }
100
100
  render() {
101
- return (h(Host, { key: '0f66ceb53da3d4bdc00787c80ef4764a79d76af8', class: "header" }, h("style", { key: '6435752fbe5f0ae68649ea4c43fee53afeb2dbca' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '607495825d0febc2dd41dcfecf0ecc78924e4679', id: componentWrapperId }, h("header", { key: '21667d9c45e86eab6c011247e1717b757d92dfd4', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: 'da92e4ddd4ff70b4fa9632233b0345d4843bee60', class: `${navbarClass}__row` }, this.content())))));
101
+ return (h(Host, { key: '2a384dc4de4b550cfaaf9490579dc4ffdb469076', class: "header" }, h("style", { key: 'b91849a849d6e9509b9456f1a90be1042f7d9499' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e1182a3b34dd471a8dd73a90119af6a408f2604e', id: componentWrapperId }, h("header", { key: '13a6491135dab2490042558ae00bfe23a55b5ed8', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: '2b8cae0eaf58a12769ce158effc25fc31f7ee0c9', class: `${navbarClass}__row` }, this.content())))));
102
102
  }
103
103
  disconnectedCallback() {
104
104
  this.kupManager.language.unregister(this);
@@ -321,7 +321,7 @@ export class KupNumericPicker {
321
321
  this.kupManager.debug.logRender(this, true);
322
322
  }
323
323
  render() {
324
- return (h(Host, { key: '60d9439b1beeca08cd1f5d7722c8c44b387f0ea6' }, h("style", { key: 'a240244c3350a93cf6411582d4ca5a6b44775328' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '8a07726204a12434f2f00fbd88fcc926b9b0de18', id: componentWrapperId }, this.prepTextfield())));
324
+ return (h(Host, { key: 'de9de7129302c8b4da71cf3d7a344ac8e6a5dfaf' }, h("style", { key: 'd4b96735e89a534a50349bbd3c12d69fbf3cd32e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9ddac65757ea1d436f6e845155d8f4d4a1610183', id: componentWrapperId }, this.prepTextfield())));
325
325
  }
326
326
  disconnectedCallback() {
327
327
  this.kupManager.dates.unregister(this);