@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.
Files changed (50) hide show
  1. package/dist/cjs/containers/Container.stories.d.ts +15 -1
  2. package/dist/cjs/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
  3. package/dist/cjs/index.js +218 -218
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +87 -31
  6. package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
  7. package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +101 -2
  8. package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +98 -2
  9. package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +84 -2
  10. package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
  11. package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.test.d.ts +1 -0
  12. package/dist/cjs/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
  13. package/dist/esm/containers/Container.stories.d.ts +15 -1
  14. package/dist/esm/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
  15. package/dist/esm/contexts/OrganismContext/OrganismContextProvider.js +1 -1
  16. package/dist/esm/contexts/OrganismContext/OrganismContextProvider.js.map +1 -1
  17. package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +87 -31
  18. package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
  19. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +101 -2
  20. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js +1 -1
  21. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js.map +1 -1
  22. package/dist/esm/molecules/Calendar/SimpleCalendar.d.ts +98 -2
  23. package/dist/esm/molecules/Calendar/SimpleCalendar.js +1 -1
  24. package/dist/esm/molecules/Calendar/SimpleCalendar.js.map +1 -1
  25. package/dist/esm/molecules/Calendar/YearViewCalendar.d.ts +84 -2
  26. package/dist/esm/molecules/Calendar/YearViewCalendar.js +1 -1
  27. package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
  28. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
  29. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js +2 -0
  30. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js.map +1 -0
  31. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.test.d.ts +1 -0
  32. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
  33. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js +2 -0
  34. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js.map +1 -0
  35. package/dist/esm/molecules/Drawer/Drawer.js +1 -1
  36. package/dist/esm/molecules/Drawer/Drawer.js.map +1 -1
  37. package/dist/esm/molecules/SpeedDial/SpeedDial.js +1 -1
  38. package/dist/esm/molecules/SpeedDial/SpeedDial.js.map +1 -1
  39. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +1 -1
  40. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +1 -1
  41. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +1 -1
  42. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +1 -1
  43. package/dist/index.d.ts +88 -32
  44. package/package.json +1 -1
  45. package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
  46. package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
  47. /package/dist/cjs/containers/{mock-data.d.ts → mockData.d.ts} +0 -0
  48. /package/dist/cjs/organisms/Organism/{mock-data.d.ts → mockData.d.ts} +0 -0
  49. /package/dist/esm/containers/{mock-data.d.ts → mockData.d.ts} +0 -0
  50. /package/dist/esm/organisms/Organism/{mock-data.d.ts → mockData.d.ts} +0 -0
@@ -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 {};
@@ -1,8 +1,22 @@
1
1
  import type { Meta, StoryFn } from '@storybook/react';
2
2
  import { ContainerComponentProps } from 'containers';
3
+ import { SizesTypes } from 'theme/types';
3
4
  import { ContainerStoriesComponent } from './ContainerStoriesComponent';
5
+ declare type StoryProps = Omit<ContainerComponentProps, 'instance'> & {
6
+ backgroundImage?: string[];
7
+ enableBackgroundImage?: boolean;
8
+ widePaddingTop?: SizesTypes;
9
+ widePaddingBottom?: SizesTypes;
10
+ widePaddingLeft?: SizesTypes;
11
+ widePaddingRight?: SizesTypes;
12
+ compactPaddingTop?: SizesTypes;
13
+ compactPaddingBottom?: SizesTypes;
14
+ compactPaddingLeft?: SizesTypes;
15
+ compactPaddingRight?: SizesTypes;
16
+ instance: 'container';
17
+ };
4
18
  declare const meta: Meta<typeof ContainerStoriesComponent>;
5
19
  export default meta;
6
- declare type Story = StoryFn<ContainerComponentProps>;
20
+ declare type Story = StoryFn<StoryProps>;
7
21
  export declare const Container: Story;
8
22
  export declare const HeaderWithDrawer: Story;
@@ -1,6 +1,6 @@
1
1
  import { ContainerComponentProps, ContainerType, Molecule, MoleculeItemTypes, MoleculeTypes, StateConfigType } from 'containers';
2
2
  import { PasswordRuleValidation } from 'molecules';
3
- import { PropsWithChildren } from 'react';
3
+ import React from 'react';
4
4
  import type { AnyObject } from 'typescript';
5
5
  export declare type ConfigurationItem = {
6
6
  entity: 'container' | 'molecule' | 'molecule_item';
@@ -10,7 +10,7 @@ export declare type ConfigurationItem = {
10
10
  entityType: ContainerType | MoleculeTypes | MoleculeItemTypes;
11
11
  organismLibraryMoleculeId?: string;
12
12
  };
13
- export declare type OrganismContextProviderProps = PropsWithChildren<{
13
+ export declare type OrganismContextProviderProps = React.PropsWithChildren<{
14
14
  organismId: string;
15
15
  } & Partial<{
16
16
  formId: string;
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"../../node_modules/tslib/tslib.es6.js";import{jsx as e}from"../../node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js";import{useState as i,useMemo as o}from"react";import{OrganismContext as n}from"./OrganismContext.js";import{groupStepItemsByStepContainer as r}from"./utils.js";var d=function(d){var a=d.initItems,s=void 0===a?[]:a,m=d.children,l=d.submitHandler,u=d.formId,c=d.organismId,f=d.validations,v=d.editable,I=void 0===v||v,g=d.isPreview,p=void 0!==g&&g,C=d.organismBodyId,b=d.isFormInEditMode,j=void 0===b||b,P=d.organismMetadata,M=d.localStateObject,S=void 0===M?null:M,y=d.isConfigurationMode,x=void 0!==y&&y,F=d.onConfigurationItemHandler,B=d.selectedConfigurationItemId,H=d.currentStyleProperties,O=void 0===H?{}:H,h=d.currentContentProperties,w=void 0===h?{}:h,E=d.onInternalNavigation,N=void 0===E?function(){}:E,_=i([]),k=_[0],D=_[1],q=o((function(){return function(e,i){e&&(null==F||F(t(t({},e),{organismId:c}),i))}}),[F,c]),z=o((function(){return{dateFields:k,setDateFields:D,items:s,groupStepItemsByStepContainer:function(){return r(s)},submitHandler:l,formId:u,validations:f,editable:I,isPreview:p,organismBodyId:C,isFormInEditMode:j,organismMetadata:P,localStateObject:S,isConfigurationMode:x,onConfigurationItemClicked:q,selectedConfigurationItemId:B,currentStyleProperties:O,currentContentProperties:w,onInternalNavigation:N}}),[s,u,f,I,p,k,D,l,C,j,P,S,x,q,B,O,w,N]);return e(n.Provider,t({value:z},{children:m}))};export{d as OrganismContextProvider};
1
+ import{__assign as e}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 o from"react";import{OrganismContext as i}from"./OrganismContext.js";import{groupStepItemsByStepContainer as n}from"./utils.js";var r=function(r){var a=r.initItems,d=void 0===a?[]:a,s=r.children,m=r.submitHandler,u=r.formId,l=r.organismId,c=r.validations,f=r.editable,v=void 0===f||f,I=r.isPreview,g=void 0!==I&&I,p=r.organismBodyId,C=r.isFormInEditMode,b=void 0===C||C,j=r.organismMetadata,M=r.localStateObject,P=void 0===M?null:M,S=r.isConfigurationMode,y=void 0!==S&&S,x=r.onConfigurationItemHandler,F=r.selectedConfigurationItemId,B=r.currentStyleProperties,H=void 0===B?{}:B,O=r.currentContentProperties,h=void 0===O?{}:O,w=r.onInternalNavigation,E=void 0===w?function(){}:w,N=o.useState([]),_=N[0],k=N[1],D=o.useMemo((function(){return function(t,o){t&&(null==x||x(e(e({},t),{organismId:l}),o))}}),[x,l]),q=o.useMemo((function(){return{dateFields:_,setDateFields:k,items:d,groupStepItemsByStepContainer:function(){return n(d)},submitHandler:m,formId:u,validations:c,editable:v,isPreview:g,organismBodyId:p,isFormInEditMode:b,organismMetadata:j,localStateObject:P,isConfigurationMode:y,onConfigurationItemClicked:D,selectedConfigurationItemId:F,currentStyleProperties:H,currentContentProperties:h,onInternalNavigation:E}}),[d,u,c,v,g,_,k,m,p,b,j,P,y,D,F,H,h,E]);return t(i.Provider,e({value:q},{children:s}))};export{r as OrganismContextProvider};
2
2
  //# sourceMappingURL=OrganismContextProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OrganismContextProvider.js","sources":["../../../../../src/contexts/OrganismContext/OrganismContextProvider.tsx"],"sourcesContent":[null],"names":["OrganismContextProvider","_a","_b","initItems","children","submitHandler","formId","organismId","validations","_c","editable","_d","isPreview","organismBodyId","_e","isFormInEditMode","organismMetadata","_f","localStateObject","_g","isConfigurationMode","onConfigurationItemHandler","selectedConfigurationItemId","_h","currentStyleProperties","_j","currentContentProperties","_k","onInternalNavigation","_l","useState","dateFields","setDateFields","onConfigurationItemClicked","useMemo","itemInfo","doubleClick","__assign","contextValues","items","groupStepItemsByStepContainer","_jsx","OrganismContext","Provider","value"],"mappings":"2UAgDO,IAAMA,EAA0B,SAACC,GACtC,IAAAC,EAAAD,EAAAE,UAAAA,OAAS,IAAAD,EAAG,GAAEA,EACdE,EAAQH,EAAAG,SACRC,EAAaJ,EAAAI,cACbC,EAAML,EAAAK,OACNC,EAA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ACO,MAAON,GAAa,CAAAlC,SAAGA,IAC1D"}
1
+ {"version":3,"file":"OrganismContextProvider.js","sources":["../../../../../src/contexts/OrganismContext/OrganismContextProvider.tsx"],"sourcesContent":[null],"names":["OrganismContextProvider","_a","_b","initItems","children","submitHandler","formId","organismId","validations","_c","editable","_d","isPreview","organismBodyId","_e","isFormInEditMode","organismMetadata","_f","localStateObject","_g","isConfigurationMode","onConfigurationItemHandler","selectedConfigurationItemId","_h","currentStyleProperties","_j","currentContentProperties","_k","onInternalNavigation","_l","React","useState","dateFields","setDateFields","onConfigurationItemClicked","useMemo","itemInfo","doubleClick","__assign","contextValues","items","groupStepItemsByStepContainer","_jsx","OrganismContext","Provider","value"],"mappings":"kTAgDO,IAAMA,EAA0B,SAACC,GACtC,IAAAC,EAAAD,EAAAE,UAAAA,OAAS,IAAAD,EAAG,GAAEA,EACdE,EAAQH,EAAAG,SACRC,EAAaJ,EAAAI,cACbC,EAAML,EAAAK,OACNC,EAAUN,EAAAM,WACVC,EAAWP,EAAAO,YACXC,EAAeR,EAAAS,SAAfA,OAAW,IAAAD,KACXE,EAAAV,EAAAW,UAAAA,OAAS,IAAAD,GAAQA,EACjBE,EAAcZ,EAAAY,eACdC,qBAAAC,cAAuBD,EACvBE,qBACAC,EAAAhB,EAAAiB,iBAAAA,OAAgB,IAAAD,EAAG,KAAIA,EACvBE,wBAAAC,cAA2BD,EAC3BE,EAA0BpB,EAAAoB,2BAC1BC,EAA2BrB,EAAAqB,4BAC3BC,EAAAtB,EAAAuB,uBAAAA,OAAsB,IAAAD,EAAG,GAAEA,EAC3BE,6BAAAC,aAA2B,CAAE,EAAAD,EAC7BE,EAA+B1B,EAAA2B,qBAA/BA,OAAuB,IAAAD,EAAA,WAAA,EAAQA,EAEzBE,EAA8BC,EAAMC,SAA6C,IAAhFC,EAAUH,EAAA,GAAEI,OAEbC,EAA6BJ,EAAMK,SACvC,WAAM,OAAA,SAACC,EAAiDC,GACjDD,IAELf,SAAAA,EAAkCiB,EAAAA,EAAA,CAAA,EAAAF,GAAU,CAAA7B,WAAUA,IAAI8B,GAC3D,IACD,CAAChB,EAA4Bd,IAGzBgC,EAAgBT,EAAMK,SAC1B,WAAM,MAAC,CACLH,WAAUA,EACVC,cAAaA,EACbO,MAAOrC,EACPsC,8BAA+B,WAAM,OAAAA,EAA8BtC,EAAU,EAC7EE,cAAaA,EACbC,OAAMA,EACNE,YAAWA,EACXE,SAAQA,EACRE,UAASA,EACTC,eAAcA,EACdE,iBAAgBA,EAChBC,iBAAgBA,EAChBE,iBAAgBA,EAChBE,oBAAmBA,EACnBc,2BAA0BA,EAC1BZ,4BAA2BA,EAC3BE,uBAAsBA,EACtBE,yBAAwBA,EACxBE,qBAAoBA,KAEtB,CACEzB,EACAG,EACAE,EACAE,EACAE,EACAoB,EACAC,EACA5B,EACAQ,EACAE,EACAC,EACAE,EACAE,EACAc,EACAZ,EACAE,EACAE,EACAE,IAIJ,OAAOc,EAACC,EAAgBC,SAAQN,EAAA,CAACO,MAAON,GAAa,CAAAnC,SAAGA,IAC1D"}
@@ -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?: EventInput[];
4
+ events?: any[];
6
5
  resources?: any[];
7
6
  initialView?: string;
8
- enableDayGrid?: boolean;
9
- enableTimeGrid?: boolean;
10
- enableList?: boolean;
11
- enableTimeline?: boolean;
12
- enableResourceTimeline?: boolean;
7
+ enableDayView?: boolean;
8
+ enableWeekView?: boolean;
9
+ enableMonthView?: boolean;
13
10
  enableYearView?: boolean;
14
- editable?: boolean;
15
- droppable?: boolean;
16
- selectable?: boolean;
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
- primaryColor?: string;
43
- secondaryColor?: string;
44
- toolbarBg?: string;
45
- toolbarTextColor?: string;
46
- buttonBg?: string;
41
+ buttonFontSize?: string | number;
42
+ buttonPaddingY?: string;
43
+ buttonPaddingX?: string;
44
+ buttonColor?: string;
47
45
  buttonTextColor?: string;
48
- buttonHoverBg?: string;
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
- slotLabelColor?: string;
52
- slotLabelFontSize?: string | number;
53
- eventBg?: string;
66
+ eventBackgroundColor?: string;
54
67
  eventBorderColor?: string;
55
68
  eventTextColor?: string;
56
- eventHoverBg?: string;
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
- resourceAreaBg?: string;
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
- resourceAreaWidth?: string | number;
62
- bodyBg?: string;
63
- onEventAdd?: (e: EventInput) => void;
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 _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./CalendarMolecule").CalendarMoleculeProps>;
4
- export default _default;
5
- export declare const DragAndDrop: StoryObj<typeof CalendarMolecule>;
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
- import { CalendarMoleculeProps } from './CalendarMolecule';
3
- export declare const ResourceTimelineCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableDayGrid' | 'enableTimeline' | 'enableList' | 'enableYearView'>>;
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,2 +1,2 @@
1
- import{__rest as e,__assign as r}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{CalendarMolecule as o}from"./CalendarMolecule.js";var l=[{id:"roomA",title:"Room A"},{id:"roomB",title:"Room B"}],t=function(t){var s=t.resources,m=e(t,["resources"]);return i(o,r({},m,{resources:null!=s?s:l,initialView:"resourceTimeGridWeek",enableDayGrid:!1,enableTimeGrid:!1,enableList:!1,enableTimeline:!1,enableResourceTimeline:!0,enableYearView:!1,editable:!0,droppable:!0,selectable:!0}))};export{t as ResourceTimelineCalendarMolecule};
1
+ import{__rest as e,__assign as o}from"../../node_modules/tslib/tslib.es6.js";import{jsxs as r,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{useState as n,useCallback as s}from"react";import{useCalendarCore as l}from"./hooks/useCalendarCore.js";import{useCalendarStyling as a}from"./hooks/useCalendarStyling.js";import u from"../../node_modules/@fullcalendar/interaction/index.js";import d from"../../node_modules/@fullcalendar/resource/index.js";import c from"../../node_modules/@fullcalendar/resource-timegrid/index.js";import m from"../../node_modules/@fullcalendar/resource-timeline/index.js";import p from"../../node_modules/@mui/material/Box/Box.js";var v=function(v){var h=v.events,f=void 0===h?[]:h,w=v.resources,b=void 0===w?[]:w,x=v.initialView,y=void 0===x?"week":x,g=v.enableTimelineView,j=void 0!==g&&g,C=v.showPrevButton,A=void 0===C||C,D=v.showNextButton,S=void 0===D||D,V=v.showTodayButton,k=void 0===V||V,B=v.showViewSwitcher,_=void 0===B||B,T=v.editable,E=void 0===T||T,G=v.droppable,H=void 0===G||G,I=v.selectable,N=void 0===I||I,R=v.slotDuration,O=void 0===R?"00:15:00":R,W=v.snapDuration,L=void 0===W?"00:05:00":W,P=v.businessHours,U=v.eventOverlap,K=void 0!==U&&U,q=v.height,z=v.resourceGroupCollapsible,F=void 0!==z&&z,J=v.onEventAdd,M=v.allDaySlot,Q=v.configurationItemInfo,X=e(v,["events","resources","initialView","enableTimelineView","showPrevButton","showNextButton","showTodayButton","showViewSwitcher","editable","droppable","selectable","slotDuration","snapDuration","businessHours","eventOverlap","height","resourceGroupCollapsible","onEventAdd","allDaySlot","configurationItemInfo"]),Y=[u,d,c,m],Z=l({initialEvents:f,onEventAdd:J,businessHours:P}),$=Z.eventsState,ee=Z.calRef,oe=Z.allowDrop,re=Z.onReceive,te=a(X).sx,ie=n(new Set),ne=ie[0],se=ie[1],le=s((function(e){e&&se((function(o){var r=new Set(o);return r.has(e)?r.delete(e):r.add(e),r}))}),[]),ae=Array.isArray(b)?b:[],ue=function(e){return j?"resourceTimeline".concat(e.charAt(0).toUpperCase()+e.slice(1)):"resourceTimeGrid".concat(e.charAt(0).toUpperCase()+e.slice(1))},de={week:ue("week"),day:ue("day")}[y]||ue("week"),ce=F&&ae.length>0?{resourceGroupLabelContent:function(e){return r("span",o({style:{cursor:"pointer",userSelect:"none"},onClick:function(){return le(e.groupValue)}},{children:[ne.has(e.groupValue)?"▶ ":"▼ ",e.text]}))},filterResourcesWithEvents:!0,resources:ae.filter((function(e){return(null==e?void 0:e.group)&&!ne.has(e.group)}))}:{},me=s((function(){var e=[];A&&e.push("prev"),S&&e.push("next"),k&&e.push("today");var o=[];return _&&(o.push(ue("day")),o.push(ue("week"))),{left:e.join(","),center:"title",right:o.join(",")}}),[j,A,S,k,_]);return t(p,o({sx:te},Q,{children:t(i,o({ref:ee,height:q,plugins:Y,themeSystem:"standard",schedulerLicenseKey:"CC-Attribution-NonCommercial-NoDerivatives",initialView:de,headerToolbar:me(),editable:E,droppable:H,selectable:N,businessHours:P,eventOverlap:K,eventAllow:oe,allDaySlot:M,slotDuration:O,snapDuration:L,events:$,resources:ae,resourceAreaWidth:X.resourceAreaWidth,eventReceive:re},ce))}))};export{v as ResourceTimelineCalendarMolecule};
2
2
  //# sourceMappingURL=ResourceTimelineCalendar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceTimelineCalendar.js","sources":["../../../../../src/molecules/Calendar/ResourceTimelineCalendar.tsx"],"sourcesContent":[null],"names":["MOCK_RESOURCES","id","title","ResourceTimelineCalendarMolecule","_a","resources","rest","__rest","_jsx","CalendarMolecule","initialView","enableDayGrid","enableTimeGrid","enableList","enableTimeline","enableResourceTimeline","enableYearView","editable","droppable","selectable"],"mappings":"gPAIA,IAAMA,EAAiB,CACrB,CAAEC,GAAI,QAASC,MAAO,UACtB,CAAED,GAAI,QAASC,MAAO,WAGXC,EAKT,SAACC,GAAE,IAAAC,EAASD,EAAAC,UAAKC,EAAIC,EAAAH,EAApB,eAA2B,OAC9BI,EAACC,OACKH,EAAI,CACRD,UAAWA,QAAAA,EAAaL,EACxBU,YAAY,uBACZC,eAAe,EACfC,gBAAgB,EAChBC,YAAY,EACZC,gBAAgB,EAChBC,wBACA,EAAAC,gBAAgB,EAEhBC,YACAC,WAAS,EACTC,YAAU"}
1
+ {"version":3,"file":"ResourceTimelineCalendar.js","sources":["../../../../../src/molecules/Calendar/ResourceTimelineCalendar.tsx"],"sourcesContent":[null],"names":["ResourceTimelineCalendarMolecule","_a","_b","events","initialEvents","_c","resources","_d","initialView","_e","enableTimelineView","_f","showPrevButton","_g","showNextButton","_h","showTodayButton","_j","showViewSwitcher","_k","editable","_l","droppable","_m","selectable","_o","slotDuration","_p","snapDuration","businessHours","_q","eventOverlap","height","_r","resourceGroupCollapsible","onEventAdd","allDaySlot","configurationItemInfo","stylingProps","__rest","plugins","interactionPlugin","resourcePlugin","resourceTimeGridPlugin","resourceTimelinePlugin","_s","useCalendarCore","eventsState","calRef","allowDrop","onReceive","sx","useCalendarStyling","_t","useState","Set","collapsedGroups","setCollapsedGroups","toggleGroup","useCallback","groupId","s","next","has","add","safeResources","Array","isArray","getResourceViewType","period","concat","charAt","toUpperCase","slice","normalizedInitialView","week","day","resourceOverrides","length","resourceGroupLabelContent","arg","_jsxs","__assign","style","cursor","userSelect","onClick","groupValue","children","text","filterResourcesWithEvents","filter","r","group","getHeaderToolbarConfig","leftItems","push","rightItems","left","join","center","right","_jsx","Box","FullCalendar","ref","themeSystem","schedulerLicenseKey","headerToolbar","eventAllow","resourceAreaWidth","eventReceive"],"mappings":"+wBAiLO,IAAMA,EAA4E,SAACC,GAExF,IAAAC,EAA0BD,EAAAE,OAAlBC,OAAa,IAAAF,EAAG,GAAEA,EAC1BG,cAAAC,OAAY,IAAAD,EAAA,GAAEA,EAGdE,EAAoBN,EAAAO,YAApBA,OAAW,IAAAD,EAAG,OAAMA,EAGpBE,EAA0BR,EAAAS,mBAA1BA,OAAkB,IAAAD,GAAQA,EAG1BE,EAAqBV,EAAAW,eAArBA,OAAc,IAAAD,GAAOA,EACrBE,mBAAAC,OAAiB,IAAAD,GAAIA,EACrBE,oBAAAC,OAAkB,IAAAD,GAAIA,EACtBE,qBAAAC,OAAmB,IAAAD,GAAIA,EAGvBE,EAAelB,EAAAmB,SAAfA,cAAeD,EACfE,EAAApB,EAAAqB,UAAAA,OAAS,IAAAD,GAAOA,EAChBE,EAAiBtB,EAAAuB,WAA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