@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
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { KupPlannerGanttContentMoveAction, KupPlannerGanttEvent, KupPlannerBarDateHandleProps, KupPlannerBarDisplayProps, KupPlannerBarTask, KupPlannerEventOption, KupPlannerTaskGanttContentProps, KupPlannerTaskGanttProps, KupPlannerTaskItemProps, KupPlannerTaskIconProps } from '../../kup-planner-declarations';
2
3
  export declare class KupGridRenderer {
3
4
  tasks: KupPlannerTaskGanttContentProps['tasks'];
@@ -30,22 +31,33 @@ export declare class KupGridRenderer {
30
31
  setSelectedTask: KupPlannerTaskGanttContentProps['setSelectedTask'];
31
32
  eventStart: KupPlannerTaskItemProps['onEventStart'];
32
33
  eMouseDown: KupPlannerBarDisplayProps['onMouseDown'];
34
+ phaseDrop: KupPlannerEventOption['phaseDrop'];
33
35
  setGanttEvent: (gantt: KupPlannerGanttEvent) => void;
36
+ phaseDragScroll: (scrollY: number) => void;
34
37
  xStep: number;
35
38
  initEventX1Delta: number;
36
39
  initEventXClick: number;
37
40
  isMoving: boolean;
38
41
  point: SVGPoint;
39
42
  svg: SVGSVGElement;
43
+ currentTarget: HTMLElement | null;
44
+ dragScrollInterval: NodeJS.Timeout;
45
+ dropZoneTask: KupPlannerBarTask | null;
40
46
  componentDidLoad(): void;
41
47
  createSVGPoint(): SVGPoint | undefined;
42
48
  updateXStep(): void;
43
49
  updateSvgMove(): void;
44
50
  hasMovedHorizontally(event: MouseEvent): boolean;
51
+ addGhostPreview(event: MouseEvent): void;
52
+ handleAutoScrollForPhaseDrag(event: MouseEvent): void;
53
+ isPhaseWithinTaskArea(phase: KupPlannerBarTask, task: KupPlannerBarTask): boolean;
54
+ addDropzoneVisualization(): void;
55
+ resetDropzoneVisualization(): void;
56
+ getBarRectsForDropzoneVisualization(): Element[] | NodeListOf<Element>;
45
57
  handleBarEventStart(action: KupPlannerGanttContentMoveAction, task: KupPlannerBarTask, event?: MouseEvent | KeyboardEvent): void;
46
58
  getTaskIcon(bar: KupPlannerTaskIconProps): any;
47
59
  renderKupBar(task: KupPlannerBarTask, isSelected: boolean, isDateResizable: boolean, isProgressChangeable: boolean): any;
48
- renderKupBarDisplay(x: KupPlannerBarDisplayProps['x'], y: KupPlannerBarDisplayProps['y'], width: KupPlannerBarDisplayProps['width'], height: KupPlannerBarDisplayProps['height'], progressX: KupPlannerBarDisplayProps['progressX'], progressWidth: KupPlannerBarDisplayProps['progressWidth'], barCornerRadius: KupPlannerBarDisplayProps['barCornerRadius'], styles: KupPlannerBarDisplayProps['styles'], isSelected: KupPlannerBarDisplayProps['isSelected'], isDateMovable: KupPlannerTaskItemProps['isDateMovable'], task: KupPlannerBarTask, xSecondary?: KupPlannerBarDisplayProps['xSecondary'], widthSecondary?: KupPlannerBarDisplayProps['widthSecondary']): any;
60
+ renderKupBarDisplay(x: KupPlannerBarDisplayProps['x'], y: KupPlannerBarDisplayProps['y'], width: KupPlannerBarDisplayProps['width'], height: KupPlannerBarDisplayProps['height'], progressX: KupPlannerBarDisplayProps['progressX'], progressWidth: KupPlannerBarDisplayProps['progressWidth'], barCornerRadius: KupPlannerBarDisplayProps['barCornerRadius'], styles: KupPlannerBarDisplayProps['styles'], isSelected: KupPlannerBarDisplayProps['isSelected'], isDateMovable: KupPlannerTaskItemProps['isDateMovable'], task: KupPlannerBarTask, xSecondary?: KupPlannerBarDisplayProps['xSecondary'], widthSecondary?: KupPlannerBarDisplayProps['widthSecondary'], ySecondary?: KupPlannerBarDisplayProps['ySecondary']): any;
49
61
  renderKupBarDateHandle(x: KupPlannerBarDateHandleProps['x'], y: KupPlannerBarDateHandleProps['y'], width: KupPlannerBarDateHandleProps['width'], height: KupPlannerBarDateHandleProps['height'], barCornerRadius: KupPlannerBarDateHandleProps['barCornerRadius'], task: KupPlannerBarTask, eventType: KupPlannerGanttContentMoveAction): any;
50
62
  renderKupBarSmall(task: KupPlannerBarTask, isSelected: boolean, isDateMovable: boolean, isProgressChangeable: boolean): any;
51
63
  renderKupBarTimeLine(task: KupPlannerBarTask, col: string): any;
@@ -4,7 +4,12 @@ export declare class HorizontalScroll {
4
4
  taskListTrueRef: HTMLKupTaskListElement;
5
5
  rtl: boolean;
6
6
  taskListWidth: number;
7
+ scrollableTaskList: boolean;
8
+ listCellWidth: string;
9
+ taskListScrollWidth: number;
10
+ taskListScrollNumber: number;
7
11
  horizontalScroll: (event: UIEvent) => void;
12
+ horizontalTaskListScroll: (event: UIEvent) => void;
8
13
  /**
9
14
  * References the root HTML element of the component (<kup-horizontal>).
10
15
  */
@@ -12,6 +17,8 @@ export declare class HorizontalScroll {
12
17
  timeoutId: any;
13
18
  componentDidLoad(): void;
14
19
  scrollLeft(): void;
20
+ listScrollLeft(): void;
15
21
  private setScrollLeft;
22
+ private setTaskListScrollLeft;
16
23
  render(): any;
17
24
  }
@@ -4,8 +4,8 @@ export declare const columnWidthForTimeUnit: (timeUnit: KupPlannerViewMode) => n
4
4
  export declare const getProjectById: (id: string, items: KupPlannerGanttTaskN[] | KupPlannerItemDetail[]) => KupPlannerGanttTaskN | KupPlannerItemDetail | undefined;
5
5
  export declare const getPhaseById: (id: string, items: KupPlannerGanttTaskN[] | KupPlannerItemDetail[]) => KupPlannerGanttTaskN | undefined;
6
6
  export declare const isDetail: (row: KupPlannerGanttTaskN | KupPlannerItemDetail) => row is KupPlannerItemDetail;
7
- export declare const mergeTaskIntoProjects: (projects: KupPlannerGanttTask[], { id, start, end }: KupPlannerTask) => KupPlannerGanttTask[];
8
- export declare const mergeTaskIntoPhases: (phases: KupPlannerPhaseGantt[] | undefined, { id, start, end }: KupPlannerTask) => KupPlannerPhaseGantt[] | undefined;
7
+ export declare const mergeTaskIntoProjects: (projects: KupPlannerGanttTask[], { id, start, end, startHour, endHour }: KupPlannerTask) => KupPlannerGanttTask[];
8
+ export declare const mergeTaskIntoPhases: (phases: KupPlannerPhaseGantt[] | undefined, { id, start, end, startHour, endHour }: KupPlannerTask) => KupPlannerPhaseGantt[] | undefined;
9
9
  export declare const convertProjectToTasks: (item: KupPlannerGanttTaskN | KupPlannerItemDetail, mainGanttStartDate?: string, mainGanttEndDate?: string) => KupPlannerTask[];
10
10
  export declare const convertPhaseToTask: (item: KupPlannerPhase) => KupPlannerTask;
11
11
  /**
@@ -27,6 +27,10 @@ export declare const ganttDateRangeGeneric: (dates: {
27
27
  end: Date;
28
28
  secondaryStart?: Date;
29
29
  secondaryEnd?: Date;
30
+ startHour?: string;
31
+ endHour?: string;
32
+ secondaryStartHour?: string;
33
+ secondaryEndHour?: string;
30
34
  }[], viewMode: KupPlannerViewMode, preStepsCount: number, showSecondaryDates: boolean, realDates?: boolean) => Date[];
31
35
  export declare const ganttDateRangeFromDetail: (details: KupPlannerItemDetail[], viewMode: KupPlannerViewMode, preStepsCount: number, showSecondaryDates: boolean) => Date[];
32
36
  export declare const addToDate: (date: Date, quantity: number, scale: DateHelperScales) => Date;
@@ -34,6 +34,7 @@ export declare class KupPlannerRenderer {
34
34
  handleContextMenu(event: UIEvent, row: KupPlannerGanttRow, onContextMenu: any): void;
35
35
  handleSetDoubleView(checked: boolean): void;
36
36
  handleDateChange(task: KupPlannerTask, currentProjects: KupPlannerGanttTask[] | KupPlannerItemDetail[], onDateChange: any): void;
37
+ handlePhaseDrop(originalPhaseData: KupPlannerGanttTaskN, finalPhaseData: KupPlannerTask, destinationData: KupPlannerGanttTaskN | KupPlannerItemDetail, onPhaseDrop: any): void;
37
38
  getScrollX(): void;
38
39
  render(): any;
39
40
  }
@@ -1,5 +1,7 @@
1
- import { KupPlannerSwitcherProps } from '../../kup-planner-declarations';
1
+ import { KupPlannerSwitcherProps, KupPlannerViewMode } from '../../kup-planner-declarations';
2
2
  export declare class KupSwitcher {
3
3
  timeUnitChange: KupPlannerSwitcherProps['onTimeUnitChange'];
4
+ activeButton: KupPlannerViewMode;
5
+ private buttonLabels;
4
6
  render(): any;
5
7
  }
@@ -7,6 +7,7 @@ export declare class TaskGantt {
7
7
  ganttHeight: KupPlannerTaskGanttProps['ganttHeight'];
8
8
  scrollY: KupPlannerTaskGanttProps['scrollY'];
9
9
  scrollX: KupPlannerTaskGanttProps['scrollX'];
10
+ phaseDragScroll: (scrollY: number) => void;
10
11
  /**
11
12
  * References the root HTML element of the component (<kup-task-gantt>).
12
13
  */
@@ -17,6 +17,9 @@ export declare class TaskList {
17
17
  currentTasks: KupPlannerGanttTaskN[] | KupPlannerItemDetail[];
18
18
  label: string;
19
19
  doubleView?: boolean;
20
+ scrollableTaskList?: boolean;
21
+ updateTaskListScrollX: boolean;
22
+ taskListScrollX: number;
20
23
  setDoubleView?: (checked: boolean) => void;
21
24
  handleClick: (row: KupPlannerGanttRow, onClick: any) => void;
22
25
  handleDblClick: (row: KupPlannerGanttRow, onDblClick: any) => void;
@@ -26,6 +29,7 @@ export declare class TaskList {
26
29
  ganttonOnContextMenu: KupGanttPlannerProps['onContextMenu'];
27
30
  setSelectedTask: KupPlannerTaskListProps['setSelectedTask'];
28
31
  expanderClick: KupPlannerTaskListProps['expanderClick'];
32
+ ontaskListScrollWidth: (width: number) => void;
29
33
  /**
30
34
  * References the root HTML element of the component (<kup-task-list>).
31
35
  */
@@ -43,7 +43,7 @@ import { FImageData } from "./f-components/f-image/f-image-declarations";
43
43
  import { KupImageClickEventPayload } from "./components/kup-image/kup-image-declarations";
44
44
  import { KupImageListDataNode, KupImageListEventPayload } from "./components/kup-image-list/kup-image-list-declarations";
45
45
  import { KupTreeColumnMenuEventPayload, KupTreeColumnRemoveEventPayload, KupTreeContextMenuEventPayload, KupTreeDynamicMassExpansionEventPayload, KupTreeExpansionMode, KupTreeNode, KupTreeNodeButtonClickEventPayload, KupTreeNodeCollapseEventPayload, KupTreeNodeExpandEventPayload, KupTreeNodeSelectedEventPayload, TreeNodePath } from "./components/kup-tree/kup-tree-declarations";
46
- import { InputPanelEventsCallback, KupInputPanelData } from "./components/kup-input-panel/kup-input-panel-declarations";
46
+ import { InputPanelOptionsHandler, KupInputPanelData, KupInputPanelSubmit } from "./components/kup-input-panel/kup-input-panel-declarations";
47
47
  import { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
48
48
  import { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
49
49
  import { KupNumericPickerEventPayload } from "./components/kup-numeric-picker/kup-numeric-picker-declarations";
@@ -93,7 +93,7 @@ export { FImageData } from "./f-components/f-image/f-image-declarations";
93
93
  export { KupImageClickEventPayload } from "./components/kup-image/kup-image-declarations";
94
94
  export { KupImageListDataNode, KupImageListEventPayload } from "./components/kup-image-list/kup-image-list-declarations";
95
95
  export { KupTreeColumnMenuEventPayload, KupTreeColumnRemoveEventPayload, KupTreeContextMenuEventPayload, KupTreeDynamicMassExpansionEventPayload, KupTreeExpansionMode, KupTreeNode, KupTreeNodeButtonClickEventPayload, KupTreeNodeCollapseEventPayload, KupTreeNodeExpandEventPayload, KupTreeNodeSelectedEventPayload, TreeNodePath } from "./components/kup-tree/kup-tree-declarations";
96
- export { InputPanelEventsCallback, KupInputPanelData } from "./components/kup-input-panel/kup-input-panel-declarations";
96
+ export { InputPanelOptionsHandler, KupInputPanelData, KupInputPanelSubmit } from "./components/kup-input-panel/kup-input-panel-declarations";
97
97
  export { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
98
98
  export { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
99
99
  export { KupNumericPickerEventPayload } from "./components/kup-numeric-picker/kup-numeric-picker-declarations";
@@ -1167,9 +1167,12 @@ export namespace Components {
1167
1167
  "onclickTaskList": (id: string) => void;
1168
1168
  "oncontextmenuTaskList": (event: MouseEvent, id: string) => void;
1169
1169
  "ondblclickTaskList": (id: string) => void;
1170
+ "ontaskListScrollWidth": (width: number) => void;
1170
1171
  "rowHeight": number;
1171
1172
  "rowWidth": string;
1173
+ "scrollableTaskList": boolean;
1172
1174
  "setSelectedTask": (taskId: string) => void;
1175
+ "taskListScrollX": number;
1173
1176
  "tasks": KupPlannerTask[];
1174
1177
  }
1175
1178
  interface KupDashboard {
@@ -2098,6 +2101,7 @@ export namespace Components {
2098
2101
  "label": string;
2099
2102
  "listCellWidth": KupPlannerGanttProps['listCellWidth'];
2100
2103
  "locale": KupPlannerGanttProps['locale'];
2104
+ "phaseDrop": KupPlannerGanttProps['phaseDrop'];
2101
2105
  "preStepsCount": KupPlannerGanttProps['preStepsCount'];
2102
2106
  "progressChange": KupPlannerGanttProps['progressChange'];
2103
2107
  "projectBackgroundColor": KupPlannerGanttProps['projectBackgroundColor'];
@@ -2115,6 +2119,7 @@ export namespace Components {
2115
2119
  "rtl": KupPlannerGanttProps['rtl'];
2116
2120
  "scrollXChange": KupPlannerGanttProps['scrollXChange'];
2117
2121
  "scrollYChange": KupPlannerGanttProps['scrollYChange'];
2122
+ "scrollableTaskList"?: boolean;
2118
2123
  "select": KupPlannerGanttProps['select'];
2119
2124
  "setDoubleView"?: (checked: boolean) => void;
2120
2125
  "showSecondaryDates": KupPlannerGanttProps['showSecondaryDates'];
@@ -2290,6 +2295,8 @@ export namespace Components {
2290
2295
  "ganttEvent": KupPlannerTaskGanttContentProps['ganttEvent'];
2291
2296
  "gridProps": KupPlannerTaskGanttProps['gridProps'];
2292
2297
  "hideLabel"?: KupPlannerTaskGanttContentProps['hideLabel'];
2298
+ "phaseDragScroll": (scrollY: number) => void;
2299
+ "phaseDrop": KupPlannerEventOption['phaseDrop'];
2293
2300
  "progressChange": KupPlannerEventOption['progressChange'];
2294
2301
  "projection"?: KupPlannerTaskGanttContentProps['projection'];
2295
2302
  "readOnly": KupPlannerTaskGanttContentProps['readOnly'];
@@ -2306,9 +2313,14 @@ export namespace Components {
2306
2313
  }
2307
2314
  interface KupHorizontalScroll {
2308
2315
  "horizontalScroll": (event: UIEvent) => void;
2316
+ "horizontalTaskListScroll": (event: UIEvent) => void;
2317
+ "listCellWidth": string;
2309
2318
  "rtl": boolean;
2310
2319
  "scrollNumber": number;
2320
+ "scrollableTaskList": boolean;
2311
2321
  "svgWidth": number;
2322
+ "taskListScrollNumber": number;
2323
+ "taskListScrollWidth": number;
2312
2324
  "taskListTrueRef": HTMLKupTaskListElement;
2313
2325
  "taskListWidth": number;
2314
2326
  }
@@ -2407,7 +2419,7 @@ export namespace Components {
2407
2419
  interface KupImageList {
2408
2420
  /**
2409
2421
  * Number of columns to display in the grid layout.
2410
- * @default 4
2422
+ * @default null
2411
2423
  */
2412
2424
  "columns": number;
2413
2425
  /**
@@ -2471,16 +2483,16 @@ export namespace Components {
2471
2483
  * @returns List of props as object, each key will be a prop.
2472
2484
  */
2473
2485
  "getProps": (descriptions?: boolean) => Promise<GenericObject>;
2474
- /**
2475
- * Sets the callbacks functions on ketchup events
2476
- * @default []
2477
- */
2478
- "handleEventsCallbacks": InputPanelEventsCallback[];
2479
2486
  /**
2480
2487
  * Creates a hidden submit button in order to submit the form with enter.
2481
2488
  * @default false
2482
2489
  */
2483
2490
  "hiddenSubmitButton": boolean;
2491
+ /**
2492
+ * Sets the callback function on loading options via FUN
2493
+ * @default []
2494
+ */
2495
+ "optionsHandler": InputPanelOptionsHandler;
2484
2496
  /**
2485
2497
  * This method is used to trigger a new render of the component.
2486
2498
  */
@@ -2494,7 +2506,7 @@ export namespace Components {
2494
2506
  * Sets the callback function on submit form
2495
2507
  * @default null
2496
2508
  */
2497
- "submitCb": (e: SubmitEvent) => unknown;
2509
+ "submitCb": (e: KupInputPanelSubmit) => unknown;
2498
2510
  }
2499
2511
  interface KupLazy {
2500
2512
  /**
@@ -2880,6 +2892,11 @@ export namespace Components {
2880
2892
  * @default null
2881
2893
  */
2882
2894
  "detailHeight": number;
2895
+ /**
2896
+ * Columns containing detail hour duration, from (firstDate) to (secondDate)
2897
+ * @default null
2898
+ */
2899
+ "detailHours": string[];
2883
2900
  /**
2884
2901
  * Column containing icon name to show, for detail
2885
2902
  * @default null
@@ -2910,6 +2927,11 @@ export namespace Components {
2910
2927
  * @default null
2911
2928
  */
2912
2929
  "detailPrevDates": string[];
2930
+ /**
2931
+ * Columns containing forecast detail duration, from (firstHour) to (secondHour)
2932
+ * @default null
2933
+ */
2934
+ "detailPrevHours": string[];
2913
2935
  /**
2914
2936
  * Used to retrieve component's props values.
2915
2937
  * @param descriptions - When provided and true, the result will be the list of props with their description.
@@ -2951,6 +2973,11 @@ export namespace Components {
2951
2973
  * @default null
2952
2974
  */
2953
2975
  "phaseDates": string[];
2976
+ /**
2977
+ * Columns containing phase hour duration, from (firstDate) to (secondDate)
2978
+ * @default null
2979
+ */
2980
+ "phaseHours": string[];
2954
2981
  /**
2955
2982
  * Column containing icon name to show, for phase
2956
2983
  * @default null
@@ -2971,6 +2998,11 @@ export namespace Components {
2971
2998
  * @default null
2972
2999
  */
2973
3000
  "phasePrevDates": string[];
3001
+ /**
3002
+ * Columns containing forecast phase duration, from (firstHour) to (secondHour)
3003
+ * @default null
3004
+ */
3005
+ "phasePrevHours": string[];
2974
3006
  /**
2975
3007
  * When true, the two gantts are not interactable.
2976
3008
  * @default false
@@ -2980,6 +3012,11 @@ export namespace Components {
2980
3012
  * This method is used to trigger a new render of the component.
2981
3013
  */
2982
3014
  "refresh": () => Promise<void>;
3015
+ /**
3016
+ * Sets the scroll bar for task list.
3017
+ * @default false
3018
+ */
3019
+ "scrollableTaskList": boolean;
2983
3020
  /**
2984
3021
  * Sets the filter for secondary gantt.
2985
3022
  * @default undefined
@@ -3017,6 +3054,11 @@ export namespace Components {
3017
3054
  * @default null
3018
3055
  */
3019
3056
  "taskHeight": number;
3057
+ /**
3058
+ * Columns containing task hours duration, from (firstDate) to (secondDate)
3059
+ * @default null
3060
+ */
3061
+ "taskHours": string[];
3020
3062
  /**
3021
3063
  * Column containing icon name to show, for task
3022
3064
  * @default null
@@ -3047,6 +3089,11 @@ export namespace Components {
3047
3089
  * @default null
3048
3090
  */
3049
3091
  "taskPrevDates": string[];
3092
+ /**
3093
+ * Columns containing forecast task duration, from (firstHour) to (secondHour)
3094
+ * @default null
3095
+ */
3096
+ "taskPrevHours": string[];
3050
3097
  /**
3051
3098
  * Message displayed on top
3052
3099
  * @default null
@@ -3470,6 +3517,7 @@ export namespace Components {
3470
3517
  "calendarProps": KupPlannerTaskGanttProps['calendarProps'];
3471
3518
  "ganttHeight": KupPlannerTaskGanttProps['ganttHeight'];
3472
3519
  "gridProps": KupPlannerTaskGanttProps['gridProps'];
3520
+ "phaseDragScroll": (scrollY: number) => void;
3473
3521
  "scrollX": KupPlannerTaskGanttProps['scrollX'];
3474
3522
  "scrollY": KupPlannerTaskGanttProps['scrollY'];
3475
3523
  "taskGanttRef": KupPlannerTaskGanttProps['taskGanttRef'];
@@ -3498,13 +3546,17 @@ export namespace Components {
3498
3546
  "horizontalContainerClass"?: string;
3499
3547
  "label": string;
3500
3548
  "locale": string;
3549
+ "ontaskListScrollWidth": (width: number) => void;
3501
3550
  "rowHeight": number;
3502
3551
  "rowWidth": string;
3503
3552
  "scrollY": number;
3553
+ "scrollableTaskList"?: boolean;
3504
3554
  "selectedTask": KupPlannerBarTask | undefined;
3505
3555
  "setDoubleView"?: (checked: boolean) => void;
3506
3556
  "setSelectedTask": KupPlannerTaskListProps['setSelectedTask'];
3557
+ "taskListScrollX": number;
3507
3558
  "tasks": KupPlannerTask[];
3559
+ "updateTaskListScrollX": boolean;
3508
3560
  }
3509
3561
  interface KupTaskListHeader {
3510
3562
  "fontFamily": string;
@@ -4868,6 +4920,7 @@ declare global {
4868
4920
  "kup-planner-click": KupPlannerEventPayload;
4869
4921
  "kup-planner-dblclick": KupPlannerEventPayload;
4870
4922
  "kup-planner-datechange": KupPlannerEventPayload;
4923
+ "kup-planner-phasedrop": KupPlannerEventPayload;
4871
4924
  "kup-planner-ready": KupPlannerEventPayload;
4872
4925
  "kup-planner-contextmenu": KupPlannerClickEventPayload;
4873
4926
  "kup-planner-didunload": KupPlannerUnloadEventPayload;
@@ -6103,9 +6156,12 @@ declare namespace LocalJSX {
6103
6156
  "onclickTaskList"?: (id: string) => void;
6104
6157
  "oncontextmenuTaskList"?: (event: MouseEvent, id: string) => void;
6105
6158
  "ondblclickTaskList"?: (id: string) => void;
6159
+ "ontaskListScrollWidth"?: (width: number) => void;
6106
6160
  "rowHeight"?: number;
6107
6161
  "rowWidth"?: string;
6162
+ "scrollableTaskList"?: boolean;
6108
6163
  "setSelectedTask"?: (taskId: string) => void;
6164
+ "taskListScrollX"?: number;
6109
6165
  "tasks"?: KupPlannerTask[];
6110
6166
  }
6111
6167
  interface KupDashboard {
@@ -6856,6 +6912,7 @@ declare namespace LocalJSX {
6856
6912
  "label"?: string;
6857
6913
  "listCellWidth"?: KupPlannerGanttProps['listCellWidth'];
6858
6914
  "locale"?: KupPlannerGanttProps['locale'];
6915
+ "phaseDrop"?: KupPlannerGanttProps['phaseDrop'];
6859
6916
  "preStepsCount"?: KupPlannerGanttProps['preStepsCount'];
6860
6917
  "progressChange"?: KupPlannerGanttProps['progressChange'];
6861
6918
  "projectBackgroundColor"?: KupPlannerGanttProps['projectBackgroundColor'];
@@ -6869,6 +6926,7 @@ declare namespace LocalJSX {
6869
6926
  "rtl"?: KupPlannerGanttProps['rtl'];
6870
6927
  "scrollXChange"?: KupPlannerGanttProps['scrollXChange'];
6871
6928
  "scrollYChange"?: KupPlannerGanttProps['scrollYChange'];
6929
+ "scrollableTaskList"?: boolean;
6872
6930
  "select"?: KupPlannerGanttProps['select'];
6873
6931
  "setDoubleView"?: (checked: boolean) => void;
6874
6932
  "showSecondaryDates"?: KupPlannerGanttProps['showSecondaryDates'];
@@ -7014,6 +7072,8 @@ declare namespace LocalJSX {
7014
7072
  "ganttEvent"?: KupPlannerTaskGanttContentProps['ganttEvent'];
7015
7073
  "gridProps"?: KupPlannerTaskGanttProps['gridProps'];
7016
7074
  "hideLabel"?: KupPlannerTaskGanttContentProps['hideLabel'];
7075
+ "phaseDragScroll"?: (scrollY: number) => void;
7076
+ "phaseDrop"?: KupPlannerEventOption['phaseDrop'];
7017
7077
  "progressChange"?: KupPlannerEventOption['progressChange'];
7018
7078
  "projection"?: KupPlannerTaskGanttContentProps['projection'];
7019
7079
  "readOnly"?: KupPlannerTaskGanttContentProps['readOnly'];
@@ -7030,9 +7090,14 @@ declare namespace LocalJSX {
7030
7090
  }
7031
7091
  interface KupHorizontalScroll {
7032
7092
  "horizontalScroll"?: (event: UIEvent) => void;
7093
+ "horizontalTaskListScroll"?: (event: UIEvent) => void;
7094
+ "listCellWidth"?: string;
7033
7095
  "rtl"?: boolean;
7034
7096
  "scrollNumber"?: number;
7097
+ "scrollableTaskList"?: boolean;
7035
7098
  "svgWidth"?: number;
7099
+ "taskListScrollNumber"?: number;
7100
+ "taskListScrollWidth"?: number;
7036
7101
  "taskListTrueRef"?: HTMLKupTaskListElement;
7037
7102
  "taskListWidth"?: number;
7038
7103
  }
@@ -7105,7 +7170,7 @@ declare namespace LocalJSX {
7105
7170
  interface KupImageList {
7106
7171
  /**
7107
7172
  * Number of columns to display in the grid layout.
7108
- * @default 4
7173
+ * @default null
7109
7174
  */
7110
7175
  "columns"?: number;
7111
7176
  /**
@@ -7151,11 +7216,6 @@ declare namespace LocalJSX {
7151
7216
  * @default null
7152
7217
  */
7153
7218
  "data"?: KupInputPanelData;
7154
- /**
7155
- * Sets the callbacks functions on ketchup events
7156
- * @default []
7157
- */
7158
- "handleEventsCallbacks"?: InputPanelEventsCallback[];
7159
7219
  /**
7160
7220
  * Creates a hidden submit button in order to submit the form with enter.
7161
7221
  * @default false
@@ -7165,11 +7225,16 @@ declare namespace LocalJSX {
7165
7225
  * When component load is complete
7166
7226
  */
7167
7227
  "onKup-input-panel-ready"?: (event: KupInputPanelCustomEvent<KupEventPayload>) => void;
7228
+ /**
7229
+ * Sets the callback function on loading options via FUN
7230
+ * @default []
7231
+ */
7232
+ "optionsHandler"?: InputPanelOptionsHandler;
7168
7233
  /**
7169
7234
  * Sets the callback function on submit form
7170
7235
  * @default null
7171
7236
  */
7172
- "submitCb"?: (e: SubmitEvent) => unknown;
7237
+ "submitCb"?: (e: KupInputPanelSubmit) => unknown;
7173
7238
  }
7174
7239
  interface KupLazy {
7175
7240
  /**
@@ -7444,6 +7509,11 @@ declare namespace LocalJSX {
7444
7509
  * @default null
7445
7510
  */
7446
7511
  "detailHeight"?: number;
7512
+ /**
7513
+ * Columns containing detail hour duration, from (firstDate) to (secondDate)
7514
+ * @default null
7515
+ */
7516
+ "detailHours"?: string[];
7447
7517
  /**
7448
7518
  * Column containing icon name to show, for detail
7449
7519
  * @default null
@@ -7474,6 +7544,11 @@ declare namespace LocalJSX {
7474
7544
  * @default null
7475
7545
  */
7476
7546
  "detailPrevDates"?: string[];
7547
+ /**
7548
+ * Columns containing forecast detail duration, from (firstHour) to (secondHour)
7549
+ * @default null
7550
+ */
7551
+ "detailPrevHours"?: string[];
7477
7552
  /**
7478
7553
  * Total size of the cells inside to the left box, near the gantt
7479
7554
  * @default '300px'
@@ -7500,6 +7575,7 @@ declare namespace LocalJSX {
7500
7575
  * When component unload is complete
7501
7576
  */
7502
7577
  "onKup-planner-didunload"?: (event: KupPlannerCustomEvent<KupPlannerUnloadEventPayload>) => void;
7578
+ "onKup-planner-phasedrop"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
7503
7579
  "onKup-planner-ready"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
7504
7580
  /**
7505
7581
  * Column containing the name of the parent phases
@@ -7521,6 +7597,11 @@ declare namespace LocalJSX {
7521
7597
  * @default null
7522
7598
  */
7523
7599
  "phaseDates"?: string[];
7600
+ /**
7601
+ * Columns containing phase hour duration, from (firstDate) to (secondDate)
7602
+ * @default null
7603
+ */
7604
+ "phaseHours"?: string[];
7524
7605
  /**
7525
7606
  * Column containing icon name to show, for phase
7526
7607
  * @default null
@@ -7541,11 +7622,21 @@ declare namespace LocalJSX {
7541
7622
  * @default null
7542
7623
  */
7543
7624
  "phasePrevDates"?: string[];
7625
+ /**
7626
+ * Columns containing forecast phase duration, from (firstHour) to (secondHour)
7627
+ * @default null
7628
+ */
7629
+ "phasePrevHours"?: string[];
7544
7630
  /**
7545
7631
  * When true, the two gantts are not interactable.
7546
7632
  * @default false
7547
7633
  */
7548
7634
  "readOnly"?: boolean;
7635
+ /**
7636
+ * Sets the scroll bar for task list.
7637
+ * @default false
7638
+ */
7639
+ "scrollableTaskList"?: boolean;
7549
7640
  /**
7550
7641
  * Sets the filter for secondary gantt.
7551
7642
  * @default undefined
@@ -7578,6 +7669,11 @@ declare namespace LocalJSX {
7578
7669
  * @default null
7579
7670
  */
7580
7671
  "taskHeight"?: number;
7672
+ /**
7673
+ * Columns containing task hours duration, from (firstDate) to (secondDate)
7674
+ * @default null
7675
+ */
7676
+ "taskHours"?: string[];
7581
7677
  /**
7582
7678
  * Column containing icon name to show, for task
7583
7679
  * @default null
@@ -7608,6 +7704,11 @@ declare namespace LocalJSX {
7608
7704
  * @default null
7609
7705
  */
7610
7706
  "taskPrevDates"?: string[];
7707
+ /**
7708
+ * Columns containing forecast task duration, from (firstHour) to (secondHour)
7709
+ * @default null
7710
+ */
7711
+ "taskPrevHours"?: string[];
7611
7712
  /**
7612
7713
  * Message displayed on top
7613
7714
  * @default null
@@ -7950,6 +8051,7 @@ declare namespace LocalJSX {
7950
8051
  "calendarProps"?: KupPlannerTaskGanttProps['calendarProps'];
7951
8052
  "ganttHeight"?: KupPlannerTaskGanttProps['ganttHeight'];
7952
8053
  "gridProps"?: KupPlannerTaskGanttProps['gridProps'];
8054
+ "phaseDragScroll"?: (scrollY: number) => void;
7953
8055
  "scrollX"?: KupPlannerTaskGanttProps['scrollX'];
7954
8056
  "scrollY"?: KupPlannerTaskGanttProps['scrollY'];
7955
8057
  "taskGanttRef"?: KupPlannerTaskGanttProps['taskGanttRef'];
@@ -7978,13 +8080,17 @@ declare namespace LocalJSX {
7978
8080
  "horizontalContainerClass"?: string;
7979
8081
  "label"?: string;
7980
8082
  "locale"?: string;
8083
+ "ontaskListScrollWidth"?: (width: number) => void;
7981
8084
  "rowHeight"?: number;
7982
8085
  "rowWidth"?: string;
7983
8086
  "scrollY"?: number;
8087
+ "scrollableTaskList"?: boolean;
7984
8088
  "selectedTask"?: KupPlannerBarTask | undefined;
7985
8089
  "setDoubleView"?: (checked: boolean) => void;
7986
8090
  "setSelectedTask"?: KupPlannerTaskListProps['setSelectedTask'];
8091
+ "taskListScrollX"?: number;
7987
8092
  "tasks"?: KupPlannerTask[];
8093
+ "updateTaskListScrollX"?: boolean;
7988
8094
  }
7989
8095
  interface KupTaskListHeader {
7990
8096
  "fontFamily"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sme.up/ketchup",
3
- "version": "9.6.4",
3
+ "version": "9.6.5",
4
4
  "keywords": [
5
5
  "smeup",
6
6
  "KetchUP",