@zealicsolutions/web-ui 1.0.68 → 1.0.70

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 (148) hide show
  1. package/dist/cjs/containers/Container.stories.d.ts +15 -1
  2. package/dist/cjs/containers/types/moleculeTypes.d.ts +32 -4
  3. package/dist/cjs/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
  4. package/dist/cjs/index.js +1561 -1561
  5. package/dist/cjs/index.js.map +1 -1
  6. package/dist/cjs/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +47 -0
  7. package/dist/cjs/molecules/BinaryRadioButtons/BinaryRadioButtons.stories.d.ts +38 -0
  8. package/dist/cjs/molecules/Calendar/CalendarMolecule.d.ts +87 -31
  9. package/dist/cjs/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
  10. package/dist/cjs/molecules/Calendar/ResourceTimelineCalendar.d.ts +101 -2
  11. package/dist/cjs/molecules/Calendar/SimpleCalendar.d.ts +98 -2
  12. package/dist/cjs/molecules/Calendar/YearViewCalendar.d.ts +82 -2
  13. package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
  14. package/dist/cjs/molecules/Calendar/hooks/useCalendarCore.test.d.ts +1 -0
  15. package/dist/cjs/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
  16. package/dist/cjs/molecules/Checkbox/Checkbox.d.ts +34 -0
  17. package/dist/cjs/molecules/Checkbox/Checkbox.stories.d.ts +23 -0
  18. package/dist/cjs/molecules/Consent/Consent.stories.d.ts +76 -7
  19. package/dist/cjs/molecules/Consent/ConsentMolecule.d.ts +10 -4
  20. package/dist/cjs/molecules/index.d.ts +22 -20
  21. package/dist/esm/components/Checkbox/Checkbox.js +1 -1
  22. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  23. package/dist/esm/components/RichTextViewer/components/Leaf.js +1 -1
  24. package/dist/esm/components/RichTextViewer/components/Leaf.js.map +1 -1
  25. package/dist/esm/containers/Container.js +1 -1
  26. package/dist/esm/containers/Container.js.map +1 -1
  27. package/dist/esm/containers/Container.stories.d.ts +15 -1
  28. package/dist/esm/containers/ContainerStoriesComponent.js +1 -1
  29. package/dist/esm/containers/ContainerStoriesComponent.js.map +1 -1
  30. package/dist/esm/containers/FormContainer.js +1 -1
  31. package/dist/esm/containers/FormContainer.js.map +1 -1
  32. package/dist/esm/containers/FormStepContainer.js +1 -1
  33. package/dist/esm/containers/FormStepContainer.js.map +1 -1
  34. package/dist/esm/containers/OrganismItem.js +1 -1
  35. package/dist/esm/containers/OrganismItem.js.map +1 -1
  36. package/dist/esm/containers/hooks/useCheckCondition.js +1 -1
  37. package/dist/esm/containers/hooks/useCheckCondition.js.map +1 -1
  38. package/dist/esm/containers/hooks/useStateListenerValue.js +1 -1
  39. package/dist/esm/containers/hooks/useStateListenerValue.js.map +1 -1
  40. package/dist/esm/containers/hooks/useStateModifierHandler.js +1 -1
  41. package/dist/esm/containers/hooks/useStateModifierHandler.js.map +1 -1
  42. package/dist/esm/containers/types/moleculeTypes.d.ts +32 -4
  43. package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js +1 -1
  44. package/dist/esm/contexts/ApiContext/queries/useDataModelFieldOptions.js.map +1 -1
  45. package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js +1 -1
  46. package/dist/esm/contexts/ButtonActionsContext/ButtonActionsContextProvider.js.map +1 -1
  47. package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js +1 -1
  48. package/dist/esm/contexts/FormStepContext/FormStepContextProvider.js.map +1 -1
  49. package/dist/esm/contexts/OrganismContext/OrganismContextProvider.d.ts +2 -2
  50. package/dist/esm/contexts/OrganismContext/OrganismContextProvider.js +1 -1
  51. package/dist/esm/contexts/OrganismContext/OrganismContextProvider.js.map +1 -1
  52. package/dist/esm/index.js +1 -1
  53. package/dist/esm/molecules/Accordion/Accordion.js +1 -1
  54. package/dist/esm/molecules/Accordion/Accordion.js.map +1 -1
  55. package/dist/esm/molecules/Avatar/Avatar.js +1 -1
  56. package/dist/esm/molecules/Avatar/Avatar.js.map +1 -1
  57. package/dist/esm/molecules/BaseMolecule.js +1 -1
  58. package/dist/esm/molecules/BaseMolecule.js.map +1 -1
  59. package/dist/esm/molecules/BasicTextField/BasicTextField.js +1 -1
  60. package/dist/esm/molecules/BasicTextField/BasicTextField.js.map +1 -1
  61. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.d.ts +47 -0
  62. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js +2 -0
  63. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.js.map +1 -0
  64. package/dist/esm/molecules/BinaryRadioButtons/BinaryRadioButtons.stories.d.ts +38 -0
  65. package/dist/esm/molecules/Calendar/CalendarMolecule.d.ts +87 -31
  66. package/dist/esm/molecules/Calendar/CalendarMolecule.stories.d.ts +7 -4
  67. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.d.ts +101 -2
  68. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js +1 -1
  69. package/dist/esm/molecules/Calendar/ResourceTimelineCalendar.js.map +1 -1
  70. package/dist/esm/molecules/Calendar/SimpleCalendar.d.ts +98 -2
  71. package/dist/esm/molecules/Calendar/SimpleCalendar.js +1 -1
  72. package/dist/esm/molecules/Calendar/SimpleCalendar.js.map +1 -1
  73. package/dist/esm/molecules/Calendar/YearViewCalendar.d.ts +82 -2
  74. package/dist/esm/molecules/Calendar/YearViewCalendar.js +1 -1
  75. package/dist/esm/molecules/Calendar/YearViewCalendar.js.map +1 -1
  76. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.d.ts +14 -0
  77. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js +2 -0
  78. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.js.map +1 -0
  79. package/dist/esm/molecules/Calendar/hooks/useCalendarCore.test.d.ts +1 -0
  80. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.d.ts +229 -0
  81. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js +2 -0
  82. package/dist/esm/molecules/Calendar/hooks/useCalendarStyling.js.map +1 -0
  83. package/dist/esm/molecules/Checkbox/Checkbox.d.ts +34 -0
  84. package/dist/esm/molecules/Checkbox/Checkbox.js +2 -0
  85. package/dist/esm/molecules/Checkbox/Checkbox.js.map +1 -0
  86. package/dist/esm/molecules/Checkbox/Checkbox.stories.d.ts +23 -0
  87. package/dist/esm/molecules/Checklist/Checklist.js +1 -1
  88. package/dist/esm/molecules/Checklist/Checklist.js.map +1 -1
  89. package/dist/esm/molecules/Consent/Consent.stories.d.ts +76 -7
  90. package/dist/esm/molecules/Consent/ConsentMolecule.d.ts +10 -4
  91. package/dist/esm/molecules/Consent/ConsentMolecule.js +1 -1
  92. package/dist/esm/molecules/Consent/ConsentMolecule.js.map +1 -1
  93. package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js +1 -1
  94. package/dist/esm/molecules/CurrencyInputtField/CurrencyInputField.js.map +1 -1
  95. package/dist/esm/molecules/DatePicker/DatePicker.js +1 -1
  96. package/dist/esm/molecules/DatePicker/DatePicker.js.map +1 -1
  97. package/dist/esm/molecules/Drawer/Drawer.js +1 -1
  98. package/dist/esm/molecules/Drawer/Drawer.js.map +1 -1
  99. package/dist/esm/molecules/EmailInputField/EmailInputField.js +1 -1
  100. package/dist/esm/molecules/EmailInputField/EmailInputField.js.map +1 -1
  101. package/dist/esm/molecules/Menu/Menu.js +1 -1
  102. package/dist/esm/molecules/Menu/Menu.js.map +1 -1
  103. package/dist/esm/molecules/NumericInputField/NumericInputField.js +1 -1
  104. package/dist/esm/molecules/NumericInputField/NumericInputField.js.map +1 -1
  105. package/dist/esm/molecules/PasswordSetup/PasswordSetup.js +1 -1
  106. package/dist/esm/molecules/PasswordSetup/PasswordSetup.js.map +1 -1
  107. package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js +1 -1
  108. package/dist/esm/molecules/PhoneNumberInputField/PhoneNumberInputField.js.map +1 -1
  109. package/dist/esm/molecules/Rating/Rating.js +1 -1
  110. package/dist/esm/molecules/Rating/Rating.js.map +1 -1
  111. package/dist/esm/molecules/Select/Select.js +1 -1
  112. package/dist/esm/molecules/Select/Select.js.map +1 -1
  113. package/dist/esm/molecules/Slider/Slider.js +1 -1
  114. package/dist/esm/molecules/Slider/Slider.js.map +1 -1
  115. package/dist/esm/molecules/SpeedDial/SpeedDial.js +1 -1
  116. package/dist/esm/molecules/SpeedDial/SpeedDial.js.map +1 -1
  117. package/dist/esm/molecules/Stepper/Stepper.js +1 -1
  118. package/dist/esm/molecules/Stepper/Stepper.js.map +1 -1
  119. package/dist/esm/molecules/Switch/Switch.js +1 -1
  120. package/dist/esm/molecules/Switch/Switch.js.map +1 -1
  121. package/dist/esm/molecules/Tabs/Tabs.js +1 -1
  122. package/dist/esm/molecules/Tabs/Tabs.js.map +1 -1
  123. package/dist/esm/molecules/index.d.ts +22 -20
  124. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js +1 -1
  125. package/dist/esm/node_modules/@fullcalendar/premium-common/index.js.map +1 -1
  126. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js +1 -1
  127. package/dist/esm/node_modules/@fullcalendar/timeline/internal.js.map +1 -1
  128. package/dist/esm/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
  129. package/dist/index.d.ts +686 -651
  130. package/package.json +3 -3
  131. package/dist/cjs/molecules/Consent/Consent.d.ts +0 -32
  132. package/dist/cjs/molecules/Consent/ConsentCapture.d.ts +0 -20
  133. package/dist/cjs/molecules/Consent/consentMock.d.ts +0 -7
  134. package/dist/esm/components/Checkbox/helpers.js +0 -2
  135. package/dist/esm/components/Checkbox/helpers.js.map +0 -1
  136. package/dist/esm/molecules/Calendar/CalendarMolecule.js +0 -2
  137. package/dist/esm/molecules/Calendar/CalendarMolecule.js.map +0 -1
  138. package/dist/esm/molecules/Consent/Consent.d.ts +0 -32
  139. package/dist/esm/molecules/Consent/Consent.js +0 -2
  140. package/dist/esm/molecules/Consent/Consent.js.map +0 -1
  141. package/dist/esm/molecules/Consent/ConsentCapture.d.ts +0 -20
  142. package/dist/esm/molecules/Consent/ConsentCapture.js +0 -2
  143. package/dist/esm/molecules/Consent/ConsentCapture.js.map +0 -1
  144. package/dist/esm/molecules/Consent/consentMock.d.ts +0 -7
  145. /package/dist/cjs/containers/{mock-data.d.ts → mockData.d.ts} +0 -0
  146. /package/dist/cjs/organisms/Organism/{mock-data.d.ts → mockData.d.ts} +0 -0
  147. /package/dist/esm/containers/{mock-data.d.ts → mockData.d.ts} +0 -0
  148. /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?: 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,WAAjBA,OAAU,IAAAD,GAAOA,EAGjBE,EAAyBxB,EAAAyB,aAAzBA,aAAe,WAAUD,EACzBE,EAAyB1B,EAAA2B,aAAzBA,OAAe,IAAAD,EAAA,aACfE,kBACAC,EAAA7B,EAAA8B,aAAAA,OAAY,IAAAD,GAAQA,EAGpBE,EAAM/B,EAAA+B,OA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QAAO,SAACC,GAAM,OAAAA,aAAC,EAADA,EAAGC,SAAUrC,GAAgBO,IAAI6B,EAAEC,WAE5E,GAGAC,GAAyBnC,GAAY,WACzC,IAAMoC,EAAY,GACdnF,GAAgBmF,EAAUC,KAAK,QAC/BlF,GAAgBiF,EAAUC,KAAK,QAC/BhF,GAAiB+E,EAAUC,KAAK,SAEpC,IAAMC,EAAa,GAMnB,OALI/E,IACF+E,EAAWD,KAAK5B,GAAoB,QACpC6B,EAAWD,KAAK5B,GAAoB,UAG/B,CACL8B,KAAMH,EAAUI,KAAK,KACrBC,OAAQ,QACRC,MAAOJ,EAAWE,KAAK,KAE3B,GAAG,CAACzF,EAAoBE,EAAgBE,EAAgBE,EAAiBE,IAEzE,OACEoF,EAACC,EAAGrB,EAAA,CAAC/B,GAAIA,IAAQd,EACf,CAAAmD,SAAAc,EAACE,EACCtB,EAAA,CAAAuB,IAAKzD,GACLhB,OAAQA,EACRQ,QAASA,EACTkE,YAAY,WACZC,oBAAoB,6CACpBnG,YAAakE,GACbkC,cAAed,KACf1E,SAAUA,EACVE,UAAWA,EACXE,WAAYA,EACZK,cAAeA,EACfE,aAAcA,EACd8E,WAAY5D,GACZb,WAAYA,EACZV,aAAcA,EACdE,aAAcA,EACdzB,OAAQ4C,EACRzC,UAAW2D,GACX6C,kBAAmBxE,EAAawE,kBAChCC,aAAc7D,IACV2B,OAIZ"}
@@ -1,3 +1,99 @@
1
+ import { ConfigurationItemInfo } from 'containers';
1
2
  import React from 'react';
2
- import { CalendarMoleculeProps } from './CalendarMolecule';
3
- export declare const SimpleCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableYearView' | 'enableResourceTimeline'>>;
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 e}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 r}from"./CalendarMolecule.js";var l=function(l){return i(r,e({},l,{initialView:"dayGridMonth",enableDayGrid:!0,enableTimeGrid:!0,enableList:!1,enableTimeline:!1,enableResourceTimeline:!1,enableYearView:!1,editable:!0,droppable:!0,selectable:!0}))};export{l as SimpleCalendarMolecule};
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","props","_jsx","CalendarMolecule","__assign","initialView","enableDayGrid","enableTimeGrid","enableList","enableTimeline","enableResourceTimeline","enableYearView","editable","droppable","selectable"],"mappings":"oOAIa,IAAAA,EAET,SAACC,GAAU,OACbC,EAACC,EACKC,EAAA,GAAAH,EACJ,CAAAI,YAAY,eAEZC,iBACAC,gBAAc,EACdC,YAAY,EACZC,gBAAgB,EAChBC,wBAAwB,EACxBC,gBAAgB,EAEhBC,UAAQ,EACRC,WACA,EAAAC,gBAEH"}
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","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AAEC,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,83 @@
1
+ import { ConfigurationItemInfo } from 'containers';
1
2
  import React from 'react';
2
- import { CalendarMoleculeProps } from './CalendarMolecule';
3
- export declare const YearViewCalendarMolecule: React.FC<Omit<CalendarMoleculeProps, 'initialView' | 'enableDayGrid' | 'enableTimeGrid' | 'enableList' | 'enableTimeline' | 'enableResourceTimeline'>>;
3
+ export interface YearViewCalendarProps {
4
+ events?: any[];
5
+ businessHours?: any;
6
+ monthsPerRow?: number;
7
+ dayMaxEvents?: number;
8
+ yearViewMode?: 'grid' | 'stack' | 'continuous';
9
+ showPrevButton?: boolean;
10
+ showNextButton?: boolean;
11
+ showTodayButton?: boolean;
12
+ editable?: boolean;
13
+ droppable?: boolean;
14
+ selectable?: boolean;
15
+ width?: string | number;
16
+ height?: string | number;
17
+ marginLeft?: string;
18
+ marginTop?: string;
19
+ marginRight?: string;
20
+ marginBottom?: string;
21
+ paddingLeft?: string;
22
+ paddingTop?: string;
23
+ paddingRight?: string;
24
+ paddingBottom?: string;
25
+ buttonFontSize?: string | number;
26
+ buttonPaddingY?: string;
27
+ buttonPaddingX?: string;
28
+ buttonColor?: string;
29
+ buttonTextColor?: string;
30
+ buttonBorderColor?: string;
31
+ buttonFontWeight?: string | number;
32
+ buttonElevation?: number;
33
+ buttonHeight?: string | number;
34
+ buttonMinWidth?: string | number;
35
+ buttonMarginY?: string;
36
+ buttonMarginX?: string;
37
+ buttonBorderRadius?: string;
38
+ buttonHoverColor?: string;
39
+ buttonHoverTextColor?: string;
40
+ buttonHoverBorderColor?: string;
41
+ headerBackgroundColor?: string;
42
+ headerBorderColor?: string;
43
+ headerPadding?: string;
44
+ headerHeight?: string | number;
45
+ headerFontSize?: string | number;
46
+ headerFontWeight?: string | number;
47
+ headerTextColor?: string;
48
+ dayHeaderColor?: string;
49
+ dayHeaderFontWeight?: string | number;
50
+ eventBackgroundColor?: string;
51
+ eventBorderColor?: string;
52
+ eventTextColor?: string;
53
+ eventBorderRadius?: string;
54
+ eventOpacity?: number;
55
+ eventElevation?: number;
56
+ eventPadding?: string;
57
+ eventFontSize?: string | number;
58
+ eventFontFamily?: string;
59
+ eventFontWeight?: string | number;
60
+ cellBackgroundColor?: string;
61
+ cellHoverBackgroundColor?: string;
62
+ cellTodayBackgroundColor?: string;
63
+ cellBorderColor?: string;
64
+ cellTextColor?: string;
65
+ cellFontSize?: string | number;
66
+ cellPadding?: string;
67
+ cellHeight?: string | number;
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
+ headerLetterSpacing?: 'normal' | 'wide' | 'wider' | 'tight';
76
+ textShadowStyle?: 'none' | 'subtle' | 'medium' | 'strong';
77
+ enableAnimations?: boolean;
78
+ animationSpeed?: string;
79
+ hoverEffect?: 'none' | 'lift' | 'scale' | 'glow' | 'bounce';
80
+ onEventAdd?: (e: any) => void;
81
+ configurationItemInfo?: ConfigurationItemInfo;
82
+ }
83
+ export declare const YearViewCalendarMolecule: React.FC<YearViewCalendarProps>;
@@ -1,2 +1,2 @@
1
- import{__assign as e}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 r}from"./CalendarMolecule.js";var o=function(o){return i(r,e({},o,{initialView:"multiMonthYear",enableYearView:!0,enableDayGrid:!1,enableTimeGrid:!1,enableList:!1,enableTimeline:!1,enableResourceTimeline:!1,monthsPerRow:3,yearViewMode:"grid",dayMaxEvents:3,editable:!1,droppable:!1,selectable:!1}))};export{o as YearViewCalendarMolecule};
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.businessHours,c=u.monthsPerRow,p=void 0===c?3:c,f=u.dayMaxEvents,b=void 0===f?3:f,x=u.yearViewMode,w=void 0===x?"grid":x,y=u.showPrevButton,M=void 0===y||y,j=u.showNextButton,g=void 0===j||j,B=u.showTodayButton,A=void 0===B||B,C=u.editable,E=void 0!==C&&C,_=u.droppable,R=void 0!==_&&_,S=u.selectable,H=void 0!==S&&S;u.width;var I=u.height;u.buttonFontSize;var N=u.onEventAdd,P=u.configurationItemInfo,T=e(u,["events","businessHours","monthsPerRow","dayMaxEvents","yearViewMode","showPrevButton","showNextButton","showTodayButton","editable","droppable","selectable","width","height","buttonFontSize","onEventAdd","configurationItemInfo"]),k=[a,d],V=Array.isArray(v)?v:[],Y=r({initialEvents:V,onEventAdd:N,businessHours:h}),z=Y.eventsState,D=Y.calRef,F=Y.allowDrop,K=Y.onReceive,L=s(T).sx,O={multiMonthYear:{type:"multiMonth",duration:{years:1},buttonText:"Year",multiMonthMaxColumns:"grid"===w?p:"stack"===w?1:p,multiMonthMinWidth:"continuous"===w?250:void 0,dayMaxEvents:b}},W=n((function(){var e=[];return M&&e.push("prev"),g&&e.push("next"),A&&e.push("today"),{left:e.join(","),center:"title",right:""}}),[M,g,A]);return t(l,o({sx:L},P,{children:t(i,{ref:D,height:I,plugins:k,themeSystem:"standard",schedulerLicenseKey:"CC-Attribution-NonCommercial-NoDerivatives",initialView:"multiMonthYear",headerToolbar:W(),views:O,editable:E,droppable:R,selectable:H,businessHours:h,eventOverlap:!0,eventAllow:F,events:z,eventReceive:K})}))};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","props","_jsx","CalendarMolecule","__assign","initialView","enableYearView","enableDayGrid","enableTimeGrid","enableList","enableTimeline","enableResourceTimeline","monthsPerRow","yearViewMode","dayMaxEvents","editable","droppable","selectable"],"mappings":"wOAIaA,EAUT,SAACC,GAAU,OACbC,EAACC,EACKC,EAAA,CAAA,EAAAH,GACJI,YAAY,iBACZC,gBAAc,EAEdC,eAAe,EACfC,gBAAgB,EAChBC,YAAY,EACZC,gBAAgB,EAChBC,wBAAwB,EAExBC,aAAc,EACdC,aAAa,OACbC,aAAc,EAEdC,UAAU,EACVC,WAAW,EACXC,YAAY,IAEf"}
1
+ {"version":3,"file":"YearViewCalendar.js","sources":["../../../../../src/molecules/Calendar/YearViewCalendar.tsx"],"sourcesContent":[null],"names":["YearViewCalendarMolecule","_a","_b","events","initialEvents","businessHours","_c","monthsPerRow","_d","dayMaxEvents","_e","yearViewMode","_f","showPrevButton","_g","showNextButton","_h","showTodayButton","_j","editable","_k","droppable","_l","selectable","width","height","buttonFontSize","onEventAdd","configurationItemInfo","stylingProps","__rest","plugins","interactionPlugin","multiMonthPlugin","safeEvents","Array","isArray","_m","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","eventOverlap","eventAllow","eventReceive"],"mappings":"mmBA6IO,IAAMA,EAA4D,SAACC,OAExEC,EAA0BD,EAAAE,OAAlBC,OAAgB,IAAAF,EAAA,GAAEA,EAC1BG,EAAaJ,EAAAI,cAGbC,EAAgBL,EAAAM,aAAhBA,aAAe,EAACD,EAChBE,EAAAP,EAAAQ,aAAAA,OAAY,IAAAD,EAAG,EAACA,EAChBE,EAAqBT,EAAAU,aAArBA,OAAY,IAAAD,EAAG,OAAMA,EAGrBE,EAAqBX,EAAAY,eAArBA,cAAqBD,EACrBE,EAAAb,EAAAc,eAAAA,OAAc,IAAAD,GAAOA,EACrBE,EAAsBf,EAAAg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O3B,EACP1B,SAAUA,EACVE,UAAWA,EACXE,WAAYA,EACZlB,cAAeA,EACfoE,cAAc,EACdC,WAAYjC,EACZtC,OAAQoC,EACRoC,aAAcjC,MAItB"}
@@ -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,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,G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