@sme.up/ketchup 9.6.4 → 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 (232) hide show
  1. package/dist/cjs/{bar.helpers-f46a5a83.js → bar.helpers-c481a535.js} +45 -13
  2. package/dist/cjs/{f-button-89de2403.js → f-button-23ec3db5.js} +1 -1
  3. package/dist/cjs/{f-cell-75dbd6eb.js → f-cell-bcc51c0f.js} +5 -5
  4. package/dist/cjs/{f-chip-08857345.js → f-chip-63363ecf.js} +2 -2
  5. package/dist/cjs/{f-image-a41d7f1e.js → f-image-f3944c01.js} +2 -5
  6. package/dist/cjs/{f-paginator-utils-ff07301e.js → f-paginator-utils-60e05759.js} +2 -2
  7. package/dist/cjs/{f-text-field-eb207a83.js → f-text-field-354b6c78.js} +1 -1
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/ketchup.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  11. package/dist/cjs/kup-autocomplete_27.cjs.entry.js +46 -46
  12. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  13. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  14. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  15. package/dist/cjs/kup-cell.cjs.entry.js +6 -6
  16. package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +253 -37
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
  18. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  19. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-editor.cjs.entry.js +1 -1
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  22. package/dist/cjs/kup-gantt_10.cjs.entry.js +104 -38
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-image-list.cjs.entry.js +20 -13
  26. package/dist/cjs/kup-input-panel.cjs.entry.js +199 -53
  27. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  29. package/dist/cjs/{kup-manager-abfe4ddd.js → kup-manager-e1bfd4f8.js} +647 -120
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  33. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  34. package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
  35. package/dist/cjs/{kup-planner-renderer-helper-9f776d6e.js → kup-planner-renderer-helper-f001fad7.js} +55 -7
  36. package/dist/cjs/kup-planner-renderer.cjs.entry.js +43 -10
  37. package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js} +3 -0
  38. package/dist/cjs/kup-planner.cjs.entry.js +80 -8
  39. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  40. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  41. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/collection/assets/image-list.js +332 -2
  44. package/dist/collection/assets/input-panel.js +307 -76
  45. package/dist/collection/assets/planner-example-5.js +19 -7
  46. package/dist/collection/assets/planner-example-6.js +3 -0
  47. package/dist/collection/assets/planner.js +4 -3
  48. package/dist/collection/components/kup-badge/kup-badge.css +4 -4
  49. package/dist/collection/components/kup-image-list/kup-image-list.css +37 -4
  50. package/dist/collection/components/kup-image-list/kup-image-list.js +15 -8
  51. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -1
  52. package/dist/collection/components/kup-input-panel/kup-input-panel.css +38 -1
  53. package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +69 -28
  54. package/dist/collection/components/kup-input-panel/kup-input-panel.js +206 -59
  55. package/dist/collection/components/kup-planner/kup-planner-declarations.js +3 -0
  56. package/dist/collection/components/kup-planner/kup-planner-helper.js +42 -1
  57. package/dist/collection/components/kup-planner/kup-planner.js +191 -5
  58. package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +103 -11
  59. package/dist/collection/components/kup-planner/utils/gantt-table.module.css +80 -2
  60. package/dist/collection/components/kup-planner/utils/helpers/bar.helpers.js +41 -13
  61. package/dist/collection/components/kup-planner/utils/helpers/other.helpers.js +3 -0
  62. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +10 -0
  63. package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +61 -6
  64. package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +32 -2
  65. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +4 -0
  66. package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +208 -24
  67. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +4 -0
  68. package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +131 -7
  69. package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +55 -6
  70. package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +40 -7
  71. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +22 -15
  72. package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +21 -5
  73. package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +19 -3
  74. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
  75. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
  76. package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +76 -2
  77. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
  78. package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
  79. package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
  80. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  81. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  82. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  83. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  84. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  85. package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
  86. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  87. package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
  88. package/dist/collection/f-components/f-image/f-image.js +2 -5
  89. package/dist/components/_commonjsHelpers.js +26 -0
  90. package/dist/components/custom-task-list-table.js +58 -13
  91. package/dist/components/kup-autocomplete2.js +43 -45
  92. package/dist/components/kup-calendar.js +1 -1
  93. package/dist/components/kup-dates.js +2 -25
  94. package/dist/components/kup-editor.js +1 -1
  95. package/dist/components/kup-gantt-calendar2.js +31 -1
  96. package/dist/components/kup-gantt2.js +26 -7
  97. package/dist/components/kup-grid-renderer2.js +219 -81
  98. package/dist/components/kup-horizontal-scroll2.js +48 -10
  99. package/dist/components/kup-image-list.js +14 -7
  100. package/dist/components/kup-input-panel.js +192 -46
  101. package/dist/components/kup-manager.js +649 -121
  102. package/dist/components/kup-pdf.js +1 -1
  103. package/dist/components/kup-planner-declarations.js +91 -0
  104. package/dist/components/kup-planner-renderer2.js +42 -9
  105. package/dist/components/kup-planner.js +86 -6
  106. package/dist/components/kup-probe.js +1 -1
  107. package/dist/components/kup-qlik.js +1 -1
  108. package/dist/components/kup-snackbar.js +1 -1
  109. package/dist/components/kup-standard-tooltip2.js +1 -1
  110. package/dist/components/kup-switcher2.js +19 -7
  111. package/dist/components/kup-task-gantt2.js +6 -4
  112. package/dist/components/kup-task-list-header2.js +7 -7
  113. package/dist/components/kup-task-list-table2.js +1 -1
  114. package/dist/components/kup-task-list2.js +434 -84
  115. package/dist/components/kup-tooltip2.js +1 -1
  116. package/dist/components/kup-vertical-scroll2.js +2 -2
  117. package/dist/components/other.helpers.js +47 -0
  118. package/dist/esm/{bar.helpers-0898efb9.js → bar.helpers-23a51579.js} +45 -14
  119. package/dist/esm/{f-button-1eebd42e.js → f-button-d6dbcfd6.js} +1 -1
  120. package/dist/esm/{f-cell-af19d5c7.js → f-cell-7b41415c.js} +5 -5
  121. package/dist/esm/{f-chip-9e5fdb25.js → f-chip-68d27d7a.js} +2 -2
  122. package/dist/esm/{f-image-1e1ed567.js → f-image-a67229e5.js} +2 -5
  123. package/dist/esm/{f-paginator-utils-dede029b.js → f-paginator-utils-8773e358.js} +2 -2
  124. package/dist/esm/{f-text-field-802b45fb.js → f-text-field-d364ffd2.js} +1 -1
  125. package/dist/esm/index.js +1 -1
  126. package/dist/esm/ketchup.js +1 -1
  127. package/dist/esm/kup-accordion.entry.js +2 -2
  128. package/dist/esm/kup-autocomplete_27.entry.js +46 -46
  129. package/dist/esm/kup-box.entry.js +7 -7
  130. package/dist/esm/kup-calendar.entry.js +4 -4
  131. package/dist/esm/kup-card-list.entry.js +1 -1
  132. package/dist/esm/kup-cell.entry.js +6 -6
  133. package/dist/esm/kup-custom-task-list-header_4.entry.js +253 -37
  134. package/dist/esm/kup-dashboard.entry.js +4 -4
  135. package/dist/esm/kup-drawer.entry.js +1 -1
  136. package/dist/esm/kup-echart.entry.js +1 -1
  137. package/dist/esm/kup-editor.entry.js +1 -1
  138. package/dist/esm/kup-family-tree.entry.js +3 -3
  139. package/dist/esm/kup-gantt_10.entry.js +105 -39
  140. package/dist/esm/kup-grid.entry.js +1 -1
  141. package/dist/esm/kup-iframe.entry.js +1 -1
  142. package/dist/esm/kup-image-list.entry.js +20 -13
  143. package/dist/esm/kup-input-panel.entry.js +199 -53
  144. package/dist/esm/kup-lazy.entry.js +1 -1
  145. package/dist/esm/kup-magic-box.entry.js +2 -2
  146. package/dist/esm/{kup-manager-dd24fb5a.js → kup-manager-a316a70e.js} +647 -120
  147. package/dist/esm/kup-nav-bar.entry.js +1 -1
  148. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  149. package/dist/esm/kup-pdf.entry.js +1 -1
  150. package/dist/esm/kup-photo-frame.entry.js +1 -1
  151. package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
  152. package/dist/esm/{kup-planner-renderer-helper-b4727e44.js → kup-planner-renderer-helper-a2ec9a1c.js} +56 -7
  153. package/dist/esm/kup-planner-renderer.entry.js +43 -10
  154. package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
  155. package/dist/esm/kup-planner.entry.js +80 -8
  156. package/dist/esm/kup-probe.entry.js +2 -2
  157. package/dist/esm/kup-qlik.entry.js +2 -2
  158. package/dist/esm/kup-snackbar.entry.js +4 -4
  159. package/dist/esm/loader.js +1 -1
  160. package/dist/ketchup/index.esm.js +1 -1
  161. package/dist/ketchup/ketchup.esm.js +1 -1
  162. package/dist/ketchup/p-008bdcdc.js +1 -0
  163. package/dist/ketchup/p-042e874a.entry.js +1 -0
  164. package/dist/ketchup/{p-b3b50bb5.entry.js → p-074ccd53.entry.js} +1 -1
  165. package/dist/ketchup/{p-26d42b88.entry.js → p-1088ab22.entry.js} +1 -1
  166. package/dist/ketchup/{p-201f8d7b.entry.js → p-1bcac01f.entry.js} +1 -1
  167. package/dist/ketchup/{p-3b544027.entry.js → p-1e028d95.entry.js} +1 -1
  168. package/dist/ketchup/p-25058baa.js +1 -0
  169. package/dist/ketchup/{p-dcf7e9b6.entry.js → p-2932e7e8.entry.js} +1 -1
  170. package/dist/ketchup/{p-b238cde7.entry.js → p-2b84db7b.entry.js} +1 -1
  171. package/dist/ketchup/{p-f998ff28.entry.js → p-2ef90f60.entry.js} +1 -1
  172. package/dist/ketchup/{p-8fcdf454.js → p-339bbeae.js} +1 -1
  173. package/dist/ketchup/{p-cd7fec02.entry.js → p-48e45ac0.entry.js} +1 -1
  174. package/dist/ketchup/p-53af4c87.js +1 -0
  175. package/dist/ketchup/{p-6972fa0c.entry.js → p-556f7ddc.entry.js} +1 -1
  176. package/dist/ketchup/{p-e7507dd6.entry.js → p-5f7d8c21.entry.js} +1 -1
  177. package/dist/ketchup/{p-e0e47ca9.entry.js → p-6362738c.entry.js} +1 -1
  178. package/dist/ketchup/{p-a2e14d8b.entry.js → p-65e363c6.entry.js} +1 -1
  179. package/dist/ketchup/p-6921bc81.entry.js +16 -0
  180. package/dist/ketchup/p-6961e0ce.entry.js +1 -0
  181. package/dist/ketchup/p-7123d2a4.entry.js +1 -0
  182. package/dist/ketchup/{p-6c888179.js → p-801776bc.js} +1 -1
  183. package/dist/ketchup/{p-4f69f6f9.entry.js → p-81645576.entry.js} +1 -1
  184. package/dist/ketchup/p-838dea62.js +1 -0
  185. package/dist/ketchup/{p-924b841b.js → p-84b511e1.js} +1 -1
  186. package/dist/ketchup/{p-8229b97a.js → p-8d4050ec.js} +4 -4
  187. package/dist/ketchup/{p-79f4dc5b.entry.js → p-9e2533e1.entry.js} +1 -1
  188. package/dist/ketchup/{p-158076de.entry.js → p-a06974a3.entry.js} +1 -1
  189. package/dist/ketchup/p-a6beb822.js +1 -0
  190. package/dist/ketchup/p-abe181d0.entry.js +1 -0
  191. package/dist/ketchup/{p-61e8d573.js → p-b3540f83.js} +1 -1
  192. package/dist/ketchup/{p-19a13672.entry.js → p-c702eb45.entry.js} +1 -1
  193. package/dist/ketchup/{p-2e04042b.entry.js → p-ccb6dbb0.entry.js} +1 -1
  194. package/dist/ketchup/{p-a2e691b8.entry.js → p-cf44485a.entry.js} +2 -2
  195. package/dist/ketchup/{p-8f3d400a.entry.js → p-d2001dec.entry.js} +1 -1
  196. package/dist/ketchup/{p-34d70475.entry.js → p-dbb6cd8d.entry.js} +1 -1
  197. package/dist/ketchup/{p-2d4a9235.js → p-f6c8f006.js} +1 -1
  198. package/dist/ketchup/{p-43ce397b.entry.js → p-f79ffe77.entry.js} +1 -1
  199. package/dist/ketchup/{p-489af77f.entry.js → p-fdcfaedd.entry.js} +1 -1
  200. package/dist/ketchup/p-fe75ede2.entry.js +1 -0
  201. package/dist/types/components/kup-image-list/kup-image-list.d.ts +1 -1
  202. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +9 -7
  203. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +4 -4
  204. package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +29 -2
  205. package/dist/types/components/kup-planner/kup-planner-helper.d.ts +2 -1
  206. package/dist/types/components/kup-planner/kup-planner.d.ts +38 -0
  207. package/dist/types/components/kup-planner/utils/custom-task-list-table.d.ts +7 -0
  208. package/dist/types/components/kup-planner/utils/helpers/bar.helpers.d.ts +1 -1
  209. package/dist/types/components/kup-planner/utils/helpers/other.helpers.d.ts +1 -0
  210. package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +6 -0
  211. package/dist/types/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.d.ts +1 -0
  212. package/dist/types/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.d.ts +13 -1
  213. package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +7 -0
  214. package/dist/types/components/kup-planner/utils/kup-planner-renderer-helper.d.ts +6 -2
  215. package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +1 -0
  216. package/dist/types/components/kup-planner/utils/kup-switcher/kup-switcher.d.ts +3 -1
  217. package/dist/types/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.d.ts +1 -0
  218. package/dist/types/components/kup-planner/utils/kup-task-list/kup-task-list.d.ts +4 -0
  219. package/dist/types/components.d.ts +122 -16
  220. package/package.json +1 -1
  221. package/dist/components/kup-planner-renderer-helper.js +0 -379
  222. package/dist/ketchup/p-14943de9.entry.js +0 -1
  223. package/dist/ketchup/p-180cd7ab.entry.js +0 -1
  224. package/dist/ketchup/p-636be6f1.entry.js +0 -16
  225. package/dist/ketchup/p-63c141d9.entry.js +0 -1
  226. package/dist/ketchup/p-818e61d5.entry.js +0 -1
  227. package/dist/ketchup/p-8e3b6de8.js +0 -1
  228. package/dist/ketchup/p-a46f99d4.js +0 -1
  229. package/dist/ketchup/p-c0f660d6.js +0 -1
  230. package/dist/ketchup/p-e4c63684.js +0 -1
  231. package/dist/ketchup/p-e841c2ae.js +0 -1
  232. package/dist/ketchup/p-f9a7c21c.entry.js +0 -1
@@ -17,7 +17,12 @@ let data = {
17
17
  },
18
18
  {
19
19
  name: 'CIT',
20
- title: 'City',
20
+ title: 'Tree Options',
21
+ visible: true,
22
+ },
23
+ {
24
+ name: 'LIS',
25
+ title: 'Table Options',
21
26
  visible: true,
22
27
  },
23
28
  {
@@ -102,80 +107,221 @@ let data = {
102
107
  },
103
108
  editable: true,
104
109
  mandatory: true,
105
- options: [
106
- {
107
- id: 'ROM',
108
- label: 'Rome',
109
- },
110
- {
111
- id: 'FLO',
112
- label: 'Florence',
113
- },
114
- {
115
- id: 'VEN',
116
- label: 'Venice',
117
- },
118
- {
119
- id: 'MAD',
120
- label: 'Madrid',
121
- },
122
- {
123
- id: 'BAR',
124
- label: 'Barcelona',
125
- },
126
- {
127
- id: 'SEV',
128
- label: 'Seville',
129
- },
130
- {
131
- id: 'BER',
132
- label: 'Berlin',
133
- },
134
- {
135
- id: 'MUN',
136
- label: 'Munich',
137
- },
138
- {
139
- id: 'HAM',
140
- label: 'Hamburg',
141
- },
142
- {
143
- id: 'PAR',
144
- label: 'Paris',
145
- },
146
- {
147
- id: 'MAR',
148
- label: 'Marseille',
149
- },
150
- {
151
- id: 'LYO',
152
- label: 'Lyon',
153
- },
154
- {
155
- id: 'LIS',
156
- label: 'Lisbon',
157
- },
158
- {
159
- id: 'POR',
160
- label: 'Porto',
161
- },
162
- {
163
- id: 'FAR',
164
- label: 'Faro',
165
- },
166
- {
167
- id: 'LON',
168
- label: 'London',
169
- },
170
- {
171
- id: 'MAN',
172
- label: 'Manchester',
173
- },
174
- {
175
- id: 'LIV',
176
- label: 'Liverpool',
177
- },
178
- ],
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
+ },
179
325
  shape: 'ACP',
180
326
  },
181
327
  CHK: {
@@ -209,7 +355,67 @@ let data = {
209
355
  shape: 'RAD',
210
356
  },
211
357
  },
212
- layout: {},
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
+ },
213
419
  },
214
420
  ],
215
421
  };
@@ -246,4 +452,29 @@ const inputPanelCallback = [
246
452
  },
247
453
  ];
248
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
+
249
478
  inputPanel.valueChangeCb = inputPanelCallback;
479
+ inputPanel.optionsHandler = optionsHandlerCallback;
480
+ inputPanel.submitCb = (e) => console.log(e);
@@ -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) {
@@ -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) {
@@ -147,7 +147,7 @@
147
147
  transparent
148
148
  );
149
149
  --kup_imagelist_columns: var(--kup-imagelist-columns, 4);
150
- --kup_imagelist_grid_gap: var(--kup-imagelist-grid-gap, 0.5em);
150
+ --kup_imagelist_grid_gap: var(--kup-imagelist-grid-gap, var(--kup-space-03));
151
151
  --kup_imagelist_image_min_height: var(
152
152
  --kup-imagelist-image-min-height,
153
153
  var(--kup-space-09)
@@ -246,8 +246,25 @@
246
246
  height: 100%;
247
247
  width: 100%;
248
248
  }
249
+ .image-list .f-cell .f-cell__content {
250
+ height: 100%;
251
+ }
249
252
  .image-list .f-cell .f-cell__content .image-list__wrapper {
250
- padding: var(--kup-space-03) var(--kup-space-02);
253
+ display: flex;
254
+ flex-direction: column;
255
+ justify-content: space-between;
256
+ box-sizing: border-box;
257
+ position: relative;
258
+ }
259
+ .image-list .f-cell .f-cell__content .image-list__wrapper.images {
260
+ height: 100%;
261
+ justify-content: flex-end;
262
+ }
263
+ .image-list .f-cell .f-cell__content .image-list__wrapper.images .f-image {
264
+ position: unset;
265
+ overflow: auto;
266
+ height: 100%;
267
+ display: flex;
251
268
  }
252
269
  .image-list__item {
253
270
  background-color: var(--kup_imagelist_item_background_color);
@@ -261,16 +278,23 @@
261
278
  background-color: var(--kup-gray-color-20);
262
279
  }
263
280
  .image-list__image.f-image {
264
- margin-bottom: var(--kup-space-03);
281
+ position: absolute;
282
+ padding: var(--kup-space-03);
283
+ padding-bottom: 0px;
284
+ box-sizing: border-box;
285
+ width: 100%;
286
+ height: calc(100% - 16px - var(--kup-space-03) * 2);
287
+ overflow: hidden;
265
288
  }
266
289
  .image-list__image.f-image .f-image__icon {
267
- min-height: var(--kup_imagelist_image_min_height);
290
+ mask-size: 100% !important;
268
291
  }
269
292
  .image-list__label {
270
293
  overflow: hidden;
271
294
  text-align: center;
272
295
  text-overflow: ellipsis;
273
296
  white-space: nowrap;
297
+ padding: var(--kup-space-03);
274
298
  font-family: var(--kup-font-family);
275
299
  font-size: 12px;
276
300
  line-height: 16px;
@@ -278,6 +302,15 @@
278
302
  letter-spacing: 0.32px;
279
303
  }
280
304
 
305
+ @media screen and (min-width: 678px) {
306
+ :host {
307
+ --kup_imagelist_columns: var(--kup-imagelist-columns, 8);
308
+ }
309
+ .image-list {
310
+ grid-template-columns: repeat(var(--kup_imagelist_columns, 8), minmax(0px, 1fr));
311
+ grid-gap: var(--kup-space-05);
312
+ }
313
+ }
281
314
  /*-------------------------------------------------*/
282
315
  /* C o m p o n e n t C l a s s e s */
283
316
  /*-------------------------------------------------*/