@sme.up/ketchup 11.0.0-SNAPSHOT-20241023150629 → 11.0.0-SNAPSHOT-20241024071006
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 +1 -1
- package/dist/cjs/kup-calendar.cjs.entry.js +21 -27
- package/dist/cjs/kup-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/calendar.js +219 -36
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js.map +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +46 -27
- package/dist/collection/components/kup-calendar/kup-calendar.js.map +1 -1
- package/dist/components/kup-calendar.js +22 -27
- package/dist/components/kup-calendar.js.map +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-calendar.entry.js +21 -27
- package/dist/esm/kup-calendar.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js.map +1 -1
- package/dist/ketchup/{p-05a7120a.entry.js → p-1ffcc364.entry.js} +2 -2
- package/dist/ketchup/p-1ffcc364.entry.js.map +1 -0
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +4 -4
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +7 -1
- package/dist/types/components.d.ts +12 -2
- package/package.json +1 -1
- package/dist/ketchup/p-05a7120a.entry.js.map +0 -1
|
@@ -36,14 +36,14 @@ export declare enum KupCalendarOptions {
|
|
|
36
36
|
/**
|
|
37
37
|
* Calendar column.
|
|
38
38
|
*/
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
}
|
|
39
|
+
export type KupCalendarColumnsProp = {
|
|
40
|
+
[key in KupCalendarOptions]: string;
|
|
41
|
+
};
|
|
42
42
|
/**
|
|
43
43
|
* Dataset of the calendar.
|
|
44
44
|
*/
|
|
45
45
|
export interface KupCalendarData {
|
|
46
|
-
columns:
|
|
46
|
+
columns: KupDataColumn[];
|
|
47
47
|
rows: KupDataRow[];
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { GenericObject } from '../../types/GenericTypes';
|
|
3
|
-
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
|
|
3
|
+
import { KupCalendarColumnsProp, KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
|
|
4
4
|
export declare class KupCalendar {
|
|
5
5
|
/**
|
|
6
6
|
* References the root HTML element of the component (<kup-calendar>).
|
|
@@ -22,6 +22,12 @@ export declare class KupCalendar {
|
|
|
22
22
|
* @default null
|
|
23
23
|
*/
|
|
24
24
|
data: KupCalendarData;
|
|
25
|
+
/**
|
|
26
|
+
* Sets which columns of the data property will be used to render each
|
|
27
|
+
* characteristic of an event in the calendar.
|
|
28
|
+
* @default {KupCalendarOptions: ""}
|
|
29
|
+
*/
|
|
30
|
+
calendarColumns: KupCalendarColumnsProp;
|
|
25
31
|
/**
|
|
26
32
|
* When disabled, the navigation toolbar won't be displayed.
|
|
27
33
|
* @default false
|
|
@@ -18,7 +18,7 @@ import { KupStore } from "./components/kup-state/kup-store";
|
|
|
18
18
|
import { FButtonAlign, FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
|
|
19
19
|
import { KupButtonClickEventPayload } from "./components/kup-button/kup-button-declarations";
|
|
20
20
|
import { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
21
|
-
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
21
|
+
import { KupCalendarColumnsProp, KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
22
22
|
import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
23
23
|
import { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
|
|
24
24
|
import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
@@ -76,7 +76,7 @@ export { KupStore } from "./components/kup-state/kup-store";
|
|
|
76
76
|
export { FButtonAlign, FButtonProps, FButtonStyling } from "./f-components/f-button/f-button-declarations";
|
|
77
77
|
export { KupButtonClickEventPayload } from "./components/kup-button/kup-button-declarations";
|
|
78
78
|
export { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
79
|
-
export { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
79
|
+
export { KupCalendarColumnsProp, KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
80
80
|
export { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
81
81
|
export { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
|
|
82
82
|
export { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
@@ -702,6 +702,11 @@ export namespace Components {
|
|
|
702
702
|
"styling": FButtonStyling;
|
|
703
703
|
}
|
|
704
704
|
interface KupCalendar {
|
|
705
|
+
/**
|
|
706
|
+
* Sets which columns of the data property will be used to render each characteristic of an event in the calendar.
|
|
707
|
+
* @default {KupCalendarOptions: ""}
|
|
708
|
+
*/
|
|
709
|
+
"calendarColumns": KupCalendarColumnsProp;
|
|
705
710
|
/**
|
|
706
711
|
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
707
712
|
* @default null
|
|
@@ -6376,6 +6381,11 @@ declare namespace LocalJSX {
|
|
|
6376
6381
|
"styling"?: FButtonStyling;
|
|
6377
6382
|
}
|
|
6378
6383
|
interface KupCalendar {
|
|
6384
|
+
/**
|
|
6385
|
+
* Sets which columns of the data property will be used to render each characteristic of an event in the calendar.
|
|
6386
|
+
* @default {KupCalendarOptions: ""}
|
|
6387
|
+
*/
|
|
6388
|
+
"calendarColumns"?: KupCalendarColumnsProp;
|
|
6379
6389
|
/**
|
|
6380
6390
|
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
6381
6391
|
* @default null
|