@sme.up/ketchup 4.2.0-SNAPSHOT → 4.3.0-SNAPSHOT
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/{cell-utils-1d44a3f0.js → cell-utils-dc0884a3.js} +2 -2
- package/dist/cjs/{f-button-a5788453.js → f-button-2ba74fb5.js} +1 -1
- package/dist/cjs/{f-cell-eba6f39e.js → f-cell-fe60a08d.js} +31 -27
- package/dist/cjs/{f-chip-ce69b7d2.js → f-chip-90d95d22.js} +2 -2
- package/dist/cjs/{f-image-e03842eb.js → f-image-d3bd4e08.js} +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +1024 -633
- package/dist/cjs/kup-calendar.cjs.entry.js +6 -6
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-dash-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-field.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-75f1a2cd.js → kup-manager-1a2688ca.js} +20 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-b3ec89fe.js → utils-0cc466b9.js} +1 -59
- package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +20 -0
- package/dist/collection/components/kup-card/builtin/kup-card-calendar.js +458 -0
- package/dist/collection/components/kup-card/builtin/kup-card-clock.js +321 -0
- package/dist/collection/components/kup-card/free/kup-card-free.js +13 -0
- package/dist/collection/components/kup-card/kup-card-declarations.js +19 -0
- package/dist/collection/components/kup-card/kup-card.css +502 -3
- package/dist/collection/components/kup-card/kup-card.js +18 -9
- package/dist/collection/components/kup-data-table/kup-data-table.css +0 -38
- package/dist/collection/components/kup-data-table/kup-data-table.js +21 -10
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +0 -82
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +35 -309
- package/dist/collection/components/kup-text-field/kup-text-field.css +1 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +1 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +51 -241
- package/dist/collection/f-components/f-cell/f-cell.js +26 -22
- package/dist/collection/utils/kup-search/kup-search.js +0 -1
- package/dist/esm/{cell-utils-9a2914fc.js → cell-utils-8f512ea9.js} +2 -2
- package/dist/esm/{f-button-55a9ed88.js → f-button-30dbcaa9.js} +1 -1
- package/dist/esm/{f-cell-ac520cb2.js → f-cell-95c186c6.js} +31 -27
- package/dist/esm/{f-chip-babf1740.js → f-chip-c0e9c0ff.js} +2 -2
- package/dist/esm/{f-image-70ca9dfe.js → f-image-3bc8b24f.js} +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_28.entry.js +1053 -662
- package/dist/esm/kup-calendar.entry.js +6 -6
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-dash-list.entry.js +3 -3
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-field.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-bba32828.js → kup-manager-7fc234da.js} +21 -2
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-cfcbe33f.js → utils-6c73709d.js} +2 -58
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-1ce9a037.js → p-15321eae.js} +1 -1
- package/dist/ketchup/{p-daf03877.entry.js → p-1baf1205.entry.js} +1 -1
- package/dist/ketchup/p-1c6178e4.entry.js +1 -0
- package/dist/ketchup/{p-52038ccb.js → p-44375e49.js} +1 -1
- package/dist/ketchup/{p-d58dbf0e.js → p-5a5f2a53.js} +1 -1
- package/dist/ketchup/{p-4748be4b.js → p-61faaa38.js} +2 -2
- package/dist/ketchup/{p-69a705ae.entry.js → p-62816d0b.entry.js} +1 -1
- package/dist/ketchup/{p-ff7d590e.entry.js → p-65adc15b.entry.js} +1 -1
- package/dist/ketchup/p-7e23ea7c.entry.js +1 -0
- package/dist/ketchup/{p-5faf7715.entry.js → p-a378ba56.entry.js} +1 -1
- package/dist/ketchup/{p-74259992.entry.js → p-a878016f.entry.js} +1 -1
- package/dist/ketchup/{p-d6ce1ac6.entry.js → p-a96e6e32.entry.js} +1 -1
- package/dist/ketchup/{p-6cc8264d.entry.js → p-ad32821e.entry.js} +1 -1
- package/dist/ketchup/{p-03ae1be9.entry.js → p-af4a6191.entry.js} +1 -1
- package/dist/ketchup/{p-a7687c0e.entry.js → p-c18c7bb0.entry.js} +5 -5
- package/dist/ketchup/{p-62208488.entry.js → p-ca0ca27f.entry.js} +1 -1
- package/dist/ketchup/{p-e90934b5.entry.js → p-ccda584a.entry.js} +1 -1
- package/dist/ketchup/p-d4aa4922.js +1 -0
- package/dist/ketchup/{p-40df35de.entry.js → p-dbb6998b.entry.js} +1 -1
- package/dist/ketchup/{p-06c209a5.js → p-de83f2f6.js} +1 -1
- package/dist/ketchup/p-ec3a3db9.js +1 -0
- package/dist/ketchup/p-ecccb3a4.entry.js +45 -0
- package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +14 -0
- package/dist/types/components/kup-card/builtin/kup-card-calendar.d.ts +2 -0
- package/dist/types/components/kup-card/builtin/kup-card-clock.d.ts +2 -0
- package/dist/types/components/kup-card/free/kup-card-free.d.ts +8 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +74 -0
- package/dist/types/components/kup-card/kup-card.d.ts +3 -3
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +0 -5
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -2
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +0 -10
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +2 -9
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/dist/ketchup/p-1e2c3497.js +0 -1
- package/dist/ketchup/p-5db41fae.entry.js +0 -45
- package/dist/ketchup/p-756aa8b1.entry.js +0 -1
- package/dist/ketchup/p-ea387b49.entry.js +0 -1
- package/dist/ketchup/p-f6bff949.js +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { VNode } from '../../../stencil-public-runtime';
|
|
2
|
+
import { KupCard } from '../kup-card';
|
|
3
|
+
/**
|
|
4
|
+
* 1st builtin card layout, calendar view.
|
|
5
|
+
* @param {KupCard} component - Card component.
|
|
6
|
+
* @returns {VNode} 1st builtin layout virtual node.
|
|
7
|
+
*/
|
|
8
|
+
export declare function create1(component: KupCard): VNode;
|
|
9
|
+
/**
|
|
10
|
+
* 2st builtin card layout, time view.
|
|
11
|
+
* @param {KupCard} component - Card component.
|
|
12
|
+
* @returns {VNode} 2st builtin layout virtual node.
|
|
13
|
+
*/
|
|
14
|
+
export declare function create2(component: KupCard): VNode;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { VNode } from '../../../stencil-public-runtime';
|
|
2
|
+
import type { KupCard } from '../kup-card';
|
|
3
|
+
/**
|
|
4
|
+
* 1st free card layout, only slots.
|
|
5
|
+
* @param {KupCard} component - Card component.
|
|
6
|
+
* @returns {VNode} 1st standard layout virtual node.
|
|
7
|
+
*/
|
|
8
|
+
export declare function create1(component: KupCard): VNode;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
2
2
|
import { KupObj } from '../../utils/kup-objects/kup-objects-declarations';
|
|
3
|
+
import { SourceEvent } from '../kup-date-picker/kup-date-picker-declarations';
|
|
3
4
|
/**
|
|
4
5
|
* Props of the kup-card component.
|
|
5
6
|
* Used to export every prop in an object.
|
|
@@ -14,6 +15,69 @@ export declare enum KupCardProps {
|
|
|
14
15
|
sizeX = "The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.).",
|
|
15
16
|
sizeY = "The height of the card, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
|
|
16
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Options prop of the kup-card calendar builtin.
|
|
20
|
+
*/
|
|
21
|
+
export interface KupCardBuiltinCalendarOptions {
|
|
22
|
+
initialValue?: string | KupObj;
|
|
23
|
+
firstDayIndex?: number;
|
|
24
|
+
resetStatus: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Data prop of the element kup-card calendar builtin.
|
|
28
|
+
*/
|
|
29
|
+
export interface KupCardBuiltinCalendarData {
|
|
30
|
+
value?: Date;
|
|
31
|
+
firstDayIndex?: number;
|
|
32
|
+
calendarView?: SourceEvent;
|
|
33
|
+
day?: number;
|
|
34
|
+
month?: number;
|
|
35
|
+
year?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Html element of kup-card calendar builtin.
|
|
39
|
+
*/
|
|
40
|
+
export interface KupCardBuiltinCalendar extends HTMLElement {
|
|
41
|
+
kupData: KupCardBuiltinCalendarData;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Options prop of the kup-card clock builtin.
|
|
45
|
+
*/
|
|
46
|
+
export interface KupCardBuiltinClockOptions {
|
|
47
|
+
initialValue?: string | KupObj;
|
|
48
|
+
manageSeconds?: boolean;
|
|
49
|
+
hoursActive?: boolean;
|
|
50
|
+
minutesActive?: boolean;
|
|
51
|
+
secondsActive?: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Element ids for kup-card clock builtin.
|
|
55
|
+
*/
|
|
56
|
+
export declare enum KupCardBuiltinClockElements {
|
|
57
|
+
CLOCK = "clockEl",
|
|
58
|
+
HOURS = "hoursEl",
|
|
59
|
+
MINUTES = "minutesEl",
|
|
60
|
+
SECONDS = "secondsEl",
|
|
61
|
+
HOURSCIRCLE = "hoursCircleEl",
|
|
62
|
+
MINUTESCIRCLE = "minutesCircleEl",
|
|
63
|
+
SECONDSCIRCLE = "secondsCircleEl"
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Data prop of the element kup-card clock builtin.
|
|
67
|
+
*/
|
|
68
|
+
export interface KupCardBuiltinClockData {
|
|
69
|
+
value?: string;
|
|
70
|
+
manageSeconds?: boolean;
|
|
71
|
+
hoursActive?: boolean;
|
|
72
|
+
minutesActive?: boolean;
|
|
73
|
+
secondsActive?: boolean;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Html element of kup-card clock builtin.
|
|
77
|
+
*/
|
|
78
|
+
export interface KupCardBuiltinClock extends HTMLElement {
|
|
79
|
+
kupData: KupCardBuiltinClockData;
|
|
80
|
+
}
|
|
17
81
|
/**
|
|
18
82
|
* Data prop of the kup-card component.
|
|
19
83
|
*/
|
|
@@ -30,6 +94,7 @@ export interface KupCardData {
|
|
|
30
94
|
image?: GenericObject[];
|
|
31
95
|
list?: GenericObject[];
|
|
32
96
|
object?: KupObj[];
|
|
97
|
+
options?: KupCardBuiltinCalendarOptions | KupCardBuiltinClockOptions;
|
|
33
98
|
progressbar?: GenericObject[];
|
|
34
99
|
switch?: GenericObject[];
|
|
35
100
|
tabbar?: GenericObject[];
|
|
@@ -41,13 +106,18 @@ export interface KupCardData {
|
|
|
41
106
|
/**
|
|
42
107
|
* Layout families of the kup-card component.
|
|
43
108
|
* @enum {string}
|
|
109
|
+
* @property {string} BUILTIN - Cards belonging to this family will created automatically by library.
|
|
44
110
|
* @property {string} COLLAPSIBLE - Cards belonging to this family will display an area usable to expand the content of the card.
|
|
111
|
+
* @property {string} DIALOG - Cards belonging to this family will be movable and usually closable.
|
|
112
|
+
* @property {string} FREE - This family of card will only receive slots, usually already arranged from the outside style.
|
|
45
113
|
* @property {string} SCALABLE - Content will fit its container, resizing itself automatically.
|
|
46
114
|
* @property {string} STANDARD - Stndard layouts.
|
|
47
115
|
*/
|
|
48
116
|
export declare enum KupCardFamily {
|
|
117
|
+
BUILTIN = "builtin",
|
|
49
118
|
COLLAPSIBLE = "collapsible",
|
|
50
119
|
DIALOG = "dialog",
|
|
120
|
+
FREE = "free",
|
|
51
121
|
SCALABLE = "scalable",
|
|
52
122
|
STANDARD = "standard"
|
|
53
123
|
}
|
|
@@ -69,6 +139,7 @@ export declare enum KupCardIds {
|
|
|
69
139
|
* Recurring CSS classes.
|
|
70
140
|
*/
|
|
71
141
|
export declare enum KupCardCSSClasses {
|
|
142
|
+
BUILTIN_CARD = "builtin-card",
|
|
72
143
|
CARD_VIEW = "card-view",
|
|
73
144
|
CLICKABLE_LINK = "clickable-link",
|
|
74
145
|
COLLAPSIBLE_ACTIVE = "collapsible-active",
|
|
@@ -96,6 +167,9 @@ export declare enum KupCardSubEvents {
|
|
|
96
167
|
TABBAR_CLICK = "kup-tabbar-click",
|
|
97
168
|
TREE_NODESELECTED = "kup-tree-nodeselected"
|
|
98
169
|
}
|
|
170
|
+
export interface KupCardClickPayload extends KupEventPayload {
|
|
171
|
+
value: string;
|
|
172
|
+
}
|
|
99
173
|
export interface KupCardEventPayload extends KupEventPayload {
|
|
100
174
|
event: any;
|
|
101
175
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, VNode } from '../../stencil-public-runtime';
|
|
2
2
|
import type { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
3
|
-
import { KupCardData, KupCardFamily, KupCardEventPayload } from './kup-card-declarations';
|
|
3
|
+
import { KupCardData, KupCardFamily, KupCardEventPayload, KupCardClickPayload } from './kup-card-declarations';
|
|
4
4
|
export declare class KupCard {
|
|
5
5
|
/**
|
|
6
6
|
* References the root HTML element of the component (<kup-card>).
|
|
@@ -72,7 +72,7 @@ export declare class KupCard {
|
|
|
72
72
|
/**
|
|
73
73
|
* Triggered when the card is clicked.
|
|
74
74
|
*/
|
|
75
|
-
kupClick: EventEmitter<
|
|
75
|
+
kupClick: EventEmitter<KupCardClickPayload>;
|
|
76
76
|
/**
|
|
77
77
|
* Triggered when a dialog card is closed with the "X".
|
|
78
78
|
*/
|
|
@@ -85,7 +85,7 @@ export declare class KupCard {
|
|
|
85
85
|
* Triggered when the component is ready.
|
|
86
86
|
*/
|
|
87
87
|
kupReady: EventEmitter<KupEventPayload>;
|
|
88
|
-
onKupClick(id: string): void;
|
|
88
|
+
onKupClick(id: string, value: string): void;
|
|
89
89
|
onKupClose(id: string): void;
|
|
90
90
|
onKupEvent(e: CustomEvent): void;
|
|
91
91
|
/**
|
|
@@ -299,11 +299,6 @@ export interface KupDataTableCellButtonClickEventPayload extends KupEventPayload
|
|
|
299
299
|
column: Column;
|
|
300
300
|
row: Row;
|
|
301
301
|
}
|
|
302
|
-
export interface KupDataTableCellTextFieldInputEventPayload extends KupEventPayload {
|
|
303
|
-
cell: Cell;
|
|
304
|
-
column: Column;
|
|
305
|
-
row: Row;
|
|
306
|
-
}
|
|
307
302
|
export interface KupDatatableLoadMoreClickEventPayload extends KupEventPayload {
|
|
308
303
|
loadItems: number;
|
|
309
304
|
}
|
|
@@ -305,9 +305,7 @@ export declare class KupDataTable {
|
|
|
305
305
|
private tableAreaRef;
|
|
306
306
|
private stickyTheadRef;
|
|
307
307
|
private customizeTopButtonRef;
|
|
308
|
-
private customizeBottomButtonRef;
|
|
309
308
|
private customizeTopPanelRef;
|
|
310
|
-
private customizeBottomPanelRef;
|
|
311
309
|
private sizedColumns;
|
|
312
310
|
private intObserver;
|
|
313
311
|
private navBarHeight;
|
|
@@ -331,6 +329,7 @@ export declare class KupDataTable {
|
|
|
331
329
|
private removeDropareaRef;
|
|
332
330
|
private groupsDropareaRef;
|
|
333
331
|
private clickCb;
|
|
332
|
+
private clickCbCustomPanel;
|
|
334
333
|
/**
|
|
335
334
|
* Used to prevent too many resizes callbacks at once.
|
|
336
335
|
*/
|
|
@@ -36,11 +36,9 @@ export declare class KupDatePicker {
|
|
|
36
36
|
* Instance of the KupManager class.
|
|
37
37
|
*/
|
|
38
38
|
private kupManager;
|
|
39
|
-
private calendarView;
|
|
40
39
|
private textfieldEl;
|
|
41
40
|
private pickerContainerEl;
|
|
42
41
|
private pickerEl;
|
|
43
|
-
private pickerOpened;
|
|
44
42
|
private clickCb;
|
|
45
43
|
kupBlur: EventEmitter<KupDatePickerEventPayload>;
|
|
46
44
|
kupChange: EventEmitter<KupDatePickerEventPayload>;
|
|
@@ -53,7 +51,6 @@ export declare class KupDatePicker {
|
|
|
53
51
|
kupClearIconClick: EventEmitter<KupEventPayload>;
|
|
54
52
|
onKupDatePickerItemClick(value: string): void;
|
|
55
53
|
onKupClearIconClick(): void;
|
|
56
|
-
onKupDatePickerMonthYearItemClick(value: string): void;
|
|
57
54
|
onKupBlur(): void;
|
|
58
55
|
onKupChange(e: InputEvent): void;
|
|
59
56
|
onKupClick(): void;
|
|
@@ -103,13 +100,6 @@ export declare class KupDatePicker {
|
|
|
103
100
|
};
|
|
104
101
|
isRelatedTargetInThisComponent(e: any): boolean;
|
|
105
102
|
prepDatePicker(): any;
|
|
106
|
-
createCalendar(): any;
|
|
107
|
-
private createDaysCalendar;
|
|
108
|
-
private createMonthsCalendar;
|
|
109
|
-
private createYearsCalendar;
|
|
110
|
-
private changeView;
|
|
111
|
-
private prevPage;
|
|
112
|
-
private nextPage;
|
|
113
103
|
getDateForOutput(): string;
|
|
114
104
|
componentWillLoad(): void;
|
|
115
105
|
componentDidLoad(): void;
|
|
@@ -56,10 +56,9 @@ export declare class KupTimePicker {
|
|
|
56
56
|
private hoursActive;
|
|
57
57
|
private minutesActive;
|
|
58
58
|
private secondsActive;
|
|
59
|
+
private textFieldContainerEl;
|
|
59
60
|
private textfieldEl;
|
|
60
|
-
private
|
|
61
|
-
private pickerEl;
|
|
62
|
-
private pickerOpened;
|
|
61
|
+
private pickerKupEl;
|
|
63
62
|
private clickCb;
|
|
64
63
|
kupBlur: EventEmitter<KupTimePickerEventPayload>;
|
|
65
64
|
kupChange: EventEmitter<KupTimePickerEventPayload>;
|
|
@@ -120,12 +119,6 @@ export declare class KupTimePicker {
|
|
|
120
119
|
getPickerElId(): string;
|
|
121
120
|
prepTextfield(initialValue: string): any;
|
|
122
121
|
isRelatedTargetInThisComponent(e: any): boolean;
|
|
123
|
-
private setTimeFromClock;
|
|
124
|
-
private createClock;
|
|
125
|
-
private switchView;
|
|
126
|
-
private setClockViewActive;
|
|
127
|
-
private buildClock;
|
|
128
|
-
private setClockTime;
|
|
129
122
|
prepTimePicker(): any;
|
|
130
123
|
private createTimeListData;
|
|
131
124
|
getTimeForOutput(): string;
|
|
@@ -17,7 +17,7 @@ import { KupButtonClickEventPayload } from "./components/kup-button/kup-button-d
|
|
|
17
17
|
import { KupTreeColumnMenuEventPayload, KupTreeContextMenuEventPayload, KupTreeDynamicMassExpansionEventPayload, KupTreeExpansionMode, KupTreeNodeButtonClickEventPayload, KupTreeNodeCollapseEventPayload, KupTreeNodeExpandEventPayload, KupTreeNodeSelectedEventPayload, TreeNode, TreeNodePath } from "./components/kup-tree/kup-tree-declarations";
|
|
18
18
|
import { KupButtonListClickEventPayload } from "./components/kup-button-list/kup-button-list-declarations";
|
|
19
19
|
import { KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
20
|
-
import { KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
20
|
+
import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
21
21
|
import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
22
22
|
import { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
23
23
|
import { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
@@ -3596,7 +3596,7 @@ declare namespace LocalJSX {
|
|
|
3596
3596
|
/**
|
|
3597
3597
|
* Triggered when the card is clicked.
|
|
3598
3598
|
*/
|
|
3599
|
-
"onKup-card-click"?: (event: CustomEvent<
|
|
3599
|
+
"onKup-card-click"?: (event: CustomEvent<KupCardClickPayload>) => void;
|
|
3600
3600
|
/**
|
|
3601
3601
|
* Triggered when a dialog card is closed with the "X".
|
|
3602
3602
|
*/
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as n,t as l,v as u,n as t,d as r}from"./p-4748be4b.js";import{c as e}from"./p-f6bff949.js";const f=document.documentElement;function i(n,l){if(null!=l&&null!=l.displayedValue)return l.displayedValue;let u=c(l.value,n,l);return null!=l&&(l.displayedValue=u),u}function o(n,l){return null==n?"":(null!=n.displayedValue&&""!=n.displayedValue.trim()||(n.displayedValue=c(n.value,l,null)),n.displayedValue)}function s(n){return n.obj?t(n.obj.k).value():t(n.value).value()}function c(n,l,u){let t=null!=l?l.obj:null;return null!=u&&(t=u.obj?u.obj:t),a(n,t,null!=l?l.decimals:null)}function a(t,r,i){return null==t||""==t.trim()?t:f.ketchup.objects.isNumber(r)?n(t,i||-1,r?r.p:""):f.ketchup.objects.isDate(r)&&f.ketchup.dates.isValid(t,e.ISO_DATE)?f.ketchup.dates.format(t):f.ketchup.objects.isTime(r)?l(t,f.ketchup.objects.isTimeWithSeconds(r),r.t+r.p):f.ketchup.objects.isTimestamp(r)?u(t):t}function m(n,l){if(null==n)return null;for(let u of n)if(u.name===l)return u;return null}function p(n,l,u){return b(n.obj,n.value,l.obj,l.value,u)}function b(n,l,u,t,i){const o="A"===i?1:-1;if(null==n||null==u)return o*d(l,t);if(n.t!==u.t||n.p!==u.p){let l=d(n.t,u.t);return 0===l&&(l=d(n.p,u.p)),l*o}let s=l,c=t;if(s==c)return 0;if(""==s)return-1*o;if(""==c)return 1*o;let a=s,m=c;if(f.ketchup.objects.isNumber(n))a=r(s),m=r(c);else if(f.ketchup.objects.isDate(n))a=f.ketchup.dates.toDate(f.ketchup.dates.format(s,e.ISO_DATE)),m=f.ketchup.dates.toDate(f.ketchup.dates.format(c,e.ISO_DATE));else if(f.ketchup.objects.isTime(n)){let l=f.ketchup.objects.isTimeWithSeconds(n);a=f.ketchup.dates.toDate(f.ketchup.dates.format(s,l?e.ISO_TIME:e.ISO_TIME_WITHOUT_SECONDS)),m=f.ketchup.dates.toDate(f.ketchup.dates.format(c,l?e.ISO_TIME:e.ISO_TIME_WITHOUT_SECONDS))}else f.ketchup.objects.isTimestamp(n)&&(a=f.ketchup.dates.toDate(f.ketchup.dates.format(s,e.ISO_DATE_TIME)),m=f.ketchup.dates.toDate(f.ketchup.dates.format(c,e.ISO_DATE_TIME)));return a>m?1*o:a<m?-1*o:0}function d(n,l){let u=null==n?0:n.length,t=null==l?0:l.length;const r=Math.min(u,t);let e=0;for(;e<r;){const u=n[e],t=l[e];if(u!==t)return u.charCodeAt(0)-t.charCodeAt(0);e++}return u-t}export{o as a,i as b,m as c,b as d,p as e,s as f,a as g}
|