@sme.up/ketchup 11.0.0-SNAPSHOT-20250204102828 → 11.0.0-SNAPSHOT-20250204113518

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 (288) hide show
  1. package/dist/cjs/{f-cell-f0ab65b9.js → f-cell-bc053135.js} +6 -4
  2. package/dist/cjs/{f-chip-35f8c5a9.js → f-chip-a913f6db.js} +1 -1
  3. package/dist/cjs/{f-object-field-5fc4341f.js → f-object-field-eabecff2.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-0c423047.js → f-paginator-utils-de023500.js} +1 -1
  5. package/dist/cjs/{f-text-field-cb62a970.js → f-text-field-8a765845.js} +1 -1
  6. package/dist/cjs/index-e8aa3c73.js +2 -2
  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_28.cjs.entry.js → kup-autocomplete_29.cjs.entry.js} +1051 -869
  12. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  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 +12 -7
  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-675f75cd.js → kup-data-table-helper-1da4e593.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 +1 -1
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  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-image-list.cjs.entry.js +8 -8
  28. package/dist/cjs/kup-input-panel.cjs.entry.js +8 -8
  29. package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
  30. package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
  31. package/dist/cjs/{kup-manager-80148a95.js → kup-manager-3b86b8d0.js} +25 -2
  32. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  34. package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
  35. package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
  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/collection-manifest.json +1 -0
  46. package/dist/collection/components/kup-cell/kup-cell.js +27 -2
  47. package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +5 -0
  48. package/dist/collection/components/kup-file-upload/kup-file-upload.css +203 -0
  49. package/dist/collection/components/kup-file-upload/kup-file-upload.js +423 -0
  50. package/dist/collection/components/kup-form/kup-form.js +2 -2
  51. package/dist/collection/components/kup-htm/kup-htm.js +1 -1
  52. package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
  53. package/dist/collection/components/kup-input-panel/kup-input-panel.css +4 -1
  54. package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
  55. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  56. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  57. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  58. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  59. package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
  60. package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
  61. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  62. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  63. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  64. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  65. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  66. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  67. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  68. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  69. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  70. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  71. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  72. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  73. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  74. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  75. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  76. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  77. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  78. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  79. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  80. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  81. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  82. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  83. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  84. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  85. package/dist/collection/components/kup-typography/kup-typography.js +1 -1
  86. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  87. package/dist/collection/f-components/f-cell/f-cell-declarations.js +3 -0
  88. package/dist/collection/f-components/f-cell/f-cell.js +2 -0
  89. package/dist/collection/managers/kup-data/kup-data.js +2 -0
  90. package/dist/collection/managers/kup-language/kup-language-declarations.js +9 -0
  91. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +2 -0
  92. package/dist/collection/types/GenericTypes.js +1 -0
  93. package/dist/components/index.js +1 -1
  94. package/dist/components/kup-accordion.js +21 -16
  95. package/dist/components/kup-activity-timeline.js +21 -16
  96. package/dist/components/kup-autocomplete.js +1 -1
  97. package/dist/components/kup-badge.js +1 -1
  98. package/dist/components/kup-box.js +1 -1
  99. package/dist/components/kup-button-list.js +1 -1
  100. package/dist/components/kup-button.js +1 -1
  101. package/dist/components/kup-calendar.js +21 -16
  102. package/dist/components/kup-card-list.js +22 -17
  103. package/dist/components/kup-card.js +1 -1
  104. package/dist/components/kup-cell.js +28 -18
  105. package/dist/components/kup-chart.js +1 -1
  106. package/dist/components/kup-checkbox.js +1 -1
  107. package/dist/components/kup-chip.js +1 -1
  108. package/dist/components/kup-color-picker.js +1 -1
  109. package/dist/components/kup-combobox.js +1 -1
  110. package/dist/components/kup-custom-task-list-header.js +1 -1
  111. package/dist/components/kup-dashboard.js +21 -16
  112. package/dist/components/kup-data-table.js +1 -1
  113. package/dist/components/kup-date-picker.js +1 -1
  114. package/dist/components/kup-dialog.js +1 -1
  115. package/dist/components/kup-drawer.js +21 -16
  116. package/dist/components/kup-dropdown-button.js +1 -1
  117. package/dist/components/kup-echart.js +1 -1
  118. package/dist/components/kup-editor.js +1 -1
  119. package/dist/components/kup-family-tree.js +23 -18
  120. package/dist/components/kup-file-upload.d.ts +11 -0
  121. package/dist/components/kup-file-upload.js +6 -0
  122. package/dist/components/kup-form.js +1 -1
  123. package/dist/components/kup-gantt-calendar.js +1 -1
  124. package/dist/components/kup-gantt.js +1 -1
  125. package/dist/components/kup-gauge.js +1 -1
  126. package/dist/components/kup-grid-renderer.js +1 -1
  127. package/dist/components/kup-grid.js +1 -1
  128. package/dist/components/kup-horizontal-scroll.js +1 -1
  129. package/dist/components/kup-htm.js +22 -17
  130. package/dist/components/kup-iframe.js +21 -16
  131. package/dist/components/kup-image-list.js +24 -19
  132. package/dist/components/kup-image.js +1 -1
  133. package/dist/components/kup-input-panel.js +26 -21
  134. package/dist/components/kup-lazy.js +32 -27
  135. package/dist/components/kup-list.js +1 -1
  136. package/dist/components/kup-magic-box.js +28 -23
  137. package/dist/components/kup-nav-bar.js +22 -17
  138. package/dist/components/kup-numeric-picker.js +22 -17
  139. package/dist/components/kup-object-field.js +22 -17
  140. package/dist/components/kup-pdf.js +22 -17
  141. package/dist/components/kup-planner-renderer.js +1 -1
  142. package/dist/components/kup-planner.js +39 -34
  143. package/dist/components/kup-probe.js +22 -17
  144. package/dist/components/kup-progress-bar.js +1 -1
  145. package/dist/components/kup-qlik.js +22 -17
  146. package/dist/components/kup-radio.js +1 -1
  147. package/dist/components/kup-rating.js +1 -1
  148. package/dist/components/kup-snackbar.js +22 -17
  149. package/dist/components/kup-spinner.js +1 -1
  150. package/dist/components/kup-standard-tooltip.js +1 -1
  151. package/dist/components/kup-switch.js +1 -1
  152. package/dist/components/kup-switcher.js +1 -1
  153. package/dist/components/kup-tab-bar.js +1 -1
  154. package/dist/components/kup-task-gantt.js +1 -1
  155. package/dist/components/kup-task-list-header.js +1 -1
  156. package/dist/components/kup-task-list-table.js +1 -1
  157. package/dist/components/kup-task-list.js +1 -1
  158. package/dist/components/kup-text-field.js +1 -1
  159. package/dist/components/kup-time-picker.js +1 -1
  160. package/dist/components/kup-toolbar.js +1 -1
  161. package/dist/components/kup-tooltip.js +1 -1
  162. package/dist/components/kup-tree.js +1 -1
  163. package/dist/components/kup-txt.js +22 -17
  164. package/dist/components/kup-typography-list.js +22 -17
  165. package/dist/components/kup-typography.js +22 -17
  166. package/dist/components/kup-vertical-scroll.js +1 -1
  167. package/dist/components/{p-a37e6312.js → p-00fe03b5.js} +7 -7
  168. package/dist/components/{p-d9d60a18.js → p-010ce0fe.js} +13 -13
  169. package/dist/components/{p-b57801f3.js → p-22538c02.js} +15 -15
  170. package/dist/components/{p-63ddd73a.js → p-2865ea51.js} +4 -4
  171. package/dist/components/{p-f3104d30.js → p-2a9c2e70.js} +21 -16
  172. package/dist/components/{p-fb9ca494.js → p-443b5e15.js} +1 -1
  173. package/dist/components/{p-74dce0e5.js → p-6924a70f.js} +2 -2
  174. package/dist/components/{p-15078d74.js → p-724d087a.js} +1066 -579
  175. package/dist/components/{p-23d7e632.js → p-7646ccdd.js} +2 -2
  176. package/dist/components/{p-5fa3e60f.js → p-8204c90e.js} +1 -1
  177. package/dist/components/{p-3aff545d.js → p-98aafbf3.js} +26 -3
  178. package/dist/components/{p-00a46ffd.js → p-9906252c.js} +21 -16
  179. package/dist/components/{p-3bde4660.js → p-9e0b916d.js} +1 -1
  180. package/dist/components/{p-52d321c0.js → p-c13f21e5.js} +21 -16
  181. package/dist/components/{p-000af163.js → p-c528b477.js} +5 -5
  182. package/dist/components/{p-1f13e420.js → p-cb58e44a.js} +1 -1
  183. package/dist/components/{p-cd2db6f6.js → p-e4277d58.js} +3 -3
  184. package/dist/components/{p-20771aa1.js → p-ec1762ee.js} +2 -2
  185. package/dist/components/{p-d7931d3a.js → p-ec5a8257.js} +21 -16
  186. package/dist/components/{p-0d3f38e3.js → p-fd8fe6d0.js} +2 -2
  187. package/dist/esm/{f-cell-fa00b8ef.js → f-cell-2b1c1919.js} +6 -4
  188. package/dist/esm/{f-chip-05355daa.js → f-chip-b42af349.js} +1 -1
  189. package/dist/esm/{f-object-field-c9d54642.js → f-object-field-2bfc470c.js} +2 -2
  190. package/dist/esm/{f-paginator-utils-bf93d7d4.js → f-paginator-utils-541bc197.js} +1 -1
  191. package/dist/esm/{f-text-field-b75996bd.js → f-text-field-04f701fb.js} +1 -1
  192. package/dist/esm/index-c9246a86.js +2 -2
  193. package/dist/esm/index.js +1 -1
  194. package/dist/esm/ketchup.js +1 -1
  195. package/dist/esm/kup-accordion.entry.js +1 -1
  196. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  197. package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_29.entry.js} +1051 -870
  198. package/dist/esm/kup-box.entry.js +7 -7
  199. package/dist/esm/kup-calendar.entry.js +2 -2
  200. package/dist/esm/kup-card-list.entry.js +1 -1
  201. package/dist/esm/kup-cell.entry.js +12 -7
  202. package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
  203. package/dist/esm/kup-dashboard.entry.js +2 -2
  204. package/dist/esm/{kup-data-table-helper-e3846302.js → kup-data-table-helper-0dbc3495.js} +1 -1
  205. package/dist/esm/kup-drawer.entry.js +1 -1
  206. package/dist/esm/kup-echart.entry.js +1 -1
  207. package/dist/esm/kup-editor.entry.js +1 -1
  208. package/dist/esm/kup-family-tree.entry.js +1 -1
  209. package/dist/esm/kup-gantt_10.entry.js +23 -23
  210. package/dist/esm/kup-grid.entry.js +1 -1
  211. package/dist/esm/kup-htm.entry.js +2 -2
  212. package/dist/esm/kup-iframe.entry.js +1 -1
  213. package/dist/esm/kup-image-list.entry.js +8 -8
  214. package/dist/esm/kup-input-panel.entry.js +8 -8
  215. package/dist/esm/kup-lazy.entry.js +12 -12
  216. package/dist/esm/kup-magic-box.entry.js +4 -4
  217. package/dist/esm/{kup-manager-2d8f4f18.js → kup-manager-89189705.js} +26 -3
  218. package/dist/esm/kup-nav-bar.entry.js +2 -2
  219. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  220. package/dist/esm/kup-object-field.entry.js +4 -4
  221. package/dist/esm/kup-pdf.entry.js +2 -2
  222. package/dist/esm/kup-planner-renderer.entry.js +2 -2
  223. package/dist/esm/kup-planner.entry.js +3 -3
  224. package/dist/esm/kup-probe.entry.js +2 -2
  225. package/dist/esm/kup-qlik.entry.js +2 -2
  226. package/dist/esm/kup-snackbar.entry.js +2 -2
  227. package/dist/esm/kup-txt.entry.js +2 -2
  228. package/dist/esm/kup-typography-list.entry.js +2 -2
  229. package/dist/esm/kup-typography.entry.js +2 -2
  230. package/dist/esm/loader.js +1 -1
  231. package/dist/ketchup/index.esm.js +1 -1
  232. package/dist/ketchup/ketchup.esm.js +1 -1
  233. package/dist/ketchup/{p-36d3870e.entry.js → p-069fe9e1.entry.js} +1 -1
  234. package/dist/ketchup/p-0dd57f34.js +1 -0
  235. package/dist/ketchup/{p-72e25927.entry.js → p-0e644cb7.entry.js} +1 -1
  236. package/dist/ketchup/{p-6b76cc4c.entry.js → p-0ea4179b.entry.js} +1 -1
  237. package/dist/ketchup/{p-fe9db498.js → p-15491541.js} +1 -1
  238. package/dist/ketchup/{p-04915720.js → p-285c28ae.js} +1 -1
  239. package/dist/ketchup/{p-cbe1e4a5.entry.js → p-2e789d5f.entry.js} +1 -1
  240. package/dist/ketchup/{p-960b5246.entry.js → p-43159582.entry.js} +1 -1
  241. package/dist/ketchup/{p-b0f1b21d.entry.js → p-47545e56.entry.js} +1 -1
  242. package/dist/ketchup/{p-4d899ee9.entry.js → p-4b1eb87d.entry.js} +1 -1
  243. package/dist/ketchup/{p-31304076.entry.js → p-4ceb2da3.entry.js} +1 -1
  244. package/dist/ketchup/{p-b75e663b.entry.js → p-54a54f0d.entry.js} +1 -1
  245. package/dist/ketchup/{p-4da163e9.entry.js → p-595f3fd8.entry.js} +1 -1
  246. package/dist/ketchup/{p-6821ce98.entry.js → p-5a015f10.entry.js} +1 -1
  247. package/dist/ketchup/{p-b9dd4ebe.entry.js → p-5a345165.entry.js} +1 -1
  248. package/dist/ketchup/{p-b2cb221e.js → p-5d7a9987.js} +1 -1
  249. package/dist/ketchup/p-605b5c54.entry.js +9 -0
  250. package/dist/ketchup/{p-ed90bf43.entry.js → p-6b11fc72.entry.js} +1 -1
  251. package/dist/ketchup/{p-a74fe69d.entry.js → p-6b771a9b.entry.js} +1 -1
  252. package/dist/ketchup/{p-bb757c4b.entry.js → p-7819480d.entry.js} +1 -1
  253. package/dist/ketchup/p-86f75374.entry.js +1 -0
  254. package/dist/ketchup/{p-66ccba95.entry.js → p-8afe1504.entry.js} +1 -1
  255. package/dist/ketchup/{p-ab8b13ac.entry.js → p-8bc2f0b6.entry.js} +1 -1
  256. package/dist/ketchup/p-98797821.entry.js +1 -0
  257. package/dist/ketchup/{p-a7123dc1.entry.js → p-9f51f081.entry.js} +1 -1
  258. package/dist/ketchup/{p-b84093fc.entry.js → p-a50b3050.entry.js} +1 -1
  259. package/dist/ketchup/{p-a8a3291d.entry.js → p-af7c5f4d.entry.js} +2 -2
  260. package/dist/ketchup/{p-317b3e3a.entry.js → p-b59ba2e0.entry.js} +1 -1
  261. package/dist/ketchup/{p-1d9a31fc.entry.js → p-c1b293a7.entry.js} +1 -1
  262. package/dist/ketchup/{p-bfe12bd6.entry.js → p-ccb2296a.entry.js} +1 -1
  263. package/dist/ketchup/{p-cb88c213.entry.js → p-d1389486.entry.js} +1 -1
  264. package/dist/ketchup/{p-72c85164.entry.js → p-d47f322d.entry.js} +1 -1
  265. package/dist/ketchup/{p-479ef0dc.entry.js → p-dd65ab87.entry.js} +2 -2
  266. package/dist/ketchup/{p-714609da.entry.js → p-e1683cf1.entry.js} +1 -1
  267. package/dist/ketchup/p-e202be52.js +1 -0
  268. package/dist/ketchup/p-e527cae5.entry.js +1 -0
  269. package/dist/ketchup/{p-bdfde4e7.entry.js → p-f0c7071a.entry.js} +1 -1
  270. package/dist/ketchup/p-f51f2af6.js +21 -0
  271. package/dist/ketchup/{p-162a169f.entry.js → p-f5e50e78.entry.js} +1 -1
  272. package/dist/ketchup/p-fc645b13.js +1 -0
  273. package/dist/types/components/kup-cell/kup-cell.d.ts +3 -0
  274. package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +8 -0
  275. package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +62 -0
  276. package/dist/types/components.d.ts +85 -0
  277. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +2 -0
  278. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +10 -2
  279. package/dist/types/types/GenericTypes.d.ts +2 -1
  280. package/package.json +1 -1
  281. package/dist/ketchup/p-0f25c7c6.js +0 -21
  282. package/dist/ketchup/p-3d927559.entry.js +0 -1
  283. package/dist/ketchup/p-51d6eb71.js +0 -1
  284. package/dist/ketchup/p-64e7493c.js +0 -1
  285. package/dist/ketchup/p-7fff3f5f.entry.js +0 -1
  286. package/dist/ketchup/p-c7caa9ab.entry.js +0 -1
  287. package/dist/ketchup/p-d27a5f1f.js +0 -1
  288. package/dist/ketchup/p-de8b7f56.entry.js +0 -9
@@ -1,19 +1,19 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment } from './index-c9246a86.js';
2
- import { I as ItemsDisplayMode, k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupDynamicPositionPlacement, d as KupThemeColorValues, e as KupDebugCategory, F as FCellShapes, f as FCellPadding, h as KupLanguageGeneric, i as fillString, j as KupCardBuiltInClockElements, l as KupCardCSSClasses, m as KupLanguageTotals, n as KupLanguageColumn, o as KupDataNewColumnTypes, p as KupCardSubEvents, q as KupCardIds, r as KupLanguageRow, t as KupCardFamily, u as KupCardProps, v as getColumnByName, w as formatToNumber, x as KupObjects, y as identify, G as GroupLabelDisplayMode, S as SelectionMode, z as KupLanguageGrouping, A as KupLanguageCheckbox, B as getValueForDisplay2, C as Filters, D as getValueForDisplay, E as KupLanguageSearch, H as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, J as ShowGrid, T as TotalLabel, M as TotalMode, N as getRegExpFromString, O as isNegativeNumber, Q as FCellClasses, R as kupDynamicPositionAttribute, U as KupPointerEventTypes, V as kupDraggableColumnAttr, W as kupDragActiveAttr, X as KupDragEffect, Y as kupDraggableCellAttr, Z as KupDropEventTypes, _ as FixedCellsClasses, $ as FixedCellsCSSVarsBase, a0 as KupLanguageFontsize, a1 as KupLanguageDensity, a2 as KupLanguageGrid, a3 as KupDataTableProps, a4 as DataTableAreasEnum, a5 as SortMode, a6 as iconColumn, a7 as keyColumn, a8 as fieldColumn, a9 as FCellTypes, aa as KupListRole, ab as KupListProps, ac as addColumnValueFromRow, ad as KupGlobalFilterMode } from './kup-manager-2d8f4f18.js';
3
- import { F as FTextField } from './f-text-field-b75996bd.js';
2
+ import { I as ItemsDisplayMode, k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupDynamicPositionPlacement, d as KupThemeColorValues, e as KupDebugCategory, F as FCellShapes, f as FCellPadding, h as KupLanguageGeneric, i as fillString, j as KupCardBuiltInClockElements, l as KupCardCSSClasses, m as KupLanguageTotals, n as KupLanguageColumn, o as KupDataNewColumnTypes, p as KupCardSubEvents, q as KupCardIds, r as KupLanguageRow, t as KupCardFamily, u as KupCardProps, v as getColumnByName, w as formatToNumber, x as KupObjects, y as identify, G as GroupLabelDisplayMode, S as SelectionMode, z as KupLanguageGrouping, A as KupLanguageCheckbox, B as getValueForDisplay2, C as Filters, D as getValueForDisplay, E as KupLanguageSearch, H as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, J as ShowGrid, T as TotalLabel, M as TotalMode, N as getRegExpFromString, O as isNegativeNumber, Q as FCellClasses, R as kupDynamicPositionAttribute, U as KupPointerEventTypes, V as kupDraggableColumnAttr, W as kupDragActiveAttr, X as KupDragEffect, Y as kupDraggableCellAttr, Z as KupDropEventTypes, _ as FixedCellsClasses, $ as FixedCellsCSSVarsBase, a0 as KupLanguageFontsize, a1 as KupLanguageDensity, a2 as KupLanguageGrid, a3 as KupDataTableProps, a4 as DataTableAreasEnum, a5 as SortMode, a6 as iconColumn, a7 as keyColumn, a8 as fieldColumn, a9 as KupLanguageUpload, aa as FCellTypes, ab as KupListRole, ac as KupListProps, ad as addColumnValueFromRow, ae as KupGlobalFilterMode } from './kup-manager-89189705.js';
3
+ import { F as FTextField } from './f-text-field-04f701fb.js';
4
4
  import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
5
5
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
6
6
  import { F as FImage } from './f-image-9b15e9ac.js';
7
7
  import { F as FButton } from './f-button-f1040575.js';
8
8
  import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
9
- import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-fa00b8ef.js';
9
+ import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-2b1c1919.js';
10
10
  import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-da19044e.js';
11
- import { F as FChipType, a as FChipSize, b as FChipStyling, c as FChip } from './f-chip-05355daa.js';
11
+ import { F as FChipType, a as FChipSize, b as FChipStyling, c as FChip } from './f-chip-b42af349.js';
12
12
  import { M as MDCRipple } from './component-a35bc7f1.js';
13
13
  import { F as FCheckbox } from './f-checkbox-3ba20ca4.js';
14
- import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-e3846302.js';
15
- import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-bf93d7d4.js';
16
- import './f-object-field-c9d54642.js';
14
+ import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-0dbc3495.js';
15
+ import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-541bc197.js';
16
+ import './f-object-field-2bfc470c.js';
17
17
 
18
18
  /**
19
19
  * Props of the kup-autocomplete component.
@@ -170,7 +170,7 @@ function getItemByDisplayMode(listData, id, displayMode, setSelected) {
170
170
  const kupAutocompleteCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;width:max-content}.kup-icon{transition:transform 0.15s}.toggled .kup-icon.kup-dropdown-icon{transform:rotate(-180deg)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color-60);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color-50);--kup-textfield-primary-color-rgb:var(--kup-warning-color-50-rgb)}";
171
171
  const KupAutocompleteStyle0 = kupAutocompleteCss;
172
172
 
173
- var __classPrivateFieldGet$9 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
173
+ var __classPrivateFieldGet$a = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
174
174
  if (kind === "a" && !f)
175
175
  throw new TypeError("Private accessor was defined without a getter");
176
176
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -239,25 +239,25 @@ const KupAutocomplete = class {
239
239
  this.placeholder = 'Type code or description';
240
240
  }
241
241
  onKupBlur() {
242
- if (!__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
242
+ if (!__classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
243
243
  this.kupBlur.emit({
244
244
  comp: this,
245
245
  id: this.rootElement.id,
246
246
  value: this.value,
247
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
247
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
248
248
  });
249
249
  }
250
250
  }
251
251
  onKupChange(value) {
252
252
  __classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
253
253
  if (value) {
254
- const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, undefined, true);
254
+ const ret = __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, undefined, true);
255
255
  if (ret.exists || this.allowInconsistentValues) {
256
256
  this.kupChange.emit({
257
257
  comp: this,
258
258
  id: this.rootElement.id,
259
259
  value: this.value,
260
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
260
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
261
261
  node: ret.node,
262
262
  });
263
263
  }
@@ -269,7 +269,7 @@ const KupAutocomplete = class {
269
269
  comp: this,
270
270
  id: this.rootElement.id,
271
271
  value: this.value,
272
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
272
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
273
273
  node: { value: '' },
274
274
  });
275
275
  }
@@ -279,7 +279,7 @@ const KupAutocomplete = class {
279
279
  comp: this,
280
280
  id: this.rootElement.id,
281
281
  value: this.value,
282
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
282
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
283
283
  });
284
284
  }
285
285
  onKupFocus() {
@@ -287,53 +287,53 @@ const KupAutocomplete = class {
287
287
  comp: this,
288
288
  id: this.rootElement.id,
289
289
  value: this.value,
290
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
290
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
291
291
  });
292
292
  }
293
293
  onKupInput() {
294
294
  __classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
295
- const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value, undefined, false);
295
+ const ret = __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value, undefined, false);
296
296
  setTimeout(() => {
297
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
298
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
297
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
298
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
299
299
  this.kupInput.emit({
300
300
  comp: this,
301
301
  id: this.rootElement.id,
302
302
  value: this.value,
303
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
303
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
304
304
  node: ret.node,
305
305
  });
306
306
  }
307
307
  }, 400);
308
308
  }
309
309
  onKupIconClick() {
310
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled')) {
311
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
310
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled')) {
311
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
312
312
  }
313
313
  else {
314
314
  if (this.showDropDownIcon) {
315
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
315
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
316
316
  }
317
317
  }
318
318
  this.kupIconClick.emit({
319
319
  comp: this,
320
320
  id: this.rootElement.id,
321
321
  value: this.value,
322
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
323
- open: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled'),
322
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
323
+ open: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled'),
324
324
  });
325
325
  }
326
326
  onKupItemClick(e) {
327
327
  this.onKupChange(e.detail.selected.id);
328
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
329
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f")) {
330
- __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").focus();
328
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
329
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f")) {
330
+ __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").focus();
331
331
  }
332
332
  this.kupItemClick.emit({
333
333
  comp: this,
334
334
  id: this.rootElement.id,
335
335
  value: this.value,
336
- inputValue: __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value,
336
+ inputValue: __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value,
337
337
  node: e.detail.selected,
338
338
  });
339
339
  }
@@ -341,30 +341,30 @@ const KupAutocomplete = class {
341
341
  /* L i s t e n e r s */
342
342
  /*-------------------------------------------------*/
343
343
  listenKeydown(e) {
344
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
344
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
345
345
  switch (e.key) {
346
346
  case 'ArrowDown':
347
347
  e.preventDefault();
348
348
  e.stopPropagation();
349
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").focusNext();
349
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").focusNext();
350
350
  break;
351
351
  case 'ArrowUp':
352
352
  e.preventDefault();
353
353
  e.stopPropagation();
354
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").focusPrevious();
354
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").focusPrevious();
355
355
  break;
356
356
  case 'Enter':
357
357
  e.preventDefault();
358
358
  e.stopPropagation();
359
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").select().then(() => {
360
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
361
- __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").focus();
359
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").select().then(() => {
360
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
361
+ __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").focus();
362
362
  });
363
363
  break;
364
364
  case 'Escape':
365
365
  e.preventDefault();
366
366
  e.stopPropagation();
367
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
367
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
368
368
  break;
369
369
  }
370
370
  }
@@ -373,14 +373,14 @@ const KupAutocomplete = class {
373
373
  case 'ArrowDown':
374
374
  e.preventDefault();
375
375
  e.stopPropagation();
376
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
377
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").focusNext();
376
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
377
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").focusNext();
378
378
  break;
379
379
  case 'ArrowUp':
380
380
  e.preventDefault();
381
381
  e.stopPropagation();
382
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
383
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").focusPrevious();
382
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
383
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").focusPrevious();
384
384
  break;
385
385
  }
386
386
  }
@@ -413,7 +413,7 @@ const KupAutocomplete = class {
413
413
  * Sets the focus to the component.
414
414
  */
415
415
  async setFocus() {
416
- __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").focus();
416
+ __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").focus();
417
417
  }
418
418
  /**
419
419
  * Sets the props to the component.
@@ -428,21 +428,21 @@ const KupAutocomplete = class {
428
428
  */
429
429
  async setValue(value, valueDecode) {
430
430
  __classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
431
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, valueDecode, true);
431
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, valueDecode, true);
432
432
  }
433
433
  /**
434
434
  * Calls closeList method (acts like a reset).
435
435
  * @param {string} value - Value to be set.
436
436
  */
437
437
  async reset() {
438
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
438
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
439
439
  }
440
440
  /*-------------------------------------------------*/
441
441
  /* L i f e c y c l e H o o k s */
442
442
  /*-------------------------------------------------*/
443
443
  componentWillLoad() {
444
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, false);
445
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").theme.register(this);
444
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, false);
445
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").theme.register(this);
446
446
  __classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
447
447
  this.value = this.initialValue;
448
448
  if (!this.data) {
@@ -453,11 +453,11 @@ const KupAutocomplete = class {
453
453
  }
454
454
  }
455
455
  componentDidLoad() {
456
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
457
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
456
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
457
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
458
458
  }
459
459
  componentWillRender() {
460
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, false);
460
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, false);
461
461
  }
462
462
  componentDidRender() {
463
463
  const root = this.rootElement.shadowRoot;
@@ -469,7 +469,7 @@ const KupAutocomplete = class {
469
469
  FTextFieldMDC(f);
470
470
  }
471
471
  }
472
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
472
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
473
473
  }
474
474
  render() {
475
475
  const props = {
@@ -497,67 +497,67 @@ const KupAutocomplete = class {
497
497
  ? true
498
498
  : false,
499
499
  showMarker: this.showMarker,
500
- size: __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_calcSize).call(this),
500
+ size: __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_calcSize).call(this),
501
501
  };
502
502
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
503
503
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
504
- return (h(Host, { key: '43ab465068f2721631e669c1f8d8c65a21e819dc', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$9(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: '28f1d7b14f8054029912b38e680e46b8ebdbc0f6' }, __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'dfbfac1e4096d35c64ce817b8d3fa6a3dcc4a2af', id: componentWrapperId, style: __classPrivateFieldGet$9(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: '660a532f84a72967b9742359cd070a3e058b63ce' }, props, { icon: this.showDropDownIcon
504
+ return (h(Host, { key: '43ab465068f2721631e669c1f8d8c65a21e819dc', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$a(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: '28f1d7b14f8054029912b38e680e46b8ebdbc0f6' }, __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'dfbfac1e4096d35c64ce817b8d3fa6a3dcc4a2af', id: componentWrapperId, style: __classPrivateFieldGet$a(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: '660a532f84a72967b9742359cd070a3e058b63ce' }, props, { icon: this.showDropDownIcon
505
505
  ? KupThemeIconValues.SEARCH
506
506
  : null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
507
- window.clearTimeout(__classPrivateFieldGet$9(this, _KupAutocomplete_inputTimeout, "f"));
507
+ window.clearTimeout(__classPrivateFieldGet$a(this, _KupAutocomplete_inputTimeout, "f"));
508
508
  __classPrivateFieldSet$5(this, _KupAutocomplete_inputTimeout, window.setTimeout(() => this.onKupInput(), this.inputDelay), "f");
509
- }, onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
509
+ }, onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
510
510
  }
511
511
  disconnectedCallback() {
512
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f")) {
513
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f")]);
514
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").remove();
512
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f")) {
513
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f")]);
514
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").remove();
515
515
  }
516
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").theme.unregister(this);
516
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").theme.unregister(this);
517
517
  }
518
518
  get rootElement() { return getElement$1(this); }
519
519
  };
520
520
  _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(), _KupAutocomplete_kupManager = new WeakMap(), _KupAutocomplete_textfieldWrapper = new WeakMap(), _KupAutocomplete_textfieldEl = new WeakMap(), _KupAutocomplete_clickCb = new WeakMap(), _KupAutocomplete_inputTimeout = new WeakMap(), _KupAutocomplete_instances = new WeakSet(), _KupAutocomplete_openList = function _KupAutocomplete_openList(forceOpen) {
521
521
  var _a, _b;
522
522
  if (forceOpen != true &&
523
- __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
524
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
523
+ __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
524
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
525
525
  return false;
526
526
  }
527
527
  const hasError = ((_a = this.error) === null || _a === void 0 ? void 0 : _a.trim().length) > 0;
528
528
  const hasAlert = ((_b = this.alert) === null || _b === void 0 ? void 0 : _b.trim().length) > 0;
529
529
  const topOffset = hasError || hasAlert ? -20 : 0;
530
- __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
531
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").menuVisible = true;
532
- const elStyle = __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").style;
530
+ __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
531
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").menuVisible = true;
532
+ const elStyle = __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").style;
533
533
  elStyle.height = 'auto';
534
- elStyle.minWidth = __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f").clientWidth + 'px';
535
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"))) {
536
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f"));
534
+ elStyle.minWidth = __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f").clientWidth + 'px';
535
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"))) {
536
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f"));
537
537
  }
538
538
  else {
539
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f"), topOffset, KupDynamicPositionPlacement.AUTO, true);
539
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f"), topOffset, KupDynamicPositionPlacement.AUTO, true);
540
540
  }
541
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"));
542
- if (!__classPrivateFieldGet$9(this, _KupAutocomplete_clickCb, "f")) {
541
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"));
542
+ if (!__classPrivateFieldGet$a(this, _KupAutocomplete_clickCb, "f")) {
543
543
  __classPrivateFieldSet$5(this, _KupAutocomplete_clickCb, {
544
544
  cb: () => {
545
- __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
545
+ __classPrivateFieldGet$a(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
546
546
  },
547
- el: __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"),
547
+ el: __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"),
548
548
  }, "f");
549
549
  }
550
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").addClickCallback(__classPrivateFieldGet$9(this, _KupAutocomplete_clickCb, "f"), true);
550
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").addClickCallback(__classPrivateFieldGet$a(this, _KupAutocomplete_clickCb, "f"), true);
551
551
  return true;
552
552
  }, _KupAutocomplete_closeList = function _KupAutocomplete_closeList() {
553
- __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldWrapper, "f").classList.remove('toggled');
554
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").menuVisible = false;
555
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"));
556
- __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet$9(this, _KupAutocomplete_clickCb, "f"));
553
+ __classPrivateFieldGet$a(this, _KupAutocomplete_textfieldWrapper, "f").classList.remove('toggled');
554
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").menuVisible = false;
555
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"));
556
+ __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet$a(this, _KupAutocomplete_clickCb, "f"));
557
557
  }, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
558
- return __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").menuVisible == true;
558
+ return __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").menuVisible == true;
559
559
  }, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
560
- if (!__classPrivateFieldGet$9(this, _KupAutocomplete_doConsistencyCheck, "f")) {
560
+ if (!__classPrivateFieldGet$a(this, _KupAutocomplete_doConsistencyCheck, "f")) {
561
561
  return;
562
562
  }
563
563
  if (idIn && idInDecode) {
@@ -565,7 +565,7 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
565
565
  }
566
566
  else {
567
567
  __classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, false, "f");
568
- const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.displayMode);
568
+ const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.displayMode);
569
569
  if ((ret.exists || this.allowInconsistentValues) &&
570
570
  eventShouldSetValue) {
571
571
  this.value = ret.value;
@@ -574,8 +574,8 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
574
574
  else {
575
575
  this.displayedValue = idIn;
576
576
  }
577
- if (__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
578
- __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").filter = ret.value;
577
+ if (__classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
578
+ __classPrivateFieldGet$a(this, _KupAutocomplete_listEl, "f").filter = ret.value;
579
579
  }
580
580
  return ret;
581
581
  }
@@ -6928,7 +6928,7 @@ var KupChipProps;
6928
6928
  const kupChipCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block}";
6929
6929
  const KupChipStyle0 = kupChipCss;
6930
6930
 
6931
- var __classPrivateFieldGet$8 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6931
+ var __classPrivateFieldGet$9 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6932
6932
  if (kind === "a" && !f)
6933
6933
  throw new TypeError("Private accessor was defined without a getter");
6934
6934
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -6999,7 +6999,7 @@ const KupChip = class {
6999
6999
  this.kupChange.emit({
7000
7000
  comp: this,
7001
7001
  id: this.rootElement.id,
7002
- stringifiedValues: __classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
7002
+ stringifiedValues: __classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
7003
7003
  });
7004
7004
  this.refresh();
7005
7005
  }
@@ -7121,11 +7121,11 @@ const KupChip = class {
7121
7121
  props.onIconClick.push((chip) => this.onKupIconClick(chip));
7122
7122
  }
7123
7123
  return (h(Host, { key: 'fd39e30a24a2fb700fa5355cd14fe0c35d006402', "onKup-autocomplete-itemclick": (e) => {
7124
- __classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
7124
+ __classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
7125
7125
  }, "onKup-combobox-itemclick": (e) => {
7126
- __classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
7126
+ __classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
7127
7127
  }, "onKup-textfield-change": (e) => {
7128
- __classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
7128
+ __classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
7129
7129
  } }, h("style", { key: 'f3d1b7eb69084838c733e4cb5debd79df8e7a8e5' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'f843a641880ed5011bc2e3114aec1a78adbdc552', id: componentWrapperId }, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: 'd121ecf6db2c7b5288b4697eaf3817a9f915f0f6', name: "field" }))));
7130
7130
  }
7131
7131
  disconnectedCallback() {
@@ -7163,7 +7163,7 @@ _KupChip_instances = new WeakSet(), _KupChip_changeHandler =
7163
7163
  this.kupChange.emit({
7164
7164
  comp: this,
7165
7165
  id: this.rootElement.id,
7166
- stringifiedValues: __classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
7166
+ stringifiedValues: __classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
7167
7167
  });
7168
7168
  }
7169
7169
  }
@@ -7460,7 +7460,7 @@ var KupComboboxProps;
7460
7460
  const kupComboboxCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;font-size:var(--kup-font-size);width:max-content}:host([is-select]) #kup-component{transition:background-color 0.2s}:host([is-select]) .mdc-text-field:not(.mdc-text-field--disabled) input{cursor:pointer}.kup-icon{transition:transform 0.15s}.toggled .kup-icon.kup-dropdown-icon{transform:rotate(-180deg)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon);order:2}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color-60);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color-50);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}:host(.page-selector) .f-text-field .mdc-text-field,:host(.rows-selector) .f-text-field .mdc-text-field{border-bottom:none !important;width:max-content !important}:host(.page-selector) .f-text-field .mdc-text-field-container,:host(.rows-selector) .f-text-field .mdc-text-field-container{flex-direction:row !important}:host(.page-selector) .f-text-field .mdc-text-field-container .mdc-text-field__label-container,:host(.rows-selector) .f-text-field .mdc-text-field-container .mdc-text-field__label-container{white-space:nowrap;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}:host(.page-selector) .f-text-field .mdc-text-field-helper-line,:host(.rows-selector) .f-text-field .mdc-text-field-helper-line{display:none}";
7461
7461
  const KupComboboxStyle0 = kupComboboxCss;
7462
7462
 
7463
- var __classPrivateFieldGet$7 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
7463
+ var __classPrivateFieldGet$8 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
7464
7464
  if (kind === "a" && !f)
7465
7465
  throw new TypeError("Private accessor was defined without a getter");
7466
7466
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -7521,41 +7521,41 @@ const KupCombobox = class {
7521
7521
  this.showMarker = false;
7522
7522
  }
7523
7523
  onKupBlur() {
7524
- if (!__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7524
+ if (!__classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7525
7525
  this.kupBlur.emit({
7526
7526
  comp: this,
7527
7527
  id: this.rootElement.id,
7528
7528
  value: this.value,
7529
- inputValue: __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value,
7529
+ inputValue: __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value,
7530
7530
  });
7531
7531
  }
7532
7532
  }
7533
7533
  onKupChange(value) {
7534
- let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, undefined, true);
7534
+ let ret = __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, undefined, true);
7535
7535
  this.kupChange.emit({
7536
7536
  comp: this,
7537
7537
  id: this.rootElement.id,
7538
7538
  value: this.value,
7539
- inputValue: __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value,
7539
+ inputValue: __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value,
7540
7540
  node: ret.node,
7541
7541
  });
7542
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7542
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7543
7543
  }
7544
7544
  onKupClick() {
7545
7545
  this.onKupIconClick();
7546
7546
  }
7547
7547
  onKupIconClick() {
7548
- if (__classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
7549
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7548
+ if (__classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
7549
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7550
7550
  }
7551
7551
  else {
7552
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7552
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7553
7553
  this.kupIconClick.emit({
7554
7554
  comp: this,
7555
7555
  id: this.rootElement.id,
7556
7556
  value: this.value,
7557
- inputValue: __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value,
7558
- open: __classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled'),
7557
+ inputValue: __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value,
7558
+ open: __classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled'),
7559
7559
  });
7560
7560
  }
7561
7561
  }
@@ -7564,32 +7564,32 @@ const KupCombobox = class {
7564
7564
  comp: this,
7565
7565
  id: this.rootElement.id,
7566
7566
  value: this.value,
7567
- inputValue: __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value,
7567
+ inputValue: __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value,
7568
7568
  });
7569
7569
  }
7570
7570
  onKupInput() {
7571
- let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value, undefined, false);
7572
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7571
+ let ret = __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value, undefined, false);
7572
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
7573
7573
  this.kupInput.emit({
7574
7574
  comp: this,
7575
7575
  id: this.rootElement.id,
7576
7576
  value: this.value,
7577
- inputValue: __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value,
7577
+ inputValue: __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value,
7578
7578
  node: ret.node,
7579
7579
  });
7580
7580
  }
7581
7581
  onKupItemClick(e) {
7582
7582
  this.onKupChange(e.detail.selected.id);
7583
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7584
- if (__classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f")) {
7585
- __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").focus();
7583
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7584
+ if (__classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f")) {
7585
+ __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").focus();
7586
7586
  }
7587
7587
  this.kupItemClick.emit({
7588
7588
  comp: this,
7589
7589
  id: this.rootElement.id,
7590
7590
  node: e.detail.selected,
7591
7591
  value: this.value,
7592
- inputValue: __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value,
7592
+ inputValue: __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").value,
7593
7593
  });
7594
7594
  }
7595
7595
  /*-------------------------------------------------*/
@@ -7606,30 +7606,30 @@ const KupCombobox = class {
7606
7606
  /* L i s t e n e r s */
7607
7607
  /*-------------------------------------------------*/
7608
7608
  listenKeydown(e) {
7609
- if (__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7609
+ if (__classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7610
7610
  switch (e.key) {
7611
7611
  case 'ArrowDown':
7612
7612
  e.preventDefault();
7613
7613
  e.stopPropagation();
7614
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").focusNext();
7614
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").focusNext();
7615
7615
  break;
7616
7616
  case 'ArrowUp':
7617
7617
  e.preventDefault();
7618
7618
  e.stopPropagation();
7619
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").focusPrevious();
7619
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").focusPrevious();
7620
7620
  break;
7621
7621
  case 'Enter':
7622
7622
  e.preventDefault();
7623
7623
  e.stopPropagation();
7624
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").select().then(() => {
7625
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7626
- __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").focus();
7624
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").select().then(() => {
7625
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7626
+ __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").focus();
7627
7627
  });
7628
7628
  break;
7629
7629
  case 'Escape':
7630
7630
  e.preventDefault();
7631
7631
  e.stopPropagation();
7632
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7632
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7633
7633
  break;
7634
7634
  }
7635
7635
  }
@@ -7639,13 +7639,13 @@ const KupCombobox = class {
7639
7639
  e.preventDefault();
7640
7640
  e.stopPropagation();
7641
7641
  this.onKupIconClick();
7642
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").focusNext();
7642
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").focusNext();
7643
7643
  break;
7644
7644
  case 'ArrowUp':
7645
7645
  e.preventDefault();
7646
7646
  e.stopPropagation();
7647
7647
  this.onKupIconClick();
7648
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").focusPrevious();
7648
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").focusPrevious();
7649
7649
  break;
7650
7650
  }
7651
7651
  }
@@ -7678,7 +7678,7 @@ const KupCombobox = class {
7678
7678
  * Sets the focus to the component.
7679
7679
  */
7680
7680
  async setFocus() {
7681
- __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").focus();
7681
+ __classPrivateFieldGet$8(this, _KupCombobox_textfieldEl, "f").focus();
7682
7682
  }
7683
7683
  /**
7684
7684
  * Sets the props to the component.
@@ -7692,21 +7692,21 @@ const KupCombobox = class {
7692
7692
  * @param {string} value - Value to be set.
7693
7693
  */
7694
7694
  async setValue(value, valueDecode) {
7695
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, valueDecode, true);
7695
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, valueDecode, true);
7696
7696
  }
7697
7697
  /**
7698
7698
  * Calls closeList method (acts like a reset).
7699
7699
  * @param {string} value - Value to be set.
7700
7700
  */
7701
7701
  async reset() {
7702
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7702
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7703
7703
  }
7704
7704
  /*-------------------------------------------------*/
7705
7705
  /* L i f e c y c l e H o o k s */
7706
7706
  /*-------------------------------------------------*/
7707
7707
  componentWillLoad() {
7708
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").debug.logLoad(this, false);
7709
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").theme.register(this);
7708
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").debug.logLoad(this, false);
7709
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").theme.register(this);
7710
7710
  this.value = this.initialValue;
7711
7711
  if (!this.data) {
7712
7712
  this.data = {
@@ -7716,11 +7716,11 @@ const KupCombobox = class {
7716
7716
  }
7717
7717
  }
7718
7718
  componentDidLoad() {
7719
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
7720
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
7719
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
7720
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
7721
7721
  }
7722
7722
  componentWillRender() {
7723
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").debug.logRender(this, false);
7723
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").debug.logRender(this, false);
7724
7724
  }
7725
7725
  componentDidRender() {
7726
7726
  const root = this.rootElement.shadowRoot;
@@ -7732,7 +7732,7 @@ const KupCombobox = class {
7732
7732
  FTextFieldMDC(f);
7733
7733
  }
7734
7734
  }
7735
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").debug.logRender(this, true);
7735
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").debug.logRender(this, true);
7736
7736
  }
7737
7737
  render() {
7738
7738
  const props = {
@@ -7763,16 +7763,16 @@ const KupCombobox = class {
7763
7763
  };
7764
7764
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
7765
7765
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
7766
- return (h(Host, { key: '965196cce5ab2bddb2d9c5968a8da8f973cf2ba2', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$7(this, _KupCombobox_elStyle, "f") }, h("style", { key: '523c9c38f6382ae6a135e52ad22dd0fb134af9b1' }, __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c4ec398690b5f8150643babcf926a00da4b7412e', id: componentWrapperId, style: __classPrivateFieldGet$7(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: '97f6487594acef605c236902627c199386f0b5c8' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
7766
+ return (h(Host, { key: '965196cce5ab2bddb2d9c5968a8da8f973cf2ba2', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$8(this, _KupCombobox_elStyle, "f") }, h("style", { key: '523c9c38f6382ae6a135e52ad22dd0fb134af9b1' }, __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c4ec398690b5f8150643babcf926a00da4b7412e', id: componentWrapperId, style: __classPrivateFieldGet$8(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: '97f6487594acef605c236902627c199386f0b5c8' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
7767
7767
  ? KupThemeIconValues.DROPDOWN
7768
- : null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
7768
+ : null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
7769
7769
  }
7770
7770
  disconnectedCallback() {
7771
- if (__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f")) {
7772
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f")]);
7773
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").remove();
7771
+ if (__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f")) {
7772
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f")]);
7773
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").remove();
7774
7774
  }
7775
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").theme.unregister(this);
7775
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").theme.unregister(this);
7776
7776
  }
7777
7777
  get rootElement() { return getElement$1(this); }
7778
7778
  static get watchers() { return {
@@ -7782,50 +7782,50 @@ const KupCombobox = class {
7782
7782
  };
7783
7783
  _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _KupCombobox_listEl = new WeakMap(), _KupCombobox_textfieldWrapper = new WeakMap(), _KupCombobox_textfieldEl = new WeakMap(), _KupCombobox_clickCb = new WeakMap(), _KupCombobox_componentTriggered = new WeakMap(), _KupCombobox_instances = new WeakSet(), _KupCombobox_openList = function _KupCombobox_openList() {
7784
7784
  var _a, _b;
7785
- if (__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7785
+ if (__classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
7786
7786
  return;
7787
7787
  }
7788
7788
  // Manage list open while helperline is displayed
7789
7789
  const hasError = ((_a = this.error) === null || _a === void 0 ? void 0 : _a.trim().length) > 0;
7790
7790
  const hasAlert = ((_b = this.alert) === null || _b === void 0 ? void 0 : _b.trim().length) > 0;
7791
7791
  const topOffset = hasError || hasAlert ? -20 : 0;
7792
- __classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f").classList.add('toggled');
7793
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").menuVisible = true;
7794
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").filter = '';
7795
- const elStyle = __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").style;
7792
+ __classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f").classList.add('toggled');
7793
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").menuVisible = true;
7794
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").filter = '';
7795
+ const elStyle = __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").style;
7796
7796
  elStyle.height = 'auto';
7797
- elStyle.minWidth = __classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f").clientWidth + 'px';
7798
- if (__classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"))) {
7799
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f"));
7797
+ elStyle.minWidth = __classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f").clientWidth + 'px';
7798
+ if (__classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"))) {
7799
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f"));
7800
7800
  }
7801
7801
  else {
7802
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f"), topOffset, KupDynamicPositionPlacement.AUTO, true);
7802
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"), __classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f"), topOffset, KupDynamicPositionPlacement.AUTO, true);
7803
7803
  }
7804
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"));
7805
- if (!__classPrivateFieldGet$7(this, _KupCombobox_clickCb, "f")) {
7804
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"));
7805
+ if (!__classPrivateFieldGet$8(this, _KupCombobox_clickCb, "f")) {
7806
7806
  __classPrivateFieldSet$4(this, _KupCombobox_clickCb, {
7807
7807
  cb: () => {
7808
- __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7808
+ __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
7809
7809
  },
7810
- el: __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"),
7810
+ el: __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"),
7811
7811
  }, "f");
7812
7812
  }
7813
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").addClickCallback(__classPrivateFieldGet$7(this, _KupCombobox_clickCb, "f"), true);
7814
- window.setTimeout(() => __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").setFocus(), 100);
7813
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").addClickCallback(__classPrivateFieldGet$8(this, _KupCombobox_clickCb, "f"), true);
7814
+ window.setTimeout(() => __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").setFocus(), 100);
7815
7815
  }, _KupCombobox_closeList = function _KupCombobox_closeList() {
7816
- __classPrivateFieldGet$7(this, _KupCombobox_textfieldWrapper, "f").classList.remove('toggled');
7817
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").menuVisible = false;
7818
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"));
7819
- __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupCombobox_clickCb, "f"));
7820
- window.setTimeout(() => __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").setBlur(), 100);
7816
+ __classPrivateFieldGet$8(this, _KupCombobox_textfieldWrapper, "f").classList.remove('toggled');
7817
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").menuVisible = false;
7818
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"));
7819
+ __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$8(this, _KupCombobox_clickCb, "f"));
7820
+ window.setTimeout(() => __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").setBlur(), 100);
7821
7821
  }, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
7822
- return __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").menuVisible == true;
7822
+ return __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").menuVisible == true;
7823
7823
  }, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
7824
7824
  if (idIn != null && idInDecode != null) {
7825
7825
  this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.displayMode, ' - ');
7826
7826
  }
7827
7827
  else {
7828
- const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
7828
+ const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
7829
7829
  if (ret.exists && eventShouldSetValue) {
7830
7830
  this.value = ret.value;
7831
7831
  this.displayedValue = ret.displayedValue;
@@ -7833,8 +7833,8 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
7833
7833
  else {
7834
7834
  this.displayedValue = idIn;
7835
7835
  }
7836
- if (__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f") != null) {
7837
- __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").filter = ret.value;
7836
+ if (__classPrivateFieldGet$8(this, _KupCombobox_listEl, "f") != null) {
7837
+ __classPrivateFieldGet$8(this, _KupCombobox_listEl, "f").filter = ret.value;
7838
7838
  }
7839
7839
  return ret;
7840
7840
  }
@@ -8556,7 +8556,7 @@ class KupColumnMenu {
8556
8556
  const kupDataTableCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_datatable_background_color:var(\n --kup-datatable-background-color,\n var(--kup-layer-1)\n );--kup_datatable_th_background_color:var(\n --kup-datatable-th-background-color,\n var(--kup-layer-2)\n );--kup_datatable_background_color_selected:var(\n --kup-datatable-background-color-selected,\n var(--kup-layer-1-selected)\n );--kup_datatable_border:var(\n --kup-datatable-border-color,\n 1px solid var(--kup-border-subtle)\n );--kup_datatable_font_family:var(\n --kup-datatable-font-family,\n var(--kup-font-family)\n );--kup_datatable_font_family_monospace:var(\n --kup-datatable-font-family-monospace,\n var(--kup-font-family-monospace)\n );--kup_datatable_font_size:var(\n --kup-datatable-font-size,\n var(--kup-font-size)\n );--kup_datatable_th_border:var(\n --kup-datatable-th-border,\n 1px solid var(--kup-gray-color-30)\n );--kup_datatable_th_resize_handle_width:var(\n --kup-datatable-th-resize-handle-width,\n 3px\n );--kup_datatable_background_color_hover:var(\n --kup-datatable-background-color-hover,\n var(--kup-layer-1-hover)\n );--kup_datatable_text_color_hover:var(\n --kup-datatable-background-color-hover,\n var(--kup-text-primary)\n );--kup_card_text_color:var(--kup-card-text-color, var(--kup-text-secondary));--kup_fcell_padding_dense:var(\n --kup-fcell-padding-dense,\n var(--kup-space-01) var(--kup-space-03)\n );--kup_fcell_padding_medium:var(\n --kup-fcell-padding-medium,\n var(--kup-space-02) var(--kup-space-03)\n );--kup_fcell_padding_wide:var(\n --kup-fcell-padding-wide,\n var(--kup-space-04) var(--kup-space-03)\n );display:block;font-family:var(--kup_datatable_font_family);font-size:var(--kup_datatable_font_size);position:relative}:host([kup-toolbar]) .settings-trigger{height:12px}:host([kup-toolbar]) .customize-panel{visibility:visible}:host([force-one-line]) .f-cell__text{white-space:nowrap}#kup-component.auto-width{width:fit-content}table{background-color:var(--kup_datatable_background_color);border-spacing:0;border-collapse:separate;color:var(--kup_card_text_color);min-width:intrinsic;min-width:-moz-max-content;min-width:-webkit-max-content;text-align:left;width:100%}table.auto-width{min-width:auto;width:0}table>tbody>tr.focus td:first-of-type,table>tbody>tr[kup-drag-over] td:first-of-type{box-shadow:inset 4px 0px 0px 0px var(--kup_datatable_th_border)}table>tbody>tr:last-of-type>td{border-bottom:var(--kup_datatable_border)}table.border-top>tbody>tr:first-of-type>td{border-top:var(--kup_datatable_border)}table.row-separation>tbody>tr>td{border-bottom:var(--kup_datatable_border)}table.column-separation>tbody>tr>td{border-right:var(--kup_datatable_border)}table.noGrid,table.noGrid td{border:none}table tfoot tr td{background-color:var(--kup_datatable_background_color);border-bottom:var(--kup_datatable_border);border-right:var(--kup_datatable_border);box-sizing:border-box;height:36px;text-align:right;font-weight:bold;padding:0.5em var(--kup-space-03)}table tfoot tr td:hover{background-color:var(--kup_datatable_background_color)}table tfoot tr td:last-of-type{border-right:none}#global-filter{min-width:140px;width:100%;flex:1}#global-filter .f-text-field .mdc-text-field-container .mdc-text-field{border-bottom:none}.kup-icon:not(.f-image){background-color:var(--kup-title-color);margin:0 0.25em;height:1.25em;width:1.25em}.kup-icon:not(.f-image).kup-ascending-icon,.kup-icon:not(.f-image).kup-descending-icon,.kup-icon:not(.f-image).kup-key-icon,.kup-icon:not(.f-image).kup-filter-remove-icon{height:auto}.kup-icon:not(.f-image).kup-collapsed-icon,.kup-icon:not(.f-image).kup-expanded-icon{float:left}.kup-icon:not(.f-image).kup-filter-remove-icon,.kup-icon:not(.f-image).kup-key-icon{margin:0 0.25em}.below-wrapper{backface-visibility:hidden;height:auto;overflow:auto}.below-wrapper.custom-size{overflow:unset}.below-wrapper.custom-size table{overflow:auto}.below-wrapper:not(.custom-size){overflow-x:auto}.density-dense .header-cell__content{padding:var(--kup-fcell-padding-dense, var(--kup_fcell_padding_dense))}.density-dense tbody>tr.group td{padding-top:0.25em;padding-bottom:0.25em}.density-medium .header-cell__content{padding:var(--kup-fcell-padding-medium, var(--kup_fcell_padding_medium))}.density-medium tbody>tr.group>td{padding-top:0.5em;padding-bottom:0.5em}.density-wide .header-cell__content{padding:var(--kup-fcell-padding-wide, var(--kup_fcell_padding_wide))}.density-wide tbody>tr.group>td{padding-top:0.75em;padding-bottom:0.75em}.fontsize-small{font-size:calc(var(--kup_datatable_font_size) * 0.75);transition:font-size 0.1s}.fontsize-small .group-cell-content>span:before{font-size:calc(var(--kup_datatable_font_size) * 1) !important}.fontsize-big{font-size:calc(var(--kup_datatable_font_size) * 1.25);transition:font-size 0.1s}.fontsize-big .group-cell-content>span:before{font-size:calc(var(--kup_datatable_font_size) * 1.5) !important}th{background-color:var(--kup_datatable_th_background_color);border:var(--kup_datatable_th_border);border-left:0 none;box-sizing:border-box;top:0;touch-action:none;transition:background-color 0.25s ease;user-select:none}th:last-of-type{border-right:none}.header-cell__content{color:var(--kup-text-primary);display:flex;justify-content:space-between;padding:0.5em var(--kup-space-03);text-overflow:ellipsis;white-space:nowrap;font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.header-cell--centered .header-cell__content{justify-content:center}.header-cell--is-number .header-cell__content{justify-content:flex-end}.header-cell__title{overflow:hidden;text-overflow:ellipsis;user-select:none}.header-cell__icons{display:flex}.header-cell__icons .kup-icon{background-color:var(--kup-text-primary)}.header-cell__drag-handler{background:var(--kup-border-strong);height:100%;position:absolute;right:0;top:0;touch-action:none;user-select:none;width:var(--kup-space-01)}.header-cell__drag-handler:hover{background:var(--kup-border-strong-hover)}.header-cell--sortable{cursor:pointer}.header-cell--is-icon{width:30px}tbody{cursor:auto}tbody td{height:0;padding:0;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px;font-size:13px}tbody td>*{border:none !important}tbody tr kup-button{max-width:max-content}tbody tr[kup-draggable]{opacity:0.5}tbody tr.selected td{background-color:var(--kup_datatable_background_color_selected)}tbody tr:hover:not(.group):not(.selected) td{color:var(--kup_datatable_text_color_hover);background-color:var(--kup_datatable_background_color_hover)}tbody tr.group{background:var(--kup-layer-1-selected);border-top:var(--kup_datatable_border);color:var(--kup-text-secondary);font-weight:bold;cursor:pointer}tbody tr.group.group-label{border-bottom:none}tbody tr.group.group-total{border-top:none;line-height:0.5em}tbody tr.group>td{padding:0.5em 0}tbody tr.group>td .group-cell-content .indent{float:left;margin-left:0.25em}tbody tr.group>td .group-cell-content>span{display:inline-flex;outline:none;margin-left:0.25em;font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}tbody tr.group>td .group-cell-content .kup-icon{background-color:var(--kup-text-secondary)}tbody tr.group>td.total{border-bottom:1px solid var(--kup-border-subtle-selected);text-align:right;padding:0.5em var(--kup-space-03);font-family:var(--kup_datatable_font_family_monospace)}tbody tr.group>td.total.negative-number{color:var(--kup-danger-color-60)}tbody tr>td{box-sizing:border-box;transition:box-shadow 0.1s}tbody tr>td .row-expander{margin-right:0.5em}tbody tr>td .row-action{margin-right:0.2em}tbody tr [row-select-cell]{min-height:40px}tbody tr td[row-action-cell]{width:calc(3em * var(--kup_datatable_row_actions))}tbody tr td[row-action-cell] .f-image{cursor:pointer;margin-left:0.75em;display:inline-block;opacity:1;transition:0.25s ease-in-out}tbody tr td[row-action-cell] .f-image:hover{opacity:0.5}.kup-icon.overlay-action{display:none;position:absolute;top:0.5em;left:calc(50% - 0.625em)}th:hover .kup-icon.overlay-action{display:block}thead th{position:relative}th.obj:hover span:not(.overlay-action){opacity:0.5}.hidden span{color:transparent;position:relative;text-overflow:ellipsis;transition:color 200ms}.hidden span:hover{color:var(--kup-text-secondary)}.group-wrapper{--kup-chip-margin:0 4px}.totals-value{font-weight:bold;font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px;font-size:13px;font-family:var(--kup_datatable_font_family_monospace)}.totals-value.danger-text{color:var(--kup-danger-color-60) !important}.settings-trigger{cursor:pointer;display:block;width:32px;height:0;border-top-left-radius:25px 30px;border-top-right-radius:25px 30px;background-color:var(--kup-border-subtle);transition:height 0.25s}.settings-trigger.toggled{background-color:var(--kup-primary-color)}.settings-trigger.toggled .f-image__icon{background:var(--kup-text-on-primary-color) !important}.indent{display:inline-block;height:1em;width:2em}.indent~kup-image,.indent~kup-button{margin:0;vertical-align:middle}.indent~kup-image{display:inline-block}.indent~kup-button,.indent~kup-checkbox{display:inline-block}.actions-wrapper{display:flex;justify-content:flex-end;background-color:var(--kup-layer-1)}.actions-wrapper .insert-button .f-button .icon-button,.actions-wrapper .delete-button .f-button .icon-button,.actions-wrapper .history-button .f-button .icon-button,.actions-wrapper .save-button .f-button .icon-button{padding:0.55em}.actions-wrapper.paginator-top{border-left:var(--kup_datatable_border)}.kup-icon.kup-ascending-icon{-webkit-mask:var(--kup-ascending-icon);mask:var(--kup-ascending-icon)}.kup-icon.kup-collapsed-icon{-webkit-mask:var(--kup-collapsed-icon);mask:var(--kup-collapsed-icon)}.kup-icon.kup-descending-icon{-webkit-mask:var(--kup-descending-icon);mask:var(--kup-descending-icon)}.kup-icon.kup-expanded-icon{-webkit-mask:var(--kup-expanded-icon);mask:var(--kup-expanded-icon)}.kup-icon.kup-filter-remove-icon{-webkit-mask:var(--kup-filter-remove-icon);mask:var(--kup-filter-remove-icon)}.kup-icon.kup-key-icon{-webkit-mask:var(--kup-key-icon);mask:var(--kup-key-icon)}@media (max-width: 678px){.actions-wrapper{flex-direction:column-reverse}#kup-component.auto-width{width:auto}}:host([legacy-look]){--kup-textfield-background-color:transparent;--kup-fcell-width:100%;--kup-fcell-padding-dense:0px;--kup-dense-legacy-look-padding:var(--kup-space-00) var(--kup-space-03);--kup-textfield-extrasmall-padding:var(--kup-dense-legacy-look-padding)}:host([legacy-look]) th .header-cell__content{font-family:var(--kup_datatable_font_family_monospace);white-space:pre !important;font-size:11px;padding:var(--kup-dense-legacy-look-padding)}:host([legacy-look]) .f-cell__text{padding:var(--kup-dense-legacy-look-padding)}:host([legacy-look]) .f-cell.dense{min-height:var(--kup_fcell_dense_min_height)}:host([legacy-look]) .f-cell.medium{min-height:var(--kup_fcell_medium_min_height)}:host([legacy-look]) .f-cell.wide{min-height:var(--kup_fcell_wide_min_height)}.paginator-wrapper{display:flex;flex-flow:wrap}.paginator-tabs{width:100%}.paginator-tabs kup-paginator{display:inline-flex}.paginator-tabs kup-button{position:relative;height:100%;margin-left:0.25em;float:right}@media (max-width: 500px){.paginator-wrapper{min-width:fit-content}.above-wrapper.paginator-top{border-bottom:1px solid var(--kup-border-subtle)}}sticky-header{display:none}.persistent-header~sticky-header{background:var(--kup-gray-color-20);color:var(--kup-title-color);display:block;opacity:0;overflow:hidden;pointer-events:none;position:fixed;top:0;transition:opacity 0.25s ease-in-out;z-index:10}.persistent-header~sticky-header.activated{opacity:1;pointer-events:all}.persistent-header~sticky-header[hidden]{display:none}.persistent-header~sticky-header tr-sticky{display:inline-flex}.persistent-header~sticky-header th-sticky{box-sizing:border-box;display:inline-flex;padding:0 0.3125em}.persistent-header~sticky-header th-sticky .header-cell__content{width:100%}.fixed-column-r,.fixed-column,.fixed-row{background-color:var(--kup_datatable_background_color);color:var(--kup-text-color);position:sticky}thead .fixed-column-r,thead .fixed-column,thead .fixed-row,tfoot .fixed-column-r,tfoot .fixed-column,tfoot .fixed-row{z-index:10}table.custom-size th{position:sticky;inset-block-start:0;z-index:10}table.custom-size th.fixed-column,table.custom-size th.fixed-column-r{z-index:11}table.custom-size tfoot td{position:sticky;inset-block-end:0;z-index:10}table.custom-size tfoot td.fixed-column{z-index:11}tr:hover .fixed-row,tr:hover .fixed-column,tr:hover .fixed-column-r{background-color:var(--kup-gray-color-20)}tr.selected .fixed-column,tr.selected .fixed-row,tr.selected .fixed-row-r{background-color:var(--kup_datatable_background_color);background-image:linear-gradient(to right, rgba(var(--kup-primary-color-rgb), 0.175) 0%, rgba(var(--kup-primary-color-rgb), 0.175) 0.1%, rgba(var(--kup-primary-color-rgb), 0.175))}.fixed-row{top:0;z-index:4}.fixed-column{left:0;z-index:6}.fixed-column.fixed-row{z-index:8}.fixed-column-r{right:0;z-index:6}.fixed-column-r.fixed-row{z-index:8}thead tr .fixed-column,thead tr:hover:not(.group):not(.selected) .fixed-column,thead tr .fixed-column-r,thead tr:hover:not(.group):not(.selected) .fixed-column-r{background-color:var(--kup-gray-color-20)}tfoot tr:hover:not(.group):not(.selected) .fixed-row,tfoot tr:hover:not(.group):not(.selected) .fixed-column,tfoot tr:hover:not(.group):not(.selected) .fixed-column-r{background-color:var(--kup-gray-color-20)}:host([drag-enabled]) tr{touch-action:none}th[kup-drag-over]{background-color:rgba(var(--kup-success-color-rgb), 0.25)}th[kup-draggable]{cursor:grabbing !important;opacity:0.5}.droparea{animation:fade-in 0.25s ease-out;background:var(--kup_datatable_background_color);border-radius:8px;box-shadow:var(--kup-box-shadow);display:none;padding:1em 0.5em}.droparea--visible{display:flex}.droparea__groups{border:2px dashed var(--kup-text-color)}.droparea__remove{border:2px dashed var(--kup-danger-color-60)}.droparea__groups,.droparea__remove{background:var(--kup_datatable_background_color);box-shadow:var(--kup-box-shadow);display:block;height:50px;margin:0 0.5em;opacity:0.5;position:relative;transition:opacity 0.25s;width:50px}.droparea__groups .f-image,.droparea__remove .f-image{width:100%;position:absolute}.droparea__groups .f-image:first-of-type,.droparea__remove .f-image:first-of-type{opacity:1}.droparea__groups .f-image:last-of-type,.droparea__remove .f-image:last-of-type{opacity:0}.droparea__groups[kup-drag-over],.droparea__remove[kup-drag-over]{opacity:1}.droparea__groups[kup-drag-over] .f-image:first-of-type,.droparea__remove[kup-drag-over] .f-image:first-of-type{opacity:0}.droparea__groups[kup-drag-over] .f-image:last-of-type,.droparea__remove[kup-drag-over] .f-image:last-of-type{opacity:1}:host(.kup-cross-selection) #kup-component th.selected{box-shadow:inset 0px 4px 0px 0px var(--kup-secondary-color)}:host(.kup-cross-selection) #kup-component tbody td.selected{background-color:rgba(var(--kup-text-color-rgb), 0.075)}:host(.kup-cross-selection) #kup-component tbody td.selected.fixed-column,:host(.kup-cross-selection) #kup-component tbody td.selected.fixed-row{background-color:var(--kup_datatable_background_color);background-image:linear-gradient(to right, rgba(var(--kup-text-color-rgb), 0.075) 0%, rgba(var(--kup-text-color-rgb), 0.075) 0.1%, rgba(var(--kup-text-color-rgb), 0.075))}:host(.kup-cross-selection) #kup-component tr.selected td{background-color:var(--kup-gray-color-20)}:host(.kup-cross-selection) #kup-component tr.selected td:first-of-type{box-shadow:inset 4px 0px 0px 0px var(--kup-secondary-color)}:host(.kup-cross-selection) #kup-component tr.selected td.selected{background-color:rgba(var(--kup-text-color-rgb), 0.15)}:host(.kup-cross-selection) #kup-component tr.selected td.fixed-column,:host(.kup-cross-selection) #kup-component tr.selected td.fixed-row{background-color:var(--kup_datatable_background_color);background-image:linear-gradient(to right, rgba(var(--kup-text-color-rgb), 0.075) 0%, rgba(var(--kup-text-color-rgb), 0.075) 0.1%, rgba(var(--kup-text-color-rgb), 0.075))}:host(.kup-cross-selection) #kup-component tr.selected td.fixed-column.selected,:host(.kup-cross-selection) #kup-component tr.selected td.fixed-row.selected{background-image:linear-gradient(to right, rgba(var(--kup-text-color-rgb), 0.15) 0%, rgba(var(--kup-text-color-rgb), 0.15) 0.1%, rgba(var(--kup-text-color-rgb), 0.15))}:host(.kup-layout-fixed) #kup-component table{table-layout:fixed;width:100%}tr.clickable{cursor:pointer}.commands{display:flex;gap:1px}";
8557
8557
  const KupDataTableStyle0 = kupDataTableCss;
8558
8558
 
8559
- var __classPrivateFieldGet$6 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8559
+ var __classPrivateFieldGet$7 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8560
8560
  if (kind === "a" && !f)
8561
8561
  throw new TypeError("Private accessor was defined without a getter");
8562
8562
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -8701,18 +8701,18 @@ const KupDataTable = class {
8701
8701
  _KupDataTable_INSERT_PREFIX.set(this, 'insert_');
8702
8702
  _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER.set(this, 50);
8703
8703
  _KupDataTable_stickyHeaderPosition.set(this, () => {
8704
- if (__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f")) {
8705
- if (__classPrivateFieldGet$6(this, _KupDataTable_tableIntersecting, "f")) {
8706
- if (!__classPrivateFieldGet$6(this, _KupDataTable_theadIntersecting, "f")) {
8707
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
8708
- __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").classList.add('activated');
8704
+ if (__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f")) {
8705
+ if (__classPrivateFieldGet$7(this, _KupDataTable_tableIntersecting, "f")) {
8706
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_theadIntersecting, "f")) {
8707
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
8708
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").classList.add('activated');
8709
8709
  }
8710
8710
  else {
8711
- __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8711
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8712
8712
  }
8713
8713
  }
8714
8714
  else {
8715
- __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8715
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").classList.remove('activated');
8716
8716
  }
8717
8717
  }
8718
8718
  });
@@ -8720,8 +8720,8 @@ const KupDataTable = class {
8720
8720
  this.kupUpdate.emit({
8721
8721
  comp: this,
8722
8722
  id: this.rootElement.id,
8723
- originalData: __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"),
8724
- updatedData: getDiffData(__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
8723
+ originalData: __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f"),
8724
+ updatedData: getDiffData(__classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
8725
8725
  command: command,
8726
8726
  });
8727
8727
  });
@@ -8823,7 +8823,7 @@ const KupDataTable = class {
8823
8823
  if (this.store && this.stateId) {
8824
8824
  const state = this.store.getState(this.stateId);
8825
8825
  if (state != null) {
8826
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Initializing stateId ' + this.stateId);
8826
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Initializing stateId ' + this.stateId);
8827
8827
  // *** PROPS ***
8828
8828
  this.filters = Object.assign({}, state.filters);
8829
8829
  this.groups = [...state.groups];
@@ -8863,120 +8863,120 @@ const KupDataTable = class {
8863
8863
  persistState() {
8864
8864
  if (this.store && this.stateId) {
8865
8865
  let somethingChanged = false;
8866
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
8866
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
8867
8867
  this.state.filters = Object.assign({}, this.filters);
8868
8868
  somethingChanged = true;
8869
8869
  }
8870
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groups, this.groups)) {
8870
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groups, this.groups)) {
8871
8871
  this.state.groups = [...this.groups];
8872
8872
  somethingChanged = true;
8873
8873
  }
8874
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sort, this.sort)) {
8874
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sort, this.sort)) {
8875
8875
  this.state.sort = [...this.sort];
8876
8876
  somethingChanged = true;
8877
8877
  }
8878
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.expandGroups, this.expandGroups)) {
8878
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.expandGroups, this.expandGroups)) {
8879
8879
  this.state.expandGroups = this.expandGroups;
8880
8880
  somethingChanged = true;
8881
8881
  }
8882
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groupLabelDisplay, this.groupLabelDisplay)) {
8882
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.groupLabelDisplay, this.groupLabelDisplay)) {
8883
8883
  this.state.groupLabelDisplay = this.groupLabelDisplay;
8884
8884
  somethingChanged = true;
8885
8885
  }
8886
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
8886
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
8887
8887
  this.state.density = this.density;
8888
8888
  somethingChanged = true;
8889
8889
  }
8890
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableExtraColumns, this.enableExtraColumns)) {
8890
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableExtraColumns, this.enableExtraColumns)) {
8891
8891
  this.state.enableExtraColumns = this.enableExtraColumns;
8892
8892
  somethingChanged = true;
8893
8893
  }
8894
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableSortableColumns, this.enableSortableColumns)) {
8894
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.enableSortableColumns, this.enableSortableColumns)) {
8895
8895
  this.state.enableSortableColumns = this.enableSortableColumns;
8896
8896
  somethingChanged = true;
8897
8897
  }
8898
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.forceOneLine, this.forceOneLine)) {
8898
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.forceOneLine, this.forceOneLine)) {
8899
8899
  this.state.forceOneLine = this.forceOneLine;
8900
8900
  somethingChanged = true;
8901
8901
  }
8902
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
8902
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
8903
8903
  this.state.globalFilter = this.globalFilter;
8904
8904
  somethingChanged = true;
8905
8905
  }
8906
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
8906
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
8907
8907
  this.state.globalFilterValue = this.globalFilterValue;
8908
8908
  somethingChanged = true;
8909
8909
  }
8910
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.headerIsPersistent, this.headerIsPersistent)) {
8910
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.headerIsPersistent, this.headerIsPersistent)) {
8911
8911
  this.state.headerIsPersistent = this.headerIsPersistent;
8912
8912
  somethingChanged = true;
8913
8913
  }
8914
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.lazyLoadRows, this.lazyLoadRows)) {
8914
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.lazyLoadRows, this.lazyLoadRows)) {
8915
8915
  this.state.lazyLoadRows = this.lazyLoadRows;
8916
8916
  somethingChanged = true;
8917
8917
  }
8918
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
8918
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
8919
8919
  this.state.loadMoreLimit = this.loadMoreLimit;
8920
8920
  somethingChanged = true;
8921
8921
  }
8922
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selection, this.selection)) {
8922
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selection, this.selection)) {
8923
8923
  this.state.selection = this.selection;
8924
8924
  somethingChanged = true;
8925
8925
  }
8926
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
8926
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
8927
8927
  this.state.rowsPerPage = this.currentRowsPerPage;
8928
8928
  somethingChanged = true;
8929
8929
  }
8930
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
8930
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
8931
8931
  this.state.showFilters = this.showFilters;
8932
8932
  somethingChanged = true;
8933
8933
  }
8934
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showGroups, this.showGroups)) {
8934
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showGroups, this.showGroups)) {
8935
8935
  this.state.showGroups = this.showGroups;
8936
8936
  somethingChanged = true;
8937
8937
  }
8938
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showHeader, this.showHeader)) {
8938
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showHeader, this.showHeader)) {
8939
8939
  this.state.showHeader = this.showHeader;
8940
8940
  somethingChanged = true;
8941
8941
  }
8942
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
8942
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
8943
8943
  this.state.showLoadMore = this.showLoadMore;
8944
8944
  somethingChanged = true;
8945
8945
  }
8946
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showPaginator, this.showPaginator)) {
8946
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showPaginator, this.showPaginator)) {
8947
8947
  this.state.showPaginator = this.showPaginator;
8948
8948
  somethingChanged = true;
8949
8949
  }
8950
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortEnabled, this.sortEnabled)) {
8950
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortEnabled, this.sortEnabled)) {
8951
8951
  this.state.sortEnabled = this.sortEnabled;
8952
8952
  somethingChanged = true;
8953
8953
  }
8954
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortableColumnsMutateData, this.sortableColumnsMutateData)) {
8954
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.sortableColumnsMutateData, this.sortableColumnsMutateData)) {
8955
8955
  this.state.sortableColumnsMutateData =
8956
8956
  this.sortableColumnsMutateData;
8957
8957
  somethingChanged = true;
8958
8958
  }
8959
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
8959
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
8960
8960
  this.state.pageSelected = this.currentPage;
8961
8961
  somethingChanged = true;
8962
8962
  }
8963
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dragEnabled, this.dragEnabled)) {
8963
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dragEnabled, this.dragEnabled)) {
8964
8964
  this.state.dragEnabled = this.dragEnabled;
8965
8965
  somethingChanged = true;
8966
8966
  }
8967
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dropEnabled, this.dropEnabled)) {
8967
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.dropEnabled, this.dropEnabled)) {
8968
8968
  this.state.dropEnabled = this.dropEnabled;
8969
8969
  somethingChanged = true;
8970
8970
  }
8971
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
8971
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
8972
8972
  this.state.showFooter = this.showFooter;
8973
8973
  somethingChanged = true;
8974
8974
  }
8975
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
8975
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
8976
8976
  this.state.totals = Object.assign({}, this.totals);
8977
8977
  somethingChanged = true;
8978
8978
  }
8979
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selectRowsById, this.selectedRows.reduce((accumulator, row, currentIndex) => {
8979
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.selectRowsById, this.selectedRows.reduce((accumulator, row, currentIndex) => {
8980
8980
  const prefix = currentIndex > 0 ? ';' : '';
8981
8981
  return accumulator + prefix + row.id;
8982
8982
  }, ''))) {
@@ -8986,7 +8986,7 @@ const KupDataTable = class {
8986
8986
  }, '');
8987
8987
  somethingChanged = true;
8988
8988
  }
8989
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.visibleColumns, this.visibleColumns)) {
8989
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.visibleColumns, this.visibleColumns)) {
8990
8990
  this.state.visibleColumns = [...this.visibleColumns];
8991
8991
  somethingChanged = true;
8992
8992
  }
@@ -8995,7 +8995,7 @@ const KupDataTable = class {
8995
8995
  return;
8996
8996
  }
8997
8997
  if (somethingChanged) {
8998
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
8998
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
8999
8999
  this.store.persistState(this.stateId, this.state);
9000
9000
  }
9001
9001
  }
@@ -9004,19 +9004,19 @@ const KupDataTable = class {
9004
9004
  this.currentRowsPerPage = newValue;
9005
9005
  }
9006
9006
  expandGroupsHandler() {
9007
- if (!__classPrivateFieldGet$6(this, _KupDataTable_isRestoringState, "f")) {
9007
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_isRestoringState, "f")) {
9008
9008
  this.recalculateRows();
9009
9009
  // reset group state
9010
9010
  this.groupState = {};
9011
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
9011
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
9012
9012
  }
9013
9013
  }
9014
9014
  filtersChanged() {
9015
9015
  this.expandGroupsHandler();
9016
9016
  }
9017
9017
  recalculateRows() {
9018
- if (!__classPrivateFieldGet$6(this, _KupDataTable_isRestoringState, "f")) {
9019
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
9018
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_isRestoringState, "f")) {
9019
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
9020
9020
  }
9021
9021
  }
9022
9022
  identifyAndInitRows() {
@@ -9024,7 +9024,7 @@ const KupDataTable = class {
9024
9024
  identify(this.getRows());
9025
9025
  }
9026
9026
  this.expandGroupsHandler();
9027
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
9027
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
9028
9028
  }
9029
9029
  decorateAndInitForUpdTable() {
9030
9030
  var _a, _b, _c;
@@ -9038,8 +9038,8 @@ const KupDataTable = class {
9038
9038
  ? SelectionMode.MULTIPLE_CHECKBOX
9039
9039
  : this.selection;
9040
9040
  __classPrivateFieldSet$3(this, _KupDataTable_insertedRowIds, [], "f");
9041
- __classPrivateFieldSet$3(this, _KupDataTable_originalDataLoadedMaxId, ((_c = __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows) === null || _c === void 0 ? void 0 : _c.length) > 0
9042
- ? Math.max(...__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows.map((r) => parseInt(r.id)))
9041
+ __classPrivateFieldSet$3(this, _KupDataTable_originalDataLoadedMaxId, ((_c = __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f").rows) === null || _c === void 0 ? void 0 : _c.length) > 0
9042
+ ? Math.max(...__classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f").rows.map((r) => parseInt(r.id)))
9043
9043
  : -1, "f");
9044
9044
  }
9045
9045
  }
@@ -9048,22 +9048,22 @@ const KupDataTable = class {
9048
9048
  if (((_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.columns) === null || _b === void 0 ? void 0 : _b.length) > 0 && ((_d = (_c = this.data) === null || _c === void 0 ? void 0 : _c.rows) === null || _d === void 0 ? void 0 : _d.length) > 0) {
9049
9049
  const columnsNumber = this.data.columns.length;
9050
9050
  const cellsNumber = this.data.rows.reduce((acc, r) => acc + Object.keys(r.cells).length, 0);
9051
- const maxCellsNumberPerPage = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").perfTuning.data.maxCellsPerPage;
9051
+ const maxCellsNumberPerPage = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").perfTuning.data.maxCellsPerPage;
9052
9052
  if (cellsNumber > maxCellsNumberPerPage) {
9053
9053
  // Rounds a number up to the nearest multiple of ten.
9054
9054
  __classPrivateFieldSet$3(this, _KupDataTable_maxRowsPerPage, Math.ceil(maxCellsNumberPerPage / columnsNumber / 10) * 10, "f");
9055
9055
  }
9056
- if (this.rowsPerPage > __classPrivateFieldGet$6(this, _KupDataTable_maxRowsPerPage, "f"))
9057
- this.rowsPerPage = __classPrivateFieldGet$6(this, _KupDataTable_maxRowsPerPage, "f");
9056
+ if (this.rowsPerPage > __classPrivateFieldGet$7(this, _KupDataTable_maxRowsPerPage, "f"))
9057
+ this.rowsPerPage = __classPrivateFieldGet$7(this, _KupDataTable_maxRowsPerPage, "f");
9058
9058
  }
9059
9059
  }
9060
9060
  recalculateRowsAndUndoSelections() {
9061
- if (!__classPrivateFieldGet$6(this, _KupDataTable_isRestoringState, "f")) {
9061
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_isRestoringState, "f")) {
9062
9062
  this.recalculateRows();
9063
9063
  // reset group state
9064
9064
  this.groupState = {};
9065
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
9066
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
9065
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_forceGroupExpansion).call(this);
9066
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
9067
9067
  }
9068
9068
  }
9069
9069
  controlFixedRowsColumns() {
@@ -9082,8 +9082,8 @@ const KupDataTable = class {
9082
9082
  }
9083
9083
  }
9084
9084
  recalculateData() {
9085
- if (__classPrivateFieldGet$6(this, _KupDataTable_initialized, "f")) {
9086
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
9085
+ if (__classPrivateFieldGet$7(this, _KupDataTable_initialized, "f")) {
9086
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
9087
9087
  }
9088
9088
  }
9089
9089
  /**
@@ -9091,14 +9091,14 @@ const KupDataTable = class {
9091
9091
  */
9092
9092
  async closeColumnMenu() {
9093
9093
  this.columnMenuAnchor = null;
9094
- if (__classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f")) {
9095
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").data = null;
9094
+ if (__classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f")) {
9095
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").data = null;
9096
9096
  }
9097
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuInstance, "f").close(__classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"));
9097
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuInstance, "f").close(__classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"));
9098
9098
  this.kupDataTableColumnMenu.emit({
9099
9099
  comp: this,
9100
9100
  id: this.rootElement.id,
9101
- card: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"),
9101
+ card: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"),
9102
9102
  event: null,
9103
9103
  open: false,
9104
9104
  });
@@ -9141,8 +9141,8 @@ const KupDataTable = class {
9141
9141
  * Closes the insert new record card (called by backend, on success)
9142
9142
  */
9143
9143
  async closeInsertCard() {
9144
- if (__classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f")) {
9145
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").remove();
9144
+ if (__classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f")) {
9145
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").remove();
9146
9146
  __classPrivateFieldSet$3(this, _KupDataTable_insertCard, null, "f");
9147
9147
  }
9148
9148
  }
@@ -9150,8 +9150,8 @@ const KupDataTable = class {
9150
9150
  * Closes the delete confirm card (called by backend, on success)
9151
9151
  */
9152
9152
  async closeConfirmDeleteCard() {
9153
- if (__classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteDialog, "f")) {
9154
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteDialog, "f").close();
9153
+ if (__classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteDialog, "f")) {
9154
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteDialog, "f").close();
9155
9155
  __classPrivateFieldSet$3(this, _KupDataTable_confirmDeleteCard, null, "f");
9156
9156
  __classPrivateFieldSet$3(this, _KupDataTable_confirmDeleteDialog, null, "f");
9157
9157
  }
@@ -9161,23 +9161,23 @@ const KupDataTable = class {
9161
9161
  */
9162
9162
  async getCards() {
9163
9163
  const obj = {};
9164
- if (__classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f")) {
9164
+ if (__classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f")) {
9165
9165
  obj['insertCard'] = {
9166
- el: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f"),
9167
- messageWrapper: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
9168
- message: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_ID, "f")),
9169
- submitButton: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
9170
- cancelButton: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
9171
- form: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_FIELDS_FORM_ID, "f")),
9166
+ el: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f"),
9167
+ messageWrapper: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
9168
+ message: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_ID, "f")),
9169
+ submitButton: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
9170
+ cancelButton: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
9171
+ form: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_FIELDS_FORM_ID, "f")),
9172
9172
  };
9173
9173
  }
9174
- if (__classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f")) {
9174
+ if (__classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f")) {
9175
9175
  obj['confirmDeleteCard'] = {
9176
- el: __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f"),
9177
- messageWrapper: __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
9178
- message: __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_ID, "f")),
9179
- submitButton: __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
9180
- cancelButton: __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
9176
+ el: __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f"),
9177
+ messageWrapper: __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f")),
9178
+ message: __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_ID, "f")),
9179
+ submitButton: __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_SUBMIT_ID, "f")),
9180
+ cancelButton: __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").querySelector('#' + __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_CANCEL_ID, "f")),
9181
9181
  };
9182
9182
  }
9183
9183
  /*
@@ -9237,7 +9237,7 @@ const KupDataTable = class {
9237
9237
  */
9238
9238
  async hideColumn(column) {
9239
9239
  var _a;
9240
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hide(this.data, [column.name]);
9240
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hide(this.data, [column.name]);
9241
9241
  if ((_a = this.visibleColumns) === null || _a === void 0 ? void 0 : _a.length) {
9242
9242
  this.visibleColumns = this.visibleColumns.filter((colName) => colName != column.name);
9243
9243
  }
@@ -9254,8 +9254,8 @@ const KupDataTable = class {
9254
9254
  async setGroupExpansionByDepth(modifier) {
9255
9255
  const toStream = () => {
9256
9256
  const streamlined = [];
9257
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_paginatedRows, "f").length; index++) {
9258
- const row = __classPrivateFieldGet$6(this, _KupDataTable_paginatedRows, "f")[index];
9257
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_paginatedRows, "f").length; index++) {
9258
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_paginatedRows, "f")[index];
9259
9259
  const group = row.group;
9260
9260
  if (group) {
9261
9261
  recursive(row);
@@ -9290,7 +9290,7 @@ const KupDataTable = class {
9290
9290
  }
9291
9291
  };
9292
9292
  const getGroupDepth = () => {
9293
- const firstGroup = __classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[0];
9293
+ const firstGroup = __classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[0];
9294
9294
  let maxDepth = 0;
9295
9295
  const traverseGroup = (row, currentDepth) => {
9296
9296
  const group = row.group;
@@ -9309,14 +9309,14 @@ const KupDataTable = class {
9309
9309
  };
9310
9310
  const paginatedStream = toStream();
9311
9311
  let maxDepth = getGroupDepth() + modifier;
9312
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_rows, "f").length; index++) {
9313
- const row = __classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[index];
9312
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_rows, "f").length; index++) {
9313
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[index];
9314
9314
  const group = row.group;
9315
9315
  if (group) {
9316
9316
  handleChildren(row, false, maxDepth, 0);
9317
9317
  }
9318
9318
  }
9319
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupState).call(this);
9319
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupState).call(this);
9320
9320
  this.refresh();
9321
9321
  }
9322
9322
  /**
@@ -9326,7 +9326,7 @@ const KupDataTable = class {
9326
9326
  * @returns {string|KupDataColumn} Returns the new column created or a string containing the error message if something went wrong.
9327
9327
  */
9328
9328
  async newColumn(type, options) {
9329
- const result = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.new(this.data, type, options);
9329
+ const result = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.new(this.data, type, options);
9330
9330
  this.refresh();
9331
9331
  return result;
9332
9332
  }
@@ -9335,49 +9335,49 @@ const KupDataTable = class {
9335
9335
  * @param {string} column - Name of the column.
9336
9336
  */
9337
9337
  async openColumnMenu(column) {
9338
- if (__classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f")) {
9339
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeColumnMenuCard).call(this);
9338
+ if (__classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f")) {
9339
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeColumnMenuCard).call(this);
9340
9340
  }
9341
9341
  this.columnMenuAnchor = column;
9342
9342
  __classPrivateFieldSet$3(this, _KupDataTable_columnMenuCard, document.createElement('kup-card'), "f");
9343
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").isMenu = true;
9344
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").layoutNumber = 12;
9345
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").sizeX = 'auto';
9346
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").sizeY = 'auto';
9347
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-click', (e) => {
9343
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").isMenu = true;
9344
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").layoutNumber = 12;
9345
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").sizeX = 'auto';
9346
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").sizeY = 'auto';
9347
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-click', (e) => {
9348
9348
  this.kupDataTableColumnMenu.emit({
9349
9349
  comp: this,
9350
9350
  id: this.rootElement.id,
9351
- card: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"),
9351
+ card: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"),
9352
9352
  event: e,
9353
- open: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").menuVisible,
9353
+ open: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").menuVisible,
9354
9354
  });
9355
9355
  });
9356
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-event', (e) => {
9357
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuInstance, "f").eventHandlers(e, this);
9356
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").addEventListener('kup-card-event', (e) => {
9357
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuInstance, "f").eventHandlers(e, this);
9358
9358
  this.kupDataTableColumnMenu.emit({
9359
9359
  comp: this,
9360
9360
  id: this.rootElement.id,
9361
- card: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"),
9361
+ card: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"),
9362
9362
  event: e,
9363
- open: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").menuVisible,
9363
+ open: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").menuVisible,
9364
9364
  });
9365
9365
  });
9366
9366
  __classPrivateFieldSet$3(this, _KupDataTable_clickCbDropCard, {
9367
9367
  cb: () => {
9368
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeColumnMenuCard).call(this);
9368
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeColumnMenuCard).call(this);
9369
9369
  },
9370
- el: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"),
9370
+ el: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"),
9371
9371
  }, "f");
9372
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbDropCard, "f"), true);
9373
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column', column);
9374
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$6(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.getVisibleColumns(), column));
9375
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuInstance, "f").open(this, column);
9376
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"));
9372
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbDropCard, "f"), true);
9373
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column', column);
9374
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$7(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.getVisibleColumns(), column));
9375
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuInstance, "f").open(this, column);
9376
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"));
9377
9377
  this.kupDataTableColumnMenu.emit({
9378
9378
  comp: this,
9379
9379
  id: this.rootElement.id,
9380
- card: __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"),
9380
+ card: __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"),
9381
9381
  event: null,
9382
9382
  open: true,
9383
9383
  });
@@ -9387,7 +9387,7 @@ const KupDataTable = class {
9387
9387
  */
9388
9388
  async refresh(recalcRows) {
9389
9389
  if (recalcRows) {
9390
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
9390
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
9391
9391
  }
9392
9392
  forceUpdate(this);
9393
9393
  }
@@ -9396,8 +9396,8 @@ const KupDataTable = class {
9396
9396
  */
9397
9397
  async resizeCallback() {
9398
9398
  if (this.lazyLoadCells &&
9399
- this.rootElement.clientWidth !== __classPrivateFieldGet$6(this, _KupDataTable_oldWidth, "f")) {
9400
- window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_resizeTimeout, "f"));
9399
+ this.rootElement.clientWidth !== __classPrivateFieldGet$7(this, _KupDataTable_oldWidth, "f")) {
9400
+ window.clearTimeout(__classPrivateFieldGet$7(this, _KupDataTable_resizeTimeout, "f"));
9401
9401
  __classPrivateFieldSet$3(this, _KupDataTable_resizeTimeout, window.setTimeout(() => this.refresh(), 300), "f");
9402
9402
  }
9403
9403
  }
@@ -9412,7 +9412,7 @@ const KupDataTable = class {
9412
9412
  if (!column) {
9413
9413
  return;
9414
9414
  }
9415
- const row = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, rowId);
9415
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, rowId);
9416
9416
  if (!row) {
9417
9417
  return;
9418
9418
  }
@@ -9472,7 +9472,7 @@ const KupDataTable = class {
9472
9472
  this.selectedRows = [];
9473
9473
  for (let index = 0; index < rowsIdentifiers.length; index++) {
9474
9474
  const id = rowsIdentifiers[index];
9475
- const row = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id);
9475
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id);
9476
9476
  if (row) {
9477
9477
  if (!firstRowSelectedId) {
9478
9478
  firstRowSelectedId = id;
@@ -9500,11 +9500,11 @@ const KupDataTable = class {
9500
9500
  async scrollToRow(rowIdentifier) {
9501
9501
  var _a;
9502
9502
  const id = rowIdentifier;
9503
- const row = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id);
9503
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id);
9504
9504
  if (row) {
9505
- const idx = __classPrivateFieldGet$6(this, _KupDataTable_rows, "f").indexOf(row) - 1;
9505
+ const idx = __classPrivateFieldGet$7(this, _KupDataTable_rows, "f").indexOf(row) - 1;
9506
9506
  if (idx >= 1) {
9507
- (_a = __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f")[idx]) === null || _a === void 0 ? void 0 : _a.scrollIntoView();
9507
+ (_a = __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f")[idx]) === null || _a === void 0 ? void 0 : _a.scrollIntoView();
9508
9508
  }
9509
9509
  }
9510
9510
  }
@@ -9512,13 +9512,13 @@ const KupDataTable = class {
9512
9512
  * Public method to wait until the component is fully ready.
9513
9513
  */
9514
9514
  async waitForReady() {
9515
- return __classPrivateFieldGet$6(this, _KupDataTable_readyPromise, "f");
9515
+ return __classPrivateFieldGet$7(this, _KupDataTable_readyPromise, "f");
9516
9516
  }
9517
9517
  /**
9518
9518
  * This method is used to retrieve last focused row or the first if there's no row focused
9519
9519
  */
9520
9520
  async getLastFocusedRow() {
9521
- return __classPrivateFieldGet$6(this, _KupDataTable_lastFocusedRow, "f");
9521
+ return __classPrivateFieldGet$7(this, _KupDataTable_lastFocusedRow, "f");
9522
9522
  }
9523
9523
  //---- Lifecycle hooks ----
9524
9524
  connectedCallback() {
@@ -9527,12 +9527,12 @@ const KupDataTable = class {
9527
9527
  }), "f");
9528
9528
  }
9529
9529
  componentWillLoad() {
9530
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logLoad(this, false);
9531
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.register(this);
9532
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").theme.register(this);
9533
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").toolbar.register(this.rootElement);
9530
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logLoad(this, false);
9531
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.register(this);
9532
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").theme.register(this);
9533
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").toolbar.register(this.rootElement);
9534
9534
  if (!this.emptyDataLabel) {
9535
- this.emptyDataLabel = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA);
9535
+ this.emptyDataLabel = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA);
9536
9536
  }
9537
9537
  __classPrivateFieldSet$3(this, _KupDataTable_columnMenuInstance, new KupColumnMenu(), "f");
9538
9538
  __classPrivateFieldSet$3(this, _KupDataTable_filtersColumnMenuInstance, new FiltersColumnMenu(), "f");
@@ -9557,19 +9557,19 @@ const KupDataTable = class {
9557
9557
  __classPrivateFieldSet$3(this, _KupDataTable_navBarHeight, 0, "f");
9558
9558
  }
9559
9559
  if (document.querySelector('.topbar')) {
9560
- __classPrivateFieldSet$3(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$6(this, _KupDataTable_navBarHeight, "f") + document.querySelector('.topbar').clientHeight, "f");
9560
+ __classPrivateFieldSet$3(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$7(this, _KupDataTable_navBarHeight, "f") + document.querySelector('.topbar').clientHeight, "f");
9561
9561
  }
9562
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_setObserver).call(this);
9562
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_setObserver).call(this);
9563
9563
  //this.recalculateRows();
9564
9564
  // Detects is the browser is Safari. If needed, this function can be moved into an external file and then imported into components
9565
9565
  __classPrivateFieldSet$3(this, _KupDataTable_isSafariBrowser, CSS.supports('position', '-webkit-sticky') ||
9566
9566
  !!(window && window.safari), "f");
9567
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
9567
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateData).call(this);
9568
9568
  __classPrivateFieldSet$3(this, _KupDataTable_initialized, true, "f");
9569
9569
  this.decorateAndInitForUpdTable();
9570
9570
  }
9571
9571
  componentWillRender() {
9572
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logRender(this, false);
9572
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logRender(this, false);
9573
9573
  }
9574
9574
  componentDidRender() {
9575
9575
  // If the component is not connected this method must not be executed
@@ -9584,45 +9584,45 @@ const KupDataTable = class {
9584
9584
  }
9585
9585
  }
9586
9586
  requestAnimationFrame(async () => {
9587
- if (root && __classPrivateFieldGet$6(this, _KupDataTable_readyResolve, "f")) {
9588
- __classPrivateFieldGet$6(this, _KupDataTable_readyResolve, "f").call(this);
9587
+ if (root && __classPrivateFieldGet$7(this, _KupDataTable_readyResolve, "f")) {
9588
+ __classPrivateFieldGet$7(this, _KupDataTable_readyResolve, "f").call(this);
9589
9589
  __classPrivateFieldSet$3(this, _KupDataTable_readyResolve, null, "f");
9590
9590
  }
9591
9591
  });
9592
9592
  if (this.showCustomization) {
9593
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_customizePanelPosition).call(this);
9593
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_customizePanelPosition).call(this);
9594
9594
  }
9595
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_totalMenuPosition).call(this);
9596
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_checkScrollOnHover).call(this);
9597
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_didRenderObservers).call(this);
9598
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_didRenderInteractables).call(this);
9599
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
9595
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_totalMenuPosition).call(this);
9596
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_checkScrollOnHover).call(this);
9597
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_didRenderObservers).call(this);
9598
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_didRenderInteractables).call(this);
9599
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
9600
9600
  if (this.headerIsPersistent &&
9601
9601
  this.tableHeight === undefined &&
9602
9602
  this.tableWidth === undefined) {
9603
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
9603
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_updateStickyHeaderSize).call(this);
9604
9604
  }
9605
- setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_updateFixedRowsAndColumnsCssVariables).call(this), 50);
9605
+ setTimeout(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_updateFixedRowsAndColumnsCssVariables).call(this), 50);
9606
9606
  // *** Store
9607
9607
  if (this.lazyLoadCells) {
9608
9608
  this.persistState();
9609
9609
  }
9610
9610
  // ***
9611
9611
  __classPrivateFieldSet$3(this, _KupDataTable_oldWidth, this.rootElement.clientWidth, "f");
9612
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logRender(this, true);
9612
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logRender(this, true);
9613
9613
  }
9614
9614
  componentDidLoad() {
9615
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_didLoadObservers).call(this);
9616
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_didLoadEventHandling).call(this);
9617
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_didLoadInteractables).call(this);
9615
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_didLoadObservers).call(this);
9616
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_didLoadEventHandling).call(this);
9617
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_didLoadInteractables).call(this);
9618
9618
  this.lazyLoadCells = true;
9619
9619
  this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
9620
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").resize.observe(this.rootElement);
9621
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logLoad(this, true);
9620
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").resize.observe(this.rootElement);
9621
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logLoad(this, true);
9622
9622
  }
9623
9623
  resetCurrentPage() {
9624
9624
  this.currentPage = 1;
9625
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
9625
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
9626
9626
  }
9627
9627
  getColumns() {
9628
9628
  return this.data && this.data.columns
@@ -9642,7 +9642,7 @@ const KupDataTable = class {
9642
9642
  }
9643
9643
  // Starting columns filter
9644
9644
  let resultVisibleColumns = this.getColumns().filter((col) => {
9645
- const isNotCodVer = !__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
9645
+ const isNotCodVer = !__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
9646
9646
  if (this.visibleColumns) {
9647
9647
  // if visible columns is specified, include only those columns
9648
9648
  return isNotCodVer && this.visibleColumns.includes(col.name);
@@ -9657,7 +9657,7 @@ const KupDataTable = class {
9657
9657
  this.visibleColumns.indexOf(b.name));
9658
9658
  }
9659
9659
  // Check grouping e filter based on group visibility
9660
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9660
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9661
9661
  return resultVisibleColumns.filter((column) => {
9662
9662
  let group = null;
9663
9663
  for (let currentGroup of this.groups) {
@@ -9675,7 +9675,7 @@ const KupDataTable = class {
9675
9675
  return resultVisibleColumns;
9676
9676
  }
9677
9677
  getGroupByName(column) {
9678
- if (!__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9678
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9679
9679
  return null;
9680
9680
  }
9681
9681
  for (let group of this.groups) {
@@ -9686,7 +9686,7 @@ const KupDataTable = class {
9686
9686
  return null;
9687
9687
  }
9688
9688
  getColumnValues(column) {
9689
- return __classPrivateFieldGet$6(this, _KupDataTable_filtersRowsInstance, "f").getColumnValues(this, column, this.globalFilterValue, __classPrivateFieldGet$6(this, _KupDataTable_filtersColumnMenuInstance, "f"));
9689
+ return __classPrivateFieldGet$7(this, _KupDataTable_filtersRowsInstance, "f").getColumnValues(this, column, this.globalFilterValue, __classPrivateFieldGet$7(this, _KupDataTable_filtersColumnMenuInstance, "f"));
9690
9690
  }
9691
9691
  getRows() {
9692
9692
  return this.data && this.data.rows ? this.data.rows : [];
@@ -9701,7 +9701,7 @@ const KupDataTable = class {
9701
9701
  }
9702
9702
  async defaultSortingFunction(columns, receivingColumnIndex, sortedColumnIndex, useNewObject = false) {
9703
9703
  const toSort = !useNewObject ? columns : [...columns];
9704
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, toSort, receivingColumnIndex, sortedColumnIndex);
9704
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, toSort, receivingColumnIndex, sortedColumnIndex);
9705
9705
  return toSort;
9706
9706
  }
9707
9707
  areTotalsSelected(column) {
@@ -9709,7 +9709,7 @@ const KupDataTable = class {
9709
9709
  }
9710
9710
  onTotalsChange(event, column) {
9711
9711
  var _a;
9712
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
9712
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
9713
9713
  if (!column) {
9714
9714
  return;
9715
9715
  }
@@ -9732,15 +9732,15 @@ const KupDataTable = class {
9732
9732
  let selectRowCell = null;
9733
9733
  if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
9734
9734
  extraCells++;
9735
- const fixedCellStyle = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, 0, extraCells);
9735
+ const fixedCellStyle = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, 0, extraCells);
9736
9736
  selectRowCell = (h("td", { class: fixedCellStyle ? fixedCellStyle.fixedCellClasses : null, style: fixedCellStyle ? fixedCellStyle.fixedCellStyle : null }));
9737
9737
  }
9738
9738
  // Action cell
9739
9739
  let actionsCell = null;
9740
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
9741
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
9740
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
9741
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
9742
9742
  extraCells++;
9743
- const selectionStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, 0, extraCells);
9743
+ const selectionStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, 0, extraCells);
9744
9744
  actionsCell = (h("td", { class: selectionStyleAndClass
9745
9745
  ? selectionStyleAndClass.fixedCellClasses
9746
9746
  : {}, style: selectionStyleAndClass
@@ -9749,19 +9749,19 @@ const KupDataTable = class {
9749
9749
  }
9750
9750
  const footerCells = this.getVisibleColumns().map((column, columnIndex) => {
9751
9751
  var _a;
9752
- const fixedCellStyle = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, columnIndex + 1, 0, extraCells);
9752
+ const fixedCellStyle = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, columnIndex + 1, 0, extraCells);
9753
9753
  let totalMenu = undefined;
9754
9754
  let menuLabel = TotalLabel.CALC;
9755
9755
  const translation = {
9756
- [TotalLabel.AVERAGE]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.AVERAGE),
9757
- [TotalLabel.CALC]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.CALCULATE),
9758
- [TotalLabel.CANC]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.CANCEL),
9759
- [TotalLabel.COUNT]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.COUNT),
9760
- [TotalLabel.DISTINCT]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.DISTINCT),
9761
- [TotalLabel.MATH]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.FORMULA),
9762
- [TotalLabel.MAX]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.MAXIMUM),
9763
- [TotalLabel.MIN]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.MINIMUM),
9764
- [TotalLabel.SUM]: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.SUM),
9756
+ [TotalLabel.AVERAGE]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.AVERAGE),
9757
+ [TotalLabel.CALC]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.CALCULATE),
9758
+ [TotalLabel.CANC]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.CANCEL),
9759
+ [TotalLabel.COUNT]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.COUNT),
9760
+ [TotalLabel.DISTINCT]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.DISTINCT),
9761
+ [TotalLabel.MATH]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.FORMULA),
9762
+ [TotalLabel.MAX]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.MAXIMUM),
9763
+ [TotalLabel.MIN]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.MINIMUM),
9764
+ [TotalLabel.SUM]: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageTotals.SUM),
9765
9765
  };
9766
9766
  if (this.totals) {
9767
9767
  const totalValue = this.totals[column.name];
@@ -9793,7 +9793,7 @@ const KupDataTable = class {
9793
9793
  }
9794
9794
  }
9795
9795
  }
9796
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isOpenedTotalMenuForColumn).call(this, column.name)) {
9796
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isOpenedTotalMenuForColumn).call(this, column.name)) {
9797
9797
  const getTotalsListElements = (formula = '') => {
9798
9798
  return {
9799
9799
  [TotalMode.COUNT]: {
@@ -9838,11 +9838,11 @@ const KupDataTable = class {
9838
9838
  const listData = [];
9839
9839
  if (column.formula) {
9840
9840
  /* Formula cloumn */
9841
- const formula = (_a = ((__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this) && this.totals[column.name]) ||
9841
+ const formula = (_a = ((__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this) && this.totals[column.name]) ||
9842
9842
  column.formula)) === null || _a === void 0 ? void 0 : _a.replace(getRegExpFromString(TotalMode.MATH, 'g'), '');
9843
9843
  const totalsListElements = getTotalsListElements(formula);
9844
9844
  // Add formula
9845
- listData.push(Object.assign(Object.assign({}, totalsListElements[TotalMode.MATH]), { selected: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
9845
+ listData.push(Object.assign(Object.assign({}, totalsListElements[TotalMode.MATH]), { selected: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
9846
9846
  ? !!this.totals[column.name]
9847
9847
  : false }), Object.assign(Object.assign({}, totalsListElements[TotalLabel.CANC]), { separator: true }));
9848
9848
  }
@@ -9851,15 +9851,15 @@ const KupDataTable = class {
9851
9851
  // Add default operations
9852
9852
  const totalsListElements = getTotalsListElements();
9853
9853
  listData.push(totalsListElements[TotalMode.COUNT], totalsListElements[TotalMode.DISTINCT]);
9854
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
9854
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
9855
9855
  // Add number operations
9856
9856
  listData.push(Object.assign(Object.assign({}, totalsListElements[TotalMode.SUM]), { separator: true }), totalsListElements[TotalMode.AVERAGE], totalsListElements[TotalMode.MIN], totalsListElements[TotalMode.MAX]);
9857
9857
  }
9858
- else if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
9858
+ else if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
9859
9859
  // Add date operations
9860
9860
  listData.push(Object.assign(Object.assign({}, totalsListElements[TotalMode.MIN]), { separator: true }), totalsListElements[TotalMode.MAX]);
9861
9861
  }
9862
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)) {
9862
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)) {
9863
9863
  const selectedItem = listData.find((item) => item.id === this.totals[column.name]);
9864
9864
  if (selectedItem) {
9865
9865
  selectedItem.selected = true;
@@ -9869,10 +9869,10 @@ const KupDataTable = class {
9869
9869
  }
9870
9870
  totalMenu = (h("kup-list", { class: `total-menu`, data: listData, id: "totals-menu", "is-menu": true, keyboardNavigation: true, "menu-visible": true, "onkup-list-click": (event) => this.onTotalsChange(event, column), tabindex: 0 }));
9871
9871
  }
9872
- const totalValue = __classPrivateFieldGet$6(this, _KupDataTable_footer, "f")[column.name] != null
9873
- ? getValueForDisplay(__classPrivateFieldGet$6(this, _KupDataTable_footer, "f")[column.name], column.obj, column.decimals)
9872
+ const totalValue = __classPrivateFieldGet$7(this, _KupDataTable_footer, "f")[column.name] != null
9873
+ ? getValueForDisplay(__classPrivateFieldGet$7(this, _KupDataTable_footer, "f")[column.name], column.obj, column.decimals)
9874
9874
  : '';
9875
- const totalsClass = `totals-value ${isNegativeNumber(__classPrivateFieldGet$6(this, _KupDataTable_footer, "f")[column.name])
9875
+ const totalsClass = `totals-value ${isNegativeNumber(__classPrivateFieldGet$7(this, _KupDataTable_footer, "f")[column.name])
9876
9876
  ? FCellClasses.TEXT_DANGER
9877
9877
  : ''}`;
9878
9878
  return (h("td", { "data-column": column.name, class: fixedCellStyle && fixedCellStyle.fixedCellClasses
@@ -9891,37 +9891,37 @@ const KupDataTable = class {
9891
9891
  let transpose = undefined;
9892
9892
  let totalsMatrix = undefined;
9893
9893
  if (this.openedCustomSettings) {
9894
- density = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderDensityPanel).call(this);
9895
- fontsize = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderFontSizePanel).call(this);
9896
- grid = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderGridPanel).call(this);
9897
- transpose = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderTransposeSwitch).call(this);
9894
+ density = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderDensityPanel).call(this);
9895
+ fontsize = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderFontSizePanel).call(this);
9896
+ grid = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderGridPanel).call(this);
9897
+ transpose = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderTransposeSwitch).call(this);
9898
9898
  if (this.totals && this.groups.length > 0) {
9899
- totalsMatrix = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderTotalsMatrix).call(this);
9899
+ totalsMatrix = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderTotalsMatrix).call(this);
9900
9900
  }
9901
9901
  }
9902
9902
  return (h("kup-card", { customStyle: "::slotted(kup-switch) { width: max-content !important; } ::slotted(*) { margin: auto !important; } ::slotted(.customize-element) { margin: auto !important; padding: 0 1em 1em 1em !important; width: max-content !important; } ::slotted(.customize-element):nth-child(1) { padding-top: 1em !important; }", isMenu: true, layoutFamily: KupCardFamily.FREE, ref: (el) => {
9903
9903
  __classPrivateFieldSet$3(this, _KupDataTable_customizeTopPanelRef, el, "f");
9904
- }, sizeX: "360px", sizeY: "300px" }, density, grid, fontsize, transpose, h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }), h("kup-switch", { class: "customize-element", checked: this.editableData, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }), h("div", { style: {
9904
+ }, sizeX: "360px", sizeY: "300px" }, density, grid, fontsize, transpose, h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }), h("kup-switch", { class: "customize-element", checked: this.editableData, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }), h("div", { style: {
9905
9905
  display: 'grid',
9906
9906
  'grid-template-columns': 'repeat(2, auto)',
9907
9907
  width: 'max-content',
9908
- } }, h("kup-button", { title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOGGLE) +
9908
+ } }, h("kup-button", { title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOGGLE) +
9909
9909
  ' Magic Box ' +
9910
9910
  '(' +
9911
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
9912
- ')', icon: "auto-fix", "onkup-button-click": () => __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").toggleMagicBox() }), __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").enableExperimentalFeatures &&
9913
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").openAI &&
9914
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").openAI.url ? (h("kup-button", { title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOGGLE) +
9911
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
9912
+ ')', icon: "auto-fix", "onkup-button-click": () => __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").toggleMagicBox() }), __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").enableExperimentalFeatures &&
9913
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").openAI &&
9914
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").openAI.url ? (h("kup-button", { title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOGGLE) +
9915
9915
  ' ' +
9916
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.AI_ASSISTANT) +
9916
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.AI_ASSISTANT) +
9917
9917
  ' (' +
9918
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
9918
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
9919
9919
  ')', icon: "smeup-ai", "onkup-button-click": () => {
9920
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").openAI.show({
9920
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").openAI.show({
9921
9921
  context: this.rootElement.tagName,
9922
9922
  dataset: this.data,
9923
9923
  });
9924
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
9924
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
9925
9925
  } })) : null), totalsMatrix));
9926
9926
  }
9927
9927
  render() {
@@ -9930,20 +9930,20 @@ const KupDataTable = class {
9930
9930
  __classPrivateFieldSet$3(this, _KupDataTable_renderedRows, [], "f");
9931
9931
  let elStyle = undefined;
9932
9932
  let actionWrapperWidth = undefined;
9933
- __classPrivateFieldSet$3(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
9933
+ __classPrivateFieldSet$3(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
9934
9934
  if (this.updatableData) {
9935
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").keysBinding.unregister('enter');
9935
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").keysBinding.unregister('enter');
9936
9936
  }
9937
9937
  let rows = null;
9938
- if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
9939
- rows = (h("tr", { key: '4bdb78f1dce6687784b5812da74a9d10f8c47620', ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '2d9d54cef9effb87966c6b99383453ee62163c5c', colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
9938
+ if (__classPrivateFieldGet$7(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
9939
+ rows = (h("tr", { key: '4bdb78f1dce6687784b5812da74a9d10f8c47620', ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '2d9d54cef9effb87966c6b99383453ee62163c5c', colSpan: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
9940
9940
  }
9941
9941
  else {
9942
9942
  rows = [];
9943
- __classPrivateFieldGet$6(this, _KupDataTable_paginatedRows, "f")
9943
+ __classPrivateFieldGet$7(this, _KupDataTable_paginatedRows, "f")
9944
9944
  // We must pass the previous element of the array to check if we must hide or display the value of the cell
9945
9945
  // When the column has specified the parameter hideValuesRepetitions
9946
- .map((row, rowIndex, currentArray) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, 0, rowIndex + 1, rowIndex > 0 ? currentArray[rowIndex - 1] : null))
9946
+ .map((row, rowIndex, currentArray) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, 0, rowIndex + 1, rowIndex > 0 ? currentArray[rowIndex - 1] : null))
9947
9947
  .forEach((jsxRow) => {
9948
9948
  if (Array.isArray(jsxRow)) {
9949
9949
  jsxRow.forEach((jr) => rows.push(jr));
@@ -9955,25 +9955,25 @@ const KupDataTable = class {
9955
9955
  }
9956
9956
  // header
9957
9957
  // for multi selection purposes, this should be called before this.renderedRows has been evaluated
9958
- const header = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderHeader).call(this);
9959
- const stickyHeader = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderStickyHeader).call(this);
9958
+ const header = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderHeader).call(this);
9959
+ const stickyHeader = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderStickyHeader).call(this);
9960
9960
  let paginatorTop = undefined;
9961
9961
  let paginatorBottom = undefined;
9962
9962
  if (this.showPaginator &&
9963
- ((!this.lazyLoadRows && __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ||
9963
+ ((!this.lazyLoadRows && __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ||
9964
9964
  this.showCustomization ||
9965
9965
  this.showLoadMore)) {
9966
9966
  if (PaginatorPos.TOP === this.paginatorPos ||
9967
9967
  PaginatorPos.BOTH === this.paginatorPos) {
9968
- paginatorTop = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, true);
9968
+ paginatorTop = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, true);
9969
9969
  }
9970
9970
  if (PaginatorPos.BOTTOM === this.paginatorPos ||
9971
9971
  PaginatorPos.BOTH === this.paginatorPos) {
9972
- paginatorBottom = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, false);
9972
+ paginatorBottom = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderPaginator).call(this, false);
9973
9973
  }
9974
9974
  }
9975
9975
  let groupChips = null;
9976
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9976
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
9977
9977
  const chipsData = [];
9978
9978
  for (let index = 0; index < this.groups.length; index++) {
9979
9979
  const group = this.groups[index];
@@ -9986,7 +9986,7 @@ const KupDataTable = class {
9986
9986
  });
9987
9987
  }
9988
9988
  else {
9989
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Grouped for a non-existent column! (' +
9989
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Grouped for a non-existent column! (' +
9990
9990
  group.column +
9991
9991
  ')', KupDebugCategory.WARNING);
9992
9992
  }
@@ -9999,7 +9999,7 @@ const KupDataTable = class {
9999
9999
  onIconClick: [],
10000
10000
  };
10001
10001
  for (let i = 0; i < chipsData.length; i++) {
10002
- props.onIconClick.push(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
10002
+ props.onIconClick.push(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
10003
10003
  }
10004
10004
  groupChips = h(FChip, Object.assign({ key: '3a578a291bf8f436262d14ff2d00b3f2aa5ab90a' }, props));
10005
10005
  }
@@ -10007,7 +10007,7 @@ const KupDataTable = class {
10007
10007
  const tableClass = {
10008
10008
  // Class to specify whether the table should have width: auto or not.
10009
10009
  // Mandatory to check with custom column size.
10010
- 'auto-width': __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_tableHasAutoWidth).call(this),
10010
+ 'auto-width': __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_tableHasAutoWidth).call(this),
10011
10011
  'column-separation': ShowGrid.COMPLETE === this.showGrid ||
10012
10012
  ShowGrid.COL === this.showGrid,
10013
10013
  // When there are columns with a specified width, we must add table-layout: fixed to force the table to respect them
@@ -10063,14 +10063,14 @@ const KupDataTable = class {
10063
10063
  (((_a = e.detail.cell) === null || _a === void 0 ? void 0 : _a.shape) === FCellShapes.CHECKBOX ||
10064
10064
  ((_b = e.detail.cell) === null || _b === void 0 ? void 0 : _b.shape) === FCellShapes.SWITCH)) {
10065
10065
  if (this.updateOnClick) {
10066
- __classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this);
10066
+ __classPrivateFieldGet$7(this, _KupDataTable_handleUpdateClick, "f").call(this);
10067
10067
  }
10068
10068
  else if ((_d = (_c = e.detail.cell) === null || _c === void 0 ? void 0 : _c.inputSettings) === null || _d === void 0 ? void 0 : _d.checkValueOnExit) {
10069
10069
  this.kupCellCheck.emit({
10070
10070
  comp: this,
10071
10071
  id: this.rootElement.id,
10072
- originalData: __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"),
10073
- updatedData: getDiffData(__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
10072
+ originalData: __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f"),
10073
+ updatedData: getDiffData(__classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
10074
10074
  cell: e.detail.cell,
10075
10075
  });
10076
10076
  }
@@ -10078,13 +10078,13 @@ const KupDataTable = class {
10078
10078
  };
10079
10079
  const useGlobalFilter = !this.legacyLook &&
10080
10080
  (this.globalFilter ||
10081
- this.getRows().length > __classPrivateFieldGet$6(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
10081
+ this.getRows().length > __classPrivateFieldGet$7(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
10082
10082
  const compCreated = (h(Host, { key: '9f48efef161dd423feb3a3ad2f58b2ebc61eacdb', "onKup-drop": (e) => {
10083
10083
  this.kupDataTableDrop.emit(e.detail);
10084
10084
  }, "onKup-cell-input": (e) => {
10085
10085
  autoselectOnAction(e);
10086
10086
  this.kupDataTableCellInput.emit(e.detail);
10087
- }, "onKup-cell-update": autoselectOnAction, "onKup-cell-blur": __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onBlurHandler), "onKup-cell-click": (e) => {
10087
+ }, "onKup-cell-update": autoselectOnAction, "onKup-cell-blur": __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onBlurHandler), "onKup-cell-click": (e) => {
10088
10088
  this.kupDataTableCellClick.emit(e.detail);
10089
10089
  }, "onKup-cell-iconclick": (e) => {
10090
10090
  this.kupDataTableCellIconClick.emit(e.detail);
@@ -10094,10 +10094,10 @@ const KupDataTable = class {
10094
10094
  this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
10095
10095
  }, "onKup-objectfield-selectedmenuitem": (e) => {
10096
10096
  this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
10097
- } }, h("style", { key: 'c7312efbf2ac12ed8f80bcaeb8930c01b6f93af8' }, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: '0dbbdca925ba5a345faed699df2b79dfb641ff27', id: componentWrapperId, class: wrapClass }, h("div", { key: 'e868309fc39a4e7a319a861d2148929d588a6c8f', class: "group-wrapper" }, groupChips), h("div", { key: 'c3c38965aa6a74d9eabf71c379d9997397ab5c70', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
10097
+ } }, h("style", { key: 'c7312efbf2ac12ed8f80bcaeb8930c01b6f93af8' }, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: '0dbbdca925ba5a345faed699df2b79dfb641ff27', id: componentWrapperId, class: wrapClass }, h("div", { key: 'e868309fc39a4e7a319a861d2148929d588a6c8f', class: "group-wrapper" }, groupChips), h("div", { key: 'c3c38965aa6a74d9eabf71c379d9997397ab5c70', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
10098
10098
  const t = event.target;
10099
- window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_globalFilterTimeout, "f"));
10100
- __classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
10099
+ window.clearTimeout(__classPrivateFieldGet$7(this, _KupDataTable_globalFilterTimeout, "f"));
10100
+ __classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
10101
10101
  } }))) : null, h("div", { key: 'f0d0a8ac568a99ad1ba111ee955405f03572b282', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
10102
10102
  this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
10103
10103
  this.kupSave.emit({
@@ -10107,7 +10107,7 @@ const KupDataTable = class {
10107
10107
  });
10108
10108
  }, styling: FButtonStyling.FLAT, sizing: KupComponentSizing.MEDIUM, title: "Save", wrapperClass: "save-button" })) : null, this.showDeleteButton &&
10109
10109
  this.selectedRows.length > 0 ? (h(FButton, { icon: "delete", onClick: () => {
10110
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_rowsDelete).call(this);
10110
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_rowsDelete).call(this);
10111
10111
  }, styling: FButtonStyling.FLAT, sizing: KupComponentSizing.MEDIUM, title: "Delete selected rows", wrapperClass: "delete-button" })) : null, this.showHistoryButton ? (h(FButton, { icon: "history", onClick: () => {
10112
10112
  this.kupHistory.emit({
10113
10113
  comp: this,
@@ -10119,10 +10119,10 @@ const KupDataTable = class {
10119
10119
  onClick: async () => {
10120
10120
  var _a;
10121
10121
  if (this.insertMode === 'form') {
10122
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_rowInsertForm).call(this);
10122
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_rowInsertForm).call(this);
10123
10123
  }
10124
10124
  else {
10125
- __classPrivateFieldSet$3(this, _KupDataTable_insertCount, (_a = __classPrivateFieldGet$6(this, _KupDataTable_insertCount, "f"), _a++, _a), "f");
10125
+ __classPrivateFieldSet$3(this, _KupDataTable_insertCount, (_a = __classPrivateFieldGet$7(this, _KupDataTable_insertCount, "f"), _a++, _a), "f");
10126
10126
  const cells = {};
10127
10127
  for (let index = 0; index < this.data.columns.length; index++) {
10128
10128
  const column = this.data.columns[index];
@@ -10142,18 +10142,18 @@ const KupDataTable = class {
10142
10142
  }
10143
10143
  const row = {
10144
10144
  cells,
10145
- id: __classPrivateFieldGet$6(this, _KupDataTable_INSERT_PREFIX, "f") +
10146
- __classPrivateFieldGet$6(this, _KupDataTable_insertCount, "f"),
10145
+ id: __classPrivateFieldGet$7(this, _KupDataTable_INSERT_PREFIX, "f") +
10146
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCount, "f"),
10147
10147
  };
10148
10148
  this.data.rows.unshift(row);
10149
10149
  await this.refresh(true);
10150
10150
  }
10151
- }, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '1c7add2b380abf5936c157f0ea931d3b0be12bb3', class: "droparea", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
10152
- ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
10151
+ }, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '1c7add2b380abf5936c157f0ea931d3b0be12bb3', class: "droparea", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
10152
+ ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
10153
10153
  : null), h("div", { key: 'c36d016d64f804c643c53b67f263f16bfb166f7f', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
10154
10154
  ? [
10155
10155
  h("div", { class: "settings-trigger", onClick: () => {
10156
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
10156
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
10157
10157
  }, ref: (el) => {
10158
10158
  __classPrivateFieldSet$3(this, _KupDataTable_customizeTopButtonRef, el, "f");
10159
10159
  } }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
@@ -10162,37 +10162,37 @@ const KupDataTable = class {
10162
10162
  : null, h("table", { key: '3b2bc03989d1b3b548cbc8910c90878330af3a52', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
10163
10163
  ev.stopPropagation();
10164
10164
  }, onPointerDown: (e) => {
10165
- __classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
10165
+ __classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
10166
10166
  }, onPointerUp: (e) => {
10167
- __classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
10167
+ __classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
10168
10168
  }, onContextMenu: (e) => {
10169
10169
  e.preventDefault();
10170
10170
  } }, h("thead", { key: 'df77fa43f4225444ae04b2d0daf0a26b62373356', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '1e8169fdc3ab48a34451ae001fd53d8b61d67400' }, header)), h("tbody", { key: '90d0d45589c9a12514949c3e14bda9ecbcef97a8' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
10171
10171
  return compCreated;
10172
10172
  }
10173
10173
  disconnectedCallback() {
10174
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.unregister(__classPrivateFieldGet$6(this, _KupDataTable_interactableDrag, "f").concat(__classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f"), __classPrivateFieldGet$6(this, _KupDataTable_interactableResize, "f"), __classPrivateFieldGet$6(this, _KupDataTable_interactableTouch, "f")));
10175
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.unregister(this);
10176
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").theme.unregister(this);
10177
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").toolbar.unregister([this.rootElement]);
10178
- if (__classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f"))
10179
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
10180
- __classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f"),
10174
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.unregister(__classPrivateFieldGet$7(this, _KupDataTable_interactableDrag, "f").concat(__classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f"), __classPrivateFieldGet$7(this, _KupDataTable_interactableResize, "f"), __classPrivateFieldGet$7(this, _KupDataTable_interactableTouch, "f")));
10175
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.unregister(this);
10176
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").theme.unregister(this);
10177
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").toolbar.unregister([this.rootElement]);
10178
+ if (__classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f"))
10179
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
10180
+ __classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f"),
10181
10181
  ]);
10182
10182
  const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupDynamicPositionAttribute + ']');
10183
10183
  if (dynamicPositionElements.length > 0) {
10184
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
10184
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
10185
10185
  }
10186
- if (__classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f")) {
10187
- __classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f").remove();
10186
+ if (__classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f")) {
10187
+ __classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f").remove();
10188
10188
  }
10189
- if (__classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f")) {
10190
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").remove();
10189
+ if (__classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f")) {
10190
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").remove();
10191
10191
  }
10192
10192
  if (this.scrollOnHover) {
10193
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f"));
10193
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f"));
10194
10194
  }
10195
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").resize.unobserve(this.rootElement);
10195
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").resize.unobserve(this.rootElement);
10196
10196
  this.kupDidUnload.emit({ comp: this, id: this.rootElement.id });
10197
10197
  }
10198
10198
  get rootElement() { return getElement$1(this); }
@@ -10214,16 +10214,16 @@ const KupDataTable = class {
10214
10214
  }; }
10215
10215
  };
10216
10216
  _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _KupDataTable_rowsLength = new WeakMap(), _KupDataTable_paginatedRows = new WeakMap(), _KupDataTable_paginatedRowsLength = new WeakMap(), _KupDataTable_footer = new WeakMap(), _KupDataTable_kupManager = new WeakMap(), _KupDataTable_renderedRows = new WeakMap(), _KupDataTable_loadMoreEventCounter = new WeakMap(), _KupDataTable_loadMoreEventPreviousQuantity = new WeakMap(), _KupDataTable_theadRef = new WeakMap(), _KupDataTable_tableRef = new WeakMap(), _KupDataTable_originalData = new WeakMap(), _KupDataTable_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(), _KupDataTable_insertedRowIds = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_lastPointerDetails = new WeakMap(), _KupDataTable_customizeTopButtonRef = new WeakMap(), _KupDataTable_customizeTopPanelRef = new WeakMap(), _KupDataTable_sizedColumns = new WeakMap(), _KupDataTable_intObserver = new WeakMap(), _KupDataTable_navBarHeight = new WeakMap(), _KupDataTable_theadIntersecting = new WeakMap(), _KupDataTable_tableIntersecting = new WeakMap(), _KupDataTable_isSafariBrowser = new WeakMap(), _KupDataTable_isRestoringState = new WeakMap(), _KupDataTable_globalFilterTimeout = new WeakMap(), _KupDataTable_totalMenuCoords = new WeakMap(), _KupDataTable_clickTimeout = new WeakMap(), _KupDataTable_thRefs = new WeakMap(), _KupDataTable_rowsRefs = new WeakMap(), _KupDataTable_oldWidth = new WeakMap(), _KupDataTable_hold = new WeakMap(), _KupDataTable_interactableDrag = new WeakMap(), _KupDataTable_interactableDrop = new WeakMap(), _KupDataTable_interactableResize = new WeakMap(), _KupDataTable_interactableTouch = new WeakMap(), _KupDataTable_dropareaRef = new WeakMap(), _KupDataTable_removeDropareaRef = new WeakMap(), _KupDataTable_groupsDropareaRef = new WeakMap(), _KupDataTable_clickCb = new WeakMap(), _KupDataTable_clickCbCustomPanel = new WeakMap(), _KupDataTable_clickCbDropCard = new WeakMap(), _KupDataTable_resizeTimeout = new WeakMap(), _KupDataTable_columnMenuInstance = new WeakMap(), _KupDataTable_filtersColumnMenuInstance = new WeakMap(), _KupDataTable_filtersRowsInstance = new WeakMap(), _KupDataTable_detailCard = new WeakMap(), _KupDataTable_insertCard = new WeakMap(), _KupDataTable_actionsCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_dropDownActionCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_lastFocusedRow = new WeakMap(), _KupDataTable_maxRowsPerPage = new WeakMap(), _KupDataTable_readyPromise = new WeakMap(), _KupDataTable_readyResolve = new WeakMap(), _KupDataTable_BUTTON_CANCEL_ID = new WeakMap(), _KupDataTable_BUTTON_SUBMIT_ID = new WeakMap(), _KupDataTable_FIELDS_FORM_ID = new WeakMap(), _KupDataTable_MESSAGE_ID = new WeakMap(), _KupDataTable_MESSAGE_WRAPPER_ID = new WeakMap(), _KupDataTable_INSERT_PREFIX = new WeakMap(), _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_handleUpdateClick = new WeakMap(), _KupDataTable_FONTSIZE_CODES = new WeakMap(), _KupDataTable_FONTSIZE_DECODES = new WeakMap(), _KupDataTable_FONTSIZE_ICONS = new WeakMap(), _KupDataTable_DENSITY_DECODES = new WeakMap(), _KupDataTable_DENSITY_ICONS = new WeakMap(), _KupDataTable_GRID_CODES = new WeakMap(), _KupDataTable_GRID_DECODES = new WeakMap(), _KupDataTable_GRID_ICONS = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_closeDropCard = function _KupDataTable_closeDropCard() {
10217
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f"));
10218
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbDropCard, "f"));
10219
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").remove();
10217
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f"));
10218
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbDropCard, "f"));
10219
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").remove();
10220
10220
  __classPrivateFieldSet$3(this, _KupDataTable_columnDropCard, null, "f");
10221
10221
  }, _KupDataTable_createDropCard = function _KupDataTable_createDropCard(starter, receiving) {
10222
- if (__classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f")) {
10223
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10222
+ if (__classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f")) {
10223
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10224
10224
  }
10225
10225
  __classPrivateFieldSet$3(this, _KupDataTable_columnDropCard, document.createElement('kup-card'), "f");
10226
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").data = {
10226
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").data = {
10227
10227
  options: {
10228
10228
  data: this.data,
10229
10229
  enableFormula: this.enableColumnsFormula,
@@ -10232,53 +10232,53 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10232
10232
  receivingColumn: receiving,
10233
10233
  starterColumn: starter,
10234
10234
  formulaCb: () => {
10235
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10235
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10236
10236
  this.refresh();
10237
10237
  },
10238
10238
  mergeCb: () => {
10239
10239
  this.newColumn(KupDataNewColumnTypes.CONCATENATE, {
10240
10240
  columns: [receiving.name, starter.name],
10241
10241
  });
10242
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10242
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10243
10243
  },
10244
10244
  moveCb: () => {
10245
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
10246
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10245
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
10246
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10247
10247
  },
10248
10248
  },
10249
10249
  };
10250
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").layoutFamily = KupCardFamily.BUILT_IN;
10251
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").layoutNumber = 3;
10252
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").isMenu = true;
10253
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").sizeX = '280px';
10254
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").sizeY = 'auto';
10255
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f"), __classPrivateFieldGet$6(this, _KupDataTable_columnDropCardAnchor, "f"), 0, KupDynamicPositionPlacement.AUTO, true);
10256
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f"));
10250
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").layoutFamily = KupCardFamily.BUILT_IN;
10251
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").layoutNumber = 3;
10252
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").isMenu = true;
10253
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").sizeX = '280px';
10254
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").sizeY = 'auto';
10255
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f"), __classPrivateFieldGet$7(this, _KupDataTable_columnDropCardAnchor, "f"), 0, KupDynamicPositionPlacement.AUTO, true);
10256
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f"));
10257
10257
  __classPrivateFieldSet$3(this, _KupDataTable_clickCbDropCard, {
10258
10258
  cb: () => {
10259
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10259
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeDropCard).call(this);
10260
10260
  },
10261
- el: __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f"),
10261
+ el: __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f"),
10262
10262
  }, "f");
10263
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbDropCard, "f"), true);
10264
- __classPrivateFieldGet$6(this, _KupDataTable_columnDropCard, "f").menuVisible = true;
10263
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbDropCard, "f"), true);
10264
+ __classPrivateFieldGet$7(this, _KupDataTable_columnDropCard, "f").menuVisible = true;
10265
10265
  }, _KupDataTable_calculateData = function _KupDataTable_calculateData() {
10266
10266
  if (!this.transpose) {
10267
10267
  // restore
10268
- if (__classPrivateFieldGet$6(this, _KupDataTable_originalData, "f")) {
10269
- this.data = Object.assign({}, __classPrivateFieldGet$6(this, _KupDataTable_originalData, "f"));
10268
+ if (__classPrivateFieldGet$7(this, _KupDataTable_originalData, "f")) {
10269
+ this.data = Object.assign({}, __classPrivateFieldGet$7(this, _KupDataTable_originalData, "f"));
10270
10270
  }
10271
10271
  }
10272
10272
  else {
10273
10273
  // transpose
10274
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_setTransposedData).call(this);
10274
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_setTransposedData).call(this);
10275
10275
  }
10276
10276
  }, _KupDataTable_getRow = function _KupDataTable_getRow(id) {
10277
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) && typeof id === 'string') {
10278
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, __classPrivateFieldGet$6(this, _KupDataTable_paginatedRows, "f"));
10277
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) && typeof id === 'string') {
10278
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, __classPrivateFieldGet$7(this, _KupDataTable_paginatedRows, "f"));
10279
10279
  }
10280
10280
  else {
10281
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, __classPrivateFieldGet$6(this, _KupDataTable_rows, "f"));
10281
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, __classPrivateFieldGet$7(this, _KupDataTable_rows, "f"));
10282
10282
  }
10283
10283
  }, _KupDataTable__getRow = function _KupDataTable__getRow(id, rows) {
10284
10284
  if (!rows || rows.length == 0) {
@@ -10294,7 +10294,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10294
10294
  return r;
10295
10295
  }
10296
10296
  if (r.group) {
10297
- r = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, r.group.children);
10297
+ r = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, r.group.children);
10298
10298
  if (r) {
10299
10299
  return r;
10300
10300
  }
@@ -10306,15 +10306,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10306
10306
  if (column) {
10307
10307
  this.filters = {};
10308
10308
  }
10309
- return __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.transpose(this.data, column);
10309
+ return __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.transpose(this.data, column);
10310
10310
  }, _KupDataTable_setTransposedData = function _KupDataTable_setTransposedData() {
10311
10311
  // transpose
10312
10312
  __classPrivateFieldSet$3(this, _KupDataTable_originalData, Object.assign({}, this.data), "f");
10313
10313
  if (this.data.columns.length > 0) {
10314
- this.data = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this, this.data.columns[0].name);
10314
+ this.data = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this, this.data.columns[0].name);
10315
10315
  }
10316
10316
  }, _KupDataTable_switchToTotalsMatrix = function _KupDataTable_switchToTotalsMatrix() {
10317
- if (__classPrivateFieldGet$6(this, _KupDataTable_rows, "f").length === 0 || !__classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[0].group)
10317
+ if (__classPrivateFieldGet$7(this, _KupDataTable_rows, "f").length === 0 || !__classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[0].group)
10318
10318
  return;
10319
10319
  // calc totals matrix data
10320
10320
  const totalsMatrixData = {};
@@ -10322,9 +10322,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10322
10322
  // note that the sorting of the columns depends on the totals selection
10323
10323
  // the first column is the one that is selected first in the totals, and so on...
10324
10324
  const ids = [];
10325
- ids.push(__classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[0].group.column);
10326
- Object.keys(__classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[0].group.totals).forEach((columnKey) => {
10327
- if (__classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[0].group.column !== columnKey)
10325
+ ids.push(__classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[0].group.column);
10326
+ Object.keys(__classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[0].group.totals).forEach((columnKey) => {
10327
+ if (__classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[0].group.column !== columnKey)
10328
10328
  ids.push(columnKey);
10329
10329
  });
10330
10330
  // calc columns
@@ -10354,7 +10354,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10354
10354
  totalMode + ' ' + currentColumn.title;
10355
10355
  }
10356
10356
  }
10357
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_setObjForTotalsMatrix).call(this, currentColumn, this.totals);
10357
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_setObjForTotalsMatrix).call(this, currentColumn, this.totals);
10358
10358
  }
10359
10359
  totalsMatrixColumns.push(currentColumn);
10360
10360
  }
@@ -10365,15 +10365,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10365
10365
  // calc rows
10366
10366
  const totalsMatrixRows = [];
10367
10367
  let index = 0;
10368
- __classPrivateFieldGet$6(this, _KupDataTable_rows, "f").forEach((row) => {
10368
+ __classPrivateFieldGet$7(this, _KupDataTable_rows, "f").forEach((row) => {
10369
10369
  const cells = {};
10370
10370
  ids.forEach((id) => {
10371
10371
  let totalValue = row.group.totals[id];
10372
10372
  if (!totalValue) {
10373
10373
  totalValue = row.group.id;
10374
10374
  }
10375
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dates.isIsoDate(totalValue)) {
10376
- totalValue = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
10375
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dates.isIsoDate(totalValue)) {
10376
+ totalValue = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
10377
10377
  }
10378
10378
  cells[id] = {
10379
10379
  value: String(totalValue),
@@ -10413,13 +10413,13 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10413
10413
  }, _KupDataTable_setObjForTotalsMatrix = function _KupDataTable_setObjForTotalsMatrix(column, totals) {
10414
10414
  const obj = column.obj;
10415
10415
  const totalMode = totals[column.name];
10416
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isDate(obj)) {
10416
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isDate(obj)) {
10417
10417
  // check if min or max totals mode
10418
10418
  if (totalMode === TotalMode.MAX || totalMode === TotalMode.MIN) {
10419
10419
  return;
10420
10420
  }
10421
10421
  }
10422
- else if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isNumber(obj)) {
10422
+ else if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isNumber(obj)) {
10423
10423
  // check if percentage
10424
10424
  if (obj.p && obj.p.toUpperCase() === 'P') {
10425
10425
  if (totalMode !== TotalMode.COUNT &&
@@ -10447,14 +10447,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10447
10447
  __classPrivateFieldSet$3(this, _KupDataTable_navBarHeight, 0, "f");
10448
10448
  }
10449
10449
  if (topBar) {
10450
- __classPrivateFieldSet$3(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$6(this, _KupDataTable_navBarHeight, "f") + topBar.clientHeight, "f");
10451
- }
10452
- if (__classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f")) {
10453
- __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").style.top = __classPrivateFieldGet$6(this, _KupDataTable_navBarHeight, "f") + 'px';
10454
- const widthTable = __classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f").offsetWidth;
10455
- __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").style.maxWidth = widthTable + 'px';
10456
- const thCollection = __classPrivateFieldGet$6(this, _KupDataTable_theadRef, "f").querySelectorAll('th');
10457
- const thStickyCollection = __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").querySelectorAll('th-sticky');
10450
+ __classPrivateFieldSet$3(this, _KupDataTable_navBarHeight, __classPrivateFieldGet$7(this, _KupDataTable_navBarHeight, "f") + topBar.clientHeight, "f");
10451
+ }
10452
+ if (__classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f")) {
10453
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").style.top = __classPrivateFieldGet$7(this, _KupDataTable_navBarHeight, "f") + 'px';
10454
+ const widthTable = __classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f").offsetWidth;
10455
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").style.maxWidth = widthTable + 'px';
10456
+ const thCollection = __classPrivateFieldGet$7(this, _KupDataTable_theadRef, "f").querySelectorAll('th');
10457
+ const thStickyCollection = __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").querySelectorAll('th-sticky');
10458
10458
  for (let i = 0; i < thCollection.length; i++) {
10459
10459
  const widthTH = thCollection[i].offsetWidth;
10460
10460
  thStickyCollection[i].style.width = widthTH + 'px';
@@ -10465,8 +10465,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10465
10465
  entries.forEach((entry) => {
10466
10466
  if (entry.target.tagName === 'TR') {
10467
10467
  if (entry.isIntersecting) {
10468
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
10469
- const delta = __classPrivateFieldGet$6(this, _KupDataTable_rows, "f").length - this.currentRowsPerPage;
10468
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
10469
+ const delta = __classPrivateFieldGet$7(this, _KupDataTable_rows, "f").length - this.currentRowsPerPage;
10470
10470
  if (delta < this.loadMoreStep) {
10471
10471
  this.currentRowsPerPage += delta;
10472
10472
  }
@@ -10480,7 +10480,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10480
10480
  if (entry.isIntersecting) {
10481
10481
  __classPrivateFieldSet$3(this, _KupDataTable_theadIntersecting, true, "f");
10482
10482
  }
10483
- else if (entry.boundingClientRect.bottom > __classPrivateFieldGet$6(this, _KupDataTable_navBarHeight, "f")) {
10483
+ else if (entry.boundingClientRect.bottom > __classPrivateFieldGet$7(this, _KupDataTable_navBarHeight, "f")) {
10484
10484
  //If the thead is not intersecting but it still is inside the viewport, is to be considered intersected
10485
10485
  __classPrivateFieldSet$3(this, _KupDataTable_theadIntersecting, true, "f");
10486
10486
  }
@@ -10499,20 +10499,20 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10499
10499
  if (this.tableHeight === undefined &&
10500
10500
  this.tableWidth === undefined &&
10501
10501
  this.headerIsPersistent) {
10502
- __classPrivateFieldGet$6(this, _KupDataTable_stickyHeaderPosition, "f").call(this);
10502
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyHeaderPosition, "f").call(this);
10503
10503
  }
10504
10504
  });
10505
10505
  };
10506
10506
  const options = {
10507
10507
  threshold: 0,
10508
- rootMargin: '-' + __classPrivateFieldGet$6(this, _KupDataTable_navBarHeight, "f") + 'px 0px 0px 0px',
10508
+ rootMargin: '-' + __classPrivateFieldGet$7(this, _KupDataTable_navBarHeight, "f") + 'px 0px 0px 0px',
10509
10509
  };
10510
10510
  __classPrivateFieldSet$3(this, _KupDataTable_intObserver, new IntersectionObserver(callback, options), "f");
10511
10511
  }, _KupDataTable_didLoadInteractables = function _KupDataTable_didLoadInteractables() {
10512
- __classPrivateFieldGet$6(this, _KupDataTable_interactableTouch, "f").push(__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f"));
10512
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableTouch, "f").push(__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f"));
10513
10513
  const tapCb = (e) => {
10514
10514
  var _a, _b, _c, _d;
10515
- if (__classPrivateFieldGet$6(this, _KupDataTable_hold, "f")) {
10515
+ if (__classPrivateFieldGet$7(this, _KupDataTable_hold, "f")) {
10516
10516
  __classPrivateFieldSet$3(this, _KupDataTable_hold, false, "f");
10517
10517
  return;
10518
10518
  }
@@ -10527,18 +10527,18 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10527
10527
  }
10528
10528
  // in case an icon is clicked
10529
10529
  if (e.target.classList.contains('f-image__icon')) {
10530
- const details = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
10530
+ const details = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
10531
10531
  // in case a cell action icon is clicked
10532
10532
  if (((_b = (_a = details === null || details === void 0 ? void 0 : details.cell) === null || _a === void 0 ? void 0 : _a.obj) === null || _b === void 0 ? void 0 : _b.t) !== 'J4' &&
10533
10533
  ((_d = (_c = details === null || details === void 0 ? void 0 : details.cell) === null || _c === void 0 ? void 0 : _c.obj) === null || _d === void 0 ? void 0 : _d.p) !== 'ICO') {
10534
10534
  break;
10535
10535
  }
10536
10536
  }
10537
- __classPrivateFieldGet$6(this, _KupDataTable_clickTimeout, "f").push(setTimeout(() => {
10537
+ __classPrivateFieldGet$7(this, _KupDataTable_clickTimeout, "f").push(setTimeout(() => {
10538
10538
  this.kupDataTableClick.emit({
10539
10539
  comp: this,
10540
10540
  id: this.rootElement.id,
10541
- details: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_clickHandler).call(this, clone),
10541
+ details: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_clickHandler).call(this, clone),
10542
10542
  });
10543
10543
  }, 300));
10544
10544
  break;
@@ -10547,7 +10547,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10547
10547
  this.kupDataTableContextMenu.emit({
10548
10548
  comp: this,
10549
10549
  id: this.rootElement.id,
10550
- details: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
10550
+ details: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
10551
10551
  });
10552
10552
  break;
10553
10553
  }
@@ -10556,17 +10556,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10556
10556
  switch (e.button) {
10557
10557
  // left click
10558
10558
  case 0:
10559
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_clickTimeout, "f").length; index++) {
10560
- clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_clickTimeout, "f")[index]);
10561
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Cleared clickHandler timeout(' +
10562
- __classPrivateFieldGet$6(this, _KupDataTable_clickTimeout, "f")[index] +
10559
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_clickTimeout, "f").length; index++) {
10560
+ clearTimeout(__classPrivateFieldGet$7(this, _KupDataTable_clickTimeout, "f")[index]);
10561
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Cleared clickHandler timeout(' +
10562
+ __classPrivateFieldGet$7(this, _KupDataTable_clickTimeout, "f")[index] +
10563
10563
  ').');
10564
10564
  }
10565
10565
  __classPrivateFieldSet$3(this, _KupDataTable_clickTimeout, [], "f");
10566
10566
  this.kupDataTableDblClick.emit({
10567
10567
  comp: this,
10568
10568
  id: this.rootElement.id,
10569
- details: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_dblClickHandler).call(this, e),
10569
+ details: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_dblClickHandler).call(this, e),
10570
10570
  });
10571
10571
  break;
10572
10572
  }
@@ -10577,40 +10577,40 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10577
10577
  this.kupDataTableContextMenu.emit({
10578
10578
  comp: this,
10579
10579
  id: this.rootElement.id,
10580
- details: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
10580
+ details: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_contextMenuHandler).call(this, e),
10581
10581
  });
10582
10582
  }
10583
10583
  };
10584
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f"), KupPointerEventTypes.TAP, tapCb);
10585
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f"), KupPointerEventTypes.DOUBLETAP, doubletapCb);
10586
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f"), KupPointerEventTypes.HOLD, holdCb);
10584
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f"), KupPointerEventTypes.TAP, tapCb);
10585
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f"), KupPointerEventTypes.DOUBLETAP, doubletapCb);
10586
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.on(__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f"), KupPointerEventTypes.HOLD, holdCb);
10587
10587
  }, _KupDataTable_didRenderInteractables = function _KupDataTable_didRenderInteractables() {
10588
10588
  if (this.showGroups) {
10589
- if (!__classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$6(this, _KupDataTable_groupsDropareaRef, "f"))) {
10590
- __classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$6(this, _KupDataTable_groupsDropareaRef, "f"));
10591
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$6(this, _KupDataTable_groupsDropareaRef, "f"), {
10589
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$7(this, _KupDataTable_groupsDropareaRef, "f"))) {
10590
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$7(this, _KupDataTable_groupsDropareaRef, "f"));
10591
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$7(this, _KupDataTable_groupsDropareaRef, "f"), {
10592
10592
  accept: `[${kupDraggableColumnAttr}]`,
10593
10593
  }, null, {
10594
10594
  drop: (e) => {
10595
10595
  const draggedTh = e.relatedTarget;
10596
10596
  const grouped = getColumnByName(this.getColumns(), draggedTh.dataset.column);
10597
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnGroup).call(this, grouped);
10598
- __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").removeAttribute(kupDragActiveAttr);
10597
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnGroup).call(this, grouped);
10598
+ __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").removeAttribute(kupDragActiveAttr);
10599
10599
  },
10600
10600
  });
10601
10601
  }
10602
10602
  }
10603
10603
  if (this.removableColumns) {
10604
- if (!__classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$6(this, _KupDataTable_removeDropareaRef, "f"))) {
10605
- __classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$6(this, _KupDataTable_removeDropareaRef, "f"));
10606
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$6(this, _KupDataTable_removeDropareaRef, "f"), {
10604
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f").includes(__classPrivateFieldGet$7(this, _KupDataTable_removeDropareaRef, "f"))) {
10605
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f").push(__classPrivateFieldGet$7(this, _KupDataTable_removeDropareaRef, "f"));
10606
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.dropzone(__classPrivateFieldGet$7(this, _KupDataTable_removeDropareaRef, "f"), {
10607
10607
  accept: `[${kupDraggableColumnAttr}]`,
10608
10608
  }, null, {
10609
10609
  drop: (e) => {
10610
10610
  const draggedTh = e.relatedTarget;
10611
10611
  const deleted = getColumnByName(this.getColumns(), draggedTh.dataset.column);
10612
10612
  this.hideColumn(deleted);
10613
- __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").removeAttribute(kupDragActiveAttr);
10613
+ __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").removeAttribute(kupDragActiveAttr);
10614
10614
  },
10615
10615
  });
10616
10616
  }
@@ -10644,7 +10644,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10644
10644
  __classPrivateFieldSet$3(this, _KupDataTable_columnDropCardAnchor, e.target, "f");
10645
10645
  if (isSameComponent && receiving && starter) {
10646
10646
  if (onlySort) {
10647
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
10647
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleColumnSort).call(this, receiving, starter);
10648
10648
  }
10649
10649
  else if (onlyMerge) {
10650
10650
  this.newColumn(KupDataNewColumnTypes.CONCATENATE, {
@@ -10652,17 +10652,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10652
10652
  });
10653
10653
  }
10654
10654
  else {
10655
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_createDropCard).call(this, starter, receiving);
10655
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_createDropCard).call(this, starter, receiving);
10656
10656
  }
10657
10657
  }
10658
- __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").removeAttribute(kupDragActiveAttr);
10658
+ __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").removeAttribute(kupDragActiveAttr);
10659
10659
  };
10660
10660
  const startCb = (e) => {
10661
10661
  const draggable = e.target;
10662
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, true, draggable);
10662
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, true, draggable);
10663
10663
  };
10664
10664
  const endCb = () => {
10665
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
10665
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hideShowColumnDropArea).call(this, false);
10666
10666
  };
10667
10667
  const dropCallbacks = {
10668
10668
  drop: dropCb,
@@ -10671,14 +10671,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10671
10671
  start: startCb,
10672
10672
  end: endCb,
10673
10673
  };
10674
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_thRefs, "f").length; index++) {
10675
- const th = __classPrivateFieldGet$6(this, _KupDataTable_thRefs, "f")[index];
10676
- if (th && !__classPrivateFieldGet$6(this, _KupDataTable_interactableDrag, "f").includes(th)) {
10677
- __classPrivateFieldGet$6(this, _KupDataTable_interactableDrag, "f").push(th);
10678
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.dropzone(th, {
10674
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_thRefs, "f").length; index++) {
10675
+ const th = __classPrivateFieldGet$7(this, _KupDataTable_thRefs, "f")[index];
10676
+ if (th && !__classPrivateFieldGet$7(this, _KupDataTable_interactableDrag, "f").includes(th)) {
10677
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableDrag, "f").push(th);
10678
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.dropzone(th, {
10679
10679
  accept: `[${kupDraggableColumnAttr}]`,
10680
10680
  }, null, dropCallbacks);
10681
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.draggable(th, {
10681
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.draggable(th, {
10682
10682
  cursorChecker() {
10683
10683
  return null;
10684
10684
  },
@@ -10698,11 +10698,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10698
10698
  const callbacks = {
10699
10699
  move: moveCb,
10700
10700
  };
10701
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_thRefs, "f").length; index++) {
10702
- const th = __classPrivateFieldGet$6(this, _KupDataTable_thRefs, "f")[index];
10703
- if (th && !__classPrivateFieldGet$6(this, _KupDataTable_interactableResize, "f").includes(th)) {
10704
- __classPrivateFieldGet$6(this, _KupDataTable_interactableResize, "f").push(th);
10705
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.resizable(th, {
10701
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_thRefs, "f").length; index++) {
10702
+ const th = __classPrivateFieldGet$7(this, _KupDataTable_thRefs, "f")[index];
10703
+ if (th && !__classPrivateFieldGet$7(this, _KupDataTable_interactableResize, "f").includes(th)) {
10704
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableResize, "f").push(th);
10705
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.resizable(th, {
10706
10706
  allowFrom: '.header-cell__drag-handler',
10707
10707
  edges: {
10708
10708
  left: false,
@@ -10716,15 +10716,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10716
10716
  }
10717
10717
  }
10718
10718
  if (this.dragEnabled) {
10719
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").length; index++) {
10720
- const row = __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f")[index];
10719
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").length; index++) {
10720
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f")[index];
10721
10721
  const dataCb = () => {
10722
10722
  var _a, _b, _c;
10723
- const cell = (_a = __classPrivateFieldGet$6(this, _KupDataTable_lastPointerDetails, "f")) === null || _a === void 0 ? void 0 : _a.cell;
10724
- const column = (_b = __classPrivateFieldGet$6(this, _KupDataTable_lastPointerDetails, "f")) === null || _b === void 0 ? void 0 : _b.column;
10725
- const row = (_c = __classPrivateFieldGet$6(this, _KupDataTable_lastPointerDetails, "f")) === null || _c === void 0 ? void 0 : _c.row;
10723
+ const cell = (_a = __classPrivateFieldGet$7(this, _KupDataTable_lastPointerDetails, "f")) === null || _a === void 0 ? void 0 : _a.cell;
10724
+ const column = (_b = __classPrivateFieldGet$7(this, _KupDataTable_lastPointerDetails, "f")) === null || _b === void 0 ? void 0 : _b.column;
10725
+ const row = (_c = __classPrivateFieldGet$7(this, _KupDataTable_lastPointerDetails, "f")) === null || _c === void 0 ? void 0 : _c.row;
10726
10726
  if (!cell) {
10727
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell to retrieve drag informations!", KupDebugCategory.WARNING);
10727
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell to retrieve drag informations!", KupDebugCategory.WARNING);
10728
10728
  return;
10729
10729
  }
10730
10730
  return {
@@ -10737,9 +10737,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10737
10737
  selectedRows: this.selectedRows,
10738
10738
  };
10739
10739
  };
10740
- if (row && !__classPrivateFieldGet$6(this, _KupDataTable_interactableDrag, "f").includes(row)) {
10741
- __classPrivateFieldGet$6(this, _KupDataTable_interactableDrag, "f").push(row);
10742
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.draggable(row, {
10740
+ if (row && !__classPrivateFieldGet$7(this, _KupDataTable_interactableDrag, "f").includes(row)) {
10741
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableDrag, "f").push(row);
10742
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.draggable(row, {
10743
10743
  allowFrom: 'td',
10744
10744
  cursorChecker() {
10745
10745
  return null;
@@ -10753,11 +10753,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10753
10753
  if (this.dropEnabled) {
10754
10754
  const dataCb = () => {
10755
10755
  var _a, _b, _c;
10756
- const cell = (_a = __classPrivateFieldGet$6(this, _KupDataTable_lastPointerDetails, "f")) === null || _a === void 0 ? void 0 : _a.cell;
10757
- const column = (_b = __classPrivateFieldGet$6(this, _KupDataTable_lastPointerDetails, "f")) === null || _b === void 0 ? void 0 : _b.column;
10758
- const row = (_c = __classPrivateFieldGet$6(this, _KupDataTable_lastPointerDetails, "f")) === null || _c === void 0 ? void 0 : _c.row;
10756
+ const cell = (_a = __classPrivateFieldGet$7(this, _KupDataTable_lastPointerDetails, "f")) === null || _a === void 0 ? void 0 : _a.cell;
10757
+ const column = (_b = __classPrivateFieldGet$7(this, _KupDataTable_lastPointerDetails, "f")) === null || _b === void 0 ? void 0 : _b.column;
10758
+ const row = (_c = __classPrivateFieldGet$7(this, _KupDataTable_lastPointerDetails, "f")) === null || _c === void 0 ? void 0 : _c.row;
10759
10759
  if (!cell) {
10760
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell to retrieve dropzone informations!", KupDebugCategory.WARNING);
10760
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell to retrieve dropzone informations!", KupDebugCategory.WARNING);
10761
10761
  return;
10762
10762
  }
10763
10763
  return {
@@ -10767,11 +10767,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10767
10767
  row,
10768
10768
  };
10769
10769
  };
10770
- for (let index = 0; index < __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").length; index++) {
10771
- const row = __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f")[index];
10772
- if (row && !__classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f").includes(row)) {
10773
- __classPrivateFieldGet$6(this, _KupDataTable_interactableDrop, "f").push(row);
10774
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").interact.dropzone(row, {
10770
+ for (let index = 0; index < __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").length; index++) {
10771
+ const row = __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f")[index];
10772
+ if (row && !__classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f").includes(row)) {
10773
+ __classPrivateFieldGet$7(this, _KupDataTable_interactableDrop, "f").push(row);
10774
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").interact.dropzone(row, {
10775
10775
  accept: `[${kupDraggableCellAttr}]`,
10776
10776
  }, {
10777
10777
  callback: dataCb,
@@ -10785,44 +10785,44 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10785
10785
  if (this.headerIsPersistent &&
10786
10786
  this.tableHeight === undefined &&
10787
10787
  this.tableWidth === undefined) {
10788
- __classPrivateFieldGet$6(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f"));
10789
- __classPrivateFieldGet$6(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$6(this, _KupDataTable_theadRef, "f"));
10788
+ __classPrivateFieldGet$7(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f"));
10789
+ __classPrivateFieldGet$7(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$7(this, _KupDataTable_theadRef, "f"));
10790
10790
  }
10791
10791
  }, _KupDataTable_didRenderObservers = function _KupDataTable_didRenderObservers() {
10792
- if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") < __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f") && this.lazyLoadRows) {
10793
- __classPrivateFieldGet$6(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f")[__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") - 1]);
10792
+ if (__classPrivateFieldGet$7(this, _KupDataTable_paginatedRowsLength, "f") < __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f") && this.lazyLoadRows) {
10793
+ __classPrivateFieldGet$7(this, _KupDataTable_intObserver, "f").observe(__classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f")[__classPrivateFieldGet$7(this, _KupDataTable_paginatedRowsLength, "f") - 1]);
10794
10794
  }
10795
10795
  }, _KupDataTable_didLoadEventHandling = function _KupDataTable_didLoadEventHandling() {
10796
- __classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f").addEventListener('scroll', () => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_scrollStickyHeader).call(this));
10796
+ __classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f").addEventListener('scroll', () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_scrollStickyHeader).call(this));
10797
10797
  }, _KupDataTable_scrollStickyHeader = function _KupDataTable_scrollStickyHeader() {
10798
- if (!__classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f")) {
10798
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f")) {
10799
10799
  return;
10800
10800
  }
10801
- __classPrivateFieldGet$6(this, _KupDataTable_stickyTheadRef, "f").scrollLeft = __classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f").scrollLeft;
10801
+ __classPrivateFieldGet$7(this, _KupDataTable_stickyTheadRef, "f").scrollLeft = __classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f").scrollLeft;
10802
10802
  }, _KupDataTable_checkScrollOnHover = function _KupDataTable_checkScrollOnHover() {
10803
- if (!__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").scrollOnHover.isRegistered(__classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f"))) {
10803
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").scrollOnHover.isRegistered(__classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f"))) {
10804
10804
  if (this.scrollOnHover &&
10805
10805
  this.tableHeight === undefined &&
10806
10806
  this.tableWidth === undefined) {
10807
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").scrollOnHover.register(__classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f"));
10807
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").scrollOnHover.register(__classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f"));
10808
10808
  }
10809
10809
  }
10810
10810
  else {
10811
10811
  if (!this.scrollOnHover &&
10812
10812
  (this.tableHeight !== undefined ||
10813
10813
  this.tableWidth !== undefined)) {
10814
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f"));
10814
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").scrollOnHover.unregister(__classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f"));
10815
10815
  }
10816
10816
  }
10817
10817
  }, _KupDataTable_customizePanelPosition = function _KupDataTable_customizePanelPosition() {
10818
- if (__classPrivateFieldGet$6(this, _KupDataTable_customizeTopButtonRef, "f") &&
10819
- !__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f"))) {
10820
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f"), __classPrivateFieldGet$6(this, _KupDataTable_customizeTopButtonRef, "f"), 0, KupDynamicPositionPlacement.BOTTOM, true);
10818
+ if (__classPrivateFieldGet$7(this, _KupDataTable_customizeTopButtonRef, "f") &&
10819
+ !__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f"))) {
10820
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f"), __classPrivateFieldGet$7(this, _KupDataTable_customizeTopButtonRef, "f"), 0, KupDynamicPositionPlacement.BOTTOM, true);
10821
10821
  }
10822
10822
  }, _KupDataTable_rowsPointLength = function _KupDataTable_rowsPointLength() {
10823
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$6(this, _KupDataTable_rows, "f"));
10823
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$7(this, _KupDataTable_rows, "f"));
10824
10824
  }, _KupDataTable_paginatedRowsPointLength = function _KupDataTable_paginatedRowsPointLength() {
10825
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$6(this, _KupDataTable_paginatedRows, "f"));
10825
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, __classPrivateFieldGet$7(this, _KupDataTable_paginatedRows, "f"));
10826
10826
  }, _KupDataTable__rowsLength = function _KupDataTable__rowsLength(r) {
10827
10827
  if (r == null) {
10828
10828
  return 0;
@@ -10835,7 +10835,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10835
10835
  }
10836
10836
  count += 1;
10837
10837
  if (row.group != null) {
10838
- count += __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, row.group.children);
10838
+ count += __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable__rowsLength).call(this, row.group.children);
10839
10839
  }
10840
10840
  }
10841
10841
  return count;
@@ -10861,7 +10861,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10861
10861
  return undefined;
10862
10862
  }
10863
10863
  }, _KupDataTable_rowDetail = function _KupDataTable_rowDetail(row, x, y) {
10864
- const transposedData = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this);
10864
+ const transposedData = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this);
10865
10865
  const cardData = {
10866
10866
  button: [
10867
10867
  {
@@ -10890,7 +10890,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10890
10890
  showHeader: false,
10891
10891
  },
10892
10892
  ],
10893
- text: [__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.DETAIL)],
10893
+ text: [__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.DETAIL)],
10894
10894
  };
10895
10895
  const columns = cardData.datatable[0].data.columns;
10896
10896
  const rows = cardData.datatable[0].data.rows;
@@ -10914,7 +10914,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10914
10914
  currentColumn.visible = true;
10915
10915
  }
10916
10916
  else {
10917
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Invalid column name on row ID (' +
10917
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Invalid column name on row ID (' +
10918
10918
  row.id +
10919
10919
  "), couldn't set current record!", KupDebugCategory.WARNING);
10920
10920
  }
@@ -10923,7 +10923,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10923
10923
  for (let index = 0; index < rows.length; index++) {
10924
10924
  const column = this.data.columns.find((x) => x.name === rows[index].transposedColumnName);
10925
10925
  if (!column) {
10926
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Column not found on row name (' + column + ')!', KupDebugCategory.WARNING);
10926
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Column not found on row name (' + column + ')!', KupDebugCategory.WARNING);
10927
10927
  return;
10928
10928
  }
10929
10929
  const editable = rows[index].cells[row.id].isEditable
@@ -10947,8 +10947,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10947
10947
  resource: editable ? 'edit-key' : 'key-variant',
10948
10948
  },
10949
10949
  title: editable
10950
- ? __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.EDITABLE_KEY)
10951
- : __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.KEY),
10950
+ ? __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.EDITABLE_KEY)
10951
+ : __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.KEY),
10952
10952
  value: editable ? 'edit-key' : 'key-variant',
10953
10953
  };
10954
10954
  }
@@ -10963,7 +10963,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10963
10963
  color: `var(${KupThemeColorValues.TEXT})`,
10964
10964
  resource: 'pencil',
10965
10965
  },
10966
- title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EDITABLE_FIELD),
10966
+ title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EDITABLE_FIELD),
10967
10967
  value: 'pencil',
10968
10968
  };
10969
10969
  }
@@ -10985,64 +10985,64 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
10985
10985
  }
10986
10986
  rows[index].cells[iconColumn.toUpperCase()] = iconCell;
10987
10987
  }
10988
- if (!__classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f")) {
10988
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f")) {
10989
10989
  __classPrivateFieldSet$3(this, _KupDataTable_detailCard, document.createElement('kup-card'), "f");
10990
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").layoutFamily = KupCardFamily.DIALOG;
10991
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").layoutNumber = 4;
10992
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").sizeX = 'auto';
10993
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").sizeY = 'auto';
10990
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").layoutFamily = KupCardFamily.DIALOG;
10991
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").layoutNumber = 4;
10992
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").sizeX = 'auto';
10993
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").sizeY = 'auto';
10994
10994
  }
10995
10995
  else {
10996
- const children = Array.prototype.slice.call(__classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").children, 0);
10996
+ const children = Array.prototype.slice.call(__classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").children, 0);
10997
10997
  for (let index = 0; index < children.length; index++) {
10998
10998
  children[index].remove();
10999
10999
  }
11000
11000
  }
11001
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").data = cardData;
11002
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").style.position = 'fixed';
11003
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").style.left = '0';
11004
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").style.top = '0';
11005
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").setAttribute('data-x', x.toString());
11006
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").setAttribute('data-y', y.toString());
11007
- __classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f").style.transform = 'translate(' + x + 'px,' + y + 'px)';
11008
- this.rootElement.shadowRoot.append(__classPrivateFieldGet$6(this, _KupDataTable_detailCard, "f"));
11001
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").data = cardData;
11002
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").style.position = 'fixed';
11003
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").style.left = '0';
11004
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").style.top = '0';
11005
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").setAttribute('data-x', x.toString());
11006
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").setAttribute('data-y', y.toString());
11007
+ __classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f").style.transform = 'translate(' + x + 'px,' + y + 'px)';
11008
+ this.rootElement.shadowRoot.append(__classPrivateFieldGet$7(this, _KupDataTable_detailCard, "f"));
11009
11009
  }, _KupDataTable_dropDownActions = function _KupDataTable_dropDownActions(dropDownActions, row) {
11010
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_createDropDownActionsCard).call(this, dropDownActions, row);
11010
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_createDropDownActionsCard).call(this, dropDownActions, row);
11011
11011
  }, _KupDataTable_createDropDownActionsCard = function _KupDataTable_createDropDownActionsCard(dropDownActions, row) {
11012
- if (__classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f")) {
11013
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeRowActionsCard).call(this);
11012
+ if (__classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f")) {
11013
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeRowActionsCard).call(this);
11014
11014
  }
11015
11015
  __classPrivateFieldSet$3(this, _KupDataTable_actionsCard, document.createElement('kup-card'), "f");
11016
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").layoutFamily = KupCardFamily.STANDARD;
11017
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").layoutNumber = 17;
11018
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").menuVisible = true;
11019
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").sizeX = 'auto';
11020
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").sizeY = 'auto';
11021
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").data =
11022
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_prepareDataForActionsCard).call(this, dropDownActions);
11016
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").layoutFamily = KupCardFamily.STANDARD;
11017
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").layoutNumber = 17;
11018
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").menuVisible = true;
11019
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").sizeX = 'auto';
11020
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").sizeY = 'auto';
11021
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").data =
11022
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_prepareDataForActionsCard).call(this, dropDownActions);
11023
11023
  __classPrivateFieldSet$3(this, _KupDataTable_clickCbDropCard, {
11024
11024
  cb: () => {
11025
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeRowActionsCard).call(this);
11025
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeRowActionsCard).call(this);
11026
11026
  },
11027
- el: __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"),
11027
+ el: __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"),
11028
11028
  }, "f");
11029
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbDropCard, "f"), true);
11030
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").style.position = 'absolute';
11031
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").style.left = '0';
11032
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").style.top = '0';
11033
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").isMenu = true;
11034
- this.rootElement.shadowRoot.append(__classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"));
11035
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"), __classPrivateFieldGet$6(this, _KupDataTable_dropDownActionCardAnchor, "f")
11029
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbDropCard, "f"), true);
11030
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").style.position = 'absolute';
11031
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").style.left = '0';
11032
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").style.top = '0';
11033
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").isMenu = true;
11034
+ this.rootElement.shadowRoot.append(__classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"));
11035
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"), __classPrivateFieldGet$7(this, _KupDataTable_dropDownActionCardAnchor, "f")
11036
11036
  .parentElement, 0, KupDynamicPositionPlacement.AUTO, true);
11037
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"));
11038
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").addEventListener('kup-card-event', (e) => {
11037
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"));
11038
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").addEventListener('kup-card-event', (e) => {
11039
11039
  switch (e.detail.event.type) {
11040
11040
  case 'kup-textfield-input':
11041
11041
  const input = e.detail.event.detail.value;
11042
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_filterRowActionsCard).call(this, __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"), dropDownActions, input);
11042
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_filterRowActionsCard).call(this, __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"), dropDownActions, input);
11043
11043
  break;
11044
11044
  case 'kup-textfield-cleariconclick':
11045
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_clearSearchActionsCard).call(this, __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"), dropDownActions);
11045
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_clearSearchActionsCard).call(this, __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"), dropDownActions);
11046
11046
  break;
11047
11047
  case 'kup-list-click':
11048
11048
  const selectedObjectIndex = e.detail.event.detail.index;
@@ -11058,7 +11058,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11058
11058
  column: selectedObject.column,
11059
11059
  });
11060
11060
  setTimeout(() => {
11061
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeRowActionsCard).call(this);
11061
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeRowActionsCard).call(this);
11062
11062
  }, 0);
11063
11063
  }
11064
11064
  });
@@ -11078,14 +11078,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11078
11078
  card.data.list[0].data = filteredList;
11079
11079
  card.refresh();
11080
11080
  }, _KupDataTable_closeRowActionsCard = function _KupDataTable_closeRowActionsCard() {
11081
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f"));
11082
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbDropCard, "f"));
11083
- __classPrivateFieldGet$6(this, _KupDataTable_actionsCard, "f").remove();
11081
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f"));
11082
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbDropCard, "f"));
11083
+ __classPrivateFieldGet$7(this, _KupDataTable_actionsCard, "f").remove();
11084
11084
  __classPrivateFieldSet$3(this, _KupDataTable_actionsCard, null, "f");
11085
11085
  }, _KupDataTable_closeColumnMenuCard = function _KupDataTable_closeColumnMenuCard() {
11086
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f"));
11087
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbDropCard, "f"));
11088
- __classPrivateFieldGet$6(this, _KupDataTable_columnMenuCard, "f").remove();
11086
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f"));
11087
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbDropCard, "f"));
11088
+ __classPrivateFieldGet$7(this, _KupDataTable_columnMenuCard, "f").remove();
11089
11089
  __classPrivateFieldSet$3(this, _KupDataTable_columnMenuCard, null, "f");
11090
11090
  }, _KupDataTable_prepareDataForActionsCard = function _KupDataTable_prepareDataForActionsCard(dropDownActions) {
11091
11091
  const hasAlmostTenElements = dropDownActions.length >= 10;
@@ -11115,10 +11115,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11115
11115
  const CARD_WIDTH = 400;
11116
11116
  const CARD_HEIGHT = 400;
11117
11117
  __classPrivateFieldSet$3(this, _KupDataTable_insertCard, document.createElement('kup-card'), "f");
11118
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").layoutFamily = KupCardFamily.FREE;
11119
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").layoutNumber = 1;
11120
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").sizeX = CARD_WIDTH + 'px';
11121
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").sizeY = CARD_HEIGHT + 'px';
11118
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").layoutFamily = KupCardFamily.FREE;
11119
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").layoutNumber = 1;
11120
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").sizeX = CARD_WIDTH + 'px';
11121
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").sizeY = CARD_HEIGHT + 'px';
11122
11122
  const style = document.createElement('style');
11123
11123
  style.innerText =
11124
11124
  'kup-form { max-height: 40vh; overflow: auto; } .page-wrapper { display: grid; } ' +
@@ -11126,24 +11126,24 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11126
11126
  '.message-wrapper { display: none; justify-content: start; padding-top: 5px; padding-bottom: 5px; } ' +
11127
11127
  '.errorIcon { --kup-icon-color: var(--kup-danger-color-60); } ' +
11128
11128
  '.message { background-color: var(--kup-danger-color-60); color: white; padding: 3px; } ';
11129
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").append(style);
11129
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").append(style);
11130
11130
  const pageWrapper = document.createElement('div');
11131
11131
  pageWrapper.className = 'page-wrapper';
11132
11132
  const buttonWrapper = document.createElement('div');
11133
11133
  buttonWrapper.className = 'button-wrapper';
11134
11134
  const cancel = document.createElement('kup-button');
11135
11135
  const confirm = document.createElement('kup-button');
11136
- cancel.id = __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_CANCEL_ID, "f");
11136
+ cancel.id = __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_CANCEL_ID, "f");
11137
11137
  cancel.icon = 'clear';
11138
- cancel.label = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ABORT);
11138
+ cancel.label = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ABORT);
11139
11139
  cancel.styling = FButtonStyling.FLAT;
11140
11140
  cancel.addEventListener('kup-button-click', () => {
11141
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").remove();
11141
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").remove();
11142
11142
  __classPrivateFieldSet$3(this, _KupDataTable_insertCard, null, "f");
11143
11143
  });
11144
- confirm.id = __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
11144
+ confirm.id = __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
11145
11145
  confirm.icon = 'check';
11146
- confirm.label = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM);
11146
+ confirm.label = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM);
11147
11147
  let innerComp = document.createElement('kup-spinner');
11148
11148
  innerComp.slot = 'spinner';
11149
11149
  innerComp.dimensions = '0.6em';
@@ -11162,7 +11162,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11162
11162
  buttonWrapper.append(cancel);
11163
11163
  buttonWrapper.append(confirm);
11164
11164
  const form = document.createElement('kup-form');
11165
- form.id = __classPrivateFieldGet$6(this, _KupDataTable_FIELDS_FORM_ID, "f");
11165
+ form.id = __classPrivateFieldGet$7(this, _KupDataTable_FIELDS_FORM_ID, "f");
11166
11166
  const row = {
11167
11167
  cells: {},
11168
11168
  id: '0',
@@ -11182,7 +11182,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11182
11182
  };
11183
11183
  const messageWrapper = document.createElement('div');
11184
11184
  messageWrapper.className = 'message-wrapper';
11185
- messageWrapper.id = __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
11185
+ messageWrapper.id = __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
11186
11186
  const icon = document.createElement('kup-image');
11187
11187
  icon.className = 'errorIcon';
11188
11188
  icon.resource = 'cancel';
@@ -11191,43 +11191,43 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11191
11191
  messageWrapper.append(icon);
11192
11192
  const message = document.createElement('span');
11193
11193
  message.className = 'message';
11194
- message.id = __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_ID, "f");
11194
+ message.id = __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_ID, "f");
11195
11195
  let msg = '';
11196
11196
  message.innerText = msg;
11197
11197
  messageWrapper.append(message);
11198
11198
  pageWrapper.append(messageWrapper);
11199
11199
  pageWrapper.append(form);
11200
11200
  pageWrapper.append(buttonWrapper);
11201
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").append(pageWrapper);
11202
- __classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f").data = {};
11203
- this.rootElement.shadowRoot.append(__classPrivateFieldGet$6(this, _KupDataTable_insertCard, "f"));
11201
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").append(pageWrapper);
11202
+ __classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f").data = {};
11203
+ this.rootElement.shadowRoot.append(__classPrivateFieldGet$7(this, _KupDataTable_insertCard, "f"));
11204
11204
  }, _KupDataTable_rowsDelete = function _KupDataTable_rowsDelete() {
11205
11205
  const createDeleteCard = () => {
11206
11206
  __classPrivateFieldSet$3(this, _KupDataTable_confirmDeleteDialog, document.createElement('kup-dialog'), "f");
11207
11207
  __classPrivateFieldSet$3(this, _KupDataTable_confirmDeleteCard, document.createElement('kup-card'), "f");
11208
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").layoutFamily = KupCardFamily.FREE;
11209
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").layoutNumber = 1;
11210
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").sizeX = 'auto';
11211
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").sizeY = 'auto';
11208
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").layoutFamily = KupCardFamily.FREE;
11209
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").layoutNumber = 1;
11210
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").sizeX = 'auto';
11211
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").sizeY = 'auto';
11212
11212
  const style = document.createElement('style');
11213
11213
  style.innerText =
11214
11214
  '.button-wrapper, .message-wrapper { display: flex; justify-content: space-around; z-index: var(--kup-card-zindex); } .message-wrapper { padding-bottom: 20px; }';
11215
11215
  const messageWrapper = document.createElement('div');
11216
11216
  messageWrapper.className = 'message-wrapper';
11217
- messageWrapper.id = __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
11217
+ messageWrapper.id = __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_WRAPPER_ID, "f");
11218
11218
  const message = document.createElement('span');
11219
11219
  message.className = 'message';
11220
- message.id = __classPrivateFieldGet$6(this, _KupDataTable_MESSAGE_ID, "f");
11221
- let msg = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM_DELETE_X_ROWS);
11220
+ message.id = __classPrivateFieldGet$7(this, _KupDataTable_MESSAGE_ID, "f");
11221
+ let msg = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM_DELETE_X_ROWS);
11222
11222
  msg = msg.replace('{0}', this.selectedRows.length + '');
11223
11223
  message.innerText = msg;
11224
11224
  messageWrapper.append(message);
11225
11225
  const buttonWrapper = document.createElement('div');
11226
11226
  buttonWrapper.className = 'button-wrapper';
11227
11227
  const confirm = document.createElement('kup-button');
11228
- confirm.id = __classPrivateFieldGet$6(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
11228
+ confirm.id = __classPrivateFieldGet$7(this, _KupDataTable_BUTTON_SUBMIT_ID, "f");
11229
11229
  confirm.icon = 'check';
11230
- confirm.label = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM);
11230
+ confirm.label = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM);
11231
11231
  let innerComp = document.createElement('kup-spinner');
11232
11232
  innerComp.slot = 'spinner';
11233
11233
  innerComp.dimensions = '0.6em';
@@ -11242,17 +11242,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11242
11242
  });
11243
11243
  });
11244
11244
  buttonWrapper.append(confirm);
11245
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").append(style);
11246
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").append(messageWrapper);
11247
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").append(buttonWrapper);
11248
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f").data = {};
11249
- __classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteDialog, "f").append(__classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteCard, "f"));
11250
- document.querySelector('body').append(__classPrivateFieldGet$6(this, _KupDataTable_confirmDeleteDialog, "f"));
11245
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").append(style);
11246
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").append(messageWrapper);
11247
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").append(buttonWrapper);
11248
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f").data = {};
11249
+ __classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteDialog, "f").append(__classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteCard, "f"));
11250
+ document.querySelector('body').append(__classPrivateFieldGet$7(this, _KupDataTable_confirmDeleteDialog, "f"));
11251
11251
  };
11252
11252
  const insertRowsIds = [];
11253
11253
  const startingRows = [];
11254
11254
  this.selectedRows.forEach((row) => {
11255
- if (row.id.indexOf(__classPrivateFieldGet$6(this, _KupDataTable_INSERT_PREFIX, "f")) > -1) {
11255
+ if (row.id.indexOf(__classPrivateFieldGet$7(this, _KupDataTable_INSERT_PREFIX, "f")) > -1) {
11256
11256
  insertRowsIds.push(row.id);
11257
11257
  }
11258
11258
  else {
@@ -11357,15 +11357,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11357
11357
  tr: tr ? tr : null,
11358
11358
  };
11359
11359
  }, _KupDataTable_clickHandler = function _KupDataTable_clickHandler(e) {
11360
- const details = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11360
+ const details = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11361
11361
  if (details.area === 'header') {
11362
11362
  if (details.th && details.column) {
11363
11363
  if (details.filterRemove) {
11364
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onRemoveFilter).call(this, details.column);
11364
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onRemoveFilter).call(this, details.column);
11365
11365
  return details;
11366
11366
  }
11367
11367
  else if (this.sortEnabled) {
11368
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onColumnSort).call(this, e, details.column.name);
11368
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onColumnSort).call(this, e, details.column.name);
11369
11369
  return details;
11370
11370
  }
11371
11371
  }
@@ -11380,16 +11380,16 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11380
11380
  }
11381
11381
  details.tr.classList.add('focus');
11382
11382
  if (e.ctrlKey || e.metaKey) {
11383
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_rowDetail).call(this, Object.assign({}, details.row), e.clientX, e.clientY);
11383
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_rowDetail).call(this, Object.assign({}, details.row), e.clientX, e.clientY);
11384
11384
  return details;
11385
11385
  }
11386
11386
  }
11387
11387
  if (details.tr && details.row && details.isGroupRow) {
11388
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onRowExpand).call(this, details.row);
11388
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onRowExpand).call(this, details.row);
11389
11389
  return details;
11390
11390
  }
11391
11391
  if (details.td && details.row && !details.textfield) {
11392
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, true);
11392
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, true);
11393
11393
  return details;
11394
11394
  }
11395
11395
  __classPrivateFieldSet$3(this, _KupDataTable_lastFocusedRow, details.row, "f");
@@ -11398,14 +11398,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11398
11398
  }, _KupDataTable_cellActionsMenuHandler = function _KupDataTable_cellActionsMenuHandler(e) {
11399
11399
  var _a;
11400
11400
  e.stopPropagation();
11401
- const details = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11401
+ const details = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11402
11402
  if (details.cell) {
11403
- const cellActions = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.cell.buildCellActions(details.row, details.column, (_a = this.commands) !== null && _a !== void 0 ? _a : []);
11404
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, details.row, cellActions);
11403
+ const cellActions = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.cell.buildCellActions(details.row, details.column, (_a = this.commands) !== null && _a !== void 0 ? _a : []);
11404
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, details.row, cellActions);
11405
11405
  }
11406
11406
  return details;
11407
11407
  }, _KupDataTable_contextMenuHandler = function _KupDataTable_contextMenuHandler(e) {
11408
- const details = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11408
+ const details = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11409
11409
  if (details.area === DataTableAreasEnum.HEADER) {
11410
11410
  if (details.th && details.column) {
11411
11411
  this.openColumnMenu(details.column.name);
@@ -11415,34 +11415,34 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11415
11415
  else if (details.area === DataTableAreasEnum.FOOTER) {
11416
11416
  if (details.td && details.column) {
11417
11417
  __classPrivateFieldSet$3(this, _KupDataTable_totalMenuCoords, { x: e.clientX, y: e.clientY }, "f");
11418
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onTotalMenuOpen).call(this, details.column);
11418
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onTotalMenuOpen).call(this, details.column);
11419
11419
  return details;
11420
11420
  }
11421
11421
  }
11422
11422
  return details;
11423
11423
  }, _KupDataTable_dblClickHandler = function _KupDataTable_dblClickHandler(e) {
11424
- const details = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11424
+ const details = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
11425
11425
  if (details.area === 'body') {
11426
11426
  if (this.selection == SelectionMode.MULTIPLE) {
11427
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
11427
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
11428
11428
  }
11429
11429
  if (this.selection == SelectionMode.SINGLE ||
11430
11430
  this.selection == SelectionMode.MULTIPLE) {
11431
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, false);
11431
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, details.row, details.td, false);
11432
11432
  }
11433
11433
  }
11434
11434
  return details;
11435
11435
  }, _KupDataTable_initRows = function _KupDataTable_initRows() {
11436
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_filterRows).call(this);
11437
- __classPrivateFieldSet$3(this, _KupDataTable_footer, calcTotals(this.totals, this.getColumns(), normalizeRows(this.getColumns(), __classPrivateFieldGet$6(this, _KupDataTable_rows, "f"))), "f");
11438
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_groupRows).call(this);
11439
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_sortRows).call(this);
11440
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
11441
- __classPrivateFieldSet$3(this, _KupDataTable_paginatedRows, paginateRows(__classPrivateFieldGet$6(this, _KupDataTable_rows, "f"), this.currentPage, this.currentRowsPerPage, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)), "f");
11442
- __classPrivateFieldSet$3(this, _KupDataTable_paginatedRowsLength, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_paginatedRowsPointLength).call(this), "f");
11436
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_filterRows).call(this);
11437
+ __classPrivateFieldSet$3(this, _KupDataTable_footer, calcTotals(this.totals, this.getColumns(), normalizeRows(this.getColumns(), __classPrivateFieldGet$7(this, _KupDataTable_rows, "f"))), "f");
11438
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_groupRows).call(this);
11439
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_sortRows).call(this);
11440
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
11441
+ __classPrivateFieldSet$3(this, _KupDataTable_paginatedRows, paginateRows(__classPrivateFieldGet$7(this, _KupDataTable_rows, "f"), this.currentPage, this.currentRowsPerPage, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)), "f");
11442
+ __classPrivateFieldSet$3(this, _KupDataTable_paginatedRowsLength, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_paginatedRowsPointLength).call(this), "f");
11443
11443
  }, _KupDataTable_filterRows = function _KupDataTable_filterRows() {
11444
11444
  __classPrivateFieldSet$3(this, _KupDataTable_rows, filterRows(this.getRows(), this.filters, this.globalFilterValue, this.getColumns()), "f");
11445
- __classPrivateFieldSet$3(this, _KupDataTable_rowsLength, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_rowsPointLength).call(this), "f");
11445
+ __classPrivateFieldSet$3(this, _KupDataTable_rowsLength, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_rowsPointLength).call(this), "f");
11446
11446
  }, _KupDataTable_isGrouping = function _KupDataTable_isGrouping() {
11447
11447
  return this.groups && this.groups.length > 0;
11448
11448
  }, _KupDataTable_hasRowActions = function _KupDataTable_hasRowActions() {
@@ -11456,19 +11456,19 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11456
11456
  }, _KupDataTable_hasTotals = function _KupDataTable_hasTotals() {
11457
11457
  return this.totals && Object.keys(this.totals).length > 0;
11458
11458
  }, _KupDataTable_tableHasAutoWidth = function _KupDataTable_tableHasAutoWidth() {
11459
- if (!__classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")) {
11459
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")) {
11460
11460
  return;
11461
11461
  }
11462
11462
  const visibleCols = this.getVisibleColumns();
11463
11463
  // Before checking each column, controls that visible columns are as many as items with custom sizes.
11464
11464
  // If there are more visible columns, it means that the width of the table will be set to auto.
11465
- if (visibleCols.length <= __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f").length) {
11465
+ if (visibleCols.length <= __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f").length) {
11466
11466
  let found = false;
11467
11467
  // Each visible column must have its own width for the table to have a auto width
11468
11468
  for (let i = 0; i < visibleCols.length; i++) {
11469
11469
  found = false;
11470
- for (let j = 0; j < __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f").length; j++) {
11471
- if (visibleCols[i].name === __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")[j].name) {
11470
+ for (let j = 0; j < __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f").length; j++) {
11471
+ if (visibleCols[i].name === __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")[j].name) {
11472
11472
  found = true;
11473
11473
  break;
11474
11474
  }
@@ -11481,8 +11481,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11481
11481
  }
11482
11482
  return false;
11483
11483
  }, _KupDataTable_forceGroupExpansion = function _KupDataTable_forceGroupExpansion() {
11484
- __classPrivateFieldGet$6(this, _KupDataTable_rows, "f").forEach((row) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
11485
- __classPrivateFieldGet$6(this, _KupDataTable_paginatedRows, "f").forEach((row) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
11484
+ __classPrivateFieldGet$7(this, _KupDataTable_rows, "f").forEach((row) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
11485
+ __classPrivateFieldGet$7(this, _KupDataTable_paginatedRows, "f").forEach((row) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, row));
11486
11486
  }, _KupDataTable_forceRowGroupExpansion = function _KupDataTable_forceRowGroupExpansion(row) {
11487
11487
  // check if row is group
11488
11488
  if (!row.group) {
@@ -11503,10 +11503,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11503
11503
  }
11504
11504
  this.groupState[row.group.id] = groupState;
11505
11505
  if (row.group.children) {
11506
- row.group.children.forEach((childRow) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, childRow));
11506
+ row.group.children.forEach((childRow) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_forceRowGroupExpansion).call(this, childRow));
11507
11507
  }
11508
11508
  }, _KupDataTable_adjustPaginator = function _KupDataTable_adjustPaginator() {
11509
- const numberOfRows = __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f");
11509
+ const numberOfRows = __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f");
11510
11510
  // check if current page is valid
11511
11511
  const numberOfPages = Math.ceil(numberOfRows / this.currentRowsPerPage);
11512
11512
  if (this.currentPage > numberOfPages) {
@@ -11516,11 +11516,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11516
11516
  }
11517
11517
  }, _KupDataTable_setCellEditability = function _KupDataTable_setCellEditability(column, row, cell) {
11518
11518
  if (column.useAs) {
11519
- if (__classPrivateFieldGet$6(this, _KupDataTable_insertedRowIds, "f").includes(row.id) &&
11519
+ if (__classPrivateFieldGet$7(this, _KupDataTable_insertedRowIds, "f").includes(row.id) &&
11520
11520
  column.useAs === 'Dec') {
11521
11521
  return false;
11522
11522
  }
11523
- else if (!__classPrivateFieldGet$6(this, _KupDataTable_insertedRowIds, "f").includes(row.id) &&
11523
+ else if (!__classPrivateFieldGet$7(this, _KupDataTable_insertedRowIds, "f").includes(row.id) &&
11524
11524
  (column.useAs === 'Dec' || column.useAs === 'Key')) {
11525
11525
  return false;
11526
11526
  }
@@ -11533,7 +11533,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11533
11533
  }
11534
11534
  return false;
11535
11535
  }, _KupDataTable_composeFixedCellStyleAndClass = function _KupDataTable_composeFixedCellStyleAndClass(columnCssIndex, columnCssIndexR, rowCssIndex, extraCellsCount = 0) {
11536
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
11536
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
11537
11537
  return undefined;
11538
11538
  }
11539
11539
  //-- Controls if there are fixed rows or columns --
@@ -11585,20 +11585,20 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11585
11585
  }, _KupDataTable_updateFixedRowsAndColumnsCssVariables = function _KupDataTable_updateFixedRowsAndColumnsCssVariables() {
11586
11586
  // [ffbf] - Using getBoundingClientRect is mandatory since Firefox return a wrong value for ele.offsetHeight and witdh values
11587
11587
  // When grouping, the fixed rows and columns are not sticky
11588
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) || !__classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f"))
11588
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) || !__classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f"))
11589
11589
  return false;
11590
11590
  let toRet = false;
11591
11591
  if (this.fixedRows >= 1) {
11592
- let currentRow = __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type');
11592
+ let currentRow = __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type');
11593
11593
  // The height must start from the height of the header. BUT not on Safari.
11594
11594
  // Safari handles the sticky position on the tables in a different way, making it start from the tbody element
11595
11595
  // and not on the table with a specified position of sticky. There fore in that case we must set initial height to 0.
11596
- let previousHeight = !__classPrivateFieldGet$6(this, _KupDataTable_isSafariBrowser, "f")
11597
- ? __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").querySelector('thead > tr:first-of-type > th:first-of-type').getBoundingClientRect().height // [ffbf]
11596
+ let previousHeight = !__classPrivateFieldGet$7(this, _KupDataTable_isSafariBrowser, "f")
11597
+ ? __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").querySelector('thead > tr:first-of-type > th:first-of-type').getBoundingClientRect().height // [ffbf]
11598
11598
  : 0;
11599
11599
  // [CSSCount] - I must start from 1 since we are referencing html elements e not array (with CSS selectors starting from 1)
11600
11600
  for (let i = 1; i <= this.fixedRows && currentRow; i++) {
11601
- __classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f").style.setProperty(FixedCellsCSSVarsBase.rows + i, previousHeight + 'px');
11601
+ __classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f").style.setProperty(FixedCellsCSSVarsBase.rows + i, previousHeight + 'px');
11602
11602
  previousHeight += currentRow.children[0].getBoundingClientRect().height; // [ffbf]
11603
11603
  currentRow =
11604
11604
  currentRow.nextElementSibling;
@@ -11606,17 +11606,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11606
11606
  toRet = true;
11607
11607
  }
11608
11608
  if (this.fixedColumns >= 1) {
11609
- let currentCell = __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type > td:first-of-type');
11609
+ let currentCell = __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type > td:first-of-type');
11610
11610
  let previousWidth = 0;
11611
11611
  const totalFixedColumns = this.fixedColumns +
11612
- (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
11613
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)
11612
+ (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
11613
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)
11614
11614
  ? 1
11615
11615
  : 0) +
11616
11616
  (this.selection === SelectionMode.MULTIPLE_CHECKBOX ? 1 : 0);
11617
11617
  // @See [CSSCount]
11618
11618
  for (let i = 1; i <= totalFixedColumns && currentCell; i++) {
11619
- __classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f").style.setProperty(FixedCellsCSSVarsBase.columns + i, previousWidth + 'px');
11619
+ __classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f").style.setProperty(FixedCellsCSSVarsBase.columns + i, previousWidth + 'px');
11620
11620
  previousWidth += currentCell.getBoundingClientRect().width; // [ffbf]
11621
11621
  currentCell =
11622
11622
  currentCell.nextElementSibling;
@@ -11624,10 +11624,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11624
11624
  toRet = true;
11625
11625
  }
11626
11626
  if (this.fixedColumnsR >= 1) {
11627
- let currentCell = __classPrivateFieldGet$6(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type > td:last-of-type');
11627
+ let currentCell = __classPrivateFieldGet$7(this, _KupDataTable_tableRef, "f").querySelector('tbody > tr:first-of-type > td:last-of-type');
11628
11628
  let previousWidth = 0;
11629
11629
  for (let i = 1; i <= this.fixedColumnsR && currentCell; i++) {
11630
- __classPrivateFieldGet$6(this, _KupDataTable_tableAreaRef, "f").style.setProperty(FixedCellsCSSVarsBase.columnsR + i, previousWidth + 'px');
11630
+ __classPrivateFieldGet$7(this, _KupDataTable_tableAreaRef, "f").style.setProperty(FixedCellsCSSVarsBase.columnsR + i, previousWidth + 'px');
11631
11631
  previousWidth += currentCell.getBoundingClientRect().width;
11632
11632
  currentCell =
11633
11633
  currentCell.previousElementSibling;
@@ -11675,10 +11675,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11675
11675
  // resetting current page
11676
11676
  this.resetCurrentPage();
11677
11677
  const newFilters = Object.assign({}, this.filters);
11678
- __classPrivateFieldGet$6(this, _KupDataTable_filtersColumnMenuInstance, "f").removeFilter(newFilters, column.name);
11678
+ __classPrivateFieldGet$7(this, _KupDataTable_filtersColumnMenuInstance, "f").removeFilter(newFilters, column.name);
11679
11679
  this.filters = newFilters;
11680
11680
  }, _KupDataTable_getFilterValueForTooltip = function _KupDataTable_getFilterValueForTooltip(column) {
11681
- return __classPrivateFieldGet$6(this, _KupDataTable_filtersColumnMenuInstance, "f").getFilterValueForTooltip(this.filters, column);
11681
+ return __classPrivateFieldGet$7(this, _KupDataTable_filtersColumnMenuInstance, "f").getFilterValueForTooltip(this.filters, column);
11682
11682
  }, _KupDataTable_onGlobalFilterChange = function _KupDataTable_onGlobalFilterChange(inputEl) {
11683
11683
  this.resetCurrentPage();
11684
11684
  if (inputEl) {
@@ -11689,15 +11689,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11689
11689
  this.globalFilterValue = '';
11690
11690
  }
11691
11691
  }, _KupDataTable_handlePageChange = function _KupDataTable_handlePageChange(pageNumber) {
11692
- const newPage = pageChange(pageNumber, __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f"), this.currentRowsPerPage);
11692
+ const newPage = pageChange(pageNumber, __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f"), this.currentRowsPerPage);
11693
11693
  if (newPage) {
11694
11694
  this.currentPage = newPage;
11695
11695
  }
11696
11696
  }, _KupDataTable_handleRowsPerPageChange = function _KupDataTable_handleRowsPerPageChange(rowsNumber) {
11697
- const newRows = rowsPerPageChange(rowsNumber, __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f"));
11697
+ const newRows = rowsPerPageChange(rowsNumber, __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f"));
11698
11698
  if (newRows) {
11699
11699
  this.currentRowsPerPage = newRows;
11700
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
11700
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_adjustPaginator).call(this);
11701
11701
  }
11702
11702
  }, _KupDataTable_onRowClick = function _KupDataTable_onRowClick(row, td, emitEvent) {
11703
11703
  // selecting row
@@ -11727,9 +11727,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11727
11727
  if (!row.unselectable &&
11728
11728
  this.selection !== SelectionMode.NONE &&
11729
11729
  clickedColumn) {
11730
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_deselectColumn).call(this, this.selectedColumn);
11730
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_deselectColumn).call(this, this.selectedColumn);
11731
11731
  this.selectedColumn = clickedColumn;
11732
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_selectColumn).call(this, this.selectedColumn);
11732
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_selectColumn).call(this, this.selectedColumn);
11733
11733
  if (emitEvent !== false) {
11734
11734
  // emit event
11735
11735
  this.kupRowSelected.emit({
@@ -11762,7 +11762,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11762
11762
  }, _KupDataTable_onRowActionExpanderClick = function _KupDataTable_onRowActionExpanderClick(e, row, dropDownActions) {
11763
11763
  e.stopPropagation();
11764
11764
  __classPrivateFieldSet$3(this, _KupDataTable_dropDownActionCardAnchor, e.target, "f");
11765
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_dropDownActions).call(this, dropDownActions, row);
11765
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_dropDownActions).call(this, dropDownActions, row);
11766
11766
  }, _KupDataTable_handleRowSelect = function _KupDataTable_handleRowSelect(row) {
11767
11767
  const index = this.selectedRows.indexOf(row);
11768
11768
  if (index < 0) {
@@ -11791,7 +11791,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11791
11791
  }, _KupDataTable_onSelectAll = function _KupDataTable_onSelectAll({ target }) {
11792
11792
  if (target.checked) {
11793
11793
  // select all rows
11794
- this.selectedRows = __classPrivateFieldGet$6(this, _KupDataTable_renderedRows, "f");
11794
+ this.selectedRows = __classPrivateFieldGet$7(this, _KupDataTable_renderedRows, "f");
11795
11795
  // triggering event
11796
11796
  this.kupRowSelected.emit({
11797
11797
  comp: this,
@@ -11803,21 +11803,21 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11803
11803
  }
11804
11804
  else {
11805
11805
  // deselect all rows
11806
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
11806
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
11807
11807
  }
11808
11808
  }, _KupDataTable_openTotalMenu = function _KupDataTable_openTotalMenu(column) {
11809
11809
  this.openedTotalMenu = column.name;
11810
11810
  }, _KupDataTable_closeTotalMenu = function _KupDataTable_closeTotalMenu() {
11811
11811
  this.openedTotalMenu = null;
11812
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCb, "f"));
11812
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCb, "f"));
11813
11813
  }, _KupDataTable_isOpenedTotalMenuForColumn = function _KupDataTable_isOpenedTotalMenuForColumn(column) {
11814
11814
  return this.openedTotalMenu === column;
11815
11815
  }, _KupDataTable_groupRows = function _KupDataTable_groupRows() {
11816
- if (!__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
11816
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
11817
11817
  return;
11818
11818
  }
11819
- __classPrivateFieldSet$3(this, _KupDataTable_rows, groupRows(this.getColumns(), __classPrivateFieldGet$6(this, _KupDataTable_rows, "f"), this.groups, this.totals), "f");
11820
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupState).call(this);
11819
+ __classPrivateFieldSet$3(this, _KupDataTable_rows, groupRows(this.getColumns(), __classPrivateFieldGet$7(this, _KupDataTable_rows, "f"), this.groups, this.totals), "f");
11820
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupState).call(this);
11821
11821
  }, _KupDataTable_onLoadMoreClick = function _KupDataTable_onLoadMoreClick() {
11822
11822
  var _a;
11823
11823
  let loadItems = 0;
@@ -11827,11 +11827,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11827
11827
  break;
11828
11828
  case LoadMoreMode.CONSTANT_INCREMENT:
11829
11829
  loadItems =
11830
- this.loadMoreStep * (__classPrivateFieldGet$6(this, _KupDataTable_loadMoreEventCounter, "f") + 1);
11830
+ this.loadMoreStep * (__classPrivateFieldGet$7(this, _KupDataTable_loadMoreEventCounter, "f") + 1);
11831
11831
  break;
11832
11832
  case LoadMoreMode.PROGRESSIVE_THRESHOLD:
11833
11833
  loadItems =
11834
- Math.max(__classPrivateFieldGet$6(this, _KupDataTable_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet$6(this, _KupDataTable_loadMoreEventCounter, "f") + 1, 2);
11834
+ Math.max(__classPrivateFieldGet$7(this, _KupDataTable_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet$7(this, _KupDataTable_loadMoreEventCounter, "f") + 1, 2);
11835
11835
  break;
11836
11836
  }
11837
11837
  if (loadItems > this.loadMoreLimit) {
@@ -11843,15 +11843,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11843
11843
  loadItems: loadItems,
11844
11844
  });
11845
11845
  __classPrivateFieldSet$3(this, _KupDataTable_loadMoreEventPreviousQuantity, loadItems, "f");
11846
- __classPrivateFieldSet$3(this, _KupDataTable_loadMoreEventCounter, (_a = __classPrivateFieldGet$6(this, _KupDataTable_loadMoreEventCounter, "f"), _a++, _a), "f");
11846
+ __classPrivateFieldSet$3(this, _KupDataTable_loadMoreEventCounter, (_a = __classPrivateFieldGet$7(this, _KupDataTable_loadMoreEventCounter, "f"), _a++, _a), "f");
11847
11847
  }, _KupDataTable_adjustGroupState = function _KupDataTable_adjustGroupState() {
11848
- if (!__classPrivateFieldGet$6(this, _KupDataTable_rows, "f") ||
11849
- __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f") === 0 ||
11850
- !__classPrivateFieldGet$6(this, _KupDataTable_rows, "f")[0].hasOwnProperty('group')) {
11848
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_rows, "f") ||
11849
+ __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f") === 0 ||
11850
+ !__classPrivateFieldGet$7(this, _KupDataTable_rows, "f")[0].hasOwnProperty('group')) {
11851
11851
  // no grouping
11852
11852
  return;
11853
11853
  }
11854
- __classPrivateFieldGet$6(this, _KupDataTable_rows, "f").forEach((r) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, r));
11854
+ __classPrivateFieldGet$7(this, _KupDataTable_rows, "f").forEach((r) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, r));
11855
11855
  }, _KupDataTable_adjustGroupStateFromRow = function _KupDataTable_adjustGroupStateFromRow(row) {
11856
11856
  if (!row || !row.hasOwnProperty('group')) {
11857
11857
  // not a groping row, nothing to do
@@ -11868,9 +11868,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11868
11868
  // update expanded
11869
11869
  group.expanded = groupFromState.expanded;
11870
11870
  }
11871
- group.children.forEach((child) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, child));
11871
+ group.children.forEach((child) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_adjustGroupStateFromRow).call(this, child));
11872
11872
  }, _KupDataTable_sortRows = function _KupDataTable_sortRows() {
11873
- __classPrivateFieldSet$3(this, _KupDataTable_rows, sortRows(__classPrivateFieldGet$6(this, _KupDataTable_rows, "f"), this.sort), "f");
11873
+ __classPrivateFieldSet$3(this, _KupDataTable_rows, sortRows(__classPrivateFieldGet$7(this, _KupDataTable_rows, "f"), this.sort), "f");
11874
11874
  }, _KupDataTable_getSortIcon = function _KupDataTable_getSortIcon(columnName) {
11875
11875
  // check if column in sort array
11876
11876
  for (let sortObj of this.sort) {
@@ -11896,8 +11896,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11896
11896
  if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
11897
11897
  colSpan += 1;
11898
11898
  }
11899
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
11900
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
11899
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
11900
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
11901
11901
  colSpan += 1;
11902
11902
  }
11903
11903
  return colSpan;
@@ -11927,7 +11927,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11927
11927
  sourceColumn: this.data.columns[sortedColIndex],
11928
11928
  targetColumn: this.data.columns[receivingColIndex],
11929
11929
  });
11930
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, this.data.columns, receivingColIndex, sortedColIndex);
11930
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_moveSortedColumns).call(this, this.data.columns, receivingColIndex, sortedColIndex);
11931
11931
  }
11932
11932
  // Rearrange visibleColumns to match the new sort order
11933
11933
  if (this.visibleColumns) {
@@ -11947,12 +11947,12 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11947
11947
  ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkValueOnExit) &&
11948
11948
  cell.shape !== FCellShapes.CHECKBOX &&
11949
11949
  cell.shape !== FCellShapes.SWITCH &&
11950
- ((_c = (_b = __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows.find((r) => r.id == row.id)) === null || _b === void 0 ? void 0 : _b.cells[column.name]) === null || _c === void 0 ? void 0 : _c.value) !== cell.value) {
11950
+ ((_c = (_b = __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f").rows.find((r) => r.id == row.id)) === null || _b === void 0 ? void 0 : _b.cells[column.name]) === null || _c === void 0 ? void 0 : _c.value) !== cell.value) {
11951
11951
  this.kupCellCheck.emit({
11952
11952
  comp: this,
11953
11953
  id: this.rootElement.id,
11954
- originalData: __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"),
11955
- updatedData: getDiffData(__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
11954
+ originalData: __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f"),
11955
+ updatedData: getDiffData(__classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
11956
11956
  cell: cell,
11957
11957
  });
11958
11958
  }
@@ -11966,25 +11966,25 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11966
11966
  .map((chunk, index) => (index !== 0 ? [h("br", null), chunk] : chunk));
11967
11967
  }, _KupDataTable_composeHeaderCellClassAndStyle = function _KupDataTable_composeHeaderCellClassAndStyle(columnIndex, extraCells = 0, column) {
11968
11968
  let columnClass = { ['header-cell']: true }, thStyle = column.style ? Object.assign({}, column.style) : {};
11969
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isBar(column.obj) ||
11970
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isButton(column.obj) ||
11971
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isChart(column.obj) ||
11972
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isCheckbox(column.obj) ||
11973
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isImage(column.obj) ||
11974
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj) ||
11975
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isProgressBar(column.obj) ||
11976
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isRadio(column.obj) ||
11977
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isVoCodver(column.obj)) {
11969
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isBar(column.obj) ||
11970
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isButton(column.obj) ||
11971
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isChart(column.obj) ||
11972
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isCheckbox(column.obj) ||
11973
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isImage(column.obj) ||
11974
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj) ||
11975
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isProgressBar(column.obj) ||
11976
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isRadio(column.obj) ||
11977
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isVoCodver(column.obj)) {
11978
11978
  columnClass['header-cell--centered'] = true;
11979
11979
  }
11980
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
11980
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isNumber(column.obj)) {
11981
11981
  columnClass['header-cell--is-number'] = true;
11982
11982
  }
11983
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj)) {
11983
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isIcon(column.obj)) {
11984
11984
  columnClass['header-cell--is-icon'] = true;
11985
11985
  }
11986
11986
  // For fixed cells styles and classes
11987
- const fixedCellStyle = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, columnIndex + 1, 0, extraCells);
11987
+ const fixedCellStyle = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, columnIndex + 1 + extraCells, columnIndex + 1, 0, extraCells);
11988
11988
  if (fixedCellStyle) {
11989
11989
  columnClass = Object.assign(Object.assign({}, columnClass), fixedCellStyle.fixedCellClasses);
11990
11990
  thStyle = Object.assign(Object.assign({}, thStyle), fixedCellStyle.fixedCellStyle);
@@ -11999,25 +11999,25 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
11999
11999
  let multiSelectColumn = null;
12000
12000
  if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
12001
12001
  specialExtraCellsCount++;
12002
- const selectionStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12002
+ const selectionStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12003
12003
  const style = Object.assign({ width: '30px', margin: '0 auto' }, (selectionStyleAndClass
12004
12004
  ? selectionStyleAndClass.fixedCellStyle
12005
12005
  : {}));
12006
12006
  multiSelectColumn = (h("th", { class: selectionStyleAndClass
12007
12007
  ? selectionStyleAndClass.fixedCellClasses
12008
- : {}, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.SELECTED) +
12008
+ : {}, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.SELECTED) +
12009
12009
  `: ${this.selectedRows.length},` +
12010
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.RENDERED) +
12011
- `: ${__classPrivateFieldGet$6(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
12010
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.RENDERED) +
12011
+ `: ${__classPrivateFieldGet$7(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
12012
12012
  this.selectedRows.length ===
12013
- __classPrivateFieldGet$6(this, _KupDataTable_renderedRows, "f").length })));
12013
+ __classPrivateFieldGet$7(this, _KupDataTable_renderedRows, "f").length })));
12014
12014
  }
12015
12015
  // Renders action column
12016
12016
  let actionsColumn = null;
12017
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12018
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12017
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12018
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12019
12019
  specialExtraCellsCount++;
12020
- const selectionStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12020
+ const selectionStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12021
12021
  actionsColumn = (h("th", { class: selectionStyleAndClass
12022
12022
  ? selectionStyleAndClass.fixedCellClasses
12023
12023
  : {}, style: selectionStyleAndClass
@@ -12026,26 +12026,26 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12026
12026
  }
12027
12027
  // Renders normal cells
12028
12028
  const dataColumns = this.getVisibleColumns().map((column, columnIndex) => {
12029
- const { columnClass, thStyle } = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
12029
+ const { columnClass, thStyle } = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
12030
12030
  let filter = null;
12031
- if (__classPrivateFieldGet$6(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column)) {
12032
- const svgLabel = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.REMOVE_FILTERS) + `: '${__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getFilterValueForTooltip).call(this, column)}'`;
12031
+ if (__classPrivateFieldGet$7(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column)) {
12032
+ const svgLabel = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.REMOVE_FILTERS) + `: '${__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getFilterValueForTooltip).call(this, column)}'`;
12033
12033
  filter = (h("span", { title: svgLabel, class: `kup-icon ${KupThemeIconValues.FILTER_REMOVE.replace('--', '')}` }));
12034
12034
  }
12035
12035
  let sortIcon = null;
12036
- let iconClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getSortIcon).call(this, column.name);
12036
+ let iconClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getSortIcon).call(this, column.name);
12037
12037
  if (iconClass !== '') {
12038
- sortIcon = (h("span", { class: iconClass, title: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getSortDecode).call(this, column.name) }));
12038
+ sortIcon = (h("span", { class: iconClass, title: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getSortDecode).call(this, column.name) }));
12039
12039
  }
12040
12040
  columnClass['header-cell--sortable'] = true;
12041
12041
  let keyIcon = null;
12042
12042
  if (column.isKey) {
12043
- keyIcon = (h("span", { class: `kup-icon ${KupThemeIconValues.KEY.replace('--', '')}`, title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.KEY) }));
12043
+ keyIcon = (h("span", { class: `kup-icon ${KupThemeIconValues.KEY.replace('--', '')}`, title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.KEY) }));
12044
12044
  }
12045
12045
  // Sets custom columns width
12046
- if (__classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")) {
12047
- for (let i = 0; i < __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f").length; i++) {
12048
- const currentCol = __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")[i];
12046
+ if (__classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")) {
12047
+ for (let i = 0; i < __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f").length; i++) {
12048
+ const currentCol = __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")[i];
12049
12049
  if (currentCol.name === column.name) {
12050
12050
  const width = currentCol.size + '';
12051
12051
  if (width.indexOf('ch') < 1) {
@@ -12058,7 +12058,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12058
12058
  }
12059
12059
  }
12060
12060
  }
12061
- return (h("th", { ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_thRefs, "f").push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)), h("span", { class: "header-cell__icons" }, keyIcon, sortIcon, filter)), this.resizableColumns ? (h("span", { class: "header-cell__drag-handler" })) : null));
12061
+ return (h("th", { ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_thRefs, "f").push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)), h("span", { class: "header-cell__icons" }, keyIcon, sortIcon, filter)), this.resizableColumns ? (h("span", { class: "header-cell__drag-handler" })) : null));
12062
12062
  });
12063
12063
  return [multiSelectColumn, actionsColumn, ...dataColumns];
12064
12064
  // return [multiSelectColumn, groupColumn, actionsColumn, ...dataColumns];
@@ -12067,25 +12067,25 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12067
12067
  let multiSelectColumn = null;
12068
12068
  if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
12069
12069
  specialExtraCellsCount++;
12070
- const selectionStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12070
+ const selectionStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12071
12071
  const style = Object.assign({ width: '30px', margin: '0 auto' }, (selectionStyleAndClass
12072
12072
  ? selectionStyleAndClass.fixedCellStyle
12073
12073
  : {}));
12074
12074
  multiSelectColumn = (h("th-sticky", { class: selectionStyleAndClass
12075
12075
  ? selectionStyleAndClass.fixedCellClasses
12076
- : null, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.SELECTED) +
12076
+ : null, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onSelectAll).call(this, e), title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.SELECTED) +
12077
12077
  `: ${this.selectedRows.length},` +
12078
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.RENDERED) +
12079
- `: ${__classPrivateFieldGet$6(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
12078
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.RENDERED) +
12079
+ `: ${__classPrivateFieldGet$7(this, _KupDataTable_renderedRows, "f").length}`, checked: this.selectedRows.length > 0 &&
12080
12080
  this.selectedRows.length ===
12081
- __classPrivateFieldGet$6(this, _KupDataTable_renderedRows, "f").length })));
12081
+ __classPrivateFieldGet$7(this, _KupDataTable_renderedRows, "f").length })));
12082
12082
  }
12083
12083
  // Empty cell for the actions
12084
12084
  let actionsColumn = null;
12085
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12086
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12085
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12086
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12087
12087
  specialExtraCellsCount++;
12088
- const selectionStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12088
+ const selectionStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
12089
12089
  actionsColumn = (h("th-sticky", { class: selectionStyleAndClass
12090
12090
  ? selectionStyleAndClass.fixedCellClasses
12091
12091
  : null, style: selectionStyleAndClass
@@ -12094,29 +12094,29 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12094
12094
  }
12095
12095
  // Composes normal header cells
12096
12096
  const dataColumns = this.getVisibleColumns().map((column, columnIndex) => {
12097
- const { columnClass, thStyle } = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
12098
- return (h("th-sticky", { class: columnClass, style: thStyle }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)))));
12097
+ const { columnClass, thStyle } = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeHeaderCellClassAndStyle).call(this, columnIndex, specialExtraCellsCount, column);
12098
+ return (h("th-sticky", { class: columnClass, style: thStyle }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_applyLineBreaks).call(this, column.title)))));
12099
12099
  });
12100
12100
  return [multiSelectColumn, actionsColumn, ...dataColumns];
12101
12101
  }, _KupDataTable_totalMenuPosition = function _KupDataTable_totalMenuPosition() {
12102
12102
  if (this.rootElement.shadowRoot) {
12103
12103
  const menu = this.rootElement.shadowRoot.querySelector('#totals-menu');
12104
12104
  if (menu) {
12105
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.register(menu, __classPrivateFieldGet$6(this, _KupDataTable_totalMenuCoords, "f"), 0, undefined, true);
12105
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.register(menu, __classPrivateFieldGet$7(this, _KupDataTable_totalMenuCoords, "f"), 0, undefined, true);
12106
12106
  __classPrivateFieldSet$3(this, _KupDataTable_clickCb, {
12107
12107
  cb: () => {
12108
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
12108
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
12109
12109
  },
12110
12110
  el: menu,
12111
12111
  }, "f");
12112
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCb, "f"), true);
12113
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.start(menu);
12112
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCb, "f"), true);
12113
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.start(menu);
12114
12114
  menu.menuVisible = true;
12115
12115
  }
12116
12116
  }
12117
12117
  }, _KupDataTable_onTotalMenuOpen = function _KupDataTable_onTotalMenuOpen(column) {
12118
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
12119
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_openTotalMenu).call(this, column);
12118
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeTotalMenu).call(this);
12119
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_openTotalMenu).call(this, column);
12120
12120
  }, _KupDataTable_renderRow = function _KupDataTable_renderRow(row, level = 0, rowCssIndex = 0, previousRow) {
12121
12121
  var _b;
12122
12122
  const visibleColumns = this.getVisibleColumns();
@@ -12148,18 +12148,18 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12148
12148
  for (let i = 0; i < level; i++) {
12149
12149
  indent.push(h("span", { class: "indent" }));
12150
12150
  }
12151
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)) {
12151
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)) {
12152
12152
  //const colSpan = this.multiSelection ? 2 : 1;
12153
12153
  const cells = [];
12154
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12155
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12154
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12155
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12156
12156
  cells.push(h("td", null));
12157
12157
  }
12158
12158
  if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
12159
12159
  cells.push(h("td", null));
12160
12160
  }
12161
12161
  // adding 'grouping' cell
12162
- const grouplabelcell = (h("td", { colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel))));
12162
+ const grouplabelcell = (h("td", { colSpan: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel))));
12163
12163
  // adding 'totals grouping' cells
12164
12164
  for (let column of visibleColumns) {
12165
12165
  let totalClass = 'total';
@@ -12174,11 +12174,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12174
12174
  value = totalValue;
12175
12175
  }
12176
12176
  else {
12177
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
12177
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").objects.isDate(column.obj)) {
12178
12178
  if (totalValue) {
12179
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dates.isIsoDate(totalValue)) {
12179
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dates.isIsoDate(totalValue)) {
12180
12180
  value =
12181
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
12181
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
12182
12182
  }
12183
12183
  else {
12184
12184
  console.warn(`invalid date: ${totalValue}`);
@@ -12187,19 +12187,19 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12187
12187
  }
12188
12188
  else {
12189
12189
  value =
12190
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").math.numberToFormattedString(totalValue, column.decimals, column.obj ? column.obj.p : '');
12190
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").math.numberToFormattedString(totalValue, column.decimals, column.obj ? column.obj.p : '');
12191
12191
  }
12192
12192
  }
12193
12193
  cells.push(h("td", { class: totalClass }, value));
12194
12194
  }
12195
- jsxRows.push(h("tr", { ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-label" }, grouplabelcell));
12196
- jsxRows.push(h("tr", { ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-total" }, cells));
12195
+ jsxRows.push(h("tr", { ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-label" }, grouplabelcell));
12196
+ jsxRows.push(h("tr", { ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el), "data-row": row, class: "group group-total" }, cells));
12197
12197
  // if group is expanded, add children
12198
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGroupExpanded).call(this, row)) {
12198
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGroupExpanded).call(this, row)) {
12199
12199
  row.group.children
12200
12200
  // We must pass the previous element of the array to check if we must hide or display the value of the cell
12201
12201
  // When the column has specified the parameter hideValuesRepetitions
12202
- .map((row, groupRowIndex, currentArray) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, level + 1, groupRowIndex, groupRowIndex > 0
12202
+ .map((row, groupRowIndex, currentArray) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, level + 1, groupRowIndex, groupRowIndex > 0
12203
12203
  ? currentArray[groupRowIndex - 1]
12204
12204
  : undefined))
12205
12205
  .forEach((jsxRow) => {
@@ -12213,12 +12213,12 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12213
12213
  }
12214
12214
  }
12215
12215
  else {
12216
- jsxRows.push(h("tr", { ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el), "data-id": row.id, "data-row": row, class: "group" }, h("td", { colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel)))));
12217
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_isGroupExpanded).call(this, row)) {
12216
+ jsxRows.push(h("tr", { ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el), "data-id": row.id, "data-row": row, class: "group" }, h("td", { colSpan: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel)))));
12217
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_isGroupExpanded).call(this, row)) {
12218
12218
  row.group.children
12219
12219
  // We must pass the previous element of the array to check if we must hide or display the value of the cell
12220
12220
  // When the column has specified the parameter hideValuesRepetitions
12221
- .map((row, groupRowIndex, currentArray) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, level + 1, groupRowIndex, groupRowIndex > 0
12221
+ .map((row, groupRowIndex, currentArray) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderRow).call(this, row, level + 1, groupRowIndex, groupRowIndex > 0
12222
12222
  ? currentArray[groupRowIndex - 1]
12223
12223
  : undefined))
12224
12224
  .forEach((jsxRow) => {
@@ -12246,11 +12246,11 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12246
12246
  let selectRowCell = null;
12247
12247
  if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
12248
12248
  specialExtraCellsCount++;
12249
- const selectionStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
12249
+ const selectionStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
12250
12250
  const props = {
12251
12251
  checked: this.selectedRows.includes(row),
12252
12252
  onChange: () => {
12253
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handleRowSelect).call(this, row);
12253
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleRowSelect).call(this, row);
12254
12254
  },
12255
12255
  };
12256
12256
  selectRowCell = (h("td", { "row-select-cell": true, class: selectionStyleAndClass
@@ -12262,20 +12262,20 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12262
12262
  // Renders action cell
12263
12263
  // If active, this can be either the first or second cell
12264
12264
  let rowActionsCell = null;
12265
- if (__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12266
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12265
+ if (__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
12266
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
12267
12267
  // Increments
12268
12268
  specialExtraCellsCount++;
12269
- const actionsStyleAndClass = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
12269
+ const actionsStyleAndClass = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, rowCssIndex, specialExtraCellsCount - 1);
12270
12270
  const actionsOnRow = [];
12271
12271
  if (row.actions) ;
12272
12272
  else {
12273
- const rowActions = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.row.buildRowActions(row, this.getVisibleColumns({ includeCodVer: true }), this.rowActions, (_b = this.commands) !== null && _b !== void 0 ? _b : []);
12274
- if (__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.action.checkEveryActionHasOnlyIcon(rowActions) ||
12273
+ const rowActions = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.row.buildRowActions(row, this.getVisibleColumns({ includeCodVer: true }), this.rowActions, (_b = this.commands) !== null && _b !== void 0 ? _b : []);
12274
+ if (__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.action.checkEveryActionHasOnlyIcon(rowActions) ||
12275
12275
  (rowActions.length === 1 && rowActions[0].icon)) {
12276
12276
  rowActions.forEach((action, index) => {
12277
12277
  var _a;
12278
- const imageProp = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.action.buildImageProp(action.icon, action.text || ((_a = action.column) === null || _a === void 0 ? void 0 : _a.title) || '', 'action', () => {
12278
+ const imageProp = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.action.buildImageProp(action.icon, action.text || ((_a = action.column) === null || _a === void 0 ? void 0 : _a.title) || '', 'action', () => {
12279
12279
  this.kupRowActionItemClick.emit({
12280
12280
  comp: this,
12281
12281
  id: this.rootElement.id,
@@ -12291,9 +12291,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12291
12291
  });
12292
12292
  }
12293
12293
  else {
12294
- const textPopulatedRowActions = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.action.createActionsWithText(rowActions);
12295
- const imageProp = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.action.buildImageProp('chevron-down', __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND), 'expander', (e) => {
12296
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, row, textPopulatedRowActions);
12294
+ const textPopulatedRowActions = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.action.createActionsWithText(rowActions);
12295
+ const imageProp = __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.action.buildImageProp('chevron-down', __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND), 'expander', (e) => {
12296
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, row, textPopulatedRowActions);
12297
12297
  });
12298
12298
  actionsOnRow.push(imageProp);
12299
12299
  }
@@ -12323,17 +12323,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12323
12323
  return null;
12324
12324
  }
12325
12325
  }
12326
- cell.isEditable = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_setCellEditability).call(this, currentColumn, row, cell);
12326
+ cell.isEditable = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_setCellEditability).call(this, currentColumn, row, cell);
12327
12327
  cell.data = Object.assign(Object.assign({}, cell.data), { legacyLook: this.legacyLook });
12328
- const fcell = Object.assign(Object.assign({}, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.cell.buildFCell(cell, currentColumn, row)), { component: this, density: this.density, editable: this.editableData || this.updatableData, indents: indend, previousValue: hideValuesRepetitions && previousRow
12328
+ const fcell = Object.assign(Object.assign({}, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.cell.buildFCell(cell, currentColumn, row)), { component: this, density: this.density, editable: this.editableData || this.updatableData, indents: indend, previousValue: hideValuesRepetitions && previousRow
12329
12329
  ? previousRow.cells[name].value
12330
- : undefined, renderKup: this.lazyLoadCells, cellActionIcon: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.cell.hasActionCell(cell, (_a = this.commands) !== null && _a !== void 0 ? _a : [])
12330
+ : undefined, renderKup: this.lazyLoadCells, cellActionIcon: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").data.cell.hasActionCell(cell, (_a = this.commands) !== null && _a !== void 0 ? _a : [])
12331
12331
  ? {
12332
12332
  onClick: (e) => {
12333
12333
  this.kupCellActionIconClick.emit({
12334
12334
  comp: this,
12335
12335
  id: this.rootElement.id,
12336
- details: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_cellActionsMenuHandler).call(this, e),
12336
+ details: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_cellActionsMenuHandler).call(this, e),
12337
12337
  });
12338
12338
  },
12339
12339
  }
@@ -12343,18 +12343,18 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12343
12343
  let cellClass = null;
12344
12344
  let cellStyle = Object.assign({}, cell.style);
12345
12345
  //-- For fixed cells --
12346
- const fixedStyles = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, cellIndex + 1 + specialExtraCellsCount, cellIndex + 1, rowCssIndex, specialExtraCellsCount);
12346
+ const fixedStyles = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, cellIndex + 1 + specialExtraCellsCount, cellIndex + 1, rowCssIndex, specialExtraCellsCount);
12347
12347
  if (fixedStyles) {
12348
12348
  cellStyle = Object.assign(cellStyle ? cellStyle : {}, fixedStyles.fixedCellStyle);
12349
12349
  cellClass = Object.assign(Object.assign({}, cellClass), fixedStyles.fixedCellClasses);
12350
12350
  }
12351
12351
  // Controls if there are columns with a specified width
12352
- if (__classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")) {
12352
+ if (__classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")) {
12353
12353
  let colWidth = '';
12354
12354
  // Search if this column has a specified width
12355
- for (let j = 0; j < __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f").length; j++) {
12356
- if (name === __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")[j].name) {
12357
- colWidth = __classPrivateFieldGet$6(this, _KupDataTable_sizedColumns, "f")[j].size;
12355
+ for (let j = 0; j < __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f").length; j++) {
12356
+ if (name === __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")[j].name) {
12357
+ colWidth = __classPrivateFieldGet$7(this, _KupDataTable_sizedColumns, "f")[j].size;
12358
12358
  break;
12359
12359
  }
12360
12360
  }
@@ -12376,70 +12376,70 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12376
12376
  return (h("td", Object.assign({ title: title, colSpan: cell.span && cell.span.col ? cell.span.col : null, rowSpan: cell.span && cell.span.row ? cell.span.row : null, "data-cell": cell, "data-column": name, "data-row": row, style: cellStyle, class: cellClass }, eventHandlers), jsxCell));
12377
12377
  });
12378
12378
  // adding row to rendered rows
12379
- __classPrivateFieldGet$6(this, _KupDataTable_renderedRows, "f").push(row);
12379
+ __classPrivateFieldGet$7(this, _KupDataTable_renderedRows, "f").push(row);
12380
12380
  const rowClass = {
12381
12381
  selected: this.selectedRows.includes(row),
12382
12382
  };
12383
12383
  if (row.cssClass) {
12384
12384
  rowClass[row.cssClass] = true;
12385
12385
  }
12386
- return (h("tr", { ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el), "data-id": row.id, "data-row": row, class: rowClass }, selectRowCell, rowActionsCell, cells));
12386
+ return (h("tr", { ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el), "data-id": row.id, "data-row": row, class: rowClass }, selectRowCell, rowActionsCell, cells));
12387
12387
  }
12388
12388
  }, _KupDataTable_onCustomSettingsClick = function _KupDataTable_onCustomSettingsClick() {
12389
12389
  if (!this.openedCustomSettings) {
12390
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_openCustomSettings).call(this);
12390
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_openCustomSettings).call(this);
12391
12391
  }
12392
12392
  else {
12393
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
12393
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
12394
12394
  }
12395
12395
  }, _KupDataTable_openCustomSettings = function _KupDataTable_openCustomSettings() {
12396
- __classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = true;
12397
- __classPrivateFieldGet$6(this, _KupDataTable_customizeTopButtonRef, "f").classList.add('toggled');
12398
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f"));
12396
+ __classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = true;
12397
+ __classPrivateFieldGet$7(this, _KupDataTable_customizeTopButtonRef, "f").classList.add('toggled');
12398
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f"));
12399
12399
  this.openedCustomSettings = true;
12400
- if (!__classPrivateFieldGet$6(this, _KupDataTable_clickCbCustomPanel, "f")) {
12400
+ if (!__classPrivateFieldGet$7(this, _KupDataTable_clickCbCustomPanel, "f")) {
12401
12401
  __classPrivateFieldSet$3(this, _KupDataTable_clickCbCustomPanel, {
12402
12402
  cb: () => {
12403
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
12403
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_closeCustomSettings).call(this);
12404
12404
  },
12405
- el: __classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f"),
12405
+ el: __classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f"),
12406
12406
  }, "f");
12407
12407
  }
12408
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbCustomPanel, "f"), true);
12408
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbCustomPanel, "f"), true);
12409
12409
  }, _KupDataTable_closeCustomSettings = function _KupDataTable_closeCustomSettings() {
12410
- __classPrivateFieldGet$6(this, _KupDataTable_customizeTopButtonRef, "f").classList.remove('toggled');
12411
- if (__classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f") == null) {
12410
+ __classPrivateFieldGet$7(this, _KupDataTable_customizeTopButtonRef, "f").classList.remove('toggled');
12411
+ if (__classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f") == null) {
12412
12412
  return;
12413
12413
  }
12414
- __classPrivateFieldGet$6(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = false;
12414
+ __classPrivateFieldGet$7(this, _KupDataTable_customizeTopPanelRef, "f").menuVisible = false;
12415
12415
  this.openedCustomSettings = false;
12416
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$6(this, _KupDataTable_clickCbCustomPanel, "f"));
12416
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupDataTable_clickCbCustomPanel, "f"));
12417
12417
  }, _KupDataTable_renderPaginator = function _KupDataTable_renderPaginator(top) {
12418
12418
  var _a;
12419
12419
  return (h("div", { class: "paginator-wrapper" }, h("div", { class: "paginator-tabs" }, this.showLoadMore ||
12420
12420
  (!this.lazyLoadRows &&
12421
- __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ? (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f"), perPage: this.currentRowsPerPage
12421
+ __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f") > this.rowsPerPage) ? (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f"), perPage: this.currentRowsPerPage
12422
12422
  ? this.currentRowsPerPage
12423
- : this.rowsPerPage, maxRowsPerPage: (_a = __classPrivateFieldGet$6(this, _KupDataTable_maxRowsPerPage, "f")) !== null && _a !== void 0 ? _a : __classPrivateFieldGet$6(this, _KupDataTable_rowsLength, "f"), onLoadMore: this.showLoadMore
12423
+ : this.rowsPerPage, maxRowsPerPage: (_a = __classPrivateFieldGet$7(this, _KupDataTable_maxRowsPerPage, "f")) !== null && _a !== void 0 ? _a : __classPrivateFieldGet$7(this, _KupDataTable_rowsLength, "f"), onLoadMore: this.showLoadMore
12424
12424
  ? () => {
12425
- __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onLoadMoreClick).call(this);
12425
+ __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onLoadMoreClick).call(this);
12426
12426
  }
12427
- : null, onNextPage: () => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value) })) : null)));
12427
+ : null, onNextPage: () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value) })) : null)));
12428
12428
  }, _KupDataTable_columnRemoveArea = function _KupDataTable_columnRemoveArea() {
12429
12429
  return (h("div", { class: "droparea__remove", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_removeDropareaRef, el, "f")) }, h(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
12430
12430
  }, _KupDataTable_columnGroupArea = function _KupDataTable_columnGroupArea() {
12431
12431
  return (h("div", { class: "droparea__groups", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_groupsDropareaRef, el, "f")) }, h(FImage, { resource: "bookmark", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "book", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" })));
12432
12432
  }, _KupDataTable_hideShowColumnDropArea = function _KupDataTable_hideShowColumnDropArea(show, th) {
12433
12433
  if (show && th && (this.removableColumns || this.showGroups)) {
12434
- __classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f").classList.add('droparea--visible');
12435
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f"), th, 10, KupDynamicPositionPlacement.TOP);
12436
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f"));
12437
- __classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f").style.marginLeft =
12438
- th.clientWidth / 2 - __classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f").clientWidth / 2 + 'px';
12434
+ __classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f").classList.add('droparea--visible');
12435
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f"), th, 10, KupDynamicPositionPlacement.TOP);
12436
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f"));
12437
+ __classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f").style.marginLeft =
12438
+ th.clientWidth / 2 - __classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f").clientWidth / 2 + 'px';
12439
12439
  }
12440
12440
  else {
12441
- __classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f").classList.remove('droparea--visible');
12442
- +__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$6(this, _KupDataTable_dropareaRef, "f"));
12441
+ __classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f").classList.remove('droparea--visible');
12442
+ +__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$7(this, _KupDataTable_dropareaRef, "f"));
12443
12443
  }
12444
12444
  }, _KupDataTable_handleColumnGroup = function _KupDataTable_handleColumnGroup(column2group) {
12445
12445
  // Get sorted column current position
@@ -12507,19 +12507,19 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12507
12507
  icon: icons[i],
12508
12508
  id: codes[i],
12509
12509
  selected: selectedCode == codes[i],
12510
- value: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(value),
12510
+ value: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(value),
12511
12511
  };
12512
12512
  }
12513
12513
  }
12514
12514
  return listItems;
12515
12515
  }, _KupDataTable_getFontSizeCodeFromDecode = function _KupDataTable_getFontSizeCodeFromDecode(decode) {
12516
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$6(this, _KupDataTable_FONTSIZE_DECODES, "f"), __classPrivateFieldGet$6(this, _KupDataTable_FONTSIZE_CODES, "f"));
12516
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$7(this, _KupDataTable_FONTSIZE_DECODES, "f"), __classPrivateFieldGet$7(this, _KupDataTable_FONTSIZE_CODES, "f"));
12517
12517
  }, _KupDataTable_renderFontSizePanel = function _KupDataTable_renderFontSizePanel() {
12518
- const listItems = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$6(this, _KupDataTable_FONTSIZE_CODES, "f"), __classPrivateFieldGet$6(this, _KupDataTable_FONTSIZE_ICONS, "f"), this.fontsize);
12518
+ const listItems = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$7(this, _KupDataTable_FONTSIZE_CODES, "f"), __classPrivateFieldGet$7(this, _KupDataTable_FONTSIZE_ICONS, "f"), this.fontsize);
12519
12519
  const listData = { data: listItems, showIcons: true };
12520
12520
  const textfieldData = {
12521
12521
  trailingIcon: true,
12522
- label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageFontsize.LABEL),
12522
+ label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageFontsize.LABEL),
12523
12523
  icon: 'arrow_drop_down',
12524
12524
  };
12525
12525
  const data = { 'kup-text-field': textfieldData, 'kup-list': listData };
@@ -12536,22 +12536,22 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12536
12536
  text = KupLanguageFontsize.SMALL;
12537
12537
  break;
12538
12538
  }
12539
- return (h("div", { class: "customize-element fontsize-panel" }, h("kup-combobox", { isSelect: true, data: data, initialValue: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(text), "onkup-combobox-itemclick": (e) => {
12539
+ return (h("div", { class: "customize-element fontsize-panel" }, h("kup-combobox", { isSelect: true, data: data, initialValue: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(text), "onkup-combobox-itemclick": (e) => {
12540
12540
  e.stopPropagation();
12541
- this.fontsize = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getFontSizeCodeFromDecode).call(this, e.detail.node.id);
12541
+ this.fontsize = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getFontSizeCodeFromDecode).call(this, e.detail.node.id);
12542
12542
  } })));
12543
12543
  }, _KupDataTable_getDensityCodeFromDecode = function _KupDataTable_getDensityCodeFromDecode(decode) {
12544
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$6(this, _KupDataTable_DENSITY_DECODES, "f"), [
12544
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$7(this, _KupDataTable_DENSITY_DECODES, "f"), [
12545
12545
  'dense',
12546
12546
  'medium',
12547
12547
  'wide',
12548
12548
  ]);
12549
12549
  }, _KupDataTable_renderDensityPanel = function _KupDataTable_renderDensityPanel() {
12550
- const listItems = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, ['dense', 'medium', 'wide'], __classPrivateFieldGet$6(this, _KupDataTable_DENSITY_ICONS, "f"), this.density);
12550
+ const listItems = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, ['dense', 'medium', 'wide'], __classPrivateFieldGet$7(this, _KupDataTable_DENSITY_ICONS, "f"), this.density);
12551
12551
  const listData = { data: listItems, showIcons: true };
12552
12552
  const textfieldData = {
12553
12553
  trailingIcon: true,
12554
- label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageDensity.LABEL),
12554
+ label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageDensity.LABEL),
12555
12555
  icon: 'arrow_drop_down',
12556
12556
  };
12557
12557
  const data = { 'kup-text-field': textfieldData, 'kup-list': listData };
@@ -12568,14 +12568,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12568
12568
  text = KupLanguageDensity.WIDE;
12569
12569
  break;
12570
12570
  }
12571
- return (h("div", { class: "customize-element density-panel" }, h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(text), selectMode: ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
12571
+ return (h("div", { class: "customize-element density-panel" }, h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(text), selectMode: ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
12572
12572
  e.stopPropagation();
12573
- this.density = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getDensityCodeFromDecode).call(this, e.detail.node.id);
12573
+ this.density = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getDensityCodeFromDecode).call(this, e.detail.node.id);
12574
12574
  } })));
12575
12575
  }, _KupDataTable_getGridCodeFromDecode = function _KupDataTable_getGridCodeFromDecode(decode) {
12576
- return __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$6(this, _KupDataTable_GRID_DECODES, "f"), __classPrivateFieldGet$6(this, _KupDataTable_GRID_CODES, "f"));
12576
+ return __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_transcodeItem).call(this, decode, __classPrivateFieldGet$7(this, _KupDataTable_GRID_DECODES, "f"), __classPrivateFieldGet$7(this, _KupDataTable_GRID_CODES, "f"));
12577
12577
  }, _KupDataTable_renderTransposeSwitch = function _KupDataTable_renderTransposeSwitch() {
12578
- return (h("div", { class: "customize-element grid-panel" }, h("kup-switch", { checked: this.transpose, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
12578
+ return (h("div", { class: "customize-element grid-panel" }, h("kup-switch", { checked: this.transpose, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
12579
12579
  e.stopPropagation();
12580
12580
  if (e.detail.value === 'on') {
12581
12581
  this.transpose = true;
@@ -12585,16 +12585,16 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12585
12585
  }
12586
12586
  } })));
12587
12587
  }, _KupDataTable_renderTotalsMatrix = function _KupDataTable_renderTotalsMatrix() {
12588
- return (h("div", { class: "customize-element grid-panel" }, h("kup-button", { title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOTALS_TABLE) +
12588
+ return (h("div", { class: "customize-element grid-panel" }, h("kup-button", { title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOTALS_TABLE) +
12589
12589
  ' (' +
12590
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
12591
- ')', label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_switchToTotalsMatrix).call(this) })));
12590
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
12591
+ ')', label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_switchToTotalsMatrix).call(this) })));
12592
12592
  }, _KupDataTable_renderGridPanel = function _KupDataTable_renderGridPanel() {
12593
- const listItems = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$6(this, _KupDataTable_GRID_CODES, "f"), __classPrivateFieldGet$6(this, _KupDataTable_GRID_ICONS, "f"), this.showGrid);
12593
+ const listItems = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$7(this, _KupDataTable_GRID_CODES, "f"), __classPrivateFieldGet$7(this, _KupDataTable_GRID_ICONS, "f"), this.showGrid);
12594
12594
  const listData = { data: listItems, showIcons: true };
12595
12595
  const textfieldData = {
12596
12596
  trailingIcon: true,
12597
- label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGrid.LABEL),
12597
+ label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGrid.LABEL),
12598
12598
  icon: 'arrow_drop_down',
12599
12599
  };
12600
12600
  const data = { 'kup-text-field': textfieldData, 'kup-list': listData };
@@ -12614,14 +12614,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12614
12614
  text = KupLanguageGrid.ROW;
12615
12615
  break;
12616
12616
  }
12617
- return (h("div", { class: "customize-element grid-panel" }, h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
12617
+ return (h("div", { class: "customize-element grid-panel" }, h("kup-combobox", { isSelect: true, initialValue: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
12618
12618
  e.stopPropagation();
12619
- const grid = __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getGridCodeFromDecode).call(this, e.detail.value);
12619
+ const grid = __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getGridCodeFromDecode).call(this, e.detail.value);
12620
12620
  this.showGrid = grid;
12621
12621
  } })));
12622
12622
  }, _KupDataTable_renderCommandButton = function _KupDataTable_renderCommandButton(commandObj, styling) {
12623
12623
  var _a;
12624
- return (h("kup-button", { styling: styling, "onKup-button-click": () => __classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this, commandObj), keyShortcut: (_a = commandObj.data) === null || _a === void 0 ? void 0 : _a.keyShortcut, icon: commandObj.icon, label: commandObj.value }));
12624
+ return (h("kup-button", { styling: styling, "onKup-button-click": () => __classPrivateFieldGet$7(this, _KupDataTable_handleUpdateClick, "f").call(this, commandObj), keyShortcut: (_a = commandObj.data) === null || _a === void 0 ? void 0 : _a.keyShortcut, icon: commandObj.icon, label: commandObj.value }));
12625
12625
  }, _KupDataTable_renderCommandDropDownButton = function _KupDataTable_renderCommandDropDownButton(commandObj, styling) {
12626
12626
  const data = {
12627
12627
  'kup-list': {
@@ -12632,14 +12632,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12632
12632
  },
12633
12633
  };
12634
12634
  return (h("kup-dropdown-button", Object.assign({}, commandObj.data, { styling: styling, sizing: KupComponentSizing.MEDIUM, label: commandObj.value, data: data, "onkup-dropdownbutton-itemclick": (e) => {
12635
- __classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this, e.detail.node);
12635
+ __classPrivateFieldGet$7(this, _KupDataTable_handleUpdateClick, "f").call(this, e.detail.node);
12636
12636
  } })));
12637
12637
  }, _KupDataTable_renderUpdateButtons = function _KupDataTable_renderUpdateButtons() {
12638
12638
  const styling = FButtonStyling.FLAT;
12639
12639
  const createRowWithInputFields = () => {
12640
12640
  var _a;
12641
12641
  let row = { cells: {} };
12642
- (_a = __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
12642
+ (_a = __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
12643
12643
  row.cells[c.name] = {
12644
12644
  shape: FCellShapes.INPUT_FIELD,
12645
12645
  obj: Object.assign({}, c.obj),
@@ -12656,8 +12656,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12656
12656
  if (selectedRows.length > 0) {
12657
12657
  newRow = JSON.parse(JSON.stringify(selectedRows[0]));
12658
12658
  }
12659
- else if (((_b = (_a = __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0) {
12660
- newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
12659
+ else if (((_b = (_a = __classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0) {
12660
+ newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$7(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
12661
12661
  }
12662
12662
  else {
12663
12663
  newRow = createRowWithInputFields();
@@ -12667,8 +12667,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12667
12667
  cell.value = '';
12668
12668
  }
12669
12669
  });
12670
- newRow.id = (__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoadedMaxId, "f") + __classPrivateFieldSet$3(this, _KupDataTable_insertCount, (_c = __classPrivateFieldGet$6(this, _KupDataTable_insertCount, "f"), ++_c), "f")).toString();
12671
- __classPrivateFieldGet$6(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
12670
+ newRow.id = (__classPrivateFieldGet$7(this, _KupDataTable_originalDataLoadedMaxId, "f") + __classPrivateFieldSet$3(this, _KupDataTable_insertCount, (_c = __classPrivateFieldGet$7(this, _KupDataTable_insertCount, "f"), ++_c), "f")).toString();
12671
+ __classPrivateFieldGet$7(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
12672
12672
  this.insertNewRow(newRow, true);
12673
12673
  };
12674
12674
  const deleteRowHandler = async () => {
@@ -12676,22 +12676,22 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12676
12676
  this.deleteRows(ids);
12677
12677
  };
12678
12678
  const addConfirmButton = () => {
12679
- __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").keysBinding.register('enter', () => {
12679
+ __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").keysBinding.register('enter', () => {
12680
12680
  const bc = this.rootElement.shadowRoot
12681
12681
  .activeElement;
12682
12682
  bc === null || bc === void 0 ? void 0 : bc.blur();
12683
- __classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this);
12683
+ __classPrivateFieldGet$7(this, _KupDataTable_handleUpdateClick, "f").call(this);
12684
12684
  });
12685
12685
  commandButtons.push(h("kup-button", { styling: styling, icon: "check", "onKup-button-click": () => {
12686
- __classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this);
12687
- }, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM) }));
12686
+ __classPrivateFieldGet$7(this, _KupDataTable_handleUpdateClick, "f").call(this);
12687
+ }, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM) }));
12688
12688
  };
12689
12689
  const addCommands = () => {
12690
12690
  var _a, _b, _c;
12691
12691
  (_c = (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.setup) === null || _b === void 0 ? void 0 : _b.commands) === null || _c === void 0 ? void 0 : _c.forEach((commandObj) => {
12692
12692
  commandButtons.push((commandObj === null || commandObj === void 0 ? void 0 : commandObj.children) && (commandObj === null || commandObj === void 0 ? void 0 : commandObj.children.length) > 0
12693
- ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderCommandDropDownButton).call(this, commandObj, styling)
12694
- : __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderCommandButton).call(this, commandObj, styling));
12693
+ ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderCommandDropDownButton).call(this, commandObj, styling)
12694
+ : __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderCommandButton).call(this, commandObj, styling));
12695
12695
  });
12696
12696
  };
12697
12697
  const addOperations = () => {
@@ -12701,13 +12701,13 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
12701
12701
  insert: {
12702
12702
  enabled: operationList === null || operationList === void 0 ? void 0 : operationList.insert,
12703
12703
  icon: 'add',
12704
- title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ROW_ADD),
12704
+ title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ROW_ADD),
12705
12705
  onClickHandler: () => addRowHandler(),
12706
12706
  },
12707
12707
  delete: {
12708
12708
  enabled: operationList === null || operationList === void 0 ? void 0 : operationList.delete,
12709
12709
  icon: 'minus',
12710
- title: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ROW_DELETE),
12710
+ title: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.ROW_DELETE),
12711
12711
  onClickHandler: () => deleteRowHandler(),
12712
12712
  },
12713
12713
  };
@@ -13160,7 +13160,7 @@ var KupDialogProps;
13160
13160
  const kupDialogCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_dialogheader_text_color:var(\n --kup-dialogheader-text-color,\n var(--kup-text-secondary)\n );--kup_dialog_background_color:var(\n --kup-dialog-background-color,\n var(--kup-layer-0)\n );--kup_dialog_header_background_color:var(\n --kup-dialog-header-background-color,\n var(--kup-layer-1)\n );--kup_dialog_header_height:var(\n --kup-dialog-header-height,\n var(--kup-space-09)\n );--kup_dialog_content_max_height:var(--kup-dialog-content-max-height, 85dvh);box-sizing:border-box;display:block;height:var(--kup_dialog_height);left:var(--kup_dialog_left, -100%);min-height:var(--kup_dialog_height);min-width:var(--kup_dialog_width);max-width:var(--kup_dialog_max_width);max-height:var(--kup_dialog_max_height);position:absolute;top:var(--kup_dialog_top, -100%);transition:opacity 0.25s ease-in;width:var(--kup_dialog_width);-webkit-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 3px;-moz-box-shadow:rgba(0, 0, 0, 0.3) 0 1px 3px;box-shadow:rgba(0, 0, 0, 0.3) 0 1px 3px}#kup-component{height:100%;width:100%}:host([fade-in]){opacity:0}:host([fade-in]) ::slotted{opacity:0}.header{color:var(--kup_dialogheader_text_color);display:flex;flex-direction:row;height:var(--kup_dialog_header_height);position:relative;width:100%;min-height:var(--kup-space-09);background-color:var(--kup_dialog_header_background_color)}.header__title{padding:var(--kup-space-05);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.header__close.f-image{--kup-icon-color:var(--kup_dialogheader_text_color);cursor:pointer;margin-right:0;transition:opacity 0.25s;position:absolute;right:var(--kup-space-05)}.header__close.f-image:hover{opacity:0.5}.content{height:calc(100% - var(--kup_dialog_header_height) - var(--kup-space-05) * 2);padding:var(--kup-space-05);overflow:auto;user-select:text;background-color:var(--kup_dialog_background_color);max-height:var(--kup_dialog_content_max_height)}";
13161
13161
  const KupDialogStyle0 = kupDialogCss;
13162
13162
 
13163
- var __classPrivateFieldGet$5 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
13163
+ var __classPrivateFieldGet$6 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
13164
13164
  if (kind === "a" && !f)
13165
13165
  throw new TypeError("Private accessor was defined without a getter");
13166
13166
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
@@ -13227,20 +13227,20 @@ const KupDialog = class {
13227
13227
  var _a;
13228
13228
  var _b;
13229
13229
  if (!((_a = this.rootElement) === null || _a === void 0 ? void 0 : _a.isConnected)) {
13230
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logMessage(this, 'recalcPosition() ran after the component was disconnected. Aborting.', KupDebugCategory.WARNING);
13231
- __classPrivateFieldGet$5(this, _KupDialog_instances, "m", _KupDialog_disconnectedCallback).call(this);
13230
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logMessage(this, 'recalcPosition() ran after the component was disconnected. Aborting.', KupDebugCategory.WARNING);
13231
+ __classPrivateFieldGet$6(this, _KupDialog_instances, "m", _KupDialog_disconnectedCallback).call(this);
13232
13232
  return;
13233
13233
  }
13234
13234
  const rect = this.rootElement.getBoundingClientRect();
13235
13235
  if (!rect.x && !rect.y && !rect.height && !rect.width) {
13236
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logMessage(this, `recalcPosition() ran before the component finished being drawn. Running again (attempt #${__classPrivateFieldGet$5(this, _KupDialog_recalcSafeguard, "f")}).`, KupDebugCategory.INFO);
13237
- if (__classPrivateFieldGet$5(this, _KupDialog_recalcSafeguard, "f") < 50) {
13238
- __classPrivateFieldSet$2(this, _KupDialog_recalcSafeguard, (_b = __classPrivateFieldGet$5(this, _KupDialog_recalcSafeguard, "f"), _b++, _b), "f");
13236
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logMessage(this, `recalcPosition() ran before the component finished being drawn. Running again (attempt #${__classPrivateFieldGet$6(this, _KupDialog_recalcSafeguard, "f")}).`, KupDebugCategory.INFO);
13237
+ if (__classPrivateFieldGet$6(this, _KupDialog_recalcSafeguard, "f") < 50) {
13238
+ __classPrivateFieldSet$2(this, _KupDialog_recalcSafeguard, (_b = __classPrivateFieldGet$6(this, _KupDialog_recalcSafeguard, "f"), _b++, _b), "f");
13239
13239
  setTimeout(async () => this.recalcPosition(), 50);
13240
13240
  return;
13241
13241
  }
13242
13242
  else {
13243
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logMessage(this, `Too many attempts centering the dialog.`, KupDebugCategory.WARNING);
13243
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logMessage(this, `Too many attempts centering the dialog.`, KupDebugCategory.WARNING);
13244
13244
  }
13245
13245
  }
13246
13246
  __classPrivateFieldSet$2(this, _KupDialog_recalcSafeguard, 0, "f");
@@ -13267,12 +13267,12 @@ const KupDialog = class {
13267
13267
  /* L i f e c y c l e H o o k s */
13268
13268
  /*-------------------------------------------------*/
13269
13269
  componentWillLoad() {
13270
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logLoad(this, false);
13271
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.register(this);
13270
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logLoad(this, false);
13271
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").theme.register(this);
13272
13272
  }
13273
13273
  componentDidLoad() {
13274
13274
  var _a;
13275
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").interact.dialogify(this.rootElement, __classPrivateFieldGet$5(this, _KupDialog_header, "f") ? __classPrivateFieldGet$5(this, _KupDialog_header, "f") : null, !this.resizable);
13275
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").interact.dialogify(this.rootElement, __classPrivateFieldGet$6(this, _KupDialog_header, "f") ? __classPrivateFieldGet$6(this, _KupDialog_header, "f") : null, !this.resizable);
13276
13276
  if ((_a = this.autoCenter) === null || _a === void 0 ? void 0 : _a.onReady) {
13277
13277
  this.recalcPosition();
13278
13278
  }
@@ -13280,7 +13280,7 @@ const KupDialog = class {
13280
13280
  this.rootElement.removeAttribute('fade-in');
13281
13281
  }
13282
13282
  if (this.modal) {
13283
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").interact.showModalBackdrop(this.modal.closeOnBackdropClick
13283
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").interact.showModalBackdrop(this.modal.closeOnBackdropClick
13284
13284
  ? () => {
13285
13285
  this.close();
13286
13286
  }
@@ -13290,13 +13290,13 @@ const KupDialog = class {
13290
13290
  comp: this,
13291
13291
  id: this.rootElement.id,
13292
13292
  });
13293
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logLoad(this, true);
13293
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logLoad(this, true);
13294
13294
  }
13295
13295
  componentWillRender() {
13296
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logRender(this, false);
13296
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logRender(this, false);
13297
13297
  }
13298
13298
  componentDidRender() {
13299
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").debug.logRender(this, true);
13299
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").debug.logRender(this, true);
13300
13300
  }
13301
13301
  render() {
13302
13302
  var _a;
@@ -13310,18 +13310,18 @@ const KupDialog = class {
13310
13310
  if (headerSlot) {
13311
13311
  __classPrivateFieldSet$2(this, _KupDialog_header, headerSlot, "f");
13312
13312
  }
13313
- return (h(Host, { key: '85b3008a0040995bdac981d0482852f53f696989', "fade-in": true, style: style }, h("style", { key: 'fe88280e675258f5604ee2abb4b944a4f8f11f17' }, __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '872122d576446bb73d501de1a5248c650c1c9268', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$2(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h("slot", { name: "header" })) : null, h("div", { key: 'c367d4b6a2308ef03b6fb0440a27c77a396f6cb7', class: "content" }, h("slot", { key: '619582bc343d3cd073289a8261844d1fc5bd9fc4', name: "content" })))));
13313
+ return (h(Host, { key: '85b3008a0040995bdac981d0482852f53f696989', "fade-in": true, style: style }, h("style", { key: 'fe88280e675258f5604ee2abb4b944a4f8f11f17' }, __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '872122d576446bb73d501de1a5248c650c1c9268', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$2(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h("slot", { name: "header" })) : null, h("div", { key: 'c367d4b6a2308ef03b6fb0440a27c77a396f6cb7', class: "content" }, h("slot", { key: '619582bc343d3cd073289a8261844d1fc5bd9fc4', name: "content" })))));
13314
13314
  }
13315
13315
  disconnectedCallback() {
13316
- __classPrivateFieldGet$5(this, _KupDialog_instances, "m", _KupDialog_disconnectedCallback).call(this);
13316
+ __classPrivateFieldGet$6(this, _KupDialog_instances, "m", _KupDialog_disconnectedCallback).call(this);
13317
13317
  }
13318
13318
  get rootElement() { return getElement$1(this); }
13319
13319
  };
13320
13320
  _KupDialog_header = new WeakMap(), _KupDialog_kupManager = new WeakMap(), _KupDialog_recalcSafeguard = new WeakMap(), _KupDialog_instances = new WeakSet(), _KupDialog_disconnectedCallback = function _KupDialog_disconnectedCallback() {
13321
13321
  if (this.modal) {
13322
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").interact.hideModalBackdrop();
13322
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").interact.hideModalBackdrop();
13323
13323
  }
13324
- __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.unregister(this);
13324
+ __classPrivateFieldGet$6(this, _KupDialog_kupManager, "f").theme.unregister(this);
13325
13325
  };
13326
13326
  KupDialog.style = KupDialogStyle0;
13327
13327
 
@@ -13651,6 +13651,187 @@ const KupDropdownButton = class {
13651
13651
  };
13652
13652
  KupDropdownButton.style = KupDropdownButtonStyle0;
13653
13653
 
13654
+ var KupFileUploadProps;
13655
+ (function (KupFileUploadProps) {
13656
+ KupFileUploadProps["customStyle"] = "Custom style of the component.";
13657
+ KupFileUploadProps["data"] = "Actual data of the input file upload.";
13658
+ })(KupFileUploadProps || (KupFileUploadProps = {}));
13659
+
13660
+ const kupFileUploadCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_upload_icon_color:var(--kup-upload-icon-color, var(--kup-icon-color));--kup_upload_border_color:var(\n --kup-upload-border-color,\n var(--kup-gray-color-30)\n );flex:1}:host .file-upload-spinner>*{opacity:0.6;pointer-events:none}:host .file-upload-spinner>file-upload__spinner-container{opacity:1}:host .file-upload{display:flex;flex-direction:column;gap:1em;border:2px dashed var(--kup_upload_border_color);border-radius:4px;padding:1em;position:relative}:host .file-upload__buttons{display:flex;gap:1em;align-items:center;justify-content:center}:host .file-upload__buttons .spinner{height:48px;margin:auto;width:48px}:host .file-upload__list{display:flex;flex-direction:column;gap:1em}:host .file-upload__list__item{display:flex;gap:1em;align-items:center}:host .file-upload__list__item__preview{height:3em;width:3em;display:flex;align-items:center}:host .file-upload__list__item__desc{width:14em}:host .file-upload__list__item__clear{background-color:var(--kup_upload_icon_color);cursor:pointer;height:16px;width:16px;min-width:16px;min-height:16px;outline:none;pointer-events:all;-webkit-mask:var(--kup-clear-icon);mask:var(--kup-clear-icon)}:host .file-upload__list__item__clear:hover{background-color:var(--kup-danger-color-60)}:host .file-upload__spinner-container{height:calc(100% - 2em);width:20%;position:absolute;left:40%}";
13661
+ const KupFileUploadStyle0 = kupFileUploadCss;
13662
+
13663
+ var __classPrivateFieldGet$5 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
13664
+ if (kind === "a" && !f)
13665
+ throw new TypeError("Private accessor was defined without a getter");
13666
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
13667
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
13668
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
13669
+ };
13670
+ var _KupFileUpload_instances, _KupFileUpload_kupManager, _KupFileUpload_previewMap, _KupFileUpload_handleClick, _KupFileUpload_handleFileChange, _KupFileUpload_handleFileRemove, _KupFileUpload_handleDrop, _KupFileUpload_handleCancel, _KupFileUpload_getPreview, _KupFileUpload_trimFileName, _KupFileUpload_uploadClick;
13671
+ const KupFileUpload = class {
13672
+ constructor(hostRef) {
13673
+ registerInstance(this, hostRef);
13674
+ this.kupReady = createEvent(this, "kup-file-upload-ready", 6);
13675
+ this.kupUpload = createEvent(this, "kup-file-upload-upload", 6);
13676
+ _KupFileUpload_instances.add(this);
13677
+ //#endregion
13678
+ //#region VARIABLES
13679
+ /*-------------------------------------------------*/
13680
+ /* I n t e r n a l V a r i a b l e s */
13681
+ /*-------------------------------------------------*/
13682
+ _KupFileUpload_kupManager.set(this, kupManagerInstance());
13683
+ _KupFileUpload_previewMap.set(this, new Map([
13684
+ ['application/pdf', 'file-pdf'],
13685
+ ['application/vnd.ms-excel', 'file-excel'],
13686
+ [
13687
+ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
13688
+ 'file-excel',
13689
+ ],
13690
+ ['application/msword', 'file-word'],
13691
+ [
13692
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
13693
+ 'file-word',
13694
+ ],
13695
+ ]));
13696
+ this.customStyle = '';
13697
+ this.data = null;
13698
+ this.inputRef = undefined;
13699
+ this.files = [];
13700
+ this.uploadSuccess = false;
13701
+ this.showSpinner = false;
13702
+ }
13703
+ //#endregion
13704
+ //#region WATCHERS
13705
+ /*-------------------------------------------------*/
13706
+ /* W a t c h e r s */
13707
+ /*-------------------------------------------------*/
13708
+ onDataChanged() { }
13709
+ //#endregion
13710
+ //#region PUBLIC METHODS
13711
+ /*-------------------------------------------------*/
13712
+ /* P u b l i c M e t h o d s */
13713
+ /*-------------------------------------------------*/
13714
+ /**
13715
+ * Used to retrieve component's props values.
13716
+ * @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
13717
+ * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
13718
+ */
13719
+ async getProps(descriptions) {
13720
+ return getProps(this, KupFileUploadProps, descriptions);
13721
+ }
13722
+ /**
13723
+ * This method is used to trigger a new render of the component.
13724
+ */
13725
+ async refresh() {
13726
+ forceUpdate(this);
13727
+ }
13728
+ /**
13729
+ * Sets the props to the component.
13730
+ * @param {GenericObject} props - Object containing props that will be set to the component.
13731
+ */
13732
+ async setProps(props) {
13733
+ setProps(this, KupFileUploadProps, props);
13734
+ }
13735
+ /**
13736
+ * Sets upload has been successfull to show success message.
13737
+ * @param {boolean} success - Boolean to set if upload has been successfull.
13738
+ */
13739
+ async setSuccess(success) {
13740
+ this.setLoading(false);
13741
+ if (success) {
13742
+ __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).call(this);
13743
+ this.uploadSuccess = success;
13744
+ }
13745
+ }
13746
+ /**
13747
+ * Sets to show spinner during upload.
13748
+ * @param {boolean} loading - Boolean to set if is loading.
13749
+ */
13750
+ async setLoading(loading) {
13751
+ this.showSpinner = loading;
13752
+ }
13753
+ //#endregion
13754
+ //#region LIFECYCLE HOOKS
13755
+ /*-------------------------------------------------*/
13756
+ /* L i f e c y c l e H o o k s */
13757
+ /*-------------------------------------------------*/
13758
+ componentWillLoad() {
13759
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, false);
13760
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.register(this);
13761
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").theme.register(this);
13762
+ }
13763
+ componentDidLoad() {
13764
+ this.kupReady.emit({ comp: this, id: this.rootElement.id });
13765
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, true);
13766
+ }
13767
+ componentWillRender() {
13768
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logRender(this, false);
13769
+ }
13770
+ componentDidRender() {
13771
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logRender(this, true);
13772
+ }
13773
+ render() {
13774
+ return (h(Host, { key: 'fe4bf368d35a09d537000b666c22b8a796e841d8' }, h("style", { key: '7f795ecba5c7187f2752051561545a27fdb4eb76' }, __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '6f998101815936c02246f56816f03e9d43c3ce8d', id: componentWrapperId }, h("div", { key: 'aa518134c9ae9a1a3645e811c75b39da73c544b3', class: {
13775
+ 'file-upload': true,
13776
+ 'file-upload-spinner': this.showSpinner,
13777
+ }, onDrop: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragOver: (event) => event.preventDefault() }, h("input", { key: 'ed848e17a8e40fec4b5c119a316ab5a6c09c9085', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: true, hidden: true }), h("div", { key: 'c713ff2f83975080221437cca9ead4534dd4ef9b', class: "file-upload__buttons" }, h(FButton, { key: 'bad9df6fe8d6f45fc414b3c25559333e887d3273', icon: "upload", label: __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), h(FButton, { key: '3966f24556bce210cc2e84b0b34153ff7feb182c', icon: "save", disabled: !this.files.length, label: __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h(FButton, { key: '4c538a64d604496d0d65a1c9dc3bb88ddc92df19', icon: "clear", disabled: !this.files.length, label: __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })), this.uploadSuccess ? (h("span", null, __classPrivateFieldGet$5(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$5(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file) })), h("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) })))))), this.showSpinner && (h("div", { key: '54782b7a4ceb1a4626255256d4832ed24be43e36', class: "file-upload__spinner-container" }, h("kup-spinner", { key: '7da8a612be8f0a9a01e96308c7492650677f7b55', active: true, layout: 14, dimensions: "7px" })))))));
13778
+ }
13779
+ disconnectedCallback() {
13780
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.unregister(this);
13781
+ __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").theme.unregister(this);
13782
+ }
13783
+ get rootElement() { return getElement$1(this); }
13784
+ static get watchers() { return {
13785
+ "data": ["onDataChanged"]
13786
+ }; }
13787
+ };
13788
+ _KupFileUpload_kupManager = new WeakMap(), _KupFileUpload_previewMap = new WeakMap(), _KupFileUpload_instances = new WeakSet(), _KupFileUpload_handleClick = function _KupFileUpload_handleClick() {
13789
+ this.inputRef.click();
13790
+ }, _KupFileUpload_handleFileChange = function _KupFileUpload_handleFileChange(event) {
13791
+ this.uploadSuccess = false;
13792
+ const newFiles = Array.from(event.target.files);
13793
+ this.files = [...this.files, ...newFiles];
13794
+ }, _KupFileUpload_handleFileRemove = function _KupFileUpload_handleFileRemove(index) {
13795
+ this.files = [
13796
+ ...this.files.splice(0, index),
13797
+ ...this.files.splice(index + 1),
13798
+ ];
13799
+ }, _KupFileUpload_handleDrop = function _KupFileUpload_handleDrop(event) {
13800
+ event.preventDefault();
13801
+ const droppedFiles = event.dataTransfer.files;
13802
+ if (droppedFiles.length > 0) {
13803
+ const newFiles = Array.from(droppedFiles);
13804
+ this.files = [...this.files, ...newFiles];
13805
+ }
13806
+ }, _KupFileUpload_handleCancel = function _KupFileUpload_handleCancel() {
13807
+ this.files = [];
13808
+ }, _KupFileUpload_getPreview = function _KupFileUpload_getPreview(file) {
13809
+ const previewIcon = __classPrivateFieldGet$5(this, _KupFileUpload_previewMap, "f").get(file.type);
13810
+ if (!previewIcon) {
13811
+ if (/^image\/.*/g.test(file.type)) {
13812
+ return URL.createObjectURL(file);
13813
+ }
13814
+ if (/^video\/.*/g.test(file.type)) {
13815
+ return 'video';
13816
+ }
13817
+ return 'file';
13818
+ }
13819
+ return previewIcon;
13820
+ }, _KupFileUpload_trimFileName = function _KupFileUpload_trimFileName(fileName) {
13821
+ return (fileName === null || fileName === void 0 ? void 0 : fileName.length) > 20
13822
+ ? fileName.slice(0, 9) + '...' + fileName.slice(-10)
13823
+ : fileName;
13824
+ }, _KupFileUpload_uploadClick = function _KupFileUpload_uploadClick(e) {
13825
+ e.stopPropagation();
13826
+ this.kupUpload.emit({
13827
+ comp: this,
13828
+ id: this.rootElement.id,
13829
+ files: this.files,
13830
+ });
13831
+ this.setLoading(true);
13832
+ };
13833
+ KupFileUpload.style = KupFileUploadStyle0;
13834
+
13654
13835
  /**
13655
13836
  * Props of the kup-form component.
13656
13837
  * Used to export every prop in an object.
@@ -14086,7 +14267,7 @@ const KupForm = class {
14086
14267
  render() {
14087
14268
  let formContent = null;
14088
14269
  if (this.data.rows.length === 0) {
14089
- formContent = (h("p", { key: '4b4c768ddde3a3e5b716aa6c78f19d124fe472ff' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
14270
+ formContent = (h("p", { key: 'f749de74f0497b4be1fb554de9e3c9cb1464f16d' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
14090
14271
  }
14091
14272
  else {
14092
14273
  const rows = this.data.rows;
@@ -14097,7 +14278,7 @@ const KupForm = class {
14097
14278
  formContent.push(this.renderRow(rows[cnt++]));
14098
14279
  }
14099
14280
  }
14100
- return (h(Host, { key: 'fef68da43868f5b70c76102cc08fc53557b0feb8' }, h("style", { key: 'c8265a9f9c5a9bce97c8c2bbf64d3d7cbf1f57ee' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'de6c69d454396ebf0e82b5de27c7541132038eeb', id: componentWrapperId }, formContent)));
14281
+ return (h(Host, { key: 'f32e3c7318dd06b37dda2c66fc35188671fd5c2b' }, h("style", { key: 'bda0f827c81efc66666670b3da38b699921855cf' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '07ba4ba3f36154ee5457b340993f3fd54b202b30', id: componentWrapperId }, formContent)));
14101
14282
  }
14102
14283
  disconnectedCallback() {
14103
14284
  this.kupManager.language.unregister(this);
@@ -16132,7 +16313,7 @@ const KupProgressBar = class {
16132
16313
  ? true
16133
16314
  : false,
16134
16315
  };
16135
- return (h(Host, { key: '3d6d9fc74dc3f0118b4ace093a04ff2ad59cf6df' }, h("style", { key: '7dfe84c06d2663aba637406cb02989ddd1cca363' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '90ceb916676613610ecd11b4d2325605eedacd7a', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '032763ed336b976ee8dd04dde68f8e88f20aac6f' }, props)))));
16316
+ return (h(Host, { key: 'e67a7bd17e8f831ccb6e964053d3e9bcc4f3cf74' }, h("style", { key: '5568051629371fd5f95b9b51441879380e5a9d67' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '65cffea374b2d2598a2e8debb8be1b4c5e6a0c41', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '22522650b68cc7ec26d99f06c4d1f3af417ba9f0' }, props)))));
16136
16317
  }
16137
16318
  disconnectedCallback() {
16138
16319
  this.kupManager.theme.unregister(this);
@@ -16393,7 +16574,7 @@ const KupRating = class {
16393
16574
  : false,
16394
16575
  onClick: (i) => this.onKupClick(i),
16395
16576
  };
16396
- return (h(Host, { key: '20095fb51aa50672f0ebe4127b9dc0003d9c0719' }, h("style", { key: 'ec9990065a4a7661e89163f3ae0fb1cf13bdea42' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'd79e809d648195e494b1486b15323cc2ba79b076', id: componentWrapperId }, h(FRating, Object.assign({ key: 'ff7a1ecf8f215ebf043fcf33cea9ca1fe029df11' }, props)))));
16577
+ return (h(Host, { key: '879a6ae98190a2e1084def50d40d01ed821c9660' }, h("style", { key: '0fa9425c1dbce6d801647b70a32394063ccce065' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '36bb228b8c86388fc981ebd556df4cad4e89d7bb', id: componentWrapperId }, h(FRating, Object.assign({ key: '2177af857eaca72423e6d4d3a4babba73691de51' }, props)))));
16397
16578
  }
16398
16579
  disconnectedCallback() {
16399
16580
  this.kupManager.theme.unregister(this);
@@ -16516,59 +16697,59 @@ const KupSpinner = class {
16516
16697
  spinnerClass = 'spinner-v' + this.layout;
16517
16698
  if (this.layout === 7) {
16518
16699
  spinnerEl = [
16519
- h("div", { key: 'c0f87b32d2880e8d2967965b3aeb1d87e759bdfd', class: "sk-spinner-v7-dot" }),
16520
- h("div", { key: 'd2667329fcbf2bcfc49de04a1764fd120eb604e1', class: "sk-spinner-v7-dot" }),
16521
- h("div", { key: '5a17ec63181387a41ec7efac3e577b64eb974f2a', class: "sk-spinner-v7-dot" }),
16522
- h("div", { key: 'd7b1f39f2a4021f33676ac35fff67c2f26ed62d0', class: "sk-spinner-v7-dot" }),
16523
- h("div", { key: '5ae04fe212ddd0e5ef965ccbcd41c25790f141e4', class: "sk-spinner-v7-dot" }),
16524
- h("div", { key: '637d9220f1dc84e9c0915da844edd6cb7a6c3974', class: "sk-spinner-v7-dot" }),
16700
+ h("div", { key: 'd9e8be5e8b34f7f4a8a0434703bee6e157be1b63', class: "sk-spinner-v7-dot" }),
16701
+ h("div", { key: 'b1bdcad24453ff4f730b7c58af9f3f1f495a6eff', class: "sk-spinner-v7-dot" }),
16702
+ h("div", { key: 'da867e6a2d4a56b0bf5bddc134ed1027136ba064', class: "sk-spinner-v7-dot" }),
16703
+ h("div", { key: '82b30c602d8d4febbaf061c033ddc7e22642affc', class: "sk-spinner-v7-dot" }),
16704
+ h("div", { key: 'ffcdea64b3b4f0063444413c43349c35448ccfa2', class: "sk-spinner-v7-dot" }),
16705
+ h("div", { key: '3bf58b200418d7b3614a8e4ad9f10ca2f795aede', class: "sk-spinner-v7-dot" }),
16525
16706
  ];
16526
16707
  }
16527
16708
  if (this.layout === 9) {
16528
16709
  spinnerEl = [
16529
- h("div", { key: '910a32befcfeea4fdc278e00c381b08c3cc7b23c', class: "sk-spinner-v9-bounce1" }),
16530
- h("div", { key: '3cfbe5f150100f3bec045cdcdb1afe9720930980', class: "sk-spinner-v9-bounce2" }),
16710
+ h("div", { key: '7eb08ef8b31172fe3ba643aaa449ab5419e269ed', class: "sk-spinner-v9-bounce1" }),
16711
+ h("div", { key: 'd2b116c1526eb2a94dcbfa929e871809d3d3748f', class: "sk-spinner-v9-bounce2" }),
16531
16712
  ];
16532
16713
  }
16533
16714
  if (this.layout === 10) {
16534
16715
  spinnerEl = [
16535
- h("div", { key: 'c0856e6a5786baf3f010305cc7b97609cfc75430', class: "sk-spinner-v10-cube1" }),
16536
- h("div", { key: 'dd49b7ffd40f91250a1edb1b8951b58b8a8e2469', class: "sk-spinner-v10-cube2" }),
16716
+ h("div", { key: '620f68c389d59a6a6cd4e1c6c29a6c2e9e7c55d8', class: "sk-spinner-v10-cube1" }),
16717
+ h("div", { key: '43da427d8379ee798eca33aa989fc53ca9edf6db', class: "sk-spinner-v10-cube2" }),
16537
16718
  ];
16538
16719
  }
16539
16720
  if (this.layout === 12) {
16540
16721
  spinnerEl = [
16541
- h("div", { key: '442dd49006c37d95eb777efd9a64a8caa764f393', class: "sk-spinner-v12-dot1" }),
16542
- h("div", { key: 'db42b8b389b3e35f3699f9c8b66e277a9c16805e', class: "sk-spinner-v12-dot2" }),
16722
+ h("div", { key: '29628c208192c8e5a99f3aa1ca56770ec1271a51', class: "sk-spinner-v12-dot1" }),
16723
+ h("div", { key: '9bbab46f67ad2aad4779b0a403c32ca0a2972edf', class: "sk-spinner-v12-dot2" }),
16543
16724
  ];
16544
16725
  }
16545
16726
  if (this.layout === 13) {
16546
16727
  spinnerEl = [
16547
- h("div", { key: '25e9281e433baff05bf9b44d31644a18881e0d92', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
16548
- h("div", { key: '41f2559432e090e2996f9bacff6d0f28fd7d14e4', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
16549
- h("div", { key: 'abd925e4ca992ffb267c3f07feaf54c82c3f4b04', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
16550
- h("div", { key: '2d6979df2d803dc0da9f1496cae8be0e6167014b', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
16551
- h("div", { key: 'eecd7028d3e328b938c99749dbaf3a7f982f3118', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
16552
- h("div", { key: 'aec197ce21b10163a590d2f023991c6a61f7a193', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
16553
- h("div", { key: 'f49931a5693b0fb4c22e9edac5020989c1eebd18', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
16554
- h("div", { key: '86a3ec2853084eb5fdbb5ca71ee4d11c4e140574', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
16555
- h("div", { key: '102b5545aa6f4ae31c1691ec862a6402f44bd536', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
16728
+ h("div", { key: '7efa860923505f7285b5dbb58180b1a376aab300', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
16729
+ h("div", { key: '40550163fc379434f79e747fbd1bdfe53bc40fab', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
16730
+ h("div", { key: 'fddd2cf238b07e29c4a0cf61bc317434f6a11381', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
16731
+ h("div", { key: '198d810b5dde8b84c0a70b92fc5d1119fa1e9252', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
16732
+ h("div", { key: 'bf20ad081cb99c617bf341ab84562f7ff110c8eb', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
16733
+ h("div", { key: '947e8bd99e74f891424083c166741437a0523049', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
16734
+ h("div", { key: '9dfa58ef83f77871115c61956832b2c77e6f2b58', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
16735
+ h("div", { key: 'a0479158ef8e2cb8116ab5e04f62369f9234cb8c', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
16736
+ h("div", { key: '6d17905bd8f29755faa1f06b906f6038df60de39', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
16556
16737
  ];
16557
16738
  }
16558
16739
  if (this.layout === 14) {
16559
16740
  spinnerEl = [
16560
- h("div", { key: '8d7270df5611149ab9fccaf7150b654cfdd813e1', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
16561
- h("div", { key: 'cff87affb92512360d13f92567f2904f2282c2e9', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
16562
- h("div", { key: '07f4885a562b5ec07dcbdcdb28bc9ecff21ca2c4', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
16563
- h("div", { key: '8deb2cde206020840375c28247a1682b5b658499', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
16564
- h("div", { key: '8be740e770f6b17245392af95452a4bb94860d73', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
16565
- h("div", { key: '7d0477b8a48b03cfee6e263dccc9745f7aa0989a', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
16566
- h("div", { key: '5af02c740d957aa89931c5285041958ebcdc78d8', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
16567
- h("div", { key: '360c696c38e38ef022eebbcd4c923b0595c6a9ce', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
16568
- h("div", { key: '88082deb8513a5522856e73d0a2e59dfb0eed4b4', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
16569
- h("div", { key: 'e6c9f4a09d3ef089d4c3c9a41d30cf259c72054a', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
16570
- h("div", { key: 'c24dc3b66d10044d70350e61c23c413f29268f33', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
16571
- h("div", { key: '45d6a198bd7b1e89fd35813b7a673a72c63ec5fb', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
16741
+ h("div", { key: 'c7c54b017299889f97ffac724cc854df2f785d8d', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
16742
+ h("div", { key: '6e0c491f023fa53aff13de97c536db976f8ad807', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
16743
+ h("div", { key: '3eb9618dded82002c896955322102ab1c5edbed0', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
16744
+ h("div", { key: 'ca5f55fc315d180e9df0d8a6bf7c0df52f9bc4fd', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
16745
+ h("div", { key: 'f653627358a0d717dd109a44e9c2be5e0b42be16', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
16746
+ h("div", { key: 'bbbca5db1d1885a88dd372619e45c9e213068408', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
16747
+ h("div", { key: 'a685096d2c0c3bd0638b4efe18f267564afcc167', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
16748
+ h("div", { key: '34d89964e41b9520d018f98f32ce6888864f2117', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
16749
+ h("div", { key: '34e25080ba83cb4e382e45b8d74dd8805bc00bf9', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
16750
+ h("div", { key: 'e2e454f8caa409d13743b4d526f9997a38b98bb7', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
16751
+ h("div", { key: '31b2eabb2b348b0a8c3e6bb46e130a22c73371b4', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
16752
+ h("div", { key: '6e05dfc6d58ec29ededbd3ffdbdddc3984c6345c', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
16572
16753
  ];
16573
16754
  }
16574
16755
  }
@@ -16587,7 +16768,7 @@ const KupSpinner = class {
16587
16768
  else {
16588
16769
  elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
16589
16770
  }
16590
- return (h(Host, { key: 'e87c0386288130a5d4dfe9d72df440193916fb3b', style: elStyle }, h("style", { key: '0496b84b5447eacf42eefa36bcdee02343020a92' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '46460375ac8857331173d56af8ab39f4c86d7b70', id: componentWrapperId, style: elStyle }, h("div", { key: '8cbfde7a6ad14881f101677ad2198ed94a83f12a', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: '6a6fb45e62f55e2d3df338de4e85f3c7f986f0c4', id: wrapperClass, style: elStyle }, h("div", { key: 'd10a919c3fb710224f9f80c764bc1d582e64c0a7', class: spinnerClass }, spinnerEl))))));
16771
+ return (h(Host, { key: '3c4ecb099a610627191bdb34a40c1b44d4a769b6', style: elStyle }, h("style", { key: 'c89628f8825d7cbc22b64cdeb1707baaae8d1d38' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '3fd5ecca92397a1cc5b0c2dbc3843fe1403c1f42', id: componentWrapperId, style: elStyle }, h("div", { key: 'f6dc141c459cc87da063c4f03c0609b1c295988b', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'acb6bd40542676fb484e7ceb0e15fd6164401fc9', id: wrapperClass, style: elStyle }, h("div", { key: '3ae4b174167a0a8a07127d5e85d95438434c091a', class: spinnerClass }, spinnerEl))))));
16591
16772
  }
16592
16773
  disconnectedCallback() {
16593
16774
  this.kupManager.theme.unregister(this);
@@ -16735,7 +16916,7 @@ const KupSwitch = class {
16735
16916
  onChange: () => this.onKupChange(),
16736
16917
  onFocus: () => this.onKupFocus(),
16737
16918
  };
16738
- return (h(Host, { key: 'ccab27b5265a000c6620180353460ef3155b7956' }, h("style", { key: '3d2e9c0b0298e397eee1b2f5540d89ab9f4ee7e8' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '49fcac8fcca3cf367a2747b7e764849c8562325a', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '179a3ab9d3e23122c6090736b97dc657063b709f' }, props)))));
16919
+ return (h(Host, { key: '2a170b39ec9bd03dd5c389f9eed702212ccc2825' }, h("style", { key: '6939e9e63441086335c0ce728bd3327e1c913411' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '5a814af6cdce48541f7010282e89c0b7d2390cbb', id: componentWrapperId }, h(FSwitch, Object.assign({ key: 'ef96c77675c6b65723061bf525f0f7e321e64b01' }, props)))));
16739
16920
  }
16740
16921
  disconnectedCallback() {
16741
16922
  this.kupManager.theme.unregister(this);
@@ -17855,7 +18036,7 @@ const KupTimePicker = class {
17855
18036
  this.kupManager.debug.logRender(this, true);
17856
18037
  }
17857
18038
  render() {
17858
- return (h(Host, { key: '25aa426350acb007ed3b24a4bddba0c614f6a381' }, h("style", { key: 'e766a1994b663ea2bb82fee923969cd8f052064b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '6f83be628e0800cbe0e75a15d9133d1bbf0cbe1d', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
18039
+ return (h(Host, { key: 'dffe33755a510ef42a3ed226b9f2e47724ccb37f' }, h("style", { key: '9ca27904a2544e8bb01d43627b4e6289963fd0ab' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'cff01fdcd8fdf77c1c047ad38e0e52009a907ab3', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
17859
18040
  }
17860
18041
  disconnectedCallback() {
17861
18042
  this.kupManager.dates.unregister(this);
@@ -19552,4 +19733,4 @@ const KupTree = class {
19552
19733
  _KupTree_kupManager = new WeakMap();
19553
19734
  KupTree.style = KupTreeStyle0;
19554
19735
 
19555
- export { KupAutocomplete as kup_autocomplete, KupBadge as kup_badge, KupButton as kup_button, KupButtonList as kup_button_list, KupCard as kup_card, KupChart as kup_chart, KupCheckbox as kup_checkbox, KupChip as kup_chip, KupColorPicker as kup_color_picker, KupCombobox as kup_combobox, KupDataTable as kup_data_table, KupDatePicker as kup_date_picker, KupDialog as kup_dialog, KupDropdownButton as kup_dropdown_button, KupForm as kup_form, KupGauge as kup_gauge, KupImage as kup_image, KupList as kup_list, KupProgressBar as kup_progress_bar, KupRadio as kup_radio, KupRating as kup_rating, KupSpinner as kup_spinner, KupSwitch as kup_switch, KupTabBar as kup_tab_bar, KupTextField as kup_text_field, KupTimePicker as kup_time_picker, KupToolbar as kup_toolbar, KupTree as kup_tree };
19736
+ export { KupAutocomplete as kup_autocomplete, KupBadge as kup_badge, KupButton as kup_button, KupButtonList as kup_button_list, KupCard as kup_card, KupChart as kup_chart, KupCheckbox as kup_checkbox, KupChip as kup_chip, KupColorPicker as kup_color_picker, KupCombobox as kup_combobox, KupDataTable as kup_data_table, KupDatePicker as kup_date_picker, KupDialog as kup_dialog, KupDropdownButton as kup_dropdown_button, KupFileUpload as kup_file_upload, KupForm as kup_form, KupGauge as kup_gauge, KupImage as kup_image, KupList as kup_list, KupProgressBar as kup_progress_bar, KupRadio as kup_radio, KupRating as kup_rating, KupSpinner as kup_spinner, KupSwitch as kup_switch, KupTabBar as kup_tab_bar, KupTextField as kup_text_field, KupTimePicker as kup_time_picker, KupToolbar as kup_toolbar, KupTree as kup_tree };