@zealicsolutions/web-ui 1.0.60-test.1 → 1.0.60-test.3
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/index.js +247 -247
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +75 -24
- package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +3 -17
- package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +95 -2
- package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +98 -2
- package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +85 -2
- package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
- package/dist/cjs/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
- package/dist/cjs/molecules/DatePicker/DatePicker.d.ts +3 -1
- package/dist/esm/containers/FormContainer.js +1 -1
- package/dist/esm/containers/FormContainer.js.map +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +75 -24
- package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +3 -17
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +95 -2
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/SimpleCalendar.d.ts +98 -2
- package/dist/esm/molecules/Calendar/SimpleCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/SimpleCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.d.ts +85 -2
- package/dist/esm/molecules/Calendar/YearViewCalendar.js +1 -1
- package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js +2 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js.map +1 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js +2 -0
- package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js.map +1 -0
- package/dist/esm/molecules/DatePicker/DatePicker.d.ts +3 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
- package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +1 -1
- package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +1 -1
- package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +1 -1
- package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +1 -1
- package/dist/index.d.ts +77 -24
- package/package.json +1 -1
- package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
- package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
@@ -7,12 +7,15 @@ export interface CalendarMoleculeProps {
|
|
7
7
|
enableDayView?: boolean;
|
8
8
|
enableWeekView?: boolean;
|
9
9
|
enableMonthView?: boolean;
|
10
|
+
enableYearView?: boolean;
|
10
11
|
enableDayListView?: boolean;
|
11
12
|
enableWeekListView?: boolean;
|
12
13
|
enableGridView?: boolean;
|
13
14
|
enableTimelineView?: boolean;
|
14
15
|
enableResourceView?: boolean;
|
15
|
-
|
16
|
+
monthsPerRow?: number;
|
17
|
+
dayMaxEvents?: number;
|
18
|
+
yearViewMode?: 'grid' | 'stack' | 'continuous';
|
16
19
|
showPrevButton?: boolean;
|
17
20
|
showNextButton?: boolean;
|
18
21
|
showTodayButton?: boolean;
|
@@ -20,23 +23,13 @@ export interface CalendarMoleculeProps {
|
|
20
23
|
editable?: boolean;
|
21
24
|
droppable?: boolean;
|
22
25
|
selectable?: boolean;
|
23
|
-
monthsPerRow?: number;
|
24
|
-
dayMaxEvents?: number;
|
25
|
-
yearViewMode?: 'grid' | 'stack' | 'continuous';
|
26
26
|
slotDuration?: string;
|
27
27
|
snapDuration?: string;
|
28
28
|
businessHours?: any;
|
29
29
|
eventOverlap?: boolean;
|
30
30
|
showGridLines?: boolean;
|
31
|
-
buttonBorderRadius?: string;
|
32
|
-
eventFontSize?: string | number;
|
33
|
-
eventFontFamily?: string;
|
34
|
-
eventFontWeight?: string | number;
|
35
|
-
resourceGroupCollapsible?: boolean;
|
36
31
|
width?: string | number;
|
37
32
|
height?: string | number;
|
38
|
-
backgroundColor?: string;
|
39
|
-
themeSystem?: any;
|
40
33
|
marginLeft?: string;
|
41
34
|
marginTop?: string;
|
42
35
|
marginRight?: string;
|
@@ -45,27 +38,85 @@ export interface CalendarMoleculeProps {
|
|
45
38
|
paddingTop?: string;
|
46
39
|
paddingRight?: string;
|
47
40
|
paddingBottom?: string;
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
41
|
+
themeSystem?: any;
|
42
|
+
buttonFontSize?: string | number;
|
43
|
+
buttonPaddingY?: string;
|
44
|
+
buttonPaddingX?: string;
|
45
|
+
buttonColor?: string;
|
53
46
|
buttonTextColor?: string;
|
54
|
-
|
47
|
+
buttonBorderColor?: string;
|
48
|
+
buttonFontWeight?: string | number;
|
49
|
+
buttonElevation?: number;
|
50
|
+
buttonHeight?: string | number;
|
51
|
+
buttonMinWidth?: string | number;
|
52
|
+
buttonMarginY?: string;
|
53
|
+
buttonMarginX?: string;
|
54
|
+
buttonBorderRadius?: string;
|
55
|
+
buttonHoverColor?: string;
|
56
|
+
buttonHoverTextColor?: string;
|
57
|
+
buttonHoverBorderColor?: string;
|
58
|
+
headerBackgroundColor?: string;
|
59
|
+
headerBorderColor?: string;
|
60
|
+
headerPadding?: string;
|
61
|
+
headerHeight?: string | number;
|
62
|
+
headerFontSize?: string | number;
|
63
|
+
headerFontWeight?: string | number;
|
64
|
+
headerTextColor?: string;
|
55
65
|
dayHeaderColor?: string;
|
56
66
|
dayHeaderFontWeight?: string | number;
|
57
|
-
|
58
|
-
slotLabelFontSize?: string | number;
|
59
|
-
eventBg?: string;
|
67
|
+
eventBackgroundColor?: string;
|
60
68
|
eventBorderColor?: string;
|
61
69
|
eventTextColor?: string;
|
62
|
-
|
70
|
+
eventBorderRadius?: string;
|
71
|
+
eventOpacity?: number;
|
72
|
+
eventElevation?: number;
|
73
|
+
eventPadding?: string;
|
74
|
+
eventFontSize?: string | number;
|
75
|
+
eventFontFamily?: string;
|
76
|
+
eventFontWeight?: string | number;
|
77
|
+
cellBackgroundColor?: string;
|
78
|
+
cellHoverBackgroundColor?: string;
|
79
|
+
cellTodayBackgroundColor?: string;
|
80
|
+
cellBorderColor?: string;
|
81
|
+
cellTextColor?: string;
|
82
|
+
cellFontSize?: string | number;
|
83
|
+
cellPadding?: string;
|
84
|
+
cellHeight?: string | number;
|
85
|
+
timeGridSlotHeight?: string | number;
|
86
|
+
timeGridSlotBorderColor?: string;
|
87
|
+
timeGridNowIndicatorColor?: string;
|
88
|
+
timeGridLabelFontSize?: string | number;
|
89
|
+
timeGridLabelColor?: string;
|
63
90
|
nowIndicatorColor?: string;
|
64
|
-
|
91
|
+
allDaySlot?: boolean;
|
92
|
+
allDayBackgroundColor?: string;
|
93
|
+
allDayTextColor?: string;
|
94
|
+
resourceAreaWidth?: string | number;
|
95
|
+
resourceBackgroundColor?: string;
|
65
96
|
resourceTextColor?: string;
|
66
97
|
resourceBorderColor?: string;
|
67
|
-
|
68
|
-
|
98
|
+
resourceFontSize?: string | number;
|
99
|
+
resourcePadding?: string;
|
100
|
+
resourceGroupCollapsible?: boolean;
|
101
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
102
|
+
borderWidth?: string;
|
103
|
+
borderColor?: string;
|
104
|
+
borderRadius?: string;
|
105
|
+
backgroundColor?: string;
|
106
|
+
fontFamily?: string;
|
107
|
+
elevation?: number;
|
108
|
+
overlayColor?: string;
|
109
|
+
overlayOpacity?: 'none' | 'light' | 'medium' | 'strong';
|
110
|
+
glassEffect?: 'none' | 'light' | 'medium' | 'strong';
|
111
|
+
headerLetterSpacing?: 'normal' | 'wide' | 'wider' | 'tight';
|
112
|
+
textShadowStyle?: 'none' | 'subtle' | 'medium' | 'strong';
|
113
|
+
enableAnimations?: boolean;
|
114
|
+
animationSpeed?: 'slow' | 'medium' | 'fast';
|
115
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
116
|
+
customButtons?: Record<string, {
|
117
|
+
text: string;
|
118
|
+
click: () => void;
|
119
|
+
}>;
|
69
120
|
onEventAdd?: (e: any) => void;
|
70
121
|
configurationItemInfo?: ConfigurationItemInfo;
|
71
122
|
}
|
@@ -3,20 +3,6 @@ import { CalendarMolecule } from './CalendarMolecule';
|
|
3
3
|
declare const meta: Meta<typeof CalendarMolecule>;
|
4
4
|
export default meta;
|
5
5
|
declare type Story = StoryObj<typeof CalendarMolecule>;
|
6
|
-
export declare const
|
7
|
-
export declare const
|
8
|
-
export declare const
|
9
|
-
export declare const DayGridView: Story;
|
10
|
-
export declare const DayTimelineView: Story;
|
11
|
-
export declare const ListViews: Story;
|
12
|
-
export declare const ResourceGridViews: Story;
|
13
|
-
export declare const ResourceTimelineViews: Story;
|
14
|
-
export declare const ResourceListViews: Story;
|
15
|
-
export declare const DragAndDrop: Story;
|
16
|
-
export declare const SelectableDates: Story;
|
17
|
-
export declare const BackgroundEvents: Story;
|
18
|
-
export declare const YearView: Story;
|
19
|
-
export declare const AllViewsEnabled: Story;
|
20
|
-
export declare const CustomToolbar: Story;
|
21
|
-
export declare const MinimalToolbar: Story;
|
22
|
-
export declare const Themed: Story;
|
6
|
+
export declare const ResourcesWithVisits: Story;
|
7
|
+
export declare const Simple: Story;
|
8
|
+
export declare const Styled: Story;
|
@@ -1,3 +1,96 @@
|
|
1
|
+
import { ConfigurationItemInfo } from 'containers';
|
1
2
|
import React from 'react';
|
2
|
-
|
3
|
-
|
3
|
+
export interface ResourceTimelineCalendarProps {
|
4
|
+
events?: any[];
|
5
|
+
resources?: any[];
|
6
|
+
initialView?: 'resourceTimeGridDay' | 'resourceTimeGridWeek' | 'resourceTimelineDay' | 'resourceTimelineWeek';
|
7
|
+
enableTimelineView?: boolean;
|
8
|
+
showPrevButton?: boolean;
|
9
|
+
showNextButton?: boolean;
|
10
|
+
showTodayButton?: boolean;
|
11
|
+
showViewSwitcher?: boolean;
|
12
|
+
editable?: boolean;
|
13
|
+
droppable?: boolean;
|
14
|
+
selectable?: boolean;
|
15
|
+
slotDuration?: string;
|
16
|
+
snapDuration?: string;
|
17
|
+
businessHours?: any;
|
18
|
+
eventOverlap?: boolean;
|
19
|
+
showGridLines?: boolean;
|
20
|
+
width?: string | number;
|
21
|
+
height?: string | number;
|
22
|
+
marginLeft?: string;
|
23
|
+
marginTop?: string;
|
24
|
+
marginRight?: string;
|
25
|
+
marginBottom?: string;
|
26
|
+
paddingLeft?: string;
|
27
|
+
paddingTop?: string;
|
28
|
+
paddingRight?: string;
|
29
|
+
paddingBottom?: string;
|
30
|
+
buttonFontSize?: string | number;
|
31
|
+
buttonPaddingY?: string;
|
32
|
+
buttonPaddingX?: string;
|
33
|
+
buttonColor?: string;
|
34
|
+
buttonTextColor?: string;
|
35
|
+
buttonBorderColor?: string;
|
36
|
+
buttonFontWeight?: string | number;
|
37
|
+
buttonElevation?: number;
|
38
|
+
buttonHeight?: string | number;
|
39
|
+
buttonMinWidth?: string | number;
|
40
|
+
buttonMarginY?: string;
|
41
|
+
buttonMarginX?: string;
|
42
|
+
buttonBorderRadius?: string;
|
43
|
+
buttonHoverColor?: string;
|
44
|
+
buttonHoverTextColor?: string;
|
45
|
+
buttonHoverBorderColor?: string;
|
46
|
+
headerBackgroundColor?: string;
|
47
|
+
headerBorderColor?: string;
|
48
|
+
headerPadding?: string;
|
49
|
+
headerHeight?: string | number;
|
50
|
+
headerFontSize?: string | number;
|
51
|
+
headerFontWeight?: string | number;
|
52
|
+
headerTextColor?: string;
|
53
|
+
dayHeaderColor?: string;
|
54
|
+
dayHeaderFontWeight?: string | number;
|
55
|
+
eventBackgroundColor?: string;
|
56
|
+
eventBorderColor?: string;
|
57
|
+
eventTextColor?: string;
|
58
|
+
eventBorderRadius?: string;
|
59
|
+
eventOpacity?: number;
|
60
|
+
eventElevation?: number;
|
61
|
+
eventPadding?: string;
|
62
|
+
eventFontSize?: string | number;
|
63
|
+
eventFontFamily?: string;
|
64
|
+
eventFontWeight?: string | number;
|
65
|
+
timeGridSlotHeight?: string | number;
|
66
|
+
timeGridSlotBorderColor?: string;
|
67
|
+
timeGridNowIndicatorColor?: string;
|
68
|
+
timeGridLabelFontSize?: string | number;
|
69
|
+
timeGridLabelColor?: string;
|
70
|
+
nowIndicatorColor?: string;
|
71
|
+
allDaySlot?: boolean;
|
72
|
+
allDayBackgroundColor?: string;
|
73
|
+
allDayTextColor?: string;
|
74
|
+
resourceAreaWidth?: string | number;
|
75
|
+
resourceBackgroundColor?: string;
|
76
|
+
resourceTextColor?: string;
|
77
|
+
resourceBorderColor?: string;
|
78
|
+
resourceFontSize?: string | number;
|
79
|
+
resourcePadding?: string;
|
80
|
+
resourceGroupCollapsible?: boolean;
|
81
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
82
|
+
borderWidth?: string;
|
83
|
+
borderColor?: string;
|
84
|
+
borderRadius?: string;
|
85
|
+
backgroundColor?: string;
|
86
|
+
fontFamily?: string;
|
87
|
+
elevation?: number;
|
88
|
+
headerLetterSpacing?: 'normal' | 'wide' | 'wider' | 'tight';
|
89
|
+
textShadowStyle?: 'none' | 'subtle' | 'medium' | 'strong';
|
90
|
+
enableAnimations?: boolean;
|
91
|
+
animationSpeed?: string;
|
92
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
93
|
+
onEventAdd?: (e: any) => void;
|
94
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
95
|
+
}
|
96
|
+
export declare const ResourceTimelineCalendarMolecule: React.FC<ResourceTimelineCalendarProps>;
|
@@ -1,3 +1,99 @@
|
|
1
|
+
import { ConfigurationItemInfo } from 'containers';
|
1
2
|
import React from 'react';
|
2
|
-
|
3
|
-
|
3
|
+
export interface SimpleCalendarProps {
|
4
|
+
events?: any[];
|
5
|
+
initialView?: 'month' | 'week' | 'day';
|
6
|
+
enableDayView?: boolean;
|
7
|
+
enableWeekView?: boolean;
|
8
|
+
enableMonthView?: boolean;
|
9
|
+
enableGridView?: boolean;
|
10
|
+
showPrevButton?: boolean;
|
11
|
+
showNextButton?: boolean;
|
12
|
+
showTodayButton?: boolean;
|
13
|
+
showViewSwitcher?: boolean;
|
14
|
+
editable?: boolean;
|
15
|
+
droppable?: boolean;
|
16
|
+
selectable?: boolean;
|
17
|
+
slotDuration?: string;
|
18
|
+
snapDuration?: string;
|
19
|
+
businessHours?: any;
|
20
|
+
eventOverlap?: boolean;
|
21
|
+
showGridLines?: boolean;
|
22
|
+
width?: string | number;
|
23
|
+
height?: string | number;
|
24
|
+
marginLeft?: string;
|
25
|
+
marginTop?: string;
|
26
|
+
marginRight?: string;
|
27
|
+
marginBottom?: string;
|
28
|
+
paddingLeft?: string;
|
29
|
+
paddingTop?: string;
|
30
|
+
paddingRight?: string;
|
31
|
+
paddingBottom?: string;
|
32
|
+
buttonFontSize?: string | number;
|
33
|
+
buttonPaddingY?: string;
|
34
|
+
buttonPaddingX?: string;
|
35
|
+
buttonColor?: string;
|
36
|
+
buttonTextColor?: string;
|
37
|
+
buttonBorderColor?: string;
|
38
|
+
buttonFontWeight?: string | number;
|
39
|
+
buttonElevation?: number;
|
40
|
+
buttonHeight?: string | number;
|
41
|
+
buttonMinWidth?: string | number;
|
42
|
+
buttonMarginY?: string;
|
43
|
+
buttonMarginX?: string;
|
44
|
+
buttonBorderRadius?: string;
|
45
|
+
buttonHoverColor?: string;
|
46
|
+
buttonHoverTextColor?: string;
|
47
|
+
buttonHoverBorderColor?: string;
|
48
|
+
headerBackgroundColor?: string;
|
49
|
+
headerBorderColor?: string;
|
50
|
+
headerPadding?: string;
|
51
|
+
headerHeight?: string | number;
|
52
|
+
headerFontSize?: string | number;
|
53
|
+
headerFontWeight?: string | number;
|
54
|
+
headerTextColor?: string;
|
55
|
+
dayHeaderColor?: string;
|
56
|
+
dayHeaderFontWeight?: string | number;
|
57
|
+
eventBackgroundColor?: string;
|
58
|
+
eventBorderColor?: string;
|
59
|
+
eventTextColor?: string;
|
60
|
+
eventBorderRadius?: string;
|
61
|
+
eventOpacity?: number;
|
62
|
+
eventElevation?: number;
|
63
|
+
eventPadding?: string;
|
64
|
+
eventFontSize?: string | number;
|
65
|
+
eventFontFamily?: string;
|
66
|
+
eventFontWeight?: string | number;
|
67
|
+
cellBackgroundColor?: string;
|
68
|
+
cellHoverBackgroundColor?: string;
|
69
|
+
cellTodayBackgroundColor?: string;
|
70
|
+
cellBorderColor?: string;
|
71
|
+
cellTextColor?: string;
|
72
|
+
cellFontSize?: string | number;
|
73
|
+
cellPadding?: string;
|
74
|
+
cellHeight?: string | number;
|
75
|
+
timeGridSlotHeight?: string | number;
|
76
|
+
timeGridSlotBorderColor?: string;
|
77
|
+
timeGridNowIndicatorColor?: string;
|
78
|
+
timeGridLabelFontSize?: string | number;
|
79
|
+
timeGridLabelColor?: string;
|
80
|
+
nowIndicatorColor?: string;
|
81
|
+
allDaySlot?: boolean;
|
82
|
+
allDayBackgroundColor?: string;
|
83
|
+
allDayTextColor?: string;
|
84
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
85
|
+
borderWidth?: string;
|
86
|
+
borderColor?: string;
|
87
|
+
borderRadius?: string;
|
88
|
+
backgroundColor?: string;
|
89
|
+
fontFamily?: string;
|
90
|
+
elevation?: number;
|
91
|
+
headerLetterSpacing?: 'normal' | 'wide' | 'wider' | 'tight';
|
92
|
+
textShadowStyle?: 'none' | 'subtle' | 'medium' | 'strong';
|
93
|
+
enableAnimations?: boolean;
|
94
|
+
animationSpeed?: string;
|
95
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
96
|
+
onEventAdd?: (e: any) => void;
|
97
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
98
|
+
}
|
99
|
+
export declare const SimpleCalendarMolecule: React.FC<SimpleCalendarProps>;
|
@@ -1,3 +1,86 @@
|
|
1
|
+
import { ConfigurationItemInfo } from 'containers';
|
1
2
|
import React from 'react';
|
2
|
-
|
3
|
-
|
3
|
+
export interface YearViewCalendarProps {
|
4
|
+
events?: any[];
|
5
|
+
monthsPerRow?: number;
|
6
|
+
dayMaxEvents?: number;
|
7
|
+
yearViewMode?: 'grid' | 'stack' | 'continuous';
|
8
|
+
showPrevButton?: boolean;
|
9
|
+
showNextButton?: boolean;
|
10
|
+
showTodayButton?: boolean;
|
11
|
+
editable?: boolean;
|
12
|
+
droppable?: boolean;
|
13
|
+
selectable?: boolean;
|
14
|
+
businessHours?: any;
|
15
|
+
eventOverlap?: boolean;
|
16
|
+
showGridLines?: boolean;
|
17
|
+
width?: string | number;
|
18
|
+
height?: string | number;
|
19
|
+
marginLeft?: string;
|
20
|
+
marginTop?: string;
|
21
|
+
marginRight?: string;
|
22
|
+
marginBottom?: string;
|
23
|
+
paddingLeft?: string;
|
24
|
+
paddingTop?: string;
|
25
|
+
paddingRight?: string;
|
26
|
+
paddingBottom?: string;
|
27
|
+
themeSystem?: any;
|
28
|
+
buttonFontSize?: string | number;
|
29
|
+
buttonPaddingY?: string;
|
30
|
+
buttonPaddingX?: string;
|
31
|
+
buttonColor?: string;
|
32
|
+
buttonTextColor?: string;
|
33
|
+
buttonBorderColor?: string;
|
34
|
+
buttonFontWeight?: string | number;
|
35
|
+
buttonElevation?: number;
|
36
|
+
buttonHeight?: string | number;
|
37
|
+
buttonMinWidth?: string | number;
|
38
|
+
buttonMarginY?: string;
|
39
|
+
buttonMarginX?: string;
|
40
|
+
buttonBorderRadius?: string;
|
41
|
+
buttonHoverColor?: string;
|
42
|
+
buttonHoverTextColor?: string;
|
43
|
+
buttonHoverBorderColor?: string;
|
44
|
+
headerBackgroundColor?: string;
|
45
|
+
headerBorderColor?: string;
|
46
|
+
headerPadding?: string;
|
47
|
+
headerHeight?: string | number;
|
48
|
+
headerFontSize?: string | number;
|
49
|
+
headerFontWeight?: string | number;
|
50
|
+
headerTextColor?: string;
|
51
|
+
dayHeaderColor?: string;
|
52
|
+
dayHeaderFontWeight?: string | number;
|
53
|
+
eventBackgroundColor?: string;
|
54
|
+
eventBorderColor?: string;
|
55
|
+
eventTextColor?: string;
|
56
|
+
eventBorderRadius?: string;
|
57
|
+
eventOpacity?: number;
|
58
|
+
eventElevation?: number;
|
59
|
+
eventPadding?: string;
|
60
|
+
eventFontSize?: string | number;
|
61
|
+
eventFontFamily?: string;
|
62
|
+
eventFontWeight?: string | number;
|
63
|
+
cellBackgroundColor?: string;
|
64
|
+
cellHoverBackgroundColor?: string;
|
65
|
+
cellTodayBackgroundColor?: string;
|
66
|
+
cellBorderColor?: string;
|
67
|
+
cellTextColor?: string;
|
68
|
+
cellFontSize?: string | number;
|
69
|
+
cellPadding?: string;
|
70
|
+
cellHeight?: string | number;
|
71
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
72
|
+
borderWidth?: string;
|
73
|
+
borderColor?: string;
|
74
|
+
borderRadius?: string;
|
75
|
+
backgroundColor?: string;
|
76
|
+
fontFamily?: string;
|
77
|
+
elevation?: number;
|
78
|
+
headerLetterSpacing?: 'normal' | 'wide' | 'wider' | 'tight';
|
79
|
+
textShadowStyle?: 'none' | 'subtle' | 'medium' | 'strong';
|
80
|
+
enableAnimations?: boolean;
|
81
|
+
animationSpeed?: string;
|
82
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
83
|
+
onEventAdd?: (e: any) => void;
|
84
|
+
configurationItemInfo?: ConfigurationItemInfo;
|
85
|
+
}
|
86
|
+
export declare const YearViewCalendarMolecule: React.FC<YearViewCalendarProps>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
interface UseCalendarCoreOptions {
|
3
|
+
initialEvents?: any[];
|
4
|
+
onEventAdd?: (event: any) => void;
|
5
|
+
businessHours?: any;
|
6
|
+
}
|
7
|
+
export declare const useCalendarCore: ({ initialEvents, onEventAdd, businessHours, }?: UseCalendarCoreOptions) => {
|
8
|
+
eventsState: any[];
|
9
|
+
setEventsState: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
10
|
+
calRef: import("react").MutableRefObject<any>;
|
11
|
+
allowDrop: (info: any) => boolean;
|
12
|
+
onReceive: (info: any) => void;
|
13
|
+
};
|
14
|
+
export {};
|