@schedule-x/react 1.19.0 → 1.21.0
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/CHANGELOG.md +14 -0
- package/development/App.tsx +2 -0
- package/development/components/CustomEventModal.tsx +26 -0
- package/development/next-app/package-lock.json +56 -56
- package/development/next-app/package.json +1 -1
- package/dist/types/schedule-x-calendar.d.ts +1 -0
- package/package.json +8 -8
- package/src/schedule-x-calendar.tsx +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
# [1.21.0](https://github.com/schedule-x/react/compare/v1.20.0...v1.21.0) (2024-03-16)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* update schedule-x monorepo packages to v1.24.0 ([#72](https://github.com/schedule-x/react/issues/72)) ([c462226](https://github.com/schedule-x/react/commit/c462226c86ef9300fbd5e9da7250179ab9e58130))
|
|
11
|
+
|
|
12
|
+
# [1.20.0](https://github.com/schedule-x/react/compare/v1.19.0...v1.20.0) (2024-03-09)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* custom event modal ([#73](https://github.com/schedule-x/react/issues/73)) ([3130130](https://github.com/schedule-x/react/commit/313013032a21270eef78ba30fc4cb8e7024e20ac))
|
|
18
|
+
|
|
5
19
|
# [1.19.0](https://github.com/schedule-x/react/compare/v1.18.1...v1.19.0) (2024-03-04)
|
|
6
20
|
|
|
7
21
|
|
package/development/App.tsx
CHANGED
|
@@ -11,6 +11,7 @@ import { createDragAndDropPlugin } from '@schedule-x/drag-and-drop'
|
|
|
11
11
|
import { createEventModalPlugin } from '@schedule-x/event-modal'
|
|
12
12
|
import CustomTimeGridEvent from './components/CustomTimeGridEvent.tsx'
|
|
13
13
|
import CustomDateGridEvent from './components/CustomDateGridEvent.tsx'
|
|
14
|
+
import CustomEventModal from './components/CustomEventModal.tsx'
|
|
14
15
|
|
|
15
16
|
function App() {
|
|
16
17
|
const calendarApp = useCalendarApp({
|
|
@@ -55,6 +56,7 @@ function App() {
|
|
|
55
56
|
dateGridEvent: CustomDateGridEvent,
|
|
56
57
|
monthAgendaEvent: CustomDateGridEvent,
|
|
57
58
|
monthGridEvent: CustomDateGridEvent,
|
|
59
|
+
eventModal: CustomEventModal,
|
|
58
60
|
}}
|
|
59
61
|
/>
|
|
60
62
|
</div>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type props = {
|
|
2
|
+
calendarEvent: {
|
|
3
|
+
id: string | number
|
|
4
|
+
title: string
|
|
5
|
+
start: string
|
|
6
|
+
end: string
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default function CustomEventModal({ calendarEvent }: props) {
|
|
11
|
+
return (
|
|
12
|
+
<div
|
|
13
|
+
style={{
|
|
14
|
+
height: '100%',
|
|
15
|
+
width: '100%',
|
|
16
|
+
color: '#000',
|
|
17
|
+
boxShadow: '0 0 10px 0 rgba(0, 0, 0, 0.1)',
|
|
18
|
+
padding: '1rem',
|
|
19
|
+
}}
|
|
20
|
+
>
|
|
21
|
+
<h2 style={{ marginBottom: '5px' }}>Custom event modal displaying:</h2>
|
|
22
|
+
<br />
|
|
23
|
+
{calendarEvent.title}
|
|
24
|
+
</div>
|
|
25
|
+
)
|
|
26
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "next-app",
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"next": "14.1.
|
|
11
|
+
"next": "14.1.3",
|
|
12
12
|
"react": "^18",
|
|
13
13
|
"react-dom": "^18"
|
|
14
14
|
},
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"node_modules/@next/env": {
|
|
23
|
-
"version": "14.1.
|
|
24
|
-
"resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.
|
|
25
|
-
"integrity": "sha512-
|
|
23
|
+
"version": "14.1.3",
|
|
24
|
+
"resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.3.tgz",
|
|
25
|
+
"integrity": "sha512-VhgXTvrgeBRxNPjyfBsDIMvgsKDxjlpw4IAUsHCX8Gjl1vtHUYRT3+xfQ/wwvLPDd/6kqfLqk9Pt4+7gysuCKQ=="
|
|
26
26
|
},
|
|
27
27
|
"node_modules/@next/swc-darwin-arm64": {
|
|
28
|
-
"version": "14.1.
|
|
29
|
-
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.
|
|
30
|
-
"integrity": "sha512-
|
|
28
|
+
"version": "14.1.3",
|
|
29
|
+
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.3.tgz",
|
|
30
|
+
"integrity": "sha512-LALu0yIBPRiG9ANrD5ncB3pjpO0Gli9ZLhxdOu6ZUNf3x1r3ea1rd9Q+4xxUkGrUXLqKVK9/lDkpYIJaCJ6AHQ==",
|
|
31
31
|
"cpu": [
|
|
32
32
|
"arm64"
|
|
33
33
|
],
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"node_modules/@next/swc-darwin-x64": {
|
|
43
|
-
"version": "14.1.
|
|
44
|
-
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.
|
|
45
|
-
"integrity": "sha512-
|
|
43
|
+
"version": "14.1.3",
|
|
44
|
+
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.3.tgz",
|
|
45
|
+
"integrity": "sha512-E/9WQeXxkqw2dfcn5UcjApFgUq73jqNKaE5bysDm58hEUdUGedVrnRhblhJM7HbCZNhtVl0j+6TXsK0PuzXTCg==",
|
|
46
46
|
"cpu": [
|
|
47
47
|
"x64"
|
|
48
48
|
],
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"node_modules/@next/swc-linux-arm64-gnu": {
|
|
58
|
-
"version": "14.1.
|
|
59
|
-
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.
|
|
60
|
-
"integrity": "sha512-
|
|
58
|
+
"version": "14.1.3",
|
|
59
|
+
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.3.tgz",
|
|
60
|
+
"integrity": "sha512-USArX9B+3rZSXYLFvgy0NVWQgqh6LHWDmMt38O4lmiJNQcwazeI6xRvSsliDLKt+78KChVacNiwvOMbl6g6BBw==",
|
|
61
61
|
"cpu": [
|
|
62
62
|
"arm64"
|
|
63
63
|
],
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"node_modules/@next/swc-linux-arm64-musl": {
|
|
73
|
-
"version": "14.1.
|
|
74
|
-
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.
|
|
75
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "14.1.3",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.3.tgz",
|
|
75
|
+
"integrity": "sha512-esk1RkRBLSIEp1qaQXv1+s6ZdYzuVCnDAZySpa62iFTMGTisCyNQmqyCTL9P+cLJ4N9FKCI3ojtSfsyPHJDQNw==",
|
|
76
76
|
"cpu": [
|
|
77
77
|
"arm64"
|
|
78
78
|
],
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"node_modules/@next/swc-linux-x64-gnu": {
|
|
88
|
-
"version": "14.1.
|
|
89
|
-
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.
|
|
90
|
-
"integrity": "sha512-
|
|
88
|
+
"version": "14.1.3",
|
|
89
|
+
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.3.tgz",
|
|
90
|
+
"integrity": "sha512-8uOgRlYEYiKo0L8YGeS+3TudHVDWDjPVDUcST+z+dUzgBbTEwSSIaSgF/vkcC1T/iwl4QX9iuUyUdQEl0Kxalg==",
|
|
91
91
|
"cpu": [
|
|
92
92
|
"x64"
|
|
93
93
|
],
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"node_modules/@next/swc-linux-x64-musl": {
|
|
103
|
-
"version": "14.1.
|
|
104
|
-
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.
|
|
105
|
-
"integrity": "sha512-
|
|
103
|
+
"version": "14.1.3",
|
|
104
|
+
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.3.tgz",
|
|
105
|
+
"integrity": "sha512-DX2zqz05ziElLoxskgHasaJBREC5Y9TJcbR2LYqu4r7naff25B4iXkfXWfcp69uD75/0URmmoSgT8JclJtrBoQ==",
|
|
106
106
|
"cpu": [
|
|
107
107
|
"x64"
|
|
108
108
|
],
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"node_modules/@next/swc-win32-arm64-msvc": {
|
|
118
|
-
"version": "14.1.
|
|
119
|
-
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.
|
|
120
|
-
"integrity": "sha512-
|
|
118
|
+
"version": "14.1.3",
|
|
119
|
+
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.3.tgz",
|
|
120
|
+
"integrity": "sha512-HjssFsCdsD4GHstXSQxsi2l70F/5FsRTRQp8xNgmQs15SxUfUJRvSI9qKny/jLkY3gLgiCR3+6A7wzzK0DBlfA==",
|
|
121
121
|
"cpu": [
|
|
122
122
|
"arm64"
|
|
123
123
|
],
|
|
@@ -130,9 +130,9 @@
|
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
"node_modules/@next/swc-win32-ia32-msvc": {
|
|
133
|
-
"version": "14.1.
|
|
134
|
-
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.
|
|
135
|
-
"integrity": "sha512-
|
|
133
|
+
"version": "14.1.3",
|
|
134
|
+
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.3.tgz",
|
|
135
|
+
"integrity": "sha512-DRuxD5axfDM1/Ue4VahwSxl1O5rn61hX8/sF0HY8y0iCbpqdxw3rB3QasdHn/LJ6Wb2y5DoWzXcz3L1Cr+Thrw==",
|
|
136
136
|
"cpu": [
|
|
137
137
|
"ia32"
|
|
138
138
|
],
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"node_modules/@next/swc-win32-x64-msvc": {
|
|
148
|
-
"version": "14.1.
|
|
149
|
-
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.
|
|
150
|
-
"integrity": "sha512-
|
|
148
|
+
"version": "14.1.3",
|
|
149
|
+
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.3.tgz",
|
|
150
|
+
"integrity": "sha512-uC2DaDoWH7h1P/aJ4Fok3Xiw6P0Lo4ez7NbowW2VGNXw/Xv6tOuLUcxhBYZxsSUJtpeknCi8/fvnSpyCFp4Rcg==",
|
|
151
151
|
"cpu": [
|
|
152
152
|
"x64"
|
|
153
153
|
],
|
|
@@ -168,9 +168,9 @@
|
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
"node_modules/@types/node": {
|
|
171
|
-
"version": "20.11.
|
|
172
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.
|
|
173
|
-
"integrity": "sha512-
|
|
171
|
+
"version": "20.11.25",
|
|
172
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.25.tgz",
|
|
173
|
+
"integrity": "sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==",
|
|
174
174
|
"dev": true,
|
|
175
175
|
"dependencies": {
|
|
176
176
|
"undici-types": "~5.26.4"
|
|
@@ -183,9 +183,9 @@
|
|
|
183
183
|
"dev": true
|
|
184
184
|
},
|
|
185
185
|
"node_modules/@types/react": {
|
|
186
|
-
"version": "18.2.
|
|
187
|
-
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.
|
|
188
|
-
"integrity": "sha512-
|
|
186
|
+
"version": "18.2.64",
|
|
187
|
+
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.64.tgz",
|
|
188
|
+
"integrity": "sha512-MlmPvHgjj2p3vZaxbQgFUQFvD8QiZwACfGqEdDSWou5yISWxDQ4/74nCAwsUiX7UFLKZz3BbVSPj+YxeoGGCfg==",
|
|
189
189
|
"dev": true,
|
|
190
190
|
"dependencies": {
|
|
191
191
|
"@types/prop-types": "*",
|
|
@@ -194,9 +194,9 @@
|
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
"node_modules/@types/react-dom": {
|
|
197
|
-
"version": "18.2.
|
|
198
|
-
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.
|
|
199
|
-
"integrity": "sha512-
|
|
197
|
+
"version": "18.2.21",
|
|
198
|
+
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.21.tgz",
|
|
199
|
+
"integrity": "sha512-gnvBA/21SA4xxqNXEwNiVcP0xSGHh/gi1VhWv9Bl46a0ItbTT5nFY+G9VSQpaG/8N/qdJpJ+vftQ4zflTtnjLw==",
|
|
200
200
|
"dev": true,
|
|
201
201
|
"dependencies": {
|
|
202
202
|
"@types/react": "*"
|
|
@@ -288,11 +288,11 @@
|
|
|
288
288
|
}
|
|
289
289
|
},
|
|
290
290
|
"node_modules/next": {
|
|
291
|
-
"version": "14.1.
|
|
292
|
-
"resolved": "https://registry.npmjs.org/next/-/next-14.1.
|
|
293
|
-
"integrity": "sha512-
|
|
291
|
+
"version": "14.1.3",
|
|
292
|
+
"resolved": "https://registry.npmjs.org/next/-/next-14.1.3.tgz",
|
|
293
|
+
"integrity": "sha512-oexgMV2MapI0UIWiXKkixF8J8ORxpy64OuJ/J9oVUmIthXOUCcuVEZX+dtpgq7wIfIqtBwQsKEDXejcjTsan9g==",
|
|
294
294
|
"dependencies": {
|
|
295
|
-
"@next/env": "14.1.
|
|
295
|
+
"@next/env": "14.1.3",
|
|
296
296
|
"@swc/helpers": "0.5.2",
|
|
297
297
|
"busboy": "1.6.0",
|
|
298
298
|
"caniuse-lite": "^1.0.30001579",
|
|
@@ -307,15 +307,15 @@
|
|
|
307
307
|
"node": ">=18.17.0"
|
|
308
308
|
},
|
|
309
309
|
"optionalDependencies": {
|
|
310
|
-
"@next/swc-darwin-arm64": "14.1.
|
|
311
|
-
"@next/swc-darwin-x64": "14.1.
|
|
312
|
-
"@next/swc-linux-arm64-gnu": "14.1.
|
|
313
|
-
"@next/swc-linux-arm64-musl": "14.1.
|
|
314
|
-
"@next/swc-linux-x64-gnu": "14.1.
|
|
315
|
-
"@next/swc-linux-x64-musl": "14.1.
|
|
316
|
-
"@next/swc-win32-arm64-msvc": "14.1.
|
|
317
|
-
"@next/swc-win32-ia32-msvc": "14.1.
|
|
318
|
-
"@next/swc-win32-x64-msvc": "14.1.
|
|
310
|
+
"@next/swc-darwin-arm64": "14.1.3",
|
|
311
|
+
"@next/swc-darwin-x64": "14.1.3",
|
|
312
|
+
"@next/swc-linux-arm64-gnu": "14.1.3",
|
|
313
|
+
"@next/swc-linux-arm64-musl": "14.1.3",
|
|
314
|
+
"@next/swc-linux-x64-gnu": "14.1.3",
|
|
315
|
+
"@next/swc-linux-x64-musl": "14.1.3",
|
|
316
|
+
"@next/swc-win32-arm64-msvc": "14.1.3",
|
|
317
|
+
"@next/swc-win32-ia32-msvc": "14.1.3",
|
|
318
|
+
"@next/swc-win32-x64-msvc": "14.1.3"
|
|
319
319
|
},
|
|
320
320
|
"peerDependencies": {
|
|
321
321
|
"@opentelemetry/api": "^1.1.0",
|
|
@@ -439,9 +439,9 @@
|
|
|
439
439
|
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
|
440
440
|
},
|
|
441
441
|
"node_modules/typescript": {
|
|
442
|
-
"version": "5.
|
|
443
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.
|
|
444
|
-
"integrity": "sha512
|
|
442
|
+
"version": "5.4.2",
|
|
443
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.2.tgz",
|
|
444
|
+
"integrity": "sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==",
|
|
445
445
|
"dev": true,
|
|
446
446
|
"bin": {
|
|
447
447
|
"tsc": "bin/tsc",
|
|
@@ -8,6 +8,7 @@ type props = {
|
|
|
8
8
|
dateGridEvent?: ReactComponent;
|
|
9
9
|
monthGridEvent?: ReactComponent;
|
|
10
10
|
monthAgendaEvent?: ReactComponent;
|
|
11
|
+
eventModal?: ReactComponent;
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
export declare function ScheduleXCalendar({ calendarApp, customComponents }: props): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"main": "dist/index.cjs.js",
|
|
15
15
|
"module": "dist/index.js",
|
|
16
16
|
"types": "dist/types/index.d.ts",
|
|
17
|
-
"version": "1.
|
|
17
|
+
"version": "1.21.0",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "vite",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"build:publish": "npm run build && npm publish"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@schedule-x/calendar": "1.
|
|
29
|
+
"@schedule-x/calendar": "1.24.0",
|
|
30
30
|
"react": "^16.7.0 || ^17 || ^18",
|
|
31
31
|
"react-dom": "^16.7.0 || ^17 || ^18"
|
|
32
32
|
},
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
36
36
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
37
37
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
38
|
-
"@schedule-x/drag-and-drop": "^1.
|
|
39
|
-
"@schedule-x/e2e-testing": "^1.
|
|
40
|
-
"@schedule-x/eslint-config": "^1.
|
|
41
|
-
"@schedule-x/event-modal": "^1.
|
|
42
|
-
"@schedule-x/prettier-config": "^1.
|
|
43
|
-
"@schedule-x/theme-default": "^1.
|
|
38
|
+
"@schedule-x/drag-and-drop": "^1.22.0",
|
|
39
|
+
"@schedule-x/e2e-testing": "^1.22.0",
|
|
40
|
+
"@schedule-x/eslint-config": "^1.22.0",
|
|
41
|
+
"@schedule-x/event-modal": "^1.22.0",
|
|
42
|
+
"@schedule-x/prettier-config": "^1.22.0",
|
|
43
|
+
"@schedule-x/theme-default": "^1.22.0",
|
|
44
44
|
"@semantic-release/changelog": "^6.0.3",
|
|
45
45
|
"@semantic-release/git": "^10.0.1",
|
|
46
46
|
"@types/react": "^18.2.43",
|
|
@@ -16,6 +16,7 @@ type props = {
|
|
|
16
16
|
dateGridEvent?: ReactComponent
|
|
17
17
|
monthGridEvent?: ReactComponent
|
|
18
18
|
monthAgendaEvent?: ReactComponent
|
|
19
|
+
eventModal?: ReactComponent
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
|
|
@@ -63,7 +64,12 @@ export function ScheduleXCalendar({ calendarApp, customComponents }: props) {
|
|
|
63
64
|
customComponents || {}
|
|
64
65
|
)) {
|
|
65
66
|
calendarApp._setCustomComponentFn(
|
|
66
|
-
componentName as
|
|
67
|
+
componentName as
|
|
68
|
+
| 'timeGridEvent'
|
|
69
|
+
| 'dateGridEvent'
|
|
70
|
+
| 'monthGridEvent'
|
|
71
|
+
| 'monthAgendaEvent'
|
|
72
|
+
| 'eventModal',
|
|
67
73
|
createCustomComponentFn(setComponent, Component)
|
|
68
74
|
)
|
|
69
75
|
}
|