@sme.up/ketchup 9.6.2 → 9.6.3

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 (275) hide show
  1. package/dist/cjs/{f-button-4c346ca8.js → f-button-9a0eba42.js} +2 -2
  2. package/dist/cjs/{f-cell-8f3d12fd.js → f-cell-1ad41071.js} +51 -9
  3. package/dist/cjs/{f-checkbox-bfa92ebe.js → f-checkbox-1fa28e76.js} +1 -1
  4. package/dist/cjs/{f-chip-a6c800be.js → f-chip-48851b4f.js} +3 -3
  5. package/dist/cjs/{f-image-40476fa6.js → f-image-541e5f4d.js} +2 -2
  6. package/dist/cjs/{f-paginator-utils-c652ceaa.js → f-paginator-utils-8ff2a9b4.js} +7 -4
  7. package/dist/cjs/{f-text-field-1f77ef23.js → f-text-field-ac5d6497.js} +2 -2
  8. package/dist/cjs/{index-db0a6be6.js → index-958d0399.js} +21 -26
  9. package/dist/cjs/index.cjs.js +3 -3
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
  12. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +47 -46
  13. package/dist/cjs/kup-box.cjs.entry.js +60 -20
  14. package/dist/cjs/kup-calendar.cjs.entry.js +7 -7
  15. package/dist/cjs/kup-card-list.cjs.entry.js +4 -4
  16. package/dist/cjs/kup-cell.cjs.entry.js +10 -10
  17. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +8 -8
  19. package/dist/cjs/{kup-dates-4aa560f0.js → kup-dates-b7d53b4d.js} +25 -8
  20. package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
  21. package/dist/cjs/kup-echart.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-editor.cjs.entry.js +3 -3
  23. package/dist/cjs/kup-family-tree.cjs.entry.js +6 -6
  24. package/dist/cjs/kup-gantt_10.cjs.entry.js +20 -14
  25. package/dist/cjs/kup-grid.cjs.entry.js +4 -4
  26. package/dist/cjs/kup-iframe.cjs.entry.js +4 -4
  27. package/dist/cjs/kup-image-list.cjs.entry.js +138 -50
  28. package/dist/cjs/kup-lazy.cjs.entry.js +4 -4
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
  30. package/dist/cjs/{kup-manager-08f1585b.js → kup-manager-26a9154b.js} +631 -33
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -4
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
  34. package/dist/cjs/{kup-planner-renderer-helper-f0c869d7.js → kup-planner-renderer-helper-680bbd5a.js} +3 -23
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +13 -6
  36. package/dist/cjs/kup-planner.cjs.entry.js +12 -6
  37. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  38. package/dist/cjs/kup-qlik.cjs.entry.js +4 -4
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
  40. package/dist/cjs/loader.cjs.js +2 -2
  41. package/dist/collection/assets/data-table.js +7 -2
  42. package/dist/collection/assets/image-list.js +20 -0
  43. package/dist/collection/assets/index.js +4 -0
  44. package/dist/collection/assets/planner-example-6.js +983 -0
  45. package/dist/collection/collection-manifest.json +1 -1
  46. package/dist/collection/components/kup-accordion/kup-accordion.css +128 -0
  47. package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +128 -0
  48. package/dist/collection/components/kup-badge/kup-badge.css +128 -0
  49. package/dist/collection/components/kup-box/kup-box.css +128 -0
  50. package/dist/collection/components/kup-box/kup-box.js +49 -9
  51. package/dist/collection/components/kup-button/kup-button.css +128 -0
  52. package/dist/collection/components/kup-button-list/kup-button-list.css +128 -0
  53. package/dist/collection/components/kup-calendar/kup-calendar.css +128 -0
  54. package/dist/collection/components/kup-card/kup-card.css +128 -0
  55. package/dist/collection/components/kup-card-list/kup-card-list.css +128 -0
  56. package/dist/collection/components/kup-cell/kup-cell.css +128 -0
  57. package/dist/collection/components/kup-chart/kup-chart.css +128 -0
  58. package/dist/collection/components/kup-checkbox/kup-checkbox.css +128 -0
  59. package/dist/collection/components/kup-chip/kup-chip.css +128 -0
  60. package/dist/collection/components/kup-color-picker/kup-color-picker.css +128 -0
  61. package/dist/collection/components/kup-combobox/kup-combobox.css +128 -0
  62. package/dist/collection/components/kup-dashboard/kup-dashboard.css +128 -0
  63. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
  64. package/dist/collection/components/kup-data-table/kup-data-table.css +133 -0
  65. package/dist/collection/components/kup-data-table/kup-data-table.js +28 -9
  66. package/dist/collection/components/kup-date-picker/kup-date-picker.css +128 -0
  67. package/dist/collection/components/kup-dialog/kup-dialog.css +128 -0
  68. package/dist/collection/components/kup-drawer/kup-drawer.css +128 -0
  69. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +128 -0
  70. package/dist/collection/components/kup-echart/kup-echart.css +128 -0
  71. package/dist/collection/components/kup-family-tree/kup-family-tree.css +128 -0
  72. package/dist/collection/components/kup-form/kup-form.css +128 -0
  73. package/dist/collection/components/kup-gauge/kup-gauge.css +128 -0
  74. package/dist/collection/components/kup-grid/kup-grid.css +128 -0
  75. package/dist/collection/components/kup-iframe/kup-iframe.css +128 -0
  76. package/dist/collection/components/kup-image/kup-image.css +128 -0
  77. package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +2 -0
  78. package/dist/collection/components/kup-image-list/kup-image-list.css +158 -18
  79. package/dist/collection/components/kup-image-list/kup-image-list.js +175 -46
  80. package/dist/collection/components/kup-lazy/kup-lazy.css +128 -0
  81. package/dist/collection/components/kup-list/kup-list.css +128 -0
  82. package/dist/collection/components/kup-magic-box/kup-magic-box.css +128 -0
  83. package/dist/collection/components/kup-nav-bar/kup-nav-bar.css +128 -0
  84. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.css +128 -0
  85. package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +128 -0
  86. package/dist/collection/components/kup-planner/kup-planner.css +128 -0
  87. package/dist/collection/components/kup-planner/kup-planner.js +7 -1
  88. package/dist/collection/components/kup-planner/utils/custom-task-list-header.module.css +128 -0
  89. package/dist/collection/components/kup-planner/utils/gantt-table.module.css +128 -0
  90. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +128 -0
  91. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +29 -2
  92. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.css +128 -0
  93. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
  94. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +128 -0
  95. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +128 -0
  96. package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +2 -22
  97. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +37 -4
  98. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +128 -0
  99. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  100. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.css +128 -0
  101. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.css +128 -0
  102. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.css +128 -0
  103. package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +128 -0
  104. package/dist/collection/components/kup-qlik/kup-qlik.css +128 -0
  105. package/dist/collection/components/kup-radio/kup-radio.css +128 -0
  106. package/dist/collection/components/kup-rating/kup-rating.css +128 -0
  107. package/dist/collection/components/kup-snackbar/kup-snackbar.css +128 -0
  108. package/dist/collection/components/kup-spinner/kup-spinner.css +128 -0
  109. package/dist/collection/components/kup-switch/kup-switch.css +128 -0
  110. package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +128 -0
  111. package/dist/collection/components/kup-text-field/kup-text-field.css +128 -0
  112. package/dist/collection/components/kup-time-picker/kup-time-picker.css +128 -0
  113. package/dist/collection/components/kup-tree/kup-tree.css +128 -0
  114. package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
  115. package/dist/collection/f-components/f-cell/f-cell.js +44 -2
  116. package/dist/collection/f-components/f-paginator/f-paginator.js +3 -0
  117. package/dist/collection/managers/kup-dates/kup-dates.js +18 -8
  118. package/dist/collection/managers/kup-interact/kup-interact.js +7 -0
  119. package/dist/collection/utils/cell-utils.js +2 -2
  120. package/dist/components/custom-task-list-header.js +1 -1
  121. package/dist/components/custom-task-list-table.js +1 -1
  122. package/dist/components/kup-accordion.js +1 -1
  123. package/dist/components/kup-autocomplete2.js +85 -38
  124. package/dist/components/kup-box2.js +50 -10
  125. package/dist/components/kup-calendar.js +1 -1
  126. package/dist/components/kup-card-list.js +1 -1
  127. package/dist/components/kup-cell.js +1 -1
  128. package/dist/components/kup-dashboard.js +1 -1
  129. package/dist/components/kup-dates.js +25 -8
  130. package/dist/components/kup-drawer.js +1 -1
  131. package/dist/components/kup-echart2.js +1 -1
  132. package/dist/components/kup-family-tree.js +1 -1
  133. package/dist/components/kup-gantt-calendar2.js +2 -2
  134. package/dist/components/kup-gantt2.js +11 -4
  135. package/dist/components/kup-grid-renderer2.js +1 -1
  136. package/dist/components/kup-grid2.js +1 -1
  137. package/dist/components/kup-horizontal-scroll2.js +1 -1
  138. package/dist/components/kup-iframe.js +1 -1
  139. package/dist/components/kup-image-list.js +132 -42
  140. package/dist/components/kup-lazy.js +1 -1
  141. package/dist/components/kup-magic-box.js +1 -1
  142. package/dist/components/kup-manager.js +629 -31
  143. package/dist/components/kup-nav-bar.js +1 -1
  144. package/dist/components/kup-numeric-picker.js +1 -1
  145. package/dist/components/kup-photo-frame.js +1 -1
  146. package/dist/components/kup-planner-renderer-helper.js +2 -22
  147. package/dist/components/kup-planner-renderer2.js +12 -4
  148. package/dist/components/kup-planner.js +8 -2
  149. package/dist/components/kup-qlik.js +1 -1
  150. package/dist/components/kup-snackbar.js +1 -1
  151. package/dist/components/kup-standard-tooltip2.js +1 -1
  152. package/dist/components/kup-switcher2.js +1 -1
  153. package/dist/components/kup-task-list-header2.js +1 -1
  154. package/dist/components/kup-task-list-table2.js +2 -2
  155. package/dist/components/kup-task-list2.js +1 -1
  156. package/dist/components/kup-tooltip2.js +1 -1
  157. package/dist/components/kup-vertical-scroll2.js +1 -1
  158. package/dist/esm/{f-button-90a7ea86.js → f-button-45d690a5.js} +2 -2
  159. package/dist/esm/{f-cell-fdd338c5.js → f-cell-63db06db.js} +51 -9
  160. package/dist/esm/{f-checkbox-fdf27ce9.js → f-checkbox-ddb6234e.js} +1 -1
  161. package/dist/esm/{f-chip-4e6341a6.js → f-chip-f1ab6c5e.js} +3 -3
  162. package/dist/esm/{f-image-5210f0b3.js → f-image-8b382cc5.js} +2 -2
  163. package/dist/esm/{f-paginator-utils-3f179999.js → f-paginator-utils-ae563cd5.js} +7 -4
  164. package/dist/esm/{f-text-field-8429a853.js → f-text-field-b5fcb598.js} +2 -2
  165. package/dist/esm/{index-bbef9f2a.js → index-460631fd.js} +21 -26
  166. package/dist/esm/index.js +3 -3
  167. package/dist/esm/ketchup.js +4 -4
  168. package/dist/esm/kup-accordion.entry.js +5 -5
  169. package/dist/esm/kup-autocomplete_27.entry.js +47 -46
  170. package/dist/esm/kup-box.entry.js +60 -20
  171. package/dist/esm/kup-calendar.entry.js +7 -7
  172. package/dist/esm/kup-card-list.entry.js +4 -4
  173. package/dist/esm/kup-cell.entry.js +10 -10
  174. package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
  175. package/dist/esm/kup-dashboard.entry.js +8 -8
  176. package/dist/esm/{kup-dates-172954df.js → kup-dates-4ad48be7.js} +25 -8
  177. package/dist/esm/kup-drawer.entry.js +4 -4
  178. package/dist/esm/kup-echart.entry.js +4 -4
  179. package/dist/esm/kup-editor.entry.js +3 -3
  180. package/dist/esm/kup-family-tree.entry.js +6 -6
  181. package/dist/esm/kup-gantt_10.entry.js +20 -14
  182. package/dist/esm/kup-grid.entry.js +4 -4
  183. package/dist/esm/kup-iframe.entry.js +4 -4
  184. package/dist/esm/kup-image-list.entry.js +138 -50
  185. package/dist/esm/kup-lazy.entry.js +4 -4
  186. package/dist/esm/kup-magic-box.entry.js +5 -5
  187. package/dist/esm/{kup-manager-8b39f876.js → kup-manager-cdb4f21a.js} +631 -33
  188. package/dist/esm/kup-nav-bar.entry.js +4 -4
  189. package/dist/esm/kup-numeric-picker.entry.js +5 -5
  190. package/dist/esm/kup-photo-frame.entry.js +4 -4
  191. package/dist/esm/{kup-planner-renderer-helper-5d97e075.js → kup-planner-renderer-helper-da0518be.js} +3 -23
  192. package/dist/esm/kup-planner-renderer.entry.js +13 -6
  193. package/dist/esm/kup-planner.entry.js +12 -6
  194. package/dist/esm/kup-probe.entry.js +3 -3
  195. package/dist/esm/kup-qlik.entry.js +4 -4
  196. package/dist/esm/kup-snackbar.entry.js +6 -6
  197. package/dist/esm/loader.js +3 -3
  198. package/dist/ketchup/index.esm.js +1 -1
  199. package/dist/ketchup/ketchup.esm.js +1 -1
  200. package/dist/ketchup/p-090e5097.entry.js +1 -0
  201. package/dist/ketchup/p-1474852d.entry.js +1 -0
  202. package/dist/ketchup/{p-ee30e274.entry.js → p-157f0e89.entry.js} +1 -1
  203. package/dist/ketchup/p-1cd48eea.entry.js +1 -0
  204. package/dist/ketchup/p-21351b19.entry.js +1 -0
  205. package/dist/ketchup/p-2b40d9b9.entry.js +1 -0
  206. package/dist/ketchup/p-31c0cfc0.entry.js +1 -0
  207. package/dist/ketchup/p-41e8402e.entry.js +1 -0
  208. package/dist/ketchup/p-47040db6.js +2 -0
  209. package/dist/ketchup/{p-82694fad.entry.js → p-4c100286.entry.js} +1 -1
  210. package/dist/ketchup/p-4dfc5927.entry.js +1 -0
  211. package/dist/ketchup/{p-35d503e2.js → p-590c34bc.js} +1 -1
  212. package/dist/ketchup/p-5c79cb74.js +1 -0
  213. package/dist/ketchup/p-670354ef.entry.js +1 -0
  214. package/dist/ketchup/p-837bd0a6.entry.js +1 -0
  215. package/dist/ketchup/p-935f58fc.js +1 -0
  216. package/dist/ketchup/{p-2778f948.js → p-9852b1e9.js} +1 -1
  217. package/dist/ketchup/p-9a856951.js +28 -0
  218. package/dist/ketchup/{p-86f9b0d9.js → p-a5074ce4.js} +1 -1
  219. package/dist/ketchup/p-ad6a3c2a.entry.js +1 -0
  220. package/dist/ketchup/p-b6a21b6a.entry.js +1 -0
  221. package/dist/ketchup/{p-5e16c9d3.js → p-ba0f28b7.js} +1 -1
  222. package/dist/ketchup/{p-f9766625.js → p-bedabdb5.js} +1 -1
  223. package/dist/ketchup/p-c6b34763.entry.js +1 -0
  224. package/dist/ketchup/p-ca42a421.entry.js +16 -0
  225. package/dist/ketchup/{p-4eb70dd2.entry.js → p-ca8a1f53.entry.js} +4 -4
  226. package/dist/ketchup/p-cbe42afd.entry.js +1 -0
  227. package/dist/ketchup/p-cc7352a8.entry.js +1 -0
  228. package/dist/ketchup/{p-c089b961.js → p-d50515f7.js} +1 -1
  229. package/dist/ketchup/p-d608f866.entry.js +1 -0
  230. package/dist/ketchup/p-d839ce21.entry.js +9 -0
  231. package/dist/ketchup/p-d9284d98.entry.js +1 -0
  232. package/dist/ketchup/p-e0a1fbe7.entry.js +1 -0
  233. package/dist/ketchup/p-e0c10de2.entry.js +1 -0
  234. package/dist/ketchup/{p-dc18691c.js → p-e2bf2bb6.js} +1 -1
  235. package/dist/ketchup/{p-4c20fefd.entry.js → p-e508b2fd.entry.js} +1 -1
  236. package/dist/ketchup/p-ec4050e1.entry.js +1 -0
  237. package/dist/types/components/kup-box/kup-box.d.ts +1 -0
  238. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
  239. package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -0
  240. package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +19 -4
  241. package/dist/types/components/kup-image-list/kup-image-list.d.ts +13 -11
  242. package/dist/types/components/kup-planner/kup-planner.d.ts +1 -0
  243. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +4 -0
  244. package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +6 -0
  245. package/dist/types/components.d.ts +44 -8
  246. package/dist/types/f-components/f-image/f-image-declarations.d.ts +3 -4
  247. package/dist/types/managers/kup-dates/kup-dates.d.ts +2 -2
  248. package/dist/types/managers/kup-interact/kup-interact.d.ts +5 -0
  249. package/package.json +1 -1
  250. package/dist/ketchup/p-02820c2b.entry.js +0 -1
  251. package/dist/ketchup/p-09d853c3.entry.js +0 -1
  252. package/dist/ketchup/p-14e1a36b.entry.js +0 -1
  253. package/dist/ketchup/p-1936c6cd.entry.js +0 -1
  254. package/dist/ketchup/p-1ad7fea0.js +0 -2
  255. package/dist/ketchup/p-318c9ecd.entry.js +0 -1
  256. package/dist/ketchup/p-35dce86e.entry.js +0 -1
  257. package/dist/ketchup/p-3c9ac0fd.entry.js +0 -1
  258. package/dist/ketchup/p-5739cdc2.entry.js +0 -1
  259. package/dist/ketchup/p-5ab3a88a.entry.js +0 -1
  260. package/dist/ketchup/p-6780a391.js +0 -1
  261. package/dist/ketchup/p-67930d7c.entry.js +0 -1
  262. package/dist/ketchup/p-6953f769.entry.js +0 -1
  263. package/dist/ketchup/p-7d2fd8bd.entry.js +0 -1
  264. package/dist/ketchup/p-8257141a.entry.js +0 -1
  265. package/dist/ketchup/p-8ea68d14.entry.js +0 -1
  266. package/dist/ketchup/p-98c72335.entry.js +0 -1
  267. package/dist/ketchup/p-ab8cac45.entry.js +0 -1
  268. package/dist/ketchup/p-b5d3c24d.entry.js +0 -1
  269. package/dist/ketchup/p-cdb24584.entry.js +0 -1
  270. package/dist/ketchup/p-d466d6d1.entry.js +0 -1
  271. package/dist/ketchup/p-de07d17e.js +0 -1
  272. package/dist/ketchup/p-df450df9.entry.js +0 -16
  273. package/dist/ketchup/p-f31530fc.js +0 -28
  274. package/dist/ketchup/p-f353805e.entry.js +0 -1
  275. package/dist/ketchup/p-f515308d.entry.js +0 -9
@@ -0,0 +1 @@
1
+ import{r as t,c as e,f as i,h as a,H as s,d as o}from"./p-47040db6.js";import{k as n,g as h,s as r,r as c,ac as l}from"./p-9a856951.js";import{c as p}from"./p-635bb4b3.js";import"./p-935f58fc.js";var f;!function(t){t.columnsNumber="Sets the number of columns.",t.customStyle="Custom style of the component.",t.data="Actual data of the component.",t.decvalueCol="Sets the decimal value column.",t.descrCol="Sets the description column.",t.fullWidth="Sets whether the component occupies all available width.",t.horizontal="Sets whether the cards are placed horizontally or not.",t.iconCol="Sets the icon column.",t.iconcolorCol="Sets the icon color column.",t.intvalueCol="Sets the integer value column.",t.isClickable="Sets whether a single card is clickable or not.",t.layoutCol="Sets the layout column.",t.measureCol="Sets the unit of measure column.",t.textcolorCol="Sets the text color column.",t.valueCol="Sets the value column.",t.valuecolorCol="Sets the value color column."}(f||(f={}));var u,m=function(t,e,i,a){if("a"===i&&!a)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!a:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?a:"a"===i?a.call(t):a?a.value:e.get(t)};const d=class{constructor(i){t(this,i),this.kupCardListClickEvent=e(this,"kup-cardlist-click",7),u.set(this,n()),this.columnsNumber=1,this.customStyle="",this.data=null,this.fullWidth=!0,this.horizontal=!1,this.descrCol="",this.iconCol="",this.valueCol="",this.measureCol="",this.intvalueCol="",this.decvalueCol="",this.textcolorCol="",this.valuecolorCol="",this.iconcolorCol="",this.layoutCol="",this.isClickable=!1}async getProps(t){return h(this,f,t)}async refresh(){i(this)}async setProps(t){r(this,f,t)}componentWillLoad(){m(this,u,"f").debug.logLoad(this,!1),m(this,u,"f").theme.register(this)}componentDidLoad(){m(this,u,"f").debug.logLoad(this,!0)}componentDidRender(){m(this,u,"f").debug.logRender(this,!0)}render(){if(!this.data||!this.data.columns||!this.data.columns.length)return;const t=[];let e,i,o,n,h,r,f,d,g,k;for(let t=0;t<this.data.columns.length;t++){const a=this.data.columns[t];if(a.name)switch(a.name){case this.decvalueCol:e=a;break;case this.descrCol:i=a;break;case this.iconCol:o=a;break;case this.iconcolorCol:n=a;break;case this.intvalueCol:h=a;break;case this.layoutCol:r=a;break;case this.measureCol:f=a;break;case this.textcolorCol:d=a;break;case this.valueCol:g=a;break;case this.valuecolorCol:k=a}}for(let s=0;s<this.data.rows.length;s++){const p=this.data.rows[s],x={color:[],image:[],text:[]},y=r&&p.cells[r.name].value?parseInt(p.cells[r.name].value):1,w=a("kup-card",{class:this.isClickable?"is-clickable":"",customStyle:"#kup-component, .scalable-card { min-height: var(--kup_cardlist_cardsminheight) }",data:x,layoutFamily:c.SCALABLE,layoutNumber:y,key:s,"onKup-card-click":()=>{this.isClickable&&this.kupCardListClickEvent.emit({comp:this,id:this.rootElement.id,index:s,row:p})},slot:s.toString()}),b=(t,e,i)=>{if(t){const a=p.cells[t.name];if(a){const s=a.value;switch(e){case"color":x[e][i]=m(this,u,"f").theme.colorCheck(s).hexColor;break;case"image":x[e][i]={resource:s};break;default:x[e][i]=l(t,a)}}}};switch(y){case 1:b(d,"color",0),b(k,"color",1),b(i,"text",0),b(g,"text",1);break;case 2:b(n,"color",0),b(k,"color",1),b(o,"image",0),b(h,"text",0),b(e,"text",1),b(f,"text",2);break;case 3:b(k,"color",0),b(d,"color",1),b(g,"text",0),b(i,"text",1);break;case 4:b(n,"color",0),b(k,"color",1),b(d,"color",2),b(o,"image",0),b(h,"text",0),b(e,"text",1),b(f,"text",2),b(i,"text",3);break;case 5:b(n,"color",0),b(d,"color",1),b(k,"color",2),b(o,"image",0),b(i,"text",0),b(g,"text",1);break;case 6:case 7:case 8:b(n,"color",0),b(k,"color",1),b(d,"color",2),b(o,"image",0),b(g,"text",0),b(i,"text",1)}t.push(w)}return a(s,null,a("style",null,m(this,u,"f").theme.setKupStyle(this.rootElement)),a("div",{id:p},a("kup-grid",{class:(this.fullWidth?"kup-full-width":"")+" scalable-cards",columns:this.columnsNumber,singleLine:this.horizontal},t)))}disconnectedCallback(){m(this,u,"f").theme.unregister(this)}get rootElement(){return o(this)}};u=new WeakMap,d.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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_cardlist_cards_max_height:var(--kup-cardlist-cards-max-height, unset);--kup_cardlist_cards_min_height:var(--kup-cardlist-cards-min-height, unset);--kup_cardlist_cards_max_width:var(--kup-cardlist-cards-max-width, unset);--kup_cardlist_cards_min_width:var(--kup-cardlist-cards-min-width, unset);display:block;height:100%;width:100%}#kup-component{height:100%;width:100%}kup-card{max-height:var(--kup_cardlist_cards_max_height);min-height:var(--kup_cardlist_cards_min_height);max-width:var(--kup_cardlist_cards_max_width);min-width:var(--kup_cardlist_cards_min_width)}kup-card.is-clickable{cursor:pointer}kup-grid{--kup-grid-padding:0}";export{d as kup_card_list}
@@ -0,0 +1 @@
1
+ import{r as t,f as i,h as e,H as a,d as o}from"./p-47040db6.js";import{k as s,g as n,s as l,l as h,d as p,ai as c,N as r,aj as f,U as u,c as d}from"./p-9a856951.js";import{F as g}from"./p-c634eb82.js";import{F as m}from"./p-d50515f7.js";import{c as k}from"./p-635bb4b3.js";import"./p-935f58fc.js";var b,x;!function(t){t.customStyle="Custom style of the component.",t.data="Sets the data that will be used to display different components."}(b||(b={})),function(t){t.BOX="Box",t.BUTTON_LIST="Button List",t.CHART="Chart",t.CHIP="Chip",t.ECHART="Echart",t.DATATABLE="Datatable",t.JSON="JSON",t.TREE="Tree"}(x||(x={}));const y=class{constructor(i){t(this,i),this.dragHandler=null,this.kupManager=s(),this.textArea=null,this.wrapperRef=null,this.display=x.DATATABLE,this.customStyle="",this.data=null}async getProps(t){return n(this,b,t)}async refresh(){i(this)}async setProps(t){l(this,b,t)}comboboxProps(){const t=[];for(const i in x)Object.prototype.hasOwnProperty.call(x,i)&&t.push({id:x[i],selected:!1,value:x[i]});return{data:{"kup-list":{data:t,id:"kup-debug-theme-changer-list"},"kup-text-field":{emitSubmitEventOnEnter:!1,inputType:"text",label:this.kupManager.language.translate(h.VIEW_AS)}},id:"comp-switcher",initialValue:this.display,isSelect:!0,"onKup-combobox-itemclick":t=>{this.display=t.detail.value}}}setContent(){const t=!!(this.data&&this.data.columns&&this.data.columns.length>0),i=[],a={};if(this.display===x.JSON)a.initialValue=this.data?JSON.stringify(this.data,null,2):"",a.textArea=!0,i.push(e("kup-text-field",Object.assign({class:"kup-full-width kup-full-height"},a,{ref:t=>this.textArea=t,"onkup-textfield-input":t=>{try{this.data=JSON.parse(t.detail.value)}catch(t){this.data={columns:[{name:"ERROR",title:"Error"}],rows:[{cells:{ERROR:{value:"Invalid JSON:"+t}}}]}}}})));else if(t)switch(this.display){case x.BOX:a.data=this.data,i.push(e("kup-box",Object.assign({},a)));break;case x.BUTTON_LIST:a.data=this.data,i.push(e("kup-button-list",Object.assign({},a)));break;case x.CHIP:a.data=this.data,i.push(e("kup-chip",Object.assign({},a)));break;case x.CHART:case x.ECHART:a.data=this.data,a.series=[],a.axis=null;for(let t=0;t<this.data.columns.length;t++){const i=this.data.columns[t];i.obj&&this.kupManager.objects.isNumber(i.obj)||null!==a.axis?a.series.push(this.display===x.CHART?{code:i.name,decode:i.title}:i.name):a.axis=i.name}0===a.series.length&&this.kupManager.debug.logMessage(this,"Not enough numerical columns to display a chart!",p.WARNING),a.axis||this.kupManager.debug.logMessage(this,"No axis for the chart!",p.WARNING),i.push(e(this.display===x.CHART?"kup-chart":"kup-echart",Object.assign({},a)));break;case x.DATATABLE:a.data=this.data,a.autoFillMissingCells=!0,i.push(e("kup-data-table",Object.assign({},a)));break;case x.TREE:a.data=this.data,i.push(e("kup-tree",Object.assign({class:"kup-full-width"},a)));break;default:return void this.kupManager.debug.logMessage(this,"Display mode not supported ("+this.display+")!",p.ERROR)}else i.push(e("div",{class:"empty"},e(m,{sizeY:"100px",resource:"move_to_inbox"}),e("div",{class:"empty-text"},this.kupManager.language.translate(h.DROP_YOUR_DATA))));return i}updateData(t){{const i=Object.assign({},this.data),e=t.detail.sourceElement&&t.detail.sourceElement.column?t.detail.sourceElement.column:null,a=t.detail.sourceElement&&t.detail.sourceElement.row?t.detail.sourceElement.row:null;if(e&&e.name?i.columns?this.data.columns.find((t=>t.name===e.name))||i.columns.push(e):i.columns=[e]:this.kupManager.debug.logMessage(this,"Invalid column received.",p.WARNING),a&&(i.rows?i.rows.push(a):i.rows=[a]),this.data=i,this.data&&this.textArea)try{this.textArea.setValue(JSON.stringify(this.data,null,2))}catch(t){this.textArea.setValue("Invalid JSON:"+t)}}}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.language.register(this),this.kupManager.theme.register(this)}componentDidLoad(){this.rootElement.addEventListener(c,(t=>this.updateData(t))),this.dragHandler=this.rootElement.shadowRoot.querySelector("#drag-handle"),this.kupManager.interact.dialogify(this.rootElement,this.dragHandler),this.kupManager.interact.dropzone(this.wrapperRef,{accept:`[${r}],[${f}]`},{dispatcher:this.rootElement,type:u.MAGICBOX}),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.kupManager.debug.logRender(this,!0)}render(){return e(a,{key:"79c487291987eeaa0dfd3127cd93e11bdd51a048"},e("style",{key:"88d77f9029cbe5e112c41fad1e1a7c4fefdc06ef"},this.kupManager.theme.setKupStyle(this.rootElement)),e("div",{key:"59cbf333a260e3c2455c69d9717d088019a7ca53",id:k},e("div",{key:"e1a68e91de25ca426c7d029219fdaf98865c2a9f",class:"magic-box-wrapper"},e("div",{key:"1db871607d685738ce9eb4ea99c7807aa0918a25",class:"actions",id:"drag-handle"},e("kup-combobox",Object.assign({key:"01e46100ea2c370e0079358921e8fa338434ff6e"},this.comboboxProps())),e("kup-button",{key:"0ab7767d552bf4119db2ac2f5f69f574027eeebd",styling:g.FLAT,icon:"delete",label:"Reset","onkup-button-click":()=>{this.data=null}}),e("kup-button",{key:"26267a6c3e19b15725feda21eed43d9db3f2ddc4",id:"close-dialog",customStyle:`:host{${d.PRIMARY}: var(${d.TITLE});}`,icon:"clear","onkup-button-click":()=>{this.kupManager.hideMagicBox()}})),e("div",{key:"d5ec68498c68b205ce2c7247cd19e01b6a283230",class:"content",ref:t=>this.wrapperRef=t},this.setContent()))))}disconnectedCallback(){this.kupManager.interact.unregister([this.rootElement,this.wrapperRef]),this.kupManager.language.unregister(this),this.kupManager.theme.unregister(this)}get rootElement(){return o(this)}};y.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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{background-color:var(--kup-background-color);color:var(--kup-text-color);display:block;height:300px;min-width:700px;width:700px}#kup-component,.magic-box-wrapper{height:100%;width:100%}.magic-box-wrapper{border:3px dashed var(--kup-border-color);box-sizing:border-box;display:flex;flex-direction:column}.actions{align-items:center;background-color:var(--kup-title-background-color);display:inline-flex;height:52px;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.actions kup-button{margin:0.5em}.actions #comp-switcher{margin:auto 0}.actions #close-dialog{position:absolute;margin:0;top:0;right:0;background-color:var(--kup-title-background-color)}.content{box-sizing:border-box;height:100%;margin-top:52px;overflow:auto;transition:background-color 125ms ease}.empty{flex-direction:column;display:flex;text-align:center;justify-content:center;height:100%;width:100%;opacity:0.5;transition:opacity 0.25s ease-out}.empty .f-image{margin:0}.json{font-family:var(--kup-font-family-monospace);margin:0}[kup-drag-over]{background-color:rgba(var(--kup-success-color-rgb), 0.25)}";export{y as kup_magic_box}
@@ -0,0 +1 @@
1
+ import{r as o,c as r,f as i,h as a,H as n,d as t}from"./p-47040db6.js";import{k as c,g as e,s as p,c as d,a as s}from"./p-9a856951.js";import{F as l}from"./p-d50515f7.js";import{c as u}from"./p-635bb4b3.js";import{M as h}from"./p-d4a879fc.js";import"./p-935f58fc.js";var f;!function(o){o.customStyle="Custom style of the component. For more information: https://ketchup.smeup.com/ketchup-showcase/#/customization",o.data="Data of the accordion.",o.ripple="When enabled displays Material's ripple effect on item headers."}(f||(f={}));const k=class{constructor(i){o(this,i),this.kupAccordionItemSelected=r(this,"kup-accordion-itemselected",6),this.kupManager=c(),this.slotsNames=[],this.selectedItems=[],this.customStyle="",this.data=null,this.ripple=!0}applyRipple(){const o=this.rootElement.shadowRoot;if(o&&this.ripple){const r=o.querySelectorAll(".mdc-ripple-surface:not(.mdc-ripple-upgraded)");if(r)for(let o=0;o<r.length;o++)h.attachTo(r[o])}}async collapseAll(){const o=[];for(let r=0;r<this.data.columns.length;r++){const i=this.data.columns[r].name;!this.isItemExpandible(i)&&this.isItemSelected(i)&&o.push(i)}this.selectedItems=o}async expandAll(){const o=[];for(let r=0;r<this.data.columns.length;r++){const i=this.data.columns[r].name;this.isItemExpandible(i)&&o.push(i)}this.selectedItems=o}async getProps(o){return e(this,f,o)}async refresh(){i(this)}async setProps(o){p(this,f,o)}async toggleItem(o){const r=this.isItemExpandible(o),i=[...this.selectedItems];i.includes(o)?i.splice(i.indexOf(o),1):i.push(o),this.selectedItems=i,r||this.kupAccordionItemSelected.emit({comp:this,id:this.rootElement.id,itemName:o})}isItemExpandible(o){return this.slotsNames.includes(o)}isItemSelected(o){return this.selectedItems.includes(o)}renderItems(){const o=[],r=Array.prototype.slice.call(this.rootElement.children,0);this.slotsNames=[];for(let o=0;o<r.length;o++)this.slotsNames.push(r[o].slot);for(let r=0;r<this.data.columns.length;r++){const i=this.data.columns[r],n=i.name,t=this.isItemSelected(n),c=this.isItemExpandible(n),e={"accordion-item__content":!0,"accordion-item__content--selected":!!t};o.push(a("div",{class:"accordion-item"},a("div",{title:i.title,class:{"accordion-item__header":!0,"accordion-item__header--selected":!(c||!t),"accordion-item__header--expanded":!(!c||!t),"mdc-ripple-surface":!!this.ripple},onClick:()=>this.toggleItem(n)},i.icon?a(l,{color:`var(${d.ICON})`,resource:i.icon,sizeX:"1.5em",sizeY:"1.5em",wrapperClass:"accordion-item__icon"}):null,a("span",{class:"accordion-item__text"},i.title),c?a("span",{class:`accordion-item__dropdown kup-icon ${s.DROPDOWN.replace("--","")}`}):null),a("div",{class:e},a("slot",{name:i.name}))))}return o}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.applyRipple(),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){const o=this.rootElement.shadowRoot;if(o){const r=o.querySelectorAll(".mdc-ripple-surface");if(r)for(let o=0;o<r.length;o++)h.attachTo(r[o])}this.kupManager.debug.logRender(this,!0)}render(){const o=this.data&&this.data.columns?this.renderItems():null;return a(n,{key:"12da47dc3f3462e4d3e78b5266ee5416c26a2a99"},a("style",{key:"af0aa37c789ba350584ffd5289e5e08a581a2bb7"},this.kupManager.theme.setKupStyle(this.rootElement)),a("div",{key:"e662e0fb3e38440eb105a18f0e6302d5b619a958",id:u},a("div",{key:"e5860263f1b09c6f9f64d3a15ccbde1d2d88a316",class:"accordion"},o)))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return t(this)}static get watchers(){return{ripple:["applyRipple"]}}};k.style=".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);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_accordion_background_color:var(\n --kup-accordion-background-color,\n var(--kup-background-color)\n );--kup_accordion_border:var(\n --kup-accordion-border,\n 1px solid var(--kup-border-color)\n );--kup_accordion_border_radius:var(--kup-accordion-border-radius, 4px);--kup-accordion_dropdown_icon_color:var(\n --kup-accordion-dropdown-icon-color,\n var(--kup-icon-color)\n );--kup_accordion_font_family:var(\n --kup-accordion-font-family,\n var(--kup-font-family)\n );--kup_accordion_font_size:var(\n --kup-accordion-font-size,\n var(--kup-font-size)\n );--kup_accordion_hover_background_color:var(\n --kup-accordion-hover-background-color,\n var(--kup-hover-background-color)\n );--kup_accordion_hover_color:var(\n --kup-accordion-hover-color,\n var(--kup-hover-color)\n );--kup_accordion_padding:var(--kup-accordion-padding, 1em 1.5em);--kup_accordion_primary_color:var(\n --kup-accordion-primary-color,\n var(--kup-primary-color)\n );--kup_accordion_primary_color_rgb:var(\n --kup-accordion-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_accordion_text_color:var(\n --kup-accordion-text-color,\n var(--kup-text-color)\n );--kup_accordion_text_on_primary_color:var(\n --kup-accordion-text-on-primary-color,\n var(--kup-text-on-primary-color)\n );--kup_accordion_transition:var(--kup-accordion-transition, 80ms);display:block;font-family:var(--kup_accordion_font_family);font-size:var(--kup_accordion_font_size)}.accordion{background-color:var(--kup_accordion_background_color);border-bottom:var(--kup_accordion_border);border-radius:var(--kup_accordion_border_radius);border-top:var(--kup_accordion_border);display:flex;flex-wrap:wrap;flex-direction:column;width:100%}.accordion-item{border-left:var(--kup_accordion_border);border-right:var(--kup_accordion_border);box-sizing:border-box;width:100%}.accordion-item--visible{display:block}.accordion-item:not(:first-of-type){border-top:var(--kup_accordion_border)}.accordion-item__header{align-items:center;border:none;box-sizing:border-box;color:var(--kup_accordion_text_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;padding:var(--kup_accordion_padding);text-align:left;transition:background-color var(--kup_accordion_transition), color var(--kup_accordion_transition);width:100%}.accordion-item__header:hover:not(.accordion-item__header--selected){color:var(--kup_accordion_hover_color);background-color:var(--kup_accordion_hover_background_color)}.accordion-item__header--expanded{color:var(--kup_accordion_hover_color);background-color:var(--kup_accordion_hover_background_color)}.accordion-item__header--expanded .accordion-item__dropdown{transform:rotate(-180deg)}.accordion-item__header--selected{background-color:rgba(var(--kup_accordion_primary_color_rgb), 0.175)}.accordion-item__text{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}.accordion-item__text--highlighted{color:var(--kup_accordion_text_on_primary_color);background-color:var(--kup_accordion_primary_color)}.accordion-item__icon{margin-left:0;margin-right:0.5em}.accordion-item__dropdown{background-color:var(--kup-accordion_dropdown_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform var(--kup_accordion_transition)}.accordion-item__content{animation:fade-in 0.25s ease-out;display:none}.accordion-item__content--selected{display:block}.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_accordion_primary_color)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}:host(.kup-borderless){--kup-accordion-border:none}:host(.kup-full-height){height:100%}:host(.kup-full-width){width:100%}:host(.kup-danger){--kup-accordion-primary-color:var(--kup-danger-color);--kup-accordion-primary-color-rgb:var(--kup-danger-color-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-info){--kup-accordion-primary-color:var(--kup-info-color);--kup-accordion-primary-color-rgb:var(--kup-info-color-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-secondary){--kup-accordion-primary-color:var(--kup-secondary-color);--kup-accordion-primary-color-rgb:var(--kup-secondary-color-rgb);--kup-accordion-text-on-primary-color:var(--kup-text-on-secondary-color)}:host(.kup-success){--kup-accordion-primary-color:var(--kup-success-color);--kup-accordion-primary-color-rgb:var(--kup-success-color-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-warning){--kup-accordion-primary-color:var(--kup-warning-color);--kup-accordion-primary-color-rgb:var(--kup-warning-color-rgb);--kup-accordion-text-on-primary-color:white}";export{k as kup_accordion}
@@ -1 +1 @@
1
- import{h as c}from"./p-1ad7fea0.js";const e=e=>{const o={"data-indeterminate":!!e.indeterminate},a={checkbox:!0,"checkbox--checked":!(!e.checked||e.indeterminate),"checkbox--disabled":!!e.disabled,"checkbox--indeterminate":!!e.indeterminate};return c("div",Object.assign({class:`f-checkbox ${e.danger?"kup-danger":""} ${e.info?"kup-info":""} ${e.secondary?"kup-secondary":""} ${e.success?"kup-success":""} ${e.warning?"kup-warning":""} ${e.wrapperClass?e.wrapperClass:""}`},e.dataSet,{id:e.id,title:e.title}),c("div",{class:"form-field "+(e.leadingLabel?"form-field--align-end":"")},c("div",{class:a},c("input",Object.assign({type:"checkbox",class:"checkbox__native-control",checked:e.checked,disabled:e.disabled,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus},o,{value:e.checked?"on":"off"})),c("div",{class:"checkbox__background",onClick:e.onChange},c("svg",{class:"checkbox__checkmark",viewBox:"0 0 24 24"},c("path",{class:"checkbox__checkmark-path",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})),c("div",{class:"checkbox__mixedmark"}))),e.label?c("label",null,e.label):void 0))};export{e as F}
1
+ import{h as c}from"./p-47040db6.js";const e=e=>{const o={"data-indeterminate":!!e.indeterminate},a={checkbox:!0,"checkbox--checked":!(!e.checked||e.indeterminate),"checkbox--disabled":!!e.disabled,"checkbox--indeterminate":!!e.indeterminate};return c("div",Object.assign({class:`f-checkbox ${e.danger?"kup-danger":""} ${e.info?"kup-info":""} ${e.secondary?"kup-secondary":""} ${e.success?"kup-success":""} ${e.warning?"kup-warning":""} ${e.wrapperClass?e.wrapperClass:""}`},e.dataSet,{id:e.id,title:e.title}),c("div",{class:"form-field "+(e.leadingLabel?"form-field--align-end":"")},c("div",{class:a},c("input",Object.assign({type:"checkbox",class:"checkbox__native-control",checked:e.checked,disabled:e.disabled,onBlur:e.onBlur,onChange:e.onChange,onFocus:e.onFocus},o,{value:e.checked?"on":"off"})),c("div",{class:"checkbox__background",onClick:e.onChange},c("svg",{class:"checkbox__checkmark",viewBox:"0 0 24 24"},c("path",{class:"checkbox__checkmark-path",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})),c("div",{class:"checkbox__mixedmark"}))),e.label?c("label",null,e.label):void 0))};export{e as F}