Skip to content

Commit 24b8936

Browse files
committed
chore(playground): update
1 parent 983249c commit 24b8936

File tree

5 files changed

+114
-11
lines changed

5 files changed

+114
-11
lines changed

playground/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unplugin-jsx-string-playground",
33
"version": "0.0.0",
4-
"packageManager": "pnpm@8.10.5",
4+
"packageManager": "pnpm@10.0.0",
55
"license": "MIT",
66
"author": "三咲智子 <[email protected]>",
77
"scripts": {
@@ -19,6 +19,7 @@
1919
"devDependencies": {
2020
"@iconify-json/carbon": "^1.2.5",
2121
"@vitejs/plugin-vue": "^5.2.1",
22+
"@vue-macros/reactivity-transform": "^1.1.4",
2223
"unocss": "^65.4.0",
2324
"unplugin-auto-import": "^19.0.0",
2425
"unplugin-vue-components": "^28.0.0",

playground/src/typings/auto-import.d.ts

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/* eslint-disable */
22
/* prettier-ignore */
33
// @ts-nocheck
4+
// noinspection JSUnusedGlobalSymbols
45
// Generated by unplugin-auto-import
6+
// biome-ignore lint: disable
57
export {}
68
declare global {
79
const EffectScope: typeof import('vue')['EffectScope']
@@ -19,7 +21,9 @@ declare global {
1921
const createGlobalState: typeof import('@vueuse/core')['createGlobalState']
2022
const createInjectionState: typeof import('@vueuse/core')['createInjectionState']
2123
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
24+
const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate']
2225
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
26+
const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise']
2327
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
2428
const customRef: typeof import('vue')['customRef']
2529
const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
@@ -34,6 +38,7 @@ declare global {
3438
const h: typeof import('vue')['h']
3539
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
3640
const inject: typeof import('vue')['inject']
41+
const injectLocal: typeof import('@vueuse/core')['injectLocal']
3742
const isDark: typeof import('../composables/dark')['isDark']
3843
const isDefined: typeof import('@vueuse/core')['isDefined']
3944
const isProxy: typeof import('vue')['isProxy']
@@ -49,6 +54,7 @@ declare global {
4954
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
5055
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
5156
const onDeactivated: typeof import('vue')['onDeactivated']
57+
const onElementRemoval: typeof import('@vueuse/core')['onElementRemoval']
5258
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
5359
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
5460
const onLongPress: typeof import('@vueuse/core')['onLongPress']
@@ -60,8 +66,10 @@ declare global {
6066
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
6167
const onUnmounted: typeof import('vue')['onUnmounted']
6268
const onUpdated: typeof import('vue')['onUpdated']
69+
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
6370
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
6471
const provide: typeof import('vue')['provide']
72+
const provideLocal: typeof import('@vueuse/core')['provideLocal']
6573
const reactify: typeof import('@vueuse/core')['reactify']
6674
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
6775
const reactive: typeof import('vue')['reactive']
@@ -90,6 +98,7 @@ declare global {
9098
const toReactive: typeof import('@vueuse/core')['toReactive']
9199
const toRef: typeof import('vue')['toRef']
92100
const toRefs: typeof import('vue')['toRefs']
101+
const toValue: typeof import('vue')['toValue']
93102
const toggleDark: typeof import('../composables/dark')['toggleDark']
94103
const triggerRef: typeof import('vue')['triggerRef']
95104
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
@@ -101,11 +110,14 @@ declare global {
101110
const unrefElement: typeof import('@vueuse/core')['unrefElement']
102111
const until: typeof import('@vueuse/core')['until']
103112
const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
113+
const useAnimate: typeof import('@vueuse/core')['useAnimate']
114+
const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference']
104115
const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery']
105116
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
106117
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
107118
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
108119
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
120+
const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes']
109121
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
110122
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
111123
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
@@ -122,6 +134,7 @@ declare global {
122134
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
123135
const useCached: typeof import('@vueuse/core')['useCached']
124136
const useClipboard: typeof import('@vueuse/core')['useClipboard']
137+
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
125138
const useCloned: typeof import('@vueuse/core')['useCloned']
126139
const useColorMode: typeof import('@vueuse/core')['useColorMode']
127140
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
@@ -163,6 +176,7 @@ declare global {
163176
const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
164177
const useGamepad: typeof import('@vueuse/core')['useGamepad']
165178
const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
179+
const useId: typeof import('vue')['useId']
166180
const useIdle: typeof import('@vueuse/core')['useIdle']
167181
const useImage: typeof import('@vueuse/core')['useImage']
168182
const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
@@ -178,6 +192,7 @@ declare global {
178192
const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery']
179193
const useMemoize: typeof import('@vueuse/core')['useMemoize']
180194
const useMemory: typeof import('@vueuse/core')['useMemory']
195+
const useModel: typeof import('vue')['useModel']
181196
const useMounted: typeof import('@vueuse/core')['useMounted']
182197
const useMouse: typeof import('@vueuse/core')['useMouse']
183198
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
@@ -191,6 +206,8 @@ declare global {
191206
const useOnline: typeof import('@vueuse/core')['useOnline']
192207
const usePageLeave: typeof import('@vueuse/core')['usePageLeave']
193208
const useParallax: typeof import('@vueuse/core')['useParallax']
209+
const useParentElement: typeof import('@vueuse/core')['useParentElement']
210+
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver']
194211
const usePermission: typeof import('@vueuse/core')['usePermission']
195212
const usePointer: typeof import('@vueuse/core')['usePointer']
196213
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
@@ -200,10 +217,12 @@ declare global {
200217
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
201218
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
202219
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
220+
const usePreferredReducedTransparency: typeof import('@vueuse/core')['usePreferredReducedTransparency']
203221
const usePrevious: typeof import('@vueuse/core')['usePrevious']
204222
const useRafFn: typeof import('@vueuse/core')['useRafFn']
205223
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
206224
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
225+
const useSSRWidth: typeof import('@vueuse/core')['useSSRWidth']
207226
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
208227
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
209228
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
@@ -221,6 +240,7 @@ declare global {
221240
const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
222241
const useSupported: typeof import('@vueuse/core')['useSupported']
223242
const useSwipe: typeof import('@vueuse/core')['useSwipe']
243+
const useTemplateRef: typeof import('vue')['useTemplateRef']
224244
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
225245
const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
226246
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
@@ -256,8 +276,10 @@ declare global {
256276
const watchArray: typeof import('@vueuse/core')['watchArray']
257277
const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
258278
const watchDebounced: typeof import('@vueuse/core')['watchDebounced']
279+
const watchDeep: typeof import('@vueuse/core')['watchDeep']
259280
const watchEffect: typeof import('vue')['watchEffect']
260281
const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable']
282+
const watchImmediate: typeof import('@vueuse/core')['watchImmediate']
261283
const watchOnce: typeof import('@vueuse/core')['watchOnce']
262284
const watchPausable: typeof import('@vueuse/core')['watchPausable']
263285
const watchPostEffect: typeof import('vue')['watchPostEffect']
@@ -270,11 +292,14 @@ declare global {
270292
// for type re-export
271293
declare global {
272294
// @ts-ignore
273-
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
295+
export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
296+
import('vue')
274297
}
298+
275299
// for vue template auto import
276300
import { UnwrapRef } from 'vue'
277301
declare module 'vue' {
302+
interface GlobalComponents {}
278303
interface ComponentCustomProperties {
279304
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
280305
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
@@ -291,7 +316,9 @@ declare module 'vue' {
291316
readonly createGlobalState: UnwrapRef<typeof import('@vueuse/core')['createGlobalState']>
292317
readonly createInjectionState: UnwrapRef<typeof import('@vueuse/core')['createInjectionState']>
293318
readonly createReactiveFn: UnwrapRef<typeof import('@vueuse/core')['createReactiveFn']>
319+
readonly createReusableTemplate: UnwrapRef<typeof import('@vueuse/core')['createReusableTemplate']>
294320
readonly createSharedComposable: UnwrapRef<typeof import('@vueuse/core')['createSharedComposable']>
321+
readonly createTemplatePromise: UnwrapRef<typeof import('@vueuse/core')['createTemplatePromise']>
295322
readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>
296323
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
297324
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
@@ -306,6 +333,7 @@ declare module 'vue' {
306333
readonly h: UnwrapRef<typeof import('vue')['h']>
307334
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
308335
readonly inject: UnwrapRef<typeof import('vue')['inject']>
336+
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
309337
readonly isDark: UnwrapRef<typeof import('../composables/dark')['isDark']>
310338
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
311339
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
@@ -321,6 +349,7 @@ declare module 'vue' {
321349
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
322350
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
323351
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
352+
readonly onElementRemoval: UnwrapRef<typeof import('@vueuse/core')['onElementRemoval']>
324353
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
325354
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
326355
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
@@ -332,8 +361,10 @@ declare module 'vue' {
332361
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
333362
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
334363
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
364+
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
335365
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
336366
readonly provide: UnwrapRef<typeof import('vue')['provide']>
367+
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
337368
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
338369
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
339370
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -362,6 +393,7 @@ declare module 'vue' {
362393
readonly toReactive: UnwrapRef<typeof import('@vueuse/core')['toReactive']>
363394
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
364395
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
396+
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
365397
readonly toggleDark: UnwrapRef<typeof import('../composables/dark')['toggleDark']>
366398
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
367399
readonly tryOnBeforeMount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeMount']>
@@ -373,11 +405,14 @@ declare module 'vue' {
373405
readonly unrefElement: UnwrapRef<typeof import('@vueuse/core')['unrefElement']>
374406
readonly until: UnwrapRef<typeof import('@vueuse/core')['until']>
375407
readonly useActiveElement: UnwrapRef<typeof import('@vueuse/core')['useActiveElement']>
408+
readonly useAnimate: UnwrapRef<typeof import('@vueuse/core')['useAnimate']>
409+
readonly useArrayDifference: UnwrapRef<typeof import('@vueuse/core')['useArrayDifference']>
376410
readonly useArrayEvery: UnwrapRef<typeof import('@vueuse/core')['useArrayEvery']>
377411
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
378412
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
379413
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
380414
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
415+
readonly useArrayIncludes: UnwrapRef<typeof import('@vueuse/core')['useArrayIncludes']>
381416
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
382417
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
383418
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
@@ -394,6 +429,7 @@ declare module 'vue' {
394429
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
395430
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
396431
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
432+
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
397433
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
398434
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
399435
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
@@ -435,6 +471,7 @@ declare module 'vue' {
435471
readonly useFullscreen: UnwrapRef<typeof import('@vueuse/core')['useFullscreen']>
436472
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
437473
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
474+
readonly useId: UnwrapRef<typeof import('vue')['useId']>
438475
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
439476
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
440477
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
@@ -450,6 +487,7 @@ declare module 'vue' {
450487
readonly useMediaQuery: UnwrapRef<typeof import('@vueuse/core')['useMediaQuery']>
451488
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
452489
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
490+
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
453491
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
454492
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
455493
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
@@ -463,6 +501,8 @@ declare module 'vue' {
463501
readonly useOnline: UnwrapRef<typeof import('@vueuse/core')['useOnline']>
464502
readonly usePageLeave: UnwrapRef<typeof import('@vueuse/core')['usePageLeave']>
465503
readonly useParallax: UnwrapRef<typeof import('@vueuse/core')['useParallax']>
504+
readonly useParentElement: UnwrapRef<typeof import('@vueuse/core')['useParentElement']>
505+
readonly usePerformanceObserver: UnwrapRef<typeof import('@vueuse/core')['usePerformanceObserver']>
466506
readonly usePermission: UnwrapRef<typeof import('@vueuse/core')['usePermission']>
467507
readonly usePointer: UnwrapRef<typeof import('@vueuse/core')['usePointer']>
468508
readonly usePointerLock: UnwrapRef<typeof import('@vueuse/core')['usePointerLock']>
@@ -472,10 +512,12 @@ declare module 'vue' {
472512
readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>
473513
readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>
474514
readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>
515+
readonly usePreferredReducedTransparency: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedTransparency']>
475516
readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>
476517
readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
477518
readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
478519
readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
520+
readonly useSSRWidth: UnwrapRef<typeof import('@vueuse/core')['useSSRWidth']>
479521
readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
480522
readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
481523
readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>
@@ -493,6 +535,7 @@ declare module 'vue' {
493535
readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>
494536
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
495537
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
538+
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
496539
readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>
497540
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
498541
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
@@ -528,8 +571,10 @@ declare module 'vue' {
528571
readonly watchArray: UnwrapRef<typeof import('@vueuse/core')['watchArray']>
529572
readonly watchAtMost: UnwrapRef<typeof import('@vueuse/core')['watchAtMost']>
530573
readonly watchDebounced: UnwrapRef<typeof import('@vueuse/core')['watchDebounced']>
574+
readonly watchDeep: UnwrapRef<typeof import('@vueuse/core')['watchDeep']>
531575
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
532576
readonly watchIgnorable: UnwrapRef<typeof import('@vueuse/core')['watchIgnorable']>
577+
readonly watchImmediate: UnwrapRef<typeof import('@vueuse/core')['watchImmediate']>
533578
readonly watchOnce: UnwrapRef<typeof import('@vueuse/core')['watchOnce']>
534579
readonly watchPausable: UnwrapRef<typeof import('@vueuse/core')['watchPausable']>
535580
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
@@ -539,4 +584,4 @@ declare module 'vue' {
539584
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
540585
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
541586
}
542-
}
587+
}

0 commit comments

Comments
 (0)