@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
@@ -0,0 +1,480 @@
1
+ let data = {
2
+ columns: [
3
+ {
4
+ name: 'NAM',
5
+ title: 'Name',
6
+ visible: true,
7
+ },
8
+ {
9
+ name: 'SUR',
10
+ title: 'Surname',
11
+ visible: true,
12
+ },
13
+ {
14
+ name: 'NAT',
15
+ title: 'Nation',
16
+ visible: true,
17
+ },
18
+ {
19
+ name: 'CIT',
20
+ title: 'Tree Options',
21
+ visible: true,
22
+ },
23
+ {
24
+ name: 'LIS',
25
+ title: 'Table Options',
26
+ visible: true,
27
+ },
28
+ {
29
+ name: 'CHK',
30
+ title: 'Checkbox',
31
+ visible: true,
32
+ },
33
+ {
34
+ name: 'RAD',
35
+ title: 'Radio Buttons',
36
+ visible: true,
37
+ },
38
+ ],
39
+ rows: [
40
+ {
41
+ cells: {
42
+ NAM: {
43
+ value: '',
44
+ obj: {
45
+ t: '',
46
+ p: '',
47
+ k: '',
48
+ },
49
+ editable: true,
50
+ mandatory: true,
51
+ shape: 'ITX',
52
+ },
53
+ SUR: {
54
+ value: '',
55
+ obj: {
56
+ t: '',
57
+ p: '',
58
+ k: '',
59
+ },
60
+ editable: true,
61
+ mandatory: true,
62
+ shape: 'ITX',
63
+ },
64
+ NAT: {
65
+ value: '',
66
+ options: [
67
+ {
68
+ id: 'ITA',
69
+ label: 'Italy',
70
+ },
71
+ {
72
+ id: 'SPA',
73
+ label: 'Spain',
74
+ },
75
+ {
76
+ id: 'GER',
77
+ label: 'Germany',
78
+ },
79
+ {
80
+ id: 'FRA',
81
+ label: 'France',
82
+ },
83
+ {
84
+ id: 'POR',
85
+ label: 'Portugal',
86
+ },
87
+ {
88
+ id: 'ENG',
89
+ label: 'England',
90
+ },
91
+ ],
92
+ obj: {
93
+ t: '',
94
+ p: '',
95
+ k: '',
96
+ },
97
+ editable: true,
98
+ mandatory: true,
99
+ shape: 'CMB',
100
+ },
101
+ CIT: {
102
+ value: '',
103
+ obj: {
104
+ t: '',
105
+ p: '',
106
+ k: '',
107
+ },
108
+ editable: true,
109
+ mandatory: true,
110
+ options: {
111
+ type: 'SmeupTree',
112
+ messages: [],
113
+ children: [
114
+ {
115
+ content: {
116
+ codice: 'ROM',
117
+ testo: 'Rome',
118
+ },
119
+ children: [
120
+ {
121
+ content: {
122
+ codice: 'ROS',
123
+ testo: 'Rome Sud',
124
+ },
125
+ children: [],
126
+ },
127
+ {
128
+ content: {
129
+ codice: 'RON',
130
+ testo: 'Rome Nord',
131
+ },
132
+ children: [],
133
+ },
134
+ ],
135
+ },
136
+ {
137
+ content: {
138
+ codice: 'FLO',
139
+ testo: 'Florence',
140
+ },
141
+ children: [],
142
+ },
143
+ {
144
+ content: {
145
+ codice: 'VEN',
146
+ testo: 'Venice',
147
+ },
148
+ },
149
+ {
150
+ content: {
151
+ codice: 'MAD',
152
+ testo: 'Madrid',
153
+ },
154
+ },
155
+ {
156
+ content: {
157
+ codice: 'BAR',
158
+ testo: 'Barcelona',
159
+ },
160
+ },
161
+ {
162
+ content: {
163
+ codice: 'SEV',
164
+ testo: 'Seville',
165
+ },
166
+ },
167
+ {
168
+ content: {
169
+ codice: 'BER',
170
+ testo: 'Berlin',
171
+ },
172
+ },
173
+ {
174
+ content: {
175
+ codice: 'MUN',
176
+ testo: 'Munich',
177
+ },
178
+ },
179
+ {
180
+ content: {
181
+ codice: 'HAM',
182
+ testo: 'Hamburg',
183
+ },
184
+ },
185
+ {
186
+ content: {
187
+ codice: 'PAR',
188
+ testo: 'Paris',
189
+ },
190
+ },
191
+ {
192
+ content: {
193
+ codice: 'MAR',
194
+ testo: 'Marseille',
195
+ },
196
+ },
197
+ {
198
+ content: {
199
+ codice: 'LYO',
200
+ testo: 'Lyon',
201
+ },
202
+ },
203
+ {
204
+ content: {
205
+ codice: 'LIS',
206
+ testo: 'Lisbon',
207
+ },
208
+ },
209
+ {
210
+ content: {
211
+ codice: 'POR',
212
+ testo: 'Porto',
213
+ },
214
+ },
215
+ {
216
+ content: {
217
+ codice: 'FAR',
218
+ testo: 'Faro',
219
+ },
220
+ },
221
+ {
222
+ content: {
223
+ codice: 'LON',
224
+ testo: 'London',
225
+ },
226
+ },
227
+ {
228
+ content: {
229
+ codice: 'MAN',
230
+ testo: 'Manchester',
231
+ },
232
+ },
233
+ {
234
+ content: {
235
+ codice: 'LIV',
236
+ testo: 'Liverpool',
237
+ },
238
+ },
239
+ ],
240
+ },
241
+ fun: 'FUN ',
242
+ shape: 'ACP',
243
+ },
244
+ LIS: {
245
+ value: '',
246
+ obj: {
247
+ t: '',
248
+ p: '',
249
+ k: '',
250
+ },
251
+ editable: true,
252
+ mandatory: true,
253
+ options: {
254
+ type: 'SmeupTable',
255
+ messages: [],
256
+ rows: [
257
+ {
258
+ fields: {
259
+ E1: {
260
+ smeupObject: {
261
+ codice: 'E1',
262
+ testo: 'Element 1',
263
+ },
264
+ },
265
+ E2: {
266
+ smeupObject: {
267
+ codice: 'E2',
268
+ testo: 'Element 2',
269
+ },
270
+ },
271
+ E3: {
272
+ smeupObject: {
273
+ codice: 'E3',
274
+ testo: 'Element 3',
275
+ },
276
+ },
277
+ },
278
+ },
279
+ {
280
+ fields: {
281
+ E4: {
282
+ smeupObject: {
283
+ codice: 'E4',
284
+ testo: 'Element 4',
285
+ },
286
+ },
287
+ E5: {
288
+ smeupObject: {
289
+ codice: 'E5',
290
+ testo: 'Element 5',
291
+ },
292
+ },
293
+ E6: {
294
+ smeupObject: {
295
+ codice: 'E6',
296
+ testo: 'Element 6',
297
+ },
298
+ },
299
+ },
300
+ },
301
+ {
302
+ fields: {
303
+ E14: {
304
+ smeupObject: {
305
+ codice: 'E14',
306
+ testo: 'Element 14',
307
+ },
308
+ },
309
+ E15: {
310
+ smeupObject: {
311
+ codice: 'E15',
312
+ testo: 'Element 15',
313
+ },
314
+ },
315
+ E16: {
316
+ smeupObject: {
317
+ codice: 'E16',
318
+ testo: 'Element 16',
319
+ },
320
+ },
321
+ },
322
+ },
323
+ ],
324
+ },
325
+ shape: 'ACP',
326
+ },
327
+ CHK: {
328
+ value: 'on',
329
+ editable: true,
330
+ mandatory: true,
331
+ shape: 'CHK',
332
+ },
333
+ RAD: {
334
+ value: '3',
335
+ options: [
336
+ {
337
+ id: '1',
338
+ label: 'One',
339
+ },
340
+ {
341
+ id: '2',
342
+ label: 'Two',
343
+ },
344
+ {
345
+ id: '3',
346
+ label: 'Three',
347
+ },
348
+ {
349
+ id: '4',
350
+ label: 'Four',
351
+ },
352
+ ],
353
+ editable: true,
354
+ mandatory: true,
355
+ shape: 'RAD',
356
+ },
357
+ },
358
+ layout: {
359
+ sections: [
360
+ {
361
+ content: [
362
+ {
363
+ id: 'NAM',
364
+ colStart: 1,
365
+ colEnd: 1,
366
+ rowStart: 1,
367
+ rowEnd: 1,
368
+ },
369
+ {
370
+ id: 'SUR',
371
+ colStart: 2,
372
+ colEnd: 2,
373
+ rowStart: 1,
374
+ rowEnd: 1,
375
+ },
376
+ {
377
+ id: 'NAT',
378
+ colStart: 1,
379
+ colEnd: 1,
380
+ rowStart: 2,
381
+ rowEnd: 2,
382
+ },
383
+ {
384
+ id: 'CIT',
385
+ colStart: 2,
386
+ colEnd: 2,
387
+ rowStart: 2,
388
+ rowEnd: 2,
389
+ },
390
+ {
391
+ id: 'CHK',
392
+ colStart: 1,
393
+ colEnd: 1,
394
+ rowStart: 3,
395
+ rowEnd: 3,
396
+ },
397
+ {
398
+ id: 'RAD',
399
+ colSpan: 2,
400
+ rowStart: 3,
401
+ rowEnd: 3,
402
+ },
403
+ {
404
+ id: 'LIS',
405
+ colStart: 3,
406
+ colEnd: 3,
407
+ rowStart: 2,
408
+ rowEnd: 2,
409
+ },
410
+ ],
411
+ dim: '50%',
412
+ gridCols: 3,
413
+ gridRows: 3,
414
+ gap: 2,
415
+ },
416
+ ],
417
+ horizontal: true,
418
+ },
419
+ },
420
+ ],
421
+ };
422
+
423
+ const inputPanel = document.getElementById('input-panel');
424
+ inputPanel.data = data;
425
+
426
+ const inputPanelCallback = [
427
+ {
428
+ eventName: 'kup-autocomplete-input',
429
+ eventCallback: (e) => {
430
+ const newdata = {
431
+ ...data,
432
+ rows: data.rows.map((row) => {
433
+ const keys = Object.keys(row.cells);
434
+ const updatedCells = keys.reduce((acc, key) => {
435
+ let updatedValue = e.state.find(
436
+ (state) => state.column.name === key
437
+ ).cell.value;
438
+ return {
439
+ ...acc,
440
+ [key]: {
441
+ ...row.cells[key],
442
+ value: updatedValue,
443
+ },
444
+ };
445
+ }, {});
446
+ return { ...row, cells: updatedCells };
447
+ }),
448
+ };
449
+ const inputPanel = document.getElementById('input-panel');
450
+ inputPanel.data = newdata;
451
+ },
452
+ },
453
+ ];
454
+
455
+ const optionsHandlerCallback = () => {
456
+ return Promise.resolve({
457
+ type: 'SmeupTree',
458
+ messages: [],
459
+ children: [
460
+ {
461
+ content: {
462
+ codice: 'ROM',
463
+ testo: 'Rome',
464
+ },
465
+ children: [],
466
+ },
467
+ {
468
+ content: {
469
+ codice: 'TAR',
470
+ testo: 'Taranto',
471
+ },
472
+ children: [],
473
+ },
474
+ ],
475
+ });
476
+ };
477
+
478
+ inputPanel.valueChangeCb = inputPanelCallback;
479
+ inputPanel.optionsHandler = optionsHandlerCallback;
480
+ inputPanel.submitCb = (e) => console.log(e);
@@ -0,0 +1,15 @@
1
+ const comp = document.getElementById('pdf');
2
+
3
+ comp.addEventListener('kup-pdf-ready', (e) => {
4
+ console.log('Pdf ready', e);
5
+ });
6
+
7
+ const props = {
8
+ pdfPath: '../../assets/kup-pdf-sample.pdf',
9
+ };
10
+
11
+ if (props) {
12
+ for (const key in props) {
13
+ comp[key] = props[key];
14
+ }
15
+ }
@@ -9,6 +9,14 @@ document.addEventListener('kup-button-click', () => {
9
9
  comp.remove();
10
10
  });
11
11
 
12
+ document.addEventListener('kup-planner-datechange', (e) => {
13
+ console.log(e)
14
+ });
15
+
16
+ document.addEventListener('kup-planner-phasedrop', (e) => {
17
+ console.log(e)
18
+ });
19
+
12
20
  const props = {
13
21
  customStyle: '',
14
22
  data: {
@@ -1482,11 +1490,11 @@ const props = {
1482
1490
  },
1483
1491
  isEditable: false,
1484
1492
  obj: {
1485
- k: '20991231',
1493
+ k: '20241231',
1486
1494
  p: '*YYMD',
1487
1495
  t: 'D8',
1488
1496
  },
1489
- value: '2099-12-31',
1497
+ value: '2024-12-31',
1490
1498
  },
1491
1499
 
1492
1500
  DATORD: {
@@ -1498,11 +1506,11 @@ const props = {
1498
1506
  },
1499
1507
  isEditable: false,
1500
1508
  obj: {
1501
- k: '20991231',
1509
+ k: '20241231',
1502
1510
  p: '*YYMD',
1503
1511
  t: 'D8',
1504
1512
  },
1505
- value: '2099-12-31',
1513
+ value: '2024-12-31',
1506
1514
  },
1507
1515
 
1508
1516
  DATINZ: {
@@ -1514,11 +1522,11 @@ const props = {
1514
1522
  },
1515
1523
  isEditable: false,
1516
1524
  obj: {
1517
- k: '20991231',
1525
+ k: '20241231',
1518
1526
  p: '*YYMD',
1519
1527
  t: 'D8',
1520
1528
  },
1521
- value: '2099-12-31',
1529
+ value: '2024-12-31',
1522
1530
  },
1523
1531
 
1524
1532
  'R§COMM': {
@@ -1602,7 +1610,7 @@ const props = {
1602
1610
  phaseNameCol: 'DESFAS',
1603
1611
  phasePrevDates: ['DATINZ', 'DATFPO'],
1604
1612
  readOnly: false,
1605
- showSecondaryDates: true,
1613
+ showSecondaryDates: false,
1606
1614
  taskColumns: ['R§COMM', 'R§CDCL', 'DATINZ', 'DATPRE'],
1607
1615
  taskDates: ['DATINZ', 'DATPRE'],
1608
1616
  taskHeight: 400,
@@ -1610,6 +1618,10 @@ const props = {
1610
1618
  taskNameCol: 'R§COMM',
1611
1619
  taskPrevDates: ['INZORD', 'DATORD'],
1612
1620
  titleMess: '',
1621
+ detailHours: ['INITHHMM', 'ENDHHMM'],
1622
+ phaseHours: ['INITHHMMSS', 'ENDHHMMSS'],
1623
+ taskHours: ['INITHHMM', 'ENDHHMM'],
1624
+ scrollableTaskList: true
1613
1625
  };
1614
1626
 
1615
1627
  if (props) {
@@ -396,6 +396,9 @@ const props = {
396
396
  detailHours: ['INITHHMM', 'ENDHHMM'],
397
397
  phaseHours: ['INITHHMMSS', 'ENDHHMMSS'],
398
398
  taskHours: ['INITHHMM', 'ENDHHMM'],
399
+ detailPrevHours: ['INPRHHMM', 'ENPRHHMM'],
400
+ phasePrevHours: ['INPRHHMMSS', 'ENPRHHMMSS'],
401
+ taskPrevHours: ['INPRHHMM', 'ENPRHHMM'],
399
402
  scrollableTaskList: true,
400
403
  };
401
404
 
@@ -529,12 +529,12 @@ const props = {
529
529
  },
530
530
  isEditable: false,
531
531
  obj: {
532
- k: 'MAC.FMRSI-31-150-CNC',
532
+ k: 'MAC.FMRSI-31-150-CNCMAC.FMRSI-31-150-CNCMAC.FMRSI-31-150-CNC',
533
533
  p: '',
534
534
  t: '',
535
535
  },
536
- value: 'MAC.FMRSI-31-150-CNC',
537
- displayedValue: 'MAC.FMRSI-31-150-CNC',
536
+ value: 'MAC.FMRSI-31-150-CNCMAC.FMRSI-31-150-CNCMAC.FMRSI-31-150-CNC',
537
+ displayedValue: 'MAC.FMRSI-31-150-CNCMAC.FMRSI-31-150-CNCMAC.FMRSI-31-150-CNC',
538
538
  },
539
539
  'R£CDCL': {
540
540
  data: {
@@ -2780,6 +2780,7 @@ const props = {
2780
2780
  taskNameCol: 'R£COMM',
2781
2781
  taskPrevDates: [],
2782
2782
  titleMess: '',
2783
+ scrollableTaskList: true
2783
2784
  };
2784
2785
 
2785
2786
  if (props) {
@@ -32,12 +32,14 @@
32
32
  "components/kup-iframe/kup-iframe.js",
33
33
  "components/kup-image/kup-image.js",
34
34
  "components/kup-image-list/kup-image-list.js",
35
+ "components/kup-input-panel/kup-input-panel.js",
35
36
  "components/kup-lazy/kup-lazy.js",
36
37
  "components/kup-radio/kup-radio.js",
37
38
  "components/kup-list/kup-list.js",
38
39
  "components/kup-magic-box/kup-magic-box.js",
39
40
  "components/kup-nav-bar/kup-nav-bar.js",
40
41
  "components/kup-numeric-picker/kup-numeric-picker.js",
42
+ "components/kup-pdf/kup-pdf.js",
41
43
  "components/kup-photo-frame/kup-photo-frame.js",
42
44
  "components/kup-planner/kup-planner.js",
43
45
  "components/kup-planner/utils/custom-task-list-header.js",
@@ -155,7 +155,7 @@
155
155
  position: absolute;
156
156
  top: 0;
157
157
  left: 0;
158
- transform: translate(-50%, -50%);
158
+ transform: translate(15%, 15%);
159
159
  }
160
160
 
161
161
  #kup-component {
@@ -186,7 +186,7 @@
186
186
  right: 0;
187
187
  bottom: unset;
188
188
  left: unset;
189
- transform: translate(50%, -50%);
189
+ transform: translate(-15%, 15%);
190
190
  }
191
191
 
192
192
  :host(.kup-bottom-right) {
@@ -194,7 +194,7 @@
194
194
  right: 0;
195
195
  bottom: 0;
196
196
  left: unset;
197
- transform: translate(50%, 50%);
197
+ transform: translate(-15%, -15%);
198
198
  }
199
199
 
200
200
  :host(.kup-bottom-left) {
@@ -202,7 +202,7 @@
202
202
  right: unset;
203
203
  bottom: 0;
204
204
  left: 0;
205
- transform: translate(-50%, 50%);
205
+ transform: translate(15%, -15%);
206
206
  }
207
207
 
208
208
  :host(.kup-danger) {