@fullcalendar/theme-classic 7.0.0-beta.5

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/esm/index.js ADDED
@@ -0,0 +1,299 @@
1
+ import { createPlugin, joinClassNames } from '@fullcalendar/core';
2
+ import { createElement } from '@fullcalendar/core/preact';
3
+
4
+ // usually 11px font / 12px line-height
5
+ const xxsTextClass = "fc-classic-vQz";
6
+ // outline
7
+ const outlineWidthClass = "fc-classic-0Bj";
8
+ const outlineWidthFocusClass = "fc-classic-uqo";
9
+ const outlineOffsetClass = "fc-classic-3Xj";
10
+ const outlineInsetClass = "fc-classic-fFh";
11
+ const primaryOutlineColorClass = "fc-classic-zIi";
12
+ // neutral buttons
13
+ const strongSolidPressableClass = "fc-classic-BaR";
14
+ const mutedHoverClass = "fc-classic-4yP";
15
+ const mutedHoverPressableClass = `${mutedHoverClass} fc-classic-tCP fc-classic-8gz`;
16
+ const faintHoverClass = "fc-classic-Ubk";
17
+ const faintHoverPressableClass = `${faintHoverClass} fc-classic-OIx fc-classic-28F`;
18
+ const buttonIconClass = "fc-classic-XUJ";
19
+ // transparent resizer for mouse
20
+ const blockPointerResizerClass = "fc-classic-1EY fc-classic-pps fc-classic-vs6";
21
+ const rowPointerResizerClass = `${blockPointerResizerClass} fc-classic-AWB fc-classic-hza`;
22
+ const columnPointerResizerClass = `${blockPointerResizerClass} fc-classic-MaV fc-classic-uuA`;
23
+ // circle resizer for touch
24
+ const blockTouchResizerClass = "fc-classic-1EY fc-classic-3wQ fc-classic-wsy fc-classic-lNM fc-classic-Jk3 fc-classic-AAA";
25
+ const rowTouchResizerClass = `${blockTouchResizerClass} fc-classic-ERR fc-classic-Dq8`;
26
+ const columnTouchResizerClass = `${blockTouchResizerClass} fc-classic-1V6 fc-classic-F99`;
27
+ const getDayClass = (data) => joinClassNames("fc-classic-wsy", data.isMajor ? "fc-classic-C0k" : "fc-classic-C1x", data.isDisabled ? "fc-classic-iYS" :
28
+ data.isToday && "fc-classic-hbn");
29
+ const getSlotClass = (data) => joinClassNames("fc-classic-wsy fc-classic-C1x", data.isMinor && "fc-classic-TN2");
30
+ const dayRowCommonClasses = {
31
+ /* Day Row > List-Item Event
32
+ ----------------------------------------------------------------------------------------------- */
33
+ listItemEventClass: (data) => joinClassNames("fc-classic-Ika fc-classic-7A6 fc-classic-Fvv", data.isNarrow ? "fc-classic-148" : "fc-classic-cKZ", data.isSelected
34
+ ? joinClassNames("fc-classic-k3f", data.isDragging && "fc-classic-qNs")
35
+ : (data.isInteractive ? mutedHoverPressableClass : mutedHoverClass)),
36
+ listItemEventBeforeClass: (data) => joinClassNames("fc-classic-5JF", data.isNarrow ? "fc-classic-148" : "fc-classic-rVY"),
37
+ listItemEventInnerClass: (data) => joinClassNames("fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-z5u fc-classic-aTF", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
38
+ listItemEventTimeClass: "fc-classic-F1o fc-classic-TZ4 fc-classic-pKG fc-classic-1Zl",
39
+ listItemEventTitleClass: "fc-classic-F1o fc-classic-DIS fc-classic-TZ4 fc-classic-pKG fc-classic-OLq",
40
+ /* Day Row > Row Event
41
+ ----------------------------------------------------------------------------------------------- */
42
+ rowEventClass: (data) => joinClassNames(data.isStart && joinClassNames("fc-classic-kmj", data.isNarrow ? "fc-classic-qvL" : "fc-classic-Jzj"), data.isEnd && joinClassNames("fc-classic-Skl", data.isNarrow ? "fc-classic-9hC" : "fc-classic-3e1")),
43
+ rowEventInnerClass: "fc-classic-z5u fc-classic-aTF",
44
+ rowEventTimeClass: "fc-classic-F1o",
45
+ rowEventTitleClass: "fc-classic-F1o",
46
+ /* Day Row > More-Link
47
+ ----------------------------------------------------------------------------------------------- */
48
+ rowMoreLinkClass: (data) => joinClassNames("fc-classic-Ika fc-classic-wsy fc-classic-Fvv", data.isNarrow
49
+ ? "fc-classic-148 fc-classic-0Pr"
50
+ : "fc-classic-sI7 fc-classic-cKZ fc-classic-d0j", mutedHoverPressableClass),
51
+ rowMoreLinkInnerClass: (data) => joinClassNames("fc-classic-7A6", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
52
+ };
53
+ const expanderIconClass = "fc-classic-vnf fc-classic-mAY";
54
+ const continuationArrowClass = "fc-classic-rVY fc-classic-XM3 fc-classic-rif fc-classic-lMo";
55
+ var index = createPlugin({
56
+ name: "@fullcalendar/theme-classic",
57
+ optionDefaults: {
58
+ className: "fc-classic-yth fc-classic-R1q",
59
+ viewClass: "fc-classic-Jk3 fc-classic-wsy fc-classic-C1x",
60
+ /* Toolbar
61
+ --------------------------------------------------------------------------------------------- */
62
+ toolbarClass: (data) => joinClassNames("fc-classic-dl1 fc-classic-1sP fc-classic-dNl fc-classic-XpK fc-classic-N2M fc-classic-wwb", data.borderlessX && "fc-classic-Apf"),
63
+ toolbarSectionClass: "fc-classic-yi0 fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-wwb",
64
+ toolbarTitleClass: "fc-classic-AVD fc-classic-DIS",
65
+ buttonGroupClass: "fc-classic-dl1 fc-classic-1sP fc-classic-XpK",
66
+ buttonClass: (data) => joinClassNames("fc-classic-dl6 fc-classic-1Wx fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-sOR fc-classic-2e8 fc-classic-zmi fc-classic-jpf fc-classic-mtU fc-classic-BNb fc-classic-ETU fc-classic-vwH fc-classic-9yp fc-classic-U7B fc-classic-cfp fc-classic-Z9U", data.isIconOnly ? "fc-classic-Eaq" : "fc-classic-Apf", data.inGroup
67
+ ? "fc-classic-uk6 fc-classic-Tuc"
68
+ : "fc-classic-Ig4", data.isSelected
69
+ ? "fc-classic-FmQ fc-classic-nmg"
70
+ : "fc-classic-d0j fc-classic-GCI", data.isDisabled && "fc-classic-Q3Z fc-classic-3Lc"),
71
+ buttons: {
72
+ prev: {
73
+ iconContent: () => chevronLeft(`${buttonIconClass} fc-classic-asP`),
74
+ },
75
+ next: {
76
+ iconContent: () => chevronLeft(`${buttonIconClass} fc-classic-jmT fc-classic-jY6`),
77
+ },
78
+ prevYear: {
79
+ iconContent: () => chevronsLeft(`${buttonIconClass} fc-classic-asP`),
80
+ },
81
+ nextYear: {
82
+ iconContent: () => chevronsLeft(`${buttonIconClass} fc-classic-jmT fc-classic-jY6`),
83
+ },
84
+ },
85
+ /* Abstract Event
86
+ --------------------------------------------------------------------------------------------- */
87
+ eventColor: "var(--fc-classic-event)",
88
+ eventContrastColor: "var(--fc-classic-event-contrast)",
89
+ eventClass: (data) => joinClassNames(data.isSelected
90
+ ? joinClassNames(outlineWidthClass, data.isDragging ? "fc-classic-1kP" : "fc-classic-tkw")
91
+ : outlineWidthFocusClass, primaryOutlineColorClass),
92
+ /* Background Event
93
+ --------------------------------------------------------------------------------------------- */
94
+ backgroundEventColor: "var(--fc-classic-background-event)",
95
+ backgroundEventClass: "fc-classic-AhZ",
96
+ backgroundEventTitleClass: (data) => joinClassNames("fc-classic-lMo fc-classic-L1Y", data.isNarrow
97
+ ? `fc-classic-KUX ${xxsTextClass}`
98
+ : "fc-classic-XJa fc-classic-a3B"),
99
+ /* List-Item Event
100
+ --------------------------------------------------------------------------------------------- */
101
+ listItemEventClass: "fc-classic-XpK",
102
+ listItemEventBeforeClass: "fc-classic-lNM fc-classic-AAA",
103
+ /* Block Event
104
+ --------------------------------------------------------------------------------------------- */
105
+ blockEventClass: (data) => joinClassNames("fc-classic-bCs fc-classic-eYX fc-classic-d0j fc-classic-DO7 fc-classic-YjJ fc-classic-vwH", (data.isDragging && !data.isSelected) && "fc-classic-iTG", outlineOffsetClass),
106
+ blockEventInnerClass: "fc-classic-i9F fc-classic-cfp",
107
+ blockEventTimeClass: "fc-classic-TZ4 fc-classic-pKG fc-classic-1Zl",
108
+ blockEventTitleClass: "fc-classic-TZ4 fc-classic-pKG fc-classic-OLq",
109
+ /* Row Event
110
+ --------------------------------------------------------------------------------------------- */
111
+ rowEventClass: (data) => joinClassNames("fc-classic-Ika fc-classic-JIC", data.isStart && "fc-classic-3J4", data.isEnd && "fc-classic-USt"),
112
+ rowEventBeforeClass: (data) => joinClassNames(data.isStartResizable && joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-classic-11a")),
113
+ rowEventAfterClass: (data) => joinClassNames(data.isEndResizable && joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-classic-bEw")),
114
+ rowEventInnerClass: (data) => joinClassNames("fc-classic-dl1 fc-classic-1sP fc-classic-XpK", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
115
+ rowEventTimeClass: "fc-classic-DIS",
116
+ /* Column Event
117
+ --------------------------------------------------------------------------------------------- */
118
+ columnEventClass: (data) => joinClassNames("fc-classic-1Wx fc-classic-A3h fc-classic-yKG", data.isStart && "fc-classic-ku3 fc-classic-Z7Q", data.isEnd && "fc-classic-Ika fc-classic-zi1 fc-classic-2qh"),
119
+ columnEventBeforeClass: (data) => joinClassNames(data.isStartResizable && joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-classic-YDC")),
120
+ columnEventAfterClass: (data) => joinClassNames(data.isEndResizable && joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-classic-fJL")),
121
+ columnEventInnerClass: (data) => joinClassNames("fc-classic-dl1", data.isShort
122
+ ? "fc-classic-KUX fc-classic-1sP fc-classic-XpK fc-classic-NWN"
123
+ : "fc-classic-oQ2 fc-classic-sgX"),
124
+ columnEventTimeClass: (data) => joinClassNames(!data.isShort && "fc-classic-166", xxsTextClass),
125
+ columnEventTitleClass: (data) => joinClassNames(!data.isShort && "fc-classic-2rx", (data.isShort || data.isNarrow) ? xxsTextClass : "fc-classic-a3B"),
126
+ /* More-Link
127
+ --------------------------------------------------------------------------------------------- */
128
+ moreLinkClass: `${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
129
+ moreLinkInnerClass: "fc-classic-TZ4 fc-classic-pKG",
130
+ columnMoreLinkClass: `fc-classic-Ika fc-classic-Fvv fc-classic-wsy fc-classic-d0j fc-classic-4MR ${strongSolidPressableClass} fc-classic-vwH fc-classic-A3h fc-classic-yKG ${outlineOffsetClass}`,
131
+ columnMoreLinkInnerClass: (data) => joinClassNames("fc-classic-KUX", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
132
+ /* Day Header
133
+ --------------------------------------------------------------------------------------------- */
134
+ dayHeaderAlign: (data) => data.inPopover ? "start" : "center",
135
+ dayHeaderClass: (data) => joinClassNames("fc-classic-E9P", data.isDisabled && "fc-classic-iYS", data.inPopover
136
+ ? "fc-classic-zi1 fc-classic-C1x fc-classic-k3f"
137
+ : joinClassNames("fc-classic-wsy", data.isMajor ? "fc-classic-C0k" : "fc-classic-C1x")),
138
+ dayHeaderInnerClass: (data) => joinClassNames("fc-classic-aCI fc-classic-2rx fc-classic-dl1 fc-classic-sgX", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
139
+ dayHeaderDividerClass: "fc-classic-zi1 fc-classic-C1x",
140
+ /* Day Cell
141
+ --------------------------------------------------------------------------------------------- */
142
+ dayCellClass: getDayClass,
143
+ dayCellTopClass: (data) => joinClassNames(data.isNarrow ? "fc-classic-toR" : "fc-classic-84e", "fc-classic-dl1 fc-classic-1sP fc-classic-LMv"),
144
+ dayCellTopInnerClass: (data) => joinClassNames("fc-classic-aCI fc-classic-TZ4", data.isNarrow
145
+ ? `fc-classic-2rx ${xxsTextClass}`
146
+ : "fc-classic-Jhn fc-classic-9yp", data.isOther && "fc-classic-taq", data.monthText && "fc-classic-DIS"),
147
+ dayCellInnerClass: (data) => joinClassNames(data.inPopover && "fc-classic-3N5"),
148
+ /* Popover
149
+ --------------------------------------------------------------------------------------------- */
150
+ popoverClass: "fc-classic-Jk3 fc-classic-wsy fc-classic-C1x fc-classic-tkw fc-classic-aNc fc-classic-R1q",
151
+ popoverCloseClass: `fc-classic-bCs fc-classic-1EY fc-classic-2ik fc-classic-2w8 ${outlineWidthFocusClass} ${primaryOutlineColorClass} fc-classic-Z9U`,
152
+ popoverCloseContent: () => x("fc-classic-XUJ fc-classic-9yp fc-classic-mAY"),
153
+ /* Lane
154
+ --------------------------------------------------------------------------------------------- */
155
+ dayLaneClass: getDayClass,
156
+ dayLaneInnerClass: (data) => (data.isStack
157
+ ? "fc-classic-gMS"
158
+ : data.isNarrow ? "fc-classic-148" : "fc-classic-Jzj fc-classic-B3G"),
159
+ slotLaneClass: getSlotClass,
160
+ /* List Day
161
+ --------------------------------------------------------------------------------------------- */
162
+ listDayHeaderClass: "fc-classic-zi1 fc-classic-C1x fc-classic-SDU fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-N2M",
163
+ listDayHeaderInnerClass: "fc-classic-Apf fc-classic-dl6 fc-classic-9yp fc-classic-DIS",
164
+ /* Single Month (in Multi-Month)
165
+ --------------------------------------------------------------------------------------------- */
166
+ singleMonthClass: "fc-classic-jD5",
167
+ singleMonthHeaderClass: (data) => joinClassNames(data.isSticky && "fc-classic-zi1 fc-classic-C1x fc-classic-Jk3", data.colCount > 1 ? "fc-classic-cM0" : "fc-classic-dl6", "fc-classic-XpK"),
168
+ singleMonthHeaderInnerClass: "fc-classic-1Po fc-classic-DIS",
169
+ /* Misc Table
170
+ --------------------------------------------------------------------------------------------- */
171
+ tableHeaderClass: (data) => joinClassNames(data.isSticky && "fc-classic-Jk3"),
172
+ fillerClass: "fc-classic-wsy fc-classic-C1x fc-classic-lMo",
173
+ dayHeaderRowClass: "fc-classic-wsy fc-classic-C1x",
174
+ dayRowClass: "fc-classic-wsy fc-classic-C1x",
175
+ slotHeaderRowClass: "fc-classic-wsy fc-classic-C1x",
176
+ slotHeaderClass: getSlotClass,
177
+ /* Misc Content
178
+ --------------------------------------------------------------------------------------------- */
179
+ navLinkClass: `fc-classic-Eu0 ${outlineWidthFocusClass} ${outlineInsetClass} ${primaryOutlineColorClass}`,
180
+ inlineWeekNumberClass: (data) => joinClassNames("fc-classic-1EY fc-classic-n9G fc-classic-rbS fc-classic-C2g fc-classic-KUX fc-classic-HXA fc-classic-m9h fc-classic-k3f", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
181
+ nonBusinessClass: "fc-classic-iYS",
182
+ highlightClass: "fc-classic-hLU",
183
+ /* Resource Day Header
184
+ --------------------------------------------------------------------------------------------- */
185
+ resourceDayHeaderAlign: "center",
186
+ resourceDayHeaderClass: (data) => joinClassNames("fc-classic-wsy", data.isMajor ? "fc-classic-C0k" : "fc-classic-C1x"),
187
+ resourceDayHeaderInnerClass: (data) => joinClassNames("fc-classic-aCI fc-classic-2rx fc-classic-dl1 fc-classic-sgX", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
188
+ /* Resource Data Grid
189
+ --------------------------------------------------------------------------------------------- */
190
+ resourceColumnHeaderClass: "fc-classic-wsy fc-classic-C1x fc-classic-E9P",
191
+ resourceColumnHeaderInnerClass: "fc-classic-3N5 fc-classic-9yp",
192
+ resourceColumnResizerClass: "fc-classic-1EY fc-classic-AWB fc-classic-4Tv fc-classic-dnf",
193
+ resourceGroupHeaderClass: "fc-classic-wsy fc-classic-C1x fc-classic-k3f",
194
+ resourceGroupHeaderInnerClass: "fc-classic-3N5 fc-classic-9yp",
195
+ resourceCellClass: "fc-classic-wsy fc-classic-C1x",
196
+ resourceCellInnerClass: "fc-classic-3N5 fc-classic-9yp",
197
+ resourceIndentClass: "fc-classic-Mde fc-classic-kp0 fc-classic-E9P",
198
+ resourceExpanderClass: `fc-classic-bCs ${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
199
+ resourceExpanderContent: (data) => data.isExpanded
200
+ ? minusSquare(expanderIconClass)
201
+ : plusSquare(expanderIconClass),
202
+ resourceHeaderRowClass: "fc-classic-wsy fc-classic-C1x",
203
+ resourceRowClass: "fc-classic-wsy fc-classic-C1x",
204
+ resourceColumnDividerClass: "fc-classic-1Wx fc-classic-C1x fc-classic-a7i fc-classic-k3f",
205
+ /* Timeline Lane
206
+ --------------------------------------------------------------------------------------------- */
207
+ resourceGroupLaneClass: "fc-classic-wsy fc-classic-C1x fc-classic-k3f",
208
+ resourceLaneClass: "fc-classic-wsy fc-classic-C1x",
209
+ resourceLaneBottomClass: (data) => data.options.eventOverlap && "fc-classic-zrJ",
210
+ timelineBottomClass: "fc-classic-zrJ",
211
+ },
212
+ views: {
213
+ dayGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayCellBottomClass: "fc-classic-toR" }),
214
+ multiMonth: Object.assign(Object.assign({}, dayRowCommonClasses), { dayCellBottomClass: "fc-classic-toR", tableClass: "fc-classic-wsy fc-classic-C1x" }),
215
+ timeGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayCellBottomClass: "fc-classic-mhE",
216
+ /* TimeGrid > Week Number Header
217
+ ------------------------------------------------------------------------------------------- */
218
+ weekNumberHeaderClass: "fc-classic-XpK fc-classic-LMv", weekNumberHeaderInnerClass: (data) => joinClassNames("fc-classic-aCI fc-classic-2rx", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
219
+ /* TimeGrid > All-Day Header
220
+ ------------------------------------------------------------------------------------------- */
221
+ allDayHeaderClass: "fc-classic-XpK fc-classic-LMv", allDayHeaderInnerClass: (data) => joinClassNames("fc-classic-aCI fc-classic-dl6 fc-classic-jm6 fc-classic-2HE", data.isNarrow ? xxsTextClass : "fc-classic-9yp"), allDayDividerClass: "fc-classic-JIC fc-classic-C1x fc-classic-8ub fc-classic-k3f",
222
+ /* TimeGrid > Slot Header
223
+ ------------------------------------------------------------------------------------------- */
224
+ slotHeaderClass: "fc-classic-LMv", slotHeaderInnerClass: (data) => joinClassNames("fc-classic-aCI fc-classic-2rx", data.isNarrow ? xxsTextClass : "fc-classic-9yp"), slotHeaderDividerClass: "fc-classic-USt fc-classic-C1x",
225
+ /* TimeGrid > Now-Indicator
226
+ ------------------------------------------------------------------------------------------- */
227
+ nowIndicatorHeaderClass: "fc-classic-rbS fc-classic-a10 fc-classic-XM3 fc-classic-rif fc-classic-jIH fc-classic-0qY", nowIndicatorLineClass: "fc-classic-ku3 fc-classic-sYT" }),
228
+ list: {
229
+ /* List-View > List-Item Event
230
+ ------------------------------------------------------------------------------------------- */
231
+ listItemEventClass: (data) => joinClassNames("fc-classic-bCs fc-classic-zi1 fc-classic-C1x fc-classic-Apf fc-classic-dl6 fc-classic-wwb", data.isInteractive
232
+ ? joinClassNames(faintHoverPressableClass, outlineInsetClass)
233
+ : faintHoverClass),
234
+ listItemEventBeforeClass: "fc-classic-yDA",
235
+ listItemEventInnerClass: "fc-classic-eF2",
236
+ listItemEventTimeClass: "fc-classic-88I fc-classic-yi0 fc-classic-roZ fc-classic-kMV fc-classic-TZ4 fc-classic-pKG fc-classic-IPx fc-classic-9yp",
237
+ listItemEventTitleClass: (data) => joinClassNames("fc-classic-1El fc-classic-2KU fc-classic-TZ4 fc-classic-pKG fc-classic-9yp", data.event.url && "fc-classic-Ogp"),
238
+ /* No-Events Screen
239
+ ------------------------------------------------------------------------------------------- */
240
+ noEventsClass: "fc-classic-k3f fc-classic-dl1 fc-classic-sgX fc-classic-XpK fc-classic-E9P",
241
+ noEventsInnerClass: "sticky fc-classic-jGI fc-classic-P9h",
242
+ },
243
+ timeline: {
244
+ /* Timeline > Row Event
245
+ ------------------------------------------------------------------------------------------- */
246
+ rowEventClass: (data) => joinClassNames(data.isEnd && "fc-classic-9hC", "fc-classic-XpK"),
247
+ rowEventBeforeClass: (data) => (!data.isStartResizable && `${continuationArrowClass} fc-classic-Bda fc-classic-5JV`),
248
+ rowEventAfterClass: (data) => (!data.isEndResizable && `${continuationArrowClass} fc-classic-hhi fc-classic-LaM`),
249
+ rowEventInnerClass: (data) => (data.options.eventOverlap
250
+ ? "fc-classic-2rx"
251
+ : "fc-classic-End"),
252
+ rowEventTimeClass: "fc-classic-oQ2",
253
+ rowEventTitleClass: "fc-classic-oQ2",
254
+ /* Timeline > More-Link
255
+ ------------------------------------------------------------------------------------------- */
256
+ rowMoreLinkClass: `fc-classic-9hC fc-classic-Ika fc-classic-wsy fc-classic-d0j fc-classic-4MR ${strongSolidPressableClass} fc-classic-vwH`,
257
+ rowMoreLinkInnerClass: "fc-classic-KUX fc-classic-a3B",
258
+ /* Timeline > Slot Header
259
+ ------------------------------------------------------------------------------------------- */
260
+ slotHeaderAlign: (data) => data.isTime ? "start" : "center",
261
+ slotHeaderClass: "fc-classic-E9P",
262
+ slotHeaderInnerClass: (data) => joinClassNames("fc-classic-3N5 fc-classic-9yp", data.hasNavLink && "fc-classic-Eu0"),
263
+ slotHeaderDividerClass: "fc-classic-zi1 fc-classic-C1x",
264
+ /* Timeline > Now-Indicator
265
+ ------------------------------------------------------------------------------------------- */
266
+ nowIndicatorHeaderClass: "fc-classic-n9G fc-classic-J04 fc-classic-ybF fc-classic-Pqk fc-classic-bLA fc-classic-sYT",
267
+ nowIndicatorLineClass: "fc-classic-3J4 fc-classic-sYT",
268
+ },
269
+ }
270
+ });
271
+ /* SVGs
272
+ ------------------------------------------------------------------------------------------------- */
273
+ function chevronLeft(className) {
274
+ return createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
275
+ createElement("polyline", { points: "15 18 9 12 15 6" }));
276
+ }
277
+ function chevronsLeft(className) {
278
+ return createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
279
+ createElement("polyline", { points: "11 17 6 12 11 7" }),
280
+ createElement("polyline", { points: "18 17 13 12 18 7" }));
281
+ }
282
+ function x(className) {
283
+ return createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
284
+ createElement("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
285
+ createElement("line", { x1: "6", y1: "6", x2: "18", y2: "18" }));
286
+ }
287
+ function plusSquare(className) {
288
+ return createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
289
+ createElement("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
290
+ createElement("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
291
+ createElement("line", { x1: "8", y1: "12", x2: "16", y2: "12" }));
292
+ }
293
+ function minusSquare(className) {
294
+ return createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
295
+ createElement("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
296
+ createElement("line", { x1: "8", y1: "12", x2: "16", y2: "12" }));
297
+ }
298
+
299
+ export { index as default };
package/global.js ADDED
@@ -0,0 +1,312 @@
1
+ /*!
2
+ v7.0.0-beta.5
3
+ Docs & License: https://fullcalendar.io
4
+ (c) 2025 Adam Shaw
5
+ */
6
+ FullCalendar.ThemeClassic = (function (exports, core, preact) {
7
+ 'use strict';
8
+
9
+ // usually 11px font / 12px line-height
10
+ const xxsTextClass = "fc-classic-vQz";
11
+ // outline
12
+ const outlineWidthClass = "fc-classic-0Bj";
13
+ const outlineWidthFocusClass = "fc-classic-uqo";
14
+ const outlineOffsetClass = "fc-classic-3Xj";
15
+ const outlineInsetClass = "fc-classic-fFh";
16
+ const primaryOutlineColorClass = "fc-classic-zIi";
17
+ // neutral buttons
18
+ const strongSolidPressableClass = "fc-classic-BaR";
19
+ const mutedHoverClass = "fc-classic-4yP";
20
+ const mutedHoverPressableClass = `${mutedHoverClass} fc-classic-tCP fc-classic-8gz`;
21
+ const faintHoverClass = "fc-classic-Ubk";
22
+ const faintHoverPressableClass = `${faintHoverClass} fc-classic-OIx fc-classic-28F`;
23
+ const buttonIconClass = "fc-classic-XUJ";
24
+ // transparent resizer for mouse
25
+ const blockPointerResizerClass = "fc-classic-1EY fc-classic-pps fc-classic-vs6";
26
+ const rowPointerResizerClass = `${blockPointerResizerClass} fc-classic-AWB fc-classic-hza`;
27
+ const columnPointerResizerClass = `${blockPointerResizerClass} fc-classic-MaV fc-classic-uuA`;
28
+ // circle resizer for touch
29
+ const blockTouchResizerClass = "fc-classic-1EY fc-classic-3wQ fc-classic-wsy fc-classic-lNM fc-classic-Jk3 fc-classic-AAA";
30
+ const rowTouchResizerClass = `${blockTouchResizerClass} fc-classic-ERR fc-classic-Dq8`;
31
+ const columnTouchResizerClass = `${blockTouchResizerClass} fc-classic-1V6 fc-classic-F99`;
32
+ const getDayClass = (data) => core.joinClassNames("fc-classic-wsy", data.isMajor ? "fc-classic-C0k" : "fc-classic-C1x", data.isDisabled ? "fc-classic-iYS" :
33
+ data.isToday && "fc-classic-hbn");
34
+ const getSlotClass = (data) => core.joinClassNames("fc-classic-wsy fc-classic-C1x", data.isMinor && "fc-classic-TN2");
35
+ const dayRowCommonClasses = {
36
+ /* Day Row > List-Item Event
37
+ ----------------------------------------------------------------------------------------------- */
38
+ listItemEventClass: (data) => core.joinClassNames("fc-classic-Ika fc-classic-7A6 fc-classic-Fvv", data.isNarrow ? "fc-classic-148" : "fc-classic-cKZ", data.isSelected
39
+ ? core.joinClassNames("fc-classic-k3f", data.isDragging && "fc-classic-qNs")
40
+ : (data.isInteractive ? mutedHoverPressableClass : mutedHoverClass)),
41
+ listItemEventBeforeClass: (data) => core.joinClassNames("fc-classic-5JF", data.isNarrow ? "fc-classic-148" : "fc-classic-rVY"),
42
+ listItemEventInnerClass: (data) => core.joinClassNames("fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-z5u fc-classic-aTF", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
43
+ listItemEventTimeClass: "fc-classic-F1o fc-classic-TZ4 fc-classic-pKG fc-classic-1Zl",
44
+ listItemEventTitleClass: "fc-classic-F1o fc-classic-DIS fc-classic-TZ4 fc-classic-pKG fc-classic-OLq",
45
+ /* Day Row > Row Event
46
+ ----------------------------------------------------------------------------------------------- */
47
+ rowEventClass: (data) => core.joinClassNames(data.isStart && core.joinClassNames("fc-classic-kmj", data.isNarrow ? "fc-classic-qvL" : "fc-classic-Jzj"), data.isEnd && core.joinClassNames("fc-classic-Skl", data.isNarrow ? "fc-classic-9hC" : "fc-classic-3e1")),
48
+ rowEventInnerClass: "fc-classic-z5u fc-classic-aTF",
49
+ rowEventTimeClass: "fc-classic-F1o",
50
+ rowEventTitleClass: "fc-classic-F1o",
51
+ /* Day Row > More-Link
52
+ ----------------------------------------------------------------------------------------------- */
53
+ rowMoreLinkClass: (data) => core.joinClassNames("fc-classic-Ika fc-classic-wsy fc-classic-Fvv", data.isNarrow
54
+ ? "fc-classic-148 fc-classic-0Pr"
55
+ : "fc-classic-sI7 fc-classic-cKZ fc-classic-d0j", mutedHoverPressableClass),
56
+ rowMoreLinkInnerClass: (data) => core.joinClassNames("fc-classic-7A6", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
57
+ };
58
+ const expanderIconClass = "fc-classic-vnf fc-classic-mAY";
59
+ const continuationArrowClass = "fc-classic-rVY fc-classic-XM3 fc-classic-rif fc-classic-lMo";
60
+ var plugin = core.createPlugin({
61
+ name: "@fullcalendar/theme-classic",
62
+ optionDefaults: {
63
+ className: "fc-classic-yth fc-classic-R1q",
64
+ viewClass: "fc-classic-Jk3 fc-classic-wsy fc-classic-C1x",
65
+ /* Toolbar
66
+ --------------------------------------------------------------------------------------------- */
67
+ toolbarClass: (data) => core.joinClassNames("fc-classic-dl1 fc-classic-1sP fc-classic-dNl fc-classic-XpK fc-classic-N2M fc-classic-wwb", data.borderlessX && "fc-classic-Apf"),
68
+ toolbarSectionClass: "fc-classic-yi0 fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-wwb",
69
+ toolbarTitleClass: "fc-classic-AVD fc-classic-DIS",
70
+ buttonGroupClass: "fc-classic-dl1 fc-classic-1sP fc-classic-XpK",
71
+ buttonClass: (data) => core.joinClassNames("fc-classic-dl6 fc-classic-1Wx fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-sOR fc-classic-2e8 fc-classic-zmi fc-classic-jpf fc-classic-mtU fc-classic-BNb fc-classic-ETU fc-classic-vwH fc-classic-9yp fc-classic-U7B fc-classic-cfp fc-classic-Z9U", data.isIconOnly ? "fc-classic-Eaq" : "fc-classic-Apf", data.inGroup
72
+ ? "fc-classic-uk6 fc-classic-Tuc"
73
+ : "fc-classic-Ig4", data.isSelected
74
+ ? "fc-classic-FmQ fc-classic-nmg"
75
+ : "fc-classic-d0j fc-classic-GCI", data.isDisabled && "fc-classic-Q3Z fc-classic-3Lc"),
76
+ buttons: {
77
+ prev: {
78
+ iconContent: () => chevronLeft(`${buttonIconClass} fc-classic-asP`),
79
+ },
80
+ next: {
81
+ iconContent: () => chevronLeft(`${buttonIconClass} fc-classic-jmT fc-classic-jY6`),
82
+ },
83
+ prevYear: {
84
+ iconContent: () => chevronsLeft(`${buttonIconClass} fc-classic-asP`),
85
+ },
86
+ nextYear: {
87
+ iconContent: () => chevronsLeft(`${buttonIconClass} fc-classic-jmT fc-classic-jY6`),
88
+ },
89
+ },
90
+ /* Abstract Event
91
+ --------------------------------------------------------------------------------------------- */
92
+ eventColor: "var(--fc-classic-event)",
93
+ eventContrastColor: "var(--fc-classic-event-contrast)",
94
+ eventClass: (data) => core.joinClassNames(data.isSelected
95
+ ? core.joinClassNames(outlineWidthClass, data.isDragging ? "fc-classic-1kP" : "fc-classic-tkw")
96
+ : outlineWidthFocusClass, primaryOutlineColorClass),
97
+ /* Background Event
98
+ --------------------------------------------------------------------------------------------- */
99
+ backgroundEventColor: "var(--fc-classic-background-event)",
100
+ backgroundEventClass: "fc-classic-AhZ",
101
+ backgroundEventTitleClass: (data) => core.joinClassNames("fc-classic-lMo fc-classic-L1Y", data.isNarrow
102
+ ? `fc-classic-KUX ${xxsTextClass}`
103
+ : "fc-classic-XJa fc-classic-a3B"),
104
+ /* List-Item Event
105
+ --------------------------------------------------------------------------------------------- */
106
+ listItemEventClass: "fc-classic-XpK",
107
+ listItemEventBeforeClass: "fc-classic-lNM fc-classic-AAA",
108
+ /* Block Event
109
+ --------------------------------------------------------------------------------------------- */
110
+ blockEventClass: (data) => core.joinClassNames("fc-classic-bCs fc-classic-eYX fc-classic-d0j fc-classic-DO7 fc-classic-YjJ fc-classic-vwH", (data.isDragging && !data.isSelected) && "fc-classic-iTG", outlineOffsetClass),
111
+ blockEventInnerClass: "fc-classic-i9F fc-classic-cfp",
112
+ blockEventTimeClass: "fc-classic-TZ4 fc-classic-pKG fc-classic-1Zl",
113
+ blockEventTitleClass: "fc-classic-TZ4 fc-classic-pKG fc-classic-OLq",
114
+ /* Row Event
115
+ --------------------------------------------------------------------------------------------- */
116
+ rowEventClass: (data) => core.joinClassNames("fc-classic-Ika fc-classic-JIC", data.isStart && "fc-classic-3J4", data.isEnd && "fc-classic-USt"),
117
+ rowEventBeforeClass: (data) => core.joinClassNames(data.isStartResizable && core.joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-classic-11a")),
118
+ rowEventAfterClass: (data) => core.joinClassNames(data.isEndResizable && core.joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-classic-bEw")),
119
+ rowEventInnerClass: (data) => core.joinClassNames("fc-classic-dl1 fc-classic-1sP fc-classic-XpK", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
120
+ rowEventTimeClass: "fc-classic-DIS",
121
+ /* Column Event
122
+ --------------------------------------------------------------------------------------------- */
123
+ columnEventClass: (data) => core.joinClassNames("fc-classic-1Wx fc-classic-A3h fc-classic-yKG", data.isStart && "fc-classic-ku3 fc-classic-Z7Q", data.isEnd && "fc-classic-Ika fc-classic-zi1 fc-classic-2qh"),
124
+ columnEventBeforeClass: (data) => core.joinClassNames(data.isStartResizable && core.joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-classic-YDC")),
125
+ columnEventAfterClass: (data) => core.joinClassNames(data.isEndResizable && core.joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-classic-fJL")),
126
+ columnEventInnerClass: (data) => core.joinClassNames("fc-classic-dl1", data.isShort
127
+ ? "fc-classic-KUX fc-classic-1sP fc-classic-XpK fc-classic-NWN"
128
+ : "fc-classic-oQ2 fc-classic-sgX"),
129
+ columnEventTimeClass: (data) => core.joinClassNames(!data.isShort && "fc-classic-166", xxsTextClass),
130
+ columnEventTitleClass: (data) => core.joinClassNames(!data.isShort && "fc-classic-2rx", (data.isShort || data.isNarrow) ? xxsTextClass : "fc-classic-a3B"),
131
+ /* More-Link
132
+ --------------------------------------------------------------------------------------------- */
133
+ moreLinkClass: `${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
134
+ moreLinkInnerClass: "fc-classic-TZ4 fc-classic-pKG",
135
+ columnMoreLinkClass: `fc-classic-Ika fc-classic-Fvv fc-classic-wsy fc-classic-d0j fc-classic-4MR ${strongSolidPressableClass} fc-classic-vwH fc-classic-A3h fc-classic-yKG ${outlineOffsetClass}`,
136
+ columnMoreLinkInnerClass: (data) => core.joinClassNames("fc-classic-KUX", data.isNarrow ? xxsTextClass : "fc-classic-a3B"),
137
+ /* Day Header
138
+ --------------------------------------------------------------------------------------------- */
139
+ dayHeaderAlign: (data) => data.inPopover ? "start" : "center",
140
+ dayHeaderClass: (data) => core.joinClassNames("fc-classic-E9P", data.isDisabled && "fc-classic-iYS", data.inPopover
141
+ ? "fc-classic-zi1 fc-classic-C1x fc-classic-k3f"
142
+ : core.joinClassNames("fc-classic-wsy", data.isMajor ? "fc-classic-C0k" : "fc-classic-C1x")),
143
+ dayHeaderInnerClass: (data) => core.joinClassNames("fc-classic-aCI fc-classic-2rx fc-classic-dl1 fc-classic-sgX", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
144
+ dayHeaderDividerClass: "fc-classic-zi1 fc-classic-C1x",
145
+ /* Day Cell
146
+ --------------------------------------------------------------------------------------------- */
147
+ dayCellClass: getDayClass,
148
+ dayCellTopClass: (data) => core.joinClassNames(data.isNarrow ? "fc-classic-toR" : "fc-classic-84e", "fc-classic-dl1 fc-classic-1sP fc-classic-LMv"),
149
+ dayCellTopInnerClass: (data) => core.joinClassNames("fc-classic-aCI fc-classic-TZ4", data.isNarrow
150
+ ? `fc-classic-2rx ${xxsTextClass}`
151
+ : "fc-classic-Jhn fc-classic-9yp", data.isOther && "fc-classic-taq", data.monthText && "fc-classic-DIS"),
152
+ dayCellInnerClass: (data) => core.joinClassNames(data.inPopover && "fc-classic-3N5"),
153
+ /* Popover
154
+ --------------------------------------------------------------------------------------------- */
155
+ popoverClass: "fc-classic-Jk3 fc-classic-wsy fc-classic-C1x fc-classic-tkw fc-classic-aNc fc-classic-R1q",
156
+ popoverCloseClass: `fc-classic-bCs fc-classic-1EY fc-classic-2ik fc-classic-2w8 ${outlineWidthFocusClass} ${primaryOutlineColorClass} fc-classic-Z9U`,
157
+ popoverCloseContent: () => x("fc-classic-XUJ fc-classic-9yp fc-classic-mAY"),
158
+ /* Lane
159
+ --------------------------------------------------------------------------------------------- */
160
+ dayLaneClass: getDayClass,
161
+ dayLaneInnerClass: (data) => (data.isStack
162
+ ? "fc-classic-gMS"
163
+ : data.isNarrow ? "fc-classic-148" : "fc-classic-Jzj fc-classic-B3G"),
164
+ slotLaneClass: getSlotClass,
165
+ /* List Day
166
+ --------------------------------------------------------------------------------------------- */
167
+ listDayHeaderClass: "fc-classic-zi1 fc-classic-C1x fc-classic-SDU fc-classic-dl1 fc-classic-1sP fc-classic-XpK fc-classic-N2M",
168
+ listDayHeaderInnerClass: "fc-classic-Apf fc-classic-dl6 fc-classic-9yp fc-classic-DIS",
169
+ /* Single Month (in Multi-Month)
170
+ --------------------------------------------------------------------------------------------- */
171
+ singleMonthClass: "fc-classic-jD5",
172
+ singleMonthHeaderClass: (data) => core.joinClassNames(data.isSticky && "fc-classic-zi1 fc-classic-C1x fc-classic-Jk3", data.colCount > 1 ? "fc-classic-cM0" : "fc-classic-dl6", "fc-classic-XpK"),
173
+ singleMonthHeaderInnerClass: "fc-classic-1Po fc-classic-DIS",
174
+ /* Misc Table
175
+ --------------------------------------------------------------------------------------------- */
176
+ tableHeaderClass: (data) => core.joinClassNames(data.isSticky && "fc-classic-Jk3"),
177
+ fillerClass: "fc-classic-wsy fc-classic-C1x fc-classic-lMo",
178
+ dayHeaderRowClass: "fc-classic-wsy fc-classic-C1x",
179
+ dayRowClass: "fc-classic-wsy fc-classic-C1x",
180
+ slotHeaderRowClass: "fc-classic-wsy fc-classic-C1x",
181
+ slotHeaderClass: getSlotClass,
182
+ /* Misc Content
183
+ --------------------------------------------------------------------------------------------- */
184
+ navLinkClass: `fc-classic-Eu0 ${outlineWidthFocusClass} ${outlineInsetClass} ${primaryOutlineColorClass}`,
185
+ inlineWeekNumberClass: (data) => core.joinClassNames("fc-classic-1EY fc-classic-n9G fc-classic-rbS fc-classic-C2g fc-classic-KUX fc-classic-HXA fc-classic-m9h fc-classic-k3f", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
186
+ nonBusinessClass: "fc-classic-iYS",
187
+ highlightClass: "fc-classic-hLU",
188
+ /* Resource Day Header
189
+ --------------------------------------------------------------------------------------------- */
190
+ resourceDayHeaderAlign: "center",
191
+ resourceDayHeaderClass: (data) => core.joinClassNames("fc-classic-wsy", data.isMajor ? "fc-classic-C0k" : "fc-classic-C1x"),
192
+ resourceDayHeaderInnerClass: (data) => core.joinClassNames("fc-classic-aCI fc-classic-2rx fc-classic-dl1 fc-classic-sgX", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
193
+ /* Resource Data Grid
194
+ --------------------------------------------------------------------------------------------- */
195
+ resourceColumnHeaderClass: "fc-classic-wsy fc-classic-C1x fc-classic-E9P",
196
+ resourceColumnHeaderInnerClass: "fc-classic-3N5 fc-classic-9yp",
197
+ resourceColumnResizerClass: "fc-classic-1EY fc-classic-AWB fc-classic-4Tv fc-classic-dnf",
198
+ resourceGroupHeaderClass: "fc-classic-wsy fc-classic-C1x fc-classic-k3f",
199
+ resourceGroupHeaderInnerClass: "fc-classic-3N5 fc-classic-9yp",
200
+ resourceCellClass: "fc-classic-wsy fc-classic-C1x",
201
+ resourceCellInnerClass: "fc-classic-3N5 fc-classic-9yp",
202
+ resourceIndentClass: "fc-classic-Mde fc-classic-kp0 fc-classic-E9P",
203
+ resourceExpanderClass: `fc-classic-bCs ${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
204
+ resourceExpanderContent: (data) => data.isExpanded
205
+ ? minusSquare(expanderIconClass)
206
+ : plusSquare(expanderIconClass),
207
+ resourceHeaderRowClass: "fc-classic-wsy fc-classic-C1x",
208
+ resourceRowClass: "fc-classic-wsy fc-classic-C1x",
209
+ resourceColumnDividerClass: "fc-classic-1Wx fc-classic-C1x fc-classic-a7i fc-classic-k3f",
210
+ /* Timeline Lane
211
+ --------------------------------------------------------------------------------------------- */
212
+ resourceGroupLaneClass: "fc-classic-wsy fc-classic-C1x fc-classic-k3f",
213
+ resourceLaneClass: "fc-classic-wsy fc-classic-C1x",
214
+ resourceLaneBottomClass: (data) => data.options.eventOverlap && "fc-classic-zrJ",
215
+ timelineBottomClass: "fc-classic-zrJ",
216
+ },
217
+ views: {
218
+ dayGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayCellBottomClass: "fc-classic-toR" }),
219
+ multiMonth: Object.assign(Object.assign({}, dayRowCommonClasses), { dayCellBottomClass: "fc-classic-toR", tableClass: "fc-classic-wsy fc-classic-C1x" }),
220
+ timeGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayCellBottomClass: "fc-classic-mhE",
221
+ /* TimeGrid > Week Number Header
222
+ ------------------------------------------------------------------------------------------- */
223
+ weekNumberHeaderClass: "fc-classic-XpK fc-classic-LMv", weekNumberHeaderInnerClass: (data) => core.joinClassNames("fc-classic-aCI fc-classic-2rx", data.isNarrow ? xxsTextClass : "fc-classic-9yp"),
224
+ /* TimeGrid > All-Day Header
225
+ ------------------------------------------------------------------------------------------- */
226
+ allDayHeaderClass: "fc-classic-XpK fc-classic-LMv", allDayHeaderInnerClass: (data) => core.joinClassNames("fc-classic-aCI fc-classic-dl6 fc-classic-jm6 fc-classic-2HE", data.isNarrow ? xxsTextClass : "fc-classic-9yp"), allDayDividerClass: "fc-classic-JIC fc-classic-C1x fc-classic-8ub fc-classic-k3f",
227
+ /* TimeGrid > Slot Header
228
+ ------------------------------------------------------------------------------------------- */
229
+ slotHeaderClass: "fc-classic-LMv", slotHeaderInnerClass: (data) => core.joinClassNames("fc-classic-aCI fc-classic-2rx", data.isNarrow ? xxsTextClass : "fc-classic-9yp"), slotHeaderDividerClass: "fc-classic-USt fc-classic-C1x",
230
+ /* TimeGrid > Now-Indicator
231
+ ------------------------------------------------------------------------------------------- */
232
+ nowIndicatorHeaderClass: "fc-classic-rbS fc-classic-a10 fc-classic-XM3 fc-classic-rif fc-classic-jIH fc-classic-0qY", nowIndicatorLineClass: "fc-classic-ku3 fc-classic-sYT" }),
233
+ list: {
234
+ /* List-View > List-Item Event
235
+ ------------------------------------------------------------------------------------------- */
236
+ listItemEventClass: (data) => core.joinClassNames("fc-classic-bCs fc-classic-zi1 fc-classic-C1x fc-classic-Apf fc-classic-dl6 fc-classic-wwb", data.isInteractive
237
+ ? core.joinClassNames(faintHoverPressableClass, outlineInsetClass)
238
+ : faintHoverClass),
239
+ listItemEventBeforeClass: "fc-classic-yDA",
240
+ listItemEventInnerClass: "fc-classic-eF2",
241
+ listItemEventTimeClass: "fc-classic-88I fc-classic-yi0 fc-classic-roZ fc-classic-kMV fc-classic-TZ4 fc-classic-pKG fc-classic-IPx fc-classic-9yp",
242
+ listItemEventTitleClass: (data) => core.joinClassNames("fc-classic-1El fc-classic-2KU fc-classic-TZ4 fc-classic-pKG fc-classic-9yp", data.event.url && "fc-classic-Ogp"),
243
+ /* No-Events Screen
244
+ ------------------------------------------------------------------------------------------- */
245
+ noEventsClass: "fc-classic-k3f fc-classic-dl1 fc-classic-sgX fc-classic-XpK fc-classic-E9P",
246
+ noEventsInnerClass: "sticky fc-classic-jGI fc-classic-P9h",
247
+ },
248
+ timeline: {
249
+ /* Timeline > Row Event
250
+ ------------------------------------------------------------------------------------------- */
251
+ rowEventClass: (data) => core.joinClassNames(data.isEnd && "fc-classic-9hC", "fc-classic-XpK"),
252
+ rowEventBeforeClass: (data) => (!data.isStartResizable && `${continuationArrowClass} fc-classic-Bda fc-classic-5JV`),
253
+ rowEventAfterClass: (data) => (!data.isEndResizable && `${continuationArrowClass} fc-classic-hhi fc-classic-LaM`),
254
+ rowEventInnerClass: (data) => (data.options.eventOverlap
255
+ ? "fc-classic-2rx"
256
+ : "fc-classic-End"),
257
+ rowEventTimeClass: "fc-classic-oQ2",
258
+ rowEventTitleClass: "fc-classic-oQ2",
259
+ /* Timeline > More-Link
260
+ ------------------------------------------------------------------------------------------- */
261
+ rowMoreLinkClass: `fc-classic-9hC fc-classic-Ika fc-classic-wsy fc-classic-d0j fc-classic-4MR ${strongSolidPressableClass} fc-classic-vwH`,
262
+ rowMoreLinkInnerClass: "fc-classic-KUX fc-classic-a3B",
263
+ /* Timeline > Slot Header
264
+ ------------------------------------------------------------------------------------------- */
265
+ slotHeaderAlign: (data) => data.isTime ? "start" : "center",
266
+ slotHeaderClass: "fc-classic-E9P",
267
+ slotHeaderInnerClass: (data) => core.joinClassNames("fc-classic-3N5 fc-classic-9yp", data.hasNavLink && "fc-classic-Eu0"),
268
+ slotHeaderDividerClass: "fc-classic-zi1 fc-classic-C1x",
269
+ /* Timeline > Now-Indicator
270
+ ------------------------------------------------------------------------------------------- */
271
+ nowIndicatorHeaderClass: "fc-classic-n9G fc-classic-J04 fc-classic-ybF fc-classic-Pqk fc-classic-bLA fc-classic-sYT",
272
+ nowIndicatorLineClass: "fc-classic-3J4 fc-classic-sYT",
273
+ },
274
+ }
275
+ });
276
+ /* SVGs
277
+ ------------------------------------------------------------------------------------------------- */
278
+ function chevronLeft(className) {
279
+ return preact.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
280
+ preact.createElement("polyline", { points: "15 18 9 12 15 6" }));
281
+ }
282
+ function chevronsLeft(className) {
283
+ return preact.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
284
+ preact.createElement("polyline", { points: "11 17 6 12 11 7" }),
285
+ preact.createElement("polyline", { points: "18 17 13 12 18 7" }));
286
+ }
287
+ function x(className) {
288
+ return preact.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
289
+ preact.createElement("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
290
+ preact.createElement("line", { x1: "6", y1: "6", x2: "18", y2: "18" }));
291
+ }
292
+ function plusSquare(className) {
293
+ return preact.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
294
+ preact.createElement("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
295
+ preact.createElement("line", { x1: "12", y1: "8", x2: "12", y2: "16" }),
296
+ preact.createElement("line", { x1: "8", y1: "12", x2: "16", y2: "12" }));
297
+ }
298
+ function minusSquare(className) {
299
+ return preact.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" },
300
+ preact.createElement("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2", ry: "2" }),
301
+ preact.createElement("line", { x1: "8", y1: "12", x2: "16", y2: "12" }));
302
+ }
303
+
304
+ core.globalPlugins.push(plugin);
305
+
306
+ exports["default"] = plugin;
307
+
308
+ Object.defineProperty(exports, '__esModule', { value: true });
309
+
310
+ return exports;
311
+
312
+ })({}, FullCalendar, FullCalendar.Preact);