@vuetify/v0 1.0.0-rc.6 → 1.0.0-rc.8
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/README.md +2 -15
- package/dist/{adapter-BI-oyZCe.d.mts → adapter-CVNRHfrz.d.mts} +1 -1
- package/dist/{adapter-CJY6aQIS.mjs → adapter-lS_VpRow.mjs} +1 -1
- package/dist/browser/index.d.ts +47 -45
- package/dist/browser/index.js +207 -131
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-aNG-L8hk.mjs → components-Cl9fclA1.mjs} +17 -20
- package/dist/composables/index.d.mts +6 -6
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-BQaa5hFV.mjs → composables-CU2JD9oM.mjs} +15 -13
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-CG6BWB_u.mjs → createDataTable-BaYtcmAO.mjs} +3 -3
- package/dist/{createGroup-BlILHkT6.mjs → createGroup-5UjYS6_G.mjs} +1 -1
- package/dist/{createRegistry-DR7aTCxG.mjs → createRegistry-C_M475FE.mjs} +40 -29
- package/dist/{createSelection-sPv1j6DV.mjs → createSelection-BokWvmnd.mjs} +30 -14
- package/dist/{createSingle-BWN73zob.mjs → createSingle-DTqmo-GH.mjs} +1 -1
- package/dist/{createTokens-DqtwpqYn.mjs → createTokens-q-A6Ywox.mjs} +7 -7
- package/dist/data-table/index.d.mts +1 -1
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/flagsmith/index.mjs +2 -1
- package/dist/features/adapters/launchdarkly/index.mjs +8 -5
- package/dist/features/adapters/posthog/index.mjs +3 -2
- package/dist/features/index.d.mts +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-DhDj6Ko1.mjs → globals-C0tKiM_M.mjs} +1 -1
- package/dist/{index-CV7bOS7B.d.mts → index-BwNRi6BK.d.mts} +19 -17
- package/dist/{index-CfHm03dg.d.mts → index-CrFFilCd.d.mts} +2 -2
- package/dist/{index-DgPFPx_7.d.mts → index-DCtHbY0a.d.mts} +1 -1
- package/dist/{index-DF1gnhPy.d.mts → index-DOjheBVl.d.mts} +6 -9
- package/dist/{index-pM8UX1XI.d.mts → index-RGiSdjYt.d.mts} +10 -9
- package/dist/{index-BBJnOUyA.d.mts → index-u0Sy6Dif.d.mts} +2 -0
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +24 -24
- package/dist/json/web-types.json +1 -1
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +3 -0
- package/dist/locale/messages/en/index.mjs +1 -0
- package/dist/logger/adapters/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.d.mts +1 -1
- package/dist/notifications/index.mjs +2 -2
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +2 -2
- package/dist/palettes/material/index.d.mts +1 -1
- package/dist/palettes/md1/index.d.mts +1 -1
- package/dist/palettes/md2/index.d.mts +1 -1
- package/dist/palettes/radix/index.d.mts +1 -1
- package/dist/palettes/tailwind/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +3 -3
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +4 -4
- package/dist/{unhead-Cw_jAvJL.mjs → unhead-BXJ8cqN-.mjs} +2 -2
- package/dist/{useEventListener--vhbyU45.mjs → useEventListener-UJ8VS4eS.mjs} +1 -1
- package/dist/{useFeatures-DjGN0KJd.mjs → useFeatures-Cn-HGB7v.mjs} +4 -4
- package/dist/{useLocale-C7I4BsIS.mjs → useLocale-BFKJosku.mjs} +8 -5
- package/dist/{useLogger-DCvIu_Mj.mjs → useLogger-DGG3fsnB.mjs} +2 -2
- package/dist/{useNotifications-Ckm0MqnJ.mjs → useNotifications-DO10ylRQ.mjs} +3 -3
- package/dist/{usePermissions-ygx2OSjo.mjs → usePermissions-BC-ppxf2.mjs} +2 -2
- package/dist/{useRovingFocus-dH3LTiJ8.mjs → useRovingFocus-BWww4Lm1.mjs} +109 -76
- package/dist/{useRules-DlnpIwp8.mjs → useRules-CMDEY2-D.mjs} +2 -2
- package/dist/{useStorage-D_enJrep.mjs → useStorage-BkutRChm.mjs} +3 -3
- package/dist/{useTheme-DdmexROE.mjs → useTheme-CJ5fgT5y.mjs} +6 -6
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +19 -4
- package/dist/{v0-Cf5DZ4lw.d.mts → v0-C0OfckSF.d.mts} +1 -1
- package/dist/{v0-BbCNqIZ1.mjs → v0-DUvaNE4R.mjs} +1 -1
- package/dist/{v0-DFRA_hwF.mjs → v0-M7azful7.mjs} +1 -1
- package/dist/{v0-QF9ZrOlB.mjs → v0-sTRNcP5u.mjs} +2 -2
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -28,11 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
Headless Vue 3 UI primitives and composables for building modern applications and design systems. `@vuetify/v0` is the foundation of the Vuetify ecosystem, offering lightweight, unstyled building blocks with full TypeScript support and accessibility features built-in.
|
|
30
30
|
|
|
31
|
-
> **Note:** v0 is
|
|
32
|
-
|
|
33
|
-
## Primary Sponsor
|
|
34
|
-
|
|
35
|
-
This spot is open. Vuetify0 accepts one Primary Sponsor at a time — $2,000/mo gets your logo on the Vuetify0 docs site (home page + desktop sidebar on every docs page) and this README. [Become the Primary Sponsor →](https://0.vuetifyjs.com/sponsor)
|
|
31
|
+
> **Note:** v0 is a release candidate — the v1 stable set is locked. Install with `npm i @vuetify/v0@rc`. Preview APIs may still see minor, documented changes before the stable release.
|
|
36
32
|
|
|
37
33
|
## Repository Structure
|
|
38
34
|
|
|
@@ -305,16 +301,7 @@ pnpm validate
|
|
|
305
301
|
|
|
306
302
|
## Contributing
|
|
307
303
|
|
|
308
|
-
Vuetify0 is
|
|
309
|
-
|
|
310
|
-
## Supporting Vuetify
|
|
311
|
-
|
|
312
|
-
Vuetify0 is an MIT-licensed open source project. Its ongoing development is made possible by the support of sponsors and backers. If you'd like to join them, please consider:
|
|
313
|
-
|
|
314
|
-
- [Sponsor on GitHub](https://github.com/sponsors/johnleider)
|
|
315
|
-
- [Donate via Open Collective](https://opencollective.com/vuetify)
|
|
316
|
-
|
|
317
|
-
For direct support plans and fixed-scope project builds, see [Vuetify Services](https://0.vuetifyjs.com/services).
|
|
304
|
+
Vuetify0 is a release candidate — open for final validation, bug reports, and contributions. See the [Roadmap](https://0.vuetifyjs.com/roadmap#release-candidate) for what's planned and how to get involved.
|
|
318
305
|
|
|
319
306
|
## License
|
|
320
307
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ID } from "./index-CyNk9FpR.mjs";
|
|
2
|
-
import { c as TokenTicket, i as TokenContext } from "./index-
|
|
2
|
+
import { c as TokenTicket, i as TokenContext } from "./index-CrFFilCd.mjs";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/useLocale/adapters/adapter.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { V0Error, hexToRgb, isUndefined } from "./utilities/index.mjs";
|
|
2
2
|
//#region src/composables/useTheme/adapters/adapter.ts
|
|
3
3
|
var ThemeAdapter = class ThemeAdapter {
|
|
4
|
-
static UNSAFE_CSS = /url\s*\(|@import|expression\s*\(|[{}
|
|
4
|
+
static UNSAFE_CSS = /url\s*\(|src\s*\(|image\s*\(|image-set\s*\(|cross-fade\s*\(|@import|expression\s*\(|[;{}<>\\]/i;
|
|
5
5
|
static SAFE_IDENT = /^[a-zA-Z0-9_-]+$/;
|
|
6
6
|
stylesheetId = "v0-theme-stylesheet";
|
|
7
7
|
prefix;
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -946,7 +946,7 @@ interface RegistryTicket<V = unknown> {
|
|
|
946
946
|
/**
|
|
947
947
|
* The index of the ticket in the registry.
|
|
948
948
|
*
|
|
949
|
-
* @remarks Automatically managed by the registry. Assigned at registration and updated during reindexing; a supplied index is ignored — use `move()` to position a ticket. It's not recommended to manually set this.
|
|
949
|
+
* @remarks Automatically managed by the registry. Assigned at registration and updated during reindexing; a supplied index is ignored — use `move()` to position a ticket. It's not recommended to manually set this. When a removal defers its reindex — a tail-block removal, or a registry with no index-derived values — a ticket read via `values()`/`entries()` may carry a stale index until the next position-reading call (`register`/`upsert`/`browse`/`lookup`/`move`/`reorder`/`seek`) drains it. A mid-list `unregister`/`offboard` that shifts index-derived survivors reindexes eagerly, so those reads are already current.
|
|
950
950
|
*/
|
|
951
951
|
index: number;
|
|
952
952
|
/** The value associated with the ticket. If not provided, it defaults to the index. */
|
|
@@ -1122,7 +1122,7 @@ interface RegistryContext<Z extends RegistryTicketInput = RegistryTicketInput, E
|
|
|
1122
1122
|
* @param id The ID of the ticket to upsert.
|
|
1123
1123
|
* @param ticket The partial ticket data to update or insert.
|
|
1124
1124
|
* @param event Optional custom event name to emit alongside `update:ticket`. The patched ticket is dispatched as the event payload.
|
|
1125
|
-
* @remarks If the ticket exists, it will be updated in place — the ticket reference returned by `register()` remains valid and reactive (when `reactive: true`). If it doesn't exist, a new ticket will be created with the given ID and data
|
|
1125
|
+
* @remarks If the ticket exists, it will be updated in place — the ticket reference returned by `register()` remains valid and reactive (when `reactive: true`), and cached `keys()` / `values()` / `entries()` results stay valid (same refs, membership and order unchanged; iterating effects are not re-notified). If it doesn't exist, a new ticket will be created with the given ID and data, which invalidates the cached results.
|
|
1126
1126
|
*
|
|
1127
1127
|
* @see https://0.vuetifyjs.com/composables/registration/create-registry
|
|
1128
1128
|
*
|
|
@@ -1464,12 +1464,13 @@ interface RegistryContext<Z extends RegistryTicketInput = RegistryTicketInput, E
|
|
|
1464
1464
|
* @param ids An array of ticket IDs to unregister.
|
|
1465
1465
|
* @returns An array of `Partial<Z>` — the inputs that were registered, with
|
|
1466
1466
|
* registry-managed fields (`index`, `valueIsIndex`, `unregister`) stripped.
|
|
1467
|
-
*
|
|
1468
|
-
*
|
|
1469
|
-
*
|
|
1470
|
-
*
|
|
1471
|
-
*
|
|
1472
|
-
*
|
|
1467
|
+
* A user-supplied `id` is preserved so identity survives the transfer; an
|
|
1468
|
+
* auto-generated `id` is stripped so the receiving registry can assign a fresh
|
|
1469
|
+
* one. The `value` is stripped only when it was index-derived (`valueIsIndex`).
|
|
1470
|
+
* Order matches the input `ids` array. Missing ids are silently skipped — the
|
|
1471
|
+
* returned array may be shorter than `ids`.
|
|
1472
|
+
* @remarks Unregisters multiple tickets in a single compaction pass, reindexing
|
|
1473
|
+
* eagerly only when index-derived survivors shift. The inverse of `onboard`: onboard takes inputs and returns outputs;
|
|
1473
1474
|
* offboard takes ids and returns the inputs back. Pair with `onboard` on a
|
|
1474
1475
|
* different registry to move tickets across registries.
|
|
1475
1476
|
*
|
|
@@ -1571,7 +1572,7 @@ interface RegistryOptions {
|
|
|
1571
1572
|
* Enable reactive behavior for registry operations
|
|
1572
1573
|
*
|
|
1573
1574
|
* @default false
|
|
1574
|
-
* @remarks When enabled, the
|
|
1575
|
+
* @remarks When enabled, tickets and the backing collection are shallowReactive, and `keys()`, `values()`, and `entries()` register a single version dependency so effects and templates re-evaluate on structural mutation. Iteration results stay cached between mutations — reactive reads cost the same as non-reactive ones.
|
|
1575
1576
|
*
|
|
1576
1577
|
* @example
|
|
1577
1578
|
* ```ts
|
|
@@ -1790,7 +1791,9 @@ interface ModelContext<Z extends ModelTicketInput = ModelTicketInput, E extends
|
|
|
1790
1791
|
* Unselect a ticket by ID
|
|
1791
1792
|
*
|
|
1792
1793
|
* @param id The ID of the ticket to unselect.
|
|
1793
|
-
* @remarks Removes the ID from `selectedIds`.
|
|
1794
|
+
* @remarks Removes the ID from `selectedIds`.
|
|
1795
|
+
* No-op if the model instance is disabled, the ticket doesn't exist, or the ticket is disabled.
|
|
1796
|
+
* Wholesale operations (`apply`, `reset`, `clear`) bypass this guard so disabled ids can always drain.
|
|
1794
1797
|
*
|
|
1795
1798
|
* @example
|
|
1796
1799
|
* ```ts
|
|
@@ -1805,7 +1808,7 @@ interface ModelContext<Z extends ModelTicketInput = ModelTicketInput, E extends
|
|
|
1805
1808
|
*
|
|
1806
1809
|
* @param id The ID of the ticket to toggle.
|
|
1807
1810
|
* @remarks Calls `select(id)` if not selected, `unselect(id)` if already selected.
|
|
1808
|
-
* No-op if the model instance is disabled.
|
|
1811
|
+
* No-op if the model instance is disabled or the ticket is disabled.
|
|
1809
1812
|
*
|
|
1810
1813
|
* @example
|
|
1811
1814
|
* ```ts
|
|
@@ -2352,11 +2355,11 @@ interface AvatarImageSlotProps {
|
|
|
2352
2355
|
}
|
|
2353
2356
|
declare const _default$12: typeof __VLS_export$157;
|
|
2354
2357
|
declare const __VLS_export$157: __VLS_WithSlots$118<_$vue.DefineComponent<AvatarImageProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
2355
|
-
load: (e: Event) => any;
|
|
2356
2358
|
error: (e: Event) => any;
|
|
2359
|
+
load: (e: Event) => any;
|
|
2357
2360
|
}, string, _$vue.PublicProps, Readonly<AvatarImageProps> & Readonly<{
|
|
2358
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
2359
2361
|
onError?: ((e: Event) => any) | undefined;
|
|
2362
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
2360
2363
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>, {
|
|
2361
2364
|
default: (props: AvatarImageSlotProps) => any;
|
|
2362
2365
|
}>;
|
|
@@ -2673,11 +2676,11 @@ declare const Avatar: {
|
|
|
2673
2676
|
*/
|
|
2674
2677
|
Image: {
|
|
2675
2678
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<AvatarImageProps> & Readonly<{
|
|
2676
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
2677
2679
|
onError?: ((e: Event) => any) | undefined;
|
|
2680
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
2678
2681
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
2679
|
-
load: (e: Event) => any;
|
|
2680
2682
|
error: (e: Event) => any;
|
|
2683
|
+
load: (e: Event) => any;
|
|
2681
2684
|
}, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
2682
2685
|
P: {};
|
|
2683
2686
|
B: {};
|
|
@@ -2686,18 +2689,18 @@ declare const Avatar: {
|
|
|
2686
2689
|
M: {};
|
|
2687
2690
|
Defaults: {};
|
|
2688
2691
|
}, Readonly<AvatarImageProps> & Readonly<{
|
|
2689
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
2690
2692
|
onError?: ((e: Event) => any) | undefined;
|
|
2693
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
2691
2694
|
}>, {}, {}, {}, {}, {}>;
|
|
2692
2695
|
__isFragment?: never;
|
|
2693
2696
|
__isTeleport?: never;
|
|
2694
2697
|
__isSuspense?: never;
|
|
2695
2698
|
} & _$vue.ComponentOptionsBase<Readonly<AvatarImageProps> & Readonly<{
|
|
2696
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
2697
2699
|
onError?: ((e: Event) => any) | undefined;
|
|
2700
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
2698
2701
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
2699
|
-
load: (e: Event) => any;
|
|
2700
2702
|
error: (e: Event) => any;
|
|
2703
|
+
load: (e: Event) => any;
|
|
2701
2704
|
}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
2702
2705
|
$slots: {
|
|
2703
2706
|
default: (props: AvatarImageSlotProps) => any;
|
|
@@ -8361,12 +8364,12 @@ interface ImageImgSlotProps {
|
|
|
8361
8364
|
}
|
|
8362
8365
|
declare const _default$70: typeof __VLS_export$98;
|
|
8363
8366
|
declare const __VLS_export$98: __VLS_WithSlots$73<_$vue.DefineComponent<ImageImgProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
8364
|
-
load: (e: Event) => any;
|
|
8365
8367
|
error: (e: Event) => any;
|
|
8368
|
+
load: (e: Event) => any;
|
|
8366
8369
|
loadstart: (src: string) => any;
|
|
8367
8370
|
}, string, _$vue.PublicProps, Readonly<ImageImgProps> & Readonly<{
|
|
8368
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
8369
8371
|
onError?: ((e: Event) => any) | undefined;
|
|
8372
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
8370
8373
|
onLoadstart?: ((src: string) => any) | undefined;
|
|
8371
8374
|
}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>, {
|
|
8372
8375
|
default: (props: ImageImgSlotProps) => any;
|
|
@@ -8483,12 +8486,12 @@ declare const Image: {
|
|
|
8483
8486
|
*/
|
|
8484
8487
|
Img: {
|
|
8485
8488
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<ImageImgProps> & Readonly<{
|
|
8486
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
8487
8489
|
onError?: ((e: Event) => any) | undefined;
|
|
8490
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
8488
8491
|
onLoadstart?: ((src: string) => any) | undefined;
|
|
8489
8492
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
8490
|
-
load: (e: Event) => any;
|
|
8491
8493
|
error: (e: Event) => any;
|
|
8494
|
+
load: (e: Event) => any;
|
|
8492
8495
|
loadstart: (src: string) => any;
|
|
8493
8496
|
}, _$vue.PublicProps, {}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
8494
8497
|
P: {};
|
|
@@ -8498,20 +8501,20 @@ declare const Image: {
|
|
|
8498
8501
|
M: {};
|
|
8499
8502
|
Defaults: {};
|
|
8500
8503
|
}, Readonly<ImageImgProps> & Readonly<{
|
|
8501
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
8502
8504
|
onError?: ((e: Event) => any) | undefined;
|
|
8505
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
8503
8506
|
onLoadstart?: ((src: string) => any) | undefined;
|
|
8504
8507
|
}>, {}, {}, {}, {}, {}>;
|
|
8505
8508
|
__isFragment?: never;
|
|
8506
8509
|
__isTeleport?: never;
|
|
8507
8510
|
__isSuspense?: never;
|
|
8508
8511
|
} & _$vue.ComponentOptionsBase<Readonly<ImageImgProps> & Readonly<{
|
|
8509
|
-
onLoad?: ((e: Event) => any) | undefined;
|
|
8510
8512
|
onError?: ((e: Event) => any) | undefined;
|
|
8513
|
+
onLoad?: ((e: Event) => any) | undefined;
|
|
8511
8514
|
onLoadstart?: ((src: string) => any) | undefined;
|
|
8512
8515
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
8513
|
-
load: (e: Event) => any;
|
|
8514
8516
|
error: (e: Event) => any;
|
|
8517
|
+
load: (e: Event) => any;
|
|
8515
8518
|
loadstart: (src: string) => any;
|
|
8516
8519
|
}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
8517
8520
|
$slots: {
|
|
@@ -11540,7 +11543,7 @@ interface SliderContext extends Omit<ModelContext<SliderTicketInput, SliderTicke
|
|
|
11540
11543
|
* @param value Raw value to set.
|
|
11541
11544
|
*
|
|
11542
11545
|
* @remarks
|
|
11543
|
-
* No-op when `readonly` is `true`. The value is snapped to step, clamped to min/max,
|
|
11546
|
+
* No-op when `disabled` or `readonly` is `true`. The value is snapped to step, clamped to min/max,
|
|
11544
11547
|
* and constrained by adjacent thumbs when `crossover` is `false`.
|
|
11545
11548
|
*
|
|
11546
11549
|
* @see {@link up} and {@link down} for relative adjustments.
|
|
@@ -11817,7 +11820,7 @@ interface TokenAlias<T = unknown> {
|
|
|
11817
11820
|
$deprecated?: boolean | string;
|
|
11818
11821
|
}
|
|
11819
11822
|
type TokenPrimitive = string | number | boolean | null | Function;
|
|
11820
|
-
type TokenValue = TokenPrimitive | TokenAlias;
|
|
11823
|
+
type TokenValue = TokenPrimitive | TokenAlias | TokenCollection;
|
|
11821
11824
|
interface TokenCollection {
|
|
11822
11825
|
[key: string]: TokenValue | TokenCollection;
|
|
11823
11826
|
}
|
|
@@ -15995,20 +15998,20 @@ declare const createTooltipContext: <_E extends TooltipContext = TooltipContext>
|
|
|
15995
15998
|
* @see https://standardschema.dev/
|
|
15996
15999
|
*/
|
|
15997
16000
|
interface StandardSchemaIssue {
|
|
15998
|
-
message: string;
|
|
15999
|
-
path?: ReadonlyArray<{
|
|
16000
|
-
key: PropertyKey;
|
|
16001
|
-
}
|
|
16001
|
+
readonly message: string;
|
|
16002
|
+
readonly path?: ReadonlyArray<PropertyKey | {
|
|
16003
|
+
readonly key: PropertyKey;
|
|
16004
|
+
}> | undefined;
|
|
16002
16005
|
}
|
|
16003
16006
|
interface StandardSchemaResult {
|
|
16004
|
-
value?: unknown;
|
|
16005
|
-
issues?: ReadonlyArray<StandardSchemaIssue
|
|
16007
|
+
readonly value?: unknown;
|
|
16008
|
+
readonly issues?: ReadonlyArray<StandardSchemaIssue> | undefined;
|
|
16006
16009
|
}
|
|
16007
16010
|
interface StandardSchemaV1 {
|
|
16008
|
-
'~standard': {
|
|
16009
|
-
version: 1;
|
|
16010
|
-
vendor: string;
|
|
16011
|
-
validate: (value: unknown) => StandardSchemaResult | Promise<StandardSchemaResult>;
|
|
16011
|
+
readonly '~standard': {
|
|
16012
|
+
readonly version: 1;
|
|
16013
|
+
readonly vendor: string;
|
|
16014
|
+
readonly validate: (value: unknown) => StandardSchemaResult | Promise<StandardSchemaResult>;
|
|
16012
16015
|
};
|
|
16013
16016
|
}
|
|
16014
16017
|
/**
|
|
@@ -22539,12 +22542,9 @@ interface SwitchThumbSlotProps {
|
|
|
22539
22542
|
isChecked: boolean;
|
|
22540
22543
|
/** Whether the parent switch is in a mixed/indeterminate state */
|
|
22541
22544
|
isMixed: boolean;
|
|
22542
|
-
/** Pre-computed data attributes
|
|
22545
|
+
/** Pre-computed data attributes for styling */
|
|
22543
22546
|
attrs: {
|
|
22544
22547
|
'data-state': SwitchState;
|
|
22545
|
-
'style': {
|
|
22546
|
-
visibility: 'visible' | 'hidden';
|
|
22547
|
-
};
|
|
22548
22548
|
};
|
|
22549
22549
|
}
|
|
22550
22550
|
declare const _default$146: typeof __VLS_export$22;
|
|
@@ -22820,10 +22820,10 @@ declare const Switch: {
|
|
|
22820
22820
|
};
|
|
22821
22821
|
});
|
|
22822
22822
|
/**
|
|
22823
|
-
* Sliding knob
|
|
22823
|
+
* Sliding knob for switches.
|
|
22824
22824
|
*
|
|
22825
|
-
* Renders as a span with `data-state` attribute for CSS styling.
|
|
22826
|
-
*
|
|
22825
|
+
* Renders as a span with a `data-state` attribute for CSS styling.
|
|
22826
|
+
* Always visible; drive its off/on position and color from `data-state`.
|
|
22827
22827
|
* Must be used within a Switch.Root or Switch.SelectAll.
|
|
22828
22828
|
*
|
|
22829
22829
|
* @see https://0.vuetifyjs.com/components/forms/switch
|
|
@@ -24854,7 +24854,7 @@ declare const selfClosingTags: ["area", "base", "br", "col", "embed", "hr", "img
|
|
|
24854
24854
|
* Set of HTML elements that are self-closing (void elements)
|
|
24855
24855
|
* These elements cannot have children and don't need closing tags
|
|
24856
24856
|
*/
|
|
24857
|
-
declare const SELF_CLOSING_TAGS: Set<"area" | "base" | "br" | "col" | "embed" | "hr" | "img" | "
|
|
24857
|
+
declare const SELF_CLOSING_TAGS: Set<"input" | "area" | "base" | "br" | "col" | "embed" | "hr" | "img" | "link" | "meta" | "source" | "track" | "wbr">;
|
|
24858
24858
|
/**
|
|
24859
24859
|
* Check if an element is self-closing
|
|
24860
24860
|
*/
|
|
@@ -25252,6 +25252,8 @@ declare function mergeDeep<T extends object>(target: T, ...sources: DeepPartial<
|
|
|
25252
25252
|
* - In component setup/lifecycle: Uses Vue's `useId()` for SSR-safe hydration
|
|
25253
25253
|
* - Outside components: Falls back to sequential counter (`v0-0`, `v0-1`, ...)
|
|
25254
25254
|
* - Vapor mode compatible
|
|
25255
|
+
* - IDs are sequential and predictable — intended for DOM `id`/ARIA wiring only.
|
|
25256
|
+
* Never use them as security tokens (CSRF tokens, session ids, capabilities).
|
|
25255
25257
|
*
|
|
25256
25258
|
* @example
|
|
25257
25259
|
* ```ts
|