@sme.up/ketchup 9.6.3 → 9.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/cjs/{f-button-9a0eba42.js → f-button-89de2403.js} +1 -1
  2. package/dist/cjs/{f-cell-1ad41071.js → f-cell-75dbd6eb.js} +9 -29
  3. package/dist/cjs/{f-chip-48851b4f.js → f-chip-08857345.js} +2 -2
  4. package/dist/cjs/{f-image-541e5f4d.js → f-image-a41d7f1e.js} +1 -1
  5. package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-ff07301e.js} +3 -3
  6. package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-eb207a83.js} +1 -1
  7. package/dist/cjs/index.cjs.js +2 -2
  8. package/dist/cjs/ketchup.cjs.js +1 -1
  9. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +47 -47
  11. package/dist/cjs/kup-box.cjs.entry.js +8 -8
  12. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  13. package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
  14. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  15. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
  16. package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
  17. package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
  18. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  19. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-editor.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +21 -21
  23. package/dist/cjs/kup-grid.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-image-list.cjs.entry.js +7 -7
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +298 -0
  27. package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
  29. package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-abfe4ddd.js} +9 -1
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
  32. package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
  34. package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-9f776d6e.js} +1 -1
  35. package/dist/cjs/kup-planner-renderer.cjs.entry.js +3 -3
  36. package/dist/cjs/kup-planner.cjs.entry.js +4 -4
  37. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  38. package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
  39. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  40. package/dist/cjs/loader.cjs.js +1 -1
  41. package/dist/collection/assets/index.js +8 -0
  42. package/dist/collection/assets/input-panel.js +249 -0
  43. package/dist/collection/assets/pdf.js +15 -0
  44. package/dist/collection/collection-manifest.json +2 -0
  45. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
  46. package/dist/collection/components/kup-input-panel/kup-input-panel.css +132 -0
  47. package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +305 -0
  48. package/dist/collection/components/kup-input-panel/kup-input-panel.js +522 -0
  49. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  50. package/dist/collection/components/kup-list/kup-list.js +1 -1
  51. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  52. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  53. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  54. package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
  55. package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
  56. package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
  57. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
  58. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  59. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  60. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
  61. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +1 -1
  62. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
  63. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
  64. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +2 -2
  65. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +1 -1
  66. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  67. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  68. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  69. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  70. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  71. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  72. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  73. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  74. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  75. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  76. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  77. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  78. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  79. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  80. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  81. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  82. package/dist/collection/f-components/f-cell/f-cell.js +5 -24
  83. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
  84. package/dist/collection/types/GenericTypes.js +1 -0
  85. package/dist/components/custom-task-list-header.js +2 -2
  86. package/dist/components/custom-task-list-table.js +1 -1
  87. package/dist/components/kup-autocomplete2.js +44 -64
  88. package/dist/components/kup-box2.js +1 -1
  89. package/dist/components/kup-calendar.js +1 -1
  90. package/dist/components/kup-cell.js +1 -1
  91. package/dist/components/kup-dashboard.js +1 -1
  92. package/dist/components/kup-dates.js +20 -1
  93. package/dist/components/kup-echart2.js +1 -1
  94. package/dist/components/kup-gantt-calendar2.js +1 -1
  95. package/dist/components/kup-gantt2.js +1 -1
  96. package/dist/components/kup-grid-renderer2.js +2 -2
  97. package/dist/components/kup-grid2.js +1 -1
  98. package/dist/components/kup-horizontal-scroll2.js +2 -2
  99. package/dist/components/kup-iframe.js +1 -1
  100. package/dist/components/kup-image-list.js +1 -1
  101. package/dist/components/kup-input-panel.d.ts +11 -0
  102. package/dist/components/kup-input-panel.js +449 -0
  103. package/dist/components/kup-lazy.js +11 -11
  104. package/dist/components/kup-magic-box.js +4 -4
  105. package/dist/components/kup-manager.js +9 -1
  106. package/dist/components/kup-nav-bar.js +1 -1
  107. package/dist/components/kup-numeric-picker.js +2 -2
  108. package/dist/components/kup-pdf.d.ts +11 -0
  109. package/dist/components/kup-pdf.js +76756 -0
  110. package/dist/components/kup-photo-frame.js +2 -2
  111. package/dist/components/kup-planner-renderer2.js +1 -1
  112. package/dist/components/kup-planner.js +1 -1
  113. package/dist/components/kup-probe.js +1 -1
  114. package/dist/components/kup-qlik.js +1 -1
  115. package/dist/components/kup-snackbar.js +1 -1
  116. package/dist/components/kup-standard-tooltip2.js +1 -1
  117. package/dist/components/kup-switcher2.js +1 -1
  118. package/dist/components/kup-task-gantt2.js +2 -2
  119. package/dist/components/kup-task-list-header2.js +7 -7
  120. package/dist/components/kup-task-list-table2.js +1 -1
  121. package/dist/components/kup-task-list2.js +1 -1
  122. package/dist/components/kup-tooltip2.js +1 -1
  123. package/dist/components/kup-vertical-scroll2.js +2 -2
  124. package/dist/esm/{f-button-45d690a5.js → f-button-1eebd42e.js} +1 -1
  125. package/dist/esm/{f-cell-63db06db.js → f-cell-af19d5c7.js} +9 -29
  126. package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-9e5fdb25.js} +2 -2
  127. package/dist/esm/{f-image-8b382cc5.js → f-image-1e1ed567.js} +1 -1
  128. package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-dede029b.js} +3 -3
  129. package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-802b45fb.js} +1 -1
  130. package/dist/esm/index.js +2 -2
  131. package/dist/esm/ketchup.js +1 -1
  132. package/dist/esm/kup-accordion.entry.js +3 -3
  133. package/dist/esm/kup-autocomplete_27.entry.js +47 -47
  134. package/dist/esm/kup-box.entry.js +8 -8
  135. package/dist/esm/kup-calendar.entry.js +5 -5
  136. package/dist/esm/kup-card-list.entry.js +2 -2
  137. package/dist/esm/kup-cell.entry.js +7 -7
  138. package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
  139. package/dist/esm/kup-dashboard.entry.js +5 -5
  140. package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
  141. package/dist/esm/kup-drawer.entry.js +2 -2
  142. package/dist/esm/kup-echart.entry.js +2 -2
  143. package/dist/esm/kup-editor.entry.js +2 -2
  144. package/dist/esm/kup-family-tree.entry.js +4 -4
  145. package/dist/esm/kup-gantt_10.entry.js +21 -21
  146. package/dist/esm/kup-grid.entry.js +2 -2
  147. package/dist/esm/kup-iframe.entry.js +2 -2
  148. package/dist/esm/kup-image-list.entry.js +7 -7
  149. package/dist/esm/kup-input-panel.entry.js +294 -0
  150. package/dist/esm/kup-lazy.entry.js +13 -13
  151. package/dist/esm/kup-magic-box.entry.js +6 -6
  152. package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-dd24fb5a.js} +9 -1
  153. package/dist/esm/kup-nav-bar.entry.js +3 -3
  154. package/dist/esm/kup-numeric-picker.entry.js +4 -4
  155. package/dist/esm/kup-pdf.entry.js +76596 -0
  156. package/dist/esm/kup-photo-frame.entry.js +4 -4
  157. package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-b4727e44.js} +1 -1
  158. package/dist/esm/kup-planner-renderer.entry.js +3 -3
  159. package/dist/esm/kup-planner.entry.js +4 -4
  160. package/dist/esm/kup-probe.entry.js +3 -3
  161. package/dist/esm/kup-qlik.entry.js +3 -3
  162. package/dist/esm/kup-snackbar.entry.js +5 -5
  163. package/dist/esm/loader.js +1 -1
  164. package/dist/ketchup/index.esm.js +1 -1
  165. package/dist/ketchup/ketchup.esm.js +1 -1
  166. package/dist/ketchup/p-14943de9.entry.js +1 -0
  167. package/dist/ketchup/{p-c6b34763.entry.js → p-158076de.entry.js} +1 -1
  168. package/dist/ketchup/{p-670354ef.entry.js → p-180cd7ab.entry.js} +1 -1
  169. package/dist/ketchup/{p-b6a21b6a.entry.js → p-19a13672.entry.js} +1 -1
  170. package/dist/ketchup/{p-d9284d98.entry.js → p-201f8d7b.entry.js} +1 -1
  171. package/dist/ketchup/{p-41e8402e.entry.js → p-26d42b88.entry.js} +1 -1
  172. package/dist/ketchup/{p-590c34bc.js → p-2d4a9235.js} +1 -1
  173. package/dist/ketchup/{p-090e5097.entry.js → p-2e04042b.entry.js} +1 -1
  174. package/dist/ketchup/{p-e508b2fd.entry.js → p-34d70475.entry.js} +1 -1
  175. package/dist/ketchup/{p-e0a1fbe7.entry.js → p-3b544027.entry.js} +1 -1
  176. package/dist/ketchup/{p-4c100286.entry.js → p-43ce397b.entry.js} +1 -1
  177. package/dist/ketchup/{p-31c0cfc0.entry.js → p-489af77f.entry.js} +1 -1
  178. package/dist/ketchup/{p-ca8a1f53.entry.js → p-4f69f6f9.entry.js} +1 -1
  179. package/dist/ketchup/{p-ba0f28b7.js → p-61e8d573.js} +1 -1
  180. package/dist/ketchup/{p-ca42a421.entry.js → p-636be6f1.entry.js} +2 -2
  181. package/dist/ketchup/{p-ec4050e1.entry.js → p-63c141d9.entry.js} +1 -1
  182. package/dist/ketchup/{p-4dfc5927.entry.js → p-6972fa0c.entry.js} +1 -1
  183. package/dist/ketchup/{p-a5074ce4.js → p-6c888179.js} +1 -1
  184. package/dist/ketchup/{p-1474852d.entry.js → p-79f4dc5b.entry.js} +1 -1
  185. package/dist/ketchup/{p-2b40d9b9.entry.js → p-818e61d5.entry.js} +1 -1
  186. package/dist/ketchup/{p-9a856951.js → p-8229b97a.js} +1 -1
  187. package/dist/ketchup/p-8f3d400a.entry.js +44 -0
  188. package/dist/ketchup/{p-bedabdb5.js → p-8fcdf454.js} +1 -1
  189. package/dist/ketchup/{p-ad6a3c2a.entry.js → p-a2e14d8b.entry.js} +1 -1
  190. package/dist/ketchup/{p-d839ce21.entry.js → p-a2e691b8.entry.js} +2 -2
  191. package/dist/ketchup/p-a46f99d4.js +1 -0
  192. package/dist/ketchup/{p-1cd48eea.entry.js → p-b238cde7.entry.js} +1 -1
  193. package/dist/ketchup/{p-837bd0a6.entry.js → p-b3b50bb5.entry.js} +1 -1
  194. package/dist/ketchup/{p-d50515f7.js → p-c0f660d6.js} +1 -1
  195. package/dist/ketchup/{p-157f0e89.entry.js → p-cd7fec02.entry.js} +1 -1
  196. package/dist/ketchup/{p-cbe42afd.entry.js → p-dcf7e9b6.entry.js} +1 -1
  197. package/dist/ketchup/{p-e0c10de2.entry.js → p-e0e47ca9.entry.js} +1 -1
  198. package/dist/ketchup/{p-9852b1e9.js → p-e4c63684.js} +1 -1
  199. package/dist/ketchup/{p-cc7352a8.entry.js → p-e7507dd6.entry.js} +1 -1
  200. package/dist/ketchup/p-eb8ea3a6.js +1 -0
  201. package/dist/ketchup/{p-d608f866.entry.js → p-f998ff28.entry.js} +1 -1
  202. package/dist/ketchup/{p-21351b19.entry.js → p-f9a7c21c.entry.js} +1 -1
  203. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +79 -0
  204. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
  205. package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
  206. package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
  207. package/dist/types/components.d.ts +158 -0
  208. package/dist/types/types/GenericTypes.d.ts +1 -0
  209. package/package.json +2 -1
  210. package/dist/ketchup/p-5c79cb74.js +0 -1
  211. package/dist/ketchup/p-935f58fc.js +0 -1
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, f as forceUpdate, d as getElement } from './index-460631fd.js';
2
- import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-da0518be.js';
2
+ import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-b4727e44.js';
3
3
  import { r as removeHiddenTasks, s as sortTasks, c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection } from './bar.helpers-0898efb9.js';
4
4
  import { e as KUP_PLANNER_MAIN_GANTT_ID } from './kup-planner-declarations-b9345758.js';
5
- import './kup-dates-4ad48be7.js';
5
+ import './kup-dates-26a56bf7.js';
6
6
 
7
7
  const kupGanttCss = ".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}.wrapper{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}.ganttContainer{background:#efefef;border-radius:8px;margin:12px;overflow:hidden;padding:12px}.ganttVerticalContainer{overflow:hidden;font-size:0;margin:0;padding:0}.horizontalContainer{margin:0;padding:0;overflow:hidden}.task-gantt{overflow:hidden}.tasks{border-radius:8px;background:#efefef;margin:12px;padding:12px}";
8
8
  const KupGanttStyle0 = kupGanttCss;
@@ -556,7 +556,7 @@ const KupGantt = class {
556
556
  TaskListHeader: this.TaskListHeader,
557
557
  TaskListTable: this.TaskListTable,
558
558
  };
559
- return (h("div", { key: 'f7f84291517b74796502599d7005f0902432da84', class: "gannt-wrapper-main" }, h("div", { key: 'bbf2af26ac05a9c67a82eddedbeb7641c9b75e04', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '138391819549ea113ba52f3d218afbc74e4e92bb', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: 'da4e17e28991a3fbc7793c90d17d42cdb3f29383', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this) }))));
559
+ return (h("div", { key: '6cfa74263599c97bcae3f8f473f94c69bcaf8258', class: "gannt-wrapper-main" }, h("div", { key: 'ebc15fab0f8675bb5f21230175b7b50842e0974e', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '6c9bdf420f5660fbae4f9c9d40f772e9fa93671b', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: '09d624d5a440649b8b2a032d4257cd64356f2421', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this) }))));
560
560
  }
561
561
  get rootElement() { return getElement(this); }
562
562
  static get watchers() { return {
@@ -645,11 +645,11 @@ const HorizontalScroll = class {
645
645
  render() {
646
646
  var _a, _b;
647
647
  const w = (_b = ((_a = this.taskListTrueRef) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) + 24 * 1.5) !== null && _b !== void 0 ? _b : 0; // 24 * 2 is the sum of padding and margin for both list and gantt, multiplied by 1.5 cause we need to add the other half to the right
648
- return (h("div", { key: '6900ce2b4ff33f7f48403c085861d25d8a55ae51', dir: "ltr", style: {
648
+ return (h("div", { key: 'a560e1597e9122df0d98d0508ace8ec5c04a5513', dir: "ltr", style: {
649
649
  margin: this.rtl
650
650
  ? `0px ${w}px 0px 12px`
651
651
  : `0px 12px 0px ${w}px`,
652
- }, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: 'd5cd1e9ec9d4dc2a1c249eef3c485dc3eb9f82ad', style: { width: `${this.svgWidth}px` }, class: "scroll" })));
652
+ }, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: 'd1f0693a7a2f4ae545d48c0708f91770c1fee717', style: { width: `${this.svgWidth}px` }, class: "scroll" })));
653
653
  }
654
654
  get rootElement() { return getElement(this); }
655
655
  static get watchers() { return {
@@ -669,7 +669,7 @@ const StandardTooltipContent = class {
669
669
  this.fontFamily = undefined;
670
670
  }
671
671
  render() {
672
- return (h("div", { key: '654584ad4531cbc29fac8f6f1f8862f32127e614', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'fc0104c8f5cce036410e84236b73237ca8c32e10', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '021b32e66e1ee1254acb60d7a5c1f38f1b59ea42', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
672
+ return (h("div", { key: 'a8cc2a7ee22805a4a0bc4ea5a04eba47635d905d', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'b19bb682e89805a662965153baddfe3ecbcc714b', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '85c595ef756929440fac10ff2a63f19a01bd1e34', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
673
673
  }
674
674
  };
675
675
  StandardTooltipContent.style = KupStandardTooltipStyle0;
@@ -687,7 +687,7 @@ const KupSwitcher = class {
687
687
  const week = () => this.timeUnitChange('week');
688
688
  const month = () => this.timeUnitChange('month');
689
689
  const year = () => this.timeUnitChange('year');
690
- return (h("div", { key: '64c26910f550b5c74b294667e58f396f0642e601', class: "switcher" }, h("button", { key: '1f110cd85b5e837aec6f5c2b69ac14b3a47d9f79', type: "button", class: "button", onClick: day }, h("span", { key: 'be249d7896fcd93905e8865309405d30dfa506bf', class: "label" }, "Day")), h("button", { key: '81dfab2aebed98d32cff106577795a064c03a257', type: "button", class: "button", onClick: week }, h("span", { key: 'e5c41e5dcd9d775c6749c2907e59a7d0400e3712', class: "label" }, "Week")), h("button", { key: 'a598a5ab4f1496bbd267134201b21c45e5198d01', type: "button", class: "button", onClick: month }, h("span", { key: '57769be17ca1de59a919cbb7e7ac11d0546a28fb', class: "label" }, "Month")), h("button", { key: 'b62c7585c44acc19863bc93898851348250ba7fa', type: "button", class: "button", onClick: year }, h("span", { key: '9f4ab800c4eef1666ceabaebe0d35b042753430f', class: "label" }, "Year"))));
690
+ return (h("div", { key: '41dda7f6481d54c262a7362440167aa58b44e8e1', class: "switcher" }, h("button", { key: 'e286b6add4c59978c39cef79e8bddd0704b9b3be', type: "button", class: "button", onClick: day }, h("span", { key: '855e19deedcbb55d6d534260e6b2b76580eb8e71', class: "label" }, "Day")), h("button", { key: 'dffc909ef397ddd44957cad2b304343f9a96998c', type: "button", class: "button", onClick: week }, h("span", { key: 'd69ab19671de0f10e60ba584a1036c628d6204b1', class: "label" }, "Week")), h("button", { key: '42c686fc57fdd6bd4a0cc8fd939946048d663771', type: "button", class: "button", onClick: month }, h("span", { key: 'a1508d10ecfdb50527a2be3b9a7bd069f922753e', class: "label" }, "Month")), h("button", { key: 'b478c7c4ed13b4ed3ab72f148995bf4cc96533c8', type: "button", class: "button", onClick: year }, h("span", { key: 'c56ee36dac14420f256d327cfe6119e9792d072f', class: "label" }, "Year"))));
691
691
  }
692
692
  };
693
693
  KupSwitcher.style = KupSwitcherStyle0;
@@ -727,12 +727,12 @@ const TaskGantt = class {
727
727
  }
728
728
  render() {
729
729
  const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps });
730
- return (h("div", { key: 'd9a4cf68f10e8263f73123022b4e545f6a028580', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '2ad5614e2df01e5f3cc21b9940c14ba7dd5a785d', dateSetup: this.calendarProps.dateSetup, locale: this.calendarProps.locale, rtl: this.calendarProps.rtl, headerHeight: this.calendarProps.headerHeight, columnWidth: this.calendarProps.columnWidth, fontFamily: this.calendarProps.fontFamily, fontSize: this.calendarProps.fontSize, dateTimeFormatters: this.calendarProps.dateTimeFormatters, singleLineHeader: this.calendarProps.singleLineHeader, currentDateIndicator: this.calendarProps.currentDateIndicator, svgWidth: this.gridProps.svgWidth }), h("div", { key: '8c0e76cb967f172406f352c6568582fdc4008d38', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
730
+ return (h("div", { key: '905f0400ac4a0103896527ef5197cf1d1377b47b', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '5663eafd88795240ff35fb92eb68af99d6b285d7', dateSetup: this.calendarProps.dateSetup, locale: this.calendarProps.locale, rtl: this.calendarProps.rtl, headerHeight: this.calendarProps.headerHeight, columnWidth: this.calendarProps.columnWidth, fontFamily: this.calendarProps.fontFamily, fontSize: this.calendarProps.fontSize, dateTimeFormatters: this.calendarProps.dateTimeFormatters, singleLineHeader: this.calendarProps.singleLineHeader, currentDateIndicator: this.calendarProps.currentDateIndicator, svgWidth: this.gridProps.svgWidth }), h("div", { key: 'ececb1964b8a3a9e0b0a12889b680f8667e49690', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
731
731
  ? {
732
732
  height: `${this.ganttHeight}px`,
733
733
  width: `${this.gridProps.svgWidth}px`,
734
734
  }
735
- : { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '69040247d6fde1ddb12f3b2ce54e02bc7781e569' }, newBarProps)))));
735
+ : { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '2117872fcdad4e4a3afe4eb4bfc303fce6ea2db7' }, newBarProps)))));
736
736
  }
737
737
  get rootElement() { return getElement(this); }
738
738
  static get watchers() { return {
@@ -827,7 +827,7 @@ const TaskList = class {
827
827
  if (TaskListTable && TaskListTable['$attrs$']) {
828
828
  Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
829
829
  }
830
- return (h("div", { key: '7dd68dd1a7d21ae60df1565041e4c40c4e809190', ref: (el) => (this.taskListRef = el) }, TaskListHeader && TaskListHeader['$attrs$'] ? (TaskListHeader) : (h("kup-custom-task-list-header", Object.assign({ label: this.label, doubleView: (_a = this.doubleView) !== null && _a !== void 0 ? _a : false, setDoubleView: this.setDoubleView }, headerProps))), h("div", { key: '7a956f23ef07603f31a331d229f1bb1d04e98773', class: this.horizontalContainerClass, style: this.ganttHeight
830
+ return (h("div", { key: 'd09682f9ac25c58a917abb739e585d5b0e8eb15b', ref: (el) => (this.taskListRef = el) }, TaskListHeader && TaskListHeader['$attrs$'] ? (TaskListHeader) : (h("kup-custom-task-list-header", Object.assign({ label: this.label, doubleView: (_a = this.doubleView) !== null && _a !== void 0 ? _a : false, setDoubleView: this.setDoubleView }, headerProps))), h("div", { key: '5fdeb14c140ae767e0e76ff0cbb7a3cc1a952ac2', class: this.horizontalContainerClass, style: this.ganttHeight
831
831
  ? { height: this.ganttHeight + 'px' }
832
832
  : {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
833
833
  let row = getProjectById(id, this.currentTasks);
@@ -874,22 +874,22 @@ const KupTaskListHeader = class {
874
874
  this.rowWidth = undefined;
875
875
  }
876
876
  render() {
877
- return (h("div", { key: '85c164a7a4313c8708ce2774338ff123621e7648', class: "ganttTable", style: {
877
+ return (h("div", { key: '116213bd504a1e48f0484e92db9f7c8fb4dcb602', class: "ganttTable", style: {
878
878
  fontFamily: this.fontFamily,
879
879
  fontSize: this.fontSize,
880
- } }, h("div", { key: '46aad2a15e9f7d6fe8e7b705b5cc4f385ebf2d69', class: "ganttTable_Header", style: {
880
+ } }, h("div", { key: 'afbe32d59d041d923cd831db83ca0b09087cda23', class: "ganttTable_Header", style: {
881
881
  height: `${this.headerHeight - 2}px`,
882
- } }, h("div", { key: 'fafa8c4eb47c740fff23eb204a75b872d39876e2', class: "ganttTable_HeaderItem", style: {
882
+ } }, h("div", { key: 'ffa34b095e8b1d59516e6892c87f9eeeec8d9160', class: "ganttTable_HeaderItem", style: {
883
883
  minWidth: this.rowWidth,
884
- } }, "\u00A0Name"), h("div", { key: '1ebbcca3ce32701a8af4140fb638173de9795995', class: "ganttTable_HeaderSeparator", style: {
884
+ } }, "\u00A0Name"), h("div", { key: 'fad1584e5c299645e59f988e1fedc6fb1c6b05ff', class: "ganttTable_HeaderSeparator", style: {
885
885
  height: `${this.headerHeight * 0.5}px`,
886
886
  marginTop: `${this.headerHeight * 0.2}px`,
887
- } }), h("div", { key: 'b08345a4be12e76a9d634508e32e035a3c570dfb', class: "ganttTable_HeaderItem", style: {
887
+ } }), h("div", { key: '630992695659d8963415808cb1734e06d9aff914', class: "ganttTable_HeaderItem", style: {
888
888
  minWidth: this.rowWidth,
889
- } }, "\u00A0From"), h("div", { key: '3f035b39c2c66677e78c2786cea4a39c824bb60b', class: "ganttTable_HeaderSeparator", style: {
889
+ } }, "\u00A0From"), h("div", { key: 'e676f60163f722f1fd72f9038157359e61c895d2', class: "ganttTable_HeaderSeparator", style: {
890
890
  height: `${this.headerHeight * 0.5}px`,
891
891
  marginTop: `${this.headerHeight * 0.25}px`,
892
- } }), h("div", { key: '01effc62e0e2ddf73ab5cf4cbad5873f70d510c6', class: "ganttTable_HeaderItem", style: {
892
+ } }), h("div", { key: 'ee2699da7a0afbfa6944c47621e07112dca46816', class: "ganttTable_HeaderItem", style: {
893
893
  minWidth: this.rowWidth,
894
894
  } }, "\u00A0To"))));
895
895
  }
@@ -923,7 +923,7 @@ const TaskListTableDefault = class {
923
923
  return date.toLocaleDateString(this.locale, this.dateTimeOptions);
924
924
  }
925
925
  render() {
926
- return (h("div", { key: 'a488bee5b9421a1f1f63911ac1ad6702d2f08d65', class: "taskListWrapper", style: {
926
+ return (h("div", { key: '00ce97c983f8b2fa306cfde7a15565913bbd08fa', class: "taskListWrapper", style: {
927
927
  fontFamily: this.fontFamily,
928
928
  fontSize: this.fontSize,
929
929
  } }, this.tasks.map((task) => (h("div", { class: {
@@ -1012,7 +1012,7 @@ const Tooltip = class {
1012
1012
  }
1013
1013
  }
1014
1014
  render() {
1015
- return (h("div", { key: '6e6cc9d062e2910930ea039bd62c7d7c6cbfca30', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: '08262258302d58b11d3c832194adfcdecf262bc2', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
1015
+ return (h("div", { key: '3399b85004b93210eb01154c38f03034009cadb4', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: 'ac99f13b366842e83c15fb13d0488c518e9bab90', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
1016
1016
  }
1017
1017
  get rootElement() { return getElement(this); }
1018
1018
  static get watchers() { return {
@@ -1066,11 +1066,11 @@ const KupVerticalScroll = class {
1066
1066
  };
1067
1067
  }
1068
1068
  render() {
1069
- return (h("div", { key: '80335159040a9c60dc8213840c3b2d684636585d', style: {
1069
+ return (h("div", { key: '383ad53a1b4494dada5c96330c11c344719308fc', style: {
1070
1070
  height: `${this.ganttHeight}px`,
1071
1071
  marginTop: `${this.headerHeight}px`,
1072
1072
  marginLeft: this.rtl ? '' : '-1rem',
1073
- }, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '2ad01e01bb31d6885cf87bda7e1448f70b182435', style: {
1073
+ }, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '3dbf51a648d41315f423d58df04abb21d2d3f63e', style: {
1074
1074
  height: `${this.ganttFullHeight}px`,
1075
1075
  width: '1px',
1076
1076
  } })));
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-460631fd.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-cdb4f21a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-dd24fb5a.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import './kup-dates-4ad48be7.js';
4
+ import './kup-dates-26a56bf7.js';
5
5
 
6
6
  /**
7
7
  * Props of the kup-grid component.
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-460631fd.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-cdb4f21a.js';
3
- import './kup-dates-4ad48be7.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, d as KupDebugCategory } from './kup-manager-dd24fb5a.js';
3
+ import './kup-dates-26a56bf7.js';
4
4
 
5
5
  /**
6
6
  * Props of the kup-iframe component.
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-460631fd.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, M as KupPointerEventTypes, e as FCellPadding } from './kup-manager-cdb4f21a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, M as KupPointerEventTypes, e as FCellPadding } from './kup-manager-dd24fb5a.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import { F as FImage } from './f-image-8b382cc5.js';
5
- import { F as FButton } from './f-button-45d690a5.js';
4
+ import { F as FImage } from './f-image-1e1ed567.js';
5
+ import { F as FButton } from './f-button-1eebd42e.js';
6
6
  import { F as FButtonStyling } from './f-button-declarations-9bdc6f26.js';
7
- import { F as FCell } from './f-cell-63db06db.js';
7
+ import { F as FCell } from './f-cell-af19d5c7.js';
8
8
  import { M as MDCRipple } from './component-879e99bf.js';
9
- import './kup-dates-4ad48be7.js';
9
+ import './kup-dates-26a56bf7.js';
10
10
  import './f-checkbox-ddb6234e.js';
11
- import './f-text-field-b5fcb598.js';
12
- import './f-chip-f1ab6c5e.js';
11
+ import './f-text-field-802b45fb.js';
12
+ import './f-chip-9e5fdb25.js';
13
13
 
14
14
  /**
15
15
  * Props of the kup-image-list component.
@@ -0,0 +1,294 @@
1
+ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-460631fd.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, a3 as FCellTypes } from './kup-manager-dd24fb5a.js';
3
+ import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
+ import { F as FButton } from './f-button-1eebd42e.js';
5
+ import { F as FTextFieldMDC } from './f-text-field-mdc-c88bf688.js';
6
+ import { F as FCell } from './f-cell-af19d5c7.js';
7
+ import './kup-dates-26a56bf7.js';
8
+ import './f-button-declarations-9bdc6f26.js';
9
+ import './f-image-1e1ed567.js';
10
+ import './component-879e99bf.js';
11
+ import './f-checkbox-ddb6234e.js';
12
+ import './f-text-field-802b45fb.js';
13
+ import './f-chip-9e5fdb25.js';
14
+
15
+ var KupInputPanelProps;
16
+ (function (KupInputPanelProps) {
17
+ KupInputPanelProps["customStyle"] = "Custom style of the component.";
18
+ KupInputPanelProps["data"] = "Actual data of the input panel.";
19
+ KupInputPanelProps["hiddenSubmitButton"] = "Creates a hidden submit button in order to submit the form with enter.";
20
+ KupInputPanelProps["submitCb"] = "Sets the callback function on submit form";
21
+ KupInputPanelProps["valueChangeCb"] = "Sets the callback function on value change event";
22
+ })(KupInputPanelProps || (KupInputPanelProps = {}));
23
+
24
+ const kupInputPanelCss = ".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}.input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}";
25
+ const KupInputPanelStyle0 = kupInputPanelCss;
26
+
27
+ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
28
+ if (kind === "a" && !f)
29
+ throw new TypeError("Private accessor was defined without a getter");
30
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
31
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
32
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
33
+ };
34
+ var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_mapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter;
35
+ const dom = document.documentElement;
36
+ const KupInputPanel = class {
37
+ constructor(hostRef) {
38
+ registerInstance(this, hostRef);
39
+ this.kupReady = createEvent(this, "kup-input-panel-ready", 6);
40
+ _KupInputPanel_instances.add(this);
41
+ //#endregion
42
+ //#region VARIABLES
43
+ /*-------------------------------------------------*/
44
+ /* I n t e r n a l V a r i a b l e s */
45
+ /*-------------------------------------------------*/
46
+ _KupInputPanel_kupManager.set(this, kupManagerInstance());
47
+ this.customStyle = '';
48
+ this.data = null;
49
+ this.hiddenSubmitButton = false;
50
+ this.submitCb = null;
51
+ this.handleEventsCallbacks = [];
52
+ this.inputPanelCells = [];
53
+ }
54
+ //#endregion
55
+ //#region WATCHERS
56
+ /*-------------------------------------------------*/
57
+ /* W a t c h e r s */
58
+ /*-------------------------------------------------*/
59
+ onDataChanged() {
60
+ __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
61
+ }
62
+ //#endregion
63
+ //#region PUBLIC METHODS
64
+ /*-------------------------------------------------*/
65
+ /* P u b l i c M e t h o d s */
66
+ /*-------------------------------------------------*/
67
+ /**
68
+ * Used to retrieve component's props values.
69
+ * @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
70
+ * @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
71
+ */
72
+ async getProps(descriptions) {
73
+ return getProps(this, KupInputPanelProps, descriptions);
74
+ }
75
+ /**
76
+ * This method is used to trigger a new render of the component.
77
+ */
78
+ async refresh() {
79
+ forceUpdate(this);
80
+ }
81
+ /**
82
+ * Sets the props to the component.
83
+ * @param {GenericObject} props - Object containing props that will be set to the component.
84
+ */
85
+ async setProps(props) {
86
+ setProps(this, KupInputPanelProps, props);
87
+ }
88
+ //#endregion
89
+ //#region LIFECYCLE HOOKS
90
+ /*-------------------------------------------------*/
91
+ /* L i f e c y c l e H o o k s */
92
+ /*-------------------------------------------------*/
93
+ componentWillLoad() {
94
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, false);
95
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.register(this);
96
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.register(this);
97
+ this.onDataChanged();
98
+ }
99
+ componentDidLoad() {
100
+ this.kupReady.emit({ comp: this, id: this.rootElement.id });
101
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, true);
102
+ this.handleEventsCallbacks.map((cbData) => {
103
+ this.rootElement.addEventListener(cbData.eventName, (e) => {
104
+ const inputPanelEvent = {
105
+ state: this.inputPanelCells.find((data) => data.cells.find((cell) => cell.column.name === e.detail.id)).cells,
106
+ data: {
107
+ field: e.detail.id,
108
+ value: e.detail.inputValue || e.detail.value,
109
+ },
110
+ };
111
+ cbData.eventCallback(inputPanelEvent);
112
+ });
113
+ });
114
+ }
115
+ componentWillRender() {
116
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, false);
117
+ }
118
+ componentDidRender() {
119
+ const root = this.rootElement.shadowRoot;
120
+ if (root) {
121
+ const fs = root.querySelectorAll('.f-text-field');
122
+ for (let index = 0; index < fs.length; index++) {
123
+ FTextFieldMDC(fs[index]);
124
+ }
125
+ }
126
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, true);
127
+ }
128
+ render() {
129
+ const isEmptyData = Boolean(!this.inputPanelCells.length);
130
+ const inputPanelContent = isEmptyData
131
+ ? [
132
+ h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
133
+ ]
134
+ : this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
135
+ return (h(Host, { key: '47b1cbfae920b48873c3c5c5629ed1d9f4ac7290' }, h("style", { key: 'd48cfa1e1f470e9b991745ef30ebc236c6399b98' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '257d3d98795b32e59abee2c5aa8be341880f37be', id: componentWrapperId }, inputPanelContent)));
136
+ }
137
+ disconnectedCallback() {
138
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
139
+ __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.unregister(this);
140
+ }
141
+ get rootElement() { return getElement(this); }
142
+ static get watchers() { return {
143
+ "data": ["onDataChanged"]
144
+ }; }
145
+ };
146
+ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
147
+ var _a;
148
+ // todo layout
149
+ const horizontal = ((_a = inputPanelCell.row.layout) === null || _a === void 0 ? void 0 : _a.horizontal) || false;
150
+ const rowContent = inputPanelCell.cells.map((cell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, cell.cell, inputPanelCell.row, cell.column));
151
+ const classObj = {
152
+ form: true,
153
+ 'input-panel': true,
154
+ 'form--column': !horizontal,
155
+ };
156
+ // We create a form for each row in data
157
+ return (h("form", { class: classObj, name: this.rootElement.id, onSubmit: this.submitCb }, rowContent, this.hiddenSubmitButton ? (h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit" })) : null));
158
+ }, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
159
+ const cellProps = {
160
+ cell,
161
+ column,
162
+ row,
163
+ component: this,
164
+ editable: cell.isEditable,
165
+ renderKup: true,
166
+ setSizes: true,
167
+ };
168
+ return h(FCell, Object.assign({}, cellProps));
169
+ }, _KupInputPanel_mapCells = function _KupInputPanel_mapCells(data) {
170
+ var _a;
171
+ const inpuPanelCells = ((_a = data === null || data === void 0 ? void 0 : data.rows) === null || _a === void 0 ? void 0 : _a.length)
172
+ ? data.rows.reduce((inpuPanelCells, row) => {
173
+ const cells = data.columns
174
+ .filter((column) => column.visible)
175
+ .map((column) => {
176
+ const cell = row.cells[column.name];
177
+ const mappedCell = Object.assign(Object.assign({}, cell), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column)), { id: column.name }), slotData: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_slotData).call(this, cell, column), isEditable: cell.editable });
178
+ return { column, cell: mappedCell };
179
+ });
180
+ return [...inpuPanelCells, { cells, row }];
181
+ }, [])
182
+ : [];
183
+ this.inputPanelCells = inpuPanelCells;
184
+ }, _KupInputPanel_mapData = function _KupInputPanel_mapData(cell, col) {
185
+ const options = cell.options;
186
+ const fieldLabel = col.title;
187
+ const currentValue = cell.value;
188
+ const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
189
+ const dataAdapterMap = new Map([
190
+ [FCellTypes.AUTOCOMPLETE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter)],
191
+ [FCellTypes.BUTTON_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter)],
192
+ [FCellTypes.CHART, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_GRAAdapter)],
193
+ [FCellTypes.CHIP, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CHIAdapter)],
194
+ [FCellTypes.CHECKBOX, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CHKAdapter)],
195
+ [FCellTypes.COLOR_PICKER, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CLPAdapter)],
196
+ [FCellTypes.COMBOBOX, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter)],
197
+ [FCellTypes.RADIO, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_RADAdapter)],
198
+ [FCellTypes.STRING, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ITXAdapter)],
199
+ ]);
200
+ const adapter = dataAdapterMap.get(cellType);
201
+ return adapter ? adapter(options, fieldLabel, currentValue) : null;
202
+ }, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
203
+ const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
204
+ if (cellType !== FCellTypes.CHIP &&
205
+ cellType !== FCellTypes.MULTI_AUTOCOMPLETE &&
206
+ cellType !== FCellTypes.MULTI_COMBOBOX &&
207
+ !cell.editable) {
208
+ return null;
209
+ }
210
+ return {
211
+ trailingIcon: true,
212
+ label: col.title,
213
+ };
214
+ }, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(options, _fieldLabel, currentValue) {
215
+ return {
216
+ data: (options === null || options === void 0 ? void 0 : options.length)
217
+ ? options.map((option) => ({
218
+ value: option.label,
219
+ id: option.id,
220
+ selected: currentValue === option.id,
221
+ }))
222
+ : [{ id: currentValue, value: currentValue }],
223
+ };
224
+ }, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
225
+ //TODO: definire mapping
226
+ return {
227
+ data: {
228
+ sizeX: '50px',
229
+ offlineMode: {
230
+ value: '8;4;5',
231
+ },
232
+ id: 'i1012_GREF_0',
233
+ cellId: 'i1012_GREF_0',
234
+ sizeY: '50px',
235
+ },
236
+ };
237
+ }, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue) {
238
+ //TODO: come gestire i button list dal protocollo?
239
+ return {
240
+ data: [
241
+ {
242
+ data: { dropdownOnly: false, label: 'Pier' },
243
+ },
244
+ { data: { dropdownOnly: false, label: 'Valerio' } },
245
+ ],
246
+ };
247
+ }, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(options, fieldLabel, currentValue) {
248
+ return {
249
+ data: {
250
+ 'kup-text-field': {
251
+ trailingIcon: true,
252
+ label: fieldLabel,
253
+ icon: 'arrow_drop_down',
254
+ },
255
+ 'kup-list': {
256
+ showIcons: true,
257
+ data: (options === null || options === void 0 ? void 0 : options.length)
258
+ ? options.map((option) => ({
259
+ value: option.label,
260
+ id: option.id,
261
+ selected: currentValue === option.id,
262
+ }))
263
+ : [],
264
+ },
265
+ },
266
+ label: fieldLabel,
267
+ };
268
+ }, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
269
+ return {
270
+ checked: currentValue === 'on' || currentValue === '1',
271
+ label: fieldLabel,
272
+ };
273
+ }, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
274
+ return {
275
+ data: {
276
+ 'kup-text-field': {
277
+ label: fieldLabel,
278
+ },
279
+ },
280
+ };
281
+ }, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue) {
282
+ return { label: fieldLabel };
283
+ }, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
284
+ return {
285
+ data: options.map((option) => ({
286
+ value: option.id,
287
+ label: option.label,
288
+ checked: option.id === currentValue,
289
+ })),
290
+ };
291
+ };
292
+ KupInputPanel.style = KupInputPanelStyle0;
293
+
294
+ export { KupInputPanel as kup_input_panel };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-460631fd.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-cdb4f21a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-dd24fb5a.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import './kup-dates-4ad48be7.js';
4
+ import './kup-dates-26a56bf7.js';
5
5
 
6
6
  /**
7
7
  * Props of the kup-lazy component.
@@ -134,39 +134,39 @@ const KupLazy = class {
134
134
  switch (this.componentName) {
135
135
  case 'kup-button':
136
136
  //call_to_action.svg
137
- resource = (h("svg", { key: '443fa9b66f9c77621cb7a377eb920bc60c59bde9', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '89cf45ecbcd72a193b5a34c767870de6c29c12ca', 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" })));
137
+ resource = (h("svg", { key: 'bca5daf712b40d11abe4f3b1856385844642acf1', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'ab212455b45b78bf981309de350b4b3619a288e9', 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" })));
138
138
  break;
139
139
  case 'kup-card':
140
140
  //art_track.svg
141
- resource = (h("svg", { key: 'dd9f6feeb37d8a9e35e7666bad5a01891f35379d', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '63a2e64edf16b4536a0229ea2a8bcc61b5edfd34', 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" })));
141
+ resource = (h("svg", { key: '1e266ffe7b2568dc6caa45592e86b73c7683cc16', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '14a4eb6f9c5b6772cd26ec29aef7b470e0fe6574', 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" })));
142
142
  break;
143
143
  case 'kup-checkbox':
144
144
  //check_box_outline_blank.svg
145
- resource = (h("svg", { key: '974137d7bdc5d82995437999b798c5b559a4dcbf', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'a74fe51dc66ed1f8780d52d99424f53cd6357877', 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" })));
145
+ resource = (h("svg", { key: 'd553613ffa5ee60014a4e89cf8e62ace3384f3a4', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'bf5a69068bc1f2142a0d4b451cf3cdceb16d7963', 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" })));
146
146
  break;
147
147
  case 'kup-chart':
148
148
  //chart-bar.svg
149
- resource = (h("svg", { key: '721b36d96e2b04b83a81cf90f3cf687983ab2cec', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '58b44e235faeec04c16fd483e06f2319d06c0d46', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
149
+ resource = (h("svg", { key: '51f3129e31571f6e7a8faf293a6f3e35ba7524e0', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '19085e9d52b14637127c1bafdb37beb5349d2300', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
150
150
  break;
151
151
  case 'kup-data-table':
152
152
  //table-large.svg
153
- resource = (h("svg", { key: 'f3afac4818e7716418876a9aa31fccef8ec01065', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '5f65fcb7cfe13a5ceb622277c0254ea5fc10cbfd', 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" })));
153
+ resource = (h("svg", { key: 'f7f187befb900356e7e589b3d169adff21791e35', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '4a53ed7568274a78be593b5ce8cd412747313725', 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" })));
154
154
  break;
155
155
  case 'kup-image':
156
156
  //photo.svg
157
- resource = (h("svg", { key: '9ef1ec66b4d9f1bfb857050c7675bc603a6e3c28', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'b7af93b41b90594b3796845fcdbfef1b58da2e9f', 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" })));
157
+ resource = (h("svg", { key: '587c27f674e8c3f153c9ed047ed605301a477621', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'e76e9b0410e3375d8d981396fdacc2f2c44dadf1', 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" })));
158
158
  break;
159
159
  case 'kup-progress-bar':
160
160
  //linear_scale.svg
161
- resource = (h("svg", { key: '927e099e9635eaa351c215038215b16c482cbb4e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '19b0203ffa92bef2fccfab60d1d371991f27e9fe', 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" })));
161
+ resource = (h("svg", { key: 'c7e82a2c18827a874acd6b8fe2dbcb4009ab3807', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '291ca07cfeced3bbbc92cb5ae7ac69375b640e22', 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" })));
162
162
  break;
163
163
  case 'kup-radio':
164
164
  //radio_button_unchecked.svg
165
- resource = (h("svg", { key: '54722f3674a50a06b25d6b522b3e6c16f17bc38f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '4072725741e4e13718719a58a04e7b38d970474c', 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" })));
165
+ resource = (h("svg", { key: 'd2f81e158dc86c4ef74ad7628ac376f7e0eacbe2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'fc4ec71ff460760866b3ad99db0d8cb9b8e3cd3b', 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" })));
166
166
  break;
167
167
  default:
168
168
  //art_track.svg
169
- resource = (h("svg", { key: '6f01bf46027c471e23977744437b772389f11373', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'a06e38a7b791a7bbbfdfa214410118c354db1bba', 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" })));
169
+ resource = (h("svg", { key: '8da82bcc100ef628d5f4bab0a8d28c06841270ca', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'f95db9cad4ee1973048e1a121cf84a8b0ecbce99', 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" })));
170
170
  break;
171
171
  }
172
172
  if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
@@ -175,14 +175,14 @@ const KupLazy = class {
175
175
  this.data &&
176
176
  this.isInViewport)) {
177
177
  let Tag = this.componentName;
178
- content = (h(Tag, Object.assign({ key: 'b11a009ad63262e8fd26d8e672fecb829b89d190' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
178
+ content = (h(Tag, Object.assign({ key: 'af0853700b7bbfdcfd01f500fe303816264b387f' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
179
179
  className += ' kup-loaded';
180
180
  }
181
181
  else if (this.showPlaceholder) {
182
182
  content = resource;
183
183
  className += ' kup-to-be-loaded';
184
184
  }
185
- return (h(Host, { key: 'c7c2773d030703d7034705075df18657481ecbe6', class: className }, h("style", { key: 'b83be89f8a9f9b394dba345e6b764361e890c8ed' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '262125d048ac9f2d99c2f6a3ccb99f8286a35e99', id: componentWrapperId }, content)));
185
+ return (h(Host, { key: '66562d25373ef498b4b82bc654752c894051ce6b', class: className }, h("style", { key: '7b314d53110ba9310ee1717f3b026da85e95e04d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '4e72e07e2acb78b1db0e0a69c8a3424ff14731ff', id: componentWrapperId }, content)));
186
186
  }
187
187
  disconnectedCallback() {
188
188
  var _a;
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-460631fd.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, d as KupDebugCategory, ai as kupDropEvent, N as kupDraggableColumnAttr, aj as kupDraggableRowAttr, U as KupDropEventTypes, c as KupThemeColorValues } from './kup-manager-cdb4f21a.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, l as KupLanguageGeneric, d as KupDebugCategory, ai as kupDropEvent, N as kupDraggableColumnAttr, aj as kupDraggableRowAttr, U as KupDropEventTypes, c as KupThemeColorValues } from './kup-manager-dd24fb5a.js';
3
3
  import { F as FButtonStyling } from './f-button-declarations-9bdc6f26.js';
4
- import { F as FImage } from './f-image-8b382cc5.js';
4
+ import { F as FImage } from './f-image-1e1ed567.js';
5
5
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
6
- import './kup-dates-4ad48be7.js';
6
+ import './kup-dates-26a56bf7.js';
7
7
 
8
8
  /**
9
9
  * Props of the kup-magic-box component.
@@ -287,11 +287,11 @@ const KupMagicBox = class {
287
287
  this.kupManager.debug.logRender(this, true);
288
288
  }
289
289
  render() {
290
- return (h(Host, { key: '79c487291987eeaa0dfd3127cd93e11bdd51a048' }, h("style", { key: '88d77f9029cbe5e112c41fad1e1a7c4fefdc06ef' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '59cbf333a260e3c2455c69d9717d088019a7ca53', id: componentWrapperId }, h("div", { key: 'e1a68e91de25ca426c7d029219fdaf98865c2a9f', class: "magic-box-wrapper" }, h("div", { key: '1db871607d685738ce9eb4ea99c7807aa0918a25', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '01e46100ea2c370e0079358921e8fa338434ff6e' }, this.comboboxProps())), h("kup-button", { key: '0ab7767d552bf4119db2ac2f5f69f574027eeebd', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
290
+ return (h(Host, { key: '212f73b08fa30db6822a33f61dd8d10fe5e0ae5c' }, h("style", { key: 'bd8dfa094092c2b010867f98d595320d59e120e8' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '29d97585aa1a3d0c8680912289153337c2c2a23c', id: componentWrapperId }, h("div", { key: 'fc73991d493f68a37690b4b9d8dbc45ff15e9c1a', class: "magic-box-wrapper" }, h("div", { key: '7f27dcf3a8916ea1007a263cff3a1b835ce39612', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '2f7303dd205ad6411c73e5ec5809632b12d134ca' }, this.comboboxProps())), h("kup-button", { key: 'ef696124673192ca35f7b71138f061c6e09a3f70', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
291
291
  this.data = null;
292
- } }), h("kup-button", { key: '26267a6c3e19b15725feda21eed43d9db3f2ddc4', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
292
+ } }), h("kup-button", { key: '09d63727c8500844e614606d5417f350cb2aebed', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
293
293
  this.kupManager.hideMagicBox();
294
- } })), h("div", { key: 'd5ec68498c68b205ce2c7247cd19e01b6a283230', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
294
+ } })), h("div", { key: 'aaa1d0f9e81041dfa3669bcb1222b937760c49aa', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
295
295
  }
296
296
  disconnectedCallback() {
297
297
  this.kupManager.interact.unregister([