@omniviewdev/vite-plugin 0.1.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/LICENSE +661 -0
- package/dist/index.cjs +215 -0
- package/dist/index.d.cts +84 -0
- package/dist/index.d.ts +84 -0
- package/dist/index.js +177 -0
- package/package.json +50 -0
- package/shims/_dnd-kit__core.mjs +45 -0
- package/shims/_dnd-kit__modifiers.mjs +21 -0
- package/shims/_dnd-kit__sortable.mjs +26 -0
- package/shims/_dnd-kit__utilities.mjs +39 -0
- package/shims/_emotion__react.mjs +27 -0
- package/shims/_emotion__styled.mjs +14 -0
- package/shims/_monaco-editor__react.mjs +18 -0
- package/shims/_mui__icons-material.mjs +10787 -0
- package/shims/_mui__material.mjs +476 -0
- package/shims/_mui__material__Box.mjs +15 -0
- package/shims/_mui__material__CircularProgress.mjs +16 -0
- package/shims/_mui__material__CssBaseline.mjs +14 -0
- package/shims/_mui__material__Divider.mjs +16 -0
- package/shims/_mui__material__GlobalStyles.mjs +14 -0
- package/shims/_mui__material__Grid.mjs +16 -0
- package/shims/_mui__material__LinearProgress.mjs +16 -0
- package/shims/_mui__material__styles.mjs +60 -0
- package/shims/_mui__material__utils.mjs +33 -0
- package/shims/_mui__x-charts.mjs +257 -0
- package/shims/_omniviewdev__runtime.mjs +82 -0
- package/shims/_omniviewdev__runtime__api.mjs +30 -0
- package/shims/_omniviewdev__runtime__models.mjs +29 -0
- package/shims/_omniviewdev__runtime__runtime.mjs +67 -0
- package/shims/_omniviewdev__ui.mjs +46 -0
- package/shims/_omniviewdev__ui__buttons.mjs +25 -0
- package/shims/_omniviewdev__ui__cells.mjs +19 -0
- package/shims/_omniviewdev__ui__charts.mjs +33 -0
- package/shims/_omniviewdev__ui__domain.mjs +25 -0
- package/shims/_omniviewdev__ui__editors.mjs +22 -0
- package/shims/_omniviewdev__ui__feedback.mjs +29 -0
- package/shims/_omniviewdev__ui__inputs.mjs +30 -0
- package/shims/_omniviewdev__ui__layout.mjs +22 -0
- package/shims/_omniviewdev__ui__menus.mjs +19 -0
- package/shims/_omniviewdev__ui__navigation.mjs +22 -0
- package/shims/_omniviewdev__ui__overlays.mjs +24 -0
- package/shims/_omniviewdev__ui__sidebars.mjs +20 -0
- package/shims/_omniviewdev__ui__table.mjs +20 -0
- package/shims/_omniviewdev__ui__theme.mjs +31 -0
- package/shims/_omniviewdev__ui__types.mjs +23 -0
- package/shims/_omniviewdev__ui__typography.mjs +19 -0
- package/shims/_tanstack__react-query.mjs +68 -0
- package/shims/_tanstack__react-table.mjs +67 -0
- package/shims/_tanstack__react-virtual.mjs +30 -0
- package/shims/date-fns.mjs +264 -0
- package/shims/monaco-editor.mjs +14 -0
- package/shims/monaco-types.mjs +14 -0
- package/shims/monaco-yaml.mjs +15 -0
- package/shims/react-dom.mjs +22 -0
- package/shims/react-icons.mjs +19 -0
- package/shims/react-icons__lu.mjs +1555 -0
- package/shims/react-icons__si.mjs +3289 -0
- package/shims/react-router-dom.mjs +70 -0
- package/shims/react.mjs +50 -0
- package/shims/react__jsx-dev-runtime.mjs +16 -0
- package/shims/react__jsx-runtime.mjs +17 -0
- package/shims/yaml.mjs +43 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
// Auto-generated shim for 'date-fns'
|
|
2
|
+
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
+
|
|
4
|
+
const mod = window.__OMNIVIEW_SHARED__['date-fns'];
|
|
5
|
+
|
|
6
|
+
if (!mod) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
'[omniview] Shared dependency "date-fns" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
+
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const add = mod.add;
|
|
14
|
+
export const addBusinessDays = mod.addBusinessDays;
|
|
15
|
+
export const addDays = mod.addDays;
|
|
16
|
+
export const addHours = mod.addHours;
|
|
17
|
+
export const addISOWeekYears = mod.addISOWeekYears;
|
|
18
|
+
export const addMilliseconds = mod.addMilliseconds;
|
|
19
|
+
export const addMinutes = mod.addMinutes;
|
|
20
|
+
export const addMonths = mod.addMonths;
|
|
21
|
+
export const addQuarters = mod.addQuarters;
|
|
22
|
+
export const addSeconds = mod.addSeconds;
|
|
23
|
+
export const addWeeks = mod.addWeeks;
|
|
24
|
+
export const addYears = mod.addYears;
|
|
25
|
+
export const areIntervalsOverlapping = mod.areIntervalsOverlapping;
|
|
26
|
+
export const clamp = mod.clamp;
|
|
27
|
+
export const closestIndexTo = mod.closestIndexTo;
|
|
28
|
+
export const closestTo = mod.closestTo;
|
|
29
|
+
export const compareAsc = mod.compareAsc;
|
|
30
|
+
export const compareDesc = mod.compareDesc;
|
|
31
|
+
export const constructFrom = mod.constructFrom;
|
|
32
|
+
export const constructNow = mod.constructNow;
|
|
33
|
+
export const daysToWeeks = mod.daysToWeeks;
|
|
34
|
+
export const differenceInBusinessDays = mod.differenceInBusinessDays;
|
|
35
|
+
export const differenceInCalendarDays = mod.differenceInCalendarDays;
|
|
36
|
+
export const differenceInCalendarISOWeekYears = mod.differenceInCalendarISOWeekYears;
|
|
37
|
+
export const differenceInCalendarISOWeeks = mod.differenceInCalendarISOWeeks;
|
|
38
|
+
export const differenceInCalendarMonths = mod.differenceInCalendarMonths;
|
|
39
|
+
export const differenceInCalendarQuarters = mod.differenceInCalendarQuarters;
|
|
40
|
+
export const differenceInCalendarWeeks = mod.differenceInCalendarWeeks;
|
|
41
|
+
export const differenceInCalendarYears = mod.differenceInCalendarYears;
|
|
42
|
+
export const differenceInDays = mod.differenceInDays;
|
|
43
|
+
export const differenceInHours = mod.differenceInHours;
|
|
44
|
+
export const differenceInISOWeekYears = mod.differenceInISOWeekYears;
|
|
45
|
+
export const differenceInMilliseconds = mod.differenceInMilliseconds;
|
|
46
|
+
export const differenceInMinutes = mod.differenceInMinutes;
|
|
47
|
+
export const differenceInMonths = mod.differenceInMonths;
|
|
48
|
+
export const differenceInQuarters = mod.differenceInQuarters;
|
|
49
|
+
export const differenceInSeconds = mod.differenceInSeconds;
|
|
50
|
+
export const differenceInWeeks = mod.differenceInWeeks;
|
|
51
|
+
export const differenceInYears = mod.differenceInYears;
|
|
52
|
+
export const eachDayOfInterval = mod.eachDayOfInterval;
|
|
53
|
+
export const eachHourOfInterval = mod.eachHourOfInterval;
|
|
54
|
+
export const eachMinuteOfInterval = mod.eachMinuteOfInterval;
|
|
55
|
+
export const eachMonthOfInterval = mod.eachMonthOfInterval;
|
|
56
|
+
export const eachQuarterOfInterval = mod.eachQuarterOfInterval;
|
|
57
|
+
export const eachWeekOfInterval = mod.eachWeekOfInterval;
|
|
58
|
+
export const eachWeekendOfInterval = mod.eachWeekendOfInterval;
|
|
59
|
+
export const eachWeekendOfMonth = mod.eachWeekendOfMonth;
|
|
60
|
+
export const eachWeekendOfYear = mod.eachWeekendOfYear;
|
|
61
|
+
export const eachYearOfInterval = mod.eachYearOfInterval;
|
|
62
|
+
export const endOfDay = mod.endOfDay;
|
|
63
|
+
export const endOfDecade = mod.endOfDecade;
|
|
64
|
+
export const endOfHour = mod.endOfHour;
|
|
65
|
+
export const endOfISOWeek = mod.endOfISOWeek;
|
|
66
|
+
export const endOfISOWeekYear = mod.endOfISOWeekYear;
|
|
67
|
+
export const endOfMinute = mod.endOfMinute;
|
|
68
|
+
export const endOfMonth = mod.endOfMonth;
|
|
69
|
+
export const endOfQuarter = mod.endOfQuarter;
|
|
70
|
+
export const endOfSecond = mod.endOfSecond;
|
|
71
|
+
export const endOfToday = mod.endOfToday;
|
|
72
|
+
export const endOfTomorrow = mod.endOfTomorrow;
|
|
73
|
+
export const endOfWeek = mod.endOfWeek;
|
|
74
|
+
export const endOfYear = mod.endOfYear;
|
|
75
|
+
export const endOfYesterday = mod.endOfYesterday;
|
|
76
|
+
export const format = mod.format;
|
|
77
|
+
export const formatDate = mod.formatDate;
|
|
78
|
+
export const formatDistance = mod.formatDistance;
|
|
79
|
+
export const formatDistanceStrict = mod.formatDistanceStrict;
|
|
80
|
+
export const formatDistanceToNow = mod.formatDistanceToNow;
|
|
81
|
+
export const formatDistanceToNowStrict = mod.formatDistanceToNowStrict;
|
|
82
|
+
export const formatDuration = mod.formatDuration;
|
|
83
|
+
export const formatISO = mod.formatISO;
|
|
84
|
+
export const formatISO9075 = mod.formatISO9075;
|
|
85
|
+
export const formatISODuration = mod.formatISODuration;
|
|
86
|
+
export const formatRFC3339 = mod.formatRFC3339;
|
|
87
|
+
export const formatRFC7231 = mod.formatRFC7231;
|
|
88
|
+
export const formatRelative = mod.formatRelative;
|
|
89
|
+
export const formatters = mod.formatters;
|
|
90
|
+
export const fromUnixTime = mod.fromUnixTime;
|
|
91
|
+
export const getDate = mod.getDate;
|
|
92
|
+
export const getDay = mod.getDay;
|
|
93
|
+
export const getDayOfYear = mod.getDayOfYear;
|
|
94
|
+
export const getDaysInMonth = mod.getDaysInMonth;
|
|
95
|
+
export const getDaysInYear = mod.getDaysInYear;
|
|
96
|
+
export const getDecade = mod.getDecade;
|
|
97
|
+
export const getDefaultOptions = mod.getDefaultOptions;
|
|
98
|
+
export const getHours = mod.getHours;
|
|
99
|
+
export const getISODay = mod.getISODay;
|
|
100
|
+
export const getISOWeek = mod.getISOWeek;
|
|
101
|
+
export const getISOWeekYear = mod.getISOWeekYear;
|
|
102
|
+
export const getISOWeeksInYear = mod.getISOWeeksInYear;
|
|
103
|
+
export const getMilliseconds = mod.getMilliseconds;
|
|
104
|
+
export const getMinutes = mod.getMinutes;
|
|
105
|
+
export const getMonth = mod.getMonth;
|
|
106
|
+
export const getOverlappingDaysInIntervals = mod.getOverlappingDaysInIntervals;
|
|
107
|
+
export const getQuarter = mod.getQuarter;
|
|
108
|
+
export const getSeconds = mod.getSeconds;
|
|
109
|
+
export const getTime = mod.getTime;
|
|
110
|
+
export const getUnixTime = mod.getUnixTime;
|
|
111
|
+
export const getWeek = mod.getWeek;
|
|
112
|
+
export const getWeekOfMonth = mod.getWeekOfMonth;
|
|
113
|
+
export const getWeekYear = mod.getWeekYear;
|
|
114
|
+
export const getWeeksInMonth = mod.getWeeksInMonth;
|
|
115
|
+
export const getYear = mod.getYear;
|
|
116
|
+
export const hoursToMilliseconds = mod.hoursToMilliseconds;
|
|
117
|
+
export const hoursToMinutes = mod.hoursToMinutes;
|
|
118
|
+
export const hoursToSeconds = mod.hoursToSeconds;
|
|
119
|
+
export const interval = mod.interval;
|
|
120
|
+
export const intervalToDuration = mod.intervalToDuration;
|
|
121
|
+
export const intlFormat = mod.intlFormat;
|
|
122
|
+
export const intlFormatDistance = mod.intlFormatDistance;
|
|
123
|
+
export const isAfter = mod.isAfter;
|
|
124
|
+
export const isBefore = mod.isBefore;
|
|
125
|
+
export const isDate = mod.isDate;
|
|
126
|
+
export const isEqual = mod.isEqual;
|
|
127
|
+
export const isExists = mod.isExists;
|
|
128
|
+
export const isFirstDayOfMonth = mod.isFirstDayOfMonth;
|
|
129
|
+
export const isFriday = mod.isFriday;
|
|
130
|
+
export const isFuture = mod.isFuture;
|
|
131
|
+
export const isLastDayOfMonth = mod.isLastDayOfMonth;
|
|
132
|
+
export const isLeapYear = mod.isLeapYear;
|
|
133
|
+
export const isMatch = mod.isMatch;
|
|
134
|
+
export const isMonday = mod.isMonday;
|
|
135
|
+
export const isPast = mod.isPast;
|
|
136
|
+
export const isSameDay = mod.isSameDay;
|
|
137
|
+
export const isSameHour = mod.isSameHour;
|
|
138
|
+
export const isSameISOWeek = mod.isSameISOWeek;
|
|
139
|
+
export const isSameISOWeekYear = mod.isSameISOWeekYear;
|
|
140
|
+
export const isSameMinute = mod.isSameMinute;
|
|
141
|
+
export const isSameMonth = mod.isSameMonth;
|
|
142
|
+
export const isSameQuarter = mod.isSameQuarter;
|
|
143
|
+
export const isSameSecond = mod.isSameSecond;
|
|
144
|
+
export const isSameWeek = mod.isSameWeek;
|
|
145
|
+
export const isSameYear = mod.isSameYear;
|
|
146
|
+
export const isSaturday = mod.isSaturday;
|
|
147
|
+
export const isSunday = mod.isSunday;
|
|
148
|
+
export const isThisHour = mod.isThisHour;
|
|
149
|
+
export const isThisISOWeek = mod.isThisISOWeek;
|
|
150
|
+
export const isThisMinute = mod.isThisMinute;
|
|
151
|
+
export const isThisMonth = mod.isThisMonth;
|
|
152
|
+
export const isThisQuarter = mod.isThisQuarter;
|
|
153
|
+
export const isThisSecond = mod.isThisSecond;
|
|
154
|
+
export const isThisWeek = mod.isThisWeek;
|
|
155
|
+
export const isThisYear = mod.isThisYear;
|
|
156
|
+
export const isThursday = mod.isThursday;
|
|
157
|
+
export const isToday = mod.isToday;
|
|
158
|
+
export const isTomorrow = mod.isTomorrow;
|
|
159
|
+
export const isTuesday = mod.isTuesday;
|
|
160
|
+
export const isValid = mod.isValid;
|
|
161
|
+
export const isWednesday = mod.isWednesday;
|
|
162
|
+
export const isWeekend = mod.isWeekend;
|
|
163
|
+
export const isWithinInterval = mod.isWithinInterval;
|
|
164
|
+
export const isYesterday = mod.isYesterday;
|
|
165
|
+
export const lastDayOfDecade = mod.lastDayOfDecade;
|
|
166
|
+
export const lastDayOfISOWeek = mod.lastDayOfISOWeek;
|
|
167
|
+
export const lastDayOfISOWeekYear = mod.lastDayOfISOWeekYear;
|
|
168
|
+
export const lastDayOfMonth = mod.lastDayOfMonth;
|
|
169
|
+
export const lastDayOfQuarter = mod.lastDayOfQuarter;
|
|
170
|
+
export const lastDayOfWeek = mod.lastDayOfWeek;
|
|
171
|
+
export const lastDayOfYear = mod.lastDayOfYear;
|
|
172
|
+
export const lightFormat = mod.lightFormat;
|
|
173
|
+
export const lightFormatters = mod.lightFormatters;
|
|
174
|
+
export const longFormatters = mod.longFormatters;
|
|
175
|
+
export const max = mod.max;
|
|
176
|
+
export const milliseconds = mod.milliseconds;
|
|
177
|
+
export const millisecondsToHours = mod.millisecondsToHours;
|
|
178
|
+
export const millisecondsToMinutes = mod.millisecondsToMinutes;
|
|
179
|
+
export const millisecondsToSeconds = mod.millisecondsToSeconds;
|
|
180
|
+
export const min = mod.min;
|
|
181
|
+
export const minutesToHours = mod.minutesToHours;
|
|
182
|
+
export const minutesToMilliseconds = mod.minutesToMilliseconds;
|
|
183
|
+
export const minutesToSeconds = mod.minutesToSeconds;
|
|
184
|
+
export const monthsToQuarters = mod.monthsToQuarters;
|
|
185
|
+
export const monthsToYears = mod.monthsToYears;
|
|
186
|
+
export const nextDay = mod.nextDay;
|
|
187
|
+
export const nextFriday = mod.nextFriday;
|
|
188
|
+
export const nextMonday = mod.nextMonday;
|
|
189
|
+
export const nextSaturday = mod.nextSaturday;
|
|
190
|
+
export const nextSunday = mod.nextSunday;
|
|
191
|
+
export const nextThursday = mod.nextThursday;
|
|
192
|
+
export const nextTuesday = mod.nextTuesday;
|
|
193
|
+
export const nextWednesday = mod.nextWednesday;
|
|
194
|
+
export const parse = mod.parse;
|
|
195
|
+
export const parseISO = mod.parseISO;
|
|
196
|
+
export const parseJSON = mod.parseJSON;
|
|
197
|
+
export const parsers = mod.parsers;
|
|
198
|
+
export const previousDay = mod.previousDay;
|
|
199
|
+
export const previousFriday = mod.previousFriday;
|
|
200
|
+
export const previousMonday = mod.previousMonday;
|
|
201
|
+
export const previousSaturday = mod.previousSaturday;
|
|
202
|
+
export const previousSunday = mod.previousSunday;
|
|
203
|
+
export const previousThursday = mod.previousThursday;
|
|
204
|
+
export const previousTuesday = mod.previousTuesday;
|
|
205
|
+
export const previousWednesday = mod.previousWednesday;
|
|
206
|
+
export const quartersToMonths = mod.quartersToMonths;
|
|
207
|
+
export const quartersToYears = mod.quartersToYears;
|
|
208
|
+
export const roundToNearestHours = mod.roundToNearestHours;
|
|
209
|
+
export const roundToNearestMinutes = mod.roundToNearestMinutes;
|
|
210
|
+
export const secondsToHours = mod.secondsToHours;
|
|
211
|
+
export const secondsToMilliseconds = mod.secondsToMilliseconds;
|
|
212
|
+
export const secondsToMinutes = mod.secondsToMinutes;
|
|
213
|
+
export const set = mod.set;
|
|
214
|
+
export const setDate = mod.setDate;
|
|
215
|
+
export const setDay = mod.setDay;
|
|
216
|
+
export const setDayOfYear = mod.setDayOfYear;
|
|
217
|
+
export const setDefaultOptions = mod.setDefaultOptions;
|
|
218
|
+
export const setHours = mod.setHours;
|
|
219
|
+
export const setISODay = mod.setISODay;
|
|
220
|
+
export const setISOWeek = mod.setISOWeek;
|
|
221
|
+
export const setISOWeekYear = mod.setISOWeekYear;
|
|
222
|
+
export const setMilliseconds = mod.setMilliseconds;
|
|
223
|
+
export const setMinutes = mod.setMinutes;
|
|
224
|
+
export const setMonth = mod.setMonth;
|
|
225
|
+
export const setQuarter = mod.setQuarter;
|
|
226
|
+
export const setSeconds = mod.setSeconds;
|
|
227
|
+
export const setWeek = mod.setWeek;
|
|
228
|
+
export const setWeekYear = mod.setWeekYear;
|
|
229
|
+
export const setYear = mod.setYear;
|
|
230
|
+
export const startOfDay = mod.startOfDay;
|
|
231
|
+
export const startOfDecade = mod.startOfDecade;
|
|
232
|
+
export const startOfHour = mod.startOfHour;
|
|
233
|
+
export const startOfISOWeek = mod.startOfISOWeek;
|
|
234
|
+
export const startOfISOWeekYear = mod.startOfISOWeekYear;
|
|
235
|
+
export const startOfMinute = mod.startOfMinute;
|
|
236
|
+
export const startOfMonth = mod.startOfMonth;
|
|
237
|
+
export const startOfQuarter = mod.startOfQuarter;
|
|
238
|
+
export const startOfSecond = mod.startOfSecond;
|
|
239
|
+
export const startOfToday = mod.startOfToday;
|
|
240
|
+
export const startOfTomorrow = mod.startOfTomorrow;
|
|
241
|
+
export const startOfWeek = mod.startOfWeek;
|
|
242
|
+
export const startOfWeekYear = mod.startOfWeekYear;
|
|
243
|
+
export const startOfYear = mod.startOfYear;
|
|
244
|
+
export const startOfYesterday = mod.startOfYesterday;
|
|
245
|
+
export const sub = mod.sub;
|
|
246
|
+
export const subBusinessDays = mod.subBusinessDays;
|
|
247
|
+
export const subDays = mod.subDays;
|
|
248
|
+
export const subHours = mod.subHours;
|
|
249
|
+
export const subISOWeekYears = mod.subISOWeekYears;
|
|
250
|
+
export const subMilliseconds = mod.subMilliseconds;
|
|
251
|
+
export const subMinutes = mod.subMinutes;
|
|
252
|
+
export const subMonths = mod.subMonths;
|
|
253
|
+
export const subQuarters = mod.subQuarters;
|
|
254
|
+
export const subSeconds = mod.subSeconds;
|
|
255
|
+
export const subWeeks = mod.subWeeks;
|
|
256
|
+
export const subYears = mod.subYears;
|
|
257
|
+
export const toDate = mod.toDate;
|
|
258
|
+
export const transpose = mod.transpose;
|
|
259
|
+
export const weeksToDays = mod.weeksToDays;
|
|
260
|
+
export const yearsToDays = mod.yearsToDays;
|
|
261
|
+
export const yearsToMonths = mod.yearsToMonths;
|
|
262
|
+
export const yearsToQuarters = mod.yearsToQuarters;
|
|
263
|
+
|
|
264
|
+
export default mod.default !== undefined ? mod.default : mod;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated shim for 'monaco-editor'
|
|
2
|
+
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
+
|
|
4
|
+
const mod = window.__OMNIVIEW_SHARED__['monaco-editor'];
|
|
5
|
+
|
|
6
|
+
if (!mod) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
'[omniview] Shared dependency "monaco-editor" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
+
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Default export: prefer mod.default, fall back to the module namespace itself.
|
|
14
|
+
export default mod.default !== undefined ? mod.default : mod;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Auto-generated shim for 'monaco-types'
|
|
2
|
+
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
+
|
|
4
|
+
const mod = window.__OMNIVIEW_SHARED__['monaco-types'];
|
|
5
|
+
|
|
6
|
+
if (!mod) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
'[omniview] Shared dependency "monaco-types" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
+
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Default export: prefer mod.default, fall back to the module namespace itself.
|
|
14
|
+
export default mod.default !== undefined ? mod.default : mod;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Auto-generated shim for 'monaco-yaml'
|
|
2
|
+
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
+
|
|
4
|
+
const mod = window.__OMNIVIEW_SHARED__['monaco-yaml'];
|
|
5
|
+
|
|
6
|
+
if (!mod) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
'[omniview] Shared dependency "monaco-yaml" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
+
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const configureMonacoYaml = mod.configureMonacoYaml;
|
|
14
|
+
|
|
15
|
+
export default mod.default !== undefined ? mod.default : mod;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Auto-generated shim for 'react-dom'
|
|
2
|
+
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
+
|
|
4
|
+
const mod = window.__OMNIVIEW_SHARED__['react-dom'];
|
|
5
|
+
|
|
6
|
+
if (!mod) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
'[omniview] Shared dependency "react-dom" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
+
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const createPortal = mod.createPortal;
|
|
14
|
+
export const flushSync = mod.flushSync;
|
|
15
|
+
export const hydrate = mod.hydrate;
|
|
16
|
+
export const render = mod.render;
|
|
17
|
+
export const unmountComponentAtNode = mod.unmountComponentAtNode;
|
|
18
|
+
export const unstable_batchedUpdates = mod.unstable_batchedUpdates;
|
|
19
|
+
export const unstable_renderSubtreeIntoContainer = mod.unstable_renderSubtreeIntoContainer;
|
|
20
|
+
export const version = mod.version;
|
|
21
|
+
|
|
22
|
+
export default mod.default !== undefined ? mod.default : mod;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated shim for 'react-icons'
|
|
2
|
+
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
+
|
|
4
|
+
const mod = window.__OMNIVIEW_SHARED__['react-icons'];
|
|
5
|
+
|
|
6
|
+
if (!mod) {
|
|
7
|
+
throw new Error(
|
|
8
|
+
'[omniview] Shared dependency "react-icons" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
+
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const DefaultContext = mod.DefaultContext;
|
|
14
|
+
export const GenIcon = mod.GenIcon;
|
|
15
|
+
export const IconBase = mod.IconBase;
|
|
16
|
+
export const IconContext = mod.IconContext;
|
|
17
|
+
export const IconsManifest = mod.IconsManifest;
|
|
18
|
+
|
|
19
|
+
export default mod.default !== undefined ? mod.default : mod;
|