Commit 301bd39
refactor(fullcalendar): revert Angular options workaround now that the emitter aliases template-referenced imports
FullCalendarAllSlotsDemo previously hoisted the passthrough :options object into
a `const calendarOptions` <script> declaration purely to pin the
`@fullcalendar/list` default import — Angular AOT would otherwise tree-shake an
import whose only reference lived inside the template-binding object literal,
leaving listPlugin undefined and crashing FullCalendar's plugin-hook builder.
The Angular emitter now aliases a <script> value-import referenced in a template
expression to a `protected readonly listPlugin = listPlugin` component field, so
the natural inline form is correct on all six targets. Pass the options inline
again (:options="{ ..., plugins: [listPlugin] }") and keep the
`import listPlugin from '@fullcalendar/list'`. The VR full-calendar-slots
[angular] cell passes with the inline form end-to-end.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9a0a2d9 commit 301bd39
1 file changed
Lines changed: 10 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
72 | 81 | | |
73 | 82 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 83 | | |
88 | 84 | | |
89 | 85 | | |
| |||
160 | 156 | | |
161 | 157 | | |
162 | 158 | | |
163 | | - | |
| 159 | + | |
164 | 160 | | |
165 | 161 | | |
166 | 162 | | |
| |||
0 commit comments