@zealicsolutions/web-ui 1.0.68 → 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/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/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,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,2 +1,2 @@
|
|
1
|
-
import{__assign as
|
1
|
+
import{__rest as e,__assign as o}from"../../node_modules/tslib/tslib.es6.js";import{jsx as i}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import t from"../../node_modules/@fullcalendar/react/dist/index.js";import{useCallback as n}from"react";import{useCalendarCore as r}from"./hooks/useCalendarCore.js";import{useCalendarStyling as a}from"./hooks/useCalendarStyling.js";import d from"../../node_modules/@fullcalendar/daygrid/index.js";import s from"../../node_modules/@fullcalendar/interaction/index.js";import l from"../../node_modules/@fullcalendar/list/index.js";import u from"../../node_modules/@fullcalendar/timegrid/index.js";import m from"../../node_modules/@mui/material/Box/Box.js";var v=function(v){var h=v.events,p=void 0===h?[]:h,w=v.initialView,c=void 0===w?"month":w,f=v.enableDayView,y=void 0===f||f,b=v.enableWeekView,x=void 0===b||b,D=v.enableMonthView,j=void 0===D||D,V=v.enableGridView,k=void 0===V||V,g=v.showPrevButton,G=void 0===g||g,B=v.showNextButton,S=void 0===B||B,_=v.showTodayButton,A=void 0===_||_,M=v.showViewSwitcher,C=void 0===M||M,E=v.editable,H=void 0===E||E,I=v.droppable,N=void 0===I||I,W=v.selectable,O=void 0===W||W,R=v.slotDuration,T=void 0===R?"00:15:00":R,P=v.snapDuration,K=void 0===P?"00:05:00":P,L=v.businessHours,q=v.eventOverlap,z=void 0!==q&&q;v.width;var F=v.height,J=v.allDaySlot,Q=v.onEventAdd,U=v.configurationItemInfo,X=e(v,["events","initialView","enableDayView","enableWeekView","enableMonthView","enableGridView","showPrevButton","showNextButton","showTodayButton","showViewSwitcher","editable","droppable","selectable","slotDuration","snapDuration","businessHours","eventOverlap","width","height","allDaySlot","onEventAdd","configurationItemInfo"]),Y=[s,d,l,u],Z=Array.isArray(p)?p:[],$=r({initialEvents:Z,onEventAdd:Q,businessHours:L}),ee=$.eventsState,oe=$.calRef,ie=$.allowDrop,te=$.onReceive,ne=a(X).sx,re=function(e){return k?"day"===e?"timeGridDay":"week"===e?"timeGridWeek":"dayGridMonth":"day"===e?"listDay":"week"===e?"listWeek":"dayGridMonth"},ae={month:"dayGridMonth",week:re("week"),day:re("day")}[c]||"dayGridMonth",de=n((function(){var e=[];G&&e.push("prev"),S&&e.push("next"),A&&e.push("today");var o=[];return C&&(j&&o.push("dayGridMonth"),x&&o.push(re("week")),y&&o.push(re("day"))),{left:e.join(","),center:"title",right:o.join(",")}}),[y,x,j,k,G,S,A,C]);return i(m,o({sx:ne},U,{children:i(t,{ref:oe,height:F,plugins:Y,themeSystem:"standard",schedulerLicenseKey:"CC-Attribution-NonCommercial-NoDerivatives",initialView:ae,headerToolbar:de(),editable:H,droppable:N,selectable:O,businessHours:L,eventOverlap:z,eventAllow:ie,allDaySlot:J,slotDuration:T,snapDuration:K,events:ee,eventReceive:te})}))};export{v as SimpleCalendarMolecule};
|
2
2
|
//# sourceMappingURL=SimpleCalendar.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SimpleCalendar.js","sources":["../../../../../src/molecules/Calendar/SimpleCalendar.tsx"],"sourcesContent":[null],"names":["SimpleCalendarMolecule","
|
1
|
+
{"version":3,"file":"SimpleCalendar.js","sources":["../../../../../src/molecules/Calendar/SimpleCalendar.tsx"],"sourcesContent":[null],"names":["SimpleCalendarMolecule","_a","_b","events","initialEvents","_c","initialView","_d","enableDayView","_e","enableWeekView","_f","enableMonthView","_g","enableGridView","_h","showPrevButton","_j","showNextButton","_k","showTodayButton","_l","showViewSwitcher","_m","editable","_o","droppable","_p","selectable","_q","slotDuration","_r","snapDuration","businessHours","_s","eventOverlap","width","height","allDaySlot","onEventAdd","configurationItemInfo","stylingProps","__rest","plugins","interactionPlugin","dayGridPlugin","listPlugin","timeGridPlugin","safeEvents","Array","isArray","_t","useCalendarCore","eventsState","calRef","allowDrop","onReceive","sx","useCalendarStyling","getViewType","baseView","normalizedInitialView","month","week","day","getHeaderToolbarConfig","useCallback","leftItems","push","rightItems","left","join","center","right","_jsx","Box","FullCalendar","ref","themeSystem","schedulerLicenseKey","headerToolbar","eventAllow","eventReceive"],"mappings":"guBAyKO,IAAMA,EAAwD,SAACC,OAEpEC,EAA0BD,EAAAE,OAAlBC,OAAa,IAAAF,EAAG,GAAEA,EAG1BG,EAAqBJ,EAAAK,YAArBA,OAAW,IAAAD,EAAG,QAAOA,EAGrBE,EAAoBN,EAAAO,cAApBA,cAAoBD,EACpBE,EAAAR,EAAAS,eAAAA,OAAc,IAAAD,GAAOA,EACrBE,EAAsBV,EAAAW,gBAAtBA,OAAe,IAAAD,GAAOA,EAGtBE,EAAqBZ,EAAAa,eAArBA,OAAc,IAAAD,GAAOA,EAGrBE,EAAqBd,EAAAe,eAArBA,OAAc,IAAAD,GAAOA,EACrBE,mBAAAC,OAAiB,IAAAD,GAAIA,EACrBE,oBAAAC,OAAkB,IAAAD,GAAIA,EACtBE,qBAAAC,OAAmB,IAAAD,GAAIA,EAGvBE,EAAetB,EAAAuB,SAAfA,cAAeD,EACfE,EAAAxB,EAAAyB,UAAAA,OAAS,IAAAD,GAAOA,EAChBE,EAAiB1B,EAAA2B,WAAjBA,OAAU,IAAAD,GAAOA,EAGjBE,EAAyB5B,EAAA6B,aAAzBA,aAAe,WAAUD,EACzBE,EAAyB9B,EAAA+B,aAAzBA,OAAe,IAAAD,EAAA,aACfE,kBACAC,EAAAjC,EAAAkC,aAAAA,OAAY,IAAAD,GAAQA,EAGfjC,EAAAmC,MACL,IAAAC,EAAMpC,EAAAoC,OAGNC,EAAUrC,EAAAqC,WAGVC,EAAUtC,EAAAsC,WAGVC,EAAqBvC,EAAAuC,sBAElBC,EAAYC,EAAAzC,EA7CqD,yUAgD9D0C,EAAU,CAACC,EAAmBC,EAAeC,EAAYC,GAGzDC,EAAaC,MAAMC,QAAQ9C,GAAiBA,EAAgB,GAE5D+C,EAAgDC,EAAgB,CACpEhD,cAAe4C,EACfT,WAAUA,EACVN,cAAaA,IAHPoB,GAAWF,EAAAE,YAAEC,GAAMH,EAAAG,OAAEC,GAASJ,EAAAI,UAAEC,GAASL,EAAAK,UAMzCC,GAAOC,EAAmBjB,MAG5BkB,GAAc,SAACC,GACnB,OAAK9C,EAIe,QAAb8C,EACH,cACa,SAAbA,EACA,eACA,eANkB,QAAbA,EAAqB,UAAyB,SAAbA,EAAsB,WAAa,cAO/E,EAQMC,GANU,CACdC,MAAO,eACPC,KAAMJ,GAAY,QAClBK,IAAKL,GAAY,QAGmBrD,IAAgB,eAGhD2D,GAAyBC,GAAY,WACzC,IAAMC,EAAY,GACdnD,GAAgBmD,EAAUC,KAAK,QAC/BlD,GAAgBiD,EAAUC,KAAK,QAC/BhD,GAAiB+C,EAAUC,KAAK,SAEpC,IAAMC,EAAa,GAOnB,OANI/C,IACEV,GAAiByD,EAAWD,KAAK,gBACjC1D,GAAgB2D,EAAWD,KAAKT,GAAY,SAC5CnD,GAAe6D,EAAWD,KAAKT,GAAY,SAG1C,CACLW,KAAMH,EAAUI,KAAK,KACrBC,OAAQ,QACRC,MAAOJ,EAAWE,KAAK,KAE3B,GAAG,CACD/D,EACAE,EACAE,EACAE,EACAE,EACAE,EACAE,EACAE,IAGF,OACEoD,EAACC,KAAIlB,GAAIA,IAAQjB,YACfkC,EAACE,GACCC,IAAKvB,GACLjB,OAAQA,EACRM,QAASA,EACTmC,YAAY,WACZC,oBAAoB,6CACpBzE,YAAauD,GACbmB,cAAef,KACfzC,SAAUA,EACVE,UAAWA,EACXE,WAAYA,EACZK,cAAeA,EACfE,aAAcA,EACd8C,WAAY1B,GACZjB,WAAYA,EACZR,aAAcA,EACdE,aAAcA,EACd7B,OAAQkD,GACR6B,aAAc1B,OAItB"}
|
@@ -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>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{__assign as
|
1
|
+
import{__rest as e,__assign as o}from"../../node_modules/tslib/tslib.es6.js";import{jsx as t}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import i from"../../node_modules/@fullcalendar/react/dist/index.js";import{useCallback as n}from"react";import{useCalendarCore as r}from"./hooks/useCalendarCore.js";import{useCalendarStyling as s}from"./hooks/useCalendarStyling.js";import a from"../../node_modules/@fullcalendar/interaction/index.js";import d from"../../node_modules/@fullcalendar/multimonth/index.js";import l from"../../node_modules/@mui/material/Box/Box.js";var u=function(u){var m=u.events,v=void 0===m?[]:m,h=u.monthsPerRow,p=void 0===h?3:h,c=u.dayMaxEvents,f=void 0===c?3:c,b=u.yearViewMode,w=void 0===b?"grid":b,x=u.showPrevButton,y=void 0===x||x,M=u.showNextButton,j=void 0===M||M,g=u.showTodayButton,B=void 0===g||g,A=u.editable,C=void 0!==A&&A,E=u.droppable,_=void 0!==E&&E,R=u.selectable,S=void 0!==R&&R,H=u.businessHours,I=u.eventOverlap,N=void 0===I||I;u.showGridLines,u.width;var P=u.height;u.buttonFontSize;var T=u.onEventAdd,k=u.configurationItemInfo,L=e(u,["events","monthsPerRow","dayMaxEvents","yearViewMode","showPrevButton","showNextButton","showTodayButton","editable","droppable","selectable","businessHours","eventOverlap","showGridLines","width","height","buttonFontSize","onEventAdd","configurationItemInfo"]),O=[a,d],V=Array.isArray(v)?v:[],Y=r({initialEvents:V,onEventAdd:T,businessHours:H}),z=Y.eventsState,D=Y.calRef,F=Y.allowDrop,G=Y.onReceive,K=s(L).sx,W={multiMonthYear:{type:"multiMonth",duration:{years:1},buttonText:"Year",multiMonthMaxColumns:"grid"===w?p:"stack"===w?1:p,multiMonthMinWidth:"continuous"===w?250:void 0,dayMaxEvents:f}},q=n((function(){var e=[];return y&&e.push("prev"),j&&e.push("next"),B&&e.push("today"),{left:e.join(","),center:"title",right:""}}),[y,j,B]);return t(l,o({sx:K},k,{children:t(i,{ref:D,height:P,plugins:O,themeSystem:"standard",schedulerLicenseKey:"CC-Attribution-NonCommercial-NoDerivatives",initialView:"multiMonthYear",headerToolbar:q(),views:W,editable:C,droppable:_,selectable:S,businessHours:H,eventOverlap:N,eventAllow:F,events:z,eventReceive:G})}))};export{u as YearViewCalendarMolecule};
|
2
2
|
//# sourceMappingURL=YearViewCalendar.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"YearViewCalendar.js","sources":["../../../../../src/molecules/Calendar/YearViewCalendar.tsx"],"sourcesContent":[null],"names":["YearViewCalendarMolecule","
|
1
|
+
{"version":3,"file":"YearViewCalendar.js","sources":["../../../../../src/molecules/Calendar/YearViewCalendar.tsx"],"sourcesContent":[null],"names":["YearViewCalendarMolecule","_a","_b","events","initialEvents","_c","monthsPerRow","_d","dayMaxEvents","_e","yearViewMode","_f","showPrevButton","_g","showNextButton","_h","showTodayButton","_j","editable","_k","droppable","_l","selectable","businessHours","_m","eventOverlap","showGridLines","width","height","buttonFontSize","onEventAdd","configurationItemInfo","stylingProps","__rest","plugins","interactionPlugin","multiMonthPlugin","safeEvents","Array","isArray","_p","useCalendarCore","eventsState","calRef","allowDrop","onReceive","sx","useCalendarStyling","yearViewConfig","multiMonthYear","type","duration","years","buttonText","multiMonthMaxColumns","multiMonthMinWidth","undefined","getHeaderToolbarConfig","useCallback","leftItems","push","left","join","center","right","_jsx","Box","__assign","children","FullCalendar","ref","themeSystem","schedulerLicenseKey","initialView","headerToolbar","views","eventAllow","eventReceive"],"mappings":"mmBAiJO,IAAMA,EAA4D,SAACC,OAExEC,EAA0BD,EAAAE,OAAlBC,OAAa,IAAAF,EAAG,GAAEA,EAG1BG,EAAgBJ,EAAAK,aAAhBA,aAAe,EAACD,EAChBE,EAAAN,EAAAO,aAAAA,OAAY,IAAAD,EAAG,EAACA,EAChBE,EAAqBR,EAAAS,aAArBA,OAAY,IAAAD,EAAG,OAAMA,EAGrBE,EAAqBV,EAAAW,eAArBA,cAAqBD,EACrBE,EAAAZ,EAAAa,eAAAA,OAAc,IAAAD,GAAOA,EACrBE,EAAsBd,EAAAe,gBAAtBA,OAAe,IAAAD,GAAOA,EAGtBE,EAAgBhB,EAAAiB,SAAhBA,cAAgBD,EAChBE,EAAAlB,EAAAmB,UAAAA,OAAS,IAAAD,GAAQA,EACjBE,EAAkBpB,EAAAqB,WAAlBA,OAAU,IAAAD,GAAQA,EAGlBE,EAAatB,EAAAsB,cACbC,EAAmBvB,EAAAwB,aAAnBA,OAAe,IAAAD,GAAIA,EACCvB,EAAAyB,cAGfzB,EAAA0B,MACL,IA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|
+
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,2 @@
|
|
1
|
+
import{__spreadArray as t}from"../../../node_modules/tslib/tslib.es6.js";import{useState as e,useRef as n,useCallback as r}from"react";var i=function(i){var o=void 0===i?{}:i,l=o.initialEvents,v=void 0===l?[]:l,d=o.onEventAdd,a=o.businessHours,u=Array.isArray(v)?v:[],s=e(u),c=s[0],f=s[1],g=n(null),y=function(t){return"".concat(String(t.getHours()).padStart(2,"0"),":").concat(String(t.getMinutes()).padStart(2,"0"))},m=r((function(t){if(!a||!(null==t?void 0:t.start)||!(null==t?void 0:t.end))return!0;var e=(Array.isArray(a)?a:[a]).find((function(e){var n;return null===(n=null==e?void 0:e.daysOfWeek)||void 0===n?void 0:n.includes(t.start.getDay())}));return!!e&&(y(t.start)>=e.startTime&&y(t.end)<=e.endTime)}),[a]),p=r((function(e){var n,r,i,o,l,v;if(null==e?void 0:e.event){var a=(null==e?void 0:e.event)||{},u=a.id,s=a.title,c=a.start,g=a.end,y=[];try{if("function"==typeof(null===(n=null==e?void 0:e.event)||void 0===n?void 0:n.getResources)){var m=null===(i=null===(r=null==e?void 0:e.event)||void 0===r?void 0:r.getResources)||void 0===i?void 0:i.call(r);y=Array.isArray(m)?m:[]}}catch(t){console.warn("Error getting event resources:",t),y=[]}var p={id:"".concat(u||"event","-").concat((null==c?void 0:c.getTime())||Date.now()),title:s||"Untitled Event",start:c,end:g,resourceId:y.length>0?null===(o=y[0])||void 0===o?void 0:o.id:void 0};f((function(e){return t(t([],e,!0),[p],!1)})),null==d||d(p);try{null===(v=null===(l=null==e?void 0:e.event)||void 0===l?void 0:l.remove)||void 0===v||v.call(l)}catch(t){console.warn("Error removing event:",t)}}}),[d]);return{eventsState:c,setEventsState:f,calRef:g,allowDrop:m,onReceive:p}};export{i as useCalendarCore};
|
2
|
+
//# sourceMappingURL=useCalendarCore.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCalendarCore.js","sources":["../../../../../../src/molecules/Calendar/hooks/useCalendarCore.ts"],"sourcesContent":[null],"names":["useCalendarCore","_a","_b","_c","initialEvents","onEventAdd","businessHours","safeInitialEvents","Array","isArray","_d","useState","eventsState","setEventsState","calRef","useRef","toTime","d","concat","String","getHours","padStart","getMinutes","allowDrop","useCallback","info","start","end","rule","find","r","daysOfWeek","includes","getDay","startTime","endTime","onReceive","event","_g","id","title","resources","getResources","eventResources","error","console","warn","newEvt","getTime","Date","now","resourceId","length","undefined","prev","__spreadArray","_f","_e","remove","call"],"mappings":"uIAQO,IAAMA,EAAkB,SAACC,GAAA,IAAAC,OAAA,IAAAD,EAIJ,CAAA,EAAEA,EAH5BE,EAAAD,EAAAE,cAAAA,OAAa,IAAAD,EAAG,GAAEA,EAClBE,EAAUH,EAAAG,WACVC,EAAaJ,EAAAI,cAGPC,EAAoBC,MAAMC,QAAQL,GAAiBA,EAAgB,GACnEM,EAAgCC,EAAgBJ,GAA/CK,EAAWF,EAAA,GAAEG,EAAcH,EAAA,GAC5BI,EAASC,EAAY,MAGrBC,EAAS,SAACC,GACd,MAAA,GAAGC,OAAAC,OAAOF,EAAEG,YAAYC,SAAS,EAAG,KAAQ,KAAAH,OAAAC,OAAOF,EAAEK,cAAcD,SAAS,EAAG,KAA/E,EAEIE,EAAYC,GAChB,SAACC,GACC,IAAKnB,KAAkBmB,aAAI,EAAJA,EAAMC,UAAUD,aAAA,EAAAA,EAAME,KAAK,OAAO,EACzD,IACMC,GADQpB,MAAMC,QAAQ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AJA,EAAMY,aAAK,IAAAoB,OAAA,EAAAA,EAAEC,cAAM,IAAAF,GAAAA,EAAAG,KAAAF,EACpB,CAAC,MAAOb,GACPC,QAAQC,KAAK,wBAAyBF,EACvC,CAhCwB,CAiC3B,GACA,CAACvC,IAGH,MAAO,CACLO,YAAWA,EACXC,eAAcA,EACdC,OAAMA,EACNS,UAASA,EACTa,UAASA,EAEb"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,229 @@
|
|
1
|
+
interface CalendarStylingProps {
|
2
|
+
width?: string | number;
|
3
|
+
marginLeft?: string;
|
4
|
+
marginTop?: string;
|
5
|
+
marginRight?: string;
|
6
|
+
marginBottom?: string;
|
7
|
+
paddingLeft?: string;
|
8
|
+
paddingTop?: string;
|
9
|
+
paddingRight?: string;
|
10
|
+
paddingBottom?: string;
|
11
|
+
buttonFontSize?: string | number;
|
12
|
+
buttonPaddingY?: string;
|
13
|
+
buttonPaddingX?: string;
|
14
|
+
buttonColor?: string;
|
15
|
+
buttonTextColor?: string;
|
16
|
+
buttonBorderColor?: string;
|
17
|
+
buttonFontWeight?: string | number;
|
18
|
+
buttonElevation?: number;
|
19
|
+
buttonHeight?: string | number;
|
20
|
+
buttonMinWidth?: string | number;
|
21
|
+
buttonMarginY?: string;
|
22
|
+
buttonMarginX?: string;
|
23
|
+
buttonBorderRadius?: string;
|
24
|
+
buttonHoverColor?: string;
|
25
|
+
buttonHoverTextColor?: string;
|
26
|
+
buttonHoverBorderColor?: string;
|
27
|
+
headerBackgroundColor?: string;
|
28
|
+
headerBorderColor?: string;
|
29
|
+
headerPadding?: string;
|
30
|
+
headerHeight?: string | number;
|
31
|
+
headerFontSize?: string | number;
|
32
|
+
headerFontWeight?: string | number;
|
33
|
+
headerTextColor?: string;
|
34
|
+
dayHeaderColor?: string;
|
35
|
+
dayHeaderFontWeight?: string | number;
|
36
|
+
eventBackgroundColor?: string;
|
37
|
+
eventBorderColor?: string;
|
38
|
+
eventTextColor?: string;
|
39
|
+
eventBorderRadius?: string;
|
40
|
+
eventOpacity?: number;
|
41
|
+
eventElevation?: number;
|
42
|
+
eventPadding?: string;
|
43
|
+
eventFontSize?: string | number;
|
44
|
+
eventFontFamily?: string;
|
45
|
+
eventFontWeight?: string | number;
|
46
|
+
cellBackgroundColor?: string;
|
47
|
+
cellHoverBackgroundColor?: string;
|
48
|
+
cellTodayBackgroundColor?: string;
|
49
|
+
cellBorderColor?: string;
|
50
|
+
cellTextColor?: string;
|
51
|
+
cellFontSize?: string | number;
|
52
|
+
cellPadding?: string;
|
53
|
+
cellHeight?: string | number;
|
54
|
+
timeGridSlotHeight?: string | number;
|
55
|
+
timeGridSlotBorderColor?: string;
|
56
|
+
timeGridNowIndicatorColor?: string;
|
57
|
+
timeGridLabelFontSize?: string | number;
|
58
|
+
timeGridLabelColor?: string;
|
59
|
+
nowIndicatorColor?: string;
|
60
|
+
allDayBackgroundColor?: string;
|
61
|
+
allDayTextColor?: string;
|
62
|
+
resourceAreaWidth?: string | number;
|
63
|
+
resourceBackgroundColor?: string;
|
64
|
+
resourceTextColor?: string;
|
65
|
+
resourceBorderColor?: string;
|
66
|
+
resourceFontSize?: string | number;
|
67
|
+
resourcePadding?: string;
|
68
|
+
borderStyle?: 'none' | 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
|
69
|
+
borderWidth?: string;
|
70
|
+
borderColor?: string;
|
71
|
+
borderRadius?: string;
|
72
|
+
backgroundColor?: string;
|
73
|
+
fontFamily?: string;
|
74
|
+
elevation?: number;
|
75
|
+
enableAnimations?: boolean;
|
76
|
+
animationSpeed?: string;
|
77
|
+
hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
|
78
|
+
showGridLines?: boolean;
|
79
|
+
}
|
80
|
+
export declare const useCalendarStyling: (props: CalendarStylingProps) => {
|
81
|
+
sx: {
|
82
|
+
readonly '& .fc': {
|
83
|
+
readonly borderRadius: string | undefined;
|
84
|
+
readonly borderColor: string | undefined;
|
85
|
+
readonly borderWidth: string | undefined;
|
86
|
+
readonly borderStyle: "inset" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid";
|
87
|
+
readonly boxShadow: string;
|
88
|
+
readonly fontFamily: string | undefined;
|
89
|
+
readonly backgroundColor: string | undefined;
|
90
|
+
};
|
91
|
+
readonly '& .fc .fc-button': {
|
92
|
+
readonly transition?: string | undefined;
|
93
|
+
readonly '&:hover'?: {
|
94
|
+
backgroundColor: string | undefined;
|
95
|
+
color: string | undefined;
|
96
|
+
borderColor: string | undefined;
|
97
|
+
transform: string;
|
98
|
+
} | undefined;
|
99
|
+
readonly fontSize: string | number | undefined;
|
100
|
+
readonly padding: string | undefined;
|
101
|
+
readonly borderRadius: string | undefined;
|
102
|
+
readonly backgroundColor: string | undefined;
|
103
|
+
readonly color: string | undefined;
|
104
|
+
readonly borderColor: string | undefined;
|
105
|
+
readonly fontWeight: string | number | undefined;
|
106
|
+
readonly boxShadow: string;
|
107
|
+
readonly height: string | number | undefined;
|
108
|
+
readonly minWidth: string | number | undefined;
|
109
|
+
readonly margin: string | undefined;
|
110
|
+
};
|
111
|
+
readonly '& .fc-event': {
|
112
|
+
readonly transition?: string | undefined;
|
113
|
+
readonly '&:hover'?: {
|
114
|
+
transform: string;
|
115
|
+
boxShadow: string;
|
116
|
+
} | undefined;
|
117
|
+
readonly backgroundColor: string | undefined;
|
118
|
+
readonly color: string | undefined;
|
119
|
+
readonly borderColor: string | undefined;
|
120
|
+
readonly borderRadius: string | undefined;
|
121
|
+
readonly fontSize: string | number | undefined;
|
122
|
+
readonly fontWeight: string | number | undefined;
|
123
|
+
readonly opacity: number | undefined;
|
124
|
+
readonly boxShadow: string;
|
125
|
+
readonly padding: string | undefined;
|
126
|
+
readonly borderWidth: string | undefined;
|
127
|
+
readonly borderStyle: "inset" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid";
|
128
|
+
};
|
129
|
+
readonly '& .fc .fc-daygrid-day, & .fc .fc-timegrid-slot, & .fc .fc-col-header-cell': {
|
130
|
+
readonly transition?: string | undefined;
|
131
|
+
readonly '&:hover'?: {
|
132
|
+
backgroundColor: string | undefined;
|
133
|
+
transform: string;
|
134
|
+
} | undefined;
|
135
|
+
readonly backgroundColor: string | undefined;
|
136
|
+
readonly borderColor: string | undefined;
|
137
|
+
readonly borderWidth: string | undefined;
|
138
|
+
readonly borderStyle: "inset" | "none" | "dashed" | "dotted" | "double" | "groove" | "outset" | "ridge" | "solid";
|
139
|
+
readonly padding: string | undefined;
|
140
|
+
readonly height: string | number | undefined;
|
141
|
+
readonly color: string | undefined;
|
142
|
+
readonly fontSize: string | number | undefined;
|
143
|
+
};
|
144
|
+
readonly '& .fc .fc-day-today': {
|
145
|
+
readonly backgroundColor: string | undefined;
|
146
|
+
};
|
147
|
+
readonly '& .fc .fc-timegrid-all-day-slot': {
|
148
|
+
readonly backgroundColor: string | undefined;
|
149
|
+
};
|
150
|
+
readonly '& .fc .fc-timegrid-all-day-slot .fc-event': {
|
151
|
+
readonly color: string | undefined;
|
152
|
+
};
|
153
|
+
readonly '& .fc .fc-daygrid-day .fc-event[data-all-day="true"]': {
|
154
|
+
readonly color: string | undefined;
|
155
|
+
readonly backgroundColor: string | undefined;
|
156
|
+
};
|
157
|
+
readonly '& .fc .fc-scrollgrid-shim, & .fc .fc-timegrid-divider'?: {
|
158
|
+
display: string;
|
159
|
+
} | undefined;
|
160
|
+
readonly width: string | number | undefined;
|
161
|
+
readonly marginLeft: string | undefined;
|
162
|
+
readonly marginTop: string | undefined;
|
163
|
+
readonly marginRight: string | undefined;
|
164
|
+
readonly marginBottom: string | undefined;
|
165
|
+
readonly paddingLeft: string | undefined;
|
166
|
+
readonly paddingTop: string | undefined;
|
167
|
+
readonly paddingRight: string | undefined;
|
168
|
+
readonly paddingBottom: string | undefined;
|
169
|
+
readonly '& .fc .fc-toolbar': {
|
170
|
+
readonly backgroundColor: string | undefined;
|
171
|
+
readonly color: string | undefined;
|
172
|
+
readonly borderColor: string | undefined;
|
173
|
+
readonly padding: string | undefined;
|
174
|
+
readonly height: string | number | undefined;
|
175
|
+
readonly '& .fc-toolbar-title': {
|
176
|
+
readonly fontSize: string | number | undefined;
|
177
|
+
readonly fontWeight: string | number | undefined;
|
178
|
+
readonly color: string | undefined;
|
179
|
+
};
|
180
|
+
};
|
181
|
+
readonly '& .fc .fc-col-header-cell-cushion': {
|
182
|
+
readonly color: string | undefined;
|
183
|
+
readonly fontWeight: string | number | undefined;
|
184
|
+
};
|
185
|
+
readonly '& .fc .fc-timegrid-slot-label-cushion': {
|
186
|
+
readonly color: string | undefined;
|
187
|
+
readonly fontSize: string | number | undefined;
|
188
|
+
};
|
189
|
+
readonly '& .fc .fc-event': {
|
190
|
+
readonly color: string | undefined;
|
191
|
+
};
|
192
|
+
readonly '& .fc .fc-event:hover': {
|
193
|
+
readonly backgroundColor: string | undefined;
|
194
|
+
};
|
195
|
+
readonly '& .fc .fc-event-title': {
|
196
|
+
readonly fontSize: string | number | undefined;
|
197
|
+
readonly fontFamily: string | undefined;
|
198
|
+
readonly fontWeight: string | number | undefined;
|
199
|
+
};
|
200
|
+
readonly '& .fc .fc-now-indicator': {
|
201
|
+
readonly backgroundColor: string | undefined;
|
202
|
+
};
|
203
|
+
readonly '& .fc .fc-timegrid-now-indicator-line': {
|
204
|
+
readonly backgroundColor: string | undefined;
|
205
|
+
};
|
206
|
+
readonly '& .fc .fc-timegrid-slot': {
|
207
|
+
readonly height: string | number | undefined;
|
208
|
+
readonly borderColor: string | undefined;
|
209
|
+
};
|
210
|
+
readonly '& .fc .fc-resource-area': {
|
211
|
+
readonly backgroundColor: string | undefined;
|
212
|
+
readonly width: string | number | undefined;
|
213
|
+
readonly borderColor: string | undefined;
|
214
|
+
readonly '& .fc-resource-cell': {
|
215
|
+
readonly color: string | undefined;
|
216
|
+
readonly fontSize: string | number | undefined;
|
217
|
+
readonly padding: string | undefined;
|
218
|
+
};
|
219
|
+
};
|
220
|
+
readonly '& .fc .fc-resource .fc-resource-title': {
|
221
|
+
readonly color: string | undefined;
|
222
|
+
};
|
223
|
+
readonly '& .fc .fc-resource-area-cell': {
|
224
|
+
readonly borderColor: string | undefined;
|
225
|
+
};
|
226
|
+
};
|
227
|
+
getMaterialElevation: (elevation?: number) => string;
|
228
|
+
};
|
229
|
+
export {};
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{__assign as o}from"../../../node_modules/tslib/tslib.es6.js";import{useMemo as r}from"react";var p=function(p){var x=function(o){if(!o||o<0)return"none";var r={0:"none",1:"0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12)",2:"0px 3px 1px -2px rgba(0,0,0,0.2), 0px 2px 2px 0px rgba(0,0,0,0.14), 0px 1px 5px 0px rgba(0,0,0,0.12)",3:"0px 3px 3px -2px rgba(0,0,0,0.2), 0px 3px 4px 0px rgba(0,0,0,0.14), 0px 1px 8px 0px rgba(0,0,0,0.12)",4:"0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12)",5:"0px 3px 5px -1px rgba(0,0,0,0.2), 0px 5px 8px 0px rgba(0,0,0,0.14), 0px 1px 14px 0px rgba(0,0,0,0.12)",6:"0px 3px 5px -1px rgba(0,0,0,0.2), 0px 6px 10px 0px rgba(0,0,0,0.14), 0px 1px 18px 0px rgba(0,0,0,0.12)",7:"0px 4px 5px -2px rgba(0,0,0,0.2), 0px 7px 10px 1px rgba(0,0,0,0.14), 0px 2px 16px 1px rgba(0,0,0,0.12)",8:"0px 5px 5px -3px rgba(0,0,0,0.2), 0px 8px 10px 1px rgba(0,0,0,0.14), 0px 3px 14px 2px rgba(0,0,0,0.12)",9:"0px 5px 6px -3px rgba(0,0,0,0.2), 0px 9px 12px 1px rgba(0,0,0,0.14), 0px 3px 16px 2px rgba(0,0,0,0.12)",10:"0px 6px 6px -3px rgba(0,0,0,0.2), 0px 10px 14px 1px rgba(0,0,0,0.14), 0px 4px 18px 3px rgba(0,0,0,0.12)",11:"0px 6px 7px -4px rgba(0,0,0,0.2), 0px 11px 15px 1px rgba(0,0,0,0.14), 0px 4px 20px 3px rgba(0,0,0,0.12)",12:"0px 7px 8px -4px rgba(0,0,0,0.2), 0px 12px 17px 2px rgba(0,0,0,0.14), 0px 5px 22px 4px rgba(0,0,0,0.12)",13:"0px 7px 8px -4px rgba(0,0,0,0.2), 0px 13px 19px 2px rgba(0,0,0,0.14), 0px 5px 24px 4px rgba(0,0,0,0.12)",14:"0px 7px 9px -4px rgba(0,0,0,0.2), 0px 14px 21px 2px rgba(0,0,0,0.14), 0px 5px 26px 4px rgba(0,0,0,0.12)",15:"0px 8px 9px -5px rgba(0,0,0,0.2), 0px 15px 22px 2px rgba(0,0,0,0.14), 0px 6px 28px 5px rgba(0,0,0,0.12)",16:"0px 8px 10px -5px rgba(0,0,0,0.2), 0px 16px 24px 2px rgba(0,0,0,0.14), 0px 6px 30px 5px rgba(0,0,0,0.12)",17:"0px 8px 11px -5px rgba(0,0,0,0.2), 0px 17px 26px 2px rgba(0,0,0,0.14), 0px 6px 32px 5px rgba(0,0,0,0.12)",18:"0px 9px 11px -5px rgba(0,0,0,0.2), 0px 18px 28px 2px rgba(0,0,0,0.14), 0px 7px 34px 6px rgba(0,0,0,0.12)",19:"0px 9px 12px -6px rgba(0,0,0,0.2), 0px 19px 29px 2px rgba(0,0,0,0.14), 0px 7px 36px 6px rgba(0,0,0,0.12)",20:"0px 10px 13px -6px rgba(0,0,0,0.2), 0px 20px 31px 3px rgba(0,0,0,0.14), 0px 8px 38px 7px rgba(0,0,0,0.12)",21:"0px 10px 13px -6px rgba(0,0,0,0.2), 0px 21px 33px 3px rgba(0,0,0,0.14), 0px 8px 40px 7px rgba(0,0,0,0.12)",22:"0px 10px 14px -6px rgba(0,0,0,0.2), 0px 22px 35px 3px rgba(0,0,0,0.14), 0px 8px 42px 7px rgba(0,0,0,0.12)",23:"0px 11px 14px -7px rgba(0,0,0,0.2), 0px 23px 36px 3px rgba(0,0,0,0.14), 0px 9px 44px 8px rgba(0,0,0,0.12)",24:"0px 11px 15px -7px rgba(0,0,0,0.2), 0px 24px 38px 3px rgba(0,0,0,0.14), 0px 9px 46px 8px rgba(0,0,0,0.12)"};return r[Math.min(Math.max(Math.round(o),0),24)]||r[0]};return{sx:r((function(){var r=p.width,e=p.marginLeft,a=p.marginTop,t=p.marginRight,n=p.marginBottom,d=p.paddingLeft,l=p.paddingTop,i=p.paddingRight,g=p.paddingBottom,c=p.buttonFontSize,b=p.buttonPaddingY,f=p.buttonPaddingX,u=p.buttonColor,s=p.buttonTextColor,h=p.buttonBorderColor,C=p.buttonFontWeight,m=p.buttonElevation,v=p.buttonHeight,y=p.buttonMinWidth,S=p.buttonMarginY,k=p.buttonMarginX,B=p.buttonBorderRadius,W=p.buttonHoverColor,F=p.buttonHoverTextColor,w=p.buttonHoverBorderColor,z=p.headerBackgroundColor,T=p.headerBorderColor,H=p.headerPadding,R=p.headerHeight,Y=p.headerFontSize,L=p.headerFontWeight,M=p.headerTextColor,G=p.dayHeaderColor,P=p.dayHeaderFontWeight,E=p.eventBackgroundColor,A=p.eventBorderColor,D=p.eventTextColor,I=p.eventBorderRadius,X=p.eventOpacity,j=p.eventElevation,N=p.eventPadding,O=p.eventFontSize,_=p.eventFontFamily,q=p.eventFontWeight,J=p.cellBackgroundColor,K=p.cellHoverBackgroundColor,Q=p.cellTodayBackgroundColor,U=p.cellBorderColor,V=p.cellTextColor,Z=p.cellFontSize,$=p.cellPadding,oo=p.cellHeight,ro=p.timeGridSlotHeight,po=p.timeGridSlotBorderColor,xo=p.timeGridNowIndicatorColor,eo=p.timeGridLabelFontSize,ao=p.timeGridLabelColor,to=p.nowIndicatorColor,no=p.allDayBackgroundColor,lo=p.allDayTextColor,io=p.resourceAreaWidth,go=p.resourceBackgroundColor,co=p.resourceTextColor,bo=p.resourceBorderColor,fo=p.resourceFontSize,uo=p.resourcePadding,so=p.borderStyle,ho=p.borderWidth,Co=p.borderColor,mo=p.borderRadius,vo=p.backgroundColor,yo=p.fontFamily,So=p.elevation,ko=p.enableAnimations,Bo=p.animationSpeed,Wo=p.hoverEffect,Fo=p.showGridLines;return o(o({width:r,marginLeft:e,marginTop:a,marginRight:t,marginBottom:n,paddingLeft:d,paddingTop:l,paddingRight:i,paddingBottom:g,"& .fc .fc-toolbar":{backgroundColor:z,color:M,borderColor:T,padding:H,height:R,"& .fc-toolbar-title":{fontSize:Y,fontWeight:L,color:M}},"& .fc .fc-col-header-cell-cushion":{color:G,fontWeight:P},"& .fc .fc-timegrid-slot-label-cushion":{color:ao,fontSize:eo},"& .fc .fc-event":{color:D},"& .fc .fc-event:hover":{backgroundColor:E},"& .fc .fc-event-title":{fontSize:O,fontFamily:_,fontWeight:q},"& .fc .fc-now-indicator":{backgroundColor:to},"& .fc .fc-timegrid-now-indicator-line":{backgroundColor:xo||to},"& .fc .fc-timegrid-slot":{height:ro,borderColor:po},"& .fc .fc-resource-area":{backgroundColor:go,width:io,borderColor:bo,"& .fc-resource-cell":{color:co,fontSize:fo,padding:uo}},"& .fc .fc-resource .fc-resource-title":{color:co},"& .fc .fc-resource-area-cell":{borderColor:bo}},Fo?{}:{"& .fc .fc-scrollgrid-shim, & .fc .fc-timegrid-divider":{display:"none"}}),{"& .fc":{borderRadius:mo,borderColor:Co,borderWidth:ho,borderStyle:so||"none",boxShadow:x(So),fontFamily:yo,backgroundColor:vo},"& .fc .fc-button":o({fontSize:c,padding:b||f?"".concat(b||"0"," ").concat(f||"0"):void 0,borderRadius:B,backgroundColor:u,color:s,borderColor:h,fontWeight:C,boxShadow:x(m),height:v,minWidth:y,margin:S||k?"".concat(S||"0"," ").concat(k||"0"):void 0},ko&&{transition:"all ".concat(Bo||"0.3s"," ease"),"&:hover":{backgroundColor:W,color:F,borderColor:w,transform:"lift"===Wo?"translateY(-2px)":"scale"===Wo?"scale(1.05)":"bounce"===Wo?"translateY(-1px) scale(1.02)":"none"}}),"& .fc-event":o({backgroundColor:E,color:D,borderColor:A,borderRadius:I,fontSize:O,fontWeight:q,opacity:X,boxShadow:x(j),padding:N,borderWidth:ho,borderStyle:so||"none"},ko&&{transition:"all ".concat(Bo||"0.3s"," ease"),"&:hover":{transform:"lift"===Wo?"translateY(-3px)":"scale"===Wo?"scale(1.02)":"glow"===Wo?"translateY(-1px)":"bounce"===Wo?"translateY(-2px) scale(1.01)":"none",boxShadow:"".concat(x(j)||"","glow"===Wo?", 0 0 20px rgba(103, 58, 183, 0.4)":", 0 8px 25px rgba(0, 0, 0, 0.15)")}}),"& .fc .fc-daygrid-day, & .fc .fc-timegrid-slot, & .fc .fc-col-header-cell":o({backgroundColor:J,borderColor:U,borderWidth:ho,borderStyle:so||"none",padding:$,height:oo,color:V,fontSize:Z},ko&&{transition:"all ".concat(Bo||"0.3s"," ease"),"&:hover":{backgroundColor:K,transform:"scale"===Wo?"scale(1.02)":"lift"===Wo?"translateY(-1px)":"none"}}),"& .fc .fc-day-today":{backgroundColor:Q},"& .fc .fc-timegrid-all-day-slot":{backgroundColor:no},"& .fc .fc-timegrid-all-day-slot .fc-event":{color:lo},'& .fc .fc-daygrid-day .fc-event[data-all-day="true"]':{color:lo,backgroundColor:no}})}),[p]),getMaterialElevation:x}};export{p as useCalendarStyling};
|
2
|
+
//# sourceMappingURL=useCalendarStyling.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useCalendarStyling.js","sources":["../../../../../../src/molecules/Calendar/hooks/useCalendarStyling.ts"],"sourcesContent":[null],"names":["useCalendarStyling","props","getMaterialElevation","elevation","shadows","Math","min","max","round","sx","useMemo","width","marginLeft","marginTop","marginRight","marginBottom","paddingLeft","paddingTop","paddingRight","paddingBottom","buttonFontSize","buttonPaddingY","buttonPaddingX","buttonColor","buttonTextColor","buttonBorderColor","buttonFontWeight","buttonElevation","buttonHeight","buttonMinWidth","buttonMarginY","buttonMarginX","buttonBorderRadius","buttonHoverColor","buttonHoverTextColor","buttonHoverBorderColor","headerBackgroundColor","headerBorderColor","headerPadding","headerHeight","headerFontSize","headerFontWeight","headerTextColor","dayHeaderColor","dayHeaderFontWeight","eventBackgroundColor","eventBorderColor","eventTextColor","eventBorderRadius","eventOpacity","eventElevation","eventPadding","eventFontSize","eventFontFamily","eventFontWeight","cellBackgroundColor","cellHoverBackgroundColor","cellTodayBackgroundColor","cellBorderColor","cellTextColor","cellFontSize","cellPadding","cellHeight","timeGridSlotHeight","timeGridSlotBorderColor","timeGridNowIndicatorColor","timeGridLabelFontSize","timeGridLabelColor","nowIndicatorColor","allDayBackgroundColor","allDayTextColor","resourceAreaWidth","resourceBackgroundColor","resourceTextColor","resourceBorderColor","resourceFontSize","resourcePadding","borderStyle","borderWidth","borderColor","borderRadius","backgroundColor","fontFamily","enableAnimations","animationSpeed","hoverEffect","showGridLines","__assign","color","padding","height","fontSize","fontWeight","display","boxShadow","concat","undefined","minWidth","margin","transition","transform","opacity"],"mappings":"oGA4GO,IAAMA,EAAqB,SAACC,GAEjC,IAAMC,EAAuB,SAACC,GAC5B,IAAKA,GAAaA,EAAY,EAAG,MAAO,OAExC,IAAMC,EAAU,CACd,EAAG,OACH,EAAG,uGACH,EAAG,uGACH,EAAG,uGACH,EAAG,wGACH,EAAG,wGACH,EAAG,yGACH,EAAG,yGACH,EAAG,yGACH,EAAG,yGACH,GAAI,0GACJ,GAAI,0GACJ,GAAI,0GACJ,GAAI,0GACJ,GAAI,0GACJ,GAAI,0GACJ,GAAI,2GACJ,GAAI,2GACJ,GAAI,2GACJ,GAAI,2GACJ,GAAI,4GACJ,GAAI,4GACJ,GAAI,4GACJ,GAAI,4GACJ,GAAI,6GAIN,OAAOA,EADkBC,KAAKC,IAAID,KAAKE,IAAIF,KAAKG,MAAML,GAAY,GAAI,MACVC,EAAQ,EACtE,EAkRA,MAAO,CAAEK,GAhREC,GAAQ,WAEf,IAAAC,EA6EEV,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