@sme.up/ketchup 10.4.0 → 10.4.2

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 (273) hide show
  1. package/dist/cjs/{f-cell-148f4ea6.js → f-cell-2dce1c47.js} +4 -4
  2. package/dist/cjs/{f-chip-5593bdd7.js → f-chip-b2b2de76.js} +1 -1
  3. package/dist/cjs/{f-object-field-a208a86e.js → f-object-field-508fe712.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-1dd80ec2.js → f-paginator-utils-40479dab.js} +1 -1
  5. package/dist/cjs/{f-text-field-83dd8cef.js → f-text-field-5634b79e.js} +1 -1
  6. package/dist/cjs/index-c7d441d8.js +0 -4
  7. package/dist/cjs/index.cjs.js +2 -2
  8. package/dist/cjs/ketchup.cjs.js +1 -1
  9. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  10. package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
  11. package/dist/cjs/kup-autocomplete_30.cjs.entry.js +46 -46
  12. package/dist/cjs/kup-box.cjs.entry.js +8 -8
  13. package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
  14. package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
  15. package/dist/cjs/kup-cell.cjs.entry.js +6 -6
  16. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
  18. package/dist/cjs/{kup-data-table-helper-63838dd1.js → kup-data-table-helper-262a013d.js} +2 -2
  19. package/dist/cjs/{kup-dates-8191989e.js → kup-dates-2ff08e4f.js} +91 -21
  20. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  22. package/dist/cjs/kup-editor.cjs.entry.js +2 -2
  23. package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-gantt_10.cjs.entry.js +25 -25
  25. package/dist/cjs/kup-grid.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-htm.cjs.entry.js +2 -2
  27. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  28. package/dist/cjs/kup-input-panel.cjs.entry.js +15 -11
  29. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  30. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  31. package/dist/cjs/{kup-manager-3dcd66b1.js → kup-manager-57f5a949.js} +1 -1
  32. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  34. package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
  35. package/dist/cjs/{kup-planner-renderer-helper-298e1b80.js → kup-planner-renderer-helper-7dfe474d.js} +1 -1
  36. package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
  37. package/dist/cjs/kup-planner.cjs.entry.js +4 -4
  38. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  39. package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
  40. package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
  41. package/dist/cjs/kup-txt.cjs.entry.js +3 -3
  42. package/dist/cjs/kup-typography-list.cjs.entry.js +3 -3
  43. package/dist/cjs/kup-typography.cjs.entry.js +4 -4
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/collection/assets/index.js +0 -4
  46. package/dist/collection/collection-manifest.json +0 -1
  47. package/dist/collection/components/kup-input-panel/kup-input-panel.js +9 -5
  48. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  49. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  50. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  51. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  52. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  53. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  54. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  55. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  56. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  57. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  58. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  59. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  60. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  61. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  62. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  63. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  64. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  65. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  66. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  67. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  68. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  69. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  70. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  71. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  72. package/dist/collection/components/kup-typography/kup-typography.js +2 -2
  73. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  74. package/dist/collection/managers/kup-dates/kup-dates.js +91 -0
  75. package/dist/components/index.js +1 -1
  76. package/dist/components/kup-accordion.js +2 -2
  77. package/dist/components/kup-activity-timeline.js +2 -2
  78. package/dist/components/kup-autocomplete.js +1 -1
  79. package/dist/components/kup-badge.js +1 -1
  80. package/dist/components/kup-box.js +1 -1
  81. package/dist/components/kup-button-list.js +1 -1
  82. package/dist/components/kup-button.js +1 -1
  83. package/dist/components/kup-calendar.js +3 -3
  84. package/dist/components/kup-card-list.js +3 -3
  85. package/dist/components/kup-card.js +1 -1
  86. package/dist/components/kup-cell.js +2 -2
  87. package/dist/components/kup-chart.js +1 -1
  88. package/dist/components/kup-checkbox.js +1 -1
  89. package/dist/components/kup-chip.js +1 -1
  90. package/dist/components/kup-color-picker.js +1 -1
  91. package/dist/components/kup-combobox.js +1 -1
  92. package/dist/components/kup-custom-task-list-header.js +1 -1
  93. package/dist/components/kup-custom-task-list-table.js +1 -1
  94. package/dist/components/kup-dashboard.js +2 -2
  95. package/dist/components/kup-data-table.js +1 -1
  96. package/dist/components/kup-date-picker.js +1 -1
  97. package/dist/components/kup-dialog.js +1 -1
  98. package/dist/components/kup-drawer.js +2 -2
  99. package/dist/components/kup-dropdown-button.js +1 -1
  100. package/dist/components/kup-echart.js +1 -1
  101. package/dist/components/kup-editor.js +1 -1
  102. package/dist/components/kup-family-tree.js +3 -3
  103. package/dist/components/kup-file-upload.js +1 -1
  104. package/dist/components/kup-form.js +1 -1
  105. package/dist/components/kup-gantt-calendar.js +1 -1
  106. package/dist/components/kup-gantt.js +1 -1
  107. package/dist/components/kup-gauge.js +1 -1
  108. package/dist/components/kup-grid-renderer.js +1 -1
  109. package/dist/components/kup-grid.js +1 -1
  110. package/dist/components/kup-horizontal-scroll.js +1 -1
  111. package/dist/components/kup-htm.js +2 -2
  112. package/dist/components/kup-iframe.js +2 -2
  113. package/dist/components/kup-image-list.js +1 -1
  114. package/dist/components/kup-image.js +1 -1
  115. package/dist/components/kup-input-panel.js +12 -8
  116. package/dist/components/kup-lazy.js +2 -2
  117. package/dist/components/kup-list.js +1 -1
  118. package/dist/components/kup-magic-box.js +4 -4
  119. package/dist/components/kup-nav-bar.js +2 -2
  120. package/dist/components/kup-numeric-picker.js +2 -2
  121. package/dist/components/kup-object-field.js +2 -2
  122. package/dist/components/kup-planner-renderer.js +1 -1
  123. package/dist/components/kup-planner.js +18 -18
  124. package/dist/components/kup-probe.js +3 -3
  125. package/dist/components/kup-progress-bar.js +1 -1
  126. package/dist/components/kup-qlik.js +3 -3
  127. package/dist/components/kup-radio.js +1 -1
  128. package/dist/components/kup-rating.js +1 -1
  129. package/dist/components/kup-snackbar.js +3 -3
  130. package/dist/components/kup-spinner.js +1 -1
  131. package/dist/components/kup-standard-tooltip.js +1 -1
  132. package/dist/components/kup-switch.js +1 -1
  133. package/dist/components/kup-switcher.js +1 -1
  134. package/dist/components/kup-tab-bar.js +1 -1
  135. package/dist/components/kup-task-gantt.js +1 -1
  136. package/dist/components/kup-task-list-header.js +1 -1
  137. package/dist/components/kup-task-list-table.js +1 -1
  138. package/dist/components/kup-task-list.js +1 -1
  139. package/dist/components/kup-text-field.js +1 -1
  140. package/dist/components/kup-time-picker.js +1 -1
  141. package/dist/components/kup-toolbar.js +1 -1
  142. package/dist/components/kup-tooltip.js +1 -1
  143. package/dist/components/kup-tree.js +1 -1
  144. package/dist/components/kup-txt.js +3 -3
  145. package/dist/components/kup-typography-list.js +3 -3
  146. package/dist/components/kup-typography.js +4 -4
  147. package/dist/components/kup-vertical-scroll.js +1 -1
  148. package/dist/components/{p-359a4569.js → p-00cf9dd2.js} +4 -4
  149. package/dist/components/{p-bfa406f9.js → p-0406cd83.js} +40 -40
  150. package/dist/components/p-0462f723.js +7 -0
  151. package/dist/components/{p-5b1056e4.js → p-156d3583.js} +7 -7
  152. package/dist/components/{p-aed6a4a1.js → p-200cb22e.js} +2 -2
  153. package/dist/components/{p-df7be9b0.js → p-2097fdc9.js} +2 -2
  154. package/dist/components/{p-de5d3537.js → p-25602d9a.js} +2 -2
  155. package/dist/components/{p-a79ced63.js → p-2d2e8390.js} +14 -14
  156. package/dist/components/{p-bbb25c58.js → p-3156038f.js} +1 -1
  157. package/dist/components/{p-ce948cb3.js → p-38d8b309.js} +3 -3
  158. package/dist/components/{p-9d13f3da.js → p-4684f313.js} +4 -4
  159. package/dist/components/{p-767fcf91.js → p-640b8279.js} +1 -1
  160. package/dist/components/{p-23d0f0c7.js → p-6f7b1f98.js} +1 -1
  161. package/dist/components/{p-9a617844.js → p-75521d10.js} +4 -4
  162. package/dist/components/{p-dc1ce1b4.js → p-7f02b390.js} +1 -1
  163. package/dist/components/{p-bf75edc9.js → p-873d5549.js} +1 -1
  164. package/dist/components/{p-9a502c5d.js → p-9669b12a.js} +2 -2
  165. package/dist/components/{p-9bde8078.js → p-9c67c242.js} +17 -17
  166. package/dist/components/{p-aa882232.js → p-a89d1d1e.js} +2 -2
  167. package/dist/components/{p-4d238cc9.js → p-d7365aa4.js} +92 -1
  168. package/dist/components/{p-cbc6b3d5.js → p-d8167d44.js} +2 -2
  169. package/dist/components/{p-bdecbc93.js → p-e2423dcd.js} +5 -5
  170. package/dist/components/{p-449a90f0.js → p-f23c2bc2.js} +2 -2
  171. package/dist/esm/{f-cell-989fd1e8.js → f-cell-1a087912.js} +4 -4
  172. package/dist/esm/{f-chip-c2d256a9.js → f-chip-876f5447.js} +1 -1
  173. package/dist/esm/{f-object-field-f3c12136.js → f-object-field-4382c70d.js} +2 -2
  174. package/dist/esm/{f-paginator-utils-f1bb71b3.js → f-paginator-utils-95d00f42.js} +1 -1
  175. package/dist/esm/{f-text-field-7d154a87.js → f-text-field-a13130d7.js} +1 -1
  176. package/dist/esm/index-9b0f4a0d.js +0 -4
  177. package/dist/esm/index.js +2 -2
  178. package/dist/esm/ketchup.js +1 -1
  179. package/dist/esm/kup-accordion.entry.js +2 -2
  180. package/dist/esm/kup-activity-timeline.entry.js +3 -3
  181. package/dist/esm/kup-autocomplete_30.entry.js +46 -46
  182. package/dist/esm/kup-box.entry.js +8 -8
  183. package/dist/esm/kup-calendar.entry.js +3 -3
  184. package/dist/esm/kup-card-list.entry.js +2 -2
  185. package/dist/esm/kup-cell.entry.js +6 -6
  186. package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
  187. package/dist/esm/kup-dashboard.entry.js +3 -3
  188. package/dist/esm/{kup-data-table-helper-f3423019.js → kup-data-table-helper-4ab72247.js} +2 -2
  189. package/dist/esm/{kup-dates-485a12d2.js → kup-dates-bf500166.js} +92 -20
  190. package/dist/esm/kup-drawer.entry.js +2 -2
  191. package/dist/esm/kup-echart.entry.js +2 -2
  192. package/dist/esm/kup-editor.entry.js +2 -2
  193. package/dist/esm/kup-family-tree.entry.js +2 -2
  194. package/dist/esm/kup-gantt_10.entry.js +25 -25
  195. package/dist/esm/kup-grid.entry.js +2 -2
  196. package/dist/esm/kup-htm.entry.js +2 -2
  197. package/dist/esm/kup-iframe.entry.js +2 -2
  198. package/dist/esm/kup-input-panel.entry.js +15 -11
  199. package/dist/esm/kup-lazy.entry.js +2 -2
  200. package/dist/esm/kup-magic-box.entry.js +2 -2
  201. package/dist/esm/{kup-manager-d826cc2e.js → kup-manager-150e2ada.js} +1 -1
  202. package/dist/esm/kup-nav-bar.entry.js +2 -2
  203. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  204. package/dist/esm/kup-object-field.entry.js +4 -4
  205. package/dist/esm/{kup-planner-renderer-helper-75b90431.js → kup-planner-renderer-helper-b328ea3f.js} +1 -1
  206. package/dist/esm/kup-planner-renderer.entry.js +4 -4
  207. package/dist/esm/kup-planner.entry.js +4 -4
  208. package/dist/esm/kup-probe.entry.js +3 -3
  209. package/dist/esm/kup-qlik.entry.js +3 -3
  210. package/dist/esm/kup-snackbar.entry.js +3 -3
  211. package/dist/esm/kup-txt.entry.js +3 -3
  212. package/dist/esm/kup-typography-list.entry.js +3 -3
  213. package/dist/esm/kup-typography.entry.js +4 -4
  214. package/dist/esm/loader.js +1 -1
  215. package/dist/ketchup/index.esm.js +1 -1
  216. package/dist/ketchup/ketchup.esm.js +1 -1
  217. package/dist/ketchup/{p-86966d2e.entry.js → p-018a6d06.entry.js} +1 -1
  218. package/dist/ketchup/{p-8e22f329.entry.js → p-091b08ff.entry.js} +1 -1
  219. package/dist/ketchup/{p-fe093639.entry.js → p-0bede0f7.entry.js} +1 -1
  220. package/dist/ketchup/{p-61078be9.entry.js → p-10812295.entry.js} +1 -1
  221. package/dist/ketchup/{p-6590f0b9.entry.js → p-17d03bbb.entry.js} +1 -1
  222. package/dist/ketchup/{p-23f5c497.entry.js → p-33d9524e.entry.js} +1 -1
  223. package/dist/ketchup/{p-43e80fd2.entry.js → p-36b5d26b.entry.js} +1 -1
  224. package/dist/ketchup/{p-16b66614.js → p-5154c3cd.js} +1 -1
  225. package/dist/ketchup/{p-6172f9ec.js → p-65509faf.js} +1 -1
  226. package/dist/ketchup/{p-760046d6.entry.js → p-672cab52.entry.js} +1 -1
  227. package/dist/ketchup/{p-5767cc14.entry.js → p-6e751ce8.entry.js} +1 -1
  228. package/dist/ketchup/{p-8c39950e.entry.js → p-763fd00d.entry.js} +1 -1
  229. package/dist/ketchup/{p-c4a65cf7.entry.js → p-76868077.entry.js} +1 -1
  230. package/dist/ketchup/{p-1af07a77.entry.js → p-7940d143.entry.js} +1 -1
  231. package/dist/ketchup/{p-bf2e49be.entry.js → p-7e92c87c.entry.js} +1 -1
  232. package/dist/ketchup/{p-b25d74fb.entry.js → p-7f8582e3.entry.js} +2 -2
  233. package/dist/ketchup/{p-a990c2a8.js → p-8721b809.js} +1 -1
  234. package/dist/ketchup/p-878f1dc1.entry.js +1 -0
  235. package/dist/ketchup/{p-42f29a2f.entry.js → p-983576c3.entry.js} +1 -1
  236. package/dist/ketchup/{p-e6947ad7.entry.js → p-99b4d81d.entry.js} +1 -1
  237. package/dist/ketchup/{p-1891f1e3.entry.js → p-9cbf5d71.entry.js} +1 -1
  238. package/dist/ketchup/{p-233b93b0.entry.js → p-a69b7815.entry.js} +1 -1
  239. package/dist/ketchup/{p-fdfb578a.entry.js → p-a8a09ca2.entry.js} +1 -1
  240. package/dist/ketchup/{p-9bd60add.entry.js → p-aa29831e.entry.js} +1 -1
  241. package/dist/ketchup/{p-5d594ebd.js → p-ad52ea4a.js} +1 -1
  242. package/dist/ketchup/p-adadf8b5.js +1 -0
  243. package/dist/ketchup/{p-af23613c.js → p-b20c5416.js} +1 -1
  244. package/dist/ketchup/{p-f6656fb8.js → p-b669cdca.js} +1 -1
  245. package/dist/ketchup/{p-8ee307af.entry.js → p-cbec9dd6.entry.js} +1 -1
  246. package/dist/ketchup/{p-05c1ec33.entry.js → p-d27d8ad1.entry.js} +1 -1
  247. package/dist/ketchup/{p-51f49c1a.js → p-d3e2500c.js} +1 -1
  248. package/dist/ketchup/{p-e8b59489.entry.js → p-d48d6b9b.entry.js} +1 -1
  249. package/dist/ketchup/{p-88ab81bc.entry.js → p-dbd00009.entry.js} +1 -1
  250. package/dist/ketchup/{p-93985707.entry.js → p-df030135.entry.js} +1 -1
  251. package/dist/ketchup/{p-b00a6249.entry.js → p-e3da3084.entry.js} +1 -1
  252. package/dist/ketchup/{p-d7ad7913.entry.js → p-e618deeb.entry.js} +2 -2
  253. package/dist/ketchup/{p-39485e5b.entry.js → p-e7feebf1.entry.js} +1 -1
  254. package/dist/ketchup/{p-2225fb63.entry.js → p-e9c66132.entry.js} +1 -1
  255. package/dist/ketchup/{p-2df5bf04.js → p-f2edb49f.js} +1 -1
  256. package/dist/ketchup/p-fa4a5da1.entry.js +1 -0
  257. package/dist/types/components.d.ts +0 -67
  258. package/package.json +1 -2
  259. package/dist/cjs/kup-pdf.cjs.entry.js +0 -76601
  260. package/dist/collection/assets/pdf.js +0 -15
  261. package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +0 -8
  262. package/dist/collection/components/kup-pdf/kup-pdf.css +0 -169
  263. package/dist/collection/components/kup-pdf/kup-pdf.js +0 -283
  264. package/dist/components/kup-pdf.d.ts +0 -11
  265. package/dist/components/kup-pdf.js +0 -76773
  266. package/dist/components/p-5882e117.js +0 -26
  267. package/dist/esm/kup-pdf.entry.js +0 -76597
  268. package/dist/ketchup/p-264ee487.js +0 -1
  269. package/dist/ketchup/p-27b85798.entry.js +0 -44
  270. package/dist/ketchup/p-6762a32c.entry.js +0 -1
  271. package/dist/ketchup/p-ee45eaa1.entry.js +0 -1
  272. package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +0 -7
  273. package/dist/types/components/kup-pdf/kup-pdf.d.ts +0 -47
@@ -1,7 +1,7 @@
1
1
  import { p as proxyCustomElement, H, h, F as Fragment } from './p-ef8cbd35.js';
2
2
  import { d as defaultStylingOptions } from './p-a0eeacbd.js';
3
3
  import { i as isKeyboardEvent } from './p-9aa93983.js';
4
- import { c as commonjsGlobal } from './p-5882e117.js';
4
+ import { c as commonjsGlobal } from './p-0462f723.js';
5
5
 
6
6
  const convertToBarTasks = (tasks, dates, columnWidth, rowHeight, taskHeight, projectHeight, timelineHeight, barCornerRadius, handleWidth, rtl, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, showSecondaryDates) => {
7
7
  let barTasks = tasks.map((t, i) => {
@@ -1402,13 +1402,13 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
1402
1402
  // }
1403
1403
  tickX += this.columnWidth;
1404
1404
  }
1405
- return (h("svg", { key: '380a83d730b9c011e576a588f689e88bf6bd1814', 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) }, h("g", { key: 'a9a83e3ec574b36a1ce9d012f6f1e13bffe8eed5', class: "grid" }, h("g", { key: '10d5b31ee258f91aac82ce3dc441871f57fe76f6', class: "rows" }, gridRows), h("g", { key: 'ddae99458fa1c0ce5b96ac9846bfb167d0f6d7a5', class: "rowLines" }, rowLines), h("g", { key: '3a30ca604d25216ecfcea251bced32d9ac211932', class: "ticks" }, ticks)), h("g", { key: '46d90e500351f11ffda906eb5c31fea195cc0223', class: "content" }, this.currentDateIndicator && (h("rect", { key: '167a7fa6be1cccaea4d57a2c687a0628e91c00d7', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: '310e6996cddec5650662b08289bb42c1715dcba5', fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), h("g", { key: '48d1b6330012fc1cb1bbdd87a25afc9e3e868867', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1405
+ return (h("svg", { key: '0395c2319db4698c367e9d4b2bb22da8f5119bd5', 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) }, h("g", { key: '4094639f9282fbdac78bf8d3aa05694b5c5bb6cf', class: "grid" }, h("g", { key: '92172ba05af1c2ed66c8655b66f8ae773c8fccba', class: "rows" }, gridRows), h("g", { key: '9fcfa11d689d6f01f54fb29d6156e789e60a39c5', class: "rowLines" }, rowLines), h("g", { key: 'e6d83941fd3a673d2c586f0bba71d5251ef6cc4a', class: "ticks" }, ticks)), h("g", { key: 'dd9221a588751170e915c4f72938dbfb9772a282', class: "content" }, this.currentDateIndicator && (h("rect", { key: '6734e5bb9a5d2143e458c83e6c24e875cafe5205', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: '70179996ddfdc8b33b9315f5e4938d6abd0ea3ae', fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), h("g", { key: '8f4f1b6dc0919c8251871e242d6ab514121d2a42', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1406
1406
  return task.barChildren.map((child) => {
1407
1407
  if (task.type !== 'timeline') {
1408
1408
  this.renderKupArrow(task, child);
1409
1409
  }
1410
1410
  });
1411
- })), h("g", { key: '92d9c57208504e793e94742c5d0a718b2a1ffa5e', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1411
+ })), h("g", { key: 'bbfff688585a2166f3008a75f9e39cbac90caa83', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1412
1412
  const forbidResize = task.type === 'project';
1413
1413
  return (h("g", { onKeyDown: (e) => {
1414
1414
  switch (e.key) {
@@ -1468,7 +1468,7 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
1468
1468
  return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
1469
1469
  }
1470
1470
  })()));
1471
- }), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'e42b2b38135aab0c22be661f29774c02341c3f87', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1471
+ }), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'cd2a823576c419481d36b5eb4147a8d7a2547ff4', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1472
1472
  }
1473
1473
  static get watchers() { return {
1474
1474
  "columnWidth": ["updateXStep"],
@@ -13,7 +13,7 @@ const StandardTooltipContent = /*@__PURE__*/ proxyCustomElement(class StandardTo
13
13
  this.fontFamily = undefined;
14
14
  }
15
15
  render() {
16
- return (h("div", { key: '7427840d8808ed3ebbc8b57f8bd4653243a6e9a1', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: '1d7aaa16b5fa91322952d235ac8a6ba90d4a3083', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { key: 'a30ef9c69dc7091d0f935d64d76ce6aa5eb32d4c', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '2cbb86c782ec3c4e87e2ddfaf2717bada396f664', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
16
+ return (h("div", { key: '82b85f32d22dcae1462fd312514ba3424d6584dd', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'a23740dc4f62fc0082c191bcaff8afcaa9a8ec4a', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { key: '660e8de0eb4236d960df443dffb5708d7ce499f4', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: 'f73f6a08eb3dd22ad7f923f1b07e6cba91069d72', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
17
17
  }
18
18
  static get style() { return KupStandardTooltipStyle0; }
19
19
  }, [1, "kup-standard-tooltip", {
@@ -1,5 +1,5 @@
1
1
  import { p as proxyCustomElement, H, h, F as Fragment } from './p-ef8cbd35.js';
2
- import { a as KupDates } from './p-4d238cc9.js';
2
+ import { a as KupDates } from './p-d7365aa4.js';
3
3
  import { c as createArrayFromNum } from './p-9aa93983.js';
4
4
 
5
5
  const ganttTableModuleCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-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:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-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{margin-top:var(--kup-space-04)}.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-subtle, #acacac);border-top:1px solid var(--kup-border-subtle, #acacac);padding-left:12px}.scrollable .project>*:first-child{border-left:1px solid var(--kup-border-subtle, #acacac);border-bottom-left-radius:4px;border-top-left-radius:4px}.scrollable .project>*:last-child{border-right:1px solid var(--kup-border-subtle, #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-layer-1);border-bottom:1px solid var(--kup-border-subtle);border-radius:var(--kup-radius-00);box-sizing:border-box;color:var(--kup-text-secondary);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center;padding:var(--kup-space-03)}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.project .main{font-weight:700;width:100%;padding-left:4px;font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.subrow{cursor:pointer;display:grid;border-bottom:1px solid var(--kup-border-subtle);box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background-color:var(--kup-layer-1);color:var(--kup-text-primary);font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.subrow:last-of-type{border-bottom:1px solid var(--kup-border-subtle)}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.timeline{padding:var(--kup-space-03);cursor:pointer;display:grid;border-bottom:1px solid var(--kup-border-subtle);border-radius:var(--kup-radius-00);grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background-color:var(--kup-layer-1);color:var(--kup-text-primary);font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.timeline .main{font-weight:700;width:100%;padding-left:4px;font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}";
@@ -14,11 +14,11 @@ const KupCustomTaskListHeader = /*@__PURE__*/ proxyCustomElement(class KupCustom
14
14
  this.fontSize = undefined;
15
15
  }
16
16
  render() {
17
- return (h("div", { key: '23f119a1f4df86a9c9518014672600827ef3946a', class: "custom-task-list-wrapper", style: {
17
+ return (h("div", { key: 'fdc8beea062b5fbed5133aa1a1bfbc210a2ee940', class: "custom-task-list-wrapper", style: {
18
18
  height: '25px',
19
19
  fontFamily: this.fontFamily,
20
20
  fontSize: this.fontSize,
21
- } }, h("div", { key: 'be428c1fa53e5d20c10b7841ed711678ca46ca50', class: "title" }, h("span", { key: '5c6742dd5a63dbf837e1df3f7daa422925be102b' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '7dee3b1d2c665d5360b85a59fdafc2902f1fec01', class: "toggler" }, h("label", { key: '2ff7fb287c8901f60018d57a3f91e4827d49fc0a', htmlFor: "ch2", class: "switch" }, h("input", { key: '3b8df0b5b2b66b34ffa0151c2b62523d9b756885', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: 'f38b848a394283807290d19c2188d8255745ea89', class: "slider" })), h("span", { key: '03870d86ee67071fc114da83ffc4fe3a8abc897d', class: "label" }, "Previsioni")))));
21
+ } }, h("div", { key: '938e5faed9978c03790ef22c9ceb6c2920d233f9', class: "title" }, h("span", { key: 'e3bcbfa356d75ef1deb19a28220a488f744eeb6f' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: 'fd7380ed55f1a8a0cf65b01d7307a8e955139e86', class: "toggler" }, h("label", { key: 'fdedd2e822bdb1e1d06ccdf7cf4cd3a725aa4210', htmlFor: "ch2", class: "switch" }, h("input", { key: '0108812b528e18ee463b396b127b9b7916745d68', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '18cae18f6ac56d2330433bf9b32e4f85d69f544e', class: "slider" })), h("span", { key: 'c452fffb482e38234ea405c4574a31ce39879093', class: "label" }, "Previsioni")))));
22
22
  }
23
23
  static get style() { return KupCustomTaskListHeaderStyle0; }
24
24
  }, [0, "kup-custom-task-list-header", {
@@ -1,21 +1,21 @@
1
1
  import { p as proxyCustomElement, H, h as h$1 } from './p-ef8cbd35.js';
2
- import { c as calculateDisplayedDateRange, a as convertProjectToTasks, b as getPhaseById, m as mergeTaskIntoProjects, e as getProjectById, f as mergeTaskIntoPhases, h as columnWidthForTimeUnit, d as defineCustomElement$5 } from './p-359a4569.js';
2
+ import { c as calculateDisplayedDateRange, a as convertProjectToTasks, b as getPhaseById, m as mergeTaskIntoProjects, e as getProjectById, f as mergeTaskIntoPhases, h as columnWidthForTimeUnit, d as defineCustomElement$5 } from './p-00cf9dd2.js';
3
3
  import { K as KUP_PLANNER_MAIN_GANTT_ID, f as KUP_PLANNER_SECONDARY_GANTT_ID } from './p-a0eeacbd.js';
4
- import { a as KupDates } from './p-4d238cc9.js';
5
- import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-aa882232.js';
4
+ import { a as KupDates } from './p-d7365aa4.js';
5
+ import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-a89d1d1e.js';
6
6
  import { h } from './p-3aae989f.js';
7
- import { d as defineCustomElement$e } from './p-9a502c5d.js';
8
- import { d as defineCustomElement$d } from './p-bf75edc9.js';
9
- import { d as defineCustomElement$c } from './p-a79ced63.js';
10
- import { d as defineCustomElement$a } from './p-9a617844.js';
11
- import { d as defineCustomElement$9 } from './p-bdecbc93.js';
12
- import { d as defineCustomElement$8 } from './p-dc1ce1b4.js';
13
- import { d as defineCustomElement$7 } from './p-bbb25c58.js';
14
- import { d as defineCustomElement$6 } from './p-9d13f3da.js';
15
- import { d as defineCustomElement$4 } from './p-5b1056e4.js';
16
- import { d as defineCustomElement$3 } from './p-23d0f0c7.js';
17
- import { d as defineCustomElement$2 } from './p-767fcf91.js';
18
- import { d as defineCustomElement$1 } from './p-cbc6b3d5.js';
7
+ import { d as defineCustomElement$e } from './p-9669b12a.js';
8
+ import { d as defineCustomElement$d } from './p-873d5549.js';
9
+ import { d as defineCustomElement$c } from './p-2d2e8390.js';
10
+ import { d as defineCustomElement$a } from './p-75521d10.js';
11
+ import { d as defineCustomElement$9 } from './p-e2423dcd.js';
12
+ import { d as defineCustomElement$8 } from './p-7f02b390.js';
13
+ import { d as defineCustomElement$7 } from './p-3156038f.js';
14
+ import { d as defineCustomElement$6 } from './p-4684f313.js';
15
+ import { d as defineCustomElement$4 } from './p-156d3583.js';
16
+ import { d as defineCustomElement$3 } from './p-6f7b1f98.js';
17
+ import { d as defineCustomElement$2 } from './p-640b8279.js';
18
+ import { d as defineCustomElement$1 } from './p-d8167d44.js';
19
19
 
20
20
  const CustomTooltipHOC = () => {
21
21
  const CustomTooltip = () => h("div", null);
@@ -240,13 +240,13 @@ const KupPlannerRenderer = /*@__PURE__*/ proxyCustomElement(class KupPlannerRend
240
240
  }
241
241
  render() {
242
242
  var _a, _b, _c;
243
- return (h$1("div", { key: 'c1cc0fe4d44331b5b75fb35b0afbd913caf7f622', class: "planner-render" }, h$1("kup-switcher", { key: '3c125419b5912ff9c9b9c24adba71dda785fa01d', timeUnitChange: (timeUnit) => {
243
+ return (h$1("div", { key: '453105f0084dc546f2ec3582d0c9baa941bf312b', class: "planner-render" }, h$1("kup-switcher", { key: 'bed5ea35a8e286999d2aeccf4ac3910b8e640631', timeUnitChange: (timeUnit) => {
244
244
  var _a, _b;
245
245
  (_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
246
246
  this.timeUnit = timeUnit;
247
247
  this.viewDate = undefined;
248
248
  this.scrollX = -1;
249
- } }), this.props && (h$1("div", { key: 'cf92a3212f97ec496aa30ff6b7eec91e831e4b14', style: {
249
+ } }), this.props && (h$1("div", { key: 'a62b73855e3cfba1dcc08965d3b4d4d62184d4a9', style: {
250
250
  display: 'flex',
251
251
  flexDirection: 'column',
252
252
  } }, h$1("kup-gantt", Object.assign({ ref: (el) => (this.mainGantt = el), ganttId: KUP_PLANNER_MAIN_GANTT_ID, key: KUP_PLANNER_MAIN_GANTT_ID, filter: this.props.mainGantt.filter, hideLabel: this.props.mainGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.mainGantt.hideDependencies, ganttHeight: this.props.mainGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.tasks, columnWidth: columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.mainGantt.stylingOptions, { TaskListHeader: this.props.mainGantt.taskListHeaderProject, TaskListTable: this.props.mainGantt.taskListTableProject, TooltipContent: (_a = this.props.mainGantt.tooltipContent) !== null && _a !== void 0 ? _a : CustomTooltipHOC(), barClick: (task) => {
@@ -316,11 +316,11 @@ const KupGanttCalendar = /*@__PURE__*/ proxyCustomElement(class KupGanttCalendar
316
316
  this.simplifiedHeader =
317
317
  this.singleLineHeader && this.dateSetup.viewMode !== 'year';
318
318
  const [topValues, bottomValues] = this.getTopAndBottomValues();
319
- return (h("svg", { key: '4bca0e060f56a7fe37e05b75d5d6869f040704a6', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: '7d8e96b34aeb2d6fda64ca62c8f85669609d6dbb', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: '8e7726a396d3f38f4b264acaeb6b28e998bfb60c', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
319
+ return (h("svg", { key: '4d3337bc44f889a9c56b70f00c3d9691935ebb1a', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'e04a41685f85602f4673e3720730c6a772245bd0', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: '4ef10013b909f7077731979bcec3f231022e9eab', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
320
320
  ? topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
321
321
  : topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
322
322
  // current date indicator
323
- h("circle", { key: '8a301e27afb5737f85421156a63ce577096846a7', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
323
+ h("circle", { key: '783f6187865b0f21a7f066a7e8d23d677ea01b5b', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
324
324
  }
325
325
  static get style() { return KupGanttCalendarStyle0; }
326
326
  }, [0, "kup-gantt-calendar", {
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal } from './p-5882e117.js';
1
+ import { c as commonjsGlobal } from './p-0462f723.js';
2
2
 
3
3
  /**
4
4
  * Supported locales.
@@ -308,6 +308,31 @@ class KupDates {
308
308
  if (!format) {
309
309
  format = 'L'; // MM/DD/YYYY, DD/MM/YYYY depending on locale
310
310
  }
311
+ // Check if input is an ISO date string with early year (0001-0999)
312
+ if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
313
+ const yearStr = input.substring(0, 4);
314
+ const year = Number(yearStr);
315
+ if (year >= 1 && year <= 999) {
316
+ // Use native Date for early years
317
+ const nativeDate = new Date(input);
318
+ if (!isNaN(nativeDate.getTime())) {
319
+ // Manual formatting for common ISO formats
320
+ if (format === 'YYYY-MM-DD' ||
321
+ format === KupDatesFormats.ISO_DATE) {
322
+ return nativeDate.toISOString().substring(0, 10);
323
+ }
324
+ else if (format === 'YYYY-MM-DD HH:mm:ss' ||
325
+ format === KupDatesFormats.ISO_DATE_TIME) {
326
+ return nativeDate
327
+ .toISOString()
328
+ .substring(0, 19)
329
+ .replace('T', ' ');
330
+ }
331
+ // For other formats, convert to dayjs but be aware of year issues
332
+ return dayjs.utc(nativeDate).format(format);
333
+ }
334
+ }
335
+ }
311
336
  return dayjs.utc(input).format(format);
312
337
  }
313
338
  /**
@@ -328,6 +353,48 @@ class KupDates {
328
353
  return time.toLocaleTimeString(this.getLocale() + '-u-hc-h23', options);
329
354
  }
330
355
  isIsoDate(dateString) {
356
+ // Validate input
357
+ if (!dateString || typeof dateString !== 'string') {
358
+ return false;
359
+ }
360
+ // ISO date must be at least 10 characters (YYYY-MM-DD)
361
+ if (dateString.length < 10) {
362
+ return false;
363
+ }
364
+ // Extract year from the string
365
+ const yearStr = dateString.substring(0, 4);
366
+ const year = Number(yearStr);
367
+ // Year 0 doesn't exist in Gregorian calendar (goes from 1 BC to 1 AD)
368
+ if (year === 0 || isNaN(year)) {
369
+ return false;
370
+ }
371
+ // For years 0001-0999, dayjs misinterprets them, so use native Date parsing
372
+ if (year >= 1 && year <= 999) {
373
+ try {
374
+ const nativeDate = new Date(dateString);
375
+ if (isNaN(nativeDate.getTime())) {
376
+ return false;
377
+ }
378
+ // Validate the parsed components match the input
379
+ const isoString = nativeDate.toISOString();
380
+ if (Number(isoString.substring(0, 4)) != year) {
381
+ return false;
382
+ }
383
+ if (Number(dateString.substring(5, 7)) !=
384
+ nativeDate.getUTCMonth() + 1) {
385
+ return false;
386
+ }
387
+ if (Number(dateString.substring(8, 10)) !=
388
+ nativeDate.getUTCDate()) {
389
+ return false;
390
+ }
391
+ return true;
392
+ }
393
+ catch (_a) {
394
+ return false;
395
+ }
396
+ }
397
+ // For years 1000 and above, use dayjs as usual
331
398
  const isoDate = dayjs(dateString, [
332
399
  KupDatesFormats.ISO_DATE,
333
400
  KupDatesFormats.ISO_DATE_TIME,
@@ -435,6 +502,18 @@ class KupDates {
435
502
  * @returns {Date} Date object.
436
503
  */
437
504
  toDate(input, format) {
505
+ // Check if input is an ISO date string with early year (0001-0999)
506
+ if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
507
+ const yearStr = input.substring(0, 4);
508
+ const year = Number(yearStr);
509
+ if (year >= 1 && year <= 999) {
510
+ // Use native Date for early years
511
+ const nativeDate = new Date(input);
512
+ if (!isNaN(nativeDate.getTime())) {
513
+ return nativeDate;
514
+ }
515
+ }
516
+ }
438
517
  const parsed = format ? dayjs.utc(input, format) : dayjs.utc(input);
439
518
  return parsed.isValid() ? parsed.toDate() : null;
440
519
  }
@@ -445,6 +524,18 @@ class KupDates {
445
524
  * @returns {dayjs.Dayjs} Dayjs object.
446
525
  */
447
526
  toDayjs(input, format) {
527
+ // Check if input is an ISO date string with early year (0001-0999)
528
+ if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
529
+ const yearStr = input.substring(0, 4);
530
+ const year = Number(yearStr);
531
+ if (year >= 1 && year <= 999) {
532
+ // Use native Date for early years, then convert to dayjs
533
+ const nativeDate = new Date(input);
534
+ if (!isNaN(nativeDate.getTime())) {
535
+ return dayjs(nativeDate);
536
+ }
537
+ }
538
+ }
448
539
  const dayJsResult = format ? dayjs(input, format) : dayjs(input);
449
540
  return dayJsResult.isValid() ? dayJsResult : null;
450
541
  }
@@ -37,11 +37,11 @@ const KupVerticalScroll = /*@__PURE__*/ proxyCustomElement(class KupVerticalScro
37
37
  };
38
38
  }
39
39
  render() {
40
- return (h("div", { key: '8e3600213a2d21a94dbb232a0dd2b83c332fc093', style: {
40
+ return (h("div", { key: '7c51a0f660ddf3e8bd92481ee3d231b432673477', style: {
41
41
  height: `${this.ganttHeight}px`,
42
42
  marginTop: `${this.headerHeight}px`,
43
43
  marginLeft: this.rtl ? '' : '-1rem',
44
- }, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: 'f11b5279bb0fafa024cf92df8a9960fb4fdaa8d5', style: {
44
+ }, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '40e5807dfed85935ff06b86406faf165b95409d0', style: {
45
45
  height: `${this.ganttFullHeight}px`,
46
46
  width: '1px',
47
47
  } })));
@@ -60,20 +60,20 @@ const HorizontalScroll = /*@__PURE__*/ proxyCustomElement(class HorizontalScroll
60
60
  var _a, _b;
61
61
  const w = (_b = ((_a = this.taskListTrueRef) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) + 24 * 1.5) !== null && _b !== void 0 ? _b : 0; // 24 * 2 is the sum of padding and margin for both list and gantt, multiplied by 1.5 cause we need to add the other half to the right
62
62
  const width = +this.listCellWidth.replace('px', '');
63
- return (h(Fragment, { key: '1cb5cc72c0e08db314e6ead1a39180e6a20ed6f9' }, h("div", { key: 'da412f0efab8374f0bbc7cf4ab125d7e113543ee', class: "scroll-container" }, this.scrollableTaskList &&
64
- this.taskListScrollWidth > width && (h("div", { key: '40344cef778d4b9051cf1d321b7b49e82e3bb35c', dir: "ltr", style: {
63
+ return (h(Fragment, { key: 'f3b55ade278b97bd84d78c543a465ab43cb0c04b' }, h("div", { key: 'd055d4cce94f6bfe8e590d0edbb2185763b0e14e', class: "scroll-container" }, this.scrollableTaskList &&
64
+ this.taskListScrollWidth > width && (h("div", { key: '9b56debdb882b93b65098e38bbff1fbce0dc79a0', dir: "ltr", style: {
65
65
  margin: this.rtl
66
66
  ? `0px 20px 0px 20px`
67
67
  : `0px 20px 0px 20px`,
68
68
  maxWidth: `${width + 20}px`,
69
69
  minWidth: `${width + 20}px`,
70
- }, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: 'f39845955cc68e1900c597bc13966e2daf6e336c', style: {
70
+ }, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '5b4508bfd4e72006153cd9f368675a87f6809e22', style: {
71
71
  width: `${this.taskListScrollWidth}px`,
72
- }, class: "scroll" }))), h("div", { key: '8aa6d6fbbd7fea960479851a816d93b31c971269', dir: "ltr", style: {
72
+ }, class: "scroll" }))), h("div", { key: 'bfd573478aa4930a0b97a6a57c76412f67568ec1', dir: "ltr", style: {
73
73
  margin: this.rtl
74
74
  ? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
75
75
  : `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
76
- }, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: 'd0502cab3f7a0e3cb145f903b4ce5c708ec5917e', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
76
+ }, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '48ec74f46bdd8f6197a55efea02b5160527f350f', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
77
77
  }
78
78
  get rootElement() { return this; }
79
79
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-de5d3537.js';
3
- import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-bfa406f9.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-25602d9a.js';
3
+ import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-0406cd83.js';
4
4
 
5
5
  /*! *****************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
@@ -1,11 +1,11 @@
1
1
  import { h, F as Fragment } from './index-9b0f4a0d.js';
2
- import { aq as editableTypes, ar as kupTypes, R as FCellClasses, ad as FCellTypes, f as KupThemeColorValues, ao as CHIAdapter, am as RADAdapter, al as CMBandACPAdapter, as as KupTagNames, F as FCellShapes, ai as getCellValueForDisplay, a as KupComponentSizing, at as fullWidthFieldsComps, I as ItemsDisplayMode, au as autoCenterComps, av as adaptContentToDisplayMode, aw as FCellEvents, ax as isForceUppercase, ay as isForceLowercase, h as KupDebugCategory } from './kup-manager-d826cc2e.js';
2
+ import { aq as editableTypes, ar as kupTypes, R as FCellClasses, ad as FCellTypes, f as KupThemeColorValues, ao as CHIAdapter, am as RADAdapter, al as CMBandACPAdapter, as as KupTagNames, F as FCellShapes, ai as getCellValueForDisplay, a as KupComponentSizing, at as fullWidthFieldsComps, I as ItemsDisplayMode, au as autoCenterComps, av as adaptContentToDisplayMode, aw as FCellEvents, ax as isForceUppercase, ay as isForceLowercase, h as KupDebugCategory } from './kup-manager-150e2ada.js';
3
3
  import { F as FButton } from './f-button-6298565d.js';
4
4
  import { F as FCheckbox } from './f-checkbox-191ec2e7.js';
5
- import { F as FChipType, d as FChip } from './f-chip-c2d256a9.js';
5
+ import { F as FChipType, d as FChip } from './f-chip-876f5447.js';
6
6
  import { F as FImage } from './f-image-96ea1421.js';
7
- import { F as FObjectField } from './f-object-field-f3c12136.js';
8
- import { F as FTextField } from './f-text-field-7d154a87.js';
7
+ import { F as FObjectField } from './f-object-field-4382c70d.js';
8
+ import { F as FTextField } from './f-text-field-a13130d7.js';
9
9
 
10
10
  var FRadioType;
11
11
  (function (FRadioType) {
@@ -1,6 +1,6 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
2
  import { F as FImage } from './f-image-96ea1421.js';
3
- import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-d826cc2e.js';
3
+ import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-150e2ada.js';
4
4
 
5
5
  function getIdOfItemByDisplayMode(item, mode, separator) {
6
6
  const { id, value } = item;
@@ -1,8 +1,8 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
- import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-d826cc2e.js';
2
+ import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-150e2ada.js';
3
3
  import { F as FButton } from './f-button-6298565d.js';
4
4
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
5
- import { F as FTextField } from './f-text-field-7d154a87.js';
5
+ import { F as FTextField } from './f-text-field-a13130d7.js';
6
6
 
7
7
  const STATE = new WeakMap();
8
8
  const FObjectField = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-9b0f4a0d.js';
2
- import { I as ItemsDisplayMode, az as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-d826cc2e.js';
2
+ import { I as ItemsDisplayMode, az as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-150e2ada.js';
3
3
  import { F as FButton } from './f-button-6298565d.js';
4
4
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { h, g as getAssetPath } from './index-9b0f4a0d.js';
2
- import { d as KupThemeIconValues } from './kup-manager-d826cc2e.js';
2
+ import { d as KupThemeIconValues } from './kup-manager-150e2ada.js';
3
3
  import { F as FImage } from './f-image-96ea1421.js';
4
4
 
5
5
  const dom = document.documentElement;
@@ -120,10 +120,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
120
120
  return import(
121
121
  /* webpackMode: "lazy" */
122
122
  './kup-object-field.entry.js').then(processMod, consoleError);
123
- case 'kup-pdf':
124
- return import(
125
- /* webpackMode: "lazy" */
126
- './kup-pdf.entry.js').then(processMod, consoleError);
127
123
  case 'kup-planner':
128
124
  return import(
129
125
  /* webpackMode: "lazy" */
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { K as KupManager } from './kup-manager-d826cc2e.js';
2
- import './kup-dates-485a12d2.js';
1
+ import { K as KupManager } from './kup-manager-150e2ada.js';
2
+ import './kup-dates-bf500166.js';
3
3
  import './index-9b0f4a0d.js';
4
4
 
5
5
  /** used for obtain a KupManager instance without a dom document (for UT) */