@sme.up/ketchup 7.4.0 → 7.4.2
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/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1006 -549
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/kup-planner/kup-planner-declarations.js +60 -14
- package/dist/collection/components/kup-planner/kup-planner-helper.js +54 -0
- package/dist/collection/components/kup-planner/kup-planner.css +16 -18
- package/dist/collection/components/kup-planner/kup-planner.js +447 -68
- package/dist/components/kup-autocomplete2.js +1 -1
- package/dist/components/kup-planner.js +1006 -538
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/esm/ketchup.js +2 -2
- package/dist/esm/kup-planner.entry.js +994 -537
- package/dist/esm/loader.js +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-02a26d59.entry.js +9 -0
- package/dist/ketchup/p-462475ac.entry.js +10 -0
- package/dist/ketchup/{p-c1137ffd.entry.js → p-4d039705.entry.js} +6 -6
- package/dist/ketchup/p-5292ef67.js +3 -3
- package/dist/ketchup/p-be61dd36.entry.js +39 -0
- package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +66 -15
- package/dist/types/components/kup-planner/kup-planner-helper.d.ts +6 -0
- package/dist/types/components/kup-planner/kup-planner.d.ts +118 -3
- package/dist/types/components.d.ts +234 -2
- package/package.json +6 -4
- package/dist/ketchup/p-4fa7bffd.entry.js +0 -39
- package/dist/ketchup/p-8826f5d6.entry.js +0 -11
- package/dist/ketchup/p-d5200264.entry.js +0 -9
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
import { GanttTask } from '@sme.up/gantt-component';
|
|
1
|
+
import { Detail, GanttTask } from '@sme.up/gantt-component';
|
|
2
2
|
import { Phase } from '@sme.up/gantt-component';
|
|
3
3
|
import { GanttRow } from '@sme.up/gantt-component';
|
|
4
4
|
import { KupEventPayload } from '../../components';
|
|
5
|
+
import { KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
5
6
|
/**
|
|
6
7
|
* Props of the kup-gantt component.
|
|
7
8
|
* Used to export every prop in an object.
|
|
8
9
|
*/
|
|
9
10
|
export declare enum KupPlannerProps {
|
|
10
11
|
customStyle = "Custom style of the component.",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
12
|
+
data = "Dataset containg the tasks list",
|
|
13
|
+
detailData = "Dataset containg the details list",
|
|
14
|
+
detailColorCol = "Column containing the detail color, in hex format",
|
|
15
|
+
detailColumns = "Columns containing informations displayed in the left box, near the gantt of details",
|
|
16
|
+
detailDates = "Columns containing detail duration, from (firstDate) to (secondDate)",
|
|
17
|
+
detailHeight = "Height for detail gantt",
|
|
18
|
+
detailIdCol = "Column containing unique detail identifier",
|
|
19
|
+
detailNameCol = "Column containing detail name displayed",
|
|
20
|
+
detailPrevDates = "Columns containing forecast detail duration, from (firstDate) to (secondDate)",
|
|
21
|
+
listCellWidth = "Total size of the cells inside to the left box, near the gantt",
|
|
22
|
+
maxWidth = "Max width for component",
|
|
23
|
+
phaseColorCol = "Column containing the phase color in hex format",
|
|
24
|
+
phaseColumns = "Columns containing informations displayed in the left box ,near the gantt of phases",
|
|
25
|
+
phaseColParDep = "Column containing the name of the parent phases",
|
|
26
|
+
phaseDates = "Columns containing phase duration, from (firstDate) to (secondDate)",
|
|
27
|
+
phaseIdCol = "Column containing unique phase identifier",
|
|
28
|
+
phaseNameCol = "Column containing phase name displayed",
|
|
29
|
+
phasePrevDates = "Columns containing forecast phase duration, from (firstDate) to (secondDate)",
|
|
30
|
+
showSecondaryDates = "Enable/disable display of secondary dates",
|
|
31
|
+
taskColumns = "Columns containing informations displayed in the left box, near the gantt",
|
|
32
|
+
taskDates = "Columns containing task duration, from (firstDate) to (secondDate)",
|
|
33
|
+
taskHeight = "Height for main gantt",
|
|
34
|
+
taskIdCol = "Column containing unique task identifier",
|
|
35
|
+
taskNameCol = "Column containing task name displayed",
|
|
36
|
+
taskPrevDates = "Columns containing forecast task duration, from (firstDate) to (secondDate)",
|
|
37
|
+
titleMess = "Message displayed on top"
|
|
25
38
|
}
|
|
26
39
|
export declare enum KupPlannerTaskAction {
|
|
27
40
|
onOpening = "onOpening",
|
|
@@ -31,10 +44,48 @@ export interface KupPlannerEventPayload extends KupEventPayload {
|
|
|
31
44
|
value: GanttRow;
|
|
32
45
|
taskAction?: KupPlannerTaskAction;
|
|
33
46
|
}
|
|
47
|
+
export declare enum KupPlannerGanttRowType {
|
|
48
|
+
TASK = "task",
|
|
49
|
+
PHASE = "phase",
|
|
50
|
+
DETAIL = "detail"
|
|
51
|
+
}
|
|
34
52
|
export interface KupPlannerGanttTask extends GanttTask {
|
|
35
53
|
taskRowId: string;
|
|
54
|
+
taskRow: KupDataRow;
|
|
55
|
+
rowType: KupPlannerGanttRowType;
|
|
56
|
+
}
|
|
57
|
+
export interface KupPlannerDetail extends Detail {
|
|
58
|
+
rowType: KupPlannerGanttRowType;
|
|
36
59
|
}
|
|
37
60
|
export interface KupPlannerPhase extends Phase {
|
|
38
61
|
taskRowId: string;
|
|
62
|
+
taskRow: KupDataRow;
|
|
39
63
|
phaseRowId: string;
|
|
64
|
+
phaseRow: KupDataRow;
|
|
65
|
+
rowType: KupPlannerGanttRowType;
|
|
66
|
+
}
|
|
67
|
+
export declare class KupPlannerLastOnChangeReceived {
|
|
68
|
+
private event;
|
|
69
|
+
private dateTime;
|
|
70
|
+
private threshold;
|
|
71
|
+
constructor(event: GanttRow, threshold?: number);
|
|
72
|
+
isEquivalent(newEvent: GanttRow): boolean;
|
|
73
|
+
resetDateTime(): void;
|
|
74
|
+
}
|
|
75
|
+
export declare const defaultStylingOptions: {
|
|
76
|
+
listCellWidth: string;
|
|
77
|
+
rowHeight: number;
|
|
78
|
+
barFill: number;
|
|
79
|
+
projectProgressColor: string;
|
|
80
|
+
projectProgressSelectedColor: string;
|
|
81
|
+
projectBackgroundColor: string;
|
|
82
|
+
projectBackgroundSelectedColor: string;
|
|
83
|
+
barProgressColor: string;
|
|
84
|
+
barProgressSelectedColor: string;
|
|
85
|
+
barBackgroundColor: string;
|
|
86
|
+
barBackgroundSelectedColor: string;
|
|
87
|
+
};
|
|
88
|
+
export interface KupPlannerDatesSanitized {
|
|
89
|
+
dateValues: string[];
|
|
90
|
+
secDateValues: string[];
|
|
40
91
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { KupDataCell } from '../../components';
|
|
2
|
+
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
3
|
+
import { KupPlannerDatesSanitized } from './kup-planner-declarations';
|
|
4
|
+
export declare function sanitizeAllDates(startDateCell: KupDataCell, endDateCell: KupDataCell, secStartDateCell?: KupDataCell, secEndDateCell?: KupDataCell): KupPlannerDatesSanitized;
|
|
5
|
+
export declare function isAtLeastOneDateValid(startDateCell: KupDataCell, endDateCell: KupDataCell): boolean;
|
|
6
|
+
export declare function getValuesToShow(row: KupDataRow, idCol: string, nameCol: string, dataColumns: KupDataColumn[], columns?: string[], customToValuesFunction?: () => string[]): string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { GenericObject } from '../../types/GenericTypes';
|
|
3
|
-
import { KupPlannerEventPayload, KupPlannerTaskAction } from './kup-planner-declarations';
|
|
3
|
+
import { KupPlannerEventPayload, KupPlannerGanttTask, KupPlannerPhase, KupPlannerTaskAction, KupPlannerDetail } from './kup-planner-declarations';
|
|
4
4
|
import { KupDataDataset } from '../../managers/kup-data/kup-data-declarations';
|
|
5
5
|
import { GanttRow, PlannerProps } from '@sme.up/gantt-component';
|
|
6
6
|
export declare class KupPlanner {
|
|
@@ -20,20 +20,135 @@ export declare class KupPlanner {
|
|
|
20
20
|
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
21
21
|
*/
|
|
22
22
|
customStyle: string;
|
|
23
|
+
/**
|
|
24
|
+
* Dataset containg the tasks list
|
|
25
|
+
* @default null
|
|
26
|
+
*/
|
|
23
27
|
data: KupDataDataset;
|
|
24
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Dataset containg the details list
|
|
30
|
+
* @default null
|
|
31
|
+
*/
|
|
32
|
+
detailData: KupDataDataset;
|
|
33
|
+
/**
|
|
34
|
+
* Column containing the detail color, in hex format
|
|
35
|
+
* @default null
|
|
36
|
+
*/
|
|
37
|
+
detailColorCol: string;
|
|
38
|
+
/**
|
|
39
|
+
* Columns containing informations displayed in the left box, near the gantt of details
|
|
40
|
+
* @default null
|
|
41
|
+
*/
|
|
42
|
+
detailColumns: string[];
|
|
43
|
+
/**
|
|
44
|
+
* Columns containing detail duration, from (firstDate) to (secondDate)
|
|
45
|
+
* @default null
|
|
46
|
+
*/
|
|
47
|
+
detailDates: string[];
|
|
48
|
+
/**
|
|
49
|
+
* Height for detail gantt
|
|
50
|
+
* @default null
|
|
51
|
+
*/
|
|
52
|
+
detailHeight: number;
|
|
53
|
+
/**
|
|
54
|
+
* Column containing unique detail identifier
|
|
55
|
+
* @default null
|
|
56
|
+
*/
|
|
57
|
+
detailIdCol: string;
|
|
58
|
+
/**
|
|
59
|
+
* Column containing detail name displayed
|
|
60
|
+
* @default null
|
|
61
|
+
*/
|
|
62
|
+
detailNameCol: string;
|
|
63
|
+
/**
|
|
64
|
+
* Columns containing fForecast detail duration, from (firstDate) to (secondDate)
|
|
65
|
+
* @default null
|
|
66
|
+
*/
|
|
67
|
+
detailPrevDates: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Total size of the cells inside to the left box, near the gantt
|
|
70
|
+
* @default '300px'
|
|
71
|
+
*/
|
|
72
|
+
listCellWidth: string;
|
|
73
|
+
/**
|
|
74
|
+
* Max width for component
|
|
75
|
+
* @default '90vw'
|
|
76
|
+
*/
|
|
77
|
+
maxWidth: string;
|
|
78
|
+
/**
|
|
79
|
+
* Column containing the phase color in hex format
|
|
80
|
+
* @default null
|
|
81
|
+
*/
|
|
25
82
|
phaseColorCol: string;
|
|
83
|
+
/**
|
|
84
|
+
* Columns containing informations displayed in the left box ,near the gantt of phases
|
|
85
|
+
* @default null
|
|
86
|
+
*/
|
|
26
87
|
phaseColumns: string[];
|
|
88
|
+
/**
|
|
89
|
+
* Column containing the name of the parent phases
|
|
90
|
+
* @default null
|
|
91
|
+
*/
|
|
27
92
|
phaseColParDep: string;
|
|
93
|
+
/**
|
|
94
|
+
* Columns containing phase duration, from (firstDate) to (secondDate)
|
|
95
|
+
* @default null
|
|
96
|
+
*/
|
|
28
97
|
phaseDates: string[];
|
|
98
|
+
/**
|
|
99
|
+
* Column containing unique phase identifier
|
|
100
|
+
* @default null
|
|
101
|
+
*/
|
|
29
102
|
phaseIdCol: string;
|
|
103
|
+
/**
|
|
104
|
+
* Column containing phase name displayed
|
|
105
|
+
* @default null
|
|
106
|
+
*/
|
|
30
107
|
phaseNameCol: string;
|
|
108
|
+
/**
|
|
109
|
+
* Columns containing forecast phase duration, from (firstDate) to (secondDate)
|
|
110
|
+
* @default null
|
|
111
|
+
*/
|
|
31
112
|
phasePrevDates: string[];
|
|
113
|
+
/**
|
|
114
|
+
* Enable/disable display of secondary dates
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
showSecondaryDates: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Columns containing informations displayed in the left box, near the gantt
|
|
120
|
+
* @default null
|
|
121
|
+
*/
|
|
32
122
|
taskColumns: string[];
|
|
123
|
+
/**
|
|
124
|
+
* Columns containing task duration, from (firstDate) to (secondDate)
|
|
125
|
+
* @default null
|
|
126
|
+
*/
|
|
33
127
|
taskDates: string[];
|
|
128
|
+
/**
|
|
129
|
+
* Height for main gantt
|
|
130
|
+
* @default null
|
|
131
|
+
*/
|
|
132
|
+
taskHeight: number;
|
|
133
|
+
/**
|
|
134
|
+
* Column containing unique task identifier
|
|
135
|
+
* @default null
|
|
136
|
+
*/
|
|
34
137
|
taskIdCol: string;
|
|
138
|
+
/**
|
|
139
|
+
* Column containing task name displayed
|
|
140
|
+
* @default null
|
|
141
|
+
*/
|
|
35
142
|
taskNameCol: string;
|
|
143
|
+
/**
|
|
144
|
+
* Columns containing forecast task duration, from (firstDate) to (secondDate)
|
|
145
|
+
* @default null
|
|
146
|
+
*/
|
|
36
147
|
taskPrevDates: string[];
|
|
148
|
+
/**
|
|
149
|
+
* Message displayed on top
|
|
150
|
+
* @default null
|
|
151
|
+
*/
|
|
37
152
|
titleMess: string;
|
|
38
153
|
kupClick: EventEmitter<KupPlannerEventPayload>;
|
|
39
154
|
onKupClick(event: GanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
@@ -61,7 +176,7 @@ export declare class KupPlanner {
|
|
|
61
176
|
* @param data - Matrix which contains project phases
|
|
62
177
|
*/
|
|
63
178
|
addPhases(taskId: string, data: KupDataDataset): Promise<void>;
|
|
64
|
-
handleOnClick(nativeEvent:
|
|
179
|
+
handleOnClick(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
65
180
|
handleOnDateChange(nativeEvent: GanttRow): void;
|
|
66
181
|
componentWillLoad(): void;
|
|
67
182
|
componentDidLoad(): void;
|
|
@@ -44,6 +44,7 @@ import { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
|
|
|
44
44
|
import { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
|
|
45
45
|
import { KupNumericPickerEventPayload } from "./components/kup-numeric-picker/kup-numeric-picker-declarations";
|
|
46
46
|
import { KupPlannerEventPayload, KupPlannerPhase } from "./components/kup-planner/kup-planner-declarations";
|
|
47
|
+
import { TaskType } from "@sme.up/gantt-component/dist/types/public-types";
|
|
47
48
|
import { KupQlikGrid, QlikServer } from "./components/kup-qlik/kup-qlik-declarations";
|
|
48
49
|
import { KupRadioChangeEventPayload, KupRadioData } from "./components/kup-radio/kup-radio-declarations";
|
|
49
50
|
import { KupRatingClickEventPayload } from "./components/kup-rating/kup-rating-declarations";
|
|
@@ -90,6 +91,7 @@ export { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
|
|
|
90
91
|
export { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
|
|
91
92
|
export { KupNumericPickerEventPayload } from "./components/kup-numeric-picker/kup-numeric-picker-declarations";
|
|
92
93
|
export { KupPlannerEventPayload, KupPlannerPhase } from "./components/kup-planner/kup-planner-declarations";
|
|
94
|
+
export { TaskType } from "@sme.up/gantt-component/dist/types/public-types";
|
|
93
95
|
export { KupQlikGrid, QlikServer } from "./components/kup-qlik/kup-qlik-declarations";
|
|
94
96
|
export { KupRadioChangeEventPayload, KupRadioData } from "./components/kup-radio/kup-radio-declarations";
|
|
95
97
|
export { KupRatingClickEventPayload } from "./components/kup-rating/kup-rating-declarations";
|
|
@@ -2447,20 +2449,101 @@ export namespace Components {
|
|
|
2447
2449
|
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
2448
2450
|
*/
|
|
2449
2451
|
"customStyle": string;
|
|
2452
|
+
/**
|
|
2453
|
+
* Dataset containg the tasks list
|
|
2454
|
+
* @default null
|
|
2455
|
+
*/
|
|
2450
2456
|
"data": KupDataDataset;
|
|
2451
|
-
|
|
2457
|
+
/**
|
|
2458
|
+
* Column containing the detail color, in hex format
|
|
2459
|
+
* @default null
|
|
2460
|
+
*/
|
|
2461
|
+
"detailColorCol": string;
|
|
2462
|
+
/**
|
|
2463
|
+
* Columns containing informations displayed in the left box, near the gantt of details
|
|
2464
|
+
* @default null
|
|
2465
|
+
*/
|
|
2466
|
+
"detailColumns": string[];
|
|
2467
|
+
/**
|
|
2468
|
+
* Dataset containg the details list
|
|
2469
|
+
* @default null
|
|
2470
|
+
*/
|
|
2471
|
+
"detailData": KupDataDataset;
|
|
2472
|
+
/**
|
|
2473
|
+
* Columns containing detail duration, from (firstDate) to (secondDate)
|
|
2474
|
+
* @default null
|
|
2475
|
+
*/
|
|
2476
|
+
"detailDates": string[];
|
|
2477
|
+
/**
|
|
2478
|
+
* Height for detail gantt
|
|
2479
|
+
* @default null
|
|
2480
|
+
*/
|
|
2481
|
+
"detailHeight": number;
|
|
2482
|
+
/**
|
|
2483
|
+
* Column containing unique detail identifier
|
|
2484
|
+
* @default null
|
|
2485
|
+
*/
|
|
2486
|
+
"detailIdCol": string;
|
|
2487
|
+
/**
|
|
2488
|
+
* Column containing detail name displayed
|
|
2489
|
+
* @default null
|
|
2490
|
+
*/
|
|
2491
|
+
"detailNameCol": string;
|
|
2492
|
+
/**
|
|
2493
|
+
* Columns containing fForecast detail duration, from (firstDate) to (secondDate)
|
|
2494
|
+
* @default null
|
|
2495
|
+
*/
|
|
2496
|
+
"detailPrevDates": string[];
|
|
2452
2497
|
/**
|
|
2453
2498
|
* Used to retrieve component's props values.
|
|
2454
2499
|
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
2455
2500
|
* @returns List of props as object, each key will be a prop.
|
|
2456
2501
|
*/
|
|
2457
2502
|
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
2503
|
+
/**
|
|
2504
|
+
* Total size of the cells inside to the left box, near the gantt
|
|
2505
|
+
* @default '300px'
|
|
2506
|
+
*/
|
|
2507
|
+
"listCellWidth": string;
|
|
2508
|
+
/**
|
|
2509
|
+
* Max width for component
|
|
2510
|
+
* @default '90vw'
|
|
2511
|
+
*/
|
|
2512
|
+
"maxWidth": string;
|
|
2513
|
+
/**
|
|
2514
|
+
* Column containing the name of the parent phases
|
|
2515
|
+
* @default null
|
|
2516
|
+
*/
|
|
2458
2517
|
"phaseColParDep": string;
|
|
2518
|
+
/**
|
|
2519
|
+
* Column containing the phase color in hex format
|
|
2520
|
+
* @default null
|
|
2521
|
+
*/
|
|
2459
2522
|
"phaseColorCol": string;
|
|
2523
|
+
/**
|
|
2524
|
+
* Columns containing informations displayed in the left box ,near the gantt of phases
|
|
2525
|
+
* @default null
|
|
2526
|
+
*/
|
|
2460
2527
|
"phaseColumns": string[];
|
|
2528
|
+
/**
|
|
2529
|
+
* Columns containing phase duration, from (firstDate) to (secondDate)
|
|
2530
|
+
* @default null
|
|
2531
|
+
*/
|
|
2461
2532
|
"phaseDates": string[];
|
|
2533
|
+
/**
|
|
2534
|
+
* Column containing unique phase identifier
|
|
2535
|
+
* @default null
|
|
2536
|
+
*/
|
|
2462
2537
|
"phaseIdCol": string;
|
|
2538
|
+
/**
|
|
2539
|
+
* Column containing phase name displayed
|
|
2540
|
+
* @default null
|
|
2541
|
+
*/
|
|
2463
2542
|
"phaseNameCol": string;
|
|
2543
|
+
/**
|
|
2544
|
+
* Columns containing forecast phase duration, from (firstDate) to (secondDate)
|
|
2545
|
+
* @default null
|
|
2546
|
+
*/
|
|
2464
2547
|
"phasePrevDates": string[];
|
|
2465
2548
|
/**
|
|
2466
2549
|
* This method is used to trigger a new render of the component.
|
|
@@ -2471,11 +2554,45 @@ export namespace Components {
|
|
|
2471
2554
|
* @param props - Object containing props that will be set to the component.
|
|
2472
2555
|
*/
|
|
2473
2556
|
"setProps": (props: GenericObject) => Promise<void>;
|
|
2557
|
+
/**
|
|
2558
|
+
* Enable/disable display of secondary dates
|
|
2559
|
+
* @default false
|
|
2560
|
+
*/
|
|
2561
|
+
"showSecondaryDates": boolean;
|
|
2562
|
+
/**
|
|
2563
|
+
* Columns containing informations displayed in the left box, near the gantt
|
|
2564
|
+
* @default null
|
|
2565
|
+
*/
|
|
2474
2566
|
"taskColumns": string[];
|
|
2567
|
+
/**
|
|
2568
|
+
* Columns containing task duration, from (firstDate) to (secondDate)
|
|
2569
|
+
* @default null
|
|
2570
|
+
*/
|
|
2475
2571
|
"taskDates": string[];
|
|
2572
|
+
/**
|
|
2573
|
+
* Height for main gantt
|
|
2574
|
+
* @default null
|
|
2575
|
+
*/
|
|
2576
|
+
"taskHeight": number;
|
|
2577
|
+
/**
|
|
2578
|
+
* Column containing unique task identifier
|
|
2579
|
+
* @default null
|
|
2580
|
+
*/
|
|
2476
2581
|
"taskIdCol": string;
|
|
2582
|
+
/**
|
|
2583
|
+
* Column containing task name displayed
|
|
2584
|
+
* @default null
|
|
2585
|
+
*/
|
|
2477
2586
|
"taskNameCol": string;
|
|
2587
|
+
/**
|
|
2588
|
+
* Columns containing forecast task duration, from (firstDate) to (secondDate)
|
|
2589
|
+
* @default null
|
|
2590
|
+
*/
|
|
2478
2591
|
"taskPrevDates": string[];
|
|
2592
|
+
/**
|
|
2593
|
+
* Message displayed on top
|
|
2594
|
+
* @default null
|
|
2595
|
+
*/
|
|
2479
2596
|
"titleMess": string;
|
|
2480
2597
|
}
|
|
2481
2598
|
interface KupProbe {
|
|
@@ -5636,23 +5753,138 @@ declare namespace LocalJSX {
|
|
|
5636
5753
|
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
5637
5754
|
*/
|
|
5638
5755
|
"customStyle"?: string;
|
|
5756
|
+
/**
|
|
5757
|
+
* Dataset containg the tasks list
|
|
5758
|
+
* @default null
|
|
5759
|
+
*/
|
|
5639
5760
|
"data"?: KupDataDataset;
|
|
5640
|
-
|
|
5761
|
+
/**
|
|
5762
|
+
* Column containing the detail color, in hex format
|
|
5763
|
+
* @default null
|
|
5764
|
+
*/
|
|
5765
|
+
"detailColorCol"?: string;
|
|
5766
|
+
/**
|
|
5767
|
+
* Columns containing informations displayed in the left box, near the gantt of details
|
|
5768
|
+
* @default null
|
|
5769
|
+
*/
|
|
5770
|
+
"detailColumns"?: string[];
|
|
5771
|
+
/**
|
|
5772
|
+
* Dataset containg the details list
|
|
5773
|
+
* @default null
|
|
5774
|
+
*/
|
|
5775
|
+
"detailData"?: KupDataDataset;
|
|
5776
|
+
/**
|
|
5777
|
+
* Columns containing detail duration, from (firstDate) to (secondDate)
|
|
5778
|
+
* @default null
|
|
5779
|
+
*/
|
|
5780
|
+
"detailDates"?: string[];
|
|
5781
|
+
/**
|
|
5782
|
+
* Height for detail gantt
|
|
5783
|
+
* @default null
|
|
5784
|
+
*/
|
|
5785
|
+
"detailHeight"?: number;
|
|
5786
|
+
/**
|
|
5787
|
+
* Column containing unique detail identifier
|
|
5788
|
+
* @default null
|
|
5789
|
+
*/
|
|
5790
|
+
"detailIdCol"?: string;
|
|
5791
|
+
/**
|
|
5792
|
+
* Column containing detail name displayed
|
|
5793
|
+
* @default null
|
|
5794
|
+
*/
|
|
5795
|
+
"detailNameCol"?: string;
|
|
5796
|
+
/**
|
|
5797
|
+
* Columns containing fForecast detail duration, from (firstDate) to (secondDate)
|
|
5798
|
+
* @default null
|
|
5799
|
+
*/
|
|
5800
|
+
"detailPrevDates"?: string[];
|
|
5801
|
+
/**
|
|
5802
|
+
* Total size of the cells inside to the left box, near the gantt
|
|
5803
|
+
* @default '300px'
|
|
5804
|
+
*/
|
|
5805
|
+
"listCellWidth"?: string;
|
|
5806
|
+
/**
|
|
5807
|
+
* Max width for component
|
|
5808
|
+
* @default '90vw'
|
|
5809
|
+
*/
|
|
5810
|
+
"maxWidth"?: string;
|
|
5641
5811
|
"onKup-planner-click"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
|
|
5642
5812
|
"onKup-planner-datechange"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
|
|
5643
5813
|
"onKup-planner-ready"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
|
|
5814
|
+
/**
|
|
5815
|
+
* Column containing the name of the parent phases
|
|
5816
|
+
* @default null
|
|
5817
|
+
*/
|
|
5644
5818
|
"phaseColParDep"?: string;
|
|
5819
|
+
/**
|
|
5820
|
+
* Column containing the phase color in hex format
|
|
5821
|
+
* @default null
|
|
5822
|
+
*/
|
|
5645
5823
|
"phaseColorCol"?: string;
|
|
5824
|
+
/**
|
|
5825
|
+
* Columns containing informations displayed in the left box ,near the gantt of phases
|
|
5826
|
+
* @default null
|
|
5827
|
+
*/
|
|
5646
5828
|
"phaseColumns"?: string[];
|
|
5829
|
+
/**
|
|
5830
|
+
* Columns containing phase duration, from (firstDate) to (secondDate)
|
|
5831
|
+
* @default null
|
|
5832
|
+
*/
|
|
5647
5833
|
"phaseDates"?: string[];
|
|
5834
|
+
/**
|
|
5835
|
+
* Column containing unique phase identifier
|
|
5836
|
+
* @default null
|
|
5837
|
+
*/
|
|
5648
5838
|
"phaseIdCol"?: string;
|
|
5839
|
+
/**
|
|
5840
|
+
* Column containing phase name displayed
|
|
5841
|
+
* @default null
|
|
5842
|
+
*/
|
|
5649
5843
|
"phaseNameCol"?: string;
|
|
5844
|
+
/**
|
|
5845
|
+
* Columns containing forecast phase duration, from (firstDate) to (secondDate)
|
|
5846
|
+
* @default null
|
|
5847
|
+
*/
|
|
5650
5848
|
"phasePrevDates"?: string[];
|
|
5849
|
+
/**
|
|
5850
|
+
* Enable/disable display of secondary dates
|
|
5851
|
+
* @default false
|
|
5852
|
+
*/
|
|
5853
|
+
"showSecondaryDates"?: boolean;
|
|
5854
|
+
/**
|
|
5855
|
+
* Columns containing informations displayed in the left box, near the gantt
|
|
5856
|
+
* @default null
|
|
5857
|
+
*/
|
|
5651
5858
|
"taskColumns"?: string[];
|
|
5859
|
+
/**
|
|
5860
|
+
* Columns containing task duration, from (firstDate) to (secondDate)
|
|
5861
|
+
* @default null
|
|
5862
|
+
*/
|
|
5652
5863
|
"taskDates"?: string[];
|
|
5864
|
+
/**
|
|
5865
|
+
* Height for main gantt
|
|
5866
|
+
* @default null
|
|
5867
|
+
*/
|
|
5868
|
+
"taskHeight"?: number;
|
|
5869
|
+
/**
|
|
5870
|
+
* Column containing unique task identifier
|
|
5871
|
+
* @default null
|
|
5872
|
+
*/
|
|
5653
5873
|
"taskIdCol"?: string;
|
|
5874
|
+
/**
|
|
5875
|
+
* Column containing task name displayed
|
|
5876
|
+
* @default null
|
|
5877
|
+
*/
|
|
5654
5878
|
"taskNameCol"?: string;
|
|
5879
|
+
/**
|
|
5880
|
+
* Columns containing forecast task duration, from (firstDate) to (secondDate)
|
|
5881
|
+
* @default null
|
|
5882
|
+
*/
|
|
5655
5883
|
"taskPrevDates"?: string[];
|
|
5884
|
+
/**
|
|
5885
|
+
* Message displayed on top
|
|
5886
|
+
* @default null
|
|
5887
|
+
*/
|
|
5656
5888
|
"titleMess"?: string;
|
|
5657
5889
|
}
|
|
5658
5890
|
interface KupProbe {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"smeup",
|
|
6
6
|
"KetchUP",
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
"test:spec": "npm run build:setup && stencil test --spec",
|
|
35
35
|
"test:e2e": "npm run build:setup && stencil test --e2e",
|
|
36
36
|
"test": "npm run build:setup && stencil test --spec --e2e",
|
|
37
|
-
"test.watch": "npm run build:setup && stencil test --spec --e2e --watchAll"
|
|
37
|
+
"test.watch": "npm run build:setup && stencil test --spec --e2e --watchAll",
|
|
38
|
+
"react:dev": "npx link ../../../gantt-component && cd ../../../gantt-component && npx link ../ketchup/packages/ketchup/node_modules/react ../ketchup/packages/ketchup/node_modules/react-dom && cd ../ketchup/packages/ketchup",
|
|
39
|
+
"jenkins:react:dev": "npx link ../../../GanttComponent-Develop-Continuum && cd ../../../GanttComponent-Develop-Continuum && npx link ../KetchUP-Develop-Continuum/packages/ketchup/node_modules/react ../KetchUP-Develop-Continuum/packages/ketchup/node_modules/react-dom && cd ../KetchUP-Develop-Continuum/packages/ketchup"
|
|
38
40
|
},
|
|
39
41
|
"dependencies": {
|
|
40
42
|
"@fullcalendar/core": "^5.11.0",
|
|
@@ -45,7 +47,7 @@
|
|
|
45
47
|
"@material/form-field": "^14.0.0",
|
|
46
48
|
"@material/ripple": "^14.0.0",
|
|
47
49
|
"@material/textfield": "^14.0.0",
|
|
48
|
-
"@sme.up/gantt-component": "^1.3.
|
|
50
|
+
"@sme.up/gantt-component": "^1.3.20",
|
|
49
51
|
"d3-shape": "^3.1.0",
|
|
50
52
|
"dayjs": "^1.11.1",
|
|
51
53
|
"echarts": "^5.3.2",
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
"vanilla-picker": "^2.12.1"
|
|
60
62
|
},
|
|
61
63
|
"devDependencies": {
|
|
62
|
-
"@stencil/core": "^3.0
|
|
64
|
+
"@stencil/core": "^3.1.0",
|
|
63
65
|
"@stencil/sass": "^1.4.1",
|
|
64
66
|
"@stencil/react-output-target": "0.3.1",
|
|
65
67
|
"@types/d3-shape": "^3.0.2",
|