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