mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
Merge remote-tracking branch 'origin/v3' into fix/3952
This commit is contained in:
47
.github/workflows/module.yml
vendored
47
.github/workflows/module.yml
vendored
@@ -69,6 +69,53 @@ jobs:
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: pnpx pkg-pr-new publish --compact --no-template --pnpm
|
||||
|
||||
playground:
|
||||
needs: build
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./playground
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest] # macos-latest, windows-latest
|
||||
node: [22]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Store commit SHA
|
||||
run: |
|
||||
echo "COMMIT_SHA=$(echo ${{ github.workflow_sha }} | cut -c1-7)" >> $GITHUB_ENV
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: pnpm
|
||||
|
||||
- name: Install latest nuxt/ui
|
||||
run: pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT_SHA }} --lockfile-only
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --ignore-workspace
|
||||
|
||||
- name: Prepare
|
||||
run: pnpm nuxi prepare
|
||||
|
||||
- name: Typecheck
|
||||
run: pnpm run typecheck
|
||||
|
||||
starter-nuxt:
|
||||
needs: build
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ const icons = {
|
||||
</UPageHero>
|
||||
|
||||
<UPageSection :ui="{ container: '!pt-0' }">
|
||||
<UPageGrid class="xl:grid-cols-4">
|
||||
<UPageGrid class="xl:grid-cols-5">
|
||||
<UPageCard
|
||||
v-for="(user, index) in module?.team"
|
||||
:key="index"
|
||||
|
||||
@@ -504,7 +504,7 @@ const count = ref(0)
|
||||
</script>
|
||||
```
|
||||
|
||||
Closing a modal is now done through the `close` event. The `modal.open` method now returns a promise that resolves to the result of the modal whenever the modal is close:
|
||||
Closing a modal is now done through the `close` event. The `modal.open` method now returns an instance that can be used to await for the result of the modal whenever the modal is closed:
|
||||
|
||||
```diff
|
||||
<script setup lang="ts">
|
||||
@@ -523,10 +523,12 @@ import { ModalExampleComponent } from '#components'
|
||||
- })
|
||||
- }
|
||||
+ async function openModal() {
|
||||
+ const result = await modal.open(ModalExampleComponent, {
|
||||
+ const instance = modal.open(ModalExampleComponent, {
|
||||
+ count: count.value
|
||||
+ })
|
||||
+
|
||||
+ const result = await instance.result
|
||||
+
|
||||
+ if (result) {
|
||||
+ toast.add({ title: 'Success!' })
|
||||
+ }
|
||||
|
||||
@@ -733,6 +733,11 @@ This is how the `@theme` is generated for each design token:
|
||||
--ring-color-accented: var(--ui-border-accented);
|
||||
--ring-color-inverted: var(--ui-border-inverted);
|
||||
--ring-color-bg: var(--ui-bg);
|
||||
--ring-offset-color-default: var(--ui-border);
|
||||
--ring-offset-color-muted: var(--ui-border-muted);
|
||||
--ring-offset-color-accented: var(--ui-border-accented);
|
||||
--ring-offset-color-inverted: var(--ui-border-inverted);
|
||||
--ring-offset-color-bg: var(--ui-bg);
|
||||
--divide-color-default: var(--ui-border);
|
||||
--divide-color-muted: var(--ui-border-muted);
|
||||
--divide-color-accented: var(--ui-border-accented);
|
||||
|
||||
@@ -22,14 +22,14 @@ async function openModal() {
|
||||
- The `useOverlay` composable is created using `createSharedComposable`, ensuring that the same overlay state is shared across your entire application.
|
||||
|
||||
::note
|
||||
In order to return a value from the overlay, the `overlay.open()` can be awaited. In order for this to work, however, the **overlay component must emit a `close` event**. See example below for details.
|
||||
In order to return a value from the overlay, the `overlay.open().instance.result` can be awaited. In order for this to work, however, the **overlay component must emit a `close` event**. See example below for details.
|
||||
::
|
||||
|
||||
## API
|
||||
|
||||
### `create(component: T, options: OverlayOptions): OverlayInstance`
|
||||
|
||||
Creates an overlay, and returns its instance
|
||||
Creates an overlay, and returns a factory instance
|
||||
|
||||
- Parameters:
|
||||
- `component`: The overlay component
|
||||
@@ -38,7 +38,7 @@ Creates an overlay, and returns its instance
|
||||
- `props?: ComponentProps`: An optional object of props to pass to the rendered component.
|
||||
- `destroyOnClose?: boolean` Removes the overlay from memory when closed `default: false`
|
||||
|
||||
### `open(id: symbol, props?: ComponentProps<T>): Promise<any>`
|
||||
### `open(id: symbol, props?: ComponentProps<T>): OpenedOverlay<T>`
|
||||
|
||||
Opens the overlay using its `id`
|
||||
|
||||
@@ -75,7 +75,7 @@ In-memory list of overlays that were created
|
||||
|
||||
## Overlay Instance API
|
||||
|
||||
### `open(props?: ComponentProps<T>): Promise<any>`
|
||||
### `open(props?: ComponentProps<T>): Promise<OpenedOverlay<T>>`
|
||||
|
||||
Opens the overlay
|
||||
|
||||
@@ -138,7 +138,7 @@ const overlay = useOverlay()
|
||||
|
||||
// Create with default props
|
||||
const modalA = overlay.create(ModalA, { title: 'Welcome' })
|
||||
const modalB = overlay.create(modalB)
|
||||
const modalB = overlay.create(ModalB)
|
||||
|
||||
const slideoverA = overlay.create(SlideoverA)
|
||||
|
||||
@@ -149,7 +149,9 @@ const openModalA = () => {
|
||||
|
||||
const openModalB = async () => {
|
||||
// Open modalB, and wait for its result
|
||||
const input = await modalB.open()
|
||||
const modalBInstance = modalB.open()
|
||||
|
||||
const input = await modalBInstance.result
|
||||
|
||||
// Pass the result from modalB to the slideover, and open it.
|
||||
slideoverA.open({ input })
|
||||
|
||||
@@ -10,7 +10,6 @@ export default defineNuxtConfig({
|
||||
],
|
||||
|
||||
modules: [
|
||||
'../src/module',
|
||||
'@nuxt/ui-pro',
|
||||
'@nuxt/content',
|
||||
'@nuxt/image',
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
"release-it": "^19.0.1",
|
||||
"vitest": "^3.1.2",
|
||||
"vitest-environment-nuxt": "^1.0.1",
|
||||
"vue-tsc": "^2.2.0"
|
||||
"vue-tsc": "^2.2.10"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@inertiajs/vue3": "^2.0.7",
|
||||
@@ -207,8 +207,8 @@
|
||||
"chokidar": "3.6.0",
|
||||
"debug": "4.3.7",
|
||||
"rollup": "4.34.9",
|
||||
"unplugin": "^2.3.2",
|
||||
"vue-tsc": "2.2.0"
|
||||
"unimport": "4.1.1",
|
||||
"unplugin": "^2.3.2"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"typescript": "^5.8.3",
|
||||
"vite": "^6.3.3",
|
||||
"vue-tsc": "^2.2.0"
|
||||
"vue-tsc": "^2.2.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +1,9 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
import ui from '../src/vite'
|
||||
import ui from '@nuxt/ui/vite'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
fs: {
|
||||
allow: ['..']
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
ui({
|
||||
|
||||
@@ -28,7 +28,12 @@ const bind = computed(() => ({
|
||||
dots: dots.value
|
||||
}))
|
||||
|
||||
const items = Array.from({ length: 6 }).map((_, index) => index)
|
||||
const items = Array.from({ length: 6 }).map((_, index) => ({
|
||||
id: index,
|
||||
title: `Item ${index + 1}`,
|
||||
description: `Description for item ${index + 1}`,
|
||||
src: `https://picsum.photos/640/640?v=${index}`
|
||||
}))
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -60,23 +65,23 @@ const items = Array.from({ length: 6 }).map((_, index) => index)
|
||||
</div>
|
||||
|
||||
<template v-if="classNames">
|
||||
<UCarousel v-slot="{ index }" v-bind="bind" :items="items" :ui="{ item: 'basis-[70%] transition-opacity ease-in-out [&:not(.is-snapped)]:opacity-10', container: 'h-[352px]' }" class="w-full max-w-xl mx-auto">
|
||||
<img :src="`https://picsum.photos/600/350?v=${index}`" class="rounded-lg">
|
||||
<UCarousel v-slot="{ item }" v-bind="bind" :items="items" :ui="{ item: 'basis-[70%] transition-opacity ease-in-out [&:not(.is-snapped)]:opacity-10', container: 'h-[352px]' }" class="w-full max-w-xl mx-auto">
|
||||
<img :src="item.src" class="rounded-lg">
|
||||
</UCarousel>
|
||||
</template>
|
||||
<template v-else-if="autoHeight">
|
||||
<UCarousel v-slot="{ index }" v-bind="bind" :items="items" :ui="{ container: 'transition-[height] duration-200' }" class="w-full max-w-md mx-auto">
|
||||
<img :src="`https://picsum.photos/600/${index % 2 === 0 ? 350 : 450}?v=${index}`" :class="index % 2 === 0 ? 'h-[350px]' : 'h-[450px]'" class="rounded-lg">
|
||||
<UCarousel v-slot="{ item }" v-bind="bind" :items="items" :ui="{ container: 'transition-[height] duration-200' }" class="w-full max-w-md mx-auto">
|
||||
<img :src="item.src" class="rounded-lg">
|
||||
</UCarousel>
|
||||
</template>
|
||||
<template v-else>
|
||||
<UCarousel v-slot="{ index }" v-bind="bind" :items="items" class="w-[320px] mx-auto" :ui="{ container: 'h-[336px]' }">
|
||||
<img :src="`https://picsum.photos/640/640?v=${index}`" class="rounded-lg">
|
||||
<UCarousel v-slot="{ item }" v-bind="bind" :items="items" class="w-[320px] mx-auto" :ui="{ container: 'h-[336px]' }">
|
||||
<img :src="item.src" class="rounded-lg">
|
||||
</UCarousel>
|
||||
|
||||
<template v-if="orientation === 'horizontal'">
|
||||
<UCarousel v-slot="{ index }" v-bind="bind" :items="items" :ui="{ item: 'basis-1/3' }" class="w-full max-w-xs mx-auto">
|
||||
<img :src="`https://picsum.photos/320/320?v=${index}`" class="rounded-lg">
|
||||
<UCarousel v-slot="{ item }" v-bind="bind" :items="items" :ui="{ item: 'basis-1/3' }" class="w-full max-w-xs mx-auto">
|
||||
<img :src="item.src" class="rounded-lg">
|
||||
</UCarousel>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
@@ -1,3 +1,40 @@
|
||||
<script setup lang="ts">
|
||||
import type { ShortcutsConfig } from '@nuxt/ui/composables/defineShortcuts.js'
|
||||
|
||||
const logs = ref<string[]>([])
|
||||
const shortcutsState = ref({
|
||||
'a': {
|
||||
label: 'A',
|
||||
disabled: false,
|
||||
usingInput: false
|
||||
},
|
||||
'shift_i': {
|
||||
label: 'Shift+I',
|
||||
disabled: false,
|
||||
usingInput: false
|
||||
},
|
||||
'g-i': {
|
||||
label: 'G->I',
|
||||
disabled: false,
|
||||
usingInput: false
|
||||
}
|
||||
})
|
||||
|
||||
const shortcuts = computed(() => {
|
||||
return Object.entries(shortcutsState.value).reduce<ShortcutsConfig>((acc, [key, { label, disabled, usingInput }]) => {
|
||||
if (disabled) {
|
||||
return acc
|
||||
}
|
||||
acc[key] = {
|
||||
handler: () => { logs.value.unshift(`"${label}" triggered`) },
|
||||
usingInput
|
||||
}
|
||||
return acc
|
||||
}, {})
|
||||
})
|
||||
defineShortcuts(shortcuts)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="w-full flex flex-col gap-4">
|
||||
<UCard class="flex-1">
|
||||
@@ -43,38 +80,3 @@
|
||||
</UCard>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const logs = ref<string[]>([])
|
||||
const shortcutsState = ref({
|
||||
'a': {
|
||||
label: 'A',
|
||||
disabled: false,
|
||||
usingInput: false
|
||||
},
|
||||
'shift_i': {
|
||||
label: 'Shift+I',
|
||||
disabled: false,
|
||||
usingInput: false
|
||||
},
|
||||
'g-i': {
|
||||
label: 'G->I',
|
||||
disabled: false,
|
||||
usingInput: false
|
||||
}
|
||||
})
|
||||
|
||||
const shortcuts = computed(() => {
|
||||
return Object.entries(shortcutsState.value).reduce<ShortcutsConfig>((acc, [key, { label, disabled, usingInput }]) => {
|
||||
if (disabled) {
|
||||
return acc
|
||||
}
|
||||
acc[key] = {
|
||||
handler: () => { logs.value.unshift(`"${label}" triggered`) },
|
||||
usingInput
|
||||
}
|
||||
return acc
|
||||
}, {})
|
||||
})
|
||||
defineShortcuts(shortcuts)
|
||||
</script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export default defineNuxtConfig({
|
||||
modules: [
|
||||
'../src/module',
|
||||
'@nuxt/ui',
|
||||
'@nuxthub/core'
|
||||
],
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"scripts": {
|
||||
"dev": "nuxi dev",
|
||||
"build": "nuxi build",
|
||||
"generate": "nuxi generate"
|
||||
"generate": "nuxi generate",
|
||||
"typecheck": "nuxt typecheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@iconify-json/lucide": "^1.2.39",
|
||||
@@ -14,5 +15,12 @@
|
||||
"@nuxthub/core": "^0.8.25",
|
||||
"nuxt": "^3.16.2",
|
||||
"zod": "^3.24.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.8.3",
|
||||
"vue-tsc": "^2.2.10"
|
||||
},
|
||||
"resolutions": {
|
||||
"unimport": "4.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
136
pnpm-lock.yaml
generated
136
pnpm-lock.yaml
generated
@@ -9,8 +9,8 @@ overrides:
|
||||
chokidar: 3.6.0
|
||||
debug: 4.3.7
|
||||
rollup: 4.34.9
|
||||
unimport: 4.1.1
|
||||
unplugin: ^2.3.2
|
||||
vue-tsc: 2.2.0
|
||||
|
||||
importers:
|
||||
|
||||
@@ -169,7 +169,7 @@ importers:
|
||||
version: 1.3.0(@vue/compiler-sfc@3.5.13)(eslint@9.25.1(jiti@2.4.2))(typescript@5.8.3)
|
||||
'@nuxt/module-builder':
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1(@nuxt/cli@3.24.0(magicast@0.3.5))(esbuild@0.25.2)(typescript@5.8.3)(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
version: 1.0.1(@nuxt/cli@3.24.0(magicast@0.3.5))(esbuild@0.25.2)(typescript@5.8.3)(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
'@nuxt/test-utils':
|
||||
specifier: ^3.17.2
|
||||
version: 3.17.2(@types/node@22.13.14)(@vue/test-utils@2.4.6)(happy-dom@17.4.4)(jiti@2.4.2)(lightningcss@1.29.2)(magicast@0.3.5)(playwright-core@1.52.0)(terser@5.39.0)(typescript@5.8.3)(vitest@3.1.2(@types/debug@4.1.12)(@types/node@22.13.14)(happy-dom@17.4.4)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(yaml@2.7.1)
|
||||
@@ -190,7 +190,7 @@ importers:
|
||||
version: 17.4.4
|
||||
nuxt:
|
||||
specifier: ^3.16.2
|
||||
version: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1)
|
||||
version: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1)
|
||||
release-it:
|
||||
specifier: ^19.0.1
|
||||
version: 19.0.1(@types/node@22.13.14)(magicast@0.3.5)
|
||||
@@ -201,8 +201,8 @@ importers:
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1(@types/node@22.13.14)(@vue/test-utils@2.4.6)(happy-dom@17.4.4)(jiti@2.4.2)(lightningcss@1.29.2)(magicast@0.3.5)(playwright-core@1.52.0)(terser@5.39.0)(typescript@5.8.3)(vitest@3.1.2(@types/debug@4.1.12)(@types/node@22.13.14)(happy-dom@17.4.4)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(yaml@2.7.1)
|
||||
vue-tsc:
|
||||
specifier: 2.2.0
|
||||
version: 2.2.0(typescript@5.8.3)
|
||||
specifier: ^2.2.10
|
||||
version: 2.2.10(typescript@5.8.3)
|
||||
|
||||
cli:
|
||||
dependencies:
|
||||
@@ -265,7 +265,7 @@ importers:
|
||||
version: 13.1.0(axios@1.8.4)(fuse.js@7.1.0)(sortablejs@1.15.6)(vue@3.5.13(typescript@5.8.3))
|
||||
'@vueuse/nuxt':
|
||||
specifier: ^13.1.0
|
||||
version: 13.1.0(magicast@0.3.5)(nuxt@3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1))(vue@3.5.13(typescript@5.8.3))
|
||||
version: 13.1.0(magicast@0.3.5)(nuxt@3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1))(vue@3.5.13(typescript@5.8.3))
|
||||
ai:
|
||||
specifier: ^4.3.10
|
||||
version: 4.3.10(react@19.1.0)(zod@3.24.3)
|
||||
@@ -280,7 +280,7 @@ importers:
|
||||
version: 0.13.1(react@19.1.0)(vue@3.5.13(typescript@5.8.3))
|
||||
nuxt:
|
||||
specifier: ^3.16.2
|
||||
version: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1)
|
||||
version: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1)
|
||||
nuxt-component-meta:
|
||||
specifier: ^0.11.0
|
||||
version: 0.11.0(magicast@0.3.5)
|
||||
@@ -338,10 +338,17 @@ importers:
|
||||
version: 0.8.25(db0@0.3.2(better-sqlite3@11.9.1))(ioredis@5.6.0)(magicast@0.3.5)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))
|
||||
nuxt:
|
||||
specifier: ^3.16.2
|
||||
version: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1)
|
||||
version: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1)
|
||||
zod:
|
||||
specifier: ^3.24.3
|
||||
version: 3.24.3
|
||||
devDependencies:
|
||||
typescript:
|
||||
specifier: ^5.8.3
|
||||
version: 5.8.3
|
||||
vue-tsc:
|
||||
specifier: ^2.2.10
|
||||
version: 2.2.10(typescript@5.8.3)
|
||||
|
||||
playground-vue:
|
||||
dependencies:
|
||||
@@ -368,8 +375,8 @@ importers:
|
||||
specifier: ^6.3.3
|
||||
version: 6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1)
|
||||
vue-tsc:
|
||||
specifier: 2.2.0
|
||||
version: 2.2.0(typescript@5.8.3)
|
||||
specifier: ^2.2.10
|
||||
version: 2.2.10(typescript@5.8.3)
|
||||
|
||||
packages:
|
||||
|
||||
@@ -2433,14 +2440,6 @@ packages:
|
||||
'@vue/devtools-shared@7.7.2':
|
||||
resolution: {integrity: sha512-uBFxnp8gwW2vD6FrJB8JZLUzVb6PNRG0B0jBnHsOH8uKyva2qINY8PTF5Te4QlTbMDqU5K6qtJDr6cNsKWhbOA==}
|
||||
|
||||
'@vue/language-core@2.2.0':
|
||||
resolution: {integrity: sha512-O1ZZFaaBGkKbsRfnVH1ifOK1/1BUkyK+3SQsfnh6PmMmD4qJcTU8godCeA96jjDRTL6zgnK7YzCHfaUlH2r0Mw==}
|
||||
peerDependencies:
|
||||
typescript: '*'
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
|
||||
'@vue/language-core@2.2.10':
|
||||
resolution: {integrity: sha512-+yNoYx6XIKuAO8Mqh1vGytu8jkFEOH5C8iOv3i8Z/65A7x9iAOXA97Q+PqZ3nlm2lxf5rOJuIGI/wDtx/riNYw==}
|
||||
peerDependencies:
|
||||
@@ -2607,9 +2606,6 @@ packages:
|
||||
ajv@6.12.6:
|
||||
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
|
||||
|
||||
alien-signals@0.4.14:
|
||||
resolution: {integrity: sha512-itUAVzhczTmP2U5yX67xVpsbbOiquusbWVyA9N+sy6+r6YVbFkahXvNCeEPWEOMhwDYwbVbGHFkVL03N9I5g+Q==}
|
||||
|
||||
alien-signals@1.0.10:
|
||||
resolution: {integrity: sha512-pBrgovDvA/c55/aA+ar5pxNCvjQB5IlODtpOQXmUyrpclWIsHmUMsfIuCWsSU/l1iLU2O3ZhICdPaYTsuvGu8Q==}
|
||||
|
||||
@@ -4897,7 +4893,7 @@ packages:
|
||||
typescript: '>=5.7.3'
|
||||
vue: ^3.5.13
|
||||
vue-sfc-transformer: ^0.1.1
|
||||
vue-tsc: 2.2.0
|
||||
vue-tsc: ^1.8.27 || ^2.0.21
|
||||
peerDependenciesMeta:
|
||||
sass:
|
||||
optional: true
|
||||
@@ -6383,12 +6379,8 @@ packages:
|
||||
unifont@0.2.0:
|
||||
resolution: {integrity: sha512-RoF14/tOhLvDa7R5K6A3PjsfJVFKvadvRpWjfV1ttabUe9704P1ie9z1ABLWEts/8SxrBVePav/XhgeFNltpsw==}
|
||||
|
||||
unimport@4.1.3:
|
||||
resolution: {integrity: sha512-H+IVJ7rAkE3b+oC8rSJ2FsPaVsweeMC8eKZc+C6Mz7+hxDF45AnrY/tVCNRBvzMwWNcJEV67WdAVcal27iMjOw==}
|
||||
engines: {node: '>=18.12.0'}
|
||||
|
||||
unimport@5.0.0:
|
||||
resolution: {integrity: sha512-8jL3T+FKDg+qLFX55X9j92uFRqH5vWrNlf/eJb5IQlQB5q5wjooXQDXP1ulhJJQHbosBmlKhBo/ZVS5jHlcJGA==}
|
||||
unimport@4.1.1:
|
||||
resolution: {integrity: sha512-j9+fijH6aDd05yv1fXlyt7HSxtOWtGtrZeYTVBsSUg57Iuf+Ps2itIZjeyu7bEQ4k0WOgYhHrdW8m/pJgOpl5g==}
|
||||
engines: {node: '>=18.12.0'}
|
||||
|
||||
unist-builder@4.0.0:
|
||||
@@ -6612,7 +6604,7 @@ packages:
|
||||
vite: '>=2.0.0'
|
||||
vls: '*'
|
||||
vti: '*'
|
||||
vue-tsc: 2.2.0
|
||||
vue-tsc: ~2.2.2
|
||||
peerDependenciesMeta:
|
||||
'@biomejs/biome':
|
||||
optional: true
|
||||
@@ -6769,8 +6761,8 @@ packages:
|
||||
esbuild: '*'
|
||||
vue: ^3.5.13
|
||||
|
||||
vue-tsc@2.2.0:
|
||||
resolution: {integrity: sha512-gtmM1sUuJ8aSb0KoAFmK9yMxb8TxjewmxqTJ1aKphD5Cbu0rULFY6+UQT51zW7SpUcenfPUuflKyVwyx9Qdnxg==}
|
||||
vue-tsc@2.2.10:
|
||||
resolution: {integrity: sha512-jWZ1xSaNbabEV3whpIDMbjVSVawjAyW+x1n3JeGQo7S0uv2n9F/JMgWW90tGWNFRKya4YwKMZgCtr0vRAM7DeQ==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
typescript: '>=5.0.0'
|
||||
@@ -8160,7 +8152,7 @@ snapshots:
|
||||
std-env: 3.9.0
|
||||
ufo: 1.6.1
|
||||
unctx: 2.4.1
|
||||
unimport: 4.1.3
|
||||
unimport: 4.1.1
|
||||
untyped: 2.0.0
|
||||
transitivePeerDependencies:
|
||||
- magicast
|
||||
@@ -8187,12 +8179,12 @@ snapshots:
|
||||
tinyglobby: 0.2.13
|
||||
ufo: 1.6.1
|
||||
unctx: 2.4.1
|
||||
unimport: 5.0.0
|
||||
unimport: 4.1.1
|
||||
untyped: 2.0.0
|
||||
transitivePeerDependencies:
|
||||
- magicast
|
||||
|
||||
'@nuxt/module-builder@1.0.1(@nuxt/cli@3.24.0(magicast@0.3.5))(esbuild@0.25.2)(typescript@5.8.3)(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))':
|
||||
'@nuxt/module-builder@1.0.1(@nuxt/cli@3.24.0(magicast@0.3.5))(esbuild@0.25.2)(typescript@5.8.3)(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))':
|
||||
dependencies:
|
||||
'@nuxt/cli': 3.24.0(magicast@0.3.5)
|
||||
citty: 0.1.6
|
||||
@@ -8200,13 +8192,13 @@ snapshots:
|
||||
defu: 6.1.4
|
||||
jiti: 2.4.2
|
||||
magic-regexp: 0.8.0
|
||||
mkdist: 2.3.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
mkdist: 2.3.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
mlly: 1.7.4
|
||||
pathe: 2.0.3
|
||||
pkg-types: 2.1.0
|
||||
tsconfck: 3.1.5(typescript@5.8.3)
|
||||
typescript: 5.8.3
|
||||
unbuild: 3.5.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
unbuild: 3.5.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
vue-sfc-transformer: 0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3))
|
||||
transitivePeerDependencies:
|
||||
- esbuild
|
||||
@@ -8320,7 +8312,7 @@ snapshots:
|
||||
- supports-color
|
||||
- vue
|
||||
|
||||
'@nuxt/vite-builder@3.16.2(@types/node@22.13.14)(eslint@9.25.1(jiti@2.4.2))(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))(yaml@2.7.1)':
|
||||
'@nuxt/vite-builder@3.16.2(@types/node@22.13.14)(eslint@9.25.1(jiti@2.4.2))(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))(yaml@2.7.1)':
|
||||
dependencies:
|
||||
'@nuxt/kit': 3.16.2(magicast@0.3.5)
|
||||
'@rollup/plugin-replace': 6.0.2(rollup@4.34.9)
|
||||
@@ -8353,7 +8345,7 @@ snapshots:
|
||||
unplugin: 2.3.2
|
||||
vite: 6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1)
|
||||
vite-node: 3.1.2(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1)
|
||||
vite-plugin-checker: 0.9.1(eslint@9.25.1(jiti@2.4.2))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))
|
||||
vite-plugin-checker: 0.9.1(eslint@9.25.1(jiti@2.4.2))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
vue-bundle-renderer: 2.1.1
|
||||
transitivePeerDependencies:
|
||||
@@ -9482,19 +9474,6 @@ snapshots:
|
||||
dependencies:
|
||||
rfdc: 1.4.1
|
||||
|
||||
'@vue/language-core@2.2.0(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@volar/language-core': 2.4.12
|
||||
'@vue/compiler-dom': 3.5.13
|
||||
'@vue/compiler-vue2': 2.7.16
|
||||
'@vue/shared': 3.5.13
|
||||
alien-signals: 0.4.14
|
||||
minimatch: 9.0.5
|
||||
muggle-string: 0.4.1
|
||||
path-browserify: 1.0.1
|
||||
optionalDependencies:
|
||||
typescript: 5.8.3
|
||||
|
||||
'@vue/language-core@2.2.10(typescript@5.8.3)':
|
||||
dependencies:
|
||||
'@volar/language-core': 2.4.12
|
||||
@@ -9579,13 +9558,13 @@ snapshots:
|
||||
|
||||
'@vueuse/metadata@13.1.0': {}
|
||||
|
||||
'@vueuse/nuxt@13.1.0(magicast@0.3.5)(nuxt@3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1))(vue@3.5.13(typescript@5.8.3))':
|
||||
'@vueuse/nuxt@13.1.0(magicast@0.3.5)(nuxt@3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1))(vue@3.5.13(typescript@5.8.3))':
|
||||
dependencies:
|
||||
'@nuxt/kit': 3.17.0(magicast@0.3.5)
|
||||
'@vueuse/core': 13.1.0(vue@3.5.13(typescript@5.8.3))
|
||||
'@vueuse/metadata': 13.1.0
|
||||
local-pkg: 1.1.1
|
||||
nuxt: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1)
|
||||
nuxt: 3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1)
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
transitivePeerDependencies:
|
||||
- magicast
|
||||
@@ -9654,8 +9633,6 @@ snapshots:
|
||||
json-schema-traverse: 0.4.1
|
||||
uri-js: 4.4.1
|
||||
|
||||
alien-signals@0.4.14: {}
|
||||
|
||||
alien-signals@1.0.10: {}
|
||||
|
||||
ansi-escapes@4.3.2:
|
||||
@@ -12254,7 +12231,7 @@ snapshots:
|
||||
|
||||
mkdirp@3.0.1: {}
|
||||
|
||||
mkdist@2.3.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3)):
|
||||
mkdist@2.3.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3)):
|
||||
dependencies:
|
||||
autoprefixer: 10.4.21(postcss@8.5.3)
|
||||
citty: 0.1.6
|
||||
@@ -12273,7 +12250,7 @@ snapshots:
|
||||
typescript: 5.8.3
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
vue-sfc-transformer: 0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3))
|
||||
vue-tsc: 2.2.0(typescript@5.8.3)
|
||||
vue-tsc: 2.2.10(typescript@5.8.3)
|
||||
|
||||
mlly@1.7.4:
|
||||
dependencies:
|
||||
@@ -12403,7 +12380,7 @@ snapshots:
|
||||
uncrypto: 0.1.3
|
||||
unctx: 2.4.1
|
||||
unenv: 2.0.0-rc.15
|
||||
unimport: 4.1.3
|
||||
unimport: 4.1.1
|
||||
unplugin-utils: 0.2.4
|
||||
unstorage: 1.15.0(db0@0.3.2(better-sqlite3@11.9.1))(ioredis@5.6.0)
|
||||
untyped: 2.0.0
|
||||
@@ -12581,7 +12558,7 @@ snapshots:
|
||||
- magicast
|
||||
- vue
|
||||
|
||||
nuxt@3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3))(yaml@2.7.1):
|
||||
nuxt@3.16.2(@parcel/watcher@2.5.1)(@types/node@22.13.14)(better-sqlite3@11.9.1)(db0@0.3.2(better-sqlite3@11.9.1))(eslint@9.25.1(jiti@2.4.2))(ioredis@5.6.0)(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3))(yaml@2.7.1):
|
||||
dependencies:
|
||||
'@nuxt/cli': 3.24.0(magicast@0.3.5)
|
||||
'@nuxt/devalue': 2.0.2
|
||||
@@ -12589,7 +12566,7 @@ snapshots:
|
||||
'@nuxt/kit': 3.16.2(magicast@0.3.5)
|
||||
'@nuxt/schema': 3.16.2
|
||||
'@nuxt/telemetry': 2.6.6(magicast@0.3.5)
|
||||
'@nuxt/vite-builder': 3.16.2(@types/node@22.13.14)(eslint@9.25.1(jiti@2.4.2))(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))(yaml@2.7.1)
|
||||
'@nuxt/vite-builder': 3.16.2(@types/node@22.13.14)(eslint@9.25.1(jiti@2.4.2))(lightningcss@1.29.2)(magicast@0.3.5)(meow@13.2.0)(optionator@0.9.4)(rollup@4.34.9)(terser@5.39.0)(typescript@5.8.3)(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))(yaml@2.7.1)
|
||||
'@oxc-parser/wasm': 0.60.0
|
||||
'@unhead/vue': 2.0.8(vue@3.5.13(typescript@5.8.3))
|
||||
'@vue/shared': 3.5.13
|
||||
@@ -12637,7 +12614,7 @@ snapshots:
|
||||
ultrahtml: 1.5.3
|
||||
uncrypto: 0.1.3
|
||||
unctx: 2.4.1
|
||||
unimport: 4.1.3
|
||||
unimport: 4.1.1
|
||||
unplugin: 2.3.2
|
||||
unplugin-vue-router: 0.12.0(vue-router@4.5.1(vue@3.5.13(typescript@5.8.3)))(vue@3.5.13(typescript@5.8.3))
|
||||
unstorage: 1.15.0(db0@0.3.2(better-sqlite3@11.9.1))(ioredis@5.6.0)
|
||||
@@ -14161,7 +14138,7 @@ snapshots:
|
||||
|
||||
ultrahtml@1.5.3: {}
|
||||
|
||||
unbuild@3.5.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3)):
|
||||
unbuild@3.5.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3)):
|
||||
dependencies:
|
||||
'@rollup/plugin-alias': 5.1.1(rollup@4.34.9)
|
||||
'@rollup/plugin-commonjs': 28.0.3(rollup@4.34.9)
|
||||
@@ -14177,7 +14154,7 @@ snapshots:
|
||||
hookable: 5.5.3
|
||||
jiti: 2.4.2
|
||||
magic-string: 0.30.17
|
||||
mkdist: 2.3.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.0(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
mkdist: 2.3.0(typescript@5.8.3)(vue-sfc-transformer@0.1.8(esbuild@0.25.2)(vue@3.5.13(typescript@5.8.3)))(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3))
|
||||
mlly: 1.7.4
|
||||
pathe: 2.0.3
|
||||
pkg-types: 2.1.0
|
||||
@@ -14260,37 +14237,20 @@ snapshots:
|
||||
css-tree: 3.1.0
|
||||
ohash: 2.0.11
|
||||
|
||||
unimport@4.1.3:
|
||||
unimport@4.1.1:
|
||||
dependencies:
|
||||
acorn: 8.14.1
|
||||
escape-string-regexp: 5.0.0
|
||||
estree-walker: 3.0.3
|
||||
fast-glob: 3.3.3
|
||||
local-pkg: 1.1.1
|
||||
magic-string: 0.30.17
|
||||
mlly: 1.7.4
|
||||
pathe: 2.0.3
|
||||
picomatch: 4.0.2
|
||||
pkg-types: 2.1.0
|
||||
pkg-types: 1.3.1
|
||||
scule: 1.3.0
|
||||
strip-literal: 3.0.0
|
||||
tinyglobby: 0.2.13
|
||||
unplugin: 2.3.2
|
||||
unplugin-utils: 0.2.4
|
||||
|
||||
unimport@5.0.0:
|
||||
dependencies:
|
||||
acorn: 8.14.1
|
||||
escape-string-regexp: 5.0.0
|
||||
estree-walker: 3.0.3
|
||||
local-pkg: 1.1.1
|
||||
magic-string: 0.30.17
|
||||
mlly: 1.7.4
|
||||
pathe: 2.0.3
|
||||
picomatch: 4.0.2
|
||||
pkg-types: 2.1.0
|
||||
scule: 1.3.0
|
||||
strip-literal: 3.0.0
|
||||
tinyglobby: 0.2.13
|
||||
unplugin: 2.3.2
|
||||
unplugin-utils: 0.2.4
|
||||
|
||||
@@ -14333,7 +14293,7 @@ snapshots:
|
||||
local-pkg: 1.1.1
|
||||
magic-string: 0.30.17
|
||||
picomatch: 4.0.2
|
||||
unimport: 4.1.3
|
||||
unimport: 4.1.1
|
||||
unplugin: 2.3.2
|
||||
unplugin-utils: 0.2.4
|
||||
optionalDependencies:
|
||||
@@ -14532,7 +14492,7 @@ snapshots:
|
||||
- tsx
|
||||
- yaml
|
||||
|
||||
vite-plugin-checker@0.9.1(eslint@9.25.1(jiti@2.4.2))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.0(typescript@5.8.3)):
|
||||
vite-plugin-checker@0.9.1(eslint@9.25.1(jiti@2.4.2))(meow@13.2.0)(optionator@0.9.4)(typescript@5.8.3)(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1))(vue-tsc@2.2.10(typescript@5.8.3)):
|
||||
dependencies:
|
||||
'@babel/code-frame': 7.26.2
|
||||
chokidar: 3.6.0
|
||||
@@ -14549,7 +14509,7 @@ snapshots:
|
||||
meow: 13.2.0
|
||||
optionator: 0.9.4
|
||||
typescript: 5.8.3
|
||||
vue-tsc: 2.2.0(typescript@5.8.3)
|
||||
vue-tsc: 2.2.10(typescript@5.8.3)
|
||||
|
||||
vite-plugin-inspect@11.0.0(@nuxt/kit@3.17.0(magicast@0.3.5))(vite@6.3.3(@types/node@22.13.14)(jiti@2.4.2)(lightningcss@1.29.2)(terser@5.39.0)(yaml@2.7.1)):
|
||||
dependencies:
|
||||
@@ -14710,10 +14670,10 @@ snapshots:
|
||||
esbuild: 0.25.2
|
||||
vue: 3.5.13(typescript@5.8.3)
|
||||
|
||||
vue-tsc@2.2.0(typescript@5.8.3):
|
||||
vue-tsc@2.2.10(typescript@5.8.3):
|
||||
dependencies:
|
||||
'@volar/typescript': 2.4.12
|
||||
'@vue/language-core': 2.2.0(typescript@5.8.3)
|
||||
'@vue/language-core': 2.2.10(typescript@5.8.3)
|
||||
typescript: 5.8.3
|
||||
|
||||
vue@3.5.13(typescript@5.8.3):
|
||||
|
||||
@@ -11,7 +11,7 @@ export type RadioGroupItem = {
|
||||
label?: string
|
||||
description?: string
|
||||
disabled?: boolean
|
||||
value?: string
|
||||
value?: RadioGroupValue
|
||||
[key: string]: any
|
||||
} | RadioGroupValue
|
||||
|
||||
|
||||
@@ -21,12 +21,16 @@ interface ManagedOverlayOptionsPrivate<T extends Component> {
|
||||
}
|
||||
export type Overlay = OverlayOptions<Component> & ManagedOverlayOptionsPrivate<Component>
|
||||
|
||||
interface OverlayInstance<T extends Component> extends Omit<ManagedOverlayOptionsPrivate<T>, 'component'> {
|
||||
type OverlayInstance<T extends Component> = Omit<ManagedOverlayOptionsPrivate<T>, 'component'> & {
|
||||
id: symbol
|
||||
result: Promise<CloseEventArgType<ComponentEmit<T>>>
|
||||
open: (props?: ComponentProps<T>) => Omit<OverlayInstance<T>, 'open' | 'close' | 'patch' | 'modelValue' | 'resolvePromise'>
|
||||
open: (props?: ComponentProps<T>) => OpenedOverlay<T>
|
||||
close: (value?: any) => void
|
||||
patch: (props: Partial<ComponentProps<T>>) => void
|
||||
|
||||
}
|
||||
|
||||
type OpenedOverlay<T extends Component> = Omit<OverlayInstance<T>, 'open' | 'close' | 'patch' | 'modelValue' | 'resolvePromise'> & {
|
||||
result: Promise<CloseEventArgType<ComponentEmit<T>>>
|
||||
}
|
||||
|
||||
function _useOverlay() {
|
||||
@@ -48,14 +52,13 @@ function _useOverlay() {
|
||||
|
||||
return {
|
||||
...options,
|
||||
result: new Promise(() => {}),
|
||||
open: <T extends Component>(props?: ComponentProps<T>) => open(options.id, props),
|
||||
close: value => close(options.id, value),
|
||||
patch: <T extends Component>(props: Partial<ComponentProps<T>>) => patch(options.id, props)
|
||||
}
|
||||
}
|
||||
|
||||
const open = <T extends Component>(id: symbol, props?: ComponentProps<T>) => {
|
||||
const open = <T extends Component>(id: symbol, props?: ComponentProps<T>): OpenedOverlay<T> => {
|
||||
const overlay = getOverlay(id)
|
||||
|
||||
// If props are provided, update the overlay's props
|
||||
@@ -70,9 +73,7 @@ function _useOverlay() {
|
||||
id,
|
||||
isMounted: overlay.isMounted,
|
||||
isOpen: overlay.isOpen,
|
||||
result: new Promise<any>((resolve) => {
|
||||
overlay.resolvePromise = resolve
|
||||
})
|
||||
result: new Promise<any>(resolve => overlay.resolvePromise = resolve)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -120,6 +120,11 @@ export function getTemplates(options: ModuleOptions, uiConfig: Record<string, an
|
||||
--ring-color-accented: var(--ui-border-accented);
|
||||
--ring-color-inverted: var(--ui-border-inverted);
|
||||
--ring-color-bg: var(--ui-bg);
|
||||
--ring-offset-color-default: var(--ui-border);
|
||||
--ring-offset-color-muted: var(--ui-border-muted);
|
||||
--ring-offset-color-accented: var(--ui-border-accented);
|
||||
--ring-offset-color-inverted: var(--ui-border-inverted);
|
||||
--ring-offset-color-bg: var(--ui-bg);
|
||||
--divide-color-default: var(--ui-border);
|
||||
--divide-color-muted: var(--ui-border-muted);
|
||||
--divide-color-accented: var(--ui-border-accented);
|
||||
|
||||
Reference in New Issue
Block a user