@sme.up/ketchup 9.6.4 → 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 (232) hide show
  1. package/dist/cjs/{bar.helpers-f46a5a83.js → bar.helpers-c481a535.js} +45 -13
  2. package/dist/cjs/{f-button-89de2403.js → f-button-23ec3db5.js} +1 -1
  3. package/dist/cjs/{f-cell-75dbd6eb.js → f-cell-bcc51c0f.js} +5 -5
  4. package/dist/cjs/{f-chip-08857345.js → f-chip-63363ecf.js} +2 -2
  5. package/dist/cjs/{f-image-a41d7f1e.js → f-image-f3944c01.js} +2 -5
  6. package/dist/cjs/{f-paginator-utils-ff07301e.js → f-paginator-utils-60e05759.js} +2 -2
  7. package/dist/cjs/{f-text-field-eb207a83.js → f-text-field-354b6c78.js} +1 -1
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/ketchup.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  11. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +46 -46
  12. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  13. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  14. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  15. package/dist/cjs/kup-cell.cjs.entry.js +6 -6
  16. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +253 -37
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
  18. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +104 -38
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-image-list.cjs.entry.js +20 -13
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +199 -53
  27. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  29. package/dist/cjs/{kup-manager-abfe4ddd.js → kup-manager-e1bfd4f8.js} +647 -120
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  34. package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
  35. package/dist/cjs/{kup-planner-renderer-helper-9f776d6e.js → kup-planner-renderer-helper-f001fad7.js} +55 -7
  36. package/dist/cjs/kup-planner-renderer.cjs.entry.js +43 -10
  37. package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js} +3 -0
  38. package/dist/cjs/kup-planner.cjs.entry.js +80 -8
  39. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  40. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  41. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/collection/assets/image-list.js +332 -2
  44. package/dist/collection/assets/input-panel.js +307 -76
  45. package/dist/collection/assets/planner-example-5.js +19 -7
  46. package/dist/collection/assets/planner-example-6.js +3 -0
  47. package/dist/collection/assets/planner.js +4 -3
  48. package/dist/collection/components/kup-badge/kup-badge.css +4 -4
  49. package/dist/collection/components/kup-image-list/kup-image-list.css +37 -4
  50. package/dist/collection/components/kup-image-list/kup-image-list.js +15 -8
  51. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -1
  52. package/dist/collection/components/kup-input-panel/kup-input-panel.css +38 -1
  53. package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +69 -28
  54. package/dist/collection/components/kup-input-panel/kup-input-panel.js +206 -59
  55. package/dist/collection/components/kup-planner/kup-planner-declarations.js +3 -0
  56. package/dist/collection/components/kup-planner/kup-planner-helper.js +42 -1
  57. package/dist/collection/components/kup-planner/kup-planner.js +191 -5
  58. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +103 -11
  59. package/dist/collection/components/kup-planner/utils/gantt-table.module.css +80 -2
  60. package/dist/collection/components/kup-planner/utils/helpers/bar.helpers.js +41 -13
  61. package/dist/collection/components/kup-planner/utils/helpers/other.helpers.js +3 -0
  62. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +10 -0
  63. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +61 -6
  64. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +32 -2
  65. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +4 -0
  66. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +208 -24
  67. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +4 -0
  68. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +131 -7
  69. package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +55 -6
  70. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +40 -7
  71. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +22 -15
  72. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +21 -5
  73. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +19 -3
  74. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  75. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  76. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +76 -2
  77. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  78. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  79. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  80. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  81. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  82. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  83. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  84. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  85. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  86. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  87. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  88. package/dist/collection/f-components/f-image/f-image.js +2 -5
  89. package/dist/components/_commonjsHelpers.js +26 -0
  90. package/dist/components/custom-task-list-table.js +58 -13
  91. package/dist/components/kup-autocomplete2.js +43 -45
  92. package/dist/components/kup-calendar.js +1 -1
  93. package/dist/components/kup-dates.js +2 -25
  94. package/dist/components/kup-editor.js +1 -1
  95. package/dist/components/kup-gantt-calendar2.js +31 -1
  96. package/dist/components/kup-gantt2.js +26 -7
  97. package/dist/components/kup-grid-renderer2.js +219 -81
  98. package/dist/components/kup-horizontal-scroll2.js +48 -10
  99. package/dist/components/kup-image-list.js +14 -7
  100. package/dist/components/kup-input-panel.js +192 -46
  101. package/dist/components/kup-manager.js +649 -121
  102. package/dist/components/kup-pdf.js +1 -1
  103. package/dist/components/kup-planner-declarations.js +91 -0
  104. package/dist/components/kup-planner-renderer2.js +42 -9
  105. package/dist/components/kup-planner.js +86 -6
  106. package/dist/components/kup-probe.js +1 -1
  107. package/dist/components/kup-qlik.js +1 -1
  108. package/dist/components/kup-snackbar.js +1 -1
  109. package/dist/components/kup-standard-tooltip2.js +1 -1
  110. package/dist/components/kup-switcher2.js +19 -7
  111. package/dist/components/kup-task-gantt2.js +6 -4
  112. package/dist/components/kup-task-list-header2.js +7 -7
  113. package/dist/components/kup-task-list-table2.js +1 -1
  114. package/dist/components/kup-task-list2.js +434 -84
  115. package/dist/components/kup-tooltip2.js +1 -1
  116. package/dist/components/kup-vertical-scroll2.js +2 -2
  117. package/dist/components/other.helpers.js +47 -0
  118. package/dist/esm/{bar.helpers-0898efb9.js → bar.helpers-23a51579.js} +45 -14
  119. package/dist/esm/{f-button-1eebd42e.js → f-button-d6dbcfd6.js} +1 -1
  120. package/dist/esm/{f-cell-af19d5c7.js → f-cell-7b41415c.js} +5 -5
  121. package/dist/esm/{f-chip-9e5fdb25.js → f-chip-68d27d7a.js} +2 -2
  122. package/dist/esm/{f-image-1e1ed567.js → f-image-a67229e5.js} +2 -5
  123. package/dist/esm/{f-paginator-utils-dede029b.js → f-paginator-utils-8773e358.js} +2 -2
  124. package/dist/esm/{f-text-field-802b45fb.js → f-text-field-d364ffd2.js} +1 -1
  125. package/dist/esm/index.js +1 -1
  126. package/dist/esm/ketchup.js +1 -1
  127. package/dist/esm/kup-accordion.entry.js +2 -2
  128. package/dist/esm/kup-autocomplete_27.entry.js +46 -46
  129. package/dist/esm/kup-box.entry.js +7 -7
  130. package/dist/esm/kup-calendar.entry.js +4 -4
  131. package/dist/esm/kup-card-list.entry.js +1 -1
  132. package/dist/esm/kup-cell.entry.js +6 -6
  133. package/dist/esm/kup-custom-task-list-header_4.entry.js +253 -37
  134. package/dist/esm/kup-dashboard.entry.js +4 -4
  135. package/dist/esm/kup-drawer.entry.js +1 -1
  136. package/dist/esm/kup-echart.entry.js +1 -1
  137. package/dist/esm/kup-editor.entry.js +1 -1
  138. package/dist/esm/kup-family-tree.entry.js +3 -3
  139. package/dist/esm/kup-gantt_10.entry.js +105 -39
  140. package/dist/esm/kup-grid.entry.js +1 -1
  141. package/dist/esm/kup-iframe.entry.js +1 -1
  142. package/dist/esm/kup-image-list.entry.js +20 -13
  143. package/dist/esm/kup-input-panel.entry.js +199 -53
  144. package/dist/esm/kup-lazy.entry.js +1 -1
  145. package/dist/esm/kup-magic-box.entry.js +2 -2
  146. package/dist/esm/{kup-manager-dd24fb5a.js → kup-manager-a316a70e.js} +647 -120
  147. package/dist/esm/kup-nav-bar.entry.js +1 -1
  148. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  149. package/dist/esm/kup-pdf.entry.js +1 -1
  150. package/dist/esm/kup-photo-frame.entry.js +1 -1
  151. package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
  152. package/dist/esm/{kup-planner-renderer-helper-b4727e44.js → kup-planner-renderer-helper-a2ec9a1c.js} +56 -7
  153. package/dist/esm/kup-planner-renderer.entry.js +43 -10
  154. package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
  155. package/dist/esm/kup-planner.entry.js +80 -8
  156. package/dist/esm/kup-probe.entry.js +2 -2
  157. package/dist/esm/kup-qlik.entry.js +2 -2
  158. package/dist/esm/kup-snackbar.entry.js +4 -4
  159. package/dist/esm/loader.js +1 -1
  160. package/dist/ketchup/index.esm.js +1 -1
  161. package/dist/ketchup/ketchup.esm.js +1 -1
  162. package/dist/ketchup/p-008bdcdc.js +1 -0
  163. package/dist/ketchup/p-042e874a.entry.js +1 -0
  164. package/dist/ketchup/{p-b3b50bb5.entry.js → p-074ccd53.entry.js} +1 -1
  165. package/dist/ketchup/{p-26d42b88.entry.js → p-1088ab22.entry.js} +1 -1
  166. package/dist/ketchup/{p-201f8d7b.entry.js → p-1bcac01f.entry.js} +1 -1
  167. package/dist/ketchup/{p-3b544027.entry.js → p-1e028d95.entry.js} +1 -1
  168. package/dist/ketchup/p-25058baa.js +1 -0
  169. package/dist/ketchup/{p-dcf7e9b6.entry.js → p-2932e7e8.entry.js} +1 -1
  170. package/dist/ketchup/{p-b238cde7.entry.js → p-2b84db7b.entry.js} +1 -1
  171. package/dist/ketchup/{p-f998ff28.entry.js → p-2ef90f60.entry.js} +1 -1
  172. package/dist/ketchup/{p-8fcdf454.js → p-339bbeae.js} +1 -1
  173. package/dist/ketchup/{p-cd7fec02.entry.js → p-48e45ac0.entry.js} +1 -1
  174. package/dist/ketchup/p-53af4c87.js +1 -0
  175. package/dist/ketchup/{p-6972fa0c.entry.js → p-556f7ddc.entry.js} +1 -1
  176. package/dist/ketchup/{p-e7507dd6.entry.js → p-5f7d8c21.entry.js} +1 -1
  177. package/dist/ketchup/{p-e0e47ca9.entry.js → p-6362738c.entry.js} +1 -1
  178. package/dist/ketchup/{p-a2e14d8b.entry.js → p-65e363c6.entry.js} +1 -1
  179. package/dist/ketchup/p-6921bc81.entry.js +16 -0
  180. package/dist/ketchup/p-6961e0ce.entry.js +1 -0
  181. package/dist/ketchup/p-7123d2a4.entry.js +1 -0
  182. package/dist/ketchup/{p-6c888179.js → p-801776bc.js} +1 -1
  183. package/dist/ketchup/{p-4f69f6f9.entry.js → p-81645576.entry.js} +1 -1
  184. package/dist/ketchup/p-838dea62.js +1 -0
  185. package/dist/ketchup/{p-924b841b.js → p-84b511e1.js} +1 -1
  186. package/dist/ketchup/{p-8229b97a.js → p-8d4050ec.js} +4 -4
  187. package/dist/ketchup/{p-79f4dc5b.entry.js → p-9e2533e1.entry.js} +1 -1
  188. package/dist/ketchup/{p-158076de.entry.js → p-a06974a3.entry.js} +1 -1
  189. package/dist/ketchup/p-a6beb822.js +1 -0
  190. package/dist/ketchup/p-abe181d0.entry.js +1 -0
  191. package/dist/ketchup/{p-61e8d573.js → p-b3540f83.js} +1 -1
  192. package/dist/ketchup/{p-19a13672.entry.js → p-c702eb45.entry.js} +1 -1
  193. package/dist/ketchup/{p-2e04042b.entry.js → p-ccb6dbb0.entry.js} +1 -1
  194. package/dist/ketchup/{p-a2e691b8.entry.js → p-cf44485a.entry.js} +2 -2
  195. package/dist/ketchup/{p-8f3d400a.entry.js → p-d2001dec.entry.js} +1 -1
  196. package/dist/ketchup/{p-34d70475.entry.js → p-dbb6cd8d.entry.js} +1 -1
  197. package/dist/ketchup/{p-2d4a9235.js → p-f6c8f006.js} +1 -1
  198. package/dist/ketchup/{p-43ce397b.entry.js → p-f79ffe77.entry.js} +1 -1
  199. package/dist/ketchup/{p-489af77f.entry.js → p-fdcfaedd.entry.js} +1 -1
  200. package/dist/ketchup/p-fe75ede2.entry.js +1 -0
  201. package/dist/types/components/kup-image-list/kup-image-list.d.ts +1 -1
  202. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +9 -7
  203. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +4 -4
  204. package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +29 -2
  205. package/dist/types/components/kup-planner/kup-planner-helper.d.ts +2 -1
  206. package/dist/types/components/kup-planner/kup-planner.d.ts +38 -0
  207. package/dist/types/components/kup-planner/utils/custom-task-list-table.d.ts +7 -0
  208. package/dist/types/components/kup-planner/utils/helpers/bar.helpers.d.ts +1 -1
  209. package/dist/types/components/kup-planner/utils/helpers/other.helpers.d.ts +1 -0
  210. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +6 -0
  211. package/dist/types/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.d.ts +1 -0
  212. package/dist/types/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.d.ts +13 -1
  213. package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +7 -0
  214. package/dist/types/components/kup-planner/utils/kup-planner-renderer-helper.d.ts +6 -2
  215. package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +1 -0
  216. package/dist/types/components/kup-planner/utils/kup-switcher/kup-switcher.d.ts +3 -1
  217. package/dist/types/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.d.ts +1 -0
  218. package/dist/types/components/kup-planner/utils/kup-task-list/kup-task-list.d.ts +4 -0
  219. package/dist/types/components.d.ts +122 -16
  220. package/package.json +1 -1
  221. package/dist/components/kup-planner-renderer-helper.js +0 -379
  222. package/dist/ketchup/p-14943de9.entry.js +0 -1
  223. package/dist/ketchup/p-180cd7ab.entry.js +0 -1
  224. package/dist/ketchup/p-636be6f1.entry.js +0 -16
  225. package/dist/ketchup/p-63c141d9.entry.js +0 -1
  226. package/dist/ketchup/p-818e61d5.entry.js +0 -1
  227. package/dist/ketchup/p-8e3b6de8.js +0 -1
  228. package/dist/ketchup/p-a46f99d4.js +0 -1
  229. package/dist/ketchup/p-c0f660d6.js +0 -1
  230. package/dist/ketchup/p-e4c63684.js +0 -1
  231. package/dist/ketchup/p-e841c2ae.js +0 -1
  232. package/dist/ketchup/p-f9a7c21c.entry.js +0 -1
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
6
  const kupDates = require('./kup-dates-e22ee32c.js');
7
- const kupPlannerTimeFormatter = require('./kup-planner-time-formatter-a74e70f0.js');
8
- const kupPlannerRendererHelper = require('./kup-planner-renderer-helper-9f776d6e.js');
9
- const bar_helpers = require('./bar.helpers-f46a5a83.js');
7
+ const bar_helpers = require('./bar.helpers-c481a535.js');
8
+ const kupPlannerTimeFormatter = require('./kup-planner-time-formatter-b7dca3ea.js');
9
+ const kupPlannerDeclarations = require('./kup-planner-declarations-cb33663d.js');
10
10
 
11
11
  const customTaskListHeaderModuleCss = ".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}.custom-task-list-wrapper{display:flex;justify-content:space-around;max-width:330px;place-items:\"center\";text-align:center;align-items:center}.title{font-weight:bold;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toggler{max-width:max-content;padding:0 4px;text-align:right}.switch{position:relative;display:inline-block;width:30px;height:17px}.input{opacity:0;width:0;height:0}.input:checked+.slider{background-color:#003b77}.input:checked+.slider:before{-webkit-transform:translateX(13px);-ms-transform:translateX(13px);transform:translateX(13px)}.input:focus+.slider{box-shadow:0 0 1px #003b77}.slider{-webkit-transition:0.4s;cursor:pointer;background-color:#ccc;bottom:0;border-radius:17px;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{-webkit-transition:0.1s;background-color:white;border-radius:50%;bottom:2px;content:\"\";height:13px;left:2px;position:absolute;transition:0.1s;width:13px}.label{font-size:12px;padding:6px}.filter{font-size:12px}";
12
12
  const KupCustomTaskListHeaderStyle0 = customTaskListHeaderModuleCss;
@@ -30,7 +30,7 @@ const KupCustomTaskListHeader = class {
30
30
  };
31
31
  KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
32
32
 
33
- const ganttTableModuleCss = ".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}.container{padding:0 10px;margin-right:10px}.project{background:var(--kup-background-color, #ffffff);border:1px solid var(--kup-border-color, #acacac);border-radius:4px;box-sizing:border-box;color:var(--kup-text-color, #595959);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.project .main{font-weight:700;width:100%;padding-left:4px}.subrow{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#acacac;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#ffffff;color:#595959;font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0;border-bottom-right-radius:0}.timeline{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#cbcbcb;border-radius:4px;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#fff;color:#595959;font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.timeline .main{font-weight:700;width:100%;padding-left:4px}";
33
+ const ganttTableModuleCss = ".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}.container{padding:0 10px;margin-right:10px}.scrollable{overflow-x:auto;scrollbar-width:0}.scrollable .project-wrapper{display:table}.scrollable .project{width:100% !important;display:table-row}.scrollable .project>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid var(--kup-border-color, #acacac);border-top:1px solid var(--kup-border-color, #acacac);padding-left:12px}.scrollable .project>*:first-child{border-left:1px solid var(--kup-border-color, #acacac);border-bottom-left-radius:4px;border-top-left-radius:4px}.scrollable .project>*:last-child{border-right:1px solid var(--kup-border-color, #acacac);border-bottom-right-radius:4px;border-top-right-radius:4px}.scrollable .subrow{width:100% !important;display:table-row}.scrollable .subrow>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .subrow>*:first-child{border-left:1px solid #acacac}.scrollable .subrow>*:last-child{border-right:1px solid #acacac}.scrollable .timeline{width:100% !important;display:table-row}.scrollable .timeline>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .timeline>*:first-child{border-left:1px solid #acacac}.scrollable .timeline>*:last-child{border-right:1px solid #acacac}.scrollable .project:has(+.subrow)>*{border-bottom-left-radius:0;border-bottom-right-radius:0}.scrollable::-webkit-scrollbar{width:0;height:0}.project{background:var(--kup-background-color, #ffffff);border:1px solid var(--kup-border-color, #acacac);border-radius:4px;box-sizing:border-box;color:var(--kup-text-color, #595959);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.project .main{font-weight:700;width:100%;padding-left:4px}.subrow{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#acacac;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#ffffff;color:#595959;font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.timeline{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#cbcbcb;border-radius:4px;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#fff;color:#595959;font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.timeline .main{font-weight:700;width:100%;padding-left:4px}";
34
34
  const KupCustomTaskListTableStyle0 = ganttTableModuleCss;
35
35
 
36
36
  const KupCustomTaskListTable = class {
@@ -42,15 +42,37 @@ const KupCustomTaskListTable = class {
42
42
  this.rowWidth = '';
43
43
  this.fontFamily = '';
44
44
  this.fontSize = '';
45
+ this.scrollableTaskList = undefined;
46
+ this.taskListScrollX = undefined;
45
47
  this.setSelectedTask = undefined;
46
48
  this.onclickTaskList = undefined;
47
49
  this.ondblclickTaskList = undefined;
48
50
  this.oncontextmenuTaskList = undefined;
51
+ this.ontaskListScrollWidth = undefined;
52
+ }
53
+ componentDidLoad() {
54
+ var _a;
55
+ this.ontaskListScrollWidth((_a = this.projectWrapperRef) === null || _a === void 0 ? void 0 : _a.clientWidth);
56
+ }
57
+ componentDidUpdate() {
58
+ var _a;
59
+ this.ontaskListScrollWidth((_a = this.projectWrapperRef) === null || _a === void 0 ? void 0 : _a.clientWidth);
60
+ }
61
+ updateTaskListScroll() {
62
+ this.projectWrapperRef &&
63
+ (this.projectWrapperRef.parentElement.scrollLeft = this.taskListScrollX);
49
64
  }
50
65
  render() {
51
66
  const kupDates$1 = new kupDates.KupDates();
52
- return (index.h("div", { key: '6f208e493d948891975d12cfa398634ead8f7631', class: "container" }, this.tasks.map((task) => {
53
- var _a, _b, _c;
67
+ const scrollableStyle = {};
68
+ if (this.scrollableTaskList) {
69
+ scrollableStyle['width'] = this.rowWidth;
70
+ }
71
+ const spansToShow = this.tasks.reduce((prev, curr) => {
72
+ return prev.valuesToShow.length > curr.valuesToShow.length ? prev : curr;
73
+ }).valuesToShow.length + 1;
74
+ return (index.h("div", { class: `container ${this.scrollableTaskList ? 'scrollable' : ''}`, style: scrollableStyle }, index.h("div", { class: "project-wrapper", ref: (el) => (this.projectWrapperRef = el) }, this.tasks.map((task) => {
75
+ var _a, _b, _c, _d;
54
76
  return (index.h(index.Fragment, null, task.type === 'project' ? (index.h("div", { class: "project", style: {
55
77
  height: `${this.rowHeight}px`,
56
78
  width: this.rowWidth,
@@ -67,11 +89,15 @@ const KupCustomTaskListTable = class {
67
89
  e.preventDefault();
68
90
  this.setSelectedTask(task.id);
69
91
  this.oncontextmenuTaskList(e, task.id);
70
- } }, (_a = task.valuesToShow) === null || _a === void 0 ? void 0 : _a.map((v, index$1) => (index.h("span", { class: index$1 === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `task_${task.id}_valuesToShow_${index$1}` }, v === '#START#'
71
- ? kupDates$1.formatToLocaleSimple(task.start)
72
- : v === '#END#'
73
- ? kupDates$1.formatToLocaleSimple(task.end)
74
- : v))))) : task.type === 'task' ? (index.h("div", { class: "subrow", style: {
92
+ } }, (_a = task.valuesToShow) === null || _a === void 0 ? void 0 :
93
+ _a.map((v, index$1) => (index.h("span", { class: index$1 === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `task_${task.id}_valuesToShow_${index$1}` }, v === '#START#'
94
+ ? kupDates$1.formatToLocaleSimple(task.start)
95
+ : v === '#END#'
96
+ ? kupDates$1.formatToLocaleSimple(task.end)
97
+ : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
98
+ const spansToIterate = bar_helpers.createArrayFromNum(spansToShow - task.valuesToShow.length);
99
+ return (spansToIterate.map((element) => (index.h("span", { key: element }))));
100
+ })()))) : task.type === 'task' ? (index.h("div", { class: "subrow", style: {
75
101
  height: `${this.rowHeight}px`,
76
102
  width: this.rowWidth,
77
103
  fontFamily: this.fontFamily,
@@ -87,16 +113,26 @@ const KupCustomTaskListTable = class {
87
113
  e.preventDefault();
88
114
  this.setSelectedTask(task.id);
89
115
  this.oncontextmenuTaskList(e, task.id);
116
+ } }, this.scrollableTaskList ? (index.h("div", { style: {
117
+ textAlign: 'end',
90
118
  } }, index.h("span", { key: `phase_${task.id}_valuesToShow_color`, style: {
91
119
  height: '16px',
92
120
  width: '16px',
121
+ display: 'inline-block',
93
122
  backgroundColor: (_b = task.styles) === null || _b === void 0 ? void 0 : _b.backgroundColor,
94
- } }), (_c = task.valuesToShow) === null || _c === void 0 ? void 0 :
95
- _c.map((v, index$1) => (index.h("span", { class: index$1 === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `phase_${task.id}_valuesToShow_${index$1}` }, v === '#START#'
123
+ } }))) : (index.h("span", { key: `phase_${task.id}_valuesToShow_color`, style: {
124
+ height: '16px',
125
+ width: '16px',
126
+ backgroundColor: (_c = task.styles) === null || _c === void 0 ? void 0 : _c.backgroundColor,
127
+ } })), (_d = task.valuesToShow) === null || _d === void 0 ? void 0 :
128
+ _d.map((v, index$1) => (index.h("span", { class: index$1 === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `phase_${task.id}_valuesToShow_${index$1}` }, v === '#START#'
96
129
  ? kupDates$1.formatToLocaleSimple(task.start)
97
130
  : v === '#END#'
98
131
  ? kupDates$1.formatToLocaleSimple(task.end)
99
- : v))))) : ((() => {
132
+ : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
133
+ const spansToIterate = bar_helpers.createArrayFromNum(spansToShow - task.valuesToShow.length - 1);
134
+ return (spansToIterate.map((element) => (index.h("span", { key: element }))));
135
+ })()))) : ((() => {
100
136
  var _a;
101
137
  let str = '';
102
138
  for (let i = 0; i < task.valuesToShow.length; i++) {
@@ -118,8 +154,11 @@ const KupCustomTaskListTable = class {
118
154
  ? v
119
155
  : undefined, key: `detail_${task.id}_valuesToShow_${index$1}` }, v)))));
120
156
  })())));
121
- })));
157
+ }))));
122
158
  }
159
+ static get watchers() { return {
160
+ "taskListScrollX": ["updateTaskListScroll"]
161
+ }; }
123
162
  };
124
163
  KupCustomTaskListTable.style = KupCustomTaskListTableStyle0;
125
164
 
@@ -304,8 +343,38 @@ const KupGanttCalendar = class {
304
343
  }
305
344
  return [topValues, bottomValues];
306
345
  }
346
+ getCalendarValuesForHour() {
347
+ const topValues = [];
348
+ const bottomValues = [];
349
+ const topDefaultHeight = this.headerHeight * 0.5;
350
+ const dates = this.dateSetup.dates;
351
+ for (let i = 0; i < dates.length; i++) {
352
+ const date = dates[i];
353
+ const bottomValue = kupPlannerTimeFormatter.getCachedDateTimeFormat(this.locale, {
354
+ hour: 'numeric',
355
+ }).format(date);
356
+ bottomValues.push(index.h("text", { key: date.getTime(), y: this.headerHeight * 0.8, x: this.columnWidth * (i + +this.rtl), class: "calendarBottomText" }, bottomValue));
357
+ if (i !== 0 && date.getDate() !== dates[i - 1].getDate()) {
358
+ const displayDate = dates[i - 1];
359
+ const topValue = `${kupPlannerTimeFormatter.getLocalDayOfWeek(displayDate, this.locale, 'long')}, ${displayDate.getDate()} ${kupPlannerTimeFormatter.getLocaleMonth(displayDate, this.locale)}`;
360
+ const topPosition = (date.getHours() - 24) / 2;
361
+ topValues.push({
362
+ key: topValue + date.getFullYear(),
363
+ value: topValue,
364
+ x1Line: this.columnWidth * i,
365
+ y1Line: 0,
366
+ y2Line: topDefaultHeight,
367
+ xText: this.columnWidth * (i + topPosition),
368
+ yText: topDefaultHeight * 0.9,
369
+ });
370
+ }
371
+ }
372
+ return [topValues, bottomValues];
373
+ }
307
374
  getTopAndBottomValues() {
308
375
  switch (this.dateSetup.viewMode) {
376
+ case 'hour':
377
+ return this.getCalendarValuesForHour();
309
378
  case 'day':
310
379
  return this.getCalendarValuesForDay();
311
380
  case 'week':
@@ -320,7 +389,7 @@ const KupGanttCalendar = class {
320
389
  this.simplifiedHeader =
321
390
  this.singleLineHeader && this.dateSetup.viewMode !== 'year';
322
391
  const [topValues, bottomValues] = this.getTopAndBottomValues();
323
- return (index.h("svg", { key: 'afbc0f59b413dd491ba4eec43ae3ad275b083617', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { key: '52d441353903b6f5b5310c0e1b8b494c6294084a', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.h("rect", { key: '4f5880bcc29c37d1e5f71b65cc752d510a690917', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
392
+ return (index.h("svg", { key: '7a19cec75e555a4fd92acca667c464df43370468', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { key: 'a7e72bfedfefae5813d339b99d78bf7138354ff5', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.h("rect", { key: '34f50e350bd20b69fe0a7bfc4744b27dfeb27a12', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
324
393
  ? topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
325
394
  : topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
326
395
  // current date indicator
@@ -870,7 +939,7 @@ var hexToCssFilter = {exports: {}};
870
939
  })));
871
940
  }(hexToCssFilter, hexToCssFilter.exports));
872
941
 
873
- const kupGridRendererCss = ".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}.gridRow{fill:#fff}.gridRowLine{stroke:transparent}.gridTick{stroke:#e6e4e4}.barHandle{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden}.barBackground{user-select:none;stroke-width:0}.barWrapper{cursor:pointer;outline:none}.task-wrapper{outline:none !important}.barWrapper:hover .barHandle{visibility:visible;opacity:1}.barLabel{fill:#fff;text-anchor:middle;font-weight:lighter;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.barLabelOutside{fill:#555;text-anchor:start;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}";
942
+ const kupGridRendererCss = ".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}.gridRow{fill:#fff}.gridRowLine{stroke:transparent}.gridTick{stroke:#e6e4e4}.barHandle{fill:#ddd;cursor:ew-resize;opacity:0;visibility:hidden}.barBackground{user-select:none;stroke-width:0}.barWrapper{cursor:pointer;outline:none}.task-wrapper{outline:none !important}.barWrapper:hover .barHandle{visibility:visible;opacity:1}.barLabel{fill:#fff;text-anchor:middle;font-weight:lighter;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.barLabelOutside{fill:#555;text-anchor:start;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}.ghost-preview{opacity:0.5}";
874
943
  const KupGridRendererStyle0 = kupGridRendererCss;
875
944
 
876
945
  const KupGridRenderer = class {
@@ -906,13 +975,18 @@ const KupGridRenderer = class {
906
975
  this.setSelectedTask = undefined;
907
976
  this.eventStart = undefined;
908
977
  this.eMouseDown = undefined;
978
+ this.phaseDrop = undefined;
909
979
  this.setGanttEvent = undefined;
980
+ this.phaseDragScroll = undefined;
910
981
  this.xStep = 0;
911
982
  this.initEventX1Delta = 0;
912
983
  this.initEventXClick = 0;
913
984
  this.isMoving = false;
914
985
  this.point = undefined;
915
986
  this.svg = undefined;
987
+ this.currentTarget = undefined;
988
+ this.dragScrollInterval = undefined;
989
+ this.dropZoneTask = undefined;
916
990
  }
917
991
  //---- Lifecycle hooks ----
918
992
  componentDidLoad() {
@@ -944,14 +1018,22 @@ const KupGridRenderer = class {
944
1018
  return;
945
1019
  event.preventDefault();
946
1020
  this.point.x = event.clientX;
1021
+ this.point.y = event.clientY;
947
1022
  const cursor = this.point.matrixTransform((_b = (_a = this.svg) === null || _a === void 0 ? void 0 : _a.getScreenCTM()) === null || _b === void 0 ? void 0 : _b.inverse());
948
- const { isChanged, changedTask } = bar_helpers.handleTaskBySVGMouseEvent(cursor.x, this.ganttEvent.action, this.ganttEvent.changedTask, this.xStep, this.timeStep, this.initEventX1Delta, this.rtl);
1023
+ const { isChanged, changedTask } = bar_helpers.handleTaskBySVGMouseEvent(cursor.x, this.ganttEvent.action, this.ganttEvent.changedTask, this.xStep, this.timeStep, this.initEventX1Delta, this.rtl, cursor.y);
1024
+ if (this.currentTarget) {
1025
+ this.addGhostPreview(event);
1026
+ this.handleAutoScrollForPhaseDrag(event);
1027
+ this.addDropzoneVisualization();
1028
+ }
949
1029
  if (isChanged) {
950
1030
  this.setGanttEvent(Object.assign(Object.assign({}, this.ganttEvent), { action: this.ganttEvent.action, changedTask }));
951
1031
  }
952
1032
  };
953
1033
  const handleMouseUp = async (event) => {
954
- var _a, _b;
1034
+ var _a, _b, _c;
1035
+ clearInterval(this.dragScrollInterval);
1036
+ this.resetDropzoneVisualization();
955
1037
  const { action, originalSelectedTask, changedTask } = this.ganttEvent;
956
1038
  if (!changedTask ||
957
1039
  !this.point ||
@@ -961,18 +1043,33 @@ const KupGridRenderer = class {
961
1043
  event.preventDefault();
962
1044
  this.point.x = event.clientX;
963
1045
  const cursor = this.point.matrixTransform((_b = (_a = this.svg) === null || _a === void 0 ? void 0 : _a.getScreenCTM()) === null || _b === void 0 ? void 0 : _b.inverse());
964
- const { changedTask: newChangedTask } = bar_helpers.handleTaskBySVGMouseEvent(cursor.x, action, changedTask, this.xStep, this.timeStep, this.initEventX1Delta, this.rtl);
1046
+ this.currentTarget = null;
1047
+ const { changedTask: newChangedTask } = bar_helpers.handleTaskBySVGMouseEvent(cursor.x, action, changedTask, this.xStep, this.timeStep, this.initEventX1Delta, this.rtl, cursor.y);
965
1048
  const isNotLikeOriginal = originalSelectedTask.start !== newChangedTask.start ||
966
1049
  originalSelectedTask.end !== newChangedTask.end ||
967
- originalSelectedTask.progress !== newChangedTask.progress;
1050
+ originalSelectedTask.progress !== newChangedTask.progress ||
1051
+ originalSelectedTask.y !== newChangedTask.y;
968
1052
  // remove listeners
969
1053
  this.svg.removeEventListener('mousemove', handleMouseMove);
970
1054
  this.svg.removeEventListener('mouseup', handleMouseUp);
1055
+ (_c = this.svg.querySelector('.ghost-preview')) === null || _c === void 0 ? void 0 : _c.remove();
971
1056
  this.setGanttEvent({ action: '' });
972
1057
  this.isMoving = false;
973
1058
  // custom operation start
974
1059
  let operationSuccess = true;
975
- if ((action === 'move' || action === 'end' || action === 'start') &&
1060
+ let droppedOn = undefined;
1061
+ let originalTaskData = undefined;
1062
+ if (action === 'move' &&
1063
+ isNotLikeOriginal &&
1064
+ newChangedTask.type === 'task') {
1065
+ droppedOn = this.tasks.find((task) => this.isPhaseWithinTaskArea(changedTask, task) &&
1066
+ task.type === 'project');
1067
+ originalTaskData = this.tasks.find((task) => task.id == originalSelectedTask.id.split('_').shift());
1068
+ }
1069
+ if ((droppedOn === null || droppedOn === void 0 ? void 0 : droppedOn.id) && (originalTaskData === null || originalTaskData === void 0 ? void 0 : originalTaskData.id) !== (droppedOn === null || droppedOn === void 0 ? void 0 : droppedOn.id)) {
1070
+ this.phaseDrop(originalSelectedTask, originalTaskData, newChangedTask, droppedOn);
1071
+ }
1072
+ else if ((action === 'move' || action === 'end' || action === 'start') &&
976
1073
  this.dateChange &&
977
1074
  isNotLikeOriginal) {
978
1075
  try {
@@ -1018,6 +1115,110 @@ const KupGridRenderer = class {
1018
1115
  }
1019
1116
  return this.initEventXClick !== event.clientX;
1020
1117
  }
1118
+ addGhostPreview(event) {
1119
+ var _a;
1120
+ (_a = this.svg.querySelector('.ghost-preview')) === null || _a === void 0 ? void 0 : _a.remove();
1121
+ const mockEvent = Object.assign(Object.assign({}, event), { dataTransfer: new DataTransfer() });
1122
+ const dragEle = this.currentTarget;
1123
+ dragEle.classList.add('ghost-preview');
1124
+ this.svg.appendChild(dragEle.cloneNode(true));
1125
+ const nodeRect = dragEle.getBoundingClientRect();
1126
+ mockEvent.dataTransfer.setDragImage(dragEle, mockEvent.clientX - nodeRect.left, mockEvent.clientY - nodeRect.top);
1127
+ }
1128
+ handleAutoScrollForPhaseDrag(event) {
1129
+ var _a, _b;
1130
+ const list = (_b = (_a = this.svg) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.parentElement;
1131
+ if (!list)
1132
+ return;
1133
+ clearInterval(this.dragScrollInterval);
1134
+ const isOverFlowing = list.clientHeight < list.scrollHeight;
1135
+ if (isOverFlowing) {
1136
+ // if container is overflowing we need to scroll within the container
1137
+ const containerRect = list.getBoundingClientRect();
1138
+ const offsetY = event.clientY - containerRect.top;
1139
+ const diff = 5;
1140
+ if (offsetY - 20 < diff) {
1141
+ this.dragScrollInterval = setInterval(() => {
1142
+ this.phaseDragScroll((list.scrollTop -= diff));
1143
+ }, 1);
1144
+ }
1145
+ else if (offsetY + 20 > containerRect.height - diff) {
1146
+ this.dragScrollInterval = setInterval(() => {
1147
+ this.phaseDragScroll((list.scrollTop += diff));
1148
+ }, 1);
1149
+ }
1150
+ }
1151
+ else {
1152
+ // else we need to scroll the window when viewport exceeds
1153
+ const scrollOffset = 20;
1154
+ const windowHeight = window.innerHeight;
1155
+ const y = event.clientY;
1156
+ if (y < scrollOffset) {
1157
+ window.scrollBy(0, -scrollOffset);
1158
+ }
1159
+ else if (y > windowHeight - scrollOffset) {
1160
+ window.scrollBy(0, scrollOffset);
1161
+ }
1162
+ }
1163
+ }
1164
+ isPhaseWithinTaskArea(phase, task) {
1165
+ return (phase.y + phase.height >= task.ySecondary &&
1166
+ phase.y <= task.ySecondary + task.height &&
1167
+ phase.x2 >= task.x1 &&
1168
+ phase.x1 <= task.x2);
1169
+ }
1170
+ addDropzoneVisualization() {
1171
+ var _a;
1172
+ this.resetDropzoneVisualization();
1173
+ // find the tasks where drop is allowed, includes all projects except parent project also includes current phase
1174
+ const dropAllowedOn = this.tasks.filter((task) => {
1175
+ var _a, _b, _c;
1176
+ return task.type == 'project' &&
1177
+ ((_c = (_b = (_a = this.ganttEvent.originalSelectedTask) === null || _a === void 0 ? void 0 : _a.id) === null || _b === void 0 ? void 0 : _b.split('_')) === null || _c === void 0 ? void 0 : _c.shift()) !=
1178
+ task.id;
1179
+ });
1180
+ const changedTask = this.ganttEvent.changedTask;
1181
+ // to determine whether the phase is in some another project y and x area
1182
+ this.dropZoneTask = dropAllowedOn.find((task) => this.isPhaseWithinTaskArea(changedTask, task));
1183
+ if ((_a = this.dropZoneTask) === null || _a === void 0 ? void 0 : _a.ySecondary) {
1184
+ const rects = this.getBarRectsForDropzoneVisualization();
1185
+ rects.forEach((rect) => {
1186
+ rect.setAttribute('fill', kupPlannerDeclarations.defaultStylingOptions.barDropZoneColor);
1187
+ });
1188
+ }
1189
+ }
1190
+ resetDropzoneVisualization() {
1191
+ if (!this.dropZoneTask)
1192
+ return;
1193
+ const rects = this.getBarRectsForDropzoneVisualization();
1194
+ const isSelected = !!this.selectedTask &&
1195
+ this.dropZoneTask.id === this.selectedTask.id;
1196
+ rects.forEach((rect) => {
1197
+ rect.setAttribute('fill', this.getBarColor(isSelected, this.dropZoneTask.styles));
1198
+ });
1199
+ }
1200
+ getBarRectsForDropzoneVisualization() {
1201
+ let rects;
1202
+ if (!this.showSecondaryDates) {
1203
+ rects = this.svg.querySelectorAll(`.barWrapper[data-type="${this.dropZoneTask.type}"] rect[y='${this.dropZoneTask.ySecondary}']`);
1204
+ }
1205
+ else {
1206
+ const rect = this.svg.querySelector(`.barWrapper[data-type="${this.dropZoneTask.type}"] rect[y='${this.dropZoneTask.ySecondary}']`);
1207
+ const siblings = [rect];
1208
+ let nextSibling = rect.nextElementSibling;
1209
+ while (nextSibling !== null) {
1210
+ siblings.push(nextSibling);
1211
+ nextSibling = nextSibling.nextElementSibling;
1212
+ }
1213
+ let prevSibling = rect.previousElementSibling;
1214
+ while (prevSibling !== null) {
1215
+ siblings.unshift(prevSibling);
1216
+ prevSibling = prevSibling.previousElementSibling;
1217
+ }
1218
+ rects = siblings;
1219
+ }
1220
+ return rects;
1221
+ }
1021
1222
  handleBarEventStart(action, task, event) {
1022
1223
  var _a;
1023
1224
  if (!event) {
@@ -1073,7 +1274,14 @@ const KupGridRenderer = class {
1073
1274
  return;
1074
1275
  this.point.x = event.clientX;
1075
1276
  const cursor = this.point.matrixTransform((_a = this.svg.getScreenCTM()) === null || _a === void 0 ? void 0 : _a.inverse());
1277
+ if (task.type === 'task') {
1278
+ this.currentTarget = event.currentTarget.cloneNode(true);
1279
+ }
1280
+ else {
1281
+ this.currentTarget = null;
1282
+ }
1076
1283
  this.initEventX1Delta = cursor.x - task.x1;
1284
+ this.point.y = event.clientY;
1077
1285
  this.initEventXClick = event.clientX;
1078
1286
  this.setGanttEvent({
1079
1287
  action,
@@ -1095,7 +1303,7 @@ const KupGridRenderer = class {
1095
1303
  }
1096
1304
  renderKupBar(task, isSelected, isDateResizable, isProgressChangeable) {
1097
1305
  var _a, _b, _c;
1098
- return (index.h("g", { class: "barWrapper", "tab-index": 0 }, this.renderKupBarDisplay(task.x1, task.y, task.x2 - task.x1, task.height, task.progressX, task.progressWidth, task.barCornerRadius, task.styles, isSelected, !this.readOnly && !!this.dateChange && !task.isDisabled, task, task.x1secondary, ((_a = task.x2secondary) !== null && _a !== void 0 ? _a : 0) - ((_b = task.x1secondary) !== null && _b !== void 0 ? _b : 0)), index.h("g", { class: "handleGroup" }, isDateResizable && (index.h("g", null, this.renderKupBarDateHandle(task.x1 + 1, task.y + 1, task.handleWidth, task.height - 2, task.barCornerRadius, task, 'start'), this.renderKupBarDateHandle(task.x2 - task.handleWidth - 1, task.y + 1, task.handleWidth, task.height - 2, task.barCornerRadius, task, 'end'))), isProgressChangeable && (index.h("polygon", { class: "barHandle", points: this.calculateProgressPoint(task), onMouseDown: (e) => {
1306
+ return (index.h("g", { class: "barWrapper", "tab-index": 0, "data-type": task.type }, this.renderKupBarDisplay(task.x1, task.y, task.x2 - task.x1, task.height, task.progressX, task.progressWidth, task.barCornerRadius, task.styles, isSelected, !this.readOnly && !!this.dateChange && !task.isDisabled, task, task.x1secondary, ((_a = task.x2secondary) !== null && _a !== void 0 ? _a : 0) - ((_b = task.x1secondary) !== null && _b !== void 0 ? _b : 0), task.ySecondary), index.h("g", { class: "handleGroup" }, isDateResizable && (index.h("g", null, this.renderKupBarDateHandle(task.x1 + 1, task.y + 1, task.handleWidth, task.height - 2, task.barCornerRadius, task, 'start'), this.renderKupBarDateHandle(task.x2 - task.handleWidth - 1, task.y + 1, task.handleWidth, task.height - 2, task.barCornerRadius, task, 'end'))), isProgressChangeable && (index.h("polygon", { class: "barHandle", points: this.calculateProgressPoint(task), onMouseDown: (e) => {
1099
1307
  this.handleBarEventStart('progress', task, e);
1100
1308
  } }))), task.icon &&
1101
1309
  task.icon.url &&
@@ -1110,11 +1318,11 @@ const KupGridRenderer = class {
1110
1318
  (this.showSecondaryDates ? task.height / 2 : 0),
1111
1319
  })));
1112
1320
  }
1113
- renderKupBarDisplay(x, y, width, height, progressX, progressWidth, barCornerRadius, styles, isSelected, isDateMovable, task, xSecondary, widthSecondary) {
1321
+ renderKupBarDisplay(x, y, width, height, progressX, progressWidth, barCornerRadius, styles, isSelected, isDateMovable, task, xSecondary, widthSecondary, ySecondary) {
1114
1322
  if (this.showSecondaryDates && typeof xSecondary !== 'undefined') {
1115
1323
  const halfHeight = height / 2;
1116
1324
  return (index.h("g", { onMouseDown: (e) => isDateMovable &&
1117
- this.handleBarEventStart('move', task, e) }, index.h("rect", { key: "top semi-transparent bar", x: xSecondary, width: widthSecondary, y: y, height: halfHeight, ry: barCornerRadius, rx: barCornerRadius, fill: this.getBarColor(isSelected, styles), opacity: 0.5, class: 'barBackground' }), index.h("rect", { key: "main bar", x: x, width: width, y: y + halfHeight, height: halfHeight, ry: barCornerRadius, rx: barCornerRadius, fill: this.getBarColor(isSelected, styles), class: 'barBackground' }), index.h("rect", { key: "progress bar", x: progressX, width: progressWidth, y: y + halfHeight, height: halfHeight, ry: barCornerRadius, rx: barCornerRadius, fill: this.getProcessColor(isSelected, styles) })));
1325
+ this.handleBarEventStart('move', task, e) }, index.h("rect", { key: "top semi-transparent bar", x: xSecondary, width: widthSecondary, y: ySecondary !== null && ySecondary !== void 0 ? ySecondary : y, height: halfHeight, ry: barCornerRadius, rx: barCornerRadius, fill: this.getBarColor(isSelected, styles), opacity: 0.5, class: 'barBackground' }), index.h("rect", { key: "main bar", x: x, width: width, y: y + halfHeight, height: halfHeight, ry: barCornerRadius, rx: barCornerRadius, fill: this.getBarColor(isSelected, styles), class: 'barBackground' }), index.h("rect", { key: "progress bar", x: progressX, width: progressWidth, y: y + halfHeight, height: halfHeight, ry: barCornerRadius, rx: barCornerRadius, fill: this.getProcessColor(isSelected, styles) })));
1118
1326
  }
1119
1327
  return (index.h("g", { onMouseDown: (e) => {
1120
1328
  isDateMovable && this.handleBarEventStart('move', task, e);
@@ -1217,29 +1425,37 @@ const KupGridRenderer = class {
1217
1425
  rowLines.push(index.h("line", { key: 'RowLine' + task.id, x1: 0, y1: y + this.rowHeight, x2: this.gridProps.svgWidth, y2: y + this.rowHeight, class: "gridRowLine" }));
1218
1426
  y += this.rowHeight;
1219
1427
  }
1220
- const now = new Date();
1428
+ // const now = new Date();
1221
1429
  let tickX = 0;
1222
1430
  const ticks = [];
1223
1431
  for (let i = 0; i < this.dates.length; i++) {
1224
1432
  const date = this.dates[i];
1225
1433
  ticks.push(index.h("line", { key: date.getTime(), x1: tickX, y1: 0, x2: tickX, y2: y, class: "gridTick" }));
1226
- if ((i + 1 !== this.dates.length &&
1227
- date.getTime() < now.getTime() &&
1228
- this.dates[i + 1].getTime() >= now.getTime()) ||
1229
- // if current date is last
1230
- (i !== 0 &&
1231
- i + 1 === this.dates.length &&
1232
- date.getTime() < now.getTime() &&
1233
- kupPlannerRendererHelper.addToDate(date, date.getTime() - this.dates[i - 1].getTime(), 'millisecond').getTime() >= now.getTime())) ;
1434
+ // if (
1435
+ // (i + 1 !== this.dates.length &&
1436
+ // date.getTime() < now.getTime() &&
1437
+ // this.dates[i + 1].getTime() >= now.getTime()) ||
1438
+ // // if current date is last
1439
+ // (i !== 0 &&
1440
+ // i + 1 === this.dates.length &&
1441
+ // date.getTime() < now.getTime() &&
1442
+ // addToDate(
1443
+ // date,
1444
+ // date.getTime() - this.dates[i - 1].getTime(),
1445
+ // 'millisecond'
1446
+ // ).getTime() >= now.getTime())
1447
+ // ) {
1448
+ // // Add custom logic here if needed
1449
+ // }
1234
1450
  tickX += this.columnWidth;
1235
1451
  }
1236
- return (index.h("svg", { key: '520a50739aa00f72aeb4e43ba03a3b5f126e289a', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, index.h("g", { key: '2681f573ab6f0c7ae9c9f316b77a05c9a634e100', class: "grid" }, index.h("g", { key: '085ea28cdbb6ee28354cd255c0f1b00a56c5588f', class: "rows" }, gridRows), index.h("g", { key: 'cb02f6b77af725f514f4eaf63624ff4ace5cf9e2', class: "rowLines" }, rowLines), index.h("g", { key: 'bed7254aeb03e0fbd1ab3e9d40c14f84b346bffc', class: "ticks" }, ticks)), index.h("g", { key: 'b22b4e0c75d7cef3336a8e069b243d6296200272', class: "content" }, this.currentDateIndicator && (index.h("rect", { fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.h("rect", { fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), index.h("g", { key: '594dd1e9af2f037f0599019a3082a58115907d3b', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1452
+ return (index.h("svg", { key: '95b5c0ebccd9d472507328baa068f9d75daa4a6e', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, index.h("g", { key: 'bd6598993c35c69c6aadca0d41c50b028a283b70', class: "grid" }, index.h("g", { key: 'c52a1de5fa57cc5fdd4b80ff84b3a09b13e3b199', class: "rows" }, gridRows), index.h("g", { key: 'd8747275b307b05c7a5c4ab1ab3efa5956c95f25', class: "rowLines" }, rowLines), index.h("g", { key: '000d0b2ec6253da9d23096a7cfa3564a2a3a173d', class: "ticks" }, ticks)), index.h("g", { key: 'fc0d6cc1b4f60e84b77082b7c47d68eb364fbb7b', class: "content" }, this.currentDateIndicator && (index.h("rect", { fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.h("rect", { fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), index.h("g", { key: '04162e3432a56f08c1ea29e69503fe97e1fb84d2', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1237
1453
  return task.barChildren.map((child) => {
1238
1454
  if (task.type !== 'timeline') {
1239
1455
  this.renderKupArrow(task, child);
1240
1456
  }
1241
1457
  });
1242
- })), index.h("g", { key: '9d41cb46ff1373cf3a34fcebf7f9bc02ab961a8b', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1458
+ })), index.h("g", { key: '4e5888f0a6335480ee0f32df3844982e355f4e39', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1243
1459
  const forbidResize = task.type === 'project';
1244
1460
  return (index.h("g", { onKeyDown: (e) => {
1245
1461
  switch (e.key) {
@@ -1299,7 +1515,7 @@ const KupGridRenderer = class {
1299
1515
  return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
1300
1516
  }
1301
1517
  })()));
1302
- })))));
1518
+ }), this.currentTarget && this.ganttEvent.changedTask && (index.h("g", { class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1303
1519
  }
1304
1520
  static get watchers() { return {
1305
1521
  "columnWidth": ["updateXStep"],
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const fButton = require('./f-button-89de2403.js');
6
+ const fButton = require('./f-button-23ec3db5.js');
7
7
  const fCheckbox = require('./f-checkbox-1fa28e76.js');
8
- const fTextField = require('./f-text-field-eb207a83.js');
8
+ const fTextField = require('./f-text-field-354b6c78.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-08a06162.js');
10
- const kupManager = require('./kup-manager-abfe4ddd.js');
10
+ const kupManager = require('./kup-manager-e1bfd4f8.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-51ef6d9a.js');
13
- require('./f-image-a41d7f1e.js');
13
+ require('./f-image-f3944c01.js');
14
14
  require('./component-cb3b32f5.js');
15
15
  require('./kup-dates-e22ee32c.js');
16
16
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-abfe4ddd.js');
6
+ const kupManager = require('./kup-manager-e1bfd4f8.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-e22ee32c.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-abfe4ddd.js');
6
+ const kupManager = require('./kup-manager-e1bfd4f8.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-e22ee32c.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const kupManager = require('./kup-manager-abfe4ddd.js');
6
+ const kupManager = require('./kup-manager-e1bfd4f8.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const kupDates = require('./kup-dates-e22ee32c.js');
9
9
 
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-958d0399.js');
6
- const fButton = require('./f-button-89de2403.js');
6
+ const fButton = require('./f-button-23ec3db5.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-51ef6d9a.js');
8
- const fImage = require('./f-image-a41d7f1e.js');
9
- const kupManager = require('./kup-manager-abfe4ddd.js');
8
+ const fImage = require('./f-image-f3944c01.js');
9
+ const kupManager = require('./kup-manager-e1bfd4f8.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
11
  require('./kup-dates-e22ee32c.js');
12
12