@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
@@ -3,20 +3,20 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
7
- const kupDataTableHelper = require('./kup-data-table-helper-0b79fb90.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
+ const kupDataTableHelper = require('./kup-data-table-helper-63e5d7a2.js');
8
8
  const fImage = require('./f-image-db10b066.js');
9
- const fChip = require('./f-chip-f35c1b42.js');
9
+ const fChip = require('./f-chip-f1b14141.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
- const fCell = require('./f-cell-e5ff9c98.js');
12
- const fPaginatorUtils = require('./f-paginator-utils-3ada5c71.js');
11
+ const fCell = require('./f-cell-9a77e09a.js');
12
+ const fPaginatorUtils = require('./f-paginator-utils-49cf707b.js');
13
13
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
14
14
  require('./kup-dates-8619368a.js');
15
15
  require('./f-button-bfafefb3.js');
16
16
  require('./f-button-declarations-76ef9f87.js');
17
17
  require('./f-checkbox-aaa6d45c.js');
18
- require('./f-object-field-04065abd.js');
19
- require('./f-text-field-0eda27cd.js');
18
+ require('./f-object-field-7c1ea180.js');
19
+ require('./f-text-field-f5b2163a.js');
20
20
  require('./component-a6dd6c14.js');
21
21
 
22
22
  /**
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$4 = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fButton = require('./f-button-bfafefb3.js');
9
- const fChip = require('./f-chip-f35c1b42.js');
9
+ const fChip = require('./f-chip-f1b14141.js');
10
10
  const kupDates = require('./kup-dates-8619368a.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
12
  require('./f-image-db10b066.js');
@@ -13213,7 +13213,7 @@ class TableRows extends DateComponent {
13213
13213
  constructor() {
13214
13214
  super(...arguments);
13215
13215
  this.splitBusinessHourSegs = memoize(splitSegsByRow);
13216
- this.splitBgEventSegs = memoize(splitSegsByRow);
13216
+ this.splitBgEventSegs = memoize(splitAllDaySegsByRow);
13217
13217
  this.splitFgEventSegs = memoize(splitSegsByRow);
13218
13218
  this.splitDateSelectionSegs = memoize(splitSegsByRow);
13219
13219
  this.splitEventDrag = memoize(splitInteractionByRow);
@@ -13237,7 +13237,7 @@ class TableRows extends DateComponent {
13237
13237
  return (y(NowTimer, { unit: "day" }, (nowDate, todayRange) => (y(_, null, props.cells.map((cells, row) => (y(TableRow, { ref: this.rowRefs.createRef(row), key: cells.length
13238
13238
  ? cells[0].date.toISOString() /* best? or put key on cell? or use diff formatter? */
13239
13239
  : row // in case there are no cells (like when resource view is loading)
13240
- , 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 })))))));
13240
+ , 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 })))))));
13241
13241
  }
13242
13242
  componentDidMount() {
13243
13243
  this.registerInteractiveComponent();
@@ -13306,6 +13306,9 @@ class TableRows extends DateComponent {
13306
13306
  return { start, end };
13307
13307
  }
13308
13308
  }
13309
+ function splitAllDaySegsByRow(segs, rowCnt) {
13310
+ return splitSegsByRow(segs.filter(isSegAllDay), rowCnt);
13311
+ }
13309
13312
  function isSegAllDay(seg) {
13310
13313
  return seg.eventRange.def.allDay;
13311
13314
  }
@@ -15136,7 +15139,8 @@ const KupCalendar = class {
15136
15139
  if (!this.dateCol || !this.descrCol) {
15137
15140
  throw new Error('dateCol or/and descrCol are not specified, check calendarColums props');
15138
15141
  }
15139
- events = this.getRows().map((row) => {
15142
+ events = this.getRows()
15143
+ .map((row) => {
15140
15144
  const cell = row.cells[this.dateCol];
15141
15145
  if (cell) {
15142
15146
  let startDate = this.kupManager.dates.toDayjs(cell.value);
@@ -15183,9 +15187,12 @@ const KupCalendar = class {
15183
15187
  : `invalid start date: ${cell.value}`}. ${endDate
15184
15188
  ? `end date: ${endDate}`
15185
15189
  : `invalid end date: ${cell.value}`}]`, kupManager.KupDebugCategory.WARNING);
15190
+ return null;
15186
15191
  }
15187
15192
  }
15188
- });
15193
+ return null;
15194
+ })
15195
+ .filter((event) => event !== null);
15189
15196
  }
15190
15197
  catch (error) {
15191
15198
  this.kupManager.debug.logMessage(this, `Unable to create calendard events, caused by: ${error}`, kupManager.KupDebugCategory.ERROR);
@@ -15250,11 +15257,11 @@ const KupCalendar = class {
15250
15257
  this.kupManager.debug.logRender(this, true);
15251
15258
  }
15252
15259
  render() {
15253
- return (index$4.h(index$4.Host, { key: '694d6c782eed06ec64232acc3ef163236c157711' }, index$4.h("style", { key: 'eaa3dca371969bb1cedb5b45e019ad6b563d3a0f' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '8d1d89e4526d1b50649d9486f5f292ff328d5457', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: 'fd7ce40682db901688644ff02e4fcd56f79c9256', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: '832adde7b78762398fb46d100159bc9e3ad31ea3', class: `navigation__title ${this.hideNavigation
15260
+ return (index$4.h(index$4.Host, { key: '84b96d480944784ba43b426e8d01e536f1bafc67' }, index$4.h("style", { key: 'bdaf0c3a8ee5cc6bdc7dc9e9cbc13529ea611e28' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '3ae0c2d73d9d70be0cf3a13f56eaf09fc5b29126', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: '06aa3eea99f3c49e88509c4393231fd47d7eeace', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: 'bcf1061ef340154ce810504963c635677d7b08ec', class: `navigation__title ${this.hideNavigation
15254
15261
  ? 'navigation__title--centered'
15255
15262
  : ''}`, ref: (el) => {
15256
15263
  this.navTitle = el;
15257
- } }), index$4.h("div", { key: '93d4d527539c090ca8a29ee76c04ef8ee0c36d29', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: 'cf94727499fdd2dd62a8e0fb0481575b631efb4f', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
15264
+ } }), index$4.h("div", { key: 'd0da3cdd51e56c4d707789af64e55c1d19a24973', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: 'c8cd358bceae781d6add7ff26cc09878ef0b5834', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
15258
15265
  }
15259
15266
  disconnectedCallback() {
15260
15267
  if (this.calendar) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-8619368a.js');
9
9
 
@@ -3,17 +3,17 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const fButton = require('./f-button-bfafefb3.js');
9
- const fCell = require('./f-cell-e5ff9c98.js');
9
+ const fCell = require('./f-cell-9a77e09a.js');
10
10
  require('./kup-dates-8619368a.js');
11
11
  require('./f-button-declarations-76ef9f87.js');
12
12
  require('./f-image-db10b066.js');
13
13
  require('./f-checkbox-aaa6d45c.js');
14
- require('./f-chip-f35c1b42.js');
15
- require('./f-object-field-04065abd.js');
16
- require('./f-text-field-0eda27cd.js');
14
+ require('./f-chip-f1b14141.js');
15
+ require('./f-object-field-7c1ea180.js');
16
+ require('./f-text-field-f5b2163a.js');
17
17
 
18
18
  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%}";
19
19
  const KupCellStyle0 = kupCellCss;
@@ -21,11 +21,11 @@ const KupCustomTaskListHeader = class {
21
21
  this.fontSize = undefined;
22
22
  }
23
23
  render() {
24
- return (index.h("div", { key: '7afe903d27c39f08ffa24b06aafdbd0d86cc99db', class: "custom-task-list-wrapper", style: {
24
+ return (index.h("div", { key: '73c099362f8bfffd1912c4415f818ec0e3f527d9', class: "custom-task-list-wrapper", style: {
25
25
  height: '25px',
26
26
  fontFamily: this.fontFamily,
27
27
  fontSize: this.fontSize,
28
- } }, index.h("div", { key: '9786f5c6cc683bed20126fd095935b1881088b1d', class: "title" }, index.h("span", { key: 'c4d4589f9ee3440fe94791b07ccb95afa769062c' }, this.label)), this.setDoubleView !== undefined && (index.h("div", { key: '388a0520f64adf2d1bba10282680523c0b4d9b6c', class: "toggler" }, index.h("label", { key: '9e0f2aeec4f12ddc461e90e8090cdd1d02a4c6c6', htmlFor: "ch2", class: "switch" }, index.h("input", { key: 'd3b016d5d3435f718723ee45a81660624e526769', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), index.h("span", { key: 'e9d77a0baea6b4a030f30d497e977911865c73a6', class: "slider" })), index.h("span", { key: '6acfe980e9e18d7bde234f99ba418b22a2304ae7', class: "label" }, "Previsioni")))));
28
+ } }, index.h("div", { key: 'd8e4e9d3323c7fd476295b6fcb81354a7af6d076', class: "title" }, index.h("span", { key: '26c697a8d3c453ad2f8dc17aced9c90af15fabd5' }, this.label)), this.setDoubleView !== undefined && (index.h("div", { key: '52d6dc0de21e77aecaac420c51c4b368c81dac33', class: "toggler" }, index.h("label", { key: 'f680cd1356907075f76245b1ae6b5885595f1205', htmlFor: "ch2", class: "switch" }, index.h("input", { key: 'b3111df49ce385f294d9050f61d534ccabc22047', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), index.h("span", { key: '75ea0aef920da62c94749d3bd2ef2fa029e5d1d8', class: "slider" })), index.h("span", { key: '1a31bbb00ebb13d1943ed8620ea1d3569da8cc06', class: "label" }, "Previsioni")))));
29
29
  }
30
30
  };
31
31
  KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
@@ -60,17 +60,25 @@ const KupCustomTaskListTable = class {
60
60
  }
61
61
  updateTaskListScroll() {
62
62
  this.projectWrapperRef &&
63
- (this.projectWrapperRef.parentElement.scrollLeft = this.taskListScrollX);
63
+ (this.projectWrapperRef.parentElement.scrollLeft =
64
+ this.taskListScrollX);
64
65
  }
65
66
  render() {
67
+ var _a;
66
68
  const kupDates$1 = new kupDates.KupDates();
67
69
  const scrollableStyle = {};
68
70
  if (this.scrollableTaskList) {
69
71
  scrollableStyle['width'] = this.rowWidth;
70
72
  }
71
- const spansToShow = this.tasks.reduce((prev, curr) => {
72
- return prev.valuesToShow.length > curr.valuesToShow.length ? prev : curr;
73
- }).valuesToShow.length + 1;
73
+ const spansToShow = this.tasks && this.tasks.length > 0
74
+ ? ((_a = this.tasks.reduce((prev, curr) => {
75
+ var _a, _b;
76
+ return ((_a = prev.valuesToShow) === null || _a === void 0 ? void 0 : _a.length) >
77
+ ((_b = curr.valuesToShow) === null || _b === void 0 ? void 0 : _b.length)
78
+ ? prev
79
+ : curr;
80
+ }).valuesToShow) === null || _a === void 0 ? void 0 : _a.length) + 1 || 1
81
+ : 1;
74
82
  return (index.h("div", { class: `container ${this.scrollableTaskList ? 'scrollable' : ''}`, style: scrollableStyle }, index.h("div", { class: "project-wrapper", ref: (el) => (this.projectWrapperRef = el) }, this.tasks.map((task) => {
75
83
  var _a, _b, _c, _d;
76
84
  return (index.h(index.Fragment, null, task.type === 'project' ? (index.h("div", { class: "project", style: {
@@ -94,10 +102,14 @@ const KupCustomTaskListTable = class {
94
102
  ? kupDates$1.formatToLocaleSimple(task.start)
95
103
  : v === '#END#'
96
104
  ? kupDates$1.formatToLocaleSimple(task.end)
97
- : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
98
- const spansToIterate = bar_helpers.createArrayFromNum(spansToShow - task.valuesToShow.length);
99
- return (spansToIterate.map((element) => (index.h("span", { key: element }))));
100
- })()))) : task.type === 'task' ? (index.h("div", { class: "subrow", style: {
105
+ : v))), this.scrollableTaskList &&
106
+ spansToShow >
107
+ task.valuesToShow.length &&
108
+ (() => {
109
+ const spansToIterate = bar_helpers.createArrayFromNum(spansToShow -
110
+ task.valuesToShow.length);
111
+ return spansToIterate.map((element) => (index.h("span", { key: element })));
112
+ })())) : task.type === 'task' ? (index.h("div", { class: "subrow", style: {
101
113
  height: `${this.rowHeight}px`,
102
114
  width: this.rowWidth,
103
115
  fontFamily: this.fontFamily,
@@ -129,10 +141,16 @@ const KupCustomTaskListTable = class {
129
141
  ? kupDates$1.formatToLocaleSimple(task.start)
130
142
  : v === '#END#'
131
143
  ? kupDates$1.formatToLocaleSimple(task.end)
132
- : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
133
- const spansToIterate = bar_helpers.createArrayFromNum(spansToShow - task.valuesToShow.length - 1);
134
- return (spansToIterate.map((element) => (index.h("span", { key: element }))));
135
- })()))) : ((() => {
144
+ : v))), this.scrollableTaskList &&
145
+ spansToShow >
146
+ task.valuesToShow.length &&
147
+ (() => {
148
+ const spansToIterate = bar_helpers.createArrayFromNum(spansToShow -
149
+ task.valuesToShow
150
+ .length -
151
+ 1);
152
+ return spansToIterate.map((element) => (index.h("span", { key: element })));
153
+ })())) : ((() => {
136
154
  var _a;
137
155
  let str = '';
138
156
  for (let i = 0; i < task.valuesToShow.length; i++) {
@@ -389,11 +407,11 @@ const KupGanttCalendar = class {
389
407
  this.simplifiedHeader =
390
408
  this.singleLineHeader && this.dateSetup.viewMode !== 'year';
391
409
  const [topValues, bottomValues] = this.getTopAndBottomValues();
392
- return (index.h("svg", { key: '6969f03c8f75737ce4c42469a456069d0e3ced67', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { key: 'c77177ccec8559de2e61d59b3fe235843af260ab', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.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
410
+ return (index.h("svg", { key: '746671a52e6654cd1ff1789c76e25d0aa8f3905b', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { key: '74a463a10c7124779eb5aa313bca389591fc131b', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.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
393
411
  ? topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
394
412
  : topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
395
413
  // current date indicator
396
- index.h("circle", { key: '90b8cd4be3694ab5827a64b8bc1b66da57e0c316', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
414
+ index.h("circle", { key: '40cca30be82870be76d4ceaba428bf91bca3d515', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
397
415
  }
398
416
  };
399
417
  KupGanttCalendar.style = KupGanttCalendarStyle0;
@@ -1449,13 +1467,13 @@ const KupGridRenderer = class {
1449
1467
  // }
1450
1468
  tickX += this.columnWidth;
1451
1469
  }
1452
- return (index.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) }, index.h("g", { key: 'c4ea086a80c8bdb9af3f1c5412d8a21bfbe0d8c2', class: "grid" }, index.h("g", { key: '4d5fca83f9c9773ace27ca73de0c31a260de6bf4', class: "rows" }, gridRows), index.h("g", { key: '866826ab5d44f8432505188975335992055749ef', class: "rowLines" }, rowLines), index.h("g", { key: '1ac3f9ebdc169f26ef80e1fcf32e07852fb82a53', class: "ticks" }, ticks)), index.h("g", { key: 'e609b944f5eb7cbb0ab0a76ad587bf9f0d9e9c34', class: "content" }, this.currentDateIndicator && (index.h("rect", { key: 'c92ca47c32edfcad7a4838f81e0b3b24952110e5', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.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" })), index.h("g", { key: '343047f0b4e4001616bdc8ae187a220f6c612df7', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1470
+ return (index.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) }, index.h("g", { key: '8457770216910c3ac143ef21abaf8ac3af292d80', class: "grid" }, index.h("g", { key: 'eb4fa2b2561b38678bd76652c4b29257c83e9673', class: "rows" }, gridRows), index.h("g", { key: '467972ed8379d0d81f9cd093f5290426551da51a', class: "rowLines" }, rowLines), index.h("g", { key: '0a3e0808f240aacc430a462281defa95f0490542', class: "ticks" }, ticks)), index.h("g", { key: '46e17c947f42fad3546158f68d27177c5ddf11cb', class: "content" }, this.currentDateIndicator && (index.h("rect", { key: '4c4674f8d1137b3fb7f71e7321975ce35e677af4', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.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" })), index.h("g", { key: '04d8f68e95536914c109b253dc5c3e12f60f975b', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
1453
1471
  return task.barChildren.map((child) => {
1454
1472
  if (task.type !== 'timeline') {
1455
1473
  this.renderKupArrow(task, child);
1456
1474
  }
1457
1475
  });
1458
- })), index.h("g", { key: '8b6fad21ec6778cec66ab08111472c6d5c6c8cb2', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1476
+ })), index.h("g", { key: 'e5824ca36bfb53ad9a52cfcac9507c91b86b7c43', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
1459
1477
  const forbidResize = task.type === 'project';
1460
1478
  return (index.h("g", { onKeyDown: (e) => {
1461
1479
  switch (e.key) {
@@ -1515,7 +1533,7 @@ const KupGridRenderer = class {
1515
1533
  return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
1516
1534
  }
1517
1535
  })()));
1518
- }), this.currentTarget && this.ganttEvent.changedTask && (index.h("g", { key: '46e057472af12f861f49755ca0635cf52178f653', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1536
+ }), this.currentTarget && this.ganttEvent.changedTask && (index.h("g", { key: 'f970fe6a4ac6e192f5fc012f39a027866fdfa6cf', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
1519
1537
  }
1520
1538
  static get watchers() { return {
1521
1539
  "columnWidth": ["updateXStep"],
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-bfafefb3.js');
7
7
  const fCheckbox = require('./f-checkbox-aaa6d45c.js');
8
- const fTextField = require('./f-text-field-0eda27cd.js');
8
+ const fTextField = require('./f-text-field-f5b2163a.js');
9
9
  const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
10
- const kupManager = require('./kup-manager-5cdad0f5.js');
10
+ const kupManager = require('./kup-manager-15f30f03.js');
11
11
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
12
12
  require('./f-button-declarations-76ef9f87.js');
13
13
  require('./f-image-db10b066.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const kupManager = require('./kup-manager-5cdad0f5.js');
3
+ const kupManager = require('./kup-manager-15f30f03.js');
4
4
  const kupDates = require('./kup-dates-8619368a.js');
5
5
 
6
6
  /**
@@ -1224,12 +1224,16 @@ function cloneRowGroup(group) {
1224
1224
  * @param includesAlsoEmptyRows
1225
1225
  * @returns
1226
1226
  */
1227
- function getDiffData(originalData, modifiedData, includesAlsoEmptyRows = false) {
1227
+ function getDiffData(originalData, modifiedData, includesAlsoEmptyRows = false, insertedRowsIds = []) {
1228
1228
  const diffDataTable = {
1229
1229
  columns: modifiedData.columns.filter((col) => col.visible),
1230
1230
  rows: [],
1231
1231
  };
1232
1232
  for (const modifiedRow of modifiedData.rows) {
1233
+ if (insertedRowsIds.includes(modifiedRow.id)) {
1234
+ diffDataTable.rows.push(modifiedRow);
1235
+ continue;
1236
+ }
1233
1237
  const newRow = { cells: {}, id: modifiedRow.id };
1234
1238
  for (const column of diffDataTable.columns) {
1235
1239
  const cellKey = column.name;
@@ -1260,8 +1264,8 @@ function decorateDataTable(data) {
1260
1264
  const options = cell['options'];
1261
1265
  cell.isEditable = (_a = cell.isEditable) !== null && _a !== void 0 ? _a : cell['editable'];
1262
1266
  const shapeAdapters = {
1263
- [kupManager.FCellShapes.AUTOCOMPLETE]: () => kupManager.CMBandACPAdapter(value, '', options),
1264
- [kupManager.FCellShapes.COMBOBOX]: () => kupManager.CMBandACPAdapter(value, '', options),
1267
+ [kupManager.FCellShapes.AUTOCOMPLETE]: () => kupManager.CMBandACPAdapter(value, '', options, cell.data),
1268
+ [kupManager.FCellShapes.COMBOBOX]: () => kupManager.CMBandACPAdapter(value, '', options, cell.data),
1265
1269
  [kupManager.FCellShapes.RADIO]: () => kupManager.RADAdapter(value, options),
1266
1270
  [kupManager.FCellShapes.CHECKBOX]: () => kupManager.CHKAdapter(value, ''),
1267
1271
  [kupManager.FCellShapes.CHIP]: () => kupManager.CHIAdapter(value, decode),
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-8619368a.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  require('./kup-dates-8619368a.js');
9
9
 
@@ -84572,7 +84572,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
84572
84572
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
84573
84573
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
84574
84574
  };
84575
- 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;
84575
+ 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;
84576
84576
  const KupEchart = class {
84577
84577
  constructor(hostRef) {
84578
84578
  index.registerInstance(this, hostRef);
@@ -84692,7 +84692,7 @@ const KupEchart = class {
84692
84692
  '--kup_echart_height': this.sizeY ? this.sizeY : '100%',
84693
84693
  '--kup_echart_width': this.sizeX ? this.sizeX : '100%',
84694
84694
  };
84695
- return (index.h(index.Host, { key: '54172a06b4c9fa2b4b14aa2cedf1002ee6ba535c', style: style }, index.h("style", { key: 'c88e6cd2781d7bf5a9d0fbb2ce6f95b3da037bbf' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'd6464aff5fcaa909b91b642b5c22d2115f474fd4', id: GenericVariables.componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
84695
+ return (index.h(index.Host, { key: '6695df3d157839e237b73df89f56dd438240739a', style: style }, index.h("style", { key: 'f645db394d2d0fc02d027e7958eaf9266be71a1d' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '8cc220551d3cee74babf45104cfa3409b2107ec1', id: GenericVariables.componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
84696
84696
  }
84697
84697
  disconnectedCallback() {
84698
84698
  var _a;
@@ -85799,6 +85799,50 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85799
85799
  });
85800
85800
  break;
85801
85801
  }
85802
+ }, _KupEchart_buildResponsiveAxisLabel = function _KupEchart_buildResponsiveAxisLabel(x, pxPerChr = 7) {
85803
+ const rootH = this.rootElement.clientHeight;
85804
+ const rootW = this.rootElement.clientWidth;
85805
+ const slots = x.length; // number of categories
85806
+ const slotW = Math.max(rootW / slots, 1); // px available per label
85807
+ const longestChr = Math.max(...x.map((l) => l.length));
85808
+ const longestPx = longestChr * pxPerChr; // rough pixel length
85809
+ const fitsFlat = longestPx <= slotW * 0.9;
85810
+ if (fitsFlat) {
85811
+ return { interval: 0, rotate: 0 };
85812
+ }
85813
+ let charLimit = 0;
85814
+ if (rootH < 200) {
85815
+ charLimit = 10;
85816
+ }
85817
+ else if (rootH < 400) {
85818
+ charLimit = 15;
85819
+ }
85820
+ else if (rootW < 400) {
85821
+ charLimit = 15;
85822
+ }
85823
+ else if (rootW < 600) {
85824
+ charLimit = 20;
85825
+ }
85826
+ else if (rootW < 800) {
85827
+ charLimit = 30;
85828
+ }
85829
+ else {
85830
+ charLimit = 40;
85831
+ }
85832
+ const toolong = longestChr > charLimit;
85833
+ if (!toolong) {
85834
+ const fitsTilt = longestPx <= slotW * 1.4;
85835
+ if (fitsTilt) {
85836
+ return { interval: 0, rotate: 22.5 };
85837
+ }
85838
+ }
85839
+ const clampW = Math.max(Math.floor(rootW / charLimit), 1);
85840
+ return {
85841
+ interval: 0,
85842
+ rotate: 22.5,
85843
+ width: clampW,
85844
+ overflow: 'truncate',
85845
+ };
85802
85846
  }, _KupEchart_setOptions = function _KupEchart_setOptions() {
85803
85847
  var _a;
85804
85848
  const x = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createX).call(this);
@@ -85857,9 +85901,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
85857
85901
  tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (params) => {
85858
85902
  return `<b>${params.name}</b><br/>${params.seriesName}: <b>${params.value}</b>`;
85859
85903
  } }),
85860
- 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: {
85861
- formatter: axisLabelFormatter,
85862
- } }), this.xAxis),
85904
+ 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),
85863
85905
  yAxis,
85864
85906
  grid: { show: true, containLabel: true },
85865
85907
  };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-c7d441d8.js');
6
- const kupManager = require('./kup-manager-5cdad0f5.js');
6
+ const kupManager = require('./kup-manager-15f30f03.js');
7
7
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
8
8
  const kupDates = require('./kup-dates-8619368a.js');
9
9
 
@@ -6,7 +6,7 @@ const index = require('./index-c7d441d8.js');
6
6
  const fButton = require('./f-button-bfafefb3.js');
7
7
  const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
8
8
  const fImage = require('./f-image-db10b066.js');
9
- const kupManager = require('./kup-manager-5cdad0f5.js');
9
+ const kupManager = require('./kup-manager-15f30f03.js');
10
10
  const GenericVariables = require('./GenericVariables-1d52ba57.js');
11
11
  require('./kup-dates-8619368a.js');
12
12