@sme.up/ketchup 9.6.3 → 9.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/dist/cjs/{bar.helpers-f46a5a83.js → bar.helpers-c481a535.js} +45 -13
  2. package/dist/cjs/{f-button-9a0eba42.js → f-button-23ec3db5.js} +1 -1
  3. package/dist/cjs/{f-cell-1ad41071.js → f-cell-bcc51c0f.js} +9 -29
  4. package/dist/cjs/{f-chip-48851b4f.js → f-chip-63363ecf.js} +2 -2
  5. package/dist/cjs/{f-image-541e5f4d.js → f-image-f3944c01.js} +2 -5
  6. package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-60e05759.js} +3 -3
  7. package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-354b6c78.js} +1 -1
  8. package/dist/cjs/index.cjs.js +2 -2
  9. package/dist/cjs/ketchup.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  11. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +48 -48
  12. package/dist/cjs/kup-box.cjs.entry.js +8 -8
  13. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  14. package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
  15. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +256 -40
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
  18. package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
  19. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-editor.cjs.entry.js +2 -2
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
  23. package/dist/cjs/kup-gantt_10.cjs.entry.js +105 -39
  24. package/dist/cjs/kup-grid.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-image-list.cjs.entry.js +21 -14
  27. package/dist/cjs/kup-input-panel.cjs.entry.js +444 -0
  28. package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
  30. package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-e1bfd4f8.js} +656 -121
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
  33. package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
  34. package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
  35. package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
  36. package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-f001fad7.js} +56 -8
  37. package/dist/cjs/kup-planner-renderer.cjs.entry.js +44 -11
  38. package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js} +3 -0
  39. package/dist/cjs/kup-planner.cjs.entry.js +81 -9
  40. package/dist/cjs/kup-probe.cjs.entry.js +3 -3
  41. package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
  42. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  43. package/dist/cjs/loader.cjs.js +1 -1
  44. package/dist/collection/assets/image-list.js +332 -2
  45. package/dist/collection/assets/index.js +8 -0
  46. package/dist/collection/assets/input-panel.js +480 -0
  47. package/dist/collection/assets/pdf.js +15 -0
  48. package/dist/collection/assets/planner-example-5.js +19 -7
  49. package/dist/collection/assets/planner-example-6.js +3 -0
  50. package/dist/collection/assets/planner.js +4 -3
  51. package/dist/collection/collection-manifest.json +2 -0
  52. package/dist/collection/components/kup-badge/kup-badge.css +4 -4
  53. package/dist/collection/components/kup-image-list/kup-image-list.css +37 -4
  54. package/dist/collection/components/kup-image-list/kup-image-list.js +15 -8
  55. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
  56. package/dist/collection/components/kup-input-panel/kup-input-panel.css +169 -0
  57. package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +346 -0
  58. package/dist/collection/components/kup-input-panel/kup-input-panel.js +669 -0
  59. package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
  60. package/dist/collection/components/kup-list/kup-list.js +1 -1
  61. package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
  62. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  63. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
  64. package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
  65. package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
  66. package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
  67. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
  68. package/dist/collection/components/kup-planner/kup-planner-declarations.js +3 -0
  69. package/dist/collection/components/kup-planner/kup-planner-helper.js +42 -1
  70. package/dist/collection/components/kup-planner/kup-planner.js +191 -5
  71. package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
  72. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +103 -11
  73. package/dist/collection/components/kup-planner/utils/gantt-table.module.css +80 -2
  74. package/dist/collection/components/kup-planner/utils/helpers/bar.helpers.js +41 -13
  75. package/dist/collection/components/kup-planner/utils/helpers/other.helpers.js +3 -0
  76. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +10 -0
  77. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +61 -6
  78. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +32 -2
  79. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +4 -0
  80. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +208 -24
  81. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +4 -0
  82. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +131 -7
  83. package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +55 -6
  84. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +40 -7
  85. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +22 -15
  86. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +21 -5
  87. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +19 -3
  88. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  89. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  90. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +76 -2
  91. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  92. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  93. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  94. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  95. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  96. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  97. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  98. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  99. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  100. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  101. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  102. package/dist/collection/f-components/f-cell/f-cell.js +5 -24
  103. package/dist/collection/f-components/f-image/f-image.js +2 -5
  104. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
  105. package/dist/collection/types/GenericTypes.js +1 -0
  106. package/dist/components/_commonjsHelpers.js +26 -0
  107. package/dist/components/custom-task-list-header.js +2 -2
  108. package/dist/components/custom-task-list-table.js +58 -13
  109. package/dist/components/kup-autocomplete2.js +48 -70
  110. package/dist/components/kup-box2.js +1 -1
  111. package/dist/components/kup-calendar.js +2 -2
  112. package/dist/components/kup-cell.js +1 -1
  113. package/dist/components/kup-dashboard.js +1 -1
  114. package/dist/components/kup-dates.js +2 -6
  115. package/dist/components/kup-echart2.js +1 -1
  116. package/dist/components/kup-editor.js +1 -1
  117. package/dist/components/kup-gantt-calendar2.js +31 -1
  118. package/dist/components/kup-gantt2.js +26 -7
  119. package/dist/components/kup-grid-renderer2.js +219 -81
  120. package/dist/components/kup-grid2.js +1 -1
  121. package/dist/components/kup-horizontal-scroll2.js +48 -10
  122. package/dist/components/kup-iframe.js +1 -1
  123. package/dist/components/kup-image-list.js +15 -8
  124. package/dist/components/kup-input-panel.d.ts +11 -0
  125. package/dist/components/kup-input-panel.js +595 -0
  126. package/dist/components/kup-lazy.js +11 -11
  127. package/dist/components/kup-magic-box.js +4 -4
  128. package/dist/components/kup-manager.js +658 -122
  129. package/dist/components/kup-nav-bar.js +1 -1
  130. package/dist/components/kup-numeric-picker.js +2 -2
  131. package/dist/components/kup-pdf.d.ts +11 -0
  132. package/dist/components/kup-pdf.js +76756 -0
  133. package/dist/components/kup-photo-frame.js +2 -2
  134. package/dist/components/kup-planner-declarations.js +91 -0
  135. package/dist/components/kup-planner-renderer2.js +42 -9
  136. package/dist/components/kup-planner.js +86 -6
  137. package/dist/components/kup-probe.js +1 -1
  138. package/dist/components/kup-qlik.js +1 -1
  139. package/dist/components/kup-snackbar.js +1 -1
  140. package/dist/components/kup-standard-tooltip2.js +1 -1
  141. package/dist/components/kup-switcher2.js +19 -7
  142. package/dist/components/kup-task-gantt2.js +6 -4
  143. package/dist/components/kup-task-list-header2.js +7 -7
  144. package/dist/components/kup-task-list-table2.js +1 -1
  145. package/dist/components/kup-task-list2.js +434 -84
  146. package/dist/components/kup-tooltip2.js +1 -1
  147. package/dist/components/kup-vertical-scroll2.js +2 -2
  148. package/dist/components/other.helpers.js +47 -0
  149. package/dist/esm/{bar.helpers-0898efb9.js → bar.helpers-23a51579.js} +45 -14
  150. package/dist/esm/{f-button-45d690a5.js → f-button-d6dbcfd6.js} +1 -1
  151. package/dist/esm/{f-cell-63db06db.js → f-cell-7b41415c.js} +9 -29
  152. package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-68d27d7a.js} +2 -2
  153. package/dist/esm/{f-image-8b382cc5.js → f-image-a67229e5.js} +2 -5
  154. package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-8773e358.js} +3 -3
  155. package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-d364ffd2.js} +1 -1
  156. package/dist/esm/index.js +2 -2
  157. package/dist/esm/ketchup.js +1 -1
  158. package/dist/esm/kup-accordion.entry.js +3 -3
  159. package/dist/esm/kup-autocomplete_27.entry.js +48 -48
  160. package/dist/esm/kup-box.entry.js +8 -8
  161. package/dist/esm/kup-calendar.entry.js +5 -5
  162. package/dist/esm/kup-card-list.entry.js +2 -2
  163. package/dist/esm/kup-cell.entry.js +7 -7
  164. package/dist/esm/kup-custom-task-list-header_4.entry.js +256 -40
  165. package/dist/esm/kup-dashboard.entry.js +5 -5
  166. package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
  167. package/dist/esm/kup-drawer.entry.js +2 -2
  168. package/dist/esm/kup-echart.entry.js +2 -2
  169. package/dist/esm/kup-editor.entry.js +2 -2
  170. package/dist/esm/kup-family-tree.entry.js +4 -4
  171. package/dist/esm/kup-gantt_10.entry.js +106 -40
  172. package/dist/esm/kup-grid.entry.js +2 -2
  173. package/dist/esm/kup-iframe.entry.js +2 -2
  174. package/dist/esm/kup-image-list.entry.js +21 -14
  175. package/dist/esm/kup-input-panel.entry.js +440 -0
  176. package/dist/esm/kup-lazy.entry.js +13 -13
  177. package/dist/esm/kup-magic-box.entry.js +6 -6
  178. package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-a316a70e.js} +656 -121
  179. package/dist/esm/kup-nav-bar.entry.js +3 -3
  180. package/dist/esm/kup-numeric-picker.entry.js +4 -4
  181. package/dist/esm/kup-pdf.entry.js +76596 -0
  182. package/dist/esm/kup-photo-frame.entry.js +4 -4
  183. package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
  184. package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-a2ec9a1c.js} +57 -8
  185. package/dist/esm/kup-planner-renderer.entry.js +44 -11
  186. package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
  187. package/dist/esm/kup-planner.entry.js +81 -9
  188. package/dist/esm/kup-probe.entry.js +3 -3
  189. package/dist/esm/kup-qlik.entry.js +3 -3
  190. package/dist/esm/kup-snackbar.entry.js +5 -5
  191. package/dist/esm/loader.js +1 -1
  192. package/dist/ketchup/index.esm.js +1 -1
  193. package/dist/ketchup/ketchup.esm.js +1 -1
  194. package/dist/ketchup/p-008bdcdc.js +1 -0
  195. package/dist/ketchup/p-042e874a.entry.js +1 -0
  196. package/dist/ketchup/{p-837bd0a6.entry.js → p-074ccd53.entry.js} +1 -1
  197. package/dist/ketchup/{p-41e8402e.entry.js → p-1088ab22.entry.js} +1 -1
  198. package/dist/ketchup/{p-d9284d98.entry.js → p-1bcac01f.entry.js} +1 -1
  199. package/dist/ketchup/{p-e0a1fbe7.entry.js → p-1e028d95.entry.js} +1 -1
  200. package/dist/ketchup/p-25058baa.js +1 -0
  201. package/dist/ketchup/{p-cbe42afd.entry.js → p-2932e7e8.entry.js} +1 -1
  202. package/dist/ketchup/{p-1cd48eea.entry.js → p-2b84db7b.entry.js} +1 -1
  203. package/dist/ketchup/{p-d608f866.entry.js → p-2ef90f60.entry.js} +1 -1
  204. package/dist/ketchup/{p-bedabdb5.js → p-339bbeae.js} +1 -1
  205. package/dist/ketchup/{p-157f0e89.entry.js → p-48e45ac0.entry.js} +1 -1
  206. package/dist/ketchup/p-53af4c87.js +1 -0
  207. package/dist/ketchup/{p-4dfc5927.entry.js → p-556f7ddc.entry.js} +1 -1
  208. package/dist/ketchup/{p-cc7352a8.entry.js → p-5f7d8c21.entry.js} +1 -1
  209. package/dist/ketchup/{p-e0c10de2.entry.js → p-6362738c.entry.js} +1 -1
  210. package/dist/ketchup/{p-ad6a3c2a.entry.js → p-65e363c6.entry.js} +1 -1
  211. package/dist/ketchup/p-6921bc81.entry.js +16 -0
  212. package/dist/ketchup/p-6961e0ce.entry.js +1 -0
  213. package/dist/ketchup/p-7123d2a4.entry.js +1 -0
  214. package/dist/ketchup/{p-a5074ce4.js → p-801776bc.js} +1 -1
  215. package/dist/ketchup/{p-ca8a1f53.entry.js → p-81645576.entry.js} +1 -1
  216. package/dist/ketchup/p-838dea62.js +1 -0
  217. package/dist/ketchup/{p-924b841b.js → p-84b511e1.js} +1 -1
  218. package/dist/ketchup/{p-9a856951.js → p-8d4050ec.js} +4 -4
  219. package/dist/ketchup/{p-1474852d.entry.js → p-9e2533e1.entry.js} +1 -1
  220. package/dist/ketchup/{p-c6b34763.entry.js → p-a06974a3.entry.js} +1 -1
  221. package/dist/ketchup/p-a6beb822.js +1 -0
  222. package/dist/ketchup/p-abe181d0.entry.js +1 -0
  223. package/dist/ketchup/{p-ba0f28b7.js → p-b3540f83.js} +1 -1
  224. package/dist/ketchup/{p-b6a21b6a.entry.js → p-c702eb45.entry.js} +1 -1
  225. package/dist/ketchup/{p-090e5097.entry.js → p-ccb6dbb0.entry.js} +1 -1
  226. package/dist/ketchup/{p-d839ce21.entry.js → p-cf44485a.entry.js} +2 -2
  227. package/dist/ketchup/p-d2001dec.entry.js +44 -0
  228. package/dist/ketchup/{p-e508b2fd.entry.js → p-dbb6cd8d.entry.js} +1 -1
  229. package/dist/ketchup/p-eb8ea3a6.js +1 -0
  230. package/dist/ketchup/{p-590c34bc.js → p-f6c8f006.js} +1 -1
  231. package/dist/ketchup/{p-4c100286.entry.js → p-f79ffe77.entry.js} +1 -1
  232. package/dist/ketchup/{p-31c0cfc0.entry.js → p-fdcfaedd.entry.js} +1 -1
  233. package/dist/ketchup/p-fe75ede2.entry.js +1 -0
  234. package/dist/types/components/kup-image-list/kup-image-list.d.ts +1 -1
  235. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +81 -0
  236. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
  237. package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
  238. package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
  239. package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +29 -2
  240. package/dist/types/components/kup-planner/kup-planner-helper.d.ts +2 -1
  241. package/dist/types/components/kup-planner/kup-planner.d.ts +38 -0
  242. package/dist/types/components/kup-planner/utils/custom-task-list-table.d.ts +7 -0
  243. package/dist/types/components/kup-planner/utils/helpers/bar.helpers.d.ts +1 -1
  244. package/dist/types/components/kup-planner/utils/helpers/other.helpers.d.ts +1 -0
  245. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +6 -0
  246. package/dist/types/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.d.ts +1 -0
  247. package/dist/types/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.d.ts +13 -1
  248. package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +7 -0
  249. package/dist/types/components/kup-planner/utils/kup-planner-renderer-helper.d.ts +6 -2
  250. package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +1 -0
  251. package/dist/types/components/kup-planner/utils/kup-switcher/kup-switcher.d.ts +3 -1
  252. package/dist/types/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.d.ts +1 -0
  253. package/dist/types/components/kup-planner/utils/kup-task-list/kup-task-list.d.ts +4 -0
  254. package/dist/types/components.d.ts +266 -2
  255. package/dist/types/types/GenericTypes.d.ts +1 -0
  256. package/package.json +2 -1
  257. package/dist/components/kup-planner-renderer-helper.js +0 -379
  258. package/dist/ketchup/p-21351b19.entry.js +0 -1
  259. package/dist/ketchup/p-2b40d9b9.entry.js +0 -1
  260. package/dist/ketchup/p-5c79cb74.js +0 -1
  261. package/dist/ketchup/p-670354ef.entry.js +0 -1
  262. package/dist/ketchup/p-8e3b6de8.js +0 -1
  263. package/dist/ketchup/p-935f58fc.js +0 -1
  264. package/dist/ketchup/p-9852b1e9.js +0 -1
  265. package/dist/ketchup/p-ca42a421.entry.js +0 -16
  266. package/dist/ketchup/p-d50515f7.js +0 -1
  267. package/dist/ketchup/p-e841c2ae.js +0 -1
  268. package/dist/ketchup/p-ec4050e1.entry.js +0 -1
@@ -96,59 +96,59 @@ export class KupSpinner {
96
96
  spinnerClass = 'spinner-v' + this.layout;
97
97
  if (this.layout === 7) {
98
98
  spinnerEl = [
99
- h("div", { key: '359be367c94c07c33890de1ed3b603841761c936', class: "sk-spinner-v7-dot" }),
100
- h("div", { key: 'dd610e61f79f4fb3bf3a75b2f8033a3de9059e57', class: "sk-spinner-v7-dot" }),
101
- h("div", { key: 'fd2a76c433135c56f8f7ff01e33c175813c2a843', class: "sk-spinner-v7-dot" }),
102
- h("div", { key: '100a69fbea8fae1b420d9dc67d3762cd06951232', class: "sk-spinner-v7-dot" }),
103
- h("div", { key: 'fcd6789d7c97391b519ac9adffd2d86cd8392c5f', class: "sk-spinner-v7-dot" }),
104
- h("div", { key: '0dabff76162459dfebd5dac161e01c27478bf312', class: "sk-spinner-v7-dot" }),
99
+ h("div", { key: 'dec18ff5da6e447ef0a88748af4ba69876433347', class: "sk-spinner-v7-dot" }),
100
+ h("div", { key: '622999cb044516e25647e295acaae27633a8bee4', class: "sk-spinner-v7-dot" }),
101
+ h("div", { key: '9c4123cd6c450454f8834aa54fc6d9d0fd152cb3', class: "sk-spinner-v7-dot" }),
102
+ h("div", { key: '2cf01d336aebb720a588b64b97b372aef7f61f5f', class: "sk-spinner-v7-dot" }),
103
+ h("div", { key: '7a871149a9869d035a19f33c29bb743051547bc9', class: "sk-spinner-v7-dot" }),
104
+ h("div", { key: 'eef22904455b6dc3def9ee7f93f6d2907b2e6779', class: "sk-spinner-v7-dot" }),
105
105
  ];
106
106
  }
107
107
  if (this.layout === 9) {
108
108
  spinnerEl = [
109
- h("div", { key: '6097993bc339582792e4ba872d49618337297d31', class: "sk-spinner-v9-bounce1" }),
110
- h("div", { key: '77d72d881258fe5ef3f852b5f566899e326baab4', class: "sk-spinner-v9-bounce2" }),
109
+ h("div", { key: '508d469d81d31c69ae6ac0414b65d25793fa2cc6', class: "sk-spinner-v9-bounce1" }),
110
+ h("div", { key: 'b7035400b3171be8af748564b90567a6af521a9e', class: "sk-spinner-v9-bounce2" }),
111
111
  ];
112
112
  }
113
113
  if (this.layout === 10) {
114
114
  spinnerEl = [
115
- h("div", { key: 'f6b6405c20f8e4545a1d1fb76b4c282614055b90', class: "sk-spinner-v10-cube1" }),
116
- h("div", { key: '439ccf9e4679b9f84d9c2d5d78de3f4fefa29d9b', class: "sk-spinner-v10-cube2" }),
115
+ h("div", { key: 'c63bfed904f73228827666b23dd84cb5eb25cfe4', class: "sk-spinner-v10-cube1" }),
116
+ h("div", { key: '3485e52f1019a3bf313d40db97623a4f2df75756', class: "sk-spinner-v10-cube2" }),
117
117
  ];
118
118
  }
119
119
  if (this.layout === 12) {
120
120
  spinnerEl = [
121
- h("div", { key: '0560fbe74edcd2cc7e2669f0d2e8694e4f7d024a', class: "sk-spinner-v12-dot1" }),
122
- h("div", { key: '6c3d65e391c185581cdd937dc6d1018a8cab1f05', class: "sk-spinner-v12-dot2" }),
121
+ h("div", { key: '9c45d4d1a45d63f26fc54128150a811ee68ebbff', class: "sk-spinner-v12-dot1" }),
122
+ h("div", { key: '2c5d61ccfab2caeaea818c16233d8f679b186a01', class: "sk-spinner-v12-dot2" }),
123
123
  ];
124
124
  }
125
125
  if (this.layout === 13) {
126
126
  spinnerEl = [
127
- h("div", { key: '69b86ac19c0a5514784603f30a5d1894fc75801b', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
128
- h("div", { key: '00d221803e1466b85e1b679bf5ec1c898dc1b9aa', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
129
- h("div", { key: '5194a1c883a16a0a15ce430c05dc89f0e4d7d818', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
130
- h("div", { key: '06997f1b7f6dc4c7d9fed22536cd7b1bb4def915', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
131
- h("div", { key: '9645b92f0840866b75f08087860cd7df3ad9189c', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
132
- h("div", { key: '062757580932383e18ed19dff2cd32b77c63fbf4', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
133
- h("div", { key: 'e2db26066dfb926ac869ce19e4524d9220766d4f', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
134
- h("div", { key: 'd3d5d979ec844f7480db8e764e86a2d5d428b661', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
135
- h("div", { key: '33ee04b71b70e16e38823299fdd04066c88b3894', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
127
+ h("div", { key: '846d41928a6673d5d0be23c7f2012d855f94f7d5', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
128
+ h("div", { key: 'f89e6198b2ca96761f26e0199e135052e1d8bd7b', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
129
+ h("div", { key: '817f79a413618a55214bd34d3d3e8dcdf94ccac1', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
130
+ h("div", { key: 'f5327bd00519954be0739a199f722fbebce2476e', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
131
+ h("div", { key: 'b2ecb76d9ec7ccb8d5a5b749c73e064ffd8af65e', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
132
+ h("div", { key: '36a10200a66c50a15006d850052a8162b7fb9fae', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
133
+ h("div", { key: '9ad2b1d081c67eb20b0679e15a8dad65472d9861', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
134
+ h("div", { key: '2b8ca22ce51296daf61db3390f050621c00a0f18', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
135
+ h("div", { key: 'e7dda224be4f1d0db8afe8f75d20de6954164949', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
136
136
  ];
137
137
  }
138
138
  if (this.layout === 14) {
139
139
  spinnerEl = [
140
- h("div", { key: '93929d740397ab1e70896abca6df56ca07239397', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
141
- h("div", { key: '2e8ef8edffaf868e7d07a68a9692c2a442ab2004', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
142
- h("div", { key: '470de093a1a1e00c7cd1d820bf1047679e95023a', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
143
- h("div", { key: '9451f27fcaa437c518354168dac1fda9dcb5d1c8', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
144
- h("div", { key: '01fad1595f607900cc76dd63ab2e49f51ab1e8a1', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
145
- h("div", { key: '127c9f2d7ad50a463f3ca9bdd5ab0640a8581358', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
146
- h("div", { key: '7b722ba2c270d743aebcc6995cff8322cf0a014d', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
147
- h("div", { key: '56ec617ec9f367543798bebf8b6ae2f153a89f11', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
148
- h("div", { key: 'c2974a187a0f3600210a24bb276407e5fd758dee', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
149
- h("div", { key: '8bcdf75c43b61ff44f617799fa06cab21757fb43', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
150
- h("div", { key: '2bb19eb0cd5ae87ff035e8dc2519dd6d4b6ef93c', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
151
- h("div", { key: '149a1519ecd99be2bce3d050936dcacc605509d4', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
140
+ h("div", { key: '59e710de566984ccd0bac936a524ce1bad873b40', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
141
+ h("div", { key: '40f84d200ca27b547a14ae92cb021f4d998307cb', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
142
+ h("div", { key: 'b7318e8ec59b8b253584ab329d0a11cdde77812f', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
143
+ h("div", { key: '3411fd3d32934adb2d5dc7820ddcddf9770aa743', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
144
+ h("div", { key: 'feb7271af14e53ba11625b6bd29a3e20aea1b0bf', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
145
+ h("div", { key: '3efd6f88fe0853f7e32b490be477918dc5bd9bde', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
146
+ h("div", { key: 'fbf7f1d6bcdb163e5ec773496701f3e5d97a329c', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
147
+ h("div", { key: 'b494589d43c870963482b26b2b576bd90795504f', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
148
+ h("div", { key: '1aa3c9ba0103913eb902c39f9d9c7ec5e8053c18', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
149
+ h("div", { key: 'f47f8d129e2eafc9a138c3d7a20c3e980154cbae', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
150
+ h("div", { key: 'c5944798de2558b722409d4b7a09cb81d7c95f94', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
151
+ h("div", { key: '9da29e9774277ce3f4a870ff5dbc29c22e02a6dd', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
152
152
  ];
153
153
  }
154
154
  }
@@ -167,7 +167,7 @@ export class KupSpinner {
167
167
  else {
168
168
  elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
169
169
  }
170
- return (h(Host, { key: '3edd3d9661f7cfdbf6a1603bf8590a4e1a627801', style: elStyle }, h("style", { key: 'cd3bdb042c3cbe8c0f912644e2367481cba4a47c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '0138498d99b3b19099bd1e9dc49b1a3dbd0664e6', id: componentWrapperId, style: elStyle }, h("div", { key: '6affd0a909dc637476750c8a6b3d8ee5f54952ee', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: '5932de28b966bd18ca4e5509c8485dca25878827', id: wrapperClass, style: elStyle }, h("div", { key: '9e83b1b3cb175bdd115d428b08f4e2e59450e833', class: spinnerClass }, spinnerEl))))));
170
+ return (h(Host, { key: '5b9de6c2d309bc15744353796e662fef611f44f6', style: elStyle }, h("style", { key: 'e6a21638735f7fdf44bcec63fd8067924cdafdf5' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9e83ab0c16965cfe9cda127c854d08949ea0078f', id: componentWrapperId, style: elStyle }, h("div", { key: 'd033eda03cf43d5ef8ee02fee0890a36d986a893', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'd6695bf8595fc0ae3e1a31578d8c2f550585b77b', id: wrapperClass, style: elStyle }, h("div", { key: 'e06bce173a197cf9fd6aa036865104b625badef1', class: spinnerClass }, spinnerEl))))));
171
171
  }
172
172
  disconnectedCallback() {
173
173
  this.kupManager.theme.unregister(this);
@@ -120,7 +120,7 @@ export class KupSwitch {
120
120
  onChange: () => this.onKupChange(),
121
121
  onFocus: () => this.onKupFocus(),
122
122
  };
123
- return (h(Host, { key: '4858e80e63b496834cbfcec2eaf0443721ff97ac' }, h("style", { key: 'cc5e607c829cf53ecc4fcbecb17599bf71ddd3c6' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '03f13f6cd8bd27733aad62d7fb9dfc8d883aebd5', id: componentWrapperId }, h(FSwitch, Object.assign({ key: 'ee60ee3e801c6e0015321a1736a04cf9949ac156' }, props)))));
123
+ return (h(Host, { key: 'c58e0bc0af97047925631605157669d49eaafb32' }, h("style", { key: '961d94935464a5bd1dff1bddc28fc46452bb6dba' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ec020595d887abb848346106b981c13a577db96f', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '0a7d447ac4e7aa9a6a3fd5aef2f3f73f257ee1e4' }, props)))));
124
124
  }
125
125
  disconnectedCallback() {
126
126
  this.kupManager.theme.unregister(this);
@@ -405,7 +405,7 @@ export class KupTimePicker {
405
405
  this.kupManager.debug.logRender(this, true);
406
406
  }
407
407
  render() {
408
- return (h(Host, { key: '6e64fa08f58a91eaca3aa1676ef29f27fd9c9c36' }, h("style", { key: 'a832d907fff749ae04b9fbf90b8b5c446e25f431' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'dec81378d73e1cceb3b5c5eefef150cc24455943', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
408
+ return (h(Host, { key: '93b86314772e012c9c5e51b5ca9f787526b8b488' }, h("style", { key: '39720990860be688caad0e0573b7ece58a986f70' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '07fd86c0e40d99d8871a60b908cd8116a120847a', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
409
409
  }
410
410
  disconnectedCallback() {
411
411
  this.kupManager.dates.unregister(this);
@@ -14,9 +14,8 @@ import { FButton } from "../f-button/f-button";
14
14
  import { FProgressBar } from "../f-progress-bar/f-progress-bar";
15
15
  import { FRadio } from "../f-radio/f-radio";
16
16
  import { FRating } from "../f-rating/f-rating";
17
+ import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
17
18
  const dom = document.documentElement;
18
- let touchEndTime = 0;
19
- let touchStartTime = 0;
20
19
  /*-------------------------------------------------*/
21
20
  /* C o m p o n e n t */
22
21
  /*-------------------------------------------------*/
@@ -113,27 +112,7 @@ export const FCell = (props, children) => {
113
112
  }
114
113
  return (h("div", { onKeyUp: (e) => cellEvent(e, props, cellType, FCellEvents.KEYUP), class: classObj, "kup-get-cell-props": () => {
115
114
  return props;
116
- }, onTouchEnd: dom.ketchup.interact.isMobileDevice()
117
- ? () => {
118
- if (touchStartTime) {
119
- touchEndTime = performance.now();
120
- const delta = touchEndTime - touchStartTime;
121
- // 600ms is interact's default "hold" value
122
- if (delta < 600) {
123
- const newEvt = document.createEvent('MouseEvents');
124
- cellEvent(newEvt, props, cellType, FCellEvents.CLICK);
125
- }
126
- touchEndTime = 0;
127
- touchStartTime = 0;
128
- }
129
- }
130
- : null, onTouchStart: dom.ketchup.interact.isMobileDevice()
131
- ? (e) => {
132
- touchEndTime = 0;
133
- touchStartTime = performance.now();
134
- e.preventDefault();
135
- }
136
- : null, ref: (el) => (cell.element = el), style: cell.style }, h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
115
+ }, ref: (el) => (cell.element = el), style: cell.style }, h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
137
116
  ? children
138
117
  : [props.indents, infoEl, icon, content])));
139
118
  };
@@ -474,7 +453,9 @@ function cellEvent(e, props, cellType, cellEventName) {
474
453
  try {
475
454
  comp.refresh();
476
455
  }
477
- catch (error) { }
456
+ catch (error) {
457
+ dom.ketchup.debug.logMessage(comp, error, KupDebugCategory.ERROR);
458
+ }
478
459
  }
479
460
  }
480
461
  }
@@ -1,6 +1,5 @@
1
1
  import { FImageShape } from "./f-image-declarations";
2
2
  import { getAssetPath, h } from "@stencil/core";
3
- import { KupThemeColorValues } from "../../managers/kup-theme/kup-theme-declarations";
4
3
  /*-------------------------------------------------*/
5
4
  /* C o m p o n e n t */
6
5
  /*-------------------------------------------------*/
@@ -38,7 +37,7 @@ export const FImage = (props) => {
38
37
  badgeCollection.push(h("kup-badge", Object.assign({}, props.badgeData[index])));
39
38
  }
40
39
  }
41
- return (h("div", Object.assign({ class: `f-image ${props.wrapperClass ? props.wrapperClass : ''} ${props.fit ? 'kup-fit' : ''}` }, props.dataSet, { id: props.id, style: style, title: props.title, onClick: props.onClick }), el, ...badgeCollection));
40
+ return (h("div", Object.assign({ class: `f-image ${props.wrapperClass ? props.wrapperClass : ''} ` }, props.dataSet, { id: props.id, style: style, title: props.title, onClick: props.onClick }), el, ...badgeCollection));
42
41
  };
43
42
  /*-------------------------------------------------*/
44
43
  /* M e t h o d s */
@@ -48,9 +47,7 @@ function createIcon(props) {
48
47
  'f-image__icon': true,
49
48
  };
50
49
  const style = {
51
- background: props.color
52
- ? props.color
53
- : `var(${KupThemeColorValues.ICON})`,
50
+ background: props.color ? props.color : `var(--kup-gray-color-70)`,
54
51
  };
55
52
  if (props.resource.indexOf('--kup') > -1) {
56
53
  let themeIcon = props.resource.replace('--', '');
@@ -17,6 +17,7 @@ export const fButtonUsers = [
17
17
  KupTagNames.DROPDOWN_BUTTON,
18
18
  KupTagNames.FAMILY_TREE,
19
19
  KupTagNames.FORM,
20
+ KupTagNames.INPUT_PANEL,
20
21
  KupTagNames.IMAGE_LIST,
21
22
  KupTagNames.SNACKBAR,
22
23
  ];
@@ -29,6 +30,7 @@ export const fCellUsers = [
29
30
  KupTagNames.CELL,
30
31
  KupTagNames.DATA_TABLE,
31
32
  KupTagNames.FORM,
33
+ KupTagNames.INPUT_PANEL,
32
34
  KupTagNames.TREE,
33
35
  ];
34
36
  /**
@@ -41,6 +43,7 @@ export const fCheckboxUsers = [
41
43
  KupTagNames.DASHBOARD,
42
44
  KupTagNames.DATA_TABLE,
43
45
  KupTagNames.FORM,
46
+ KupTagNames.INPUT_PANEL,
44
47
  KupTagNames.LIST,
45
48
  KupTagNames.TREE,
46
49
  ];
@@ -54,6 +57,7 @@ export const fChipUsers = [
54
57
  KupTagNames.CHIP,
55
58
  KupTagNames.DATA_TABLE,
56
59
  KupTagNames.FORM,
60
+ KupTagNames.INPUT_PANEL,
57
61
  KupTagNames.TREE,
58
62
  ];
59
63
  /**
@@ -106,6 +110,7 @@ export const fRadioUsers = [
106
110
  KupTagNames.CELL,
107
111
  KupTagNames.DATA_TABLE,
108
112
  KupTagNames.FORM,
113
+ KupTagNames.INPUT_PANEL,
109
114
  KupTagNames.RADIO,
110
115
  KupTagNames.TREE,
111
116
  ];
@@ -128,6 +133,7 @@ export const fSwitchUsers = [
128
133
  KupTagNames.CELL,
129
134
  KupTagNames.DATA_TABLE,
130
135
  KupTagNames.FORM,
136
+ KupTagNames.INPUT_PANEL,
131
137
  KupTagNames.SWITCH,
132
138
  KupTagNames.TREE,
133
139
  ];
@@ -144,6 +150,7 @@ export const fTextFieldUsers = [
144
150
  KupTagNames.DATA_TABLE,
145
151
  KupTagNames.DATE_PICKER,
146
152
  KupTagNames.FORM,
153
+ KupTagNames.INPUT_PANEL,
147
154
  KupTagNames.NUMERIC_PICKER,
148
155
  KupTagNames.PLANNER,
149
156
  KupTagNames.TEXT_FIELD,
@@ -31,6 +31,7 @@ export var KupTagNames;
31
31
  KupTagNames["IFRAME"] = "KUP-IFRAME";
32
32
  KupTagNames["IMAGE"] = "KUP-IMAGE";
33
33
  KupTagNames["IMAGE_LIST"] = "KUP-IMAGE-LIST";
34
+ KupTagNames["INPUT_PANEL"] = "KUP-INPUT-PANEL";
34
35
  KupTagNames["LAZY"] = "KUP-LAZY";
35
36
  KupTagNames["LIST"] = "KUP-LIST";
36
37
  KupTagNames["MAGIC_BOX"] = "KUP-MAGIC-BOX";
@@ -0,0 +1,26 @@
1
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
+
3
+ function getDefaultExportFromCjs (x) {
4
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
+ }
6
+
7
+ function getAugmentedNamespace(n) {
8
+ if (n.__esModule) return n;
9
+ var a = Object.defineProperty({}, '__esModule', {value: true});
10
+ Object.keys(n).forEach(function (k) {
11
+ var d = Object.getOwnPropertyDescriptor(n, k);
12
+ Object.defineProperty(a, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () {
15
+ return n[k];
16
+ }
17
+ });
18
+ });
19
+ return a;
20
+ }
21
+
22
+ function commonjsRequire (path) {
23
+ throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
24
+ }
25
+
26
+ export { getAugmentedNamespace as a, commonjsRequire as b, commonjsGlobal as c, getDefaultExportFromCjs as g };
@@ -14,11 +14,11 @@ const KupCustomTaskListHeader = /*@__PURE__*/ proxyCustomElement(class KupCustom
14
14
  this.fontSize = undefined;
15
15
  }
16
16
  render() {
17
- return (h("div", { key: '25542e1e426f9f035bdd3b894acf915100609cec', class: "custom-task-list-wrapper", style: {
17
+ return (h("div", { key: '777c24c612e5d8c93b74a4a8466248cd9a84cd31', class: "custom-task-list-wrapper", style: {
18
18
  height: '50px',
19
19
  fontFamily: this.fontFamily,
20
20
  fontSize: this.fontSize,
21
- } }, h("div", { key: 'b64868e8a15fda0a259e30e77a1572fef34cf9a9', class: "title" }, h("span", { key: '4bb87686a421a211ff7caa2c53105764f2e15c0a' }, this.label)), this.setDoubleView !== undefined && (h("div", { class: "toggler" }, h("label", { htmlFor: "ch2", class: "switch" }, h("input", { class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { class: "slider" })), h("span", { class: "label" }, "Previsioni")))));
21
+ } }, h("div", { key: '8a00184f85811656ea2f4c6e69fee0db3ef85f48', class: "title" }, h("span", { key: '170a1bef8a7663064ebaaa600a3aaa40beb84243' }, this.label)), this.setDoubleView !== undefined && (h("div", { class: "toggler" }, h("label", { htmlFor: "ch2", class: "switch" }, h("input", { class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { class: "slider" })), h("span", { class: "label" }, "Previsioni")))));
22
22
  }
23
23
  static get style() { return KupCustomTaskListHeaderStyle0; }
24
24
  }, [0, "kup-custom-task-list-header", {
@@ -1,7 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
2
2
  import { b as KupDates } from './kup-dates.js';
3
+ import { c as createArrayFromNum } from './other.helpers.js';
3
4
 
4
- const ganttTableModuleCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.container{padding:0 10px;margin-right:10px}.project{background:var(--kup-background-color, #ffffff);border:1px solid var(--kup-border-color, #acacac);border-radius:4px;box-sizing:border-box;color:var(--kup-text-color, #595959);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.project .main{font-weight:700;width:100%;padding-left:4px}.subrow{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#acacac;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#ffffff;color:#595959;font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0;border-bottom-right-radius:0}.timeline{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#cbcbcb;border-radius:4px;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#fff;color:#595959;font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.timeline .main{font-weight:700;width:100%;padding-left:4px}";
5
+ const ganttTableModuleCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.container{padding:0 10px;margin-right:10px}.scrollable{overflow-x:auto;scrollbar-width:0}.scrollable .project-wrapper{display:table}.scrollable .project{width:100% !important;display:table-row}.scrollable .project>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid var(--kup-border-color, #acacac);border-top:1px solid var(--kup-border-color, #acacac);padding-left:12px}.scrollable .project>*:first-child{border-left:1px solid var(--kup-border-color, #acacac);border-bottom-left-radius:4px;border-top-left-radius:4px}.scrollable .project>*:last-child{border-right:1px solid var(--kup-border-color, #acacac);border-bottom-right-radius:4px;border-top-right-radius:4px}.scrollable .subrow{width:100% !important;display:table-row}.scrollable .subrow>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .subrow>*:first-child{border-left:1px solid #acacac}.scrollable .subrow>*:last-child{border-right:1px solid #acacac}.scrollable .timeline{width:100% !important;display:table-row}.scrollable .timeline>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .timeline>*:first-child{border-left:1px solid #acacac}.scrollable .timeline>*:last-child{border-right:1px solid #acacac}.scrollable .project:has(+.subrow)>*{border-bottom-left-radius:0;border-bottom-right-radius:0}.scrollable::-webkit-scrollbar{width:0;height:0}.project{background:var(--kup-background-color, #ffffff);border:1px solid var(--kup-border-color, #acacac);border-radius:4px;box-sizing:border-box;color:var(--kup-text-color, #595959);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.project .main{font-weight:700;width:100%;padding-left:4px}.subrow{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#acacac;border-bottom-left-radius:4px;border-bottom-right-radius:4px;box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#ffffff;color:#595959;font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.timeline{cursor:pointer;display:grid;border-width:1px;border-style:solid;border-color:#cbcbcb;border-radius:4px;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background:#fff;color:#595959;font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.timeline .main{font-weight:700;width:100%;padding-left:4px}";
5
6
  const KupCustomTaskListTableStyle0 = ganttTableModuleCss;
6
7
 
7
8
  const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomTaskListTable extends HTMLElement {
@@ -14,15 +15,37 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
14
15
  this.rowWidth = '';
15
16
  this.fontFamily = '';
16
17
  this.fontSize = '';
18
+ this.scrollableTaskList = undefined;
19
+ this.taskListScrollX = undefined;
17
20
  this.setSelectedTask = undefined;
18
21
  this.onclickTaskList = undefined;
19
22
  this.ondblclickTaskList = undefined;
20
23
  this.oncontextmenuTaskList = undefined;
24
+ this.ontaskListScrollWidth = undefined;
25
+ }
26
+ componentDidLoad() {
27
+ var _a;
28
+ this.ontaskListScrollWidth((_a = this.projectWrapperRef) === null || _a === void 0 ? void 0 : _a.clientWidth);
29
+ }
30
+ componentDidUpdate() {
31
+ var _a;
32
+ this.ontaskListScrollWidth((_a = this.projectWrapperRef) === null || _a === void 0 ? void 0 : _a.clientWidth);
33
+ }
34
+ updateTaskListScroll() {
35
+ this.projectWrapperRef &&
36
+ (this.projectWrapperRef.parentElement.scrollLeft = this.taskListScrollX);
21
37
  }
22
38
  render() {
23
39
  const kupDates = new KupDates();
24
- return (h("div", { key: 'aa6299da80dde8682f3fe8c1a8e244d6c15e5c5c', class: "container" }, this.tasks.map((task) => {
25
- var _a, _b, _c;
40
+ const scrollableStyle = {};
41
+ if (this.scrollableTaskList) {
42
+ scrollableStyle['width'] = this.rowWidth;
43
+ }
44
+ const spansToShow = this.tasks.reduce((prev, curr) => {
45
+ return prev.valuesToShow.length > curr.valuesToShow.length ? prev : curr;
46
+ }).valuesToShow.length + 1;
47
+ return (h("div", { class: `container ${this.scrollableTaskList ? 'scrollable' : ''}`, style: scrollableStyle }, h("div", { class: "project-wrapper", ref: (el) => (this.projectWrapperRef = el) }, this.tasks.map((task) => {
48
+ var _a, _b, _c, _d;
26
49
  return (h(Fragment, null, task.type === 'project' ? (h("div", { class: "project", style: {
27
50
  height: `${this.rowHeight}px`,
28
51
  width: this.rowWidth,
@@ -39,11 +62,15 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
39
62
  e.preventDefault();
40
63
  this.setSelectedTask(task.id);
41
64
  this.oncontextmenuTaskList(e, task.id);
42
- } }, (_a = task.valuesToShow) === null || _a === void 0 ? void 0 : _a.map((v, index) => (h("span", { class: index === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `task_${task.id}_valuesToShow_${index}` }, v === '#START#'
43
- ? kupDates.formatToLocaleSimple(task.start)
44
- : v === '#END#'
45
- ? kupDates.formatToLocaleSimple(task.end)
46
- : v))))) : task.type === 'task' ? (h("div", { class: "subrow", style: {
65
+ } }, (_a = task.valuesToShow) === null || _a === void 0 ? void 0 :
66
+ _a.map((v, index) => (h("span", { class: index === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `task_${task.id}_valuesToShow_${index}` }, v === '#START#'
67
+ ? kupDates.formatToLocaleSimple(task.start)
68
+ : v === '#END#'
69
+ ? kupDates.formatToLocaleSimple(task.end)
70
+ : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
71
+ const spansToIterate = createArrayFromNum(spansToShow - task.valuesToShow.length);
72
+ return (spansToIterate.map((element) => (h("span", { key: element }))));
73
+ })()))) : task.type === 'task' ? (h("div", { class: "subrow", style: {
47
74
  height: `${this.rowHeight}px`,
48
75
  width: this.rowWidth,
49
76
  fontFamily: this.fontFamily,
@@ -59,16 +86,26 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
59
86
  e.preventDefault();
60
87
  this.setSelectedTask(task.id);
61
88
  this.oncontextmenuTaskList(e, task.id);
89
+ } }, this.scrollableTaskList ? (h("div", { style: {
90
+ textAlign: 'end',
62
91
  } }, h("span", { key: `phase_${task.id}_valuesToShow_color`, style: {
63
92
  height: '16px',
64
93
  width: '16px',
94
+ display: 'inline-block',
65
95
  backgroundColor: (_b = task.styles) === null || _b === void 0 ? void 0 : _b.backgroundColor,
66
- } }), (_c = task.valuesToShow) === null || _c === void 0 ? void 0 :
67
- _c.map((v, index) => (h("span", { class: index === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `phase_${task.id}_valuesToShow_${index}` }, v === '#START#'
96
+ } }))) : (h("span", { key: `phase_${task.id}_valuesToShow_color`, style: {
97
+ height: '16px',
98
+ width: '16px',
99
+ backgroundColor: (_c = task.styles) === null || _c === void 0 ? void 0 : _c.backgroundColor,
100
+ } })), (_d = task.valuesToShow) === null || _d === void 0 ? void 0 :
101
+ _d.map((v, index) => (h("span", { class: index === 0 ? 'main' : undefined, title: v.length > 10 ? v : undefined, key: `phase_${task.id}_valuesToShow_${index}` }, v === '#START#'
68
102
  ? kupDates.formatToLocaleSimple(task.start)
69
103
  : v === '#END#'
70
104
  ? kupDates.formatToLocaleSimple(task.end)
71
- : v))))) : ((() => {
105
+ : v))), this.scrollableTaskList && spansToShow > task.valuesToShow.length && ((() => {
106
+ const spansToIterate = createArrayFromNum(spansToShow - task.valuesToShow.length - 1);
107
+ return (spansToIterate.map((element) => (h("span", { key: element }))));
108
+ })()))) : ((() => {
72
109
  var _a;
73
110
  let str = '';
74
111
  for (let i = 0; i < task.valuesToShow.length; i++) {
@@ -90,8 +127,11 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
90
127
  ? v
91
128
  : undefined, key: `detail_${task.id}_valuesToShow_${index}` }, v)))));
92
129
  })())));
93
- })));
130
+ }))));
94
131
  }
132
+ static get watchers() { return {
133
+ "taskListScrollX": ["updateTaskListScroll"]
134
+ }; }
95
135
  static get style() { return KupCustomTaskListTableStyle0; }
96
136
  }, [0, "kup-custom-task-list-table", {
97
137
  "ganttId": [1, "gantt-id"],
@@ -100,10 +140,15 @@ const KupCustomTaskListTable = /*@__PURE__*/ proxyCustomElement(class KupCustomT
100
140
  "rowWidth": [1, "row-width"],
101
141
  "fontFamily": [1, "font-family"],
102
142
  "fontSize": [1, "font-size"],
143
+ "scrollableTaskList": [4, "scrollable-task-list"],
144
+ "taskListScrollX": [2, "task-list-scroll-x"],
103
145
  "setSelectedTask": [16],
104
146
  "onclickTaskList": [16],
105
147
  "ondblclickTaskList": [16],
106
- "oncontextmenuTaskList": [16]
148
+ "oncontextmenuTaskList": [16],
149
+ "ontaskListScrollWidth": [16]
150
+ }, undefined, {
151
+ "taskListScrollX": ["updateTaskListScroll"]
107
152
  }]);
108
153
  function defineCustomElement() {
109
154
  if (typeof customElements === "undefined") {