funda-ui 4.3.355 → 4.3.721
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/DynamicFields/index.d.ts +1 -0
- package/DynamicFields/index.js +23 -3
- package/EventCalendar/index.css +150 -106
- package/EventCalendar/index.d.ts +11 -2
- package/EventCalendar/index.js +835 -151
- package/EventCalendarTimeline/index.css +293 -251
- package/EventCalendarTimeline/index.d.ts +18 -9
- package/EventCalendarTimeline/index.js +1077 -505
- package/MultipleCheckboxes/index.d.ts +1 -0
- package/MultipleCheckboxes/index.js +17 -7
- package/MultipleSelect/index.d.ts +4 -0
- package/MultipleSelect/index.js +54 -8
- package/NativeSelect/index.js +1 -0
- package/Radio/index.d.ts +2 -1
- package/Radio/index.js +54 -24
- package/Select/index.js +115 -42
- package/Table/index.js +27 -3
- package/lib/cjs/DynamicFields/index.d.ts +1 -0
- package/lib/cjs/DynamicFields/index.js +23 -3
- package/lib/cjs/EventCalendar/index.d.ts +11 -2
- package/lib/cjs/EventCalendar/index.js +835 -151
- package/lib/cjs/EventCalendarTimeline/index.d.ts +18 -9
- package/lib/cjs/EventCalendarTimeline/index.js +1077 -505
- package/lib/cjs/MultipleCheckboxes/index.d.ts +1 -0
- package/lib/cjs/MultipleCheckboxes/index.js +17 -7
- package/lib/cjs/MultipleSelect/index.d.ts +4 -0
- package/lib/cjs/MultipleSelect/index.js +54 -8
- package/lib/cjs/NativeSelect/index.js +1 -0
- package/lib/cjs/Radio/index.d.ts +2 -1
- package/lib/cjs/Radio/index.js +54 -24
- package/lib/cjs/Select/index.js +115 -42
- package/lib/cjs/Table/index.js +27 -3
- package/lib/css/EventCalendar/index.css +150 -106
- package/lib/css/EventCalendarTimeline/index.css +293 -251
- package/lib/esm/DynamicFields/index.tsx +28 -3
- package/lib/esm/EventCalendar/index.scss +172 -104
- package/lib/esm/EventCalendar/index.tsx +272 -139
- package/lib/esm/EventCalendarTimeline/index.scss +275 -213
- package/lib/esm/EventCalendarTimeline/index.tsx +706 -708
- package/lib/esm/MultipleCheckboxes/index.tsx +18 -5
- package/lib/esm/MultipleSelect/ItemList.tsx +1 -0
- package/lib/esm/MultipleSelect/index.tsx +103 -52
- package/lib/esm/NativeSelect/index.tsx +2 -0
- package/lib/esm/Radio/index.tsx +68 -27
- package/lib/esm/Select/index.tsx +236 -65
- package/lib/esm/Table/Table.tsx +1 -0
- package/lib/esm/Table/TableCell.tsx +6 -0
- package/lib/esm/Table/table-utils/ToggleSelection.tsx +17 -2
- package/package.json +1 -1
|
@@ -6,16 +6,22 @@ export interface EventsValueConfig {
|
|
|
6
6
|
data: string;
|
|
7
7
|
dataTooltip?: string;
|
|
8
8
|
eventStyles?: React.CSSProperties;
|
|
9
|
+
callback?: () => void;
|
|
9
10
|
}
|
|
10
|
-
export interface
|
|
11
|
+
export interface TimelineRowSectionConfig {
|
|
11
12
|
id: string | number;
|
|
12
13
|
title: string;
|
|
13
14
|
}
|
|
14
|
-
export interface
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
export interface TimelineCellListConfig {
|
|
16
|
+
date: string;
|
|
17
|
+
list: EventsValueConfig[];
|
|
18
|
+
}
|
|
19
|
+
export interface TimelineRowListConfig {
|
|
20
|
+
listSection: TimelineRowSectionConfig;
|
|
21
|
+
eventSources: TimelineCellListConfig[];
|
|
17
22
|
}
|
|
18
23
|
export declare type EventCalendarTimelineProps = {
|
|
24
|
+
contentRef?: React.ForwardedRef<any>;
|
|
19
25
|
calendarWrapperClassName?: string;
|
|
20
26
|
tableWrapperClassName?: string;
|
|
21
27
|
tableClassName?: string;
|
|
@@ -25,15 +31,18 @@ export declare type EventCalendarTimelineProps = {
|
|
|
25
31
|
tableListEndClassName?: string;
|
|
26
32
|
tableListDividerClassName?: string;
|
|
27
33
|
customTodayDate?: string;
|
|
28
|
-
eventsValue?:
|
|
34
|
+
eventsValue?: TimelineRowListConfig[];
|
|
29
35
|
langWeek?: string[];
|
|
30
36
|
langWeekFull?: string[];
|
|
31
37
|
langMonths?: string[];
|
|
32
38
|
langMonthsFull?: string[];
|
|
33
39
|
langToday?: string;
|
|
34
40
|
iconRemove?: React.ReactNode | string;
|
|
41
|
+
iconAdd?: React.ReactNode | string;
|
|
35
42
|
cellCloseBtnClassName?: string;
|
|
36
43
|
cellCloseBtnLabel?: string | React.ReactNode;
|
|
44
|
+
cellAddBtnClassName?: string;
|
|
45
|
+
cellAddBtnLabel?: string | React.ReactNode;
|
|
37
46
|
forwardAndBackFillDisabled?: boolean;
|
|
38
47
|
draggable?: boolean;
|
|
39
48
|
showWeek?: boolean;
|
|
@@ -55,12 +64,12 @@ export declare type EventCalendarTimelineProps = {
|
|
|
55
64
|
modalSubmitBtnLabel?: string | React.ReactNode;
|
|
56
65
|
modalSubmitDeleteBtnClassName?: string;
|
|
57
66
|
modalSubmitDeleteBtnLabel?: string | React.ReactNode;
|
|
58
|
-
onModalEditOpen?: (currentData: any, openwin: any) => void;
|
|
67
|
+
onModalEditOpen?: (currentData: any, openwin: any, type: 'normal' | 'new') => void;
|
|
59
68
|
onModalEditClose?: (currentData: any) => void;
|
|
60
|
-
onModalDeleteOpen?: (currentData: any) => void;
|
|
69
|
+
onModalDeleteOpen?: (currentData: any, openwin: any) => void;
|
|
61
70
|
onModalDeleteClose?: (currentData: any) => void;
|
|
62
|
-
onModalEditEvent?: (currentData: any, closewin: any) => void;
|
|
63
|
-
onModalDeleteEvent?: (currentData: any, closewin: any) => void;
|
|
71
|
+
onModalEditEvent?: (currentData: any, closewin: any, gridInit: Function) => void;
|
|
72
|
+
onModalDeleteEvent?: (currentData: any, closewin: any, gridInit: Function) => void;
|
|
64
73
|
onCellMouseEnter?: (el: any) => void;
|
|
65
74
|
onCellMouseLeave?: (el: any) => void;
|
|
66
75
|
onCellClick?: (el: any) => void;
|