@sme.up/ketchup 7.5.0-SNAPSHOT → 8.0.1
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/{component-72a5b626.js → component-85c2bd4d.js} +1 -1
- package/dist/cjs/{f-button-a508a0a1.js → f-button-c0ede055.js} +1 -1
- package/dist/cjs/{f-cell-52d724f5.js → f-cell-1c17dbac.js} +15 -8
- package/dist/cjs/{f-chip-cbb70aed.js → f-chip-bace36bb.js} +2 -2
- package/dist/cjs/{f-image-510563ed.js → f-image-22174590.js} +1 -1
- package/dist/cjs/{f-paginator-utils-ff531caa.js → f-paginator-utils-e21e1f06.js} +2 -2
- package/dist/cjs/{f-text-field-d17e5aa0.js → f-text-field-503f2bb0.js} +82 -8
- package/dist/cjs/{f-text-field-mdc-85997738.js → f-text-field-mdc-0e22f3e3.js} +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +851 -824
- package/dist/cjs/kup-box.cjs.entry.js +10 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -3
- package/dist/cjs/kup-dash_2.cjs.entry.js +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +7 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +25 -8
- package/dist/cjs/kup-family-tree.cjs.entry.js +7 -18
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-9e1680dd.js → kup-manager-b994cf71.js} +164 -16
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +1041 -192
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +12 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tslib.es6-0ee02c67.js → tslib.es6-386654de.js} +9 -5
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/components/kup-chip/kup-chip.js +4 -3
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +5 -16
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +2 -0
- package/dist/collection/components/kup-echart/kup-echart.js +23 -8
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +4 -15
- package/dist/collection/components/kup-planner/kup-planner-declarations.js +1 -0
- package/dist/collection/components/kup-planner/kup-planner.css +1 -3
- package/dist/collection/components/kup-planner/kup-planner.js +302 -72
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -3
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +27 -0
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +109 -10
- package/dist/collection/components/kup-tree/kup-tree.js +66 -67
- package/dist/collection/f-components/f-cell/f-cell.js +12 -5
- package/dist/collection/f-components/f-text-field/f-text-field.js +80 -6
- package/dist/collection/managers/kup-manager/kup-manager.js +18 -0
- package/dist/collection/managers/kup-math/kup-math.js +85 -4
- package/dist/collection/utils/utils.js +1 -10
- package/dist/components/kup-autocomplete2.js +648 -386
- package/dist/components/kup-dash-list.js +2 -3
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +25 -8
- package/dist/components/kup-family-tree.js +5 -16
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +1041 -189
- package/dist/components/kup-snackbar.js +9 -1
- package/dist/esm/{component-b1bedf1d.js → component-120651a0.js} +1 -1
- package/dist/esm/{f-button-b7f77b26.js → f-button-c377973d.js} +1 -1
- package/dist/esm/{f-cell-dc3beffe.js → f-cell-e5a98bc8.js} +15 -8
- package/dist/esm/{f-chip-0a678211.js → f-chip-c8a18c48.js} +2 -2
- package/dist/esm/{f-image-f84dbd7c.js → f-image-5cbdf39d.js} +1 -1
- package/dist/esm/{f-paginator-utils-52902bd6.js → f-paginator-utils-a1dab059.js} +2 -2
- package/dist/esm/{f-text-field-7dd143be.js → f-text-field-dafb7c8b.js} +82 -8
- package/dist/esm/{f-text-field-mdc-d42d3f9e.js → f-text-field-mdc-cee583ea.js} +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-autocomplete_27.entry.js +851 -824
- package/dist/esm/kup-box.entry.js +10 -10
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dash-list.entry.js +2 -3
- package/dist/esm/kup-dash_2.entry.js +1 -1
- package/dist/esm/kup-dashboard.entry.js +7 -7
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +25 -8
- package/dist/esm/kup-family-tree.entry.js +7 -18
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-a5ab58a0.js → kup-manager-3594cde8.js} +163 -16
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +5 -5
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +1042 -193
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +12 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tslib.es6-3eea2234.js → tslib.es6-8c2af864.js} +9 -5
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-98ff4101.entry.js → p-017418e7.entry.js} +1 -1
- package/dist/ketchup/{p-81605f08.js → p-10d84b1b.js} +1 -1
- package/dist/ketchup/{p-871cfe60.entry.js → p-22e72f06.entry.js} +1 -1
- package/dist/ketchup/{p-a203f78b.js → p-27a56c87.js} +1 -1
- package/dist/ketchup/{p-7065b172.js → p-2d32e3cd.js} +1 -1
- package/dist/ketchup/{p-a122b8d3.entry.js → p-31abf4b6.entry.js} +1 -1
- package/dist/ketchup/{p-beb0907a.entry.js → p-37ada0f0.entry.js} +1 -1
- package/dist/ketchup/p-38f16697.entry.js +9 -0
- package/dist/ketchup/{p-69f3b9da.js → p-4638fbff.js} +1 -1
- package/dist/ketchup/{p-00fc0f80.entry.js → p-473d2bea.entry.js} +1 -1
- package/dist/ketchup/{p-166257d0.entry.js → p-4c56e199.entry.js} +1 -1
- package/dist/ketchup/p-5205286a.entry.js +25 -0
- package/dist/ketchup/p-61319cfa.js +1 -0
- package/dist/ketchup/{p-de34eb56.js → p-6762d447.js} +1 -1
- package/dist/ketchup/{p-7040cab7.entry.js → p-6c726886.entry.js} +1 -1
- package/dist/ketchup/p-7be5ef32.entry.js +1 -0
- package/dist/ketchup/{p-e92d1972.entry.js → p-7f4f5f0f.entry.js} +1 -1
- package/dist/ketchup/p-7f59211b.js +1 -0
- package/dist/ketchup/{p-78d1fc60.entry.js → p-80815edf.entry.js} +1 -1
- package/dist/ketchup/p-8b248655.js +1 -0
- package/dist/ketchup/{p-a32cc181.entry.js → p-9fc6a9a8.entry.js} +1 -1
- package/dist/ketchup/{p-4fd6c34c.js → p-acaa171f.js} +3 -3
- package/dist/ketchup/{p-6022c951.entry.js → p-afff7a6e.entry.js} +1 -1
- package/dist/ketchup/{p-d315f7fa.entry.js → p-b718af72.entry.js} +1 -1
- package/dist/ketchup/p-bf4a881b.js +1 -0
- package/dist/ketchup/{p-c797ab39.entry.js → p-ce5b6ce7.entry.js} +1 -1
- package/dist/ketchup/p-cf322853.entry.js +1 -0
- package/dist/ketchup/{p-d2670436.entry.js → p-d1164680.entry.js} +1 -1
- package/dist/ketchup/{p-efb80719.entry.js → p-d4eb9a76.entry.js} +1 -1
- package/dist/ketchup/p-d76be079.entry.js +1 -0
- package/dist/ketchup/{p-d711e9ae.entry.js → p-ed7e118e.entry.js} +1 -1
- package/dist/ketchup/{p-f158836b.entry.js → p-ef0b4f19.entry.js} +2 -2
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -0
- package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +15 -2
- package/dist/types/components/kup-planner/kup-planner.d.ts +36 -11
- package/dist/types/components/kup-snackbar/kup-snackbar.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +20 -2
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -5
- package/dist/types/components.d.ts +72 -4
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +3 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -1
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +1 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +7 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +6 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +26 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +6 -18
- package/dist/ketchup/p-28efed63.js +0 -1
- package/dist/ketchup/p-3ae1409f.entry.js +0 -1
- package/dist/ketchup/p-71cb80ac.entry.js +0 -9
- package/dist/ketchup/p-79b0730b.js +0 -15
- package/dist/ketchup/p-8d0e6825.entry.js +0 -1
- package/dist/ketchup/p-9ae47a0d.entry.js +0 -1
- package/dist/ketchup/p-c5c6a2fb.js +0 -1
- package/dist/ketchup/p-d1e3573f.js +0 -1
- package/dist/ketchup/p-f69a6d89.entry.js +0 -10
|
@@ -6,8 +6,8 @@ export declare class KupDataTableState implements KupState {
|
|
|
6
6
|
expandGroups: boolean;
|
|
7
7
|
groupLabelDisplay: GroupLabelDisplayMode;
|
|
8
8
|
density: string;
|
|
9
|
-
enableSortableColumns: boolean;
|
|
10
9
|
enableExtraColumns: boolean;
|
|
10
|
+
enableSortableColumns: boolean;
|
|
11
11
|
forceOneLine: boolean;
|
|
12
12
|
globalFilter: boolean;
|
|
13
13
|
globalFilterValue: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Detail, GanttTask } from '@sme.up/gantt-component';
|
|
2
3
|
import { Phase } from '@sme.up/gantt-component';
|
|
3
4
|
import { GanttRow } from '@sme.up/gantt-component';
|
|
4
5
|
import { KupEventPayload } from '../../components';
|
|
5
|
-
import { KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
6
|
+
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
7
|
+
import { KupDataTableCell } from '../kup-data-table/kup-data-table-declarations';
|
|
6
8
|
/**
|
|
7
9
|
* Props of the kup-gantt component.
|
|
8
10
|
* Used to export every prop in an object.
|
|
@@ -40,12 +42,22 @@ export declare enum KupPlannerTaskAction {
|
|
|
40
42
|
onTaskOpening = "onTaskOpening",
|
|
41
43
|
onTaskClosing = "onTaskClosing",
|
|
42
44
|
onClick = "onClick",
|
|
43
|
-
onResize = "onResize"
|
|
45
|
+
onResize = "onResize",
|
|
46
|
+
onRightClick = "onRightClick"
|
|
44
47
|
}
|
|
45
48
|
export interface KupPlannerEventPayload extends KupEventPayload {
|
|
46
49
|
value: GanttRow;
|
|
47
50
|
taskAction?: KupPlannerTaskAction;
|
|
48
51
|
}
|
|
52
|
+
export interface KupPlannerClickEventPayload extends KupPlannerEventPayload {
|
|
53
|
+
details: KupPlannerEventHandlerDetails;
|
|
54
|
+
}
|
|
55
|
+
export interface KupPlannerEventHandlerDetails {
|
|
56
|
+
cell: KupDataTableCell;
|
|
57
|
+
column: KupDataColumn;
|
|
58
|
+
originalEvent: React.MouseEvent<Element, MouseEvent>;
|
|
59
|
+
row: KupDataRow;
|
|
60
|
+
}
|
|
49
61
|
export declare enum KupPlannerGanttRowType {
|
|
50
62
|
TASK = "task",
|
|
51
63
|
PHASE = "phase",
|
|
@@ -58,6 +70,7 @@ export interface KupPlannerGanttTask extends GanttTask {
|
|
|
58
70
|
}
|
|
59
71
|
export interface KupPlannerDetail extends Detail {
|
|
60
72
|
rowType: KupPlannerGanttRowType;
|
|
73
|
+
detailRow: KupDataRow;
|
|
61
74
|
}
|
|
62
75
|
export interface KupPlannerPhase extends Phase {
|
|
63
76
|
taskRowId: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { GenericObject } from '../../types/GenericTypes';
|
|
3
|
-
import { KupPlannerEventPayload, KupPlannerGanttTask, KupPlannerPhase, KupPlannerTaskAction, KupPlannerDetail } from './kup-planner-declarations';
|
|
3
|
+
import { KupPlannerEventPayload, KupPlannerGanttTask, KupPlannerPhase, KupPlannerTaskAction, KupPlannerDetail, KupPlannerClickEventPayload } from './kup-planner-declarations';
|
|
4
|
+
import React from 'react';
|
|
4
5
|
import { KupDataDataset } from '../../managers/kup-data/kup-data-declarations';
|
|
5
6
|
import { GanttRow, PlannerProps } from '@sme.up/gantt-component';
|
|
6
7
|
export declare class KupPlanner {
|
|
@@ -9,11 +10,6 @@ export declare class KupPlanner {
|
|
|
9
10
|
* References the root HTML element of the component (<kup-planner>).
|
|
10
11
|
*/
|
|
11
12
|
rootElement: HTMLElement;
|
|
12
|
-
/**
|
|
13
|
-
* The value of the component.
|
|
14
|
-
* @default ""
|
|
15
|
-
*/
|
|
16
|
-
plannerProps: PlannerProps;
|
|
17
13
|
/**
|
|
18
14
|
* Custom style of the component.
|
|
19
15
|
* @default ""
|
|
@@ -50,6 +46,11 @@ export declare class KupPlanner {
|
|
|
50
46
|
* @default null
|
|
51
47
|
*/
|
|
52
48
|
detailHeight: number;
|
|
49
|
+
/**
|
|
50
|
+
* Column containing icon name to show, for detail
|
|
51
|
+
* @default null
|
|
52
|
+
*/
|
|
53
|
+
detailIconCol: string;
|
|
53
54
|
/**
|
|
54
55
|
* Column containing unique detail identifier
|
|
55
56
|
* @default null
|
|
@@ -61,7 +62,7 @@ export declare class KupPlanner {
|
|
|
61
62
|
*/
|
|
62
63
|
detailNameCol: string;
|
|
63
64
|
/**
|
|
64
|
-
* Columns containing
|
|
65
|
+
* Columns containing forecast detail duration, from (firstDate) to (secondDate)
|
|
65
66
|
* @default null
|
|
66
67
|
*/
|
|
67
68
|
detailPrevDates: string[];
|
|
@@ -95,6 +96,11 @@ export declare class KupPlanner {
|
|
|
95
96
|
* @default null
|
|
96
97
|
*/
|
|
97
98
|
phaseDates: string[];
|
|
99
|
+
/**
|
|
100
|
+
* Column containing icon name to show, for phase
|
|
101
|
+
* @default null
|
|
102
|
+
*/
|
|
103
|
+
phaseIconCol: string;
|
|
98
104
|
/**
|
|
99
105
|
* Column containing unique phase identifier
|
|
100
106
|
* @default null
|
|
@@ -130,6 +136,11 @@ export declare class KupPlanner {
|
|
|
130
136
|
* @default null
|
|
131
137
|
*/
|
|
132
138
|
taskHeight: number;
|
|
139
|
+
/**
|
|
140
|
+
* Column containing icon name to show, for task
|
|
141
|
+
* @default null
|
|
142
|
+
*/
|
|
143
|
+
taskIconCol: string;
|
|
133
144
|
/**
|
|
134
145
|
* Column containing unique task identifier
|
|
135
146
|
* @default null
|
|
@@ -150,11 +161,20 @@ export declare class KupPlanner {
|
|
|
150
161
|
* @default null
|
|
151
162
|
*/
|
|
152
163
|
titleMess: string;
|
|
164
|
+
/**
|
|
165
|
+
* The value of the component.
|
|
166
|
+
* @default ""
|
|
167
|
+
*/
|
|
168
|
+
plannerProps: PlannerProps;
|
|
169
|
+
dataChanged(): void;
|
|
170
|
+
showSecondaryDatesChanged(): void;
|
|
153
171
|
kupClick: EventEmitter<KupPlannerEventPayload>;
|
|
154
|
-
onKupClick(event: GanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
155
172
|
kupDateChange: EventEmitter<KupPlannerEventPayload>;
|
|
156
|
-
onKupDateChange(event: GanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
157
173
|
kupReady: EventEmitter<KupPlannerEventPayload>;
|
|
174
|
+
/**
|
|
175
|
+
* Generic right click event on planner.
|
|
176
|
+
*/
|
|
177
|
+
kupContextMenu: EventEmitter<KupPlannerClickEventPayload>;
|
|
158
178
|
/**
|
|
159
179
|
* Used to retrieve component's props values.
|
|
160
180
|
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -176,12 +196,17 @@ export declare class KupPlanner {
|
|
|
176
196
|
* @param data - Matrix which contains project phases
|
|
177
197
|
*/
|
|
178
198
|
addPhases(taskId: string, data: KupDataDataset): Promise<void>;
|
|
179
|
-
handleOnClick(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
180
|
-
handleOnDateChange(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
181
199
|
componentWillLoad(): void;
|
|
182
200
|
componentDidLoad(): void;
|
|
183
201
|
componentWillRender(): void;
|
|
184
202
|
componentDidRender(): void;
|
|
203
|
+
onKupClick(event: GanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
204
|
+
onKupContextMenu(event: React.MouseEvent<Element, MouseEvent>, ganttRow: GanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
205
|
+
onKupDateChange(event: GanttRow, taskAction?: KupPlannerTaskAction): void;
|
|
206
|
+
handleOnClick(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
207
|
+
handleOnContextMenu(event: React.MouseEvent<Element, MouseEvent>, row: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
208
|
+
handleOnSetDoubleView(checked: boolean): void;
|
|
209
|
+
handleOnDateChange(nativeEvent: KupPlannerGanttTask | KupPlannerPhase | KupPlannerDetail): void;
|
|
185
210
|
render(): any;
|
|
186
211
|
disconnectedCallback(): void;
|
|
187
212
|
}
|
|
@@ -47,6 +47,11 @@ export declare class KupSnackbar {
|
|
|
47
47
|
*/
|
|
48
48
|
kupActionClick: EventEmitter<KupEventPayload>;
|
|
49
49
|
onKupActionClick(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Triggered when the snackbar's hidden timeout is complete.
|
|
52
|
+
*/
|
|
53
|
+
kupTimeoutComplete: EventEmitter<KupEventPayload>;
|
|
54
|
+
onKupTimeoutComplete(): void;
|
|
50
55
|
/**
|
|
51
56
|
* Used to retrieve component's props values.
|
|
52
57
|
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -4,11 +4,13 @@ import { KupEventPayload } from '../../types/GenericTypes';
|
|
|
4
4
|
* Used to export every prop in an object.
|
|
5
5
|
*/
|
|
6
6
|
export declare enum KupTextFieldProps {
|
|
7
|
+
allowNegative = "When true, could be input negative numbers. It has effect only with number input type.",
|
|
7
8
|
customStyle = "Custom style of the component.",
|
|
8
9
|
decimals = "Number of decimals (should be used when inputType is number).",
|
|
9
10
|
disabled = "When set to true, the component is disabled.",
|
|
10
11
|
emitSubmitEventOnEnter = "When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit.",
|
|
11
12
|
fullWidth = "When set to true, the component will be rendered at full width.",
|
|
13
|
+
group = "When true, the number will be formatted with group separator. It has effect only with number input type.",
|
|
12
14
|
helper = "When set, its content will be shown as a help text below the field.",
|
|
13
15
|
helperEnabled = "When true, the helper will be displayed.",
|
|
14
16
|
helperWhenFocused = "When set, the helper will be shown only when the field is focused.",
|
|
@@ -16,6 +18,7 @@ export declare enum KupTextFieldProps {
|
|
|
16
18
|
initialValue = "Sets the initial value of the component",
|
|
17
19
|
inputMode = "The HTML inputmode of the input element. It has no effect on text areas.",
|
|
18
20
|
inputType = "The HTML type of the input element. It has no effect on text areas.",
|
|
21
|
+
integers = "Number of integers (should be used when inputType is number).",
|
|
19
22
|
isClearable = "Enables a clear trailing icon.",
|
|
20
23
|
label = "When set, its content will be shown as a label.",
|
|
21
24
|
leadingLabel = "When set to true, the label will be on the left of the component.",
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
3
3
|
import { KupTextFieldEventPayload } from './kup-text-field-declarations';
|
|
4
4
|
export declare class KupTextField {
|
|
5
|
+
#private;
|
|
5
6
|
/**
|
|
6
7
|
* References the root HTML element of the component (<kup-text-field>).
|
|
7
8
|
*/
|
|
@@ -11,6 +12,11 @@ export declare class KupTextField {
|
|
|
11
12
|
* @default ""
|
|
12
13
|
*/
|
|
13
14
|
value: string;
|
|
15
|
+
/**
|
|
16
|
+
* When true, could be input negative numbers (should be used when inputType is number).
|
|
17
|
+
* @default null
|
|
18
|
+
*/
|
|
19
|
+
allowNegative: boolean;
|
|
14
20
|
/**
|
|
15
21
|
* Custom style of the component.
|
|
16
22
|
* @default ""
|
|
@@ -37,6 +43,11 @@ export declare class KupTextField {
|
|
|
37
43
|
* @default false
|
|
38
44
|
*/
|
|
39
45
|
fullWidth: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* When true, the number will be formatted with group separator (should be used when inputType is number).
|
|
48
|
+
* @default null
|
|
49
|
+
*/
|
|
50
|
+
group: boolean;
|
|
40
51
|
/**
|
|
41
52
|
* When set, its content will be shown as a help text below the field.
|
|
42
53
|
* @default null
|
|
@@ -72,6 +83,11 @@ export declare class KupTextField {
|
|
|
72
83
|
* @default "text"
|
|
73
84
|
*/
|
|
74
85
|
inputType: string;
|
|
86
|
+
/**
|
|
87
|
+
* Number of integers (should be used when inputType is number).
|
|
88
|
+
* @default null
|
|
89
|
+
*/
|
|
90
|
+
integers: number;
|
|
75
91
|
/**
|
|
76
92
|
* Enables a clear trailing icon.
|
|
77
93
|
* @default false
|
|
@@ -188,7 +204,7 @@ export declare class KupTextField {
|
|
|
188
204
|
onKupClick(event: MouseEvent & {
|
|
189
205
|
target: HTMLInputElement;
|
|
190
206
|
}): void;
|
|
191
|
-
onKupFocus(
|
|
207
|
+
onKupFocus(_event: FocusEvent & {
|
|
192
208
|
target: HTMLInputElement;
|
|
193
209
|
}): void;
|
|
194
210
|
onKupInput(event: UIEvent & {
|
|
@@ -198,7 +214,9 @@ export declare class KupTextField {
|
|
|
198
214
|
target: HTMLInputElement;
|
|
199
215
|
}): void;
|
|
200
216
|
onKupClearIconClick(): void;
|
|
201
|
-
onKeyDown(event: KeyboardEvent
|
|
217
|
+
onKeyDown(event: KeyboardEvent & {
|
|
218
|
+
target: HTMLInputElement;
|
|
219
|
+
}): void;
|
|
202
220
|
/**
|
|
203
221
|
* Used to retrieve component's props values.
|
|
204
222
|
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
@@ -8,6 +8,7 @@ import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
|
8
8
|
import { FCellPadding } from '../../f-components/f-cell/f-cell-declarations';
|
|
9
9
|
import { KupDataColumn, KupDataDataset, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
10
10
|
export declare class KupTree {
|
|
11
|
+
#private;
|
|
11
12
|
/**
|
|
12
13
|
* References the root HTML element of the component (<kup-tree>).
|
|
13
14
|
*/
|
|
@@ -153,10 +154,6 @@ export declare class KupTree {
|
|
|
153
154
|
* Defines the current totals options.
|
|
154
155
|
*/
|
|
155
156
|
totals: TotalsMap;
|
|
156
|
-
/**
|
|
157
|
-
* Instance of the KupManager class.
|
|
158
|
-
*/
|
|
159
|
-
private kupManager;
|
|
160
157
|
/**
|
|
161
158
|
* Reference to the column menu card.
|
|
162
159
|
*/
|
|
@@ -298,7 +295,6 @@ export declare class KupTree {
|
|
|
298
295
|
private onTotalMenuOpen;
|
|
299
296
|
private getEventDetails;
|
|
300
297
|
private contextMenuHandler;
|
|
301
|
-
private getEventPath;
|
|
302
298
|
hdlTreeNodeClick(e: MouseEvent, treeNodeData: KupTreeNode, treeNodePath: string): void;
|
|
303
299
|
hdlTreeNodeExpanderClick(treeNodeData: KupTreeNode, treeNodePath: string, ctrlKey: boolean): void;
|
|
304
300
|
private hasTotals;
|
|
@@ -43,7 +43,7 @@ import { KupImageListEventPayload } from "./components/kup-image-list/kup-image-
|
|
|
43
43
|
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
|
-
import { KupPlannerEventPayload, KupPlannerPhase } from "./components/kup-planner/kup-planner-declarations";
|
|
46
|
+
import { KupPlannerClickEventPayload, KupPlannerEventPayload, KupPlannerPhase } from "./components/kup-planner/kup-planner-declarations";
|
|
47
47
|
import { TaskType } from "@sme.up/gantt-component/dist/types/public-types";
|
|
48
48
|
import { KupQlikGrid, QlikServer } from "./components/kup-qlik/kup-qlik-declarations";
|
|
49
49
|
import { KupRadioChangeEventPayload, KupRadioData } from "./components/kup-radio/kup-radio-declarations";
|
|
@@ -90,7 +90,7 @@ export { KupImageListEventPayload } from "./components/kup-image-list/kup-image-
|
|
|
90
90
|
export { KupLazyRender } from "./components/kup-lazy/kup-lazy-declarations";
|
|
91
91
|
export { KupNavBarStyling } from "./components/kup-nav-bar/kup-nav-bar-declarations";
|
|
92
92
|
export { KupNumericPickerEventPayload } from "./components/kup-numeric-picker/kup-numeric-picker-declarations";
|
|
93
|
-
export { KupPlannerEventPayload, KupPlannerPhase } from "./components/kup-planner/kup-planner-declarations";
|
|
93
|
+
export { KupPlannerClickEventPayload, KupPlannerEventPayload, KupPlannerPhase } from "./components/kup-planner/kup-planner-declarations";
|
|
94
94
|
export { TaskType } from "@sme.up/gantt-component/dist/types/public-types";
|
|
95
95
|
export { KupQlikGrid, QlikServer } from "./components/kup-qlik/kup-qlik-declarations";
|
|
96
96
|
export { KupRadioChangeEventPayload, KupRadioData } from "./components/kup-radio/kup-radio-declarations";
|
|
@@ -2479,6 +2479,11 @@ export namespace Components {
|
|
|
2479
2479
|
* @default null
|
|
2480
2480
|
*/
|
|
2481
2481
|
"detailHeight": number;
|
|
2482
|
+
/**
|
|
2483
|
+
* Column containing icon name to show, for detail
|
|
2484
|
+
* @default null
|
|
2485
|
+
*/
|
|
2486
|
+
"detailIconCol": string;
|
|
2482
2487
|
/**
|
|
2483
2488
|
* Column containing unique detail identifier
|
|
2484
2489
|
* @default null
|
|
@@ -2490,7 +2495,7 @@ export namespace Components {
|
|
|
2490
2495
|
*/
|
|
2491
2496
|
"detailNameCol": string;
|
|
2492
2497
|
/**
|
|
2493
|
-
* Columns containing
|
|
2498
|
+
* Columns containing forecast detail duration, from (firstDate) to (secondDate)
|
|
2494
2499
|
* @default null
|
|
2495
2500
|
*/
|
|
2496
2501
|
"detailPrevDates": string[];
|
|
@@ -2530,6 +2535,11 @@ export namespace Components {
|
|
|
2530
2535
|
* @default null
|
|
2531
2536
|
*/
|
|
2532
2537
|
"phaseDates": string[];
|
|
2538
|
+
/**
|
|
2539
|
+
* Column containing icon name to show, for phase
|
|
2540
|
+
* @default null
|
|
2541
|
+
*/
|
|
2542
|
+
"phaseIconCol": string;
|
|
2533
2543
|
/**
|
|
2534
2544
|
* Column containing unique phase identifier
|
|
2535
2545
|
* @default null
|
|
@@ -2574,6 +2584,11 @@ export namespace Components {
|
|
|
2574
2584
|
* @default null
|
|
2575
2585
|
*/
|
|
2576
2586
|
"taskHeight": number;
|
|
2587
|
+
/**
|
|
2588
|
+
* Column containing icon name to show, for task
|
|
2589
|
+
* @default null
|
|
2590
|
+
*/
|
|
2591
|
+
"taskIconCol": string;
|
|
2577
2592
|
/**
|
|
2578
2593
|
* Column containing unique task identifier
|
|
2579
2594
|
* @default null
|
|
@@ -2988,6 +3003,11 @@ export namespace Components {
|
|
|
2988
3003
|
"setProps": (props: GenericObject) => Promise<void>;
|
|
2989
3004
|
}
|
|
2990
3005
|
interface KupTextField {
|
|
3006
|
+
/**
|
|
3007
|
+
* When true, could be input negative numbers (should be used when inputType is number).
|
|
3008
|
+
* @default null
|
|
3009
|
+
*/
|
|
3010
|
+
"allowNegative": boolean;
|
|
2991
3011
|
/**
|
|
2992
3012
|
* Custom style of the component.
|
|
2993
3013
|
* @default ""
|
|
@@ -3024,6 +3044,11 @@ export namespace Components {
|
|
|
3024
3044
|
* Returns the component's internal value.
|
|
3025
3045
|
*/
|
|
3026
3046
|
"getValue": () => Promise<string>;
|
|
3047
|
+
/**
|
|
3048
|
+
* When true, the number will be formatted with group separator (should be used when inputType is number).
|
|
3049
|
+
* @default null
|
|
3050
|
+
*/
|
|
3051
|
+
"group": boolean;
|
|
3027
3052
|
/**
|
|
3028
3053
|
* When set, its content will be shown as a help text below the field.
|
|
3029
3054
|
* @default null
|
|
@@ -3059,6 +3084,11 @@ export namespace Components {
|
|
|
3059
3084
|
* @default "text"
|
|
3060
3085
|
*/
|
|
3061
3086
|
"inputType": string;
|
|
3087
|
+
/**
|
|
3088
|
+
* Number of integers (should be used when inputType is number).
|
|
3089
|
+
* @default null
|
|
3090
|
+
*/
|
|
3091
|
+
"integers": number;
|
|
3062
3092
|
/**
|
|
3063
3093
|
* Enables a clear trailing icon.
|
|
3064
3094
|
* @default false
|
|
@@ -5784,6 +5814,11 @@ declare namespace LocalJSX {
|
|
|
5784
5814
|
* @default null
|
|
5785
5815
|
*/
|
|
5786
5816
|
"detailHeight"?: number;
|
|
5817
|
+
/**
|
|
5818
|
+
* Column containing icon name to show, for detail
|
|
5819
|
+
* @default null
|
|
5820
|
+
*/
|
|
5821
|
+
"detailIconCol"?: string;
|
|
5787
5822
|
/**
|
|
5788
5823
|
* Column containing unique detail identifier
|
|
5789
5824
|
* @default null
|
|
@@ -5795,7 +5830,7 @@ declare namespace LocalJSX {
|
|
|
5795
5830
|
*/
|
|
5796
5831
|
"detailNameCol"?: string;
|
|
5797
5832
|
/**
|
|
5798
|
-
* Columns containing
|
|
5833
|
+
* Columns containing forecast detail duration, from (firstDate) to (secondDate)
|
|
5799
5834
|
* @default null
|
|
5800
5835
|
*/
|
|
5801
5836
|
"detailPrevDates"?: string[];
|
|
@@ -5810,6 +5845,10 @@ declare namespace LocalJSX {
|
|
|
5810
5845
|
*/
|
|
5811
5846
|
"maxWidth"?: string;
|
|
5812
5847
|
"onKup-planner-click"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
|
|
5848
|
+
/**
|
|
5849
|
+
* Generic right click event on planner.
|
|
5850
|
+
*/
|
|
5851
|
+
"onKup-planner-contextmenu"?: (event: KupPlannerCustomEvent<KupPlannerClickEventPayload>) => void;
|
|
5813
5852
|
"onKup-planner-datechange"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
|
|
5814
5853
|
"onKup-planner-ready"?: (event: KupPlannerCustomEvent<KupPlannerEventPayload>) => void;
|
|
5815
5854
|
/**
|
|
@@ -5832,6 +5871,11 @@ declare namespace LocalJSX {
|
|
|
5832
5871
|
* @default null
|
|
5833
5872
|
*/
|
|
5834
5873
|
"phaseDates"?: string[];
|
|
5874
|
+
/**
|
|
5875
|
+
* Column containing icon name to show, for phase
|
|
5876
|
+
* @default null
|
|
5877
|
+
*/
|
|
5878
|
+
"phaseIconCol"?: string;
|
|
5835
5879
|
/**
|
|
5836
5880
|
* Column containing unique phase identifier
|
|
5837
5881
|
* @default null
|
|
@@ -5867,6 +5911,11 @@ declare namespace LocalJSX {
|
|
|
5867
5911
|
* @default null
|
|
5868
5912
|
*/
|
|
5869
5913
|
"taskHeight"?: number;
|
|
5914
|
+
/**
|
|
5915
|
+
* Column containing icon name to show, for task
|
|
5916
|
+
* @default null
|
|
5917
|
+
*/
|
|
5918
|
+
"taskIconCol"?: string;
|
|
5870
5919
|
/**
|
|
5871
5920
|
* Column containing unique task identifier
|
|
5872
5921
|
* @default null
|
|
@@ -6071,6 +6120,10 @@ declare namespace LocalJSX {
|
|
|
6071
6120
|
* Triggered when action button is clicked.
|
|
6072
6121
|
*/
|
|
6073
6122
|
"onKup-snackbar-actionclick"?: (event: KupSnackbarCustomEvent<KupEventPayload>) => void;
|
|
6123
|
+
/**
|
|
6124
|
+
* Triggered when the snackbar's hidden timeout is complete.
|
|
6125
|
+
*/
|
|
6126
|
+
"onKup-snackbar-timeoutcomplete"?: (event: KupSnackbarCustomEvent<KupEventPayload>) => void;
|
|
6074
6127
|
/**
|
|
6075
6128
|
* Sets the textual content of the snackbar.
|
|
6076
6129
|
* @default ''
|
|
@@ -6200,6 +6253,11 @@ declare namespace LocalJSX {
|
|
|
6200
6253
|
"ripple"?: boolean;
|
|
6201
6254
|
}
|
|
6202
6255
|
interface KupTextField {
|
|
6256
|
+
/**
|
|
6257
|
+
* When true, could be input negative numbers (should be used when inputType is number).
|
|
6258
|
+
* @default null
|
|
6259
|
+
*/
|
|
6260
|
+
"allowNegative"?: boolean;
|
|
6203
6261
|
/**
|
|
6204
6262
|
* Custom style of the component.
|
|
6205
6263
|
* @default ""
|
|
@@ -6226,6 +6284,11 @@ declare namespace LocalJSX {
|
|
|
6226
6284
|
* @default false
|
|
6227
6285
|
*/
|
|
6228
6286
|
"fullWidth"?: boolean;
|
|
6287
|
+
/**
|
|
6288
|
+
* When true, the number will be formatted with group separator (should be used when inputType is number).
|
|
6289
|
+
* @default null
|
|
6290
|
+
*/
|
|
6291
|
+
"group"?: boolean;
|
|
6229
6292
|
/**
|
|
6230
6293
|
* When set, its content will be shown as a help text below the field.
|
|
6231
6294
|
* @default null
|
|
@@ -6261,6 +6324,11 @@ declare namespace LocalJSX {
|
|
|
6261
6324
|
* @default "text"
|
|
6262
6325
|
*/
|
|
6263
6326
|
"inputType"?: string;
|
|
6327
|
+
/**
|
|
6328
|
+
* Number of integers (should be used when inputType is number).
|
|
6329
|
+
* @default null
|
|
6330
|
+
*/
|
|
6331
|
+
"integers"?: number;
|
|
6264
6332
|
/**
|
|
6265
6333
|
* Enables a clear trailing icon.
|
|
6266
6334
|
* @default false
|
|
@@ -3,16 +3,19 @@ import type { FComponent } from '../../types/GenericTypes';
|
|
|
3
3
|
* Props of the f-text-field component.
|
|
4
4
|
*/
|
|
5
5
|
export interface FTextFieldProps extends FComponent {
|
|
6
|
+
allowNegative?: boolean;
|
|
6
7
|
decimals?: number;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
fullHeight?: boolean;
|
|
9
10
|
fullWidth?: boolean;
|
|
11
|
+
group?: boolean;
|
|
10
12
|
helper?: string;
|
|
11
13
|
helperEnabled?: boolean;
|
|
12
14
|
helperWhenFocused?: boolean;
|
|
13
15
|
icon?: string;
|
|
14
16
|
inputMode?: string;
|
|
15
17
|
inputType?: string;
|
|
18
|
+
integers?: number;
|
|
16
19
|
max?: number;
|
|
17
20
|
maxLength?: number;
|
|
18
21
|
min?: number;
|
|
@@ -55,6 +55,7 @@ export interface KupManager {
|
|
|
55
55
|
toggleMagicBox: () => void;
|
|
56
56
|
setLibraryLocalization: (locale: KupDatesLocales) => void;
|
|
57
57
|
addClickCallback: (cb: KupManagerClickCb, async?: boolean) => void;
|
|
58
|
+
getEventPath: (currentEl: unknown, rootElement: HTMLElement) => HTMLElement[];
|
|
58
59
|
removeClickCallback: (cb: KupManagerClickCb) => void;
|
|
59
60
|
rasterize: (el: HTMLElement, options?: Partial<Options>) => Promise<HTMLCanvasElement>;
|
|
60
61
|
}
|
|
@@ -64,6 +64,13 @@ export declare class KupManager {
|
|
|
64
64
|
* @param {boolean} async - When true, the callback will be added asynchrounously to prevent instant firing if it was added through a click event.
|
|
65
65
|
*/
|
|
66
66
|
addClickCallback(cb: KupManagerClickCb, async?: boolean): void;
|
|
67
|
+
/**
|
|
68
|
+
* Retrives event path from event.target
|
|
69
|
+
* @param currentEl event.target
|
|
70
|
+
* @param rootElement rootElement of component
|
|
71
|
+
* @returns
|
|
72
|
+
*/
|
|
73
|
+
getEventPath(currentEl: unknown, rootElement: HTMLElement): HTMLElement[];
|
|
67
74
|
/**
|
|
68
75
|
* Rasterizes an HTMLElement, transforming into a canvas.
|
|
69
76
|
* @param {HTMLElement} el - Element to rasterize.
|
|
@@ -25,3 +25,9 @@ export declare enum KupMathLocales {
|
|
|
25
25
|
export interface KupMathNumbers {
|
|
26
26
|
toLocaleString: (value: string) => string;
|
|
27
27
|
}
|
|
28
|
+
export interface NumericFieldFormatOptions {
|
|
29
|
+
integer: number;
|
|
30
|
+
decimal: number;
|
|
31
|
+
allowNegative: boolean;
|
|
32
|
+
group: boolean;
|
|
33
|
+
}
|
|
@@ -6,7 +6,7 @@ import 'numeral/locales/it';
|
|
|
6
6
|
import 'numeral/locales/pl';
|
|
7
7
|
import 'numeral/locales/ru';
|
|
8
8
|
import { KupComponent } from '../../types/GenericTypes';
|
|
9
|
-
import { KupMathFormulas, KupMathLocales, KupMathNumbers } from './kup-math-declarations';
|
|
9
|
+
import { KupMathFormulas, KupMathLocales, KupMathNumbers, NumericFieldFormatOptions } from './kup-math-declarations';
|
|
10
10
|
/**
|
|
11
11
|
* Handles mathematical operations and number formatting/conversion.
|
|
12
12
|
* @module KupMath
|
|
@@ -37,9 +37,33 @@ export declare class KupMath {
|
|
|
37
37
|
* Formats the input number with the specified format of the currently set locale.
|
|
38
38
|
* @param {string | String | number} input - Input number which will be automatically "numberified".
|
|
39
39
|
* @param {string} format - Desired format. Defaults to '0,0.00' (i.e.: 2,000,000.51).
|
|
40
|
+
* @param {boolean} inputIsLocalized Numberifies assuming the input string is in the current KupMath locale's format.
|
|
40
41
|
* @returns {string} Formatted number.
|
|
41
42
|
*/
|
|
42
|
-
format(input: string | String | number, format?: string): string;
|
|
43
|
+
format(input: string | String | number, format?: string, inputIsLocalized?: boolean): string;
|
|
44
|
+
/**
|
|
45
|
+
* Created the string for format a number
|
|
46
|
+
* @param {boolean} thousandPoint - show thousandPoint
|
|
47
|
+
* @param {number} decimals - number of decimals
|
|
48
|
+
*/
|
|
49
|
+
createFormatPattern(thousandPoint?: boolean, decimals?: number): string;
|
|
50
|
+
/**
|
|
51
|
+
* Returns the decimal separator of current browser
|
|
52
|
+
* @returns current decimal separator, by locale
|
|
53
|
+
*/
|
|
54
|
+
decimalSeparator(): string;
|
|
55
|
+
/**
|
|
56
|
+
* Returns the group separator of current browser
|
|
57
|
+
* @returns current group separator, by locale
|
|
58
|
+
*/
|
|
59
|
+
groupSeparator(): string;
|
|
60
|
+
/**
|
|
61
|
+
* Checks if an input string matches options, for desired formatted decimal number (integer digits, decimal digits)
|
|
62
|
+
* @param value the input value to check
|
|
63
|
+
* @param options options for customize the check
|
|
64
|
+
* @returns an object from applying the regular expression for check
|
|
65
|
+
*/
|
|
66
|
+
matchNumericValueWithOptions(value: string, options: NumericFieldFormatOptions): RegExpMatchArray;
|
|
43
67
|
/**
|
|
44
68
|
* Returns a number from a non-specified input type between string, number, or String.
|
|
45
69
|
* @param {string | String | number} input - Input value to numberify.
|
|
@@ -59,7 +59,6 @@ export declare function formattedStringToUnformattedStringNumber(input: string,
|
|
|
59
59
|
* @returns number as string, formatted by locale US, decimal separator . (like java decimal numbers), without group separator
|
|
60
60
|
**/
|
|
61
61
|
export declare function unformattedStringNumberToNumber(input: string, type: string): string;
|
|
62
|
-
export declare function getDecimalSeparator(locale: any): string;
|
|
63
62
|
export declare function _numberToString(input: number, decimals: number, locale: string, useGrouping: boolean): string;
|
|
64
63
|
/**
|
|
65
64
|
* @param time time as Date object
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"smeup",
|
|
6
6
|
"KetchUP",
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"build": "npm run build:setup && stencil build --docs",
|
|
32
32
|
"start": "npm run build:setup && stencil build --dev --watch --serve",
|
|
33
33
|
"start--es5": "npm run build:setup && stencil build --dev --watch --serve --es5",
|
|
34
|
-
"test:spec": "npm run build:setup && stencil test --spec",
|
|
34
|
+
"test:spec": "rimraf target && npm run build:setup && stencil test --spec",
|
|
35
|
+
"test:speccov": "rimraf target && npm run build:setup && stencil test --spec --coverage",
|
|
35
36
|
"test:e2e": "npm run build:setup && stencil test --e2e",
|
|
36
37
|
"test": "npm run build:setup && stencil test --spec --e2e",
|
|
37
38
|
"test.watch": "npm run build:setup && stencil test --spec --e2e --watchAll",
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
"@material/form-field": "^14.0.0",
|
|
48
49
|
"@material/ripple": "^14.0.0",
|
|
49
50
|
"@material/textfield": "^14.0.0",
|
|
50
|
-
"@sme.up/gantt-component": "^1.3.
|
|
51
|
+
"@sme.up/gantt-component": "^1.3.25",
|
|
51
52
|
"d3-shape": "^3.1.0",
|
|
52
53
|
"dayjs": "^1.11.1",
|
|
53
54
|
"echarts": "^5.3.2",
|
|
@@ -63,22 +64,9 @@
|
|
|
63
64
|
"devDependencies": {
|
|
64
65
|
"@stencil/core": "^3.2.0",
|
|
65
66
|
"@stencil/sass": "^3.0.0",
|
|
66
|
-
"@stencil/react-output-target": "0.
|
|
67
|
-
"@types/d3-shape": "^3.0.2",
|
|
68
|
-
"@types/geojson": "^7946.0.8",
|
|
69
|
-
"@types/jest": "^26.0.24",
|
|
70
|
-
"@types/jest-cli": "^24.3.0",
|
|
71
|
-
"@types/node": "^14.5.0",
|
|
72
|
-
"@types/numeral": "^2.0.2",
|
|
73
|
-
"@types/puppeteer": "^5.4.3",
|
|
74
|
-
"@types/react": "^18.0.28",
|
|
75
|
-
"@types/react-dom": "^18.0.10",
|
|
76
|
-
"jest": "^26.6.3",
|
|
77
|
-
"jest-cli": "^26.6.3",
|
|
78
|
-
"jest-environment-node": "^26.6.2",
|
|
79
|
-
"puppeteer": "^13.5.1",
|
|
67
|
+
"@stencil/react-output-target": "0.5.0",
|
|
80
68
|
"rimraf": "^3.0.2",
|
|
81
|
-
"sass": "^1.
|
|
69
|
+
"sass": "^1.60.0"
|
|
82
70
|
},
|
|
83
71
|
"repository": {
|
|
84
72
|
"type": "git",
|