@sme.up/ketchup 10.3.6 → 10.3.8

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 (298) hide show
  1. package/dist/cjs/{f-cell-e5ff9c98.js → f-cell-9a77e09a.js} +24 -19
  2. package/dist/cjs/{f-chip-f35c1b42.js → f-chip-f1b14141.js} +1 -1
  3. package/dist/cjs/{f-object-field-04065abd.js → f-object-field-7c1ea180.js} +2 -2
  4. package/dist/cjs/{f-paginator-utils-3ada5c71.js → f-paginator-utils-49cf707b.js} +9 -7
  5. package/dist/cjs/{f-text-field-0eda27cd.js → f-text-field-f5b2163a.js} +2 -5
  6. package/dist/cjs/index.cjs.js +1 -1
  7. package/dist/cjs/ketchup.cjs.js +1 -1
  8. package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  10. package/dist/cjs/kup-autocomplete_30.cjs.entry.js +229 -106
  11. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  12. package/dist/cjs/kup-calendar.cjs.entry.js +15 -8
  13. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  14. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +37 -19
  16. package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
  17. package/dist/cjs/{kup-data-table-helper-0b79fb90.js → kup-data-table-helper-63e5d7a2.js} +8 -4
  18. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-echart.cjs.entry.js +48 -6
  20. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +26 -26
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-htm.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +169 -29
  27. package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
  29. package/dist/cjs/{kup-manager-5cdad0f5.js → kup-manager-15f30f03.js} +7 -11
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
  33. package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
  34. package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
  35. package/dist/cjs/kup-planner.cjs.entry.js +3 -3
  36. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  37. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  38. package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
  39. package/dist/cjs/kup-txt.cjs.entry.js +2 -2
  40. package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
  41. package/dist/cjs/kup-typography.cjs.entry.js +3 -3
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/collection/assets/echart.js +343 -169
  44. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -2
  45. package/dist/collection/components/kup-calendar/kup-calendar.js +8 -4
  46. package/dist/collection/components/kup-chip/kup-chip-declarations.js +6 -1
  47. package/dist/collection/components/kup-chip/kup-chip.js +57 -57
  48. package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
  49. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
  50. package/dist/collection/components/kup-data-table/kup-data-table-helper.js +5 -1
  51. package/dist/collection/components/kup-data-table/kup-data-table.css +21 -4
  52. package/dist/collection/components/kup-data-table/kup-data-table.js +90 -23
  53. package/dist/collection/components/kup-echart/kup-echart.js +47 -5
  54. package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -1
  55. package/dist/collection/components/kup-file-upload/kup-file-upload.css +13 -0
  56. package/dist/collection/components/kup-file-upload/kup-file-upload.js +215 -25
  57. package/dist/collection/components/kup-form/kup-form.js +2 -2
  58. package/dist/collection/components/kup-htm/kup-htm.js +1 -1
  59. package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
  60. package/dist/collection/components/kup-input-panel/kup-input-panel.js +183 -23
  61. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  62. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  63. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  64. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  65. package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
  66. package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
  67. package/dist/collection/components/kup-planner/kup-planner.js +1 -1
  68. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  69. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +30 -12
  70. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
  71. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
  72. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
  73. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
  74. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
  75. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
  76. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
  77. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  78. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  79. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.css +1 -0
  80. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
  81. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  82. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  83. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  84. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  85. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  86. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  87. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  88. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  89. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  90. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  91. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  92. package/dist/collection/components/kup-txt/kup-txt.js +1 -1
  93. package/dist/collection/components/kup-typography/kup-typography.js +2 -2
  94. package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
  95. package/dist/collection/f-components/f-cell/f-cell.js +13 -7
  96. package/dist/collection/f-components/f-chip/f-chip.js +1 -1
  97. package/dist/collection/f-components/f-label/f-label.js +4 -7
  98. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -1
  99. package/dist/collection/f-components/f-radio/f-radio.js +3 -1
  100. package/dist/collection/f-components/f-text-field/f-text-field.js +1 -4
  101. package/dist/collection/utils/cell-utils.js +2 -7
  102. package/dist/components/index.js +1 -1
  103. package/dist/components/kup-accordion.js +2 -2
  104. package/dist/components/kup-activity-timeline.js +2 -2
  105. package/dist/components/kup-autocomplete.js +1 -1
  106. package/dist/components/kup-badge.js +1 -1
  107. package/dist/components/kup-box.js +1 -1
  108. package/dist/components/kup-button-list.js +1 -1
  109. package/dist/components/kup-button.js +1 -1
  110. package/dist/components/kup-calendar.js +15 -8
  111. package/dist/components/kup-card-list.js +3 -3
  112. package/dist/components/kup-card.js +1 -1
  113. package/dist/components/kup-cell.js +2 -2
  114. package/dist/components/kup-chart.js +1 -1
  115. package/dist/components/kup-checkbox.js +1 -1
  116. package/dist/components/kup-chip.js +1 -1
  117. package/dist/components/kup-color-picker.js +1 -1
  118. package/dist/components/kup-combobox.js +1 -1
  119. package/dist/components/kup-custom-task-list-header.js +1 -1
  120. package/dist/components/kup-custom-task-list-table.js +1 -1
  121. package/dist/components/kup-dashboard.js +2 -2
  122. package/dist/components/kup-data-table.js +1 -1
  123. package/dist/components/kup-date-picker.js +1 -1
  124. package/dist/components/kup-dialog.js +1 -1
  125. package/dist/components/kup-drawer.js +2 -2
  126. package/dist/components/kup-dropdown-button.js +1 -1
  127. package/dist/components/kup-echart.js +1 -1
  128. package/dist/components/kup-editor.js +1 -1
  129. package/dist/components/kup-family-tree.js +3 -3
  130. package/dist/components/kup-file-upload.js +1 -1
  131. package/dist/components/kup-form.js +1 -1
  132. package/dist/components/kup-gantt-calendar.js +1 -1
  133. package/dist/components/kup-gantt.js +1 -1
  134. package/dist/components/kup-gauge.js +1 -1
  135. package/dist/components/kup-grid-renderer.js +1 -1
  136. package/dist/components/kup-grid.js +1 -1
  137. package/dist/components/kup-horizontal-scroll.js +1 -1
  138. package/dist/components/kup-htm.js +3 -3
  139. package/dist/components/kup-iframe.js +2 -2
  140. package/dist/components/kup-image-list.js +1 -1
  141. package/dist/components/kup-image.js +1 -1
  142. package/dist/components/kup-input-panel.js +167 -27
  143. package/dist/components/kup-lazy.js +13 -13
  144. package/dist/components/kup-list.js +1 -1
  145. package/dist/components/kup-magic-box.js +7 -7
  146. package/dist/components/kup-nav-bar.js +3 -3
  147. package/dist/components/kup-numeric-picker.js +3 -3
  148. package/dist/components/kup-object-field.js +3 -3
  149. package/dist/components/kup-pdf.js +3 -3
  150. package/dist/components/kup-planner-renderer.js +1 -1
  151. package/dist/components/kup-planner.js +18 -18
  152. package/dist/components/kup-probe.js +3 -3
  153. package/dist/components/kup-progress-bar.js +1 -1
  154. package/dist/components/kup-qlik.js +3 -3
  155. package/dist/components/kup-radio.js +1 -1
  156. package/dist/components/kup-rating.js +1 -1
  157. package/dist/components/kup-snackbar.js +3 -3
  158. package/dist/components/kup-spinner.js +1 -1
  159. package/dist/components/kup-standard-tooltip.js +1 -1
  160. package/dist/components/kup-switch.js +1 -1
  161. package/dist/components/kup-switcher.js +1 -1
  162. package/dist/components/kup-tab-bar.js +1 -1
  163. package/dist/components/kup-task-gantt.js +1 -1
  164. package/dist/components/kup-task-list-header.js +1 -1
  165. package/dist/components/kup-task-list-table.js +1 -1
  166. package/dist/components/kup-task-list.js +1 -1
  167. package/dist/components/kup-text-field.js +1 -1
  168. package/dist/components/kup-time-picker.js +1 -1
  169. package/dist/components/kup-toolbar.js +1 -1
  170. package/dist/components/kup-tooltip.js +1 -1
  171. package/dist/components/kup-tree.js +1 -1
  172. package/dist/components/kup-txt.js +3 -3
  173. package/dist/components/kup-typography-list.js +3 -3
  174. package/dist/components/kup-typography.js +4 -4
  175. package/dist/components/kup-vertical-scroll.js +1 -1
  176. package/dist/components/{p-ae3013bd.js → p-0886650d.js} +2 -2
  177. package/dist/components/{p-daa07bb7.js → p-168b2e98.js} +2 -2
  178. package/dist/components/{p-5e31c839.js → p-46440124.js} +2 -2
  179. package/dist/components/{p-af0a6cfe.js → p-47eafd24.js} +2 -2
  180. package/dist/components/{p-33cf89e0.js → p-57069e5c.js} +1 -1
  181. package/dist/components/{p-c061deb1.js → p-5aea1707.js} +279 -135
  182. package/dist/components/{p-28774fba.js → p-73b82fab.js} +4 -4
  183. package/dist/components/{p-5db0bb55.js → p-75cc2a0e.js} +4 -4
  184. package/dist/components/{p-57a120a5.js → p-78086e86.js} +1 -1
  185. package/dist/components/{p-46ec5845.js → p-7b80651f.js} +1 -1
  186. package/dist/components/{p-34ed7a73.js → p-7fa7072d.js} +2 -2
  187. package/dist/components/{p-edac29ad.js → p-91cbfbb1.js} +2 -2
  188. package/dist/components/{p-b87bd975.js → p-96d517a7.js} +5 -5
  189. package/dist/components/{p-5579a90c.js → p-a52b0e92.js} +30 -12
  190. package/dist/components/{p-394a36af.js → p-bba3ee8c.js} +3 -3
  191. package/dist/components/{p-b45eb398.js → p-d5573b9a.js} +14 -14
  192. package/dist/components/{p-28f24feb.js → p-dbfe7218.js} +16 -16
  193. package/dist/components/{p-398198d3.js → p-e74c4841.js} +49 -7
  194. package/dist/components/{p-7aa9d49d.js → p-f0de2fa5.js} +8 -8
  195. package/dist/components/{p-d3a8c2ba.js → p-f836c3ed.js} +2 -2
  196. package/dist/components/{p-df77b97b.js → p-fbaf1165.js} +7 -11
  197. package/dist/esm/{f-cell-d72f5a9c.js → f-cell-0a43dfd3.js} +24 -19
  198. package/dist/esm/{f-chip-663db488.js → f-chip-d5f27ee2.js} +1 -1
  199. package/dist/esm/{f-object-field-afe7604f.js → f-object-field-6f759bf9.js} +2 -2
  200. package/dist/esm/{f-paginator-utils-b6924c55.js → f-paginator-utils-6d124369.js} +9 -7
  201. package/dist/esm/{f-text-field-40f1ad00.js → f-text-field-86dd8534.js} +2 -5
  202. package/dist/esm/index.js +1 -1
  203. package/dist/esm/ketchup.js +1 -1
  204. package/dist/esm/kup-accordion.entry.js +1 -1
  205. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  206. package/dist/esm/kup-autocomplete_30.entry.js +229 -106
  207. package/dist/esm/kup-box.entry.js +7 -7
  208. package/dist/esm/kup-calendar.entry.js +15 -8
  209. package/dist/esm/kup-card-list.entry.js +1 -1
  210. package/dist/esm/kup-cell.entry.js +5 -5
  211. package/dist/esm/kup-custom-task-list-header_4.entry.js +37 -19
  212. package/dist/esm/kup-dashboard.entry.js +2 -2
  213. package/dist/esm/{kup-data-table-helper-8f020338.js → kup-data-table-helper-7d5e4260.js} +8 -4
  214. package/dist/esm/kup-drawer.entry.js +1 -1
  215. package/dist/esm/kup-echart.entry.js +48 -6
  216. package/dist/esm/kup-editor.entry.js +1 -1
  217. package/dist/esm/kup-family-tree.entry.js +1 -1
  218. package/dist/esm/kup-gantt_10.entry.js +26 -26
  219. package/dist/esm/kup-grid.entry.js +1 -1
  220. package/dist/esm/kup-htm.entry.js +2 -2
  221. package/dist/esm/kup-iframe.entry.js +1 -1
  222. package/dist/esm/kup-input-panel.entry.js +169 -29
  223. package/dist/esm/kup-lazy.entry.js +12 -12
  224. package/dist/esm/kup-magic-box.entry.js +4 -4
  225. package/dist/esm/{kup-manager-b367be3b.js → kup-manager-2b06d829.js} +7 -11
  226. package/dist/esm/kup-nav-bar.entry.js +2 -2
  227. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  228. package/dist/esm/kup-object-field.entry.js +4 -4
  229. package/dist/esm/kup-pdf.entry.js +2 -2
  230. package/dist/esm/kup-planner-renderer.entry.js +2 -2
  231. package/dist/esm/kup-planner.entry.js +3 -3
  232. package/dist/esm/kup-probe.entry.js +2 -2
  233. package/dist/esm/kup-qlik.entry.js +2 -2
  234. package/dist/esm/kup-snackbar.entry.js +2 -2
  235. package/dist/esm/kup-txt.entry.js +2 -2
  236. package/dist/esm/kup-typography-list.entry.js +2 -2
  237. package/dist/esm/kup-typography.entry.js +3 -3
  238. package/dist/esm/loader.js +1 -1
  239. package/dist/ketchup/index.esm.js +1 -1
  240. package/dist/ketchup/ketchup.esm.js +1 -1
  241. package/dist/ketchup/{p-b9350213.entry.js → p-00963efe.entry.js} +1 -1
  242. package/dist/ketchup/{p-62edfd5a.entry.js → p-045e7306.entry.js} +1 -1
  243. package/dist/ketchup/{p-8bc2888a.entry.js → p-0a93321f.entry.js} +1 -1
  244. package/dist/ketchup/{p-c0928fec.entry.js → p-1015f35b.entry.js} +1 -1
  245. package/dist/ketchup/{p-0666ba27.entry.js → p-179d9c32.entry.js} +2 -2
  246. package/dist/ketchup/{p-75deebdb.entry.js → p-17f69e68.entry.js} +1 -1
  247. package/dist/ketchup/{p-d49f1a0d.js → p-2bb6c663.js} +1 -1
  248. package/dist/ketchup/{p-ebf955a8.entry.js → p-2f626d6c.entry.js} +1 -1
  249. package/dist/ketchup/{p-9ff4c3e5.entry.js → p-39472246.entry.js} +1 -1
  250. package/dist/ketchup/{p-9c13c092.entry.js → p-3f7fec03.entry.js} +1 -1
  251. package/dist/ketchup/{p-26206b66.entry.js → p-425fab24.entry.js} +1 -1
  252. package/dist/ketchup/{p-51cc836a.js → p-43246def.js} +1 -1
  253. package/dist/ketchup/{p-4af4b7d3.entry.js → p-4c8480a1.entry.js} +1 -1
  254. package/dist/ketchup/p-4d3ae43b.entry.js +8 -0
  255. package/dist/ketchup/{p-941beedb.entry.js → p-4f380f49.entry.js} +1 -1
  256. package/dist/ketchup/p-514a0dfd.js +1 -0
  257. package/dist/ketchup/p-5f35bc3e.js +1 -0
  258. package/dist/ketchup/{p-d696e519.js → p-62b0efc0.js} +1 -1
  259. package/dist/ketchup/p-68929471.entry.js +1 -0
  260. package/dist/ketchup/{p-17b25b3d.entry.js → p-74035126.entry.js} +1 -1
  261. package/dist/ketchup/{p-c2531d28.entry.js → p-8a95b2a0.entry.js} +1 -1
  262. package/dist/ketchup/{p-ec1129bf.entry.js → p-9432bc02.entry.js} +1 -1
  263. package/dist/ketchup/{p-5bf264dd.entry.js → p-98fb85e5.entry.js} +1 -1
  264. package/dist/ketchup/p-a186678f.js +1 -0
  265. package/dist/ketchup/{p-4c8edfb1.entry.js → p-a301cd89.entry.js} +1 -1
  266. package/dist/ketchup/p-a34c1e3c.entry.js +1 -0
  267. package/dist/ketchup/p-b1371652.js +1 -0
  268. package/dist/ketchup/{p-fac09a35.entry.js → p-b1a9f499.entry.js} +1 -1
  269. package/dist/ketchup/{p-928adf93.entry.js → p-b5575d63.entry.js} +1 -1
  270. package/dist/ketchup/{p-4735c623.entry.js → p-beacc7fd.entry.js} +1 -1
  271. package/dist/ketchup/{p-6e6d3296.entry.js → p-bf5abe49.entry.js} +1 -1
  272. package/dist/ketchup/{p-b0550f15.entry.js → p-d022b77e.entry.js} +2 -2
  273. package/dist/ketchup/{p-32ced542.entry.js → p-d83f2153.entry.js} +1 -1
  274. package/dist/ketchup/{p-26a20d81.entry.js → p-e5022c5b.entry.js} +1 -1
  275. package/dist/ketchup/{p-def6d8b4.entry.js → p-e5f2da82.entry.js} +1 -1
  276. package/dist/ketchup/{p-f2bfb53c.entry.js → p-e6cad40c.entry.js} +1 -1
  277. package/dist/ketchup/{p-6b185239.entry.js → p-f9c3699f.entry.js} +1 -1
  278. package/dist/ketchup/p-f9d6a629.entry.js +16 -0
  279. package/dist/ketchup/{p-006b5782.entry.js → p-fd855732.entry.js} +1 -1
  280. package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +5 -1
  281. package/dist/types/components/kup-chip/kup-chip.d.ts +15 -15
  282. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +4 -1
  283. package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -1
  284. package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +6 -1
  285. package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +38 -5
  286. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
  287. package/dist/types/components.d.ts +65 -11
  288. package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
  289. package/dist/types/utils/cell-utils.d.ts +3 -1
  290. package/package.json +4 -1
  291. package/dist/ketchup/p-058def11.entry.js +0 -1
  292. package/dist/ketchup/p-29c07479.entry.js +0 -8
  293. package/dist/ketchup/p-2e012afe.js +0 -1
  294. package/dist/ketchup/p-43bfca60.entry.js +0 -16
  295. package/dist/ketchup/p-8be7a37f.js +0 -1
  296. package/dist/ketchup/p-b39c7a22.js +0 -1
  297. package/dist/ketchup/p-c109ce22.js +0 -1
  298. package/dist/ketchup/p-eb771c1b.entry.js +0 -1
@@ -1,18 +1,18 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a8 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aG as kupDraggableAttr, _ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-b367be3b.js';
3
- import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-8f020338.js';
2
+ import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a8 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aG as kupDraggableAttr, _ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-2b06d829.js';
3
+ import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-7d5e4260.js';
4
4
  import { F as FImage } from './f-image-a2ecd7c3.js';
5
- import { d as FChip } from './f-chip-663db488.js';
5
+ import { d as FChip } from './f-chip-d5f27ee2.js';
6
6
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
7
- import { F as FCell } from './f-cell-d72f5a9c.js';
8
- import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-b6924c55.js';
7
+ import { F as FCell } from './f-cell-0a43dfd3.js';
8
+ import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-6d124369.js';
9
9
  import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
10
10
  import './kup-dates-77f1a451.js';
11
11
  import './f-button-3c8f4506.js';
12
12
  import './f-button-declarations-6c8f8abe.js';
13
13
  import './f-checkbox-5cdd1cad.js';
14
- import './f-object-field-afe7604f.js';
15
- import './f-text-field-40f1ad00.js';
14
+ import './f-object-field-6f759bf9.js';
15
+ import './f-text-field-86dd8534.js';
16
16
  import './component-a35bc7f1.js';
17
17
 
18
18
  /**
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-b367be3b.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-2b06d829.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import { F as FButton } from './f-button-3c8f4506.js';
5
- import { d as FChip, F as FChipType } from './f-chip-663db488.js';
5
+ import { d as FChip, F as FChipType } from './f-chip-d5f27ee2.js';
6
6
  import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-77f1a451.js';
7
7
  import './f-button-declarations-6c8f8abe.js';
8
8
  import './f-image-a2ecd7c3.js';
@@ -13209,7 +13209,7 @@ class TableRows extends DateComponent {
13209
13209
  constructor() {
13210
13210
  super(...arguments);
13211
13211
  this.splitBusinessHourSegs = memoize(splitSegsByRow);
13212
- this.splitBgEventSegs = memoize(splitSegsByRow);
13212
+ this.splitBgEventSegs = memoize(splitAllDaySegsByRow);
13213
13213
  this.splitFgEventSegs = memoize(splitSegsByRow);
13214
13214
  this.splitDateSelectionSegs = memoize(splitSegsByRow);
13215
13215
  this.splitEventDrag = memoize(splitInteractionByRow);
@@ -13233,7 +13233,7 @@ class TableRows extends DateComponent {
13233
13233
  return (y(NowTimer, { unit: "day" }, (nowDate, todayRange) => (y(_, null, props.cells.map((cells, row) => (y(TableRow, { ref: this.rowRefs.createRef(row), key: cells.length
13234
13234
  ? cells[0].date.toISOString() /* best? or put key on cell? or use diff formatter? */
13235
13235
  : row // in case there are no cells (like when resource view is loading)
13236
- , showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row].filter(isSegAllDay) /* hack */, fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
13236
+ , showDayNumbers: rowCnt > 1, showWeekNumbers: props.showWeekNumbers, todayRange: todayRange, dateProfile: props.dateProfile, cells: cells, renderIntro: props.renderRowIntro, businessHourSegs: businessHourSegsByRow[row], eventSelection: props.eventSelection, bgEventSegs: bgEventSegsByRow[row], fgEventSegs: fgEventSegsByRow[row], dateSelectionSegs: dateSelectionSegsByRow[row], eventDrag: eventDragByRow[row], eventResize: eventResizeByRow[row], dayMaxEvents: props.dayMaxEvents, dayMaxEventRows: props.dayMaxEventRows, clientWidth: props.clientWidth, clientHeight: props.clientHeight, cellMinHeight: cellMinHeight, forPrint: props.forPrint })))))));
13237
13237
  }
13238
13238
  componentDidMount() {
13239
13239
  this.registerInteractiveComponent();
@@ -13302,6 +13302,9 @@ class TableRows extends DateComponent {
13302
13302
  return { start, end };
13303
13303
  }
13304
13304
  }
13305
+ function splitAllDaySegsByRow(segs, rowCnt) {
13306
+ return splitSegsByRow(segs.filter(isSegAllDay), rowCnt);
13307
+ }
13305
13308
  function isSegAllDay(seg) {
13306
13309
  return seg.eventRange.def.allDay;
13307
13310
  }
@@ -15132,7 +15135,8 @@ const KupCalendar = class {
15132
15135
  if (!this.dateCol || !this.descrCol) {
15133
15136
  throw new Error('dateCol or/and descrCol are not specified, check calendarColums props');
15134
15137
  }
15135
- events = this.getRows().map((row) => {
15138
+ events = this.getRows()
15139
+ .map((row) => {
15136
15140
  const cell = row.cells[this.dateCol];
15137
15141
  if (cell) {
15138
15142
  let startDate = this.kupManager.dates.toDayjs(cell.value);
@@ -15179,9 +15183,12 @@ const KupCalendar = class {
15179
15183
  : `invalid start date: ${cell.value}`}. ${endDate
15180
15184
  ? `end date: ${endDate}`
15181
15185
  : `invalid end date: ${cell.value}`}]`, KupDebugCategory.WARNING);
15186
+ return null;
15182
15187
  }
15183
15188
  }
15184
- });
15189
+ return null;
15190
+ })
15191
+ .filter((event) => event !== null);
15185
15192
  }
15186
15193
  catch (error) {
15187
15194
  this.kupManager.debug.logMessage(this, `Unable to create calendard events, caused by: ${error}`, KupDebugCategory.ERROR);
@@ -15246,11 +15253,11 @@ const KupCalendar = class {
15246
15253
  this.kupManager.debug.logRender(this, true);
15247
15254
  }
15248
15255
  render() {
15249
- return (h$1(Host, { key: '694d6c782eed06ec64232acc3ef163236c157711' }, h$1("style", { key: 'eaa3dca371969bb1cedb5b45e019ad6b563d3a0f' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '8d1d89e4526d1b50649d9486f5f292ff328d5457', id: componentWrapperId }, h$1("div", { key: 'fd7ce40682db901688644ff02e4fcd56f79c9256', class: "navigation" }, !this.hideNavigation ? (h$1("div", { class: "navigation__left" }, h$1(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h$1(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h$1(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h$1("div", { key: '832adde7b78762398fb46d100159bc9e3ad31ea3', class: `navigation__title ${this.hideNavigation
15256
+ return (h$1(Host, { key: '84b96d480944784ba43b426e8d01e536f1bafc67' }, h$1("style", { key: 'bdaf0c3a8ee5cc6bdc7dc9e9cbc13529ea611e28' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '3ae0c2d73d9d70be0cf3a13f56eaf09fc5b29126', id: componentWrapperId }, h$1("div", { key: '06aa3eea99f3c49e88509c4393231fd47d7eeace', class: "navigation" }, !this.hideNavigation ? (h$1("div", { class: "navigation__left" }, h$1(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h$1(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h$1(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h$1("div", { key: 'bcf1061ef340154ce810504963c635677d7b08ec', class: `navigation__title ${this.hideNavigation
15250
15257
  ? 'navigation__title--centered'
15251
15258
  : ''}`, ref: (el) => {
15252
15259
  this.navTitle = el;
15253
- } }), h$1("div", { key: '93d4d527539c090ca8a29ee76c04ef8ee0c36d29', class: "navigation__right" }, this.enableChangeView ? (h$1(FChip, Object.assign({}, this.setChipProps()))) : null)), h$1("div", { key: 'cf94727499fdd2dd62a8e0fb0481575b631efb4f', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
15260
+ } }), h$1("div", { key: 'd0da3cdd51e56c4d707789af64e55c1d19a24973', class: "navigation__right" }, this.enableChangeView ? (h$1(FChip, Object.assign({}, this.setChipProps()))) : null)), h$1("div", { key: 'c8cd358bceae781d6add7ff26cc09878ef0b5834', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
15254
15261
  }
15255
15262
  disconnectedCallback() {
15256
15263
  if (this.calendar) {
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, ai as getCellValueForDisplay } from './kup-manager-b367be3b.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, ai as getCellValueForDisplay } from './kup-manager-2b06d829.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-77f1a451.js';
5
5
 
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, i as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aB as submitPositionAdapter, b as KupLanguageGeneric, aC as KupCellProps } from './kup-manager-b367be3b.js';
2
+ import { k as kupManagerInstance, i as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aB as submitPositionAdapter, b as KupLanguageGeneric, aC as KupCellProps } from './kup-manager-2b06d829.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import { F as FButton } from './f-button-3c8f4506.js';
5
- import { F as FCell } from './f-cell-d72f5a9c.js';
5
+ import { F as FCell } from './f-cell-0a43dfd3.js';
6
6
  import './kup-dates-77f1a451.js';
7
7
  import './f-button-declarations-6c8f8abe.js';
8
8
  import './f-image-a2ecd7c3.js';
9
9
  import './f-checkbox-5cdd1cad.js';
10
- import './f-chip-663db488.js';
11
- import './f-object-field-afe7604f.js';
12
- import './f-text-field-40f1ad00.js';
10
+ import './f-chip-d5f27ee2.js';
11
+ import './f-object-field-6f759bf9.js';
12
+ import './f-text-field-86dd8534.js';
13
13
 
14
14
  const kupCellCss = ".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}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
15
15
  const KupCellStyle0 = kupCellCss;
@@ -17,11 +17,11 @@ const KupCustomTaskListHeader = class {
17
17
  this.fontSize = undefined;
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '7afe903d27c39f08ffa24b06aafdbd0d86cc99db', class: "custom-task-list-wrapper", style: {
20
+ return (h("div", { key: '73c099362f8bfffd1912c4415f818ec0e3f527d9', class: "custom-task-list-wrapper", style: {
21
21
  height: '25px',
22
22
  fontFamily: this.fontFamily,
23
23
  fontSize: this.fontSize,
24
- } }, h("div", { key: '9786f5c6cc683bed20126fd095935b1881088b1d', class: "title" }, h("span", { key: 'c4d4589f9ee3440fe94791b07ccb95afa769062c' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '388a0520f64adf2d1bba10282680523c0b4d9b6c', class: "toggler" }, h("label", { key: '9e0f2aeec4f12ddc461e90e8090cdd1d02a4c6c6', htmlFor: "ch2", class: "switch" }, h("input", { key: 'd3b016d5d3435f718723ee45a81660624e526769', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: 'e9d77a0baea6b4a030f30d497e977911865c73a6', class: "slider" })), h("span", { key: '6acfe980e9e18d7bde234f99ba418b22a2304ae7', class: "label" }, "Previsioni")))));
24
+ } }, h("div", { key: 'd8e4e9d3323c7fd476295b6fcb81354a7af6d076', class: "title" }, h("span", { key: '26c697a8d3c453ad2f8dc17aced9c90af15fabd5' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '52d6dc0de21e77aecaac420c51c4b368c81dac33', class: "toggler" }, h("label", { key: 'f680cd1356907075f76245b1ae6b5885595f1205', htmlFor: "ch2", class: "switch" }, h("input", { key: 'b3111df49ce385f294d9050f61d534ccabc22047', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '75ea0aef920da62c94749d3bd2ef2fa029e5d1d8', class: "slider" })), h("span", { key: '1a31bbb00ebb13d1943ed8620ea1d3569da8cc06', class: "label" }, "Previsioni")))));
25
25
  }
26
26
  };
27
27
  KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
@@ -56,17 +56,25 @@ const KupCustomTaskListTable = class {
56
56
  }
57
57
  updateTaskListScroll() {
58
58
  this.projectWrapperRef &&
59
- (this.projectWrapperRef.parentElement.scrollLeft = this.taskListScrollX);
59
+ (this.projectWrapperRef.parentElement.scrollLeft =
60
+ this.taskListScrollX);
60
61
  }
61
62
  render() {
63
+ var _a;
62
64
  const kupDates = new KupDates();
63
65
  const scrollableStyle = {};
64
66
  if (this.scrollableTaskList) {
65
67
  scrollableStyle['width'] = this.rowWidth;
66
68
  }
67
- const spansToShow = this.tasks.reduce((prev, curr) => {
68
- return prev.valuesToShow.length > curr.valuesToShow.length ? prev : curr;
69
- }).valuesToShow.length + 1;
69
+ const spansToShow = this.tasks && this.tasks.length > 0
70
+ ? ((_a = this.tasks.reduce((prev, curr) => {
71
+ var _a, _b;
72
+ return ((_a = prev.valuesToShow) === null || _a === void 0 ? void 0 : _a.length) >
73
+ ((_b = curr.valuesToShow) === null || _b === void 0 ? void 0 : _b.length)
74
+ ? prev
75
+ : curr;
76
+ }).valuesToShow) === null || _a === void 0 ? void 0 : _a.length) + 1 || 1
77
+ : 1;
70
78
  return (h("div", { class: `container ${this.scrollableTaskList ? 'scrollable' : ''}`, style: scrollableStyle }, h("div", { class: "project-wrapper", ref: (el) => (this.projectWrapperRef = el) }, this.tasks.map((task) => {
71
79
  var _a, _b, _c, _d;
72
80
  return (h(Fragment, null, task.type === 'project' ? (h("div", { class: "project", style: {
@@ -90,10 +98,14 @@ const KupCustomTaskListTable = class {
90
98
  ? kupDates.formatToLocaleSimple(task.start)
91
99
  : v === '#END#'
92
100
  ? kupDates.formatToLocaleSimple(task.end)
93
- : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
94
- const spansToIterate = createArrayFromNum(spansToShow - task.valuesToShow.length);
95
- return (spansToIterate.map((element) => (h("span", { key: element }))));
96
- })()))) : task.type === 'task' ? (h("div", { class: "subrow", style: {
101
+ : v))), this.scrollableTaskList &&
102
+ spansToShow >
103
+ task.valuesToShow.length &&
104
+ (() => {
105
+ const spansToIterate = createArrayFromNum(spansToShow -
106
+ task.valuesToShow.length);
107
+ return spansToIterate.map((element) => (h("span", { key: element })));
108
+ })())) : task.type === 'task' ? (h("div", { class: "subrow", style: {
97
109
  height: `${this.rowHeight}px`,
98
110
  width: this.rowWidth,
99
111
  fontFamily: this.fontFamily,
@@ -125,10 +137,16 @@ const KupCustomTaskListTable = class {
125
137
  ? kupDates.formatToLocaleSimple(task.start)
126
138
  : v === '#END#'
127
139
  ? kupDates.formatToLocaleSimple(task.end)
128
- : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
129
- const spansToIterate = createArrayFromNum(spansToShow - task.valuesToShow.length - 1);
130
- return (spansToIterate.map((element) => (h("span", { key: element }))));
131
- })()))) : ((() => {
140
+ : v))), this.scrollableTaskList &&
141
+ spansToShow >
142
+ task.valuesToShow.length &&
143
+ (() => {
144
+ const spansToIterate = createArrayFromNum(spansToShow -
145
+ task.valuesToShow
146
+ .length -
147
+ 1);
148
+ return spansToIterate.map((element) => (h("span", { key: element })));
149
+ })())) : ((() => {
132
150
  var _a;
133
151
  let str = '';
134
152
  for (let i = 0; i < task.valuesToShow.length; i++) {
@@ -385,11 +403,11 @@ const KupGanttCalendar = class {
385
403
  this.simplifiedHeader =
386
404
  this.singleLineHeader && this.dateSetup.viewMode !== 'year';
387
405
  const [topValues, bottomValues] = this.getTopAndBottomValues();
388
- return (h("svg", { key: '6969f03c8f75737ce4c42469a456069d0e3ced67', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'c77177ccec8559de2e61d59b3fe235843af260ab', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: 'd319809f4de45c9b9ed32c07caeb672cfcab004b', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
406
+ return (h("svg", { key: '746671a52e6654cd1ff1789c76e25d0aa8f3905b', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: '74a463a10c7124779eb5aa313bca389591fc131b', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: 'e8a8a2b86f963588af95a8a829993e5757b638cb', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
389
407
  ? 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))))
390
408
  : 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 && (
391
409
  // current date indicator
392
- h("circle", { key: '90b8cd4be3694ab5827a64b8bc1b66da57e0c316', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
410
+ h("circle", { key: '40cca30be82870be76d4ceaba428bf91bca3d515', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
393
411
  }
394
412
  };
395
413
  KupGanttCalendar.style = KupGanttCalendarStyle0;
@@ -1445,13 +1463,13 @@ const KupGridRenderer = class {
1445
1463
  // }
1446
1464
  tickX += this.columnWidth;
1447
1465
  }
1448
- return (h("svg", { key: '5ec57c1b12767c30d9bf5dff548063223f9dd865', 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: 'c4ea086a80c8bdb9af3f1c5412d8a21bfbe0d8c2', class: "grid" }, h("g", { key: '4d5fca83f9c9773ace27ca73de0c31a260de6bf4', class: "rows" }, gridRows), h("g", { key: '866826ab5d44f8432505188975335992055749ef', class: "rowLines" }, rowLines), h("g", { key: '1ac3f9ebdc169f26ef80e1fcf32e07852fb82a53', class: "ticks" }, ticks)), h("g", { key: 'e609b944f5eb7cbb0ab0a76ad587bf9f0d9e9c34', class: "content" }, this.currentDateIndicator && (h("rect", { key: 'c92ca47c32edfcad7a4838f81e0b3b24952110e5', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: 'f4442a4e3f6ac41a61ba2638996f6997f43a295e', 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: '343047f0b4e4001616bdc8ae187a220f6c612df7', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1466
+ return (h("svg", { key: '15d6401730e0f2fa9fef8b9d25d0fad2f9c80e62', 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: '8457770216910c3ac143ef21abaf8ac3af292d80', class: "grid" }, h("g", { key: 'eb4fa2b2561b38678bd76652c4b29257c83e9673', class: "rows" }, gridRows), h("g", { key: '467972ed8379d0d81f9cd093f5290426551da51a', class: "rowLines" }, rowLines), h("g", { key: '0a3e0808f240aacc430a462281defa95f0490542', class: "ticks" }, ticks)), h("g", { key: '46e17c947f42fad3546158f68d27177c5ddf11cb', class: "content" }, this.currentDateIndicator && (h("rect", { key: '4c4674f8d1137b3fb7f71e7321975ce35e677af4', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: 'b7c01acefae65d8ecf48c6a5c949bc3a3fea8e0c', 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: '04d8f68e95536914c109b253dc5c3e12f60f975b', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1449
1467
  return task.barChildren.map((child) => {
1450
1468
  if (task.type !== 'timeline') {
1451
1469
  this.renderKupArrow(task, child);
1452
1470
  }
1453
1471
  });
1454
- })), h("g", { key: '8b6fad21ec6778cec66ab08111472c6d5c6c8cb2', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1472
+ })), h("g", { key: 'e5824ca36bfb53ad9a52cfcac9507c91b86b7c43', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1455
1473
  const forbidResize = task.type === 'project';
1456
1474
  return (h("g", { onKeyDown: (e) => {
1457
1475
  switch (e.key) {
@@ -1511,7 +1529,7 @@ const KupGridRenderer = class {
1511
1529
  return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
1512
1530
  }
1513
1531
  })()));
1514
- }), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '46e057472af12f861f49755ca0635cf52178f653', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1532
+ }), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'f970fe6a4ac6e192f5fc012f39a027866fdfa6cf', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1515
1533
  }
1516
1534
  static get watchers() { return {
1517
1535
  "columnWidth": ["updateXStep"],
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
2
  import { F as FButton } from './f-button-3c8f4506.js';
3
3
  import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
4
- import { F as FTextField } from './f-text-field-40f1ad00.js';
4
+ import { F as FTextField } from './f-text-field-86dd8534.js';
5
5
  import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
6
- import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-b367be3b.js';
6
+ import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-2b06d829.js';
7
7
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
8
8
  import './f-button-declarations-6c8f8abe.js';
9
9
  import './f-image-a2ecd7c3.js';
@@ -1,4 +1,4 @@
1
- import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ai as getCellValueForDisplay, x as getColumnByName, z as KupObjects, aj as KupData, ak as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, al as CMBandACPAdapter, am as RADAdapter, an as CHKAdapter, ao as CHIAdapter, ap as SWTAdapter, a8 as SortMode } from './kup-manager-b367be3b.js';
1
+ import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ai as getCellValueForDisplay, x as getColumnByName, z as KupObjects, aj as KupData, ak as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, al as CMBandACPAdapter, am as RADAdapter, an as CHKAdapter, ao as CHIAdapter, ap as SWTAdapter, a8 as SortMode } from './kup-manager-2b06d829.js';
2
2
  import { K as KupDatesFormats } from './kup-dates-77f1a451.js';
3
3
 
4
4
  /**
@@ -1222,12 +1222,16 @@ function cloneRowGroup(group) {
1222
1222
  * @param includesAlsoEmptyRows
1223
1223
  * @returns
1224
1224
  */
1225
- function getDiffData(originalData, modifiedData, includesAlsoEmptyRows = false) {
1225
+ function getDiffData(originalData, modifiedData, includesAlsoEmptyRows = false, insertedRowsIds = []) {
1226
1226
  const diffDataTable = {
1227
1227
  columns: modifiedData.columns.filter((col) => col.visible),
1228
1228
  rows: [],
1229
1229
  };
1230
1230
  for (const modifiedRow of modifiedData.rows) {
1231
+ if (insertedRowsIds.includes(modifiedRow.id)) {
1232
+ diffDataTable.rows.push(modifiedRow);
1233
+ continue;
1234
+ }
1231
1235
  const newRow = { cells: {}, id: modifiedRow.id };
1232
1236
  for (const column of diffDataTable.columns) {
1233
1237
  const cellKey = column.name;
@@ -1258,8 +1262,8 @@ function decorateDataTable(data) {
1258
1262
  const options = cell['options'];
1259
1263
  cell.isEditable = (_a = cell.isEditable) !== null && _a !== void 0 ? _a : cell['editable'];
1260
1264
  const shapeAdapters = {
1261
- [FCellShapes.AUTOCOMPLETE]: () => CMBandACPAdapter(value, '', options),
1262
- [FCellShapes.COMBOBOX]: () => CMBandACPAdapter(value, '', options),
1265
+ [FCellShapes.AUTOCOMPLETE]: () => CMBandACPAdapter(value, '', options, cell.data),
1266
+ [FCellShapes.COMBOBOX]: () => CMBandACPAdapter(value, '', options, cell.data),
1263
1267
  [FCellShapes.RADIO]: () => RADAdapter(value, options),
1264
1268
  [FCellShapes.CHECKBOX]: () => CHKAdapter(value, ''),
1265
1269
  [FCellShapes.CHIP]: () => CHIAdapter(value, decode),
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b367be3b.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-2b06d829.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-77f1a451.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-b367be3b.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-2b06d829.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import './kup-dates-77f1a451.js';
5
5
 
@@ -84568,7 +84568,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
84568
84568
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
84569
84569
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
84570
84570
  };
84571
- var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_candleChart, _KupEchart_calendarChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_createYWithColumnTitle, _KupEchart_createYForPie, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
84571
+ var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_candleChart, _KupEchart_calendarChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_createYWithColumnTitle, _KupEchart_createYForPie, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_buildResponsiveAxisLabel, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
84572
84572
  const KupEchart = class {
84573
84573
  constructor(hostRef) {
84574
84574
  registerInstance(this, hostRef);
@@ -84688,7 +84688,7 @@ const KupEchart = class {
84688
84688
  '--kup_echart_height': this.sizeY ? this.sizeY : '100%',
84689
84689
  '--kup_echart_width': this.sizeX ? this.sizeX : '100%',
84690
84690
  };
84691
- return (h(Host, { key: '54172a06b4c9fa2b4b14aa2cedf1002ee6ba535c', style: style }, h("style", { key: 'c88e6cd2781d7bf5a9d0fbb2ce6f95b3da037bbf' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd6464aff5fcaa909b91b642b5c22d2115f474fd4', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
84691
+ return (h(Host, { key: '6695df3d157839e237b73df89f56dd438240739a', style: style }, h("style", { key: 'f645db394d2d0fc02d027e7958eaf9266be71a1d' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '8cc220551d3cee74babf45104cfa3409b2107ec1', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
84692
84692
  }
84693
84693
  disconnectedCallback() {
84694
84694
  var _a;
@@ -85795,6 +85795,50 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85795
85795
  });
85796
85796
  break;
85797
85797
  }
85798
+ }, _KupEchart_buildResponsiveAxisLabel = function _KupEchart_buildResponsiveAxisLabel(x, pxPerChr = 7) {
85799
+ const rootH = this.rootElement.clientHeight;
85800
+ const rootW = this.rootElement.clientWidth;
85801
+ const slots = x.length; // number of categories
85802
+ const slotW = Math.max(rootW / slots, 1); // px available per label
85803
+ const longestChr = Math.max(...x.map((l) => l.length));
85804
+ const longestPx = longestChr * pxPerChr; // rough pixel length
85805
+ const fitsFlat = longestPx <= slotW * 0.9;
85806
+ if (fitsFlat) {
85807
+ return { interval: 0, rotate: 0 };
85808
+ }
85809
+ let charLimit = 0;
85810
+ if (rootH < 200) {
85811
+ charLimit = 10;
85812
+ }
85813
+ else if (rootH < 400) {
85814
+ charLimit = 15;
85815
+ }
85816
+ else if (rootW < 400) {
85817
+ charLimit = 15;
85818
+ }
85819
+ else if (rootW < 600) {
85820
+ charLimit = 20;
85821
+ }
85822
+ else if (rootW < 800) {
85823
+ charLimit = 30;
85824
+ }
85825
+ else {
85826
+ charLimit = 40;
85827
+ }
85828
+ const toolong = longestChr > charLimit;
85829
+ if (!toolong) {
85830
+ const fitsTilt = longestPx <= slotW * 1.4;
85831
+ if (fitsTilt) {
85832
+ return { interval: 0, rotate: 22.5 };
85833
+ }
85834
+ }
85835
+ const clampW = Math.max(Math.floor(rootW / charLimit), 1);
85836
+ return {
85837
+ interval: 0,
85838
+ rotate: 22.5,
85839
+ width: clampW,
85840
+ overflow: 'truncate',
85841
+ };
85798
85842
  }, _KupEchart_setOptions = function _KupEchart_setOptions() {
85799
85843
  var _a;
85800
85844
  const x = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createX).call(this);
@@ -85853,9 +85897,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85853
85897
  tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (params) => {
85854
85898
  return `<b>${params.name}</b><br/>${params.seriesName}: <b>${params.value}</b>`;
85855
85899
  } }),
85856
- xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: {
85857
- formatter: axisLabelFormatter,
85858
- } }), this.xAxis),
85900
+ xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: Object.assign({ formatter: axisLabelFormatter }, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_buildResponsiveAxisLabel).call(this, x)) }), this.xAxis),
85859
85901
  yAxis,
85860
85902
  grid: { show: true, containLabel: true },
85861
85903
  };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
2
- import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b367be3b.js';
2
+ import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-2b06d829.js';
3
3
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
4
4
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-77f1a451.js';
5
5
 
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
2
2
  import { F as FButton } from './f-button-3c8f4506.js';
3
3
  import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
4
4
  import { F as FImage } from './f-image-a2ecd7c3.js';
5
- import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-b367be3b.js';
5
+ import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-2b06d829.js';
6
6
  import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
7
7
  import './kup-dates-77f1a451.js';
8
8