@sme.up/ketchup 11.0.0-SNAPSHOT-20250120160420 → 11.0.0-SNAPSHOT-20250121113653

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 (293) hide show
  1. package/dist/cjs/{f-cell-91a3ac61.js → f-cell-8843d5b0.js} +4 -4
  2. package/dist/cjs/{f-chip-c7d6a0b8.js → f-chip-400de429.js} +1 -1
  3. package/dist/cjs/{f-object-field-8e5a161e.js → f-object-field-2b99b6d1.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-c3d75c42.js → f-paginator-utils-c30333f5.js} +1 -1
  5. package/dist/cjs/{f-text-field-adee5d2b.js → f-text-field-fc2c90e9.js} +1 -1
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  8. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  9. package/dist/cjs/kup-autocomplete_28.cjs.entry.js +7 -7
  10. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  11. package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
  12. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  13. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  14. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  15. package/dist/cjs/{kup-data-table-helper-5d5cfa26.js → kup-data-table-helper-b8c8b893.js} +1 -1
  16. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  17. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  18. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-image-list.cjs.entry.js +5 -5
  24. package/dist/cjs/kup-input-panel.cjs.entry.js +5 -5
  25. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  27. package/dist/cjs/{kup-manager-15610f83.js → kup-manager-a37bded3.js} +414 -18
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  30. package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  32. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  33. package/dist/cjs/kup-planner.cjs.entry.js +2 -2
  34. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  36. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  37. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  38. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  39. package/dist/cjs/kup-typography.cjs.entry.js +1 -1
  40. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Bold.woff +0 -0
  41. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
  42. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-BoldItalic.woff +0 -0
  43. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-BoldItalic.woff2 +0 -0
  44. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-ExtraLight.woff +0 -0
  45. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-ExtraLight.woff2 +0 -0
  46. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-ExtraLightItalic.woff +0 -0
  47. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-ExtraLightItalic.woff2 +0 -0
  48. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Italic.woff +0 -0
  49. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Italic.woff2 +0 -0
  50. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Light.woff +0 -0
  51. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Light.woff2 +0 -0
  52. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-LightItalic.woff +0 -0
  53. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-LightItalic.woff2 +0 -0
  54. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Medium.woff +0 -0
  55. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Medium.woff2 +0 -0
  56. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-MediumItalic.woff +0 -0
  57. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-MediumItalic.woff2 +0 -0
  58. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-SemiBold.woff +0 -0
  59. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-SemiBold.woff2 +0 -0
  60. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-SemiBoldItalic.woff +0 -0
  61. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
  62. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Thin.woff +0 -0
  63. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Thin.woff2 +0 -0
  64. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-ThinItalic.woff +0 -0
  65. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-ThinItalic.woff2 +0 -0
  66. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Bold.woff +0 -0
  67. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
  68. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-BoldItalic.woff +0 -0
  69. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
  70. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-ExtraLight.woff +0 -0
  71. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-ExtraLight.woff2 +0 -0
  72. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-ExtraLightItalic.woff +0 -0
  73. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-ExtraLightItalic.woff2 +0 -0
  74. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Italic.woff +0 -0
  75. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
  76. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Light.woff +0 -0
  77. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
  78. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-LightItalic.woff +0 -0
  79. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
  80. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Medium.woff +0 -0
  81. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
  82. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-MediumItalic.woff +0 -0
  83. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
  84. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-SemiBold.woff +0 -0
  85. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
  86. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-SemiBoldItalic.woff +0 -0
  87. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
  88. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Thin.woff +0 -0
  89. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Thin.woff2 +0 -0
  90. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-ThinItalic.woff +0 -0
  91. package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-ThinItalic.woff2 +0 -0
  92. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +46 -2
  93. package/dist/components/index.js +1 -1
  94. package/dist/components/kup-accordion.js +2 -2
  95. package/dist/components/kup-activity-timeline.js +2 -2
  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 +2 -2
  102. package/dist/components/kup-card-list.js +3 -3
  103. package/dist/components/kup-card.js +1 -1
  104. package/dist/components/kup-cell.js +2 -2
  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-dashboard.js +2 -2
  111. package/dist/components/kup-data-table.js +1 -1
  112. package/dist/components/kup-date-picker.js +1 -1
  113. package/dist/components/kup-dialog.js +1 -1
  114. package/dist/components/kup-drawer.js +2 -2
  115. package/dist/components/kup-dropdown-button.js +1 -1
  116. package/dist/components/kup-echart.js +1 -1
  117. package/dist/components/kup-editor.js +1 -1
  118. package/dist/components/kup-family-tree.js +3 -3
  119. package/dist/components/kup-form.js +1 -1
  120. package/dist/components/kup-gauge.js +1 -1
  121. package/dist/components/kup-grid.js +1 -1
  122. package/dist/components/kup-htm.js +2 -2
  123. package/dist/components/kup-iframe.js +2 -2
  124. package/dist/components/kup-image-list.js +2 -2
  125. package/dist/components/kup-image.js +1 -1
  126. package/dist/components/kup-input-panel.js +3 -3
  127. package/dist/components/kup-lazy.js +2 -2
  128. package/dist/components/kup-list.js +1 -1
  129. package/dist/components/kup-magic-box.js +4 -4
  130. package/dist/components/kup-nav-bar.js +2 -2
  131. package/dist/components/kup-numeric-picker.js +2 -2
  132. package/dist/components/kup-object-field.js +2 -2
  133. package/dist/components/kup-pdf.js +2 -2
  134. package/dist/components/kup-photo-frame.js +2 -2
  135. package/dist/components/kup-planner.js +2 -2
  136. package/dist/components/kup-probe.js +2 -2
  137. package/dist/components/kup-progress-bar.js +1 -1
  138. package/dist/components/kup-qlik.js +2 -2
  139. package/dist/components/kup-radio.js +1 -1
  140. package/dist/components/kup-rating.js +1 -1
  141. package/dist/components/kup-snackbar.js +2 -2
  142. package/dist/components/kup-spinner.js +1 -1
  143. package/dist/components/kup-switch.js +1 -1
  144. package/dist/components/kup-tab-bar.js +1 -1
  145. package/dist/components/kup-text-field.js +1 -1
  146. package/dist/components/kup-time-picker.js +1 -1
  147. package/dist/components/kup-toolbar.js +1 -1
  148. package/dist/components/kup-tree.js +1 -1
  149. package/dist/components/kup-txt.js +2 -2
  150. package/dist/components/kup-typography-list.js +2 -2
  151. package/dist/components/kup-typography.js +2 -2
  152. package/dist/components/{p-e1fae111.js → p-2f3eae01.js} +414 -18
  153. package/dist/components/{p-81e6bcc1.js → p-a94c58e7.js} +2 -2
  154. package/dist/components/{p-259f9b4a.js → p-d0d29594.js} +2 -2
  155. package/dist/components/{p-77f4851e.js → p-dc7e13fa.js} +1 -1
  156. package/dist/components/{p-44eb6d3d.js → p-f2853390.js} +2 -2
  157. package/dist/components/{p-d72a2374.js → p-f93954a6.js} +2 -2
  158. package/dist/esm/{f-cell-4ec16da3.js → f-cell-7337cfce.js} +4 -4
  159. package/dist/esm/{f-chip-75256f11.js → f-chip-bbd1304b.js} +1 -1
  160. package/dist/esm/{f-object-field-30721130.js → f-object-field-3a597859.js} +2 -2
  161. package/dist/esm/{f-paginator-utils-7ddafd29.js → f-paginator-utils-7610c27b.js} +1 -1
  162. package/dist/esm/{f-text-field-84c68be5.js → f-text-field-4fcac092.js} +1 -1
  163. package/dist/esm/index.js +1 -1
  164. package/dist/esm/kup-accordion.entry.js +1 -1
  165. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  166. package/dist/esm/kup-autocomplete_28.entry.js +7 -7
  167. package/dist/esm/kup-box.entry.js +7 -7
  168. package/dist/esm/kup-calendar.entry.js +2 -2
  169. package/dist/esm/kup-card-list.entry.js +1 -1
  170. package/dist/esm/kup-cell.entry.js +5 -5
  171. package/dist/esm/kup-dashboard.entry.js +2 -2
  172. package/dist/esm/{kup-data-table-helper-32775520.js → kup-data-table-helper-f04e6a98.js} +1 -1
  173. package/dist/esm/kup-drawer.entry.js +1 -1
  174. package/dist/esm/kup-echart.entry.js +1 -1
  175. package/dist/esm/kup-editor.entry.js +1 -1
  176. package/dist/esm/kup-family-tree.entry.js +1 -1
  177. package/dist/esm/kup-grid.entry.js +1 -1
  178. package/dist/esm/kup-htm.entry.js +1 -1
  179. package/dist/esm/kup-iframe.entry.js +1 -1
  180. package/dist/esm/kup-image-list.entry.js +5 -5
  181. package/dist/esm/kup-input-panel.entry.js +5 -5
  182. package/dist/esm/kup-lazy.entry.js +1 -1
  183. package/dist/esm/kup-magic-box.entry.js +1 -1
  184. package/dist/esm/{kup-manager-a4641623.js → kup-manager-487de9c7.js} +414 -18
  185. package/dist/esm/kup-nav-bar.entry.js +1 -1
  186. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  187. package/dist/esm/kup-object-field.entry.js +3 -3
  188. package/dist/esm/kup-pdf.entry.js +1 -1
  189. package/dist/esm/kup-photo-frame.entry.js +1 -1
  190. package/dist/esm/kup-planner.entry.js +2 -2
  191. package/dist/esm/kup-probe.entry.js +1 -1
  192. package/dist/esm/kup-qlik.entry.js +1 -1
  193. package/dist/esm/kup-snackbar.entry.js +1 -1
  194. package/dist/esm/kup-txt.entry.js +1 -1
  195. package/dist/esm/kup-typography-list.entry.js +1 -1
  196. package/dist/esm/kup-typography.entry.js +1 -1
  197. package/dist/ketchup/assets/fonts/IBMPlexMono-Bold.woff +0 -0
  198. package/dist/ketchup/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
  199. package/dist/ketchup/assets/fonts/IBMPlexMono-BoldItalic.woff +0 -0
  200. package/dist/ketchup/assets/fonts/IBMPlexMono-BoldItalic.woff2 +0 -0
  201. package/dist/ketchup/assets/fonts/IBMPlexMono-ExtraLight.woff +0 -0
  202. package/dist/ketchup/assets/fonts/IBMPlexMono-ExtraLight.woff2 +0 -0
  203. package/dist/ketchup/assets/fonts/IBMPlexMono-ExtraLightItalic.woff +0 -0
  204. package/dist/ketchup/assets/fonts/IBMPlexMono-ExtraLightItalic.woff2 +0 -0
  205. package/dist/ketchup/assets/fonts/IBMPlexMono-Italic.woff +0 -0
  206. package/dist/ketchup/assets/fonts/IBMPlexMono-Italic.woff2 +0 -0
  207. package/dist/ketchup/assets/fonts/IBMPlexMono-Light.woff +0 -0
  208. package/dist/ketchup/assets/fonts/IBMPlexMono-Light.woff2 +0 -0
  209. package/dist/ketchup/assets/fonts/IBMPlexMono-LightItalic.woff +0 -0
  210. package/dist/ketchup/assets/fonts/IBMPlexMono-LightItalic.woff2 +0 -0
  211. package/dist/ketchup/assets/fonts/IBMPlexMono-Medium.woff +0 -0
  212. package/dist/ketchup/assets/fonts/IBMPlexMono-Medium.woff2 +0 -0
  213. package/dist/ketchup/assets/fonts/IBMPlexMono-MediumItalic.woff +0 -0
  214. package/dist/ketchup/assets/fonts/IBMPlexMono-MediumItalic.woff2 +0 -0
  215. package/dist/ketchup/assets/fonts/IBMPlexMono-SemiBold.woff +0 -0
  216. package/dist/ketchup/assets/fonts/IBMPlexMono-SemiBold.woff2 +0 -0
  217. package/dist/ketchup/assets/fonts/IBMPlexMono-SemiBoldItalic.woff +0 -0
  218. package/dist/ketchup/assets/fonts/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
  219. package/dist/ketchup/assets/fonts/IBMPlexMono-Thin.woff +0 -0
  220. package/dist/ketchup/assets/fonts/IBMPlexMono-Thin.woff2 +0 -0
  221. package/dist/ketchup/assets/fonts/IBMPlexMono-ThinItalic.woff +0 -0
  222. package/dist/ketchup/assets/fonts/IBMPlexMono-ThinItalic.woff2 +0 -0
  223. package/dist/ketchup/assets/fonts/IBMPlexSans-Bold.woff +0 -0
  224. package/dist/ketchup/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
  225. package/dist/ketchup/assets/fonts/IBMPlexSans-BoldItalic.woff +0 -0
  226. package/dist/ketchup/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
  227. package/dist/ketchup/assets/fonts/IBMPlexSans-ExtraLight.woff +0 -0
  228. package/dist/ketchup/assets/fonts/IBMPlexSans-ExtraLight.woff2 +0 -0
  229. package/dist/ketchup/assets/fonts/IBMPlexSans-ExtraLightItalic.woff +0 -0
  230. package/dist/ketchup/assets/fonts/IBMPlexSans-ExtraLightItalic.woff2 +0 -0
  231. package/dist/ketchup/assets/fonts/IBMPlexSans-Italic.woff +0 -0
  232. package/dist/ketchup/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
  233. package/dist/ketchup/assets/fonts/IBMPlexSans-Light.woff +0 -0
  234. package/dist/ketchup/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
  235. package/dist/ketchup/assets/fonts/IBMPlexSans-LightItalic.woff +0 -0
  236. package/dist/ketchup/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
  237. package/dist/ketchup/assets/fonts/IBMPlexSans-Medium.woff +0 -0
  238. package/dist/ketchup/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
  239. package/dist/ketchup/assets/fonts/IBMPlexSans-MediumItalic.woff +0 -0
  240. package/dist/ketchup/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
  241. package/dist/ketchup/assets/fonts/IBMPlexSans-SemiBold.woff +0 -0
  242. package/dist/ketchup/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
  243. package/dist/ketchup/assets/fonts/IBMPlexSans-SemiBoldItalic.woff +0 -0
  244. package/dist/ketchup/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
  245. package/dist/ketchup/assets/fonts/IBMPlexSans-Thin.woff +0 -0
  246. package/dist/ketchup/assets/fonts/IBMPlexSans-Thin.woff2 +0 -0
  247. package/dist/ketchup/assets/fonts/IBMPlexSans-ThinItalic.woff +0 -0
  248. package/dist/ketchup/assets/fonts/IBMPlexSans-ThinItalic.woff2 +0 -0
  249. package/dist/ketchup/index.esm.js +1 -1
  250. package/dist/ketchup/ketchup.esm.js +1 -1
  251. package/dist/ketchup/{p-510377af.entry.js → p-04395634.entry.js} +1 -1
  252. package/dist/ketchup/{p-1f624e82.entry.js → p-05ce44ec.entry.js} +1 -1
  253. package/dist/ketchup/{p-34418220.entry.js → p-0a7f93e7.entry.js} +1 -1
  254. package/dist/ketchup/{p-0f917d46.entry.js → p-0acfd2a2.entry.js} +1 -1
  255. package/dist/ketchup/{p-a054790e.entry.js → p-157ab7f2.entry.js} +1 -1
  256. package/dist/ketchup/{p-c88604cb.entry.js → p-2dfd11e1.entry.js} +1 -1
  257. package/dist/ketchup/{p-863af365.entry.js → p-33e9355c.entry.js} +1 -1
  258. package/dist/ketchup/{p-6fd95bbd.entry.js → p-3858c8a5.entry.js} +1 -1
  259. package/dist/ketchup/{p-483ca582.entry.js → p-42b19fec.entry.js} +1 -1
  260. package/dist/ketchup/{p-089d03b5.js → p-45ee27df.js} +1 -1
  261. package/dist/ketchup/{p-a017555c.js → p-52fd75dd.js} +1 -1
  262. package/dist/ketchup/{p-297abc1e.entry.js → p-54a58eb5.entry.js} +1 -1
  263. package/dist/ketchup/{p-76b87e8f.js → p-5e096ad2.js} +1 -1
  264. package/dist/ketchup/{p-5b985113.entry.js → p-5f737940.entry.js} +1 -1
  265. package/dist/ketchup/p-632ddb05.js +21 -0
  266. package/dist/ketchup/{p-80279aa2.entry.js → p-64a34515.entry.js} +1 -1
  267. package/dist/ketchup/{p-466d3af0.entry.js → p-64bc8f5d.entry.js} +1 -1
  268. package/dist/ketchup/{p-c0b6bda5.entry.js → p-6b9fe631.entry.js} +1 -1
  269. package/dist/ketchup/{p-303f2bc4.entry.js → p-6d976242.entry.js} +1 -1
  270. package/dist/ketchup/{p-c7289110.entry.js → p-9480c8a6.entry.js} +1 -1
  271. package/dist/ketchup/{p-227cb548.entry.js → p-97d8390b.entry.js} +1 -1
  272. package/dist/ketchup/{p-d3ebabfb.entry.js → p-97fd35e2.entry.js} +1 -1
  273. package/dist/ketchup/{p-0c09566f.entry.js → p-a42d6629.entry.js} +1 -1
  274. package/dist/ketchup/{p-50e43c40.js → p-a75a35b6.js} +1 -1
  275. package/dist/ketchup/{p-3b598289.entry.js → p-adbb7698.entry.js} +1 -1
  276. package/dist/ketchup/{p-234d3cc4.entry.js → p-b3e0588f.entry.js} +1 -1
  277. package/dist/ketchup/{p-70a01bab.entry.js → p-c386503b.entry.js} +1 -1
  278. package/dist/ketchup/{p-956ec269.entry.js → p-c9543f53.entry.js} +1 -1
  279. package/dist/ketchup/{p-df8e8179.entry.js → p-caa693d9.entry.js} +1 -1
  280. package/dist/ketchup/p-cb139d32.entry.js +1 -0
  281. package/dist/ketchup/p-cdfa3684.js +1 -0
  282. package/dist/ketchup/{p-6e2c2f6c.js → p-cf44b04a.js} +1 -1
  283. package/dist/ketchup/{p-5c299708.entry.js → p-dbad779b.entry.js} +1 -1
  284. package/dist/ketchup/{p-3781b5f7.entry.js → p-e678b909.entry.js} +1 -1
  285. package/dist/ketchup/{p-b653b1d8.entry.js → p-ea662d5c.entry.js} +1 -1
  286. package/dist/ketchup/{p-a5755794.entry.js → p-f0966502.entry.js} +1 -1
  287. package/dist/ketchup/{p-70355f5e.entry.js → p-f110c89c.entry.js} +1 -1
  288. package/dist/ketchup/{p-867f678c.entry.js → p-fc787ece.entry.js} +1 -1
  289. package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +24 -2
  290. package/package.json +1 -1
  291. package/dist/ketchup/p-bab51454.js +0 -21
  292. package/dist/ketchup/p-c54bcbfc.entry.js +0 -1
  293. package/dist/ketchup/p-d12066e3.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as e,f as i,h as a,H as l,d as r}from"./p-b0368f88.js";import{F as o}from"./p-504fe614.js";import{a as n}from"./p-e3062c19.js";import{F as s}from"./p-f2213e00.js";import{k as f,g as _,s as p,h as m,O as h}from"./p-bab51454.js";import{c}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var u;!function(t){t.autofitOnExpand="The component will autofit everytime a node is expanded.",t.autofitOnLoad="The component's initial render will fit the container by invoking the runAutofit method.",t.cardData="Used to render the family tree boxes as kup-cards (through kup-box).",t.collapsible="Nodes can be expanded/collapsed.",t.customStyle="Custom style of the component.",t.data="Actual data of the component",t.layout="Layout of the boxes.",t.stackedLeaves="Child nodes that have no children are arranged vertically."}(u||(u={}));var d,y,k,g,v,x,b,w,z,j,C,E,T,W,M,S,O,D,L,P,R,A,F,X,Y,H=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)},$=function(t,e,i,a,l){if("m"===a)throw new TypeError("Private method is not writable");if("a"===a&&!l)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!l:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?l.call(t,i):l?l.value=i:e.set(t,i),i};const B=class{constructor(i){t(this,i),this.kupClick=e(this,"kup-familytree-click",6),this.kupContextMenu=e(this,"kup-familytree-contextmenu",6),this.kupDblClick=e(this,"kup-familytree-dblclick",6),d.add(this),y.set(this,[]),k.set(this,!1),g.set(this,0),v.set(this,0),x.set(this,[]),b.set(this,f()),w.set(this,(t=>{const e=t.clientX-H(this,g,"f"),i=t.clientY-H(this,v,"f");this.rootElement.scrollTop-=i,this.rootElement.scrollLeft-=e,$(this,g,t.clientX,"f"),$(this,v,t.clientY,"f")})),z.set(this,!1),j.set(this,null),this.autofitOnExpand=!0,this.autofitOnLoad=!0,this.cardData=null,this.collapsible=!0,this.customStyle="",this.data=null,this.layout=null,this.stackedLeaves=!1}async collapseAll(t=this.data.rows){H(this,b,"f").data.node.setProperties(t,{isExpanded:!1},!0),this.refresh()}async expandAll(t=this.data.rows){H(this,b,"f").data.node.setProperties(t,{isExpanded:!0},!0),this.refresh()}async getProps(t){return _(this,u,t)}async refresh(){i(this)}async runAutofit(){const t=H(this,j,"f").clientWidth,e=H(this,j,"f").children[0].clientWidth,i=.01,a=.85*t,l=.95*t;let r=1,o=2e3,n=e;for(;(n<a||n>l)&&o>0&&r>i;)o--,n<a?r+=i:n>l?r-=i:o=0,n=e*r;H(this,j,"f").style.setProperty("--kup_familytree_scale",r<=1?r.toFixed(2):"1")}async setProps(t){p(this,u,t)}componentWillLoad(){H(this,b,"f").debug.logLoad(this,!1),H(this,b,"f").language.register(this),H(this,b,"f").theme.register(this)}componentDidLoad(){H(this,d,"m",X).call(this),this.autofitOnLoad&&this.runAutofit(),H(this,b,"f").debug.logLoad(this,!0)}componentWillRender(){H(this,b,"f").debug.logRender(this,!1)}componentDidRender(){H(this,z,"f")&&($(this,z,!1,"f"),this.runAutofit()),H(this,b,"f").debug.logRender(this,!0)}render(){return a(l,{key:"09a067148b3438469a9773c276c6aaddecda73fa",onDrag:t=>t.preventDefault(),onPointerDown:t=>{t.preventDefault(),H(this,d,"m",L).call(this,t)},onWheel:t=>{H(this,d,"m",Y).call(this,t)}},a("style",{key:"dbae8f187ff51f8168d4df72de2ba563ef7a9d7c"},H(this,b,"f").theme.setKupStyle(this.rootElement)),a("div",{key:"cf23802e9e58e68d0c89ee7fdd13fde331a04705",id:c},H(this,d,"m",O).call(this)))}disconnectedCallback(){H(this,b,"f").language.unregister(this),H(this,b,"f").theme.unregister(this)}get rootElement(){return r(this)}};y=new WeakMap,k=new WeakMap,g=new WeakMap,v=new WeakMap,x=new WeakMap,b=new WeakMap,w=new WeakMap,z=new WeakMap,j=new WeakMap,d=new WeakSet,C=function(t,e,i,l){const r=[];return r.push(a("td",{class:{"family-tree__line":!0,"family-tree__line--right":!t,"family-tree__line--top":!t}},a("div",{class:"family-tree__line--placeholder"}))),r.push(a("td",{class:{"family-tree__line":!0,"family-tree__line--left":t,"family-tree__line--top":t&&!i||l&&!e}},a("div",{class:"family-tree__line--placeholder"}))),r},E=function t(e){var i;let l=null,r=null;(!this.collapsible||this.collapsible&&e.isExpanded)&&(null===(i=e.children)||void 0===i||i.forEach((t=>{t.isStaff?(r||(r=[]),r.push(t)):(l||(l=[]),l.push(t))})));const s=this.stackedLeaves&&l&&l.every((t=>!t.children||0==t.children.length)),f=l?2*l.length:1,_={"family-tree__line":!0,"family-tree__line--placeholder":!(!l&&!r),"family-tree__line--vertical":!(!l&&!r)},p={columns:[{name:"*TREECOL",title:"Fake column",visible:!1},...this.data.columns],rows:[{cells:Object.assign({"*TREECOL":e},e.cells)}]},h=e.layout||this.layout||1,c={icon:e.isExpanded?"remove":"plus",shaped:!0,slim:!0,styling:n.OUTLINED,title:`${H(this,b,"f").language.translate(m.EXPAND)}/${H(this,b,"f").language.translate(m.COLLAPSE)} (CTRL + Click)`,onClick:t=>{t.ctrlKey&&e.children&&e.children.length>0&&(e.isExpanded?this.collapseAll(e.children):this.expandAll(e.children)),e.isExpanded=!e.isExpanded,this.autofitOnExpand&&$(this,z,!0,"f"),this.refresh()},wrapperClass:"family-tree__item__expand"};let u=null;H(this,d,"m",D).call(this,h)&&(u=a("kup-box",{class:"kup-borderless kup-paddingless",customStyle:"#kup-component { background: var(--kup_familytree_item_background_color); border: 2px solid var(--kup_familytree_lines_color); box-sizing: border-box; height: var(--kup_familytree_item_height); padding: 0 var(--kup_familytree_item_h_padding); } #kup-component .box-component { background: var(--kup_familytree_item_background_color); box-sizing: border-box; height: 100%;} #kup-component .f-cell__text { color: var(--kup_familytree_item_color); }",data:p,cardData:this.cardData,layout:this.cardData?null:h,showSelection:!1}));const y=a("div",{class:"family-tree__item"},a("div",{class:"family-tree__item__wrapper"},H(this,d,"m",D).call(this,h)?u:H(this,d,"m",T).call(this,e,h),this.collapsible&&e.children&&e.children.length>0?a(o,Object.assign({},c)):void 0)),k={"--kup_familytree_staffchildren":(null==r?void 0:r.length.toString())||"0"};return a("table",{class:{"family-tree__node":!0,"family-tree__node--stacked":this.stackedLeaves&&!e.isStaff&&(!e.children||0==e.children.length)}},a("tr",null,a("td",{"data-row":e,colSpan:f},y)),a("tr",null,a("td",{colSpan:f},a("div",{class:_}))),r?[a("tr",null,a("td",{colSpan:f},a("div",{class:Object.assign(Object.assign({},_),{"family-tree__line--staff":!0}),style:k}),a("div",{class:"family-tree__node__staff",style:k},r.map((e=>[a("div",{class:"family-tree__node__staff__item"},H(this,d,"m",t).call(this,e))])))))]:null,r&&l?[a("tr",null,a("td",{colSpan:f},a("div",{class:_})))]:null,l?[a("tr",null,s?a("td",{colSpan:f},a("div",{class:_})):l.map((t=>H(this,d,"m",C).call(this,0==l.indexOf(t),l.indexOf(t)==l.length-1,1==l.length,l.length>2)))),a("tr",null,s?a("td",{colSpan:f},l.map((e=>H(this,d,"m",t).call(this,e)))):l.map((e=>a("td",{colSpan:2},H(this,d,"m",t).call(this,e)))))]:void 0)},T=function(t,e){return 2===e?H(this,d,"m",M).call(this,t):H(this,d,"m",W).call(this,t)},W=function(t){return a("div",{class:"family-tree__item__layout family-tree__item__layout--1"},a("div",{class:"family-tree__item__layout__text__title"},t.value))},M=function(t){return a("div",{class:"family-tree__item__layout family-tree__item__layout--2"},a("div",{class:"family-tree__item__layout__color"}),a("div",{class:"family-tree__item__layout__image"},a(s,{resource:t.icon,placeholderResource:t.placeholderIcon,sizeX:"48px",sizeY:"48px"})),a("div",{class:"family-tree__item__layout__text"},a("div",{class:"family-tree__item__layout__text__title"},t.value),t.title?a("div",{class:"family-tree__item__layout__text__subtitle"},t.title):null))},S=function(t){return t.map((t=>H(this,d,"m",E).call(this,t)))},O=function(){return a("div",{class:"family-tree",onContextMenu:t=>{t.preventDefault()},ref:t=>$(this,j,t,"f")},this.data&&this.data.rows&&this.data.rows.length?H(this,d,"m",S).call(this,this.data.rows):a("div",null,H(this,b,"f").language.translate(m.EMPTY_DATA)))},D=function(t){return!!this.cardData||t&&t.sections&&t.sections.length>0},L=function(t){$(this,g,t.clientX,"f"),$(this,v,t.clientY,"f"),H(this,j,"f").classList.add("family-tree--dragging");const e=()=>{document.removeEventListener("pointermove",H(this,w,"f")),document.removeEventListener("pointerup",e),H(this,j,"f").classList.remove("family-tree--dragging")};document.addEventListener("pointermove",H(this,w,"f")),document.addEventListener("pointerup",e)},P=function(t,e){let i,a;if(t)for(let e=t.length-1;e>=0;e--){const l=t[e];l.tagName&&(l.classList.contains("family-tree__item__expand")&&(i=l),"TD"===l.tagName.toUpperCase())&&(a=l)}let l=null,r=null,o=null;return a&&(l=a["data-cell"],r=a["data-column"],o=a["data-row"]),{cell:l||null,column:r||null,expandButton:i||null,originalEvent:e,row:o||null,td:a||null}},R=function(t){return H(this,d,"m",P).call(this,H(this,b,"f").getEventPath(t.target,this.rootElement),t)},A=function(t){return H(this,d,"m",P).call(this,H(this,b,"f").getEventPath(t.target,this.rootElement),t)},F=function(t){return H(this,d,"m",P).call(this,H(this,b,"f").getEventPath(t.target,this.rootElement),t)},X=function(){H(this,x,"f").push(this.rootElement),H(this,b,"f").interact.on(this.rootElement,h.TAP,(t=>{if(H(this,k,"f"))$(this,k,!1,"f");else switch(t.button){case 0:const e={};for(const i in t)e[i]=t[i];H(this,y,"f").push(setTimeout((()=>{this.kupClick.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",R).call(this,e)})}),300));break;case 2:this.kupContextMenu.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",A).call(this,t)})}})),H(this,b,"f").interact.on(this.rootElement,h.DOUBLETAP,(t=>{if(0===t.button){for(let t=0;t<H(this,y,"f").length;t++)clearTimeout(H(this,y,"f")[t]),H(this,b,"f").debug.logMessage(this,"Cleared clickHandler timeout("+H(this,y,"f")[t]+").");$(this,y,[],"f"),this.kupDblClick.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",F).call(this,t)})}})),H(this,b,"f").interact.on(this.rootElement,h.HOLD,(t=>{"pen"!==t.pointerType&&"touch"!==t.pointerType||($(this,k,!0,"f"),this.kupContextMenu.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",A).call(this,t)}))}))},Y=function(t){if(t.ctrlKey){t.preventDefault();const e=parseFloat(H(this,j,"f").style.getPropertyValue("--kup_familytree_scale"))||1,i=.05;let a=t.deltaY>0?e-i:e+i;a<i&&(a=i),H(this,j,"f").style.setProperty("--kup_familytree_scale",a.toFixed(2))}},B.style='.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_familytree_item_background_color:var(\n --kup-layer-1,\n var(--kup-layer-1)\n );--kup_familytree_border_color:var(\n --kup-familytree-border-color,\n var(--kup-info-color-50)\n );--kup_familytree_item_color:var(\n --kup-familytree-item-color,\n var(--kup-text-color)\n );--kup_familytree_item_height:var(--kup-familytree-item-height, 80px);--kup_familytree_item_h_padding:var(\n --kup-familytree-item-h-padding,\n var(--kup-space-03)\n );--kup_familytree_item_v_padding:var(\n --kup-familytree-item-v-padding,\n var(--kup-space-03)\n );--kup_familytree_item_width:var(--kup-familytree-item-width, 280px);--kup_familytree_lines_color:var(\n --kup-familytree-lines-color,\n var(--kup-border-subtle)\n );display:block;overflow:hidden}.family-tree{cursor:grab;display:flex;transform:scale(var(--kup_familytree_scale, 1));transform-origin:0px 0px}.family-tree--dragging{cursor:grabbing}.family-tree__node{border-collapse:collapse;margin:auto}.family-tree__node--stacked{margin-bottom:4px}.family-tree__node__staff{align-items:center;display:flex;flex-direction:column;height:0;transform:translateX(calc((var(--kup_familytree_item_width) + var(--kup_familytree_item_h_padding) * 2) / 2)) translateY(calc(0px - (var(--kup_familytree_staffchildren) * var(--kup_familytree_item_height) + var(--kup_familytree_staffchildren) * var(--kup_familytree_item_v_padding) * 2)))}.family-tree__node__staff__item{padding:var(--kup_familytree_item_v_padding);text-align:left}.family-tree__node__staff__item:before{border-top:2px solid var(--kup_familytree_lines_color);content:"";position:absolute;transform:translateX(calc(100% + 2px)) translateY(calc(var(--kup_familytree_item_height) / 2));width:var(--kup_familytree_item_h_padding)}.family-tree__node td{vertical-align:top;padding:0}.family-tree__line--left{border-left:2px solid var(--kup_familytree_lines_color)}.family-tree__line--placeholder{height:calc(var(--kup_familytree_item_height) / 2)}.family-tree__line--staff{height:calc(var(--kup_familytree_staffchildren) * var(--kup_familytree_item_height) + var(--kup_familytree_staffchildren) * var(--kup_familytree_item_v_padding) * 2)}.family-tree__line--right{border-right:2px solid var(--kup_familytree_lines_color)}.family-tree__line--top{border-top:2px solid var(--kup_familytree_lines_color)}.family-tree__line--vertical{background-color:var(--kup_familytree_lines_color);margin-left:auto;margin-right:auto;width:2px}.family-tree__item{display:flex}.family-tree__item__wrapper{margin:auto}.family-tree__item__wrapper kup-box{margin:0 auto;overflow:hidden;padding:0 18px;width:var(--kup_familytree_item_width);z-index:1}.family-tree__item__wrapper .f-button{--kup-button-primary-color:var(--kup-text-color);--kup-button-primary-color-rgb:var(--kup-text-color-rgb);--kup-button-primary-color-h:var(--kup-text-color-h);--kup-button-primary-color-s:var(--kup-text-color-s);--kup-button-primary-color-l:var(--kup-text-color-l);margin:0 auto;width:max-content}.family-tree__item__wrapper .f-button button{height:32px;width:32px}.family-tree__item__layout{background-color:var(--kup_familytree_item_background_color);box-sizing:border-box;display:flex;height:var(--kup_familytree_item_height);margin:0 18px;width:var(--kup_familytree_item_width)}.family-tree__item__layout--1{justify-content:center;color:var(--kup_familytree_item_color)}.family-tree__item__layout--1>.family-tree__item__layout__text__title{margin-top:auto;margin-bottom:auto}.family-tree__item__layout--2{background-color:var(--kup_familytree_item_background_color);justify-content:flex-start}.family-tree__item__layout__color{background-color:var(--kup_familytree_border_color);height:100%;width:10px}.family-tree__item__layout__image{display:flex;margin:auto var(--kup-space-03)}.family-tree__item__layout__image img{border-radius:50px;object-fit:cover}.family-tree__item__layout__text{display:flex;flex-direction:column;justify-content:center}.family-tree__item__layout__text__title{font-size:18px;margin-bottom:5px}.family-tree__item__layout__text__subtitle{font-size:14px}.family-tree__item__layout__text__title,.family-tree__item__layout__text__subtitle{max-width:calc(var(--kup_familytree_item_width) - 30%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}';export{B as kup_family_tree}
1
+ import{r as t,c as e,f as i,h as a,H as l,d as r}from"./p-b0368f88.js";import{F as o}from"./p-504fe614.js";import{a as n}from"./p-e3062c19.js";import{F as s}from"./p-f2213e00.js";import{k as f,g as _,s as p,h as m,O as h}from"./p-632ddb05.js";import{c}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var u;!function(t){t.autofitOnExpand="The component will autofit everytime a node is expanded.",t.autofitOnLoad="The component's initial render will fit the container by invoking the runAutofit method.",t.cardData="Used to render the family tree boxes as kup-cards (through kup-box).",t.collapsible="Nodes can be expanded/collapsed.",t.customStyle="Custom style of the component.",t.data="Actual data of the component",t.layout="Layout of the boxes.",t.stackedLeaves="Child nodes that have no children are arranged vertically."}(u||(u={}));var d,y,k,g,v,x,b,w,z,j,C,E,T,W,M,S,O,D,L,P,R,A,F,X,Y,H=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)},$=function(t,e,i,a,l){if("m"===a)throw new TypeError("Private method is not writable");if("a"===a&&!l)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!l:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?l.call(t,i):l?l.value=i:e.set(t,i),i};const B=class{constructor(i){t(this,i),this.kupClick=e(this,"kup-familytree-click",6),this.kupContextMenu=e(this,"kup-familytree-contextmenu",6),this.kupDblClick=e(this,"kup-familytree-dblclick",6),d.add(this),y.set(this,[]),k.set(this,!1),g.set(this,0),v.set(this,0),x.set(this,[]),b.set(this,f()),w.set(this,(t=>{const e=t.clientX-H(this,g,"f"),i=t.clientY-H(this,v,"f");this.rootElement.scrollTop-=i,this.rootElement.scrollLeft-=e,$(this,g,t.clientX,"f"),$(this,v,t.clientY,"f")})),z.set(this,!1),j.set(this,null),this.autofitOnExpand=!0,this.autofitOnLoad=!0,this.cardData=null,this.collapsible=!0,this.customStyle="",this.data=null,this.layout=null,this.stackedLeaves=!1}async collapseAll(t=this.data.rows){H(this,b,"f").data.node.setProperties(t,{isExpanded:!1},!0),this.refresh()}async expandAll(t=this.data.rows){H(this,b,"f").data.node.setProperties(t,{isExpanded:!0},!0),this.refresh()}async getProps(t){return _(this,u,t)}async refresh(){i(this)}async runAutofit(){const t=H(this,j,"f").clientWidth,e=H(this,j,"f").children[0].clientWidth,i=.01,a=.85*t,l=.95*t;let r=1,o=2e3,n=e;for(;(n<a||n>l)&&o>0&&r>i;)o--,n<a?r+=i:n>l?r-=i:o=0,n=e*r;H(this,j,"f").style.setProperty("--kup_familytree_scale",r<=1?r.toFixed(2):"1")}async setProps(t){p(this,u,t)}componentWillLoad(){H(this,b,"f").debug.logLoad(this,!1),H(this,b,"f").language.register(this),H(this,b,"f").theme.register(this)}componentDidLoad(){H(this,d,"m",X).call(this),this.autofitOnLoad&&this.runAutofit(),H(this,b,"f").debug.logLoad(this,!0)}componentWillRender(){H(this,b,"f").debug.logRender(this,!1)}componentDidRender(){H(this,z,"f")&&($(this,z,!1,"f"),this.runAutofit()),H(this,b,"f").debug.logRender(this,!0)}render(){return a(l,{key:"09a067148b3438469a9773c276c6aaddecda73fa",onDrag:t=>t.preventDefault(),onPointerDown:t=>{t.preventDefault(),H(this,d,"m",L).call(this,t)},onWheel:t=>{H(this,d,"m",Y).call(this,t)}},a("style",{key:"dbae8f187ff51f8168d4df72de2ba563ef7a9d7c"},H(this,b,"f").theme.setKupStyle(this.rootElement)),a("div",{key:"cf23802e9e58e68d0c89ee7fdd13fde331a04705",id:c},H(this,d,"m",O).call(this)))}disconnectedCallback(){H(this,b,"f").language.unregister(this),H(this,b,"f").theme.unregister(this)}get rootElement(){return r(this)}};y=new WeakMap,k=new WeakMap,g=new WeakMap,v=new WeakMap,x=new WeakMap,b=new WeakMap,w=new WeakMap,z=new WeakMap,j=new WeakMap,d=new WeakSet,C=function(t,e,i,l){const r=[];return r.push(a("td",{class:{"family-tree__line":!0,"family-tree__line--right":!t,"family-tree__line--top":!t}},a("div",{class:"family-tree__line--placeholder"}))),r.push(a("td",{class:{"family-tree__line":!0,"family-tree__line--left":t,"family-tree__line--top":t&&!i||l&&!e}},a("div",{class:"family-tree__line--placeholder"}))),r},E=function t(e){var i;let l=null,r=null;(!this.collapsible||this.collapsible&&e.isExpanded)&&(null===(i=e.children)||void 0===i||i.forEach((t=>{t.isStaff?(r||(r=[]),r.push(t)):(l||(l=[]),l.push(t))})));const s=this.stackedLeaves&&l&&l.every((t=>!t.children||0==t.children.length)),f=l?2*l.length:1,_={"family-tree__line":!0,"family-tree__line--placeholder":!(!l&&!r),"family-tree__line--vertical":!(!l&&!r)},p={columns:[{name:"*TREECOL",title:"Fake column",visible:!1},...this.data.columns],rows:[{cells:Object.assign({"*TREECOL":e},e.cells)}]},h=e.layout||this.layout||1,c={icon:e.isExpanded?"remove":"plus",shaped:!0,slim:!0,styling:n.OUTLINED,title:`${H(this,b,"f").language.translate(m.EXPAND)}/${H(this,b,"f").language.translate(m.COLLAPSE)} (CTRL + Click)`,onClick:t=>{t.ctrlKey&&e.children&&e.children.length>0&&(e.isExpanded?this.collapseAll(e.children):this.expandAll(e.children)),e.isExpanded=!e.isExpanded,this.autofitOnExpand&&$(this,z,!0,"f"),this.refresh()},wrapperClass:"family-tree__item__expand"};let u=null;H(this,d,"m",D).call(this,h)&&(u=a("kup-box",{class:"kup-borderless kup-paddingless",customStyle:"#kup-component { background: var(--kup_familytree_item_background_color); border: 2px solid var(--kup_familytree_lines_color); box-sizing: border-box; height: var(--kup_familytree_item_height); padding: 0 var(--kup_familytree_item_h_padding); } #kup-component .box-component { background: var(--kup_familytree_item_background_color); box-sizing: border-box; height: 100%;} #kup-component .f-cell__text { color: var(--kup_familytree_item_color); }",data:p,cardData:this.cardData,layout:this.cardData?null:h,showSelection:!1}));const y=a("div",{class:"family-tree__item"},a("div",{class:"family-tree__item__wrapper"},H(this,d,"m",D).call(this,h)?u:H(this,d,"m",T).call(this,e,h),this.collapsible&&e.children&&e.children.length>0?a(o,Object.assign({},c)):void 0)),k={"--kup_familytree_staffchildren":(null==r?void 0:r.length.toString())||"0"};return a("table",{class:{"family-tree__node":!0,"family-tree__node--stacked":this.stackedLeaves&&!e.isStaff&&(!e.children||0==e.children.length)}},a("tr",null,a("td",{"data-row":e,colSpan:f},y)),a("tr",null,a("td",{colSpan:f},a("div",{class:_}))),r?[a("tr",null,a("td",{colSpan:f},a("div",{class:Object.assign(Object.assign({},_),{"family-tree__line--staff":!0}),style:k}),a("div",{class:"family-tree__node__staff",style:k},r.map((e=>[a("div",{class:"family-tree__node__staff__item"},H(this,d,"m",t).call(this,e))])))))]:null,r&&l?[a("tr",null,a("td",{colSpan:f},a("div",{class:_})))]:null,l?[a("tr",null,s?a("td",{colSpan:f},a("div",{class:_})):l.map((t=>H(this,d,"m",C).call(this,0==l.indexOf(t),l.indexOf(t)==l.length-1,1==l.length,l.length>2)))),a("tr",null,s?a("td",{colSpan:f},l.map((e=>H(this,d,"m",t).call(this,e)))):l.map((e=>a("td",{colSpan:2},H(this,d,"m",t).call(this,e)))))]:void 0)},T=function(t,e){return 2===e?H(this,d,"m",M).call(this,t):H(this,d,"m",W).call(this,t)},W=function(t){return a("div",{class:"family-tree__item__layout family-tree__item__layout--1"},a("div",{class:"family-tree__item__layout__text__title"},t.value))},M=function(t){return a("div",{class:"family-tree__item__layout family-tree__item__layout--2"},a("div",{class:"family-tree__item__layout__color"}),a("div",{class:"family-tree__item__layout__image"},a(s,{resource:t.icon,placeholderResource:t.placeholderIcon,sizeX:"48px",sizeY:"48px"})),a("div",{class:"family-tree__item__layout__text"},a("div",{class:"family-tree__item__layout__text__title"},t.value),t.title?a("div",{class:"family-tree__item__layout__text__subtitle"},t.title):null))},S=function(t){return t.map((t=>H(this,d,"m",E).call(this,t)))},O=function(){return a("div",{class:"family-tree",onContextMenu:t=>{t.preventDefault()},ref:t=>$(this,j,t,"f")},this.data&&this.data.rows&&this.data.rows.length?H(this,d,"m",S).call(this,this.data.rows):a("div",null,H(this,b,"f").language.translate(m.EMPTY_DATA)))},D=function(t){return!!this.cardData||t&&t.sections&&t.sections.length>0},L=function(t){$(this,g,t.clientX,"f"),$(this,v,t.clientY,"f"),H(this,j,"f").classList.add("family-tree--dragging");const e=()=>{document.removeEventListener("pointermove",H(this,w,"f")),document.removeEventListener("pointerup",e),H(this,j,"f").classList.remove("family-tree--dragging")};document.addEventListener("pointermove",H(this,w,"f")),document.addEventListener("pointerup",e)},P=function(t,e){let i,a;if(t)for(let e=t.length-1;e>=0;e--){const l=t[e];l.tagName&&(l.classList.contains("family-tree__item__expand")&&(i=l),"TD"===l.tagName.toUpperCase())&&(a=l)}let l=null,r=null,o=null;return a&&(l=a["data-cell"],r=a["data-column"],o=a["data-row"]),{cell:l||null,column:r||null,expandButton:i||null,originalEvent:e,row:o||null,td:a||null}},R=function(t){return H(this,d,"m",P).call(this,H(this,b,"f").getEventPath(t.target,this.rootElement),t)},A=function(t){return H(this,d,"m",P).call(this,H(this,b,"f").getEventPath(t.target,this.rootElement),t)},F=function(t){return H(this,d,"m",P).call(this,H(this,b,"f").getEventPath(t.target,this.rootElement),t)},X=function(){H(this,x,"f").push(this.rootElement),H(this,b,"f").interact.on(this.rootElement,h.TAP,(t=>{if(H(this,k,"f"))$(this,k,!1,"f");else switch(t.button){case 0:const e={};for(const i in t)e[i]=t[i];H(this,y,"f").push(setTimeout((()=>{this.kupClick.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",R).call(this,e)})}),300));break;case 2:this.kupContextMenu.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",A).call(this,t)})}})),H(this,b,"f").interact.on(this.rootElement,h.DOUBLETAP,(t=>{if(0===t.button){for(let t=0;t<H(this,y,"f").length;t++)clearTimeout(H(this,y,"f")[t]),H(this,b,"f").debug.logMessage(this,"Cleared clickHandler timeout("+H(this,y,"f")[t]+").");$(this,y,[],"f"),this.kupDblClick.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",F).call(this,t)})}})),H(this,b,"f").interact.on(this.rootElement,h.HOLD,(t=>{"pen"!==t.pointerType&&"touch"!==t.pointerType||($(this,k,!0,"f"),this.kupContextMenu.emit({comp:this,id:this.rootElement.id,details:H(this,d,"m",A).call(this,t)}))}))},Y=function(t){if(t.ctrlKey){t.preventDefault();const e=parseFloat(H(this,j,"f").style.getPropertyValue("--kup_familytree_scale"))||1,i=.05;let a=t.deltaY>0?e-i:e+i;a<i&&(a=i),H(this,j,"f").style.setProperty("--kup_familytree_scale",a.toFixed(2))}},B.style='.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_familytree_item_background_color:var(\n --kup-layer-1,\n var(--kup-layer-1)\n );--kup_familytree_border_color:var(\n --kup-familytree-border-color,\n var(--kup-info-color-50)\n );--kup_familytree_item_color:var(\n --kup-familytree-item-color,\n var(--kup-text-color)\n );--kup_familytree_item_height:var(--kup-familytree-item-height, 80px);--kup_familytree_item_h_padding:var(\n --kup-familytree-item-h-padding,\n var(--kup-space-03)\n );--kup_familytree_item_v_padding:var(\n --kup-familytree-item-v-padding,\n var(--kup-space-03)\n );--kup_familytree_item_width:var(--kup-familytree-item-width, 280px);--kup_familytree_lines_color:var(\n --kup-familytree-lines-color,\n var(--kup-border-subtle)\n );display:block;overflow:hidden}.family-tree{cursor:grab;display:flex;transform:scale(var(--kup_familytree_scale, 1));transform-origin:0px 0px}.family-tree--dragging{cursor:grabbing}.family-tree__node{border-collapse:collapse;margin:auto}.family-tree__node--stacked{margin-bottom:4px}.family-tree__node__staff{align-items:center;display:flex;flex-direction:column;height:0;transform:translateX(calc((var(--kup_familytree_item_width) + var(--kup_familytree_item_h_padding) * 2) / 2)) translateY(calc(0px - (var(--kup_familytree_staffchildren) * var(--kup_familytree_item_height) + var(--kup_familytree_staffchildren) * var(--kup_familytree_item_v_padding) * 2)))}.family-tree__node__staff__item{padding:var(--kup_familytree_item_v_padding);text-align:left}.family-tree__node__staff__item:before{border-top:2px solid var(--kup_familytree_lines_color);content:"";position:absolute;transform:translateX(calc(100% + 2px)) translateY(calc(var(--kup_familytree_item_height) / 2));width:var(--kup_familytree_item_h_padding)}.family-tree__node td{vertical-align:top;padding:0}.family-tree__line--left{border-left:2px solid var(--kup_familytree_lines_color)}.family-tree__line--placeholder{height:calc(var(--kup_familytree_item_height) / 2)}.family-tree__line--staff{height:calc(var(--kup_familytree_staffchildren) * var(--kup_familytree_item_height) + var(--kup_familytree_staffchildren) * var(--kup_familytree_item_v_padding) * 2)}.family-tree__line--right{border-right:2px solid var(--kup_familytree_lines_color)}.family-tree__line--top{border-top:2px solid var(--kup_familytree_lines_color)}.family-tree__line--vertical{background-color:var(--kup_familytree_lines_color);margin-left:auto;margin-right:auto;width:2px}.family-tree__item{display:flex}.family-tree__item__wrapper{margin:auto}.family-tree__item__wrapper kup-box{margin:0 auto;overflow:hidden;padding:0 18px;width:var(--kup_familytree_item_width);z-index:1}.family-tree__item__wrapper .f-button{--kup-button-primary-color:var(--kup-text-color);--kup-button-primary-color-rgb:var(--kup-text-color-rgb);--kup-button-primary-color-h:var(--kup-text-color-h);--kup-button-primary-color-s:var(--kup-text-color-s);--kup-button-primary-color-l:var(--kup-text-color-l);margin:0 auto;width:max-content}.family-tree__item__wrapper .f-button button{height:32px;width:32px}.family-tree__item__layout{background-color:var(--kup_familytree_item_background_color);box-sizing:border-box;display:flex;height:var(--kup_familytree_item_height);margin:0 18px;width:var(--kup_familytree_item_width)}.family-tree__item__layout--1{justify-content:center;color:var(--kup_familytree_item_color)}.family-tree__item__layout--1>.family-tree__item__layout__text__title{margin-top:auto;margin-bottom:auto}.family-tree__item__layout--2{background-color:var(--kup_familytree_item_background_color);justify-content:flex-start}.family-tree__item__layout__color{background-color:var(--kup_familytree_border_color);height:100%;width:10px}.family-tree__item__layout__image{display:flex;margin:auto var(--kup-space-03)}.family-tree__item__layout__image img{border-radius:50px;object-fit:cover}.family-tree__item__layout__text{display:flex;flex-direction:column;justify-content:center}.family-tree__item__layout__text__title{font-size:18px;margin-bottom:5px}.family-tree__item__layout__text__subtitle{font-size:14px}.family-tree__item__layout__text__title,.family-tree__item__layout__text__subtitle{max-width:calc(var(--kup_familytree_item_width) - 30%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}';export{B as kup_family_tree}
@@ -1 +1 @@
1
- import{r as t,c as e,f as a,h as i,H as h,d as n}from"./p-b0368f88.js";import{k as o,g as p,s}from"./p-bab51454.js";import{c as l}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var f,c;!function(t){t.componentName="Sets the tag name of the component to be lazy loaded.",t.customStyle="Custom style of the component.",t.data="Sets the data of the component to be lazy loaded.",t.showPlaceholder="Displays an animated SVG placeholder until the component is loaded."}(f||(f={})),function(t){t.VIEWPORT="viewport",t.PROPS="props",t.BOTH="both"}(c||(c={}));const d=class{constructor(a){t(this,a),this.kupLazyLoaded=e(this,"kup-lazy-loaded",6),this.intObserver=null,this.kupManager=o(),this.lazyComponent=null,this.lazyComponentLoaded=!1,this.isInViewport=!1,this.componentName=null,this.customStyle="",this.data=null,this.renderMode=c.BOTH,this.showPlaceholder=!0}async getProps(t){return p(this,f,t)}async getComponent(){return this.lazyComponent}async refresh(){a(this)}async setProps(t){s(this,f,t)}setObserver(){this.intObserver=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.kupManager.debug.logMessage(this,"kup-lazy entering the viewport, rendering "+this.componentName+"."),this.isInViewport=!0,this.intObserver.unobserve(this.rootElement))}))}),{threshold:.25})}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this),this.setObserver()}componentDidLoad(){this.intObserver.observe(this.rootElement),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.lazyComponent&&!this.lazyComponentLoaded&&(this.lazyComponentLoaded=!0,this.kupLazyLoaded.emit({comp:this,id:this.rootElement.id})),this.kupManager.debug.logRender(this,!0)}render(){let t,e,a=this.componentName;switch(this.componentName){case"kup-button":e=i("svg",{key:"fb2b8362e3dc1b12b70f15e99928a57d7b12fedf",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"436f390f7b97422e6748b2a7759d592f44c506dc",d:"M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z"}));break;case"kup-card":e=i("svg",{key:"f3c05242075e730bc7105c53bd62b18aecf5ec3d",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"a2eee16a6ace543cac444d960a62b59a086eb744",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}));break;case"kup-checkbox":e=i("svg",{key:"f6716e9ce1594db32cc40769a2670f5eaab944ec",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"7a5d24b382c912f86930086ea47d5352f7d268c0",d:"M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z"}));break;case"kup-chart":e=i("svg",{key:"282e8485c65d6c90cc6742fab3ea8826eeb3579a",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},i("path",{key:"ff9a9420e091b9f5ccf64c2a248715445a3ea89b",d:"M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z"}));break;case"kup-data-table":e=i("svg",{key:"eaffa11808d13d6a30fff31bea6530830f69d88f",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},i("path",{key:"c0eac37b259ccaa3176fb122208202dc8885de85",d:"M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z"}));break;case"kup-image":e=i("svg",{key:"0fc683ca7735ac9d5f48d9c1350d67549444a37e",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"dc800aa000585a00f390e3e92f9456af2c83b121",d:"M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z"}));break;case"kup-progress-bar":e=i("svg",{key:"6703f804c86f98915b6fca8d561b79e818480ee0",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"5b473c7582738c69b3e693b653eb8e83f0a5bd7d",d:"M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z"}));break;case"kup-radio":e=i("svg",{key:"b5020673fe0d60ddcb887878d027f9be1a04f611",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"ca7c15a6029ffb8468db47603eae20f8db8eaa54",d:"M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}));break;default:e=i("svg",{key:"6e916204ad921b9387a2da59225277a12bdfee97",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},i("path",{key:"2397c3c58a7ac2ddfe1c4d95680c805b410a1cda",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}))}return this.renderMode===c.VIEWPORT&&this.isInViewport||this.renderMode===c.PROPS&&this.data||this.renderMode===c.BOTH&&this.data&&this.isInViewport?(t=i(this.componentName,Object.assign({key:"55d8ffa08667bdf2f90e278bd6d28e94d5a5fd90"},this.data,{ref:t=>this.lazyComponent=t})),a+=" kup-loaded"):this.showPlaceholder&&(t=e,a+=" kup-to-be-loaded"),i(h,{key:"b51dd829f66bf9958780ca2a106bd265097e0212",class:a},i("style",{key:"5f16dbbf7222c11e5e3daf2d914b0cbb4f7d757a"},this.kupManager.theme.setKupStyle(this.rootElement)),i("div",{key:"c0c9f7471b8e6529fa510db940edbbd2505deb86",id:l},t))}disconnectedCallback(){var t;this.kupManager.theme.unregister(this),null===(t=this.intObserver)||void 0===t||t.unobserve(this.rootElement)}get rootElement(){return n(this)}};d.style=".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_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";export{d as kup_lazy}
1
+ import{r as t,c as e,f as i,h as a,H as h,d as n}from"./p-b0368f88.js";import{k as o,g as p,s}from"./p-632ddb05.js";import{c as l}from"./p-635bb4b3.js";import"./p-1ee561ba.js";var f,c;!function(t){t.componentName="Sets the tag name of the component to be lazy loaded.",t.customStyle="Custom style of the component.",t.data="Sets the data of the component to be lazy loaded.",t.showPlaceholder="Displays an animated SVG placeholder until the component is loaded."}(f||(f={})),function(t){t.VIEWPORT="viewport",t.PROPS="props",t.BOTH="both"}(c||(c={}));const d=class{constructor(i){t(this,i),this.kupLazyLoaded=e(this,"kup-lazy-loaded",6),this.intObserver=null,this.kupManager=o(),this.lazyComponent=null,this.lazyComponentLoaded=!1,this.isInViewport=!1,this.componentName=null,this.customStyle="",this.data=null,this.renderMode=c.BOTH,this.showPlaceholder=!0}async getProps(t){return p(this,f,t)}async getComponent(){return this.lazyComponent}async refresh(){i(this)}async setProps(t){s(this,f,t)}setObserver(){this.intObserver=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.kupManager.debug.logMessage(this,"kup-lazy entering the viewport, rendering "+this.componentName+"."),this.isInViewport=!0,this.intObserver.unobserve(this.rootElement))}))}),{threshold:.25})}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this),this.setObserver()}componentDidLoad(){this.intObserver.observe(this.rootElement),this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.lazyComponent&&!this.lazyComponentLoaded&&(this.lazyComponentLoaded=!0,this.kupLazyLoaded.emit({comp:this,id:this.rootElement.id})),this.kupManager.debug.logRender(this,!0)}render(){let t,e,i=this.componentName;switch(this.componentName){case"kup-button":e=a("svg",{key:"fb2b8362e3dc1b12b70f15e99928a57d7b12fedf",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"436f390f7b97422e6748b2a7759d592f44c506dc",d:"M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z"}));break;case"kup-card":e=a("svg",{key:"f3c05242075e730bc7105c53bd62b18aecf5ec3d",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"a2eee16a6ace543cac444d960a62b59a086eb744",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}));break;case"kup-checkbox":e=a("svg",{key:"f6716e9ce1594db32cc40769a2670f5eaab944ec",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"7a5d24b382c912f86930086ea47d5352f7d268c0",d:"M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z"}));break;case"kup-chart":e=a("svg",{key:"282e8485c65d6c90cc6742fab3ea8826eeb3579a",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},a("path",{key:"ff9a9420e091b9f5ccf64c2a248715445a3ea89b",d:"M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z"}));break;case"kup-data-table":e=a("svg",{key:"eaffa11808d13d6a30fff31bea6530830f69d88f",xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"100%",height:"100%",viewBox:"0 0 24 24"},a("path",{key:"c0eac37b259ccaa3176fb122208202dc8885de85",d:"M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z"}));break;case"kup-image":e=a("svg",{key:"0fc683ca7735ac9d5f48d9c1350d67549444a37e",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"dc800aa000585a00f390e3e92f9456af2c83b121",d:"M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z"}));break;case"kup-progress-bar":e=a("svg",{key:"6703f804c86f98915b6fca8d561b79e818480ee0",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"5b473c7582738c69b3e693b653eb8e83f0a5bd7d",d:"M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z"}));break;case"kup-radio":e=a("svg",{key:"b5020673fe0d60ddcb887878d027f9be1a04f611",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"ca7c15a6029ffb8468db47603eae20f8db8eaa54",d:"M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}));break;default:e=a("svg",{key:"6e916204ad921b9387a2da59225277a12bdfee97",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 48 48"},a("path",{key:"2397c3c58a7ac2ddfe1c4d95680c805b410a1cda",d:"M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z"}))}return this.renderMode===c.VIEWPORT&&this.isInViewport||this.renderMode===c.PROPS&&this.data||this.renderMode===c.BOTH&&this.data&&this.isInViewport?(t=a(this.componentName,Object.assign({key:"55d8ffa08667bdf2f90e278bd6d28e94d5a5fd90"},this.data,{ref:t=>this.lazyComponent=t})),i+=" kup-loaded"):this.showPlaceholder&&(t=e,i+=" kup-to-be-loaded"),a(h,{key:"b51dd829f66bf9958780ca2a106bd265097e0212",class:i},a("style",{key:"5f16dbbf7222c11e5e3daf2d914b0cbb4f7d757a"},this.kupManager.theme.setKupStyle(this.rootElement)),a("div",{key:"c0c9f7471b8e6529fa510db940edbbd2505deb86",id:l},t))}disconnectedCallback(){var t;this.kupManager.theme.unregister(this),null===(t=this.intObserver)||void 0===t||t.unobserve(this.rootElement)}get rootElement(){return n(this)}};d.style=".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_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";export{d as kup_lazy}
@@ -1,4 +1,4 @@
1
- import{r as t,c as n,f as i,h as r,H as e,d as o,g as a}from"./p-b0368f88.js";import{k as s,g as u,s as l,d as f,e as h,v as c,o as v}from"./p-bab51454.js";import{c as d}from"./p-635bb4b3.js";import"./p-1ee561ba.js";
1
+ import{r as t,c as n,f as i,h as r,H as e,d as o,g as a}from"./p-b0368f88.js";import{k as s,g as u,s as l,d as f,e as h,v as c,o as v}from"./p-632ddb05.js";import{c as d}from"./p-635bb4b3.js";import"./p-1ee561ba.js";
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -208,7 +208,29 @@ export declare enum KupThemeIconValues {
208
208
  SEARCH = "--kup-search-icon"
209
209
  }
210
210
  export declare enum KupThemeFonts {
211
- IBM_PLEX_MONO = "IBMPlexMono-Regular",
212
- IBM_PLEX_SANS = "IBMPlexSans-Regular"
211
+ IBM_PLEX_SANS = "IbmPlexSans-Regular",
212
+ IBM_PLEX_SANS_LIGHT = "IbmPlexSans-Light",
213
+ IBM_PLEX_SANS_LIGHT_ITALIC = "IbmPlexSans-LightItalic",
214
+ IBM_PLEX_SANS_ITALIC = "IbmPlexSans-Italic",
215
+ IBM_PLEX_SANS_MEDIUM = "IbmPlexSans-Medium",
216
+ IBM_PLEX_SANS_MEDIUM_ITALIC = "IbmPlexSans-MediumItalic",
217
+ IBM_PLEX_SANS_SEMI_BOLD = "IbmPlexSans-SemiBold",
218
+ IBM_PLEX_SANS_SEMI_BOLD_ITALIC = "IbmPlexSans-SemiBoldItalic",
219
+ IBM_PLEX_SANS_BOLD = "IbmPlexSans-Bold",
220
+ IBM_PLEX_SANS_BOLD_ITALIC = "IbmPlexSans-BoldItalic",
221
+ IBM_PLEX_SANS_EXTRA_BOLD = "IbmPlexSans-ExtraBold",
222
+ IBM_PLEX_SANS_EXTRA_BOLD_ITALIC = "IbmPlexSans-ExtraBoldItalic",
223
+ IBM_PLEX_MONO = "IbmPlexMono-Regular",
224
+ IBM_PLEX_MONO_LIGHT = "IbmPlexMono-Light",
225
+ IBM_PLEX_MONO_LIGHT_ITALIC = "IbmPlexMono-LightItalic",
226
+ IBM_PLEX_MONO_ITALIC = "IbmPlexMono-Italic",
227
+ IBM_PLEX_MONO_MEDIUM = "IbmPlexMono-Medium",
228
+ IBM_PLEX_MONO_MEDIUM_ITALIC = "IbmPlexMono-MediumItalic",
229
+ IBM_PLEX_MONO_SEMI_BOLD = "IbmPlexMono-SemiBold",
230
+ IBM_PLEX_MONO_SEMI_BOLD_ITALIC = "IbmPlexMono-SemiBoldItalic",
231
+ IBM_PLEX_MONO_BOLD = "IbmPlexMono-Bold",
232
+ IBM_PLEX_MONO_BOLD_ITALIC = "IbmPlexMono-BoldItalic",
233
+ IBM_PLEX_MONO_EXTRA_BOLD = "IbmPlexMono-ExtraBold",
234
+ IBM_PLEX_MONO_EXTRA_BOLD_ITALIC = "IbmPlexMono-ExtraBoldItalic"
213
235
  }
214
236
  export declare const KupThemeFontFamilyMap: Record<KupThemeFonts, string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup",
3
- "version": "11.0.0-SNAPSHOT-20250120160420",
3
+ "version": "11.0.0-SNAPSHOT-20250121113653",
4
4
  "keywords": [
5
5
  "smeup",
6
6
  "KetchUP",