@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.
- package/dist/cjs/{bar.helpers-f46a5a83.js → bar.helpers-c481a535.js} +45 -13
- package/dist/cjs/{f-button-9a0eba42.js → f-button-23ec3db5.js} +1 -1
- package/dist/cjs/{f-cell-1ad41071.js → f-cell-bcc51c0f.js} +9 -29
- package/dist/cjs/{f-chip-48851b4f.js → f-chip-63363ecf.js} +2 -2
- package/dist/cjs/{f-image-541e5f4d.js → f-image-f3944c01.js} +2 -5
- package/dist/cjs/{f-paginator-utils-8ff2a9b4.js → f-paginator-utils-60e05759.js} +3 -3
- package/dist/cjs/{f-text-field-ac5d6497.js → f-text-field-354b6c78.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +48 -48
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +256 -40
- package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
- package/dist/cjs/{kup-dates-b7d53b4d.js → kup-dates-e22ee32c.js} +21 -0
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-gantt_10.cjs.entry.js +105 -39
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +21 -14
- package/dist/cjs/kup-input-panel.cjs.entry.js +444 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -6
- package/dist/cjs/{kup-manager-26a9154b.js → kup-manager-e1bfd4f8.js} +656 -121
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-declarations-d3dec885.js → kup-planner-declarations-cb33663d.js} +3 -0
- package/dist/cjs/{kup-planner-renderer-helper-680bbd5a.js → kup-planner-renderer-helper-f001fad7.js} +56 -8
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +44 -11
- package/dist/cjs/{kup-planner-time-formatter-a74e70f0.js → kup-planner-time-formatter-b7dca3ea.js} +3 -0
- package/dist/cjs/kup-planner.cjs.entry.js +81 -9
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/image-list.js +332 -2
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/input-panel.js +480 -0
- package/dist/collection/assets/pdf.js +15 -0
- package/dist/collection/assets/planner-example-5.js +19 -7
- package/dist/collection/assets/planner-example-6.js +3 -0
- package/dist/collection/assets/planner.js +4 -3
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/kup-badge/kup-badge.css +4 -4
- package/dist/collection/components/kup-image-list/kup-image-list.css +37 -4
- package/dist/collection/components/kup-image-list/kup-image-list.js +15 -8
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +169 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +346 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +669 -0
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.js +1 -1
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
- package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
- package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner-declarations.js +3 -0
- package/dist/collection/components/kup-planner/kup-planner-helper.js +42 -1
- package/dist/collection/components/kup-planner/kup-planner.js +191 -5
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +103 -11
- package/dist/collection/components/kup-planner/utils/gantt-table.module.css +80 -2
- package/dist/collection/components/kup-planner/utils/helpers/bar.helpers.js +41 -13
- package/dist/collection/components/kup-planner/utils/helpers/other.helpers.js +3 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +10 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +61 -6
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +32 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +4 -0
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +208 -24
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +4 -0
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +131 -7
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +55 -6
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +40 -7
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +22 -15
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +21 -5
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +19 -3
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +76 -2
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +5 -24
- package/dist/collection/f-components/f-image/f-image.js +2 -5
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/components/_commonjsHelpers.js +26 -0
- package/dist/components/custom-task-list-header.js +2 -2
- package/dist/components/custom-task-list-table.js +58 -13
- package/dist/components/kup-autocomplete2.js +48 -70
- package/dist/components/kup-box2.js +1 -1
- package/dist/components/kup-calendar.js +2 -2
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-dates.js +2 -6
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-gantt-calendar2.js +31 -1
- package/dist/components/kup-gantt2.js +26 -7
- package/dist/components/kup-grid-renderer2.js +219 -81
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-horizontal-scroll2.js +48 -10
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +15 -8
- package/dist/components/kup-input-panel.d.ts +11 -0
- package/dist/components/kup-input-panel.js +595 -0
- package/dist/components/kup-lazy.js +11 -11
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-manager.js +658 -122
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-pdf.d.ts +11 -0
- package/dist/components/kup-pdf.js +76756 -0
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner-declarations.js +91 -0
- package/dist/components/kup-planner-renderer2.js +42 -9
- package/dist/components/kup-planner.js +86 -6
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-standard-tooltip2.js +1 -1
- package/dist/components/kup-switcher2.js +19 -7
- package/dist/components/kup-task-gantt2.js +6 -4
- package/dist/components/kup-task-list-header2.js +7 -7
- package/dist/components/kup-task-list-table2.js +1 -1
- package/dist/components/kup-task-list2.js +434 -84
- package/dist/components/kup-tooltip2.js +1 -1
- package/dist/components/kup-vertical-scroll2.js +2 -2
- package/dist/components/other.helpers.js +47 -0
- package/dist/esm/{bar.helpers-0898efb9.js → bar.helpers-23a51579.js} +45 -14
- package/dist/esm/{f-button-45d690a5.js → f-button-d6dbcfd6.js} +1 -1
- package/dist/esm/{f-cell-63db06db.js → f-cell-7b41415c.js} +9 -29
- package/dist/esm/{f-chip-f1ab6c5e.js → f-chip-68d27d7a.js} +2 -2
- package/dist/esm/{f-image-8b382cc5.js → f-image-a67229e5.js} +2 -5
- package/dist/esm/{f-paginator-utils-ae563cd5.js → f-paginator-utils-8773e358.js} +3 -3
- package/dist/esm/{f-text-field-b5fcb598.js → f-text-field-d364ffd2.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_27.entry.js +48 -48
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +256 -40
- package/dist/esm/kup-dashboard.entry.js +5 -5
- package/dist/esm/{kup-dates-4ad48be7.js → kup-dates-26a56bf7.js} +20 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-gantt_10.entry.js +106 -40
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +21 -14
- package/dist/esm/kup-input-panel.entry.js +440 -0
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +6 -6
- package/dist/esm/{kup-manager-cdb4f21a.js → kup-manager-a316a70e.js} +656 -121
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +76596 -0
- package/dist/esm/kup-photo-frame.entry.js +4 -4
- package/dist/esm/{kup-planner-declarations-b9345758.js → kup-planner-declarations-398babf9.js} +3 -0
- package/dist/esm/{kup-planner-renderer-helper-da0518be.js → kup-planner-renderer-helper-a2ec9a1c.js} +57 -8
- package/dist/esm/kup-planner-renderer.entry.js +44 -11
- package/dist/esm/{kup-planner-time-formatter-a68e05ba.js → kup-planner-time-formatter-ddf84f9b.js} +1 -1
- package/dist/esm/kup-planner.entry.js +81 -9
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-008bdcdc.js +1 -0
- package/dist/ketchup/p-042e874a.entry.js +1 -0
- package/dist/ketchup/{p-837bd0a6.entry.js → p-074ccd53.entry.js} +1 -1
- package/dist/ketchup/{p-41e8402e.entry.js → p-1088ab22.entry.js} +1 -1
- package/dist/ketchup/{p-d9284d98.entry.js → p-1bcac01f.entry.js} +1 -1
- package/dist/ketchup/{p-e0a1fbe7.entry.js → p-1e028d95.entry.js} +1 -1
- package/dist/ketchup/p-25058baa.js +1 -0
- package/dist/ketchup/{p-cbe42afd.entry.js → p-2932e7e8.entry.js} +1 -1
- package/dist/ketchup/{p-1cd48eea.entry.js → p-2b84db7b.entry.js} +1 -1
- package/dist/ketchup/{p-d608f866.entry.js → p-2ef90f60.entry.js} +1 -1
- package/dist/ketchup/{p-bedabdb5.js → p-339bbeae.js} +1 -1
- package/dist/ketchup/{p-157f0e89.entry.js → p-48e45ac0.entry.js} +1 -1
- package/dist/ketchup/p-53af4c87.js +1 -0
- package/dist/ketchup/{p-4dfc5927.entry.js → p-556f7ddc.entry.js} +1 -1
- package/dist/ketchup/{p-cc7352a8.entry.js → p-5f7d8c21.entry.js} +1 -1
- package/dist/ketchup/{p-e0c10de2.entry.js → p-6362738c.entry.js} +1 -1
- package/dist/ketchup/{p-ad6a3c2a.entry.js → p-65e363c6.entry.js} +1 -1
- package/dist/ketchup/p-6921bc81.entry.js +16 -0
- package/dist/ketchup/p-6961e0ce.entry.js +1 -0
- package/dist/ketchup/p-7123d2a4.entry.js +1 -0
- package/dist/ketchup/{p-a5074ce4.js → p-801776bc.js} +1 -1
- package/dist/ketchup/{p-ca8a1f53.entry.js → p-81645576.entry.js} +1 -1
- package/dist/ketchup/p-838dea62.js +1 -0
- package/dist/ketchup/{p-924b841b.js → p-84b511e1.js} +1 -1
- package/dist/ketchup/{p-9a856951.js → p-8d4050ec.js} +4 -4
- package/dist/ketchup/{p-1474852d.entry.js → p-9e2533e1.entry.js} +1 -1
- package/dist/ketchup/{p-c6b34763.entry.js → p-a06974a3.entry.js} +1 -1
- package/dist/ketchup/p-a6beb822.js +1 -0
- package/dist/ketchup/p-abe181d0.entry.js +1 -0
- package/dist/ketchup/{p-ba0f28b7.js → p-b3540f83.js} +1 -1
- package/dist/ketchup/{p-b6a21b6a.entry.js → p-c702eb45.entry.js} +1 -1
- package/dist/ketchup/{p-090e5097.entry.js → p-ccb6dbb0.entry.js} +1 -1
- package/dist/ketchup/{p-d839ce21.entry.js → p-cf44485a.entry.js} +2 -2
- package/dist/ketchup/p-d2001dec.entry.js +44 -0
- package/dist/ketchup/{p-e508b2fd.entry.js → p-dbb6cd8d.entry.js} +1 -1
- package/dist/ketchup/p-eb8ea3a6.js +1 -0
- package/dist/ketchup/{p-590c34bc.js → p-f6c8f006.js} +1 -1
- package/dist/ketchup/{p-4c100286.entry.js → p-f79ffe77.entry.js} +1 -1
- package/dist/ketchup/{p-31c0cfc0.entry.js → p-fdcfaedd.entry.js} +1 -1
- package/dist/ketchup/p-fe75ede2.entry.js +1 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +1 -1
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +81 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
- package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
- package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +29 -2
- package/dist/types/components/kup-planner/kup-planner-helper.d.ts +2 -1
- package/dist/types/components/kup-planner/kup-planner.d.ts +38 -0
- package/dist/types/components/kup-planner/utils/custom-task-list-table.d.ts +7 -0
- package/dist/types/components/kup-planner/utils/helpers/bar.helpers.d.ts +1 -1
- package/dist/types/components/kup-planner/utils/helpers/other.helpers.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +6 -0
- package/dist/types/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.d.ts +13 -1
- package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts +7 -0
- package/dist/types/components/kup-planner/utils/kup-planner-renderer-helper.d.ts +6 -2
- package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-switcher/kup-switcher.d.ts +3 -1
- package/dist/types/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-task-list/kup-task-list.d.ts +4 -0
- package/dist/types/components.d.ts +266 -2
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/package.json +2 -1
- package/dist/components/kup-planner-renderer-helper.js +0 -379
- package/dist/ketchup/p-21351b19.entry.js +0 -1
- package/dist/ketchup/p-2b40d9b9.entry.js +0 -1
- package/dist/ketchup/p-5c79cb74.js +0 -1
- package/dist/ketchup/p-670354ef.entry.js +0 -1
- package/dist/ketchup/p-8e3b6de8.js +0 -1
- package/dist/ketchup/p-935f58fc.js +0 -1
- package/dist/ketchup/p-9852b1e9.js +0 -1
- package/dist/ketchup/p-ca42a421.entry.js +0 -16
- package/dist/ketchup/p-d50515f7.js +0 -1
- package/dist/ketchup/p-e841c2ae.js +0 -1
- package/dist/ketchup/p-ec4050e1.entry.js +0 -1
|
@@ -50,7 +50,9 @@ export declare enum KupPlannerTaskAction {
|
|
|
50
50
|
onClick = "onClick",
|
|
51
51
|
onDblClick = "onDblClick",
|
|
52
52
|
onResize = "onResize",
|
|
53
|
-
onRightClick = "onRightClick"
|
|
53
|
+
onRightClick = "onRightClick",
|
|
54
|
+
onPhase = "onPhase",
|
|
55
|
+
onTask = "onTask"
|
|
54
56
|
}
|
|
55
57
|
export interface KupPlannerEventPayload extends KupEventPayload {
|
|
56
58
|
value: KupPlannerGanttRow;
|
|
@@ -109,12 +111,15 @@ export declare const defaultStylingOptions: {
|
|
|
109
111
|
barProgressSelectedColor: string;
|
|
110
112
|
barBackgroundColor: string;
|
|
111
113
|
barBackgroundSelectedColor: string;
|
|
114
|
+
barDropZoneColor: string;
|
|
112
115
|
};
|
|
113
116
|
export interface KupPlannerDatesSanitized {
|
|
114
117
|
dateValues: string[];
|
|
115
118
|
secDateValues: string[];
|
|
119
|
+
hourValues: string[];
|
|
120
|
+
secHourValues: string[];
|
|
116
121
|
}
|
|
117
|
-
export type KupPlannerViewMode = 'day' | 'week' | 'month' | 'year';
|
|
122
|
+
export type KupPlannerViewMode = 'hour' | 'day' | 'week' | 'month' | 'year';
|
|
118
123
|
export interface KupPlannerStoredSettings {
|
|
119
124
|
showSecondaryDates: boolean;
|
|
120
125
|
detailFilter: string;
|
|
@@ -145,6 +150,10 @@ export interface KupPlannerGanttTaskN extends KupPlannerGanttRow {
|
|
|
145
150
|
phases?: KupPlannerPhaseGantt[];
|
|
146
151
|
details?: KupPlannerItemDetail[];
|
|
147
152
|
icon?: KupPlannerTaskIcon;
|
|
153
|
+
startHour?: string;
|
|
154
|
+
endHour?: string;
|
|
155
|
+
secondaryStartHour?: string;
|
|
156
|
+
secondaryEndHour?: string;
|
|
148
157
|
}
|
|
149
158
|
/** Fase */
|
|
150
159
|
export interface KupPlannerPhaseGantt extends KupPlannerGanttRow {
|
|
@@ -156,6 +165,10 @@ export interface KupPlannerPhaseGantt extends KupPlannerGanttRow {
|
|
|
156
165
|
selectedColor?: string;
|
|
157
166
|
dependencies?: string[];
|
|
158
167
|
icon?: KupPlannerTaskIcon;
|
|
168
|
+
startHour?: string;
|
|
169
|
+
endHour?: string;
|
|
170
|
+
secondaryStartHour?: string;
|
|
171
|
+
secondaryEndHour?: string;
|
|
159
172
|
}
|
|
160
173
|
/** Risorsa */
|
|
161
174
|
export interface KupPlannerItemDetail extends KupPlannerGanttRow {
|
|
@@ -167,6 +180,8 @@ export interface KupPlannerScheduleItem {
|
|
|
167
180
|
color?: string;
|
|
168
181
|
selectedColor?: string;
|
|
169
182
|
icon?: KupPlannerTaskIcon;
|
|
183
|
+
startHour?: string;
|
|
184
|
+
endHour?: string;
|
|
170
185
|
}
|
|
171
186
|
export interface KupPlannerTask {
|
|
172
187
|
id: string;
|
|
@@ -194,6 +209,10 @@ export interface KupPlannerTask {
|
|
|
194
209
|
hideChildren?: boolean;
|
|
195
210
|
displayOrder?: number;
|
|
196
211
|
icon?: KupPlannerTaskIcon;
|
|
212
|
+
startHour?: string;
|
|
213
|
+
endHour?: string;
|
|
214
|
+
secondaryStartHour?: string;
|
|
215
|
+
secondaryEndHour?: string;
|
|
197
216
|
}
|
|
198
217
|
export interface KupPlannerTimeframe {
|
|
199
218
|
start: Date;
|
|
@@ -319,6 +338,10 @@ export interface KupPlannerEventOption {
|
|
|
319
338
|
* Invokes on scroll Y
|
|
320
339
|
*/
|
|
321
340
|
scrollYChange?: (y: number) => void;
|
|
341
|
+
/**
|
|
342
|
+
* Invokes on end and start time change. Chart undoes operation if method return false or error.
|
|
343
|
+
*/
|
|
344
|
+
phaseDrop?: (originalPhaseData: KupPlannerTask, originalTaskData: KupPlannerTask, finalPhaseData: KupPlannerTask, destinationData: KupPlannerTask) => void | boolean | Promise<void> | Promise<boolean>;
|
|
322
345
|
}
|
|
323
346
|
export interface KupPlannerDisplayOption {
|
|
324
347
|
viewMode?: KupPlannerViewMode;
|
|
@@ -406,6 +429,7 @@ export interface KupPlannerBarTask extends KupPlannerTask {
|
|
|
406
429
|
progressColor: string;
|
|
407
430
|
progressSelectedColor: string;
|
|
408
431
|
};
|
|
432
|
+
ySecondary?: number;
|
|
409
433
|
}
|
|
410
434
|
export type KupPlannerTaskTypeInternal = KupPlannerTaskType | 'smalltask';
|
|
411
435
|
export type KupPlannerTaskGanttContentProps = {
|
|
@@ -538,6 +562,7 @@ export type KupPlannerBarDisplayProps = {
|
|
|
538
562
|
xSecondary?: number;
|
|
539
563
|
widthSecondary?: number;
|
|
540
564
|
showSecondaryDates: boolean;
|
|
565
|
+
ySecondary?: number;
|
|
541
566
|
};
|
|
542
567
|
export type KupPlannerBarDateHandleProps = {
|
|
543
568
|
x: number;
|
|
@@ -587,6 +612,7 @@ export interface KupGanttPlannerProps {
|
|
|
587
612
|
onDblClick?: (row: KupPlannerGanttRow) => void;
|
|
588
613
|
onContextMenu?: (event: MouseEvent, row: KupPlannerGanttRow) => void;
|
|
589
614
|
onScrollY?: (y: number) => void;
|
|
615
|
+
onPhaseDrop?: (row: KupPlannerGanttRow) => void;
|
|
590
616
|
}
|
|
591
617
|
export interface KupGanttPlannerDetailsProps {
|
|
592
618
|
items: KupPlannerItemDetail[];
|
|
@@ -614,6 +640,7 @@ export interface PlannerProps {
|
|
|
614
640
|
secondaryGantt?: KupGanttPlannerDetailsProps;
|
|
615
641
|
preStepsCount?: number;
|
|
616
642
|
viewMode: KupPlannerViewMode;
|
|
643
|
+
scrollableTaskList?: boolean;
|
|
617
644
|
onSetDoubleView?: (checked: boolean) => void;
|
|
618
645
|
onSetViewMode?: (value: KupPlannerViewMode) => void;
|
|
619
646
|
onScrollX?: (x: number) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { KupDataCell } from '../../components';
|
|
2
2
|
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
3
3
|
import { KupPlannerDatesSanitized } from './kup-planner-declarations';
|
|
4
|
-
export declare function sanitizeAllDates(startDateCell: KupDataCell, endDateCell: KupDataCell, secStartDateCell?: KupDataCell, secEndDateCell?: KupDataCell): KupPlannerDatesSanitized;
|
|
4
|
+
export declare function sanitizeAllDates(startDateCell: KupDataCell, endDateCell: KupDataCell, secStartDateCell?: KupDataCell, secEndDateCell?: KupDataCell, startHourCell?: KupDataCell, endHourCell?: KupDataCell, secStartHourCell?: KupDataCell, secEndHourCell?: KupDataCell): KupPlannerDatesSanitized;
|
|
5
5
|
export declare function isAtLeastOneDateValid(startDateCell: KupDataCell, endDateCell: KupDataCell): boolean;
|
|
6
|
+
export declare function isAtLeastOneHourValid(startHourCell: KupDataCell, endHourCell: KupDataCell): boolean;
|
|
6
7
|
export declare function getValuesToShow(row: KupDataRow, idCol: string, nameCol: string, dataColumns: KupDataColumn[], columns?: string[], customToValuesFunction?: () => string[]): string[];
|
|
@@ -57,6 +57,11 @@ export declare class KupPlanner {
|
|
|
57
57
|
* @default null
|
|
58
58
|
*/
|
|
59
59
|
detailHeight: number;
|
|
60
|
+
/**
|
|
61
|
+
* Columns containing detail hour duration, from (firstDate) to (secondDate)
|
|
62
|
+
* @default null
|
|
63
|
+
*/
|
|
64
|
+
detailHours: string[];
|
|
60
65
|
/**
|
|
61
66
|
* Column containing icon name to show, for detail
|
|
62
67
|
* @default null
|
|
@@ -72,6 +77,11 @@ export declare class KupPlanner {
|
|
|
72
77
|
* @default null
|
|
73
78
|
*/
|
|
74
79
|
detailNameCol: string;
|
|
80
|
+
/**
|
|
81
|
+
* Columns containing forecast detail duration, from (firstHour) to (secondHour)
|
|
82
|
+
* @default null
|
|
83
|
+
*/
|
|
84
|
+
detailPrevHours: string[];
|
|
75
85
|
/**
|
|
76
86
|
* Columns containing forecast detail duration, from (firstDate) to (secondDate)
|
|
77
87
|
* @default null
|
|
@@ -117,6 +127,11 @@ export declare class KupPlanner {
|
|
|
117
127
|
* @default null
|
|
118
128
|
*/
|
|
119
129
|
phaseDates: string[];
|
|
130
|
+
/**
|
|
131
|
+
* Columns containing phase hour duration, from (firstDate) to (secondDate)
|
|
132
|
+
* @default null
|
|
133
|
+
*/
|
|
134
|
+
phaseHours: string[];
|
|
120
135
|
/**
|
|
121
136
|
* Column containing icon name to show, for phase
|
|
122
137
|
* @default null
|
|
@@ -132,6 +147,11 @@ export declare class KupPlanner {
|
|
|
132
147
|
* @default null
|
|
133
148
|
*/
|
|
134
149
|
phaseNameCol: string;
|
|
150
|
+
/**
|
|
151
|
+
* Columns containing forecast phase duration, from (firstHour) to (secondHour)
|
|
152
|
+
* @default null
|
|
153
|
+
*/
|
|
154
|
+
phasePrevHours: string[];
|
|
135
155
|
/**
|
|
136
156
|
* Columns containing forecast phase duration, from (firstDate) to (secondDate)
|
|
137
157
|
* @default null
|
|
@@ -167,6 +187,11 @@ export declare class KupPlanner {
|
|
|
167
187
|
* @default null
|
|
168
188
|
*/
|
|
169
189
|
taskHeight: number;
|
|
190
|
+
/**
|
|
191
|
+
* Columns containing task hours duration, from (firstDate) to (secondDate)
|
|
192
|
+
* @default null
|
|
193
|
+
*/
|
|
194
|
+
taskHours: string[];
|
|
170
195
|
/**
|
|
171
196
|
* Column containing icon name to show, for task
|
|
172
197
|
* @default null
|
|
@@ -192,6 +217,11 @@ export declare class KupPlanner {
|
|
|
192
217
|
* @default null
|
|
193
218
|
*/
|
|
194
219
|
taskNameCol: string;
|
|
220
|
+
/**
|
|
221
|
+
* Columns containing forecast task duration, from (firstHour) to (secondHour)
|
|
222
|
+
* @default null
|
|
223
|
+
*/
|
|
224
|
+
taskPrevHours: string[];
|
|
195
225
|
/**
|
|
196
226
|
* Columns containing forecast task duration, from (firstDate) to (secondDate)
|
|
197
227
|
* @default null
|
|
@@ -217,6 +247,11 @@ export declare class KupPlanner {
|
|
|
217
247
|
* @default undefined
|
|
218
248
|
*/
|
|
219
249
|
secondaryFilter: HTMLElement;
|
|
250
|
+
/**
|
|
251
|
+
* Sets the scroll bar for task list.
|
|
252
|
+
* @default false
|
|
253
|
+
*/
|
|
254
|
+
scrollableTaskList: boolean;
|
|
220
255
|
/**
|
|
221
256
|
* The value of the component.
|
|
222
257
|
* @default ""
|
|
@@ -226,6 +261,7 @@ export declare class KupPlanner {
|
|
|
226
261
|
kupClick: EventEmitter<KupPlannerEventPayload>;
|
|
227
262
|
kupDblClick: EventEmitter<KupPlannerEventPayload>;
|
|
228
263
|
kupDateChange: EventEmitter<KupPlannerEventPayload>;
|
|
264
|
+
kupPhaseDrop: EventEmitter<KupPlannerEventPayload>;
|
|
229
265
|
kupReady: EventEmitter<KupPlannerEventPayload>;
|
|
230
266
|
/**
|
|
231
267
|
* Generic right click event on planner.
|
|
@@ -263,6 +299,7 @@ export declare class KupPlanner {
|
|
|
263
299
|
onKupClick(event: KupPlannerGanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
264
300
|
onKupContextMenu(event: UIEvent, ganttRow: KupPlannerGanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
265
301
|
onKupDateChange(event: KupPlannerGanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
302
|
+
onKupPhaseDrop(event: KupPlannerGanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
266
303
|
handleOnDblClick(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
267
304
|
handleOnClick(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
268
305
|
handleOnContextMenu(event: UIEvent, row: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
@@ -272,6 +309,7 @@ export declare class KupPlanner {
|
|
|
272
309
|
handleTaskGanttScrollY(y: number): void;
|
|
273
310
|
handleDetailGanttScrollY(y: number): void;
|
|
274
311
|
handleOnDateChange(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
312
|
+
handleOnPhaseDrop(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
275
313
|
render(): any;
|
|
276
314
|
disconnectedCallback(): void;
|
|
277
315
|
}
|
|
@@ -6,9 +6,16 @@ export declare class KupCustomTaskListTable {
|
|
|
6
6
|
rowWidth: string;
|
|
7
7
|
fontFamily: string;
|
|
8
8
|
fontSize: string;
|
|
9
|
+
scrollableTaskList: boolean;
|
|
10
|
+
taskListScrollX: number;
|
|
9
11
|
setSelectedTask: (taskId: string) => void;
|
|
10
12
|
onclickTaskList: (id: string) => void;
|
|
11
13
|
ondblclickTaskList: (id: string) => void;
|
|
12
14
|
oncontextmenuTaskList: (event: MouseEvent, id: string) => void;
|
|
15
|
+
ontaskListScrollWidth: (width: number) => void;
|
|
16
|
+
private projectWrapperRef;
|
|
17
|
+
componentDidLoad(): void;
|
|
18
|
+
componentDidUpdate(): void;
|
|
19
|
+
updateTaskListScroll(): void;
|
|
13
20
|
render(): any;
|
|
14
21
|
}
|
|
@@ -6,7 +6,7 @@ export declare const getProgressPoint: (progressX: number, taskY: number, taskHe
|
|
|
6
6
|
/**
|
|
7
7
|
* Method handles event in real time(mousemove) and on finish(mouseup)
|
|
8
8
|
*/
|
|
9
|
-
export declare const handleTaskBySVGMouseEvent: (svgX: number, action: KupPlannerBarMoveAction, selectedTask: KupPlannerBarTask, xStep: number, timeStep: number, initEventX1Delta: number, rtl: boolean) => {
|
|
9
|
+
export declare const handleTaskBySVGMouseEvent: (svgX: number, action: KupPlannerBarMoveAction, selectedTask: KupPlannerBarTask, xStep: number, timeStep: number, initEventX1Delta: number, rtl: boolean, svgY: number) => {
|
|
10
10
|
isChanged: boolean;
|
|
11
11
|
changedTask: KupPlannerBarTask;
|
|
12
12
|
};
|
|
@@ -4,3 +4,4 @@ export declare function isMouseEvent(event: MouseEvent | KeyboardEvent | FocusEv
|
|
|
4
4
|
export declare function isBarTask(task: KupPlannerTask | KupPlannerBarTask): task is KupPlannerBarTask;
|
|
5
5
|
export declare function removeHiddenTasks(tasks: KupPlannerTask[]): KupPlannerTask[];
|
|
6
6
|
export declare const sortTasks: (taskA: KupPlannerTask, taskB: KupPlannerTask) => 1 | 0 | -1;
|
|
7
|
+
export declare const createArrayFromNum: (number: number) => number[];
|
|
@@ -49,6 +49,7 @@ export declare class KupGantt {
|
|
|
49
49
|
currentTasks: KupPlannerGanttTaskN[] | KupPlannerItemDetail[];
|
|
50
50
|
label: string;
|
|
51
51
|
doubleView?: boolean;
|
|
52
|
+
scrollableTaskList?: boolean;
|
|
52
53
|
setDoubleView?: (checked: boolean) => void;
|
|
53
54
|
barContextMenu: KupPlannerGanttProps['barContextMenu'];
|
|
54
55
|
scrollXChange: KupPlannerGanttProps['scrollXChange'];
|
|
@@ -67,6 +68,7 @@ export declare class KupGantt {
|
|
|
67
68
|
doubleClick: KupPlannerGanttProps['doubleClick'];
|
|
68
69
|
delete: KupPlannerGanttProps['delete'];
|
|
69
70
|
expanderClick: KupPlannerGanttProps['expanderClick'];
|
|
71
|
+
phaseDrop: KupPlannerGanttProps['phaseDrop'];
|
|
70
72
|
wrapperRef: HTMLDivElement;
|
|
71
73
|
taskGanttRef: HTMLDivElement | null;
|
|
72
74
|
taskListRef: HTMLDivElement;
|
|
@@ -92,6 +94,8 @@ export declare class KupGantt {
|
|
|
92
94
|
xf: number;
|
|
93
95
|
color: string;
|
|
94
96
|
} | undefined;
|
|
97
|
+
taskListScrollWidth: number;
|
|
98
|
+
taskListScrollX: number;
|
|
95
99
|
/**
|
|
96
100
|
* References the root HTML element of the component (<kup-gantt>).
|
|
97
101
|
*/
|
|
@@ -126,6 +130,8 @@ export declare class KupGantt {
|
|
|
126
130
|
handleKeyDown(event: KeyboardEvent): void;
|
|
127
131
|
handleSelectedTask(taskId: string): void;
|
|
128
132
|
handleExpanderClick(task: KupPlannerTask): void;
|
|
133
|
+
handleTaskListScrollX(event: UIEvent): void;
|
|
134
|
+
handlePhaseDragScroll(scrollY: number): void;
|
|
129
135
|
setFailedTask(task: KupPlannerBarTask | null): void;
|
|
130
136
|
setGanttEvent(gantt: KupPlannerGanttEvent): void;
|
|
131
137
|
render(): any;
|
|
@@ -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;
|
package/dist/types/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.d.ts
CHANGED
|
@@ -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
|
*/
|