@sme.up/ketchup 9.6.3 → 9.6.5

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 (268) hide show
  1. package/dist/cjs/{bar.helpers-f46a5a83.js → bar.helpers-c481a535.js} +45 -13
  2. package/dist/cjs/{f-button-9a0eba42.js → f-button-23ec3db5.js} +1 -1
  3. package/dist/cjs/{f-cell-1ad41071.js → f-cell-bcc51c0f.js} +9 -29
  4. package/dist/cjs/{f-chip-48851b4f.js → f-chip-63363ecf.js} +2 -2
  5. package/dist/cjs/{f-image-541e5f4d.js → f-image-f3944c01.js} +2 -5
  6. package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-60e05759.js} +3 -3
  7. package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-354b6c78.js} +1 -1
  8. package/dist/cjs/index.cjs.js +2 -2
  9. package/dist/cjs/ketchup.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  11. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +48 -48
  12. package/dist/cjs/kup-box.cjs.entry.js +8 -8
  13. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  14. package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
  15. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +256 -40
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
  18. package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
  19. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-editor.cjs.entry.js +2 -2
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  23. package/dist/cjs/kup-gantt_10.cjs.entry.js +105 -39
  24. package/dist/cjs/kup-grid.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-image-list.cjs.entry.js +21 -14
  27. package/dist/cjs/kup-input-panel.cjs.entry.js +444 -0
  28. package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
  30. package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-e1bfd4f8.js} +656 -121
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
  33. package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
  34. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
  35. package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
  36. package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-f001fad7.js} +56 -8
  37. package/dist/cjs/kup-planner-renderer.cjs.entry.js +44 -11
  38. package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js} +3 -0
  39. package/dist/cjs/kup-planner.cjs.entry.js +81 -9
  40. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  41. package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
  42. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/collection/assets/image-list.js +332 -2
  45. package/dist/collection/assets/index.js +8 -0
  46. package/dist/collection/assets/input-panel.js +480 -0
  47. package/dist/collection/assets/pdf.js +15 -0
  48. package/dist/collection/assets/planner-example-5.js +19 -7
  49. package/dist/collection/assets/planner-example-6.js +3 -0
  50. package/dist/collection/assets/planner.js +4 -3
  51. package/dist/collection/collection-manifest.json +2 -0
  52. package/dist/collection/components/kup-badge/kup-badge.css +4 -4
  53. package/dist/collection/components/kup-image-list/kup-image-list.css +37 -4
  54. package/dist/collection/components/kup-image-list/kup-image-list.js +15 -8
  55. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
  56. package/dist/collection/components/kup-input-panel/kup-input-panel.css +169 -0
  57. package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +346 -0
  58. package/dist/collection/components/kup-input-panel/kup-input-panel.js +669 -0
  59. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  60. package/dist/collection/components/kup-list/kup-list.js +1 -1
  61. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  62. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  63. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  64. package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
  65. package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
  66. package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
  67. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
  68. package/dist/collection/components/kup-planner/kup-planner-declarations.js +3 -0
  69. package/dist/collection/components/kup-planner/kup-planner-helper.js +42 -1
  70. package/dist/collection/components/kup-planner/kup-planner.js +191 -5
  71. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  72. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +103 -11
  73. package/dist/collection/components/kup-planner/utils/gantt-table.module.css +80 -2
  74. package/dist/collection/components/kup-planner/utils/helpers/bar.helpers.js +41 -13
  75. package/dist/collection/components/kup-planner/utils/helpers/other.helpers.js +3 -0
  76. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +10 -0
  77. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +61 -6
  78. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +32 -2
  79. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +4 -0
  80. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +208 -24
  81. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +4 -0
  82. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +131 -7
  83. package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +55 -6
  84. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +40 -7
  85. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +22 -15
  86. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +21 -5
  87. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +19 -3
  88. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  89. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  90. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +76 -2
  91. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  92. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  93. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  94. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  95. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  96. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  97. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  98. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  99. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  100. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  101. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  102. package/dist/collection/f-components/f-cell/f-cell.js +5 -24
  103. package/dist/collection/f-components/f-image/f-image.js +2 -5
  104. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
  105. package/dist/collection/types/GenericTypes.js +1 -0
  106. package/dist/components/_commonjsHelpers.js +26 -0
  107. package/dist/components/custom-task-list-header.js +2 -2
  108. package/dist/components/custom-task-list-table.js +58 -13
  109. package/dist/components/kup-autocomplete2.js +48 -70
  110. package/dist/components/kup-box2.js +1 -1
  111. package/dist/components/kup-calendar.js +2 -2
  112. package/dist/components/kup-cell.js +1 -1
  113. package/dist/components/kup-dashboard.js +1 -1
  114. package/dist/components/kup-dates.js +2 -6
  115. package/dist/components/kup-echart2.js +1 -1
  116. package/dist/components/kup-editor.js +1 -1
  117. package/dist/components/kup-gantt-calendar2.js +31 -1
  118. package/dist/components/kup-gantt2.js +26 -7
  119. package/dist/components/kup-grid-renderer2.js +219 -81
  120. package/dist/components/kup-grid2.js +1 -1
  121. package/dist/components/kup-horizontal-scroll2.js +48 -10
  122. package/dist/components/kup-iframe.js +1 -1
  123. package/dist/components/kup-image-list.js +15 -8
  124. package/dist/components/kup-input-panel.d.ts +11 -0
  125. package/dist/components/kup-input-panel.js +595 -0
  126. package/dist/components/kup-lazy.js +11 -11
  127. package/dist/components/kup-magic-box.js +4 -4
  128. package/dist/components/kup-manager.js +658 -122
  129. package/dist/components/kup-nav-bar.js +1 -1
  130. package/dist/components/kup-numeric-picker.js +2 -2
  131. package/dist/components/kup-pdf.d.ts +11 -0
  132. package/dist/components/kup-pdf.js +76756 -0
  133. package/dist/components/kup-photo-frame.js +2 -2
  134. package/dist/components/kup-planner-declarations.js +91 -0
  135. package/dist/components/kup-planner-renderer2.js +42 -9
  136. package/dist/components/kup-planner.js +86 -6
  137. package/dist/components/kup-probe.js +1 -1
  138. package/dist/components/kup-qlik.js +1 -1
  139. package/dist/components/kup-snackbar.js +1 -1
  140. package/dist/components/kup-standard-tooltip2.js +1 -1
  141. package/dist/components/kup-switcher2.js +19 -7
  142. package/dist/components/kup-task-gantt2.js +6 -4
  143. package/dist/components/kup-task-list-header2.js +7 -7
  144. package/dist/components/kup-task-list-table2.js +1 -1
  145. package/dist/components/kup-task-list2.js +434 -84
  146. package/dist/components/kup-tooltip2.js +1 -1
  147. package/dist/components/kup-vertical-scroll2.js +2 -2
  148. package/dist/components/other.helpers.js +47 -0
  149. package/dist/esm/{bar.helpers-0898efb9.js → bar.helpers-23a51579.js} +45 -14
  150. package/dist/esm/{f-button-45d690a5.js → f-button-d6dbcfd6.js} +1 -1
  151. package/dist/esm/{f-cell-63db06db.js → f-cell-7b41415c.js} +9 -29
  152. package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-68d27d7a.js} +2 -2
  153. package/dist/esm/{f-image-8b382cc5.js → f-image-a67229e5.js} +2 -5
  154. package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-8773e358.js} +3 -3
  155. package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-d364ffd2.js} +1 -1
  156. package/dist/esm/index.js +2 -2
  157. package/dist/esm/ketchup.js +1 -1
  158. package/dist/esm/kup-accordion.entry.js +3 -3
  159. package/dist/esm/kup-autocomplete_27.entry.js +48 -48
  160. package/dist/esm/kup-box.entry.js +8 -8
  161. package/dist/esm/kup-calendar.entry.js +5 -5
  162. package/dist/esm/kup-card-list.entry.js +2 -2
  163. package/dist/esm/kup-cell.entry.js +7 -7
  164. package/dist/esm/kup-custom-task-list-header_4.entry.js +256 -40
  165. package/dist/esm/kup-dashboard.entry.js +5 -5
  166. package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
  167. package/dist/esm/kup-drawer.entry.js +2 -2
  168. package/dist/esm/kup-echart.entry.js +2 -2
  169. package/dist/esm/kup-editor.entry.js +2 -2
  170. package/dist/esm/kup-family-tree.entry.js +4 -4
  171. package/dist/esm/kup-gantt_10.entry.js +106 -40
  172. package/dist/esm/kup-grid.entry.js +2 -2
  173. package/dist/esm/kup-iframe.entry.js +2 -2
  174. package/dist/esm/kup-image-list.entry.js +21 -14
  175. package/dist/esm/kup-input-panel.entry.js +440 -0
  176. package/dist/esm/kup-lazy.entry.js +13 -13
  177. package/dist/esm/kup-magic-box.entry.js +6 -6
  178. package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-a316a70e.js} +656 -121
  179. package/dist/esm/kup-nav-bar.entry.js +3 -3
  180. package/dist/esm/kup-numeric-picker.entry.js +4 -4
  181. package/dist/esm/kup-pdf.entry.js +76596 -0
  182. package/dist/esm/kup-photo-frame.entry.js +4 -4
  183. package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
  184. package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-a2ec9a1c.js} +57 -8
  185. package/dist/esm/kup-planner-renderer.entry.js +44 -11
  186. package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
  187. package/dist/esm/kup-planner.entry.js +81 -9
  188. package/dist/esm/kup-probe.entry.js +3 -3
  189. package/dist/esm/kup-qlik.entry.js +3 -3
  190. package/dist/esm/kup-snackbar.entry.js +5 -5
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/ketchup/index.esm.js +1 -1
  193. package/dist/ketchup/ketchup.esm.js +1 -1
  194. package/dist/ketchup/p-008bdcdc.js +1 -0
  195. package/dist/ketchup/p-042e874a.entry.js +1 -0
  196. package/dist/ketchup/{p-837bd0a6.entry.js → p-074ccd53.entry.js} +1 -1
  197. package/dist/ketchup/{p-41e8402e.entry.js → p-1088ab22.entry.js} +1 -1
  198. package/dist/ketchup/{p-d9284d98.entry.js → p-1bcac01f.entry.js} +1 -1
  199. package/dist/ketchup/{p-e0a1fbe7.entry.js → p-1e028d95.entry.js} +1 -1
  200. package/dist/ketchup/p-25058baa.js +1 -0
  201. package/dist/ketchup/{p-cbe42afd.entry.js → p-2932e7e8.entry.js} +1 -1
  202. package/dist/ketchup/{p-1cd48eea.entry.js → p-2b84db7b.entry.js} +1 -1
  203. package/dist/ketchup/{p-d608f866.entry.js → p-2ef90f60.entry.js} +1 -1
  204. package/dist/ketchup/{p-bedabdb5.js → p-339bbeae.js} +1 -1
  205. package/dist/ketchup/{p-157f0e89.entry.js → p-48e45ac0.entry.js} +1 -1
  206. package/dist/ketchup/p-53af4c87.js +1 -0
  207. package/dist/ketchup/{p-4dfc5927.entry.js → p-556f7ddc.entry.js} +1 -1
  208. package/dist/ketchup/{p-cc7352a8.entry.js → p-5f7d8c21.entry.js} +1 -1
  209. package/dist/ketchup/{p-e0c10de2.entry.js → p-6362738c.entry.js} +1 -1
  210. package/dist/ketchup/{p-ad6a3c2a.entry.js → p-65e363c6.entry.js} +1 -1
  211. package/dist/ketchup/p-6921bc81.entry.js +16 -0
  212. package/dist/ketchup/p-6961e0ce.entry.js +1 -0
  213. package/dist/ketchup/p-7123d2a4.entry.js +1 -0
  214. package/dist/ketchup/{p-a5074ce4.js → p-801776bc.js} +1 -1
  215. package/dist/ketchup/{p-ca8a1f53.entry.js → p-81645576.entry.js} +1 -1
  216. package/dist/ketchup/p-838dea62.js +1 -0
  217. package/dist/ketchup/{p-924b841b.js → p-84b511e1.js} +1 -1
  218. package/dist/ketchup/{p-9a856951.js → p-8d4050ec.js} +4 -4
  219. package/dist/ketchup/{p-1474852d.entry.js → p-9e2533e1.entry.js} +1 -1
  220. package/dist/ketchup/{p-c6b34763.entry.js → p-a06974a3.entry.js} +1 -1
  221. package/dist/ketchup/p-a6beb822.js +1 -0
  222. package/dist/ketchup/p-abe181d0.entry.js +1 -0
  223. package/dist/ketchup/{p-ba0f28b7.js → p-b3540f83.js} +1 -1
  224. package/dist/ketchup/{p-b6a21b6a.entry.js → p-c702eb45.entry.js} +1 -1
  225. package/dist/ketchup/{p-090e5097.entry.js → p-ccb6dbb0.entry.js} +1 -1
  226. package/dist/ketchup/{p-d839ce21.entry.js → p-cf44485a.entry.js} +2 -2
  227. package/dist/ketchup/p-d2001dec.entry.js +44 -0
  228. package/dist/ketchup/{p-e508b2fd.entry.js → p-dbb6cd8d.entry.js} +1 -1
  229. package/dist/ketchup/p-eb8ea3a6.js +1 -0
  230. package/dist/ketchup/{p-590c34bc.js → p-f6c8f006.js} +1 -1
  231. package/dist/ketchup/{p-4c100286.entry.js → p-f79ffe77.entry.js} +1 -1
  232. package/dist/ketchup/{p-31c0cfc0.entry.js → p-fdcfaedd.entry.js} +1 -1
  233. package/dist/ketchup/p-fe75ede2.entry.js +1 -0
  234. package/dist/types/components/kup-image-list/kup-image-list.d.ts +1 -1
  235. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +81 -0
  236. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
  237. package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
  238. package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
  239. package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +29 -2
  240. package/dist/types/components/kup-planner/kup-planner-helper.d.ts +2 -1
  241. package/dist/types/components/kup-planner/kup-planner.d.ts +38 -0
  242. package/dist/types/components/kup-planner/utils/custom-task-list-table.d.ts +7 -0
  243. package/dist/types/components/kup-planner/utils/helpers/bar.helpers.d.ts +1 -1
  244. package/dist/types/components/kup-planner/utils/helpers/other.helpers.d.ts +1 -0
  245. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +6 -0
  246. package/dist/types/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.d.ts +1 -0
  247. package/dist/types/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.d.ts +13 -1
  248. package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +7 -0
  249. package/dist/types/components/kup-planner/utils/kup-planner-renderer-helper.d.ts +6 -2
  250. package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +1 -0
  251. package/dist/types/components/kup-planner/utils/kup-switcher/kup-switcher.d.ts +3 -1
  252. package/dist/types/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.d.ts +1 -0
  253. package/dist/types/components/kup-planner/utils/kup-task-list/kup-task-list.d.ts +4 -0
  254. package/dist/types/components.d.ts +266 -2
  255. package/dist/types/types/GenericTypes.d.ts +1 -0
  256. package/package.json +2 -1
  257. package/dist/components/kup-planner-renderer-helper.js +0 -379
  258. package/dist/ketchup/p-21351b19.entry.js +0 -1
  259. package/dist/ketchup/p-2b40d9b9.entry.js +0 -1
  260. package/dist/ketchup/p-5c79cb74.js +0 -1
  261. package/dist/ketchup/p-670354ef.entry.js +0 -1
  262. package/dist/ketchup/p-8e3b6de8.js +0 -1
  263. package/dist/ketchup/p-935f58fc.js +0 -1
  264. package/dist/ketchup/p-9852b1e9.js +0 -1
  265. package/dist/ketchup/p-ca42a421.entry.js +0 -16
  266. package/dist/ketchup/p-d50515f7.js +0 -1
  267. package/dist/ketchup/p-e841c2ae.js +0 -1
  268. package/dist/ketchup/p-ec4050e1.entry.js +0 -1
@@ -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-a316a70e.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-photo-frame component.
@@ -116,9 +116,9 @@ const KupPhotoFrame = class {
116
116
  if (this.isInViewport && !__classPrivateFieldGet(this, _KupPhotoFrame_renderResource, "f")) {
117
117
  __classPrivateFieldSet(this, _KupPhotoFrame_renderResource, true, "f");
118
118
  }
119
- return (h(Host, { key: '6c00ea47c4d5d38086cebc033c69938c21fbd2aa' }, h("style", { key: '0efdcd6f886f5dd5dd2f773e5bd1420b5c01d1f7' }, __classPrivateFieldGet(this, _KupPhotoFrame_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'a760ffb8b7cd901b3fb695f5bfcfcd5b09e7888f', id: componentWrapperId, ref: (el) => {
119
+ return (h(Host, { key: 'd6d82199e94a278a68fcd3bcb2e128f4714f7dcd' }, h("style", { key: 'ba1ceb0cd797d7a3a7808d7b2cd4849193faff42' }, __classPrivateFieldGet(this, _KupPhotoFrame_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '4701a46d03923c418672ed93098d5bde32ae38ae', id: componentWrapperId, ref: (el) => {
120
120
  __classPrivateFieldSet(this, _KupPhotoFrame_wrapperEl, el, "f");
121
- } }, h("img", Object.assign({ key: '2c2d9a4843488612240a96c16eeb6cbf30929c21' }, this.placeholderAttrs, { class: "placeholder", ref: (el) => (__classPrivateFieldSet(this, _KupPhotoFrame_placeholderEl, el, "f")), onLoad: () => {
121
+ } }, h("img", Object.assign({ key: '451b86c100861cb4b72cfc2575e2c7ad6da3b6ee' }, this.placeholderAttrs, { class: "placeholder", ref: (el) => (__classPrivateFieldSet(this, _KupPhotoFrame_placeholderEl, el, "f")), onLoad: () => {
122
122
  if (__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalWidth >
123
123
  __classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalHeight) {
124
124
  __classPrivateFieldGet(this, _KupPhotoFrame_wrapperEl, "f").classList.add('horizontal');
@@ -47,6 +47,8 @@ var KupPlannerTaskAction;
47
47
  KupPlannerTaskAction["onDblClick"] = "onDblClick";
48
48
  KupPlannerTaskAction["onResize"] = "onResize";
49
49
  KupPlannerTaskAction["onRightClick"] = "onRightClick";
50
+ KupPlannerTaskAction["onPhase"] = "onPhase";
51
+ KupPlannerTaskAction["onTask"] = "onTask";
50
52
  })(KupPlannerTaskAction || (KupPlannerTaskAction = {}));
51
53
  var KupPlannerGanttRowType;
52
54
  (function (KupPlannerGanttRowType) {
@@ -81,6 +83,7 @@ const defaultStylingOptions = {
81
83
  barProgressSelectedColor: '#A2A415',
82
84
  barBackgroundColor: '#A2A415',
83
85
  barBackgroundSelectedColor: '#A2A415',
86
+ barDropZoneColor: '#4d9f0240'
84
87
  };
85
88
  const KUP_PLANNER_MAIN_GANTT_ID = 'main';
86
89
  const KUP_PLANNER_SECONDARY_GANTT_ID = 'secondary';
@@ -1,4 +1,4 @@
1
- import { b as KupDates } from './kup-dates-4ad48be7.js';
1
+ import { b as KupDates } from './kup-dates-26a56bf7.js';
2
2
 
3
3
  const columnWidthForTimeUnit = (timeUnit) => {
4
4
  switch (timeUnit) {
@@ -37,10 +37,10 @@ const isDetail = (row) => {
37
37
  row.schedule &&
38
38
  row.schedule.length !== 0);
39
39
  };
40
- const mergeTaskIntoProjects = (projects, { id, start, end }) => projects.map((project) => project.id === id ? withNewDates(project, start, end) : project);
41
- const mergeTaskIntoPhases = (phases, { id, start, end }) => {
40
+ const mergeTaskIntoProjects = (projects, { id, start, end, startHour, endHour }) => projects.map((project) => project.id === id ? withNewDates(project, start, end, startHour, endHour) : project);
41
+ const mergeTaskIntoPhases = (phases, { id, start, end, startHour, endHour }) => {
42
42
  if (phases) {
43
- return phases.map((phase) => phase.id === id ? withNewDates(phase, start, end) : phase);
43
+ return phases.map((phase) => phase.id === id ? withNewDates(phase, start, end, startHour, endHour) : phase);
44
44
  }
45
45
  return undefined;
46
46
  };
@@ -78,6 +78,10 @@ const convertProjectToTasks = (item, mainGanttStartDate, mainGanttEndDate) => {
78
78
  isDisabled: false,
79
79
  hideChildren: false,
80
80
  icon: row.icon,
81
+ startHour: item.startHour,
82
+ endHour: item.endHour,
83
+ secondaryStartHour: item.secondaryStartHour,
84
+ secondaryEndHour: item.secondaryEndHour
81
85
  };
82
86
  const children1 = ((_a = row.phases) !== null && _a !== void 0 ? _a : []).map(convertPhaseToTask);
83
87
  return [mainTask, ...children1];
@@ -90,7 +94,7 @@ const convertProjectToTasks = (item, mainGanttStartDate, mainGanttEndDate) => {
90
94
  }
91
95
  };
92
96
  const convertPhaseToTask = (item) => {
93
- const mapPhase = ({ startDate: phaseStart, endDate: phaseEnd, secondaryStartDate, secondaryEndDate, name: phaseName, id: phaseId, color, selectedColor, dependencies, icon, }) => {
97
+ const mapPhase = ({ startDate: phaseStart, endDate: phaseEnd, secondaryStartDate, secondaryEndDate, name: phaseName, id: phaseId, color, selectedColor, dependencies, icon, startHour, endHour, secondaryStartHour, secondaryEndHour, }) => {
94
98
  const kupDates = new KupDates();
95
99
  const { start, end } = kupDates.validDates(phaseStart, phaseEnd, phaseName);
96
100
  const { start: phaseStart2, end: phaseEnd2 } = kupDates.validDates(secondaryStartDate, secondaryEndDate, phaseName);
@@ -117,6 +121,10 @@ const convertPhaseToTask = (item) => {
117
121
  }
118
122
  : {},
119
123
  icon,
124
+ startHour,
125
+ endHour,
126
+ secondaryStartHour,
127
+ secondaryEndHour,
120
128
  };
121
129
  };
122
130
  return mapPhase(item);
@@ -170,11 +178,11 @@ const convertDetailToTimeline = (item, mainGanttStartDate, mainGanttEndDate) =>
170
178
  };
171
179
  };
172
180
  /** Return a shallow copy, with the dates updated */
173
- const withNewDates = (p, start, end) => {
181
+ const withNewDates = (p, start, end, startHour, endHour) => {
174
182
  const kupDates = new KupDates();
175
183
  const startDate = kupDates.formatToIsoDate(start);
176
184
  const endDate = kupDates.formatToIsoDate(end);
177
- const extra = { startDate, endDate };
185
+ const extra = { startDate, endDate, startHour, endHour };
178
186
  return Object.assign(Object.assign({}, p), extra);
179
187
  };
180
188
  /**
@@ -212,6 +220,10 @@ const ganttDateRangeFromGanttTask = (tasks, viewMode, preStepsCount, showSeconda
212
220
  end: kupDates.parseToDayEnd(item.endDate),
213
221
  secondaryStart: kupDates.parseToDayStart(item.secondaryStartDate),
214
222
  secondaryEnd: kupDates.parseToDayEnd(item.secondaryEndDate),
223
+ startHour: item.startHour,
224
+ endHour: item.endHour,
225
+ secondaryStartHour: item.secondaryStartHour,
226
+ secondaryEndHour: item.secondaryEndHour
215
227
  });
216
228
  (_a = item.phases) === null || _a === void 0 ? void 0 : _a.forEach((phase) => {
217
229
  dates.push({
@@ -219,6 +231,10 @@ const ganttDateRangeFromGanttTask = (tasks, viewMode, preStepsCount, showSeconda
219
231
  end: kupDates.parseToDayEnd(phase.endDate),
220
232
  secondaryStart: kupDates.parseToDayStart(phase.secondaryStartDate),
221
233
  secondaryEnd: kupDates.parseToDayEnd(phase.secondaryEndDate),
234
+ startHour: item.startHour,
235
+ endHour: item.endHour,
236
+ secondaryStartHour: item.secondaryStartHour,
237
+ secondaryEndHour: item.secondaryEndHour
222
238
  });
223
239
  });
224
240
  });
@@ -271,6 +287,32 @@ const ganttDateRangeGeneric = (dates, viewMode, preStepsCount, showSecondaryDate
271
287
  newEndDate = startOfDate(newEndDate, 'day');
272
288
  newEndDate = addToDate(newEndDate, 19, 'day');
273
289
  break;
290
+ case 'hour':
291
+ newStartDate = startOfDate(newStartDate, "hour");
292
+ newStartDate = addToDate(newStartDate, -1 * preStepsCount, "hour");
293
+ newEndDate = startOfDate(newEndDate, "day");
294
+ newEndDate = addToDate(newEndDate, 1, "day");
295
+ break;
296
+ /*
297
+ case ViewMode.QuarterDay:
298
+ newStartDate = startOfDate(newStartDate, "day");
299
+ newStartDate = addToDate(newStartDate, -1 * preStepsCount, "day");
300
+ newEndDate = startOfDate(newEndDate, "day");
301
+ newEndDate = addToDate(newEndDate, 66, "hour"); // 24(1 day)*3 - 6
302
+ break;
303
+ case ViewMode.HalfDay:
304
+ newStartDate = startOfDate(newStartDate, "day");
305
+ newStartDate = addToDate(newStartDate, -1 * preStepsCount, "day");
306
+ newEndDate = startOfDate(newEndDate, "day");
307
+ newEndDate = addToDate(newEndDate, 108, "hour"); // 24(1 day)*5 - 12
308
+ break;
309
+ case ViewMode.Hour:
310
+ newStartDate = startOfDate(newStartDate, "hour");
311
+ newStartDate = addToDate(newStartDate, -1 * preStepsCount, "hour");
312
+ newEndDate = startOfDate(newEndDate, "day");
313
+ newEndDate = addToDate(newEndDate, 1, "day");
314
+ break;
315
+ */
274
316
  }
275
317
  return [newStartDate, newEndDate];
276
318
  };
@@ -330,6 +372,10 @@ const ganttDateRangeFromTask = (tasks, viewMode, preStepsCount, showSecondaryDat
330
372
  end: item.end,
331
373
  secondaryStart: item.secondaryStart,
332
374
  secondaryEnd: item.secondaryEnd,
375
+ startHour: item.startHour,
376
+ endHour: item.endHour,
377
+ secondaryStartHour: item.secondaryStartHour,
378
+ secondaryEndHour: item.secondaryEndHour
333
379
  });
334
380
  });
335
381
  if (mainGanttStartDate && mainGanttEndDate) {
@@ -359,6 +405,9 @@ const seedDates = (startDate, endDate, viewMode) => {
359
405
  case 'day':
360
406
  currentDate = addToDate(currentDate, 1, 'day');
361
407
  break;
408
+ case 'hour':
409
+ currentDate = addToDate(currentDate, 1, "hour");
410
+ break;
362
411
  /*
363
412
  case ViewMode.HalfDay:
364
413
  currentDate = addToDate(currentDate, 12, "hour");
@@ -376,4 +425,4 @@ const seedDates = (startDate, endDate, viewMode) => {
376
425
  return dates;
377
426
  };
378
427
 
379
- export { convertProjectToTasks as a, getProjectById as b, calculateDisplayedDateRange as c, mergeTaskIntoPhases as d, columnWidthForTimeUnit as e, ganttDateRangeFromTask as f, getPhaseById as g, addToDate as h, mergeTaskIntoProjects as m, seedDates as s };
428
+ export { convertProjectToTasks as a, getProjectById as b, calculateDisplayedDateRange as c, mergeTaskIntoPhases as d, columnWidthForTimeUnit as e, ganttDateRangeFromTask as f, getPhaseById as g, mergeTaskIntoProjects as m, seedDates as s };
@@ -1,8 +1,8 @@
1
1
  import { h, r as registerInstance, d as getElement } from './index-460631fd.js';
2
- import { c as calculateDisplayedDateRange, a as convertProjectToTasks, g as getPhaseById, m as mergeTaskIntoProjects, b as getProjectById, d as mergeTaskIntoPhases, e as columnWidthForTimeUnit } from './kup-planner-renderer-helper-da0518be.js';
3
- import { e as KUP_PLANNER_MAIN_GANTT_ID, f as KUP_PLANNER_SECONDARY_GANTT_ID } from './kup-planner-declarations-b9345758.js';
4
- import { b as KupDates } from './kup-dates-4ad48be7.js';
5
- import { g as ganttDateTimeFormatters } from './kup-planner-time-formatter-a68e05ba.js';
2
+ import { c as calculateDisplayedDateRange, a as convertProjectToTasks, g as getPhaseById, m as mergeTaskIntoProjects, b as getProjectById, d as mergeTaskIntoPhases, e as columnWidthForTimeUnit } from './kup-planner-renderer-helper-a2ec9a1c.js';
3
+ import { e as KUP_PLANNER_MAIN_GANTT_ID, f as KUP_PLANNER_SECONDARY_GANTT_ID } from './kup-planner-declarations-398babf9.js';
4
+ import { b as KupDates } from './kup-dates-26a56bf7.js';
5
+ import { g as ganttDateTimeFormatters } from './kup-planner-time-formatter-ddf84f9b.js';
6
6
 
7
7
  const CustomTooltipHOC = () => {
8
8
  const CustomTooltip = () => h("div", null);
@@ -65,14 +65,14 @@ const KupPlannerRenderer = class {
65
65
  }
66
66
  //---- Lifecycle hooks ----
67
67
  componentWillLoad() {
68
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
68
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
69
69
  this.timeUnit = (_a = this.props) === null || _a === void 0 ? void 0 : _a.viewMode;
70
70
  this.currentTasks = ((_b = this.props) === null || _b === void 0 ? void 0 : _b.mainGantt.items) || [];
71
71
  this.currentDetails = (_d = (_c = this.props) === null || _c === void 0 ? void 0 : _c.secondaryGantt) === null || _d === void 0 ? void 0 : _d.items;
72
- this.scrollX = ((_f = (_e = this.props) === null || _e === void 0 ? void 0 : _e.mainGantt) === null || _f === void 0 ? void 0 : _f.initialScrollX) || -1;
72
+ this.scrollX = (_g = (_f = (_e = this.props) === null || _e === void 0 ? void 0 : _e.mainGantt) === null || _f === void 0 ? void 0 : _f.initialScrollX) !== null && _g !== void 0 ? _g : -1;
73
73
  this.mainGanttDoubleView =
74
- (_j = (_h = (_g = this.props) === null || _g === void 0 ? void 0 : _g.mainGantt) === null || _h === void 0 ? void 0 : _h.showSecondaryDates) !== null && _j !== void 0 ? _j : false;
75
- this.displayedDates = calculateDisplayedDateRange(this.currentTasks, this.timeUnit, this.mainGanttDoubleView, this.currentDetails, (_k = this.props) === null || _k === void 0 ? void 0 : _k.preStepsCount);
74
+ (_k = (_j = (_h = this.props) === null || _h === void 0 ? void 0 : _h.mainGantt) === null || _j === void 0 ? void 0 : _j.showSecondaryDates) !== null && _k !== void 0 ? _k : false;
75
+ this.displayedDates = calculateDisplayedDateRange(this.currentTasks, this.timeUnit, this.mainGanttDoubleView, this.currentDetails, (_l = this.props) === null || _l === void 0 ? void 0 : _l.preStepsCount);
76
76
  this.viewDate = undefined;
77
77
  this.projection = undefined;
78
78
  this.updateTasks();
@@ -189,6 +189,31 @@ const KupPlannerRenderer = class {
189
189
  // Use setTimeout to ensure DOM updates
190
190
  setTimeout(this.getScrollX, 500);
191
191
  }
192
+ // Handle phase drop
193
+ handlePhaseDrop(originalPhaseData,
194
+ // originalTaskData: KupPlannerGanttTaskN | KupPlannerItemDetail,
195
+ finalPhaseData, destinationData, onPhaseDrop) {
196
+ // Invoke callback
197
+ let row = undefined;
198
+ const currentProjects = this.currentTasks;
199
+ const parentOfClickedPhase = currentProjects.find((p) => { var _a; return (_a = p.phases) === null || _a === void 0 ? void 0 : _a.some((ph) => (ph === null || ph === void 0 ? void 0 : ph.id) === finalPhaseData.id); });
200
+ if (parentOfClickedPhase) {
201
+ const phases = mergeTaskIntoPhases(parentOfClickedPhase.phases, finalPhaseData);
202
+ const updatedProjects = currentProjects.map((p) => p.id === parentOfClickedPhase.id ? Object.assign(Object.assign({}, p), { phases }) : p);
203
+ row = getPhaseById(finalPhaseData.id, updatedProjects);
204
+ }
205
+ row === null || row === void 0 ? true : delete row['taskRow'];
206
+ onPhaseDrop === null || onPhaseDrop === void 0 ? void 0 : onPhaseDrop({
207
+ originalPhaseData,
208
+ // originalTaskData,
209
+ finalPhaseData: row,
210
+ destinationData,
211
+ });
212
+ // to move the phase back to its original position
213
+ this.currentTasks = JSON.parse(JSON.stringify(this.currentTasks));
214
+ // Use setTimeout to ensure DOM updates
215
+ setTimeout(this.getScrollX, 500);
216
+ }
192
217
  // Get scrollX
193
218
  getScrollX() {
194
219
  var _a, _b, _c;
@@ -201,7 +226,7 @@ const KupPlannerRenderer = class {
201
226
  }
202
227
  render() {
203
228
  var _a, _b, _c;
204
- return (h("div", { key: '819b9d89b953274cacccee9bf2022575743e0d27', class: "planner-render" }, h("kup-switcher", { key: 'eebcce029f98a9f08cab9c96be0bad01999b7f95', timeUnitChange: (timeUnit) => {
229
+ return (h("div", { key: 'ca2bc5b1e398639943fc073b92035b83d304dee1', class: "planner-render" }, h("kup-switcher", { key: '02903e6f1d14536cc3e82e535f98f56761004051', timeUnitChange: (timeUnit) => {
205
230
  var _a, _b;
206
231
  (_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
207
232
  this.timeUnit = timeUnit;
@@ -234,7 +259,15 @@ const KupPlannerRenderer = class {
234
259
  if (row) {
235
260
  this.handleContextMenu(event, row, this.props.mainGantt.onContextMenu);
236
261
  }
237
- }, dateChange: (task) => this.handleDateChange(task, this.currentTasks, this.props.mainGantt.onDateChange), locale: this.locale, dateTimeFormatters: ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.mainGantt.initialScrollY, readOnly: this.props.mainGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.mainGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.mainGantt.onClick, ganttOnDblClick: this.props.mainGantt.onDblClick, ganttonOnContextMenu: this.props.mainGantt.onContextMenu, label: this.props.mainGantt.title, doubleView: (_b = this.mainGanttDoubleView) !== null && _b !== void 0 ? _b : false, setDoubleView: this.handleSetDoubleView.bind(this) })), this.props.secondaryGantt && (h("kup-gantt", Object.assign({ ref: (el) => (this.secondaryGantt = el), ganttId: KUP_PLANNER_SECONDARY_GANTT_ID, key: KUP_PLANNER_SECONDARY_GANTT_ID, filter: this.props.secondaryGantt.filter, hideLabel: this.props.secondaryGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.secondaryGantt.hideDependencies, ganttHeight: this.props.secondaryGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.details, columnWidth: columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.secondaryGantt.stylingOptions, { TaskListHeader: this.props.secondaryGantt
262
+ }, dateChange: (task) => this.handleDateChange(task, this.currentTasks, this.props.mainGantt.onDateChange), locale: this.locale, dateTimeFormatters: ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.mainGantt.initialScrollY, readOnly: this.props.mainGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.mainGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.mainGantt.onClick, ganttOnDblClick: this.props.mainGantt.onDblClick, ganttonOnContextMenu: this.props.mainGantt.onContextMenu, label: this.props.mainGantt.title, doubleView: (_b = this.mainGanttDoubleView) !== null && _b !== void 0 ? _b : false, setDoubleView: this.handleSetDoubleView.bind(this), scrollableTaskList: this.props.scrollableTaskList, phaseDrop: (originalPhaseData, originalTaskData, finalPhaseData, destinationData) => {
263
+ const originalPhase = getPhaseById(originalPhaseData.id, this.currentTasks);
264
+ getProjectById(originalTaskData.id, this.currentTasks);
265
+ getPhaseById(finalPhaseData.id, this.currentTasks);
266
+ const destinationTask = getProjectById(destinationData.id, this.currentTasks);
267
+ this.handlePhaseDrop(originalPhase,
268
+ // originalTask,
269
+ finalPhaseData, destinationTask, this.props.mainGantt.onPhaseDrop);
270
+ } })), this.props.secondaryGantt && (h("kup-gantt", Object.assign({ ref: (el) => (this.secondaryGantt = el), ganttId: KUP_PLANNER_SECONDARY_GANTT_ID, key: KUP_PLANNER_SECONDARY_GANTT_ID, filter: this.props.secondaryGantt.filter, hideLabel: this.props.secondaryGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.secondaryGantt.hideDependencies, ganttHeight: this.props.secondaryGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.details, columnWidth: columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.secondaryGantt.stylingOptions, { TaskListHeader: this.props.secondaryGantt
238
271
  .taskListHeaderProject, TaskListTable: this.props.secondaryGantt
239
272
  .taskListTableProject, TooltipContent: (_c = this.props.secondaryGantt.tooltipContent) !== null && _c !== void 0 ? _c : CustomTooltipHOC(), projection: this.projection, barClick: (task) => {
240
273
  if (this.props.secondaryGantt) {
@@ -264,7 +297,7 @@ const KupPlannerRenderer = class {
264
297
  }
265
298
  }
266
299
  }, dateChange: (task) => this.handleDateChange(task, this
267
- .currentTasks, this.props.secondaryGantt.onDateChange), locale: this.locale, dateTimeFormatters: ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.secondaryGantt.initialScrollY, readOnly: this.props.secondaryGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.secondaryGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.secondaryGantt.onClick, ganttOnDblClick: this.props.secondaryGantt.onDblClick, ganttonOnContextMenu: this.props.secondaryGantt.onContextMenu, label: this.props.secondaryGantt.title })))))));
300
+ .currentTasks, this.props.secondaryGantt.onDateChange), locale: this.locale, dateTimeFormatters: ganttDateTimeFormatters, initialScrollX: this.scrollX, initialScrollY: this.props.secondaryGantt.initialScrollY, readOnly: this.props.secondaryGantt.readOnly, scrollXChange: this.props.onScrollX, scrollYChange: this.props.secondaryGantt.onScrollY, currentTasks: this.currentTasks, handleClick: this.handleClick.bind(this), handleDblClick: this.handleDblClick.bind(this), handleContextMenu: this.handleContextMenu.bind(this), ganttOnClick: this.props.secondaryGantt.onClick, ganttOnDblClick: this.props.secondaryGantt.onDblClick, ganttonOnContextMenu: this.props.secondaryGantt.onContextMenu, label: this.props.secondaryGantt.title, scrollableTaskList: this.props.scrollableTaskList })))))));
268
301
  }
269
302
  get rootElement() { return getElement(this); }
270
303
  static get watchers() { return {
@@ -86,4 +86,4 @@ const getWeekNumberISO8601 = (date) => {
86
86
  }
87
87
  };
88
88
 
89
- export { getDaysInMonth as a, defaultDateTimeFormatters as d, ganttDateTimeFormatters as g };
89
+ export { getDaysInMonth as a, getCachedDateTimeFormat as b, getLocalDayOfWeek as c, defaultDateTimeFormatters as d, getLocaleMonth as e, ganttDateTimeFormatters as g };
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-460631fd.js';
2
- import { k as kupManagerInstance, ac as getCellValueForDisplay, g as getProps, s as setProps, a as KupThemeIconValues, D as KupLanguageSearch } from './kup-manager-cdb4f21a.js';
3
- import { K as KupPlannerGanttRowType, d as defaultStylingOptions, a as KupPlannerTaskAction, b as KupPlannerLastOnChangeReceived, c as KupPlannerProps } from './kup-planner-declarations-b9345758.js';
2
+ import { k as kupManagerInstance, ac as getCellValueForDisplay, g as getProps, s as setProps, a as KupThemeIconValues, D as KupLanguageSearch } from './kup-manager-a316a70e.js';
3
+ import { K as KupPlannerGanttRowType, d as defaultStylingOptions, a as KupPlannerTaskAction, b as KupPlannerLastOnChangeReceived, c as KupPlannerProps } from './kup-planner-declarations-398babf9.js';
4
4
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
5
- import { K as KupDatesFormats } from './kup-dates-4ad48be7.js';
6
- import { F as FTextField } from './f-text-field-b5fcb598.js';
5
+ import { K as KupDatesFormats } from './kup-dates-26a56bf7.js';
6
+ import { F as FTextField } from './f-text-field-d364ffd2.js';
7
7
  import { F as FTextFieldMDC } from './f-text-field-mdc-c88bf688.js';
8
8
  import './component-879e99bf.js';
9
9
 
10
10
  const kupManager = kupManagerInstance();
11
- function sanitizeAllDates(startDateCell, endDateCell, secStartDateCell, secEndDateCell) {
11
+ function sanitizeAllDates(startDateCell, endDateCell, secStartDateCell, secEndDateCell, startHourCell, endHourCell, secStartHourCell, secEndHourCell) {
12
12
  const sanitizedDateValues = sanitizeDates(startDateCell, endDateCell);
13
13
  let sanitizedSecDateValues = [];
14
14
  if (secStartDateCell && secEndDateCell) {
@@ -19,9 +19,29 @@ function sanitizeAllDates(startDateCell, endDateCell, secStartDateCell, secEndDa
19
19
  sanitizedSecDateValues = [...sanitizedDateValues];
20
20
  }
21
21
  }
22
+ let sanitizedHourValues = [];
23
+ if (startHourCell && endHourCell) {
24
+ if (isAtLeastOneHourValid(startHourCell, endHourCell)) {
25
+ sanitizedHourValues = sanitizeHours(startHourCell, endHourCell);
26
+ }
27
+ else {
28
+ sanitizedSecDateValues = [...sanitizedDateValues];
29
+ }
30
+ }
31
+ let sanitizedSecHourValues = [];
32
+ if (secStartHourCell && secEndHourCell) {
33
+ if (isAtLeastOneHourValid(secStartHourCell, secEndHourCell)) {
34
+ sanitizedSecHourValues = sanitizeHours(secStartHourCell, secEndHourCell);
35
+ }
36
+ else {
37
+ sanitizedSecDateValues = [...sanitizedDateValues];
38
+ }
39
+ }
22
40
  return {
23
41
  dateValues: sanitizedDateValues,
24
42
  secDateValues: sanitizedSecDateValues,
43
+ hourValues: sanitizedHourValues,
44
+ secHourValues: sanitizedSecHourValues
25
45
  };
26
46
  }
27
47
  function sanitizeDates(startDateCell, endDateCell) {
@@ -39,13 +59,34 @@ function sanitizeDates(startDateCell, endDateCell) {
39
59
  return returnValues;
40
60
  }
41
61
  }
62
+ function sanitizeHours(startHourCell, endHourCell) {
63
+ let returnValues = [startHourCell.value, endHourCell.value];
64
+ if (isHourValid(startHourCell) && isHourValid(endHourCell)) {
65
+ return returnValues;
66
+ }
67
+ else if (isHourValid(startHourCell)) {
68
+ return [startHourCell.value, startHourCell.value];
69
+ }
70
+ else if (isHourValid(endHourCell)) {
71
+ return [endHourCell.value, endHourCell.value];
72
+ }
73
+ else {
74
+ return returnValues;
75
+ }
76
+ }
42
77
  function isDateValid(dateCell) {
43
78
  return (kupManager.objects.isDate(dateCell.obj) &&
44
79
  kupManager.dates.isValid(dateCell.value, KupDatesFormats.ISO_DATE));
45
80
  }
81
+ function isHourValid(dateCell) {
82
+ return (kupManager.objects.isTime(dateCell.obj) || kupManager.objects.isTimeWithSeconds(dateCell.obj));
83
+ }
46
84
  function isAtLeastOneDateValid(startDateCell, endDateCell) {
47
85
  return isDateValid(startDateCell) || isDateValid(endDateCell);
48
86
  }
87
+ function isAtLeastOneHourValid(startHourCell, endHourCell) {
88
+ return isHourValid(startHourCell) || isHourValid(endHourCell);
89
+ }
49
90
  function getValuesToShow(row, idCol, nameCol, dataColumns, columns, customToValuesFunction) {
50
91
  let toValuesFunction = () => columns.map((col) => {
51
92
  return getCellValueForDisplay(dataColumns.find((kCol) => kCol.name == col), row.cells[col]);
@@ -102,6 +143,7 @@ const KupPlanner = class {
102
143
  this.kupClick = createEvent(this, "kup-planner-click", 6);
103
144
  this.kupDblClick = createEvent(this, "kup-planner-dblclick", 6);
104
145
  this.kupDateChange = createEvent(this, "kup-planner-datechange", 6);
146
+ this.kupPhaseDrop = createEvent(this, "kup-planner-phasedrop", 6);
105
147
  this.kupReady = createEvent(this, "kup-planner-ready", 6);
106
148
  this.kupContextMenu = createEvent(this, "kup-planner-contextmenu", 6);
107
149
  this.kupDidUnload = createEvent(this, "kup-planner-didunload", 6);
@@ -130,9 +172,11 @@ const KupPlanner = class {
130
172
  this.detailDates = undefined;
131
173
  this.detailFilter = undefined;
132
174
  this.detailHeight = undefined;
175
+ this.detailHours = [];
133
176
  this.detailIconCol = undefined;
134
177
  this.detailIdCol = undefined;
135
178
  this.detailNameCol = undefined;
179
+ this.detailPrevHours = [];
136
180
  this.detailPrevDates = undefined;
137
181
  this.detailInitialScrollX = undefined;
138
182
  this.detailInitialScrollY = undefined;
@@ -142,9 +186,11 @@ const KupPlanner = class {
142
186
  this.phaseColumns = undefined;
143
187
  this.phaseColParDep = undefined;
144
188
  this.phaseDates = undefined;
189
+ this.phaseHours = [];
145
190
  this.phaseIconCol = undefined;
146
191
  this.phaseIdCol = undefined;
147
192
  this.phaseNameCol = undefined;
193
+ this.phasePrevHours = [];
148
194
  this.phasePrevDates = undefined;
149
195
  this.readOnly = false;
150
196
  this.showSecondaryDates = false;
@@ -152,16 +198,19 @@ const KupPlanner = class {
152
198
  this.taskDates = undefined;
153
199
  this.taskFilter = undefined;
154
200
  this.taskHeight = undefined;
201
+ this.taskHours = [];
155
202
  this.taskIconCol = undefined;
156
203
  this.taskIdCol = undefined;
157
204
  this.taskInitialScrollX = undefined;
158
205
  this.taskInitialScrollY = undefined;
159
206
  this.taskNameCol = undefined;
207
+ this.taskPrevHours = [];
160
208
  this.taskPrevDates = undefined;
161
209
  this.titleMess = undefined;
162
210
  this.viewMode = 'month';
163
211
  this.mainFilter = undefined;
164
212
  this.secondaryFilter = undefined;
213
+ this.scrollableTaskList = false;
165
214
  this.plannerProps = undefined;
166
215
  }
167
216
  initWithPersistedState() {
@@ -266,7 +315,7 @@ const KupPlanner = class {
266
315
  if (task) {
267
316
  __classPrivateFieldGet(this, _KupPlanner_phases, "f")[taskId] = data;
268
317
  task.phases = (_a = data.rows) === null || _a === void 0 ? void 0 : _a.filter((row) => isAtLeastOneDateValid(row.cells[this.phaseDates[0]], row.cells[this.phaseDates[1]])).map((row) => {
269
- const datesSanitized = sanitizeAllDates(row.cells[this.phaseDates[0]], row.cells[this.phaseDates[1]], row.cells[this.phasePrevDates[0]], row.cells[this.phasePrevDates[1]]);
318
+ const datesSanitized = sanitizeAllDates(row.cells[this.phaseDates[0]], row.cells[this.phaseDates[1]], row.cells[this.phasePrevDates[0]], row.cells[this.phasePrevDates[1]], row.cells[this.phaseHours[0]], row.cells[this.phaseHours[1]], row.cells[this.phasePrevHours[0]], row.cells[this.phasePrevHours[1]]);
270
319
  const valuesToShow = getValuesToShow(row, this.phaseIdCol, this.phaseNameCol, data.columns, this.phaseColumns, () => this.phaseColumns.map((col) => col == this.phaseDates[0]
271
320
  ? '#START#'
272
321
  : col == this.phaseDates[1]
@@ -293,6 +342,10 @@ const KupPlanner = class {
293
342
  icon: iconUrl
294
343
  ? { url: iconUrl, color: iconColor !== null && iconColor !== void 0 ? iconColor : '#595959' }
295
344
  : undefined,
345
+ startHour: datesSanitized.hourValues[0],
346
+ endHour: datesSanitized.hourValues[1],
347
+ secondaryStartHour: datesSanitized.secHourValues[0],
348
+ secondaryEndHour: datesSanitized.secHourValues[1],
296
349
  };
297
350
  return phase;
298
351
  });
@@ -360,6 +413,7 @@ const KupPlanner = class {
360
413
  window.clearTimeout(taskScrollYTimeout);
361
414
  taskScrollYTimeout = window.setTimeout(() => this.handleTaskGanttScrollY(y), scrollDelay);
362
415
  },
416
+ onPhaseDrop: (nativeEvent) => this.handleOnPhaseDrop(nativeEvent),
363
417
  },
364
418
  secondaryGantt: details
365
419
  ? {
@@ -384,6 +438,7 @@ const KupPlanner = class {
384
438
  onSetDoubleView: (checked) => this.handleOnSetDoubleView(checked),
385
439
  onSetViewMode: (value) => this.handleOnSetViewMode(value),
386
440
  viewMode: this.viewMode,
441
+ scrollableTaskList: this.scrollableTaskList,
387
442
  onScrollX: (x) => {
388
443
  window.clearTimeout(scrollXTimeout);
389
444
  scrollXTimeout = window.setTimeout(() => this.handleOnScrollX(x), scrollDelay);
@@ -467,6 +522,14 @@ const KupPlanner = class {
467
522
  taskAction: taskAction,
468
523
  });
469
524
  }
525
+ onKupPhaseDrop(event, taskAction) {
526
+ this.kupPhaseDrop.emit({
527
+ comp: this,
528
+ id: this.rootElement.id,
529
+ value: event,
530
+ taskAction: taskAction,
531
+ });
532
+ }
470
533
  handleOnDblClick(nativeEvent) {
471
534
  switch (nativeEvent.rowType) {
472
535
  case KupPlannerGanttRowType.TASK:
@@ -568,6 +631,9 @@ const KupPlanner = class {
568
631
  }
569
632
  }
570
633
  }
634
+ handleOnPhaseDrop(nativeEvent) {
635
+ this.onKupPhaseDrop(nativeEvent, KupPlannerTaskAction.onTask);
636
+ }
571
637
  render() {
572
638
  var _a, _b, _c;
573
639
  const plannerProps = this.plannerProps
@@ -575,7 +641,7 @@ const KupPlanner = class {
575
641
  if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
576
642
  plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
577
643
  }
578
- return (h(Host, { key: 'f3c51ffc99f55225dca3f5510f2be5881145a208' }, h("style", { key: 'f79296340221217cb79b5b2956c7a0e2907e844e' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '4df21c4b72d0a8984e17a507527fb927a5c23dca', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: 'a95906fcd99bc6063045451d2d471a4d5ca18705', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: 'c6975b21e0d1eb44663d341fa6db238c39faa032', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
644
+ return (h(Host, { key: 'cce744fe8b14527039c6a39116da3ebbb79b5593' }, h("style", { key: '3ac43e5c414360d07ba8a745c000bbc7e545545f' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '3a9fb6211d0fc2b554bf4265350c567fc1108adb', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: '9dda490b90dc263b1e42496c7c602ee0c09d081f', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: 'b569efffbce491b845d813d913545bbb1efc3d08', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
579
645
  if (e.key === 'Enter') {
580
646
  __classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
581
647
  }
@@ -605,7 +671,7 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
605
671
  return [];
606
672
  }
607
673
  let tasks = (_a = data.rows) === null || _a === void 0 ? void 0 : _a.filter((row) => isAtLeastOneDateValid(row.cells[this.taskDates[0]], row.cells[this.taskDates[1]])).map((row) => {
608
- const datesSanitized = sanitizeAllDates(row.cells[this.taskDates[0]], row.cells[this.taskDates[1]], row.cells[this.taskPrevDates[0]], row.cells[this.taskPrevDates[1]]);
674
+ const datesSanitized = sanitizeAllDates(row.cells[this.taskDates[0]], row.cells[this.taskDates[1]], row.cells[this.taskPrevDates[0]], row.cells[this.taskPrevDates[1]], row.cells[this.taskHours[0]], row.cells[this.taskHours[1]], row.cells[this.taskPrevHours[0]], row.cells[this.taskPrevHours[1]]);
609
675
  const valuesToShow = getValuesToShow(row, this.taskIdCol, this.taskNameCol, data.columns, this.taskColumns, () => this.taskColumns.map((col) => col == this.taskDates[0]
610
676
  ? '#START#'
611
677
  : col == this.taskDates[1]
@@ -628,6 +694,10 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
628
694
  icon: iconUrl
629
695
  ? { url: iconUrl, color: iconColor !== null && iconColor !== void 0 ? iconColor : '#595959' }
630
696
  : undefined,
697
+ startHour: datesSanitized.hourValues[0],
698
+ endHour: datesSanitized.hourValues[1],
699
+ secondaryStartHour: datesSanitized.secHourValues[0],
700
+ secondaryEndHour: datesSanitized.secHourValues[1]
631
701
  };
632
702
  return task;
633
703
  });
@@ -643,7 +713,7 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
643
713
  var _a, _b;
644
714
  const detailId = row.cells[this.detailIdCol].value;
645
715
  const detailNameId = row.cells[this.detailNameCol].value;
646
- const datesSanitized = sanitizeAllDates(row.cells[this.detailDates[0]], row.cells[this.detailDates[1]]);
716
+ const datesSanitized = sanitizeAllDates(row.cells[this.detailDates[0]], row.cells[this.detailDates[1]], undefined, undefined, row.cells[this.detailHours[0]], row.cells[this.detailHours[1]]);
647
717
  const valuesToShow = getValuesToShow(row, this.detailIdCol, this.detailNameCol, data.columns, this.detailColumns);
648
718
  let detail = details.find((det) => det.id == detailId);
649
719
  if (!detail) {
@@ -672,6 +742,8 @@ _KupPlanner_kupManager = new WeakMap(), _KupPlanner_lastOnChangeReceived = new W
672
742
  icon: iconUrl
673
743
  ? { url: iconUrl, color: iconColor !== null && iconColor !== void 0 ? iconColor : '#595959' }
674
744
  : undefined,
745
+ startHour: datesSanitized.hourValues[0],
746
+ endHour: datesSanitized.hourValues[1]
675
747
  });
676
748
  });
677
749
  return details;
@@ -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 } from './kup-manager-cdb4f21a.js';
2
+ import { k as kupManagerInstance } from './kup-manager-a316a70e.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
  const KupProbe = class {
7
7
  constructor(hostRef) {
@@ -235,7 +235,7 @@ const KupProbe = class {
235
235
  if (this.features.theme) {
236
236
  customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
237
237
  }
238
- return (h(Host, { key: '3d9977be8424b7c7939cf1b4b5aa906407832397' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: 'cfa7570e4e6dda26d6523ccddfe6dfb134a11d49', id: componentWrapperId }, this.content)));
238
+ return (h(Host, { key: '71372dfbcfbf66e3f83eda11eca5fddca3402d1c' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: 'a05d5a30011b2e1ede2f6ca1eca593de48aebd06', id: componentWrapperId }, this.content)));
239
239
  }
240
240
  disconnectedCallback() {
241
241
  if (this.features.language) {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, d as getElement } from './index-460631fd.js';
2
- import { k as kupManagerInstance } from './kup-manager-cdb4f21a.js';
3
- import './kup-dates-4ad48be7.js';
2
+ import { k as kupManagerInstance } from './kup-manager-a316a70e.js';
3
+ import './kup-dates-26a56bf7.js';
4
4
 
5
5
  const kupQlikCss = ".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}.kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-color, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
6
6
  const KupQlikStyle0 = kupQlikCss;
@@ -116,7 +116,7 @@ const KupQlik = class {
116
116
  layoutStyle = {
117
117
  ['--lyo_obj-height']: this.defobjsize,
118
118
  };
119
- return (h("div", { key: '533e892f582c7ee663b5e41b44617c00edd1d48b', class: classLayout, style: layoutStyle }, this.divlist));
119
+ return (h("div", { key: 'ad3b840b782c155e43d25d46b4fbf3150d0d5296', class: classLayout, style: layoutStyle }, this.divlist));
120
120
  }
121
121
  componentDidRender() {
122
122
  if (this.debug) {
@@ -1,10 +1,10 @@
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-a316a70e.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
- import { F as FButton } from './f-button-45d690a5.js';
5
- import './kup-dates-4ad48be7.js';
4
+ import { F as FButton } from './f-button-d6dbcfd6.js';
5
+ import './kup-dates-26a56bf7.js';
6
6
  import './f-button-declarations-9bdc6f26.js';
7
- import './f-image-8b382cc5.js';
7
+ import './f-image-a67229e5.js';
8
8
 
9
9
  const snackbarClass = 'snackbar';
10
10
  /**
@@ -114,7 +114,7 @@ const KupSnackbar = class {
114
114
  this.kupManager.debug.logRender(this, true);
115
115
  }
116
116
  render() {
117
- return (h(Host, { key: 'f75d7ca1de9b0f63c555a5bbe65d18f515b30020', "kup-visible": this.visible }, h("style", { key: 'e457888f9c6355cd2997f136cc542d424cf7d72e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ede1431d986952c43cbe5d3b8484b3f27750aec6', id: componentWrapperId }, h("div", { key: 'c76c7533233b5ca057b8f2d49c99a5771b90b3f1', class: snackbarClass }, h("div", { key: '5546bfb280f7ba4bbc462c30b36094fea1276c08', class: `${snackbarClass}__text` }, this.text), this.actionButton || this.closeButton ? (h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (h("div", { class: `${snackbarClass}__action` }, h(FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (h("div", { class: `${snackbarClass}__close` }, h(FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
117
+ return (h(Host, { key: '3e52e4dd0672594bf385bcd44f3ceac7474ebb54', "kup-visible": this.visible }, h("style", { key: '2b6dcba48e84c7ba0ded38c5a86907a1ddb0aed4' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '6843781af0232d8dd65eb23941a2f33a17ec694f', id: componentWrapperId }, h("div", { key: '178a36a80ff89fa6b31af04c372367e0e4427b89', class: snackbarClass }, h("div", { key: '8383fa478dd8a4f35fb9718a83131d26caadb275', class: `${snackbarClass}__text` }, this.text), this.actionButton || this.closeButton ? (h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (h("div", { class: `${snackbarClass}__action` }, h(FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (h("div", { class: `${snackbarClass}__close` }, h(FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
118
118
  }
119
119
  disconnectedCallback() {
120
120
  this.kupManager.theme.unregister(this);