@vuetify/v0 1.2.1 → 1.2.2
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 +29 -0
- package/dist/{adapter-TiGrumDi.mjs → adapter-B6R54NMr.mjs} +1 -1
- package/dist/{adapter-D5nT3bLw.d.mts → adapter-BC1VWu0H.d.mts} +0 -1
- package/dist/{adapter-PDTe5nFT.d.mts → adapter-BP7jNtvH.d.mts} +3 -4
- package/dist/{adapter-FckJSz_o.d.mts → adapter-Bi799Zn7.d.mts} +2 -3
- package/dist/{adapter-ClB-53_F.d.mts → adapter-CbkRdMju.d.mts} +0 -1
- package/dist/{adapter-BiQV5j8B.mjs → adapter-DMzQI6ma.mjs} +8 -6
- package/dist/{adapter-BXunW_mw.d.mts → adapter-w8SEWO2v.d.mts} +1 -2
- package/dist/{adapter-BuSfpxur.mjs → adapter-z5dFxm0f.mjs} +1 -1
- package/dist/browser/index.d.ts +1134 -1016
- package/dist/browser/index.js +472 -461
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-MCFhfNlt.mjs → components-CSFzUH3d.mjs} +365 -360
- package/dist/composables/index.d.mts +22 -22
- package/dist/composables/index.mjs +40 -40
- package/dist/{composables-8xtFVviy.mjs → composables-CLNFa1uu.mjs} +55 -47
- package/dist/{consola-cad-VEV2.mjs → consola-B9K6H_EB.mjs} +1 -1
- package/dist/{consola-CdMU53rU.d.mts → consola-BGm_oQkS.d.mts} +1 -2
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +2 -2
- package/dist/{createDataTable-OCGnpy-N.mjs → createDataTable-CfJCltDt.mjs} +14 -12
- package/dist/{createGroup-DtVYu-VY.mjs → createGroup-CKE5o-VH.mjs} +5 -4
- package/dist/{createPlugin-Oo6t-vBw.mjs → createPlugin-YYkwbiUd.mjs} +3 -2
- package/dist/{createRegistry-DSQiALGi.mjs → createRegistry-D31hPifx.mjs} +8 -5
- package/dist/{createSelection-TB5oK1FG.mjs → createSelection-DdTgggyM.mjs} +4 -3
- package/dist/{createSingle-CV1qigP2.mjs → createSingle-hQWwVTVX.mjs} +4 -3
- package/dist/{createTokens-B0CqJEL6.mjs → createTokens-DuZrXRfN.mjs} +6 -5
- package/dist/data-table/adapters/client/index.d.mts +1 -1
- package/dist/data-table/adapters/client/index.mjs +1 -1
- package/dist/data-table/adapters/index.d.mts +6 -5
- package/dist/data-table/adapters/index.mjs +4 -4
- package/dist/data-table/adapters/server/index.d.mts +1 -1
- package/dist/data-table/adapters/server/index.mjs +1 -1
- package/dist/data-table/adapters/virtual/index.d.mts +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +1 -1
- package/dist/data-table/index.d.mts +6 -6
- package/dist/data-table/index.mjs +5 -5
- package/dist/date/index.d.mts +1 -2
- package/dist/date/index.mjs +3 -3
- package/dist/features/adapters/flagsmith/index.d.mts +1 -1
- package/dist/features/adapters/flagsmith/index.mjs +1 -1
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -1
- package/dist/features/adapters/launchdarkly/index.mjs +2 -1
- package/dist/features/adapters/posthog/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.mjs +3 -2
- package/dist/features/index.d.mts +3 -3
- package/dist/features/index.mjs +2 -2
- package/dist/{flagsmith-DcIDrI7_.d.mts → flagsmith-BA8q5LAx.d.mts} +1 -2
- package/dist/{globals-wvVdMRFF.mjs → globals-DVcr1oW0.mjs} +1 -1
- package/dist/{htmlElements-CHXZfsZu.mjs → htmlElements-Bt1XN_d8.mjs} +1 -1
- package/dist/{index-H_hl6-4b.d.mts → index-ClUa0Bl7.d.mts} +0 -1
- package/dist/{index-Dgkt7Ve9.d.mts → index-Ct0Pmzpx.d.mts} +144 -58
- package/dist/{index-3bThcqCN.d.mts → index-DDwX_0Um.d.mts} +5 -5
- package/dist/{index-CORslci7.d.mts → index-DMQv04YO.d.mts} +2 -8
- package/dist/{index-3vvA76pZ.d.mts → index-Dlr9_rf1.d.mts} +2 -3
- package/dist/index-DmDf_FmM.d.mts +4 -0
- package/dist/{index-BTdCsSz0.d.mts → index-DqAML7MT.d.mts} +1110 -1073
- package/dist/{index-DtiaWx5U.d.mts → index-XNZrgWCq.d.mts} +1 -2
- package/dist/{index-4Z38WhA9.d.mts → index-Y6VfllT2.d.mts} +19 -20
- package/dist/index-h87SNntw.d.mts +2 -0
- package/dist/index.d.mts +25 -25
- package/dist/index.mjs +43 -43
- package/dist/json/web-types.json +1 -1
- package/dist/{launchdarkly-CUzunYol.d.mts → launchdarkly-CWhPi3lZ.d.mts} +1 -2
- package/dist/locale/adapters/index.d.mts +4 -3
- package/dist/locale/adapters/index.mjs +2 -2
- 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 -2
- package/dist/locale/adapters/vue-i18n/index.mjs +1 -1
- package/dist/locale/index.d.mts +4 -4
- package/dist/locale/index.mjs +3 -3
- package/dist/logger/adapters/consola/index.d.mts +1 -1
- package/dist/logger/adapters/consola/index.mjs +1 -1
- package/dist/logger/adapters/index.d.mts +4 -4
- package/dist/logger/adapters/index.mjs +4 -4
- package/dist/logger/adapters/pino/index.d.mts +1 -1
- package/dist/logger/adapters/pino/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.d.mts +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +6 -6
- package/dist/logger/index.mjs +5 -5
- package/dist/notifications/index.d.mts +1 -2
- package/dist/notifications/index.mjs +4 -2
- package/dist/palettes/ant/generate/index.d.mts +0 -1
- package/dist/palettes/ant/generate/index.mjs +1 -1
- package/dist/palettes/ant/index.d.mts +1 -2
- package/dist/palettes/index.d.mts +3 -4
- package/dist/palettes/leonardo/generate/index.d.mts +0 -1
- package/dist/palettes/leonardo/generate/index.mjs +1 -1
- package/dist/palettes/material/generate/index.d.mts +0 -1
- package/dist/palettes/material/generate/index.mjs +1 -1
- package/dist/palettes/material/index.d.mts +1 -2
- package/dist/palettes/md1/index.d.mts +1 -2
- package/dist/palettes/md2/index.d.mts +1 -2
- package/dist/palettes/radix/index.d.mts +1 -2
- package/dist/palettes/tailwind/index.d.mts +1 -2
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/index.mjs +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.mjs +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +2 -2
- package/dist/{pino-BscMO3RR.mjs → pino-DOI2Y-WP.mjs} +1 -1
- package/dist/{pino-DjeWBFnj.d.mts → pino-cSCLlizQ.d.mts} +1 -2
- package/dist/popover/adapters/floating-ui/index.d.mts +1 -2
- package/dist/popover/adapters/floating-ui/index.mjs +4 -3
- package/dist/popover/index.d.mts +3 -3
- package/dist/popover/index.mjs +2 -2
- package/dist/{posthog-CJAYssdr.d.mts → posthog-Bzaj2Jbd.d.mts} +1 -2
- package/dist/rules/index.d.mts +2 -2
- package/dist/rules/index.mjs +1 -1
- package/dist/{server-m7iD1vOr.mjs → server-CSXNc-my.mjs} +1 -1
- package/dist/{server-5vbJ7GGs.d.mts → server-bE0UxPFS.d.mts} +1 -2
- package/dist/storage/adapters/index.d.mts +2 -2
- package/dist/storage/adapters/index.mjs +1 -1
- package/dist/storage/adapters/memory/index.d.mts +1 -1
- package/dist/storage/adapters/memory/index.mjs +1 -1
- package/dist/storage/index.d.mts +4 -4
- package/dist/storage/index.mjs +2 -2
- 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/{toArray-MY9Kb1Qy.mjs → toArray-DCZRopC6.mjs} +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/{unhead-SyU953Pt.mjs → unhead-hPXFvbDX.mjs} +2 -2
- package/dist/{useEventListener-hF6R2p6X.mjs → useEventListener-DI-1-WPJ.mjs} +2 -2
- package/dist/{useFeatures-CTpkM6hV.mjs → useFeatures-CuTiM9YA.mjs} +4 -4
- package/dist/{useLocale-D-iWu08b.mjs → useLocale-OjumdVbi.mjs} +4 -4
- package/dist/{useLogger-CDsgHbzO.mjs → useLogger-CuGy-g9B.mjs} +3 -3
- package/dist/{useNotifications-DhNjvRt1.mjs → useNotifications-BuZuDxSy.mjs} +6 -5
- package/dist/{usePermissions-CKe8xcvz.mjs → usePermissions-CabbzZd_.mjs} +4 -4
- package/dist/{usePopover-DyAdne_S.mjs → usePopover-7WMiJ9Zt.mjs} +8 -6
- package/dist/{useRovingFocus-D0OOozbe.mjs → useRovingFocus-DuYBgzOA.mjs} +91 -78
- package/dist/{useRules-DA8bNhNq.mjs → useRules-Bg7yBYP5.mjs} +5 -5
- package/dist/{useStorage-D9c6xx4N.mjs → useStorage-BtuW9p_Q.mjs} +7 -6
- package/dist/{useTheme-BrXA5VBp.mjs → useTheme-CfrtMZFH.mjs} +6 -6
- package/dist/{useTimer-DLtkRCHw.mjs → useTimer-aOp5haHg.mjs} +1 -1
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +32 -32
- package/dist/{v0-cC-WxCLd.mjs → v0-B9gSaems.mjs} +2 -2
- package/dist/{v0-DpFVF6pD.mjs → v0-BusOrX6s.mjs} +2 -2
- package/dist/{v0-GI9U-rPA.d.mts → v0-CMqoGujd.d.mts} +1 -2
- package/dist/{v0-yZ2ZUtVF.mjs → v0-DoHWpAZn.mjs} +1 -1
- package/dist/{v0-C09lR5fc.d.mts → v0-IFGH9KS0.d.mts} +1 -2
- package/dist/{v0-CaTmC7C4.mjs → v0-Lo13oRUf.mjs} +2 -2
- package/dist/{v0-DfFK-p4X.d.mts → v0-QlSKvaAH.d.mts} +1 -2
- package/dist/{virtual-Bbu26O_h.mjs → virtual-Bsnip0cm.mjs} +1 -1
- package/dist/{virtual-JIdFLpTQ.d.mts → virtual-DrLIdUr1.d.mts} +1 -2
- package/package.json +10 -10
- package/dist/index-CX869wwk.d.mts +0 -1
- package/dist/index-CsuikFeJ.d.mts +0 -1
- /package/dist/{adapter-Chznb9Ju.mjs → adapter-B5mEUP5W.mjs} +0 -0
- /package/dist/{adapter-CrRJuxRk.mjs → adapter-B5teFrQH.mjs} +0 -0
- /package/dist/{adapter-D8zizQVP.mjs → adapter-BTNELv6-.mjs} +0 -0
- /package/dist/{adapter-ryk5H6YZ.d.mts → adapter-CHvvxw4c.d.mts} +0 -0
- /package/dist/{adapter-8UADsA3-.mjs → adapter-CxCiZYZO.mjs} +0 -0
- /package/dist/{createTrinity-z-3q9QWR.mjs → createTrinity-DJROWgXU.mjs} +0 -0
- /package/dist/{index-u_qSc2xS.d.mts → index-Bmr3SnAx.d.mts} +0 -0
- /package/dist/{index-Djhiy3nS.d.mts → index-Cyv2jtYx.d.mts} +0 -0
- /package/dist/{memory-CR6zvuaP.mjs → memory-C-Hi69Zc.mjs} +0 -0
- /package/dist/{memory-B7z1RR9r.d.mts → memory-DyA22X2q.d.mts} +0 -0
- /package/dist/{v0-Ch0yBKEj.mjs → v0-C4TLCYZJ.mjs} +0 -0
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import { a as ID, i as Extensible, o as MaybeArray } from "./index-
|
|
2
|
-
import { t as ContextTrinity } from "./index-
|
|
3
|
-
import { a as RegistryEventName, c as RegistryTicketInput, o as RegistryOptions, r as RegistryEventCallback, s as RegistryTicket, t as RegistryContext } from "./index-
|
|
4
|
-
import { i as PopoverPlacement, n as PopoverAdapterContext, t as PopoverAdapter } from "./adapter-
|
|
5
|
-
import { _ as FilterMode } from "./adapter-
|
|
6
|
-
import { _ as ColumnNode, c as DataTableOptions, n as DataTableColumnTicketInput, r as DataTableContext, t as DataTableColumnTicket } from "./index-
|
|
7
|
-
import { c as TokenTicket, i as TokenContext, o as TokenOptions, r as TokenCollection } from "./index-
|
|
8
|
-
import { A as MatchRange, k as IgnoreAccents } from "./index-
|
|
9
|
-
import { t as DateAdapter } from "./adapter-
|
|
10
|
-
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
1
|
+
import { a as ID, i as Extensible, o as MaybeArray } from "./index-XNZrgWCq.mjs";
|
|
2
|
+
import { t as ContextTrinity } from "./index-ClUa0Bl7.mjs";
|
|
3
|
+
import { a as RegistryEventName, c as RegistryTicketInput, o as RegistryOptions, r as RegistryEventCallback, s as RegistryTicket, t as RegistryContext } from "./index-Y6VfllT2.mjs";
|
|
4
|
+
import { i as PopoverPlacement, n as PopoverAdapterContext, t as PopoverAdapter } from "./adapter-CbkRdMju.mjs";
|
|
5
|
+
import { _ as FilterMode } from "./adapter-BP7jNtvH.mjs";
|
|
6
|
+
import { _ as ColumnNode, c as DataTableOptions, n as DataTableColumnTicketInput, r as DataTableContext, t as DataTableColumnTicket } from "./index-DDwX_0Um.mjs";
|
|
7
|
+
import { c as TokenTicket, i as TokenContext, o as TokenOptions, r as TokenCollection } from "./index-Dlr9_rf1.mjs";
|
|
8
|
+
import { A as MatchRange, k as IgnoreAccents } from "./index-DMQv04YO.mjs";
|
|
9
|
+
import { t as DateAdapter } from "./adapter-BC1VWu0H.mjs";
|
|
10
|
+
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-w8SEWO2v.mjs";
|
|
11
|
+
import "./flagsmith-BA8q5LAx.mjs";
|
|
12
|
+
import "./launchdarkly-CWhPi3lZ.mjs";
|
|
13
|
+
import "./posthog-Bzaj2Jbd.mjs";
|
|
14
|
+
import { t as LocaleAdapter } from "./adapter-Bi799Zn7.mjs";
|
|
15
|
+
import "./index-h87SNntw.mjs";
|
|
16
|
+
import { t as LoggerAdapter } from "./adapter-CHvvxw4c.mjs";
|
|
17
|
+
import { n as StorageAdapter } from "./memory-DyA22X2q.mjs";
|
|
14
18
|
import { App, ComponentPublicInstance, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowReactive, ShallowRef, UnwrapNestedRefs, WatchSource, WritableComputedRef } from "vue";
|
|
15
|
-
|
|
16
19
|
//#region src/composables/createModel/index.d.ts
|
|
17
20
|
/**
|
|
18
21
|
* Input type for model tickets - what users provide to register().
|
|
@@ -29,7 +32,9 @@ interface ModelTicketInput<V = unknown> extends RegistryTicketInput<V> {
|
|
|
29
32
|
* @template Z The input ticket type that extends ModelTicketInput.
|
|
30
33
|
*/
|
|
31
34
|
type ModelTicket<Z extends ModelTicketInput = ModelTicketInput> = RegistryTicket & Z & {
|
|
32
|
-
/** Disabled state of the ticket (guaranteed to exist on output) */
|
|
35
|
+
/** Disabled state of the ticket (guaranteed to exist on output) */
|
|
36
|
+
disabled: MaybeRefOrGetter<boolean>;
|
|
37
|
+
/** Whether the ticket is currently selected */
|
|
33
38
|
isSelected: Readonly<Ref<boolean, boolean>>;
|
|
34
39
|
};
|
|
35
40
|
/**
|
|
@@ -366,8 +371,11 @@ interface SelectionTicketInput<V = unknown> extends ModelTicketInput<V> {}
|
|
|
366
371
|
* - `toggle()` - Method to toggle selection state
|
|
367
372
|
*/
|
|
368
373
|
type SelectionTicket<Z extends SelectionTicketInput = SelectionTicketInput> = ModelTicket<Z> & {
|
|
369
|
-
/** Select self */
|
|
370
|
-
|
|
374
|
+
/** Select self */
|
|
375
|
+
select: () => void;
|
|
376
|
+
/** Unselect self */
|
|
377
|
+
unselect: () => void;
|
|
378
|
+
/** Toggle self on and off */
|
|
371
379
|
toggle: () => void;
|
|
372
380
|
};
|
|
373
381
|
/**
|
|
@@ -641,9 +649,12 @@ interface OverflowOptions {
|
|
|
641
649
|
/**
|
|
642
650
|
* Container element to track. Can be a ref, getter, or MaybeRefOrGetter.
|
|
643
651
|
* When provided, useOverflow tracks this element's width automatically.
|
|
644
|
-
*
|
|
652
|
+
* Also accepts Vue `useTemplateRef` — Vue 3.5.42 wraps that in a deep
|
|
653
|
+
* `Readonly<Ref>` that is not assignable to `MaybeRefOrGetter`.
|
|
645
654
|
*/
|
|
646
|
-
container?: MaybeRefOrGetter<Element | null | undefined
|
|
655
|
+
container?: MaybeRefOrGetter<Element | null | undefined> | {
|
|
656
|
+
readonly value: unknown;
|
|
657
|
+
};
|
|
647
658
|
/** Gap between items in pixels */
|
|
648
659
|
gap?: MaybeRefOrGetter<number>;
|
|
649
660
|
/** Reserved space in pixels (for nav buttons, ellipsis, etc) */
|
|
@@ -1044,8 +1055,11 @@ interface GroupTicketInput<V = unknown> extends SelectionTicketInput<V> {
|
|
|
1044
1055
|
* Includes all input properties plus selection and tri-state methods.
|
|
1045
1056
|
*/
|
|
1046
1057
|
type GroupTicket<Z extends GroupTicketInput = GroupTicketInput> = SelectionTicket<Z> & {
|
|
1047
|
-
/** Whether the ticket is in a mixed/indeterminate state */
|
|
1048
|
-
|
|
1058
|
+
/** Whether the ticket is in a mixed/indeterminate state */
|
|
1059
|
+
isMixed: Readonly<Ref<boolean>>;
|
|
1060
|
+
/** Set self to mixed/indeterminate state */
|
|
1061
|
+
mix: () => void;
|
|
1062
|
+
/** Clear mixed/indeterminate state from self */
|
|
1049
1063
|
unmix: () => void;
|
|
1050
1064
|
};
|
|
1051
1065
|
/**
|
|
@@ -1690,7 +1704,7 @@ interface ClientComboboxAdapterOptions {
|
|
|
1690
1704
|
/** Filter matching mode */
|
|
1691
1705
|
mode?: FilterMode;
|
|
1692
1706
|
/** Object keys to match against (for object values) */
|
|
1693
|
-
keys?: string[]
|
|
1707
|
+
keys?: MaybeRefOrGetter<readonly string[]>;
|
|
1694
1708
|
/** Custom filter function — overrides default matching */
|
|
1695
1709
|
filter?: (query: string, value: unknown) => boolean;
|
|
1696
1710
|
}
|
|
@@ -3159,24 +3173,43 @@ interface NestedTicketInput<V = unknown> extends GroupTicketInput<V> {
|
|
|
3159
3173
|
* @template Z The input ticket type that extends NestedTicketInput.
|
|
3160
3174
|
*/
|
|
3161
3175
|
type NestedTicket<Z extends NestedTicketInput = NestedTicketInput> = GroupTicket<Z> & {
|
|
3162
|
-
/** ID of the parent ticket, or undefined if this is a root item. Static — set at registration time. */
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3176
|
+
/** ID of the parent ticket, or undefined if this is a root item. Static — set at registration time. */
|
|
3177
|
+
parentId: ID | undefined;
|
|
3178
|
+
/** Reference to the DOM element for focus management */
|
|
3179
|
+
el: MaybeRefOrGetter<Element | null | undefined> | undefined;
|
|
3180
|
+
/** Whether this ticket is currently open/expanded */
|
|
3181
|
+
isOpen: Readonly<Ref<boolean>>;
|
|
3182
|
+
/** Whether this ticket is currently active/highlighted */
|
|
3183
|
+
isActive: Readonly<Ref<boolean>>;
|
|
3184
|
+
/** Whether this ticket is a leaf node (has no children) */
|
|
3185
|
+
isLeaf: Readonly<Ref<boolean>>;
|
|
3186
|
+
/** Depth in tree (0 = root) */
|
|
3187
|
+
depth: Readonly<Ref<number>>;
|
|
3188
|
+
/** Open/expand this ticket */
|
|
3189
|
+
open: () => void;
|
|
3190
|
+
/** Close/collapse this ticket */
|
|
3191
|
+
close: () => void;
|
|
3192
|
+
/** Flip this ticket's open/closed state */
|
|
3193
|
+
flip: () => void;
|
|
3194
|
+
/** Reveal this ticket by opening all ancestors */
|
|
3195
|
+
reveal: () => void;
|
|
3196
|
+
/** Activate/highlight this ticket */
|
|
3197
|
+
activate: () => void;
|
|
3198
|
+
/** Deactivate/unhighlight this ticket */
|
|
3199
|
+
deactivate: () => void;
|
|
3200
|
+
/** Get path from root to self (includes self) */
|
|
3201
|
+
getPath: () => ID[];
|
|
3202
|
+
/** Get ancestors excluding self */
|
|
3203
|
+
getAncestors: () => ID[];
|
|
3204
|
+
/** Get all descendants */
|
|
3205
|
+
getDescendants: () => ID[];
|
|
3206
|
+
/** Check if this ticket is an ancestor of the given ID */
|
|
3207
|
+
isAncestorOf: (descendantId: ID) => boolean;
|
|
3208
|
+
/** Check if this ticket has the given ID as an ancestor */
|
|
3209
|
+
hasAncestor: (ancestorId: ID) => boolean;
|
|
3210
|
+
/** Get sibling IDs (including self) */
|
|
3211
|
+
siblings: () => ID[];
|
|
3212
|
+
/** Get 1-indexed position among siblings (for aria-posinset) */
|
|
3180
3213
|
position: () => number;
|
|
3181
3214
|
};
|
|
3182
3215
|
/**
|
|
@@ -3186,7 +3219,8 @@ type NestedTicket<Z extends NestedTicketInput = NestedTicketInput> = GroupTicket
|
|
|
3186
3219
|
* @template Z The input ticket type that extends NestedTicketInput.
|
|
3187
3220
|
*/
|
|
3188
3221
|
type NestedRegistration<Z extends NestedTicketInput = NestedTicketInput> = Partial<Z> & {
|
|
3189
|
-
/** Inline children to register with this item as parent */
|
|
3222
|
+
/** Inline children to register with this item as parent */
|
|
3223
|
+
children?: NestedRegistration<Z>[];
|
|
3190
3224
|
};
|
|
3191
3225
|
/**
|
|
3192
3226
|
* Context for managing nested/hierarchical item collections.
|
|
@@ -5793,6 +5827,14 @@ declare class KeyboardAdapter<Z extends DragType = DragType> extends DragDropAda
|
|
|
5793
5827
|
* Layout axis a drop zone resolves indices along.
|
|
5794
5828
|
*/
|
|
5795
5829
|
type Orientation = 'vertical' | 'horizontal';
|
|
5830
|
+
/**
|
|
5831
|
+
* `MaybeRefOrGetter<T>` plus Vue 3.5.42 `useTemplateRef` / `shallowReadonly`
|
|
5832
|
+
* results. Those wrap in a deep `Readonly<Ref<T>>` that is not assignable
|
|
5833
|
+
* to `Ref<T>`.
|
|
5834
|
+
*/
|
|
5835
|
+
type MaybeReadonlyRefOrGetter<T> = MaybeRefOrGetter<T> | {
|
|
5836
|
+
readonly value: unknown;
|
|
5837
|
+
};
|
|
5796
5838
|
/**
|
|
5797
5839
|
* Discriminated payload describing what is being dragged. Consumers extend
|
|
5798
5840
|
* this with concrete `type` literals plus a matching `value`.
|
|
@@ -5935,8 +5977,8 @@ type ActiveDrag<Z extends DragType = DragType> = Z extends DragType ? {
|
|
|
5935
5977
|
type DraggableTicketInput<Z extends DragType = DragType> = Z extends DragType ? RegistryTicketInput & {
|
|
5936
5978
|
type: Z['type'];
|
|
5937
5979
|
value: Z['value'];
|
|
5938
|
-
el:
|
|
5939
|
-
disabled?:
|
|
5980
|
+
el: MaybeReadonlyRefOrGetter<HTMLElement | null>;
|
|
5981
|
+
disabled?: MaybeReadonlyRefOrGetter<boolean>;
|
|
5940
5982
|
onBeforeStart?: (drag: ActiveDrag<Z>) => boolean | void;
|
|
5941
5983
|
onMove?: (drag: ActiveDrag<Z>) => void;
|
|
5942
5984
|
onCancel?: (drag: ActiveDrag<Z>, reason: 'cancel' | 'reject') => void;
|
|
@@ -5981,11 +6023,11 @@ type DraggableTicket<Z extends DragType = DragType> = Z extends DragType ? Regis
|
|
|
5981
6023
|
* ```
|
|
5982
6024
|
*/
|
|
5983
6025
|
interface DropZoneTicketInput<Z extends DragType = DragType> extends RegistryTicketInput {
|
|
5984
|
-
el:
|
|
6026
|
+
el: MaybeReadonlyRefOrGetter<HTMLElement | null>;
|
|
5985
6027
|
/** Allowed drag types or a synchronous predicate. Async predicates (Promise / thenable returns) are rejected with a warning — `accept` must return synchronously. */
|
|
5986
6028
|
accept?: Z['type'][] | ((drag: ActiveDrag<Z>) => boolean);
|
|
5987
6029
|
orientation?: Orientation;
|
|
5988
|
-
disabled?:
|
|
6030
|
+
disabled?: MaybeReadonlyRefOrGetter<boolean>;
|
|
5989
6031
|
onEnter?: (drag: ActiveDrag<Z>) => void;
|
|
5990
6032
|
onLeave?: (drag: ActiveDrag<Z>) => void;
|
|
5991
6033
|
onBeforeDrop?: (drag: ActiveDrag<Z>, position: DropPosition) => boolean | void;
|
|
@@ -7073,18 +7115,31 @@ interface NotificationTicketInput extends RegistryTicketInput {
|
|
|
7073
7115
|
* Returned by {@link send}, {@link register}, and {@link onboard}.
|
|
7074
7116
|
*/
|
|
7075
7117
|
type NotificationTicket<Z extends NotificationTicketInput = NotificationTicketInput> = RegistryTicket & Z & {
|
|
7076
|
-
/** When the notification was created. */
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7118
|
+
/** When the notification was created. */
|
|
7119
|
+
createdAt: Date;
|
|
7120
|
+
/** When the notification was marked as read, or `null` if unread. */
|
|
7121
|
+
readAt: Date | null;
|
|
7122
|
+
/** When the notification was seen in the viewport, or `null` if unseen. */
|
|
7123
|
+
seenAt: Date | null;
|
|
7124
|
+
/** When the notification was archived, or `null` if active. */
|
|
7125
|
+
archivedAt: Date | null;
|
|
7126
|
+
/** Snooze expiry, or `null` if not snoozed. */
|
|
7127
|
+
snoozedUntil: Date | null;
|
|
7128
|
+
/** Mark as read. Sets `readAt` to now. */
|
|
7129
|
+
read: () => void;
|
|
7130
|
+
/** Mark as unread. Clears `readAt`. */
|
|
7131
|
+
unread: () => void;
|
|
7132
|
+
/** Mark as seen. Sets `seenAt` to now. */
|
|
7133
|
+
seen: () => void;
|
|
7134
|
+
/** Archive. Sets `archivedAt` to now. */
|
|
7135
|
+
archive: () => void;
|
|
7136
|
+
/** Restore from archive. Clears `archivedAt`. */
|
|
7137
|
+
unarchive: () => void;
|
|
7138
|
+
/** Snooze until the given time. */
|
|
7139
|
+
snooze: (until: Date) => void;
|
|
7140
|
+
/** Cancel snooze. Clears `snoozedUntil`. */
|
|
7141
|
+
wake: () => void;
|
|
7142
|
+
/** Remove from the display queue only. Registry entry is preserved for inbox/history. Use `ticket.unregister()` for full removal. */
|
|
7088
7143
|
dismiss: () => void;
|
|
7089
7144
|
};
|
|
7090
7145
|
/**
|
|
@@ -7221,6 +7276,36 @@ interface PermissionPluginOptions extends PermissionContextOptions {}
|
|
|
7221
7276
|
*/
|
|
7222
7277
|
declare function createPermissions(_options?: PermissionOptions): PermissionContext;
|
|
7223
7278
|
declare const createPermissionsContext: <_E extends PermissionContext<PermissionTicket> = PermissionContext<PermissionTicket>>(_options?: PermissionContextOptions | undefined) => ContextTrinity<_E>, createPermissionsPlugin: (_options?: PermissionContextOptions | undefined) => Plugin, usePermissions: <_E extends PermissionContext<PermissionTicket> = PermissionContext<PermissionTicket>>(namespace?: string) => _E;
|
|
7279
|
+
/**
|
|
7280
|
+
* Creates a new permissions plugin.
|
|
7281
|
+
*
|
|
7282
|
+
* @param options The options for the permissions plugin.
|
|
7283
|
+
* @template Z The type of the permission ticket.
|
|
7284
|
+
* @template E The type of the permission context.
|
|
7285
|
+
* @returns A new permissions plugin.
|
|
7286
|
+
*
|
|
7287
|
+
* @see https://0.vuetifyjs.com/composables/plugins/use-permissions
|
|
7288
|
+
*
|
|
7289
|
+
* @example
|
|
7290
|
+
* ```ts
|
|
7291
|
+
* import { createApp } from 'vue'
|
|
7292
|
+
* import { createPermissionsPlugin } from '@vuetify/v0'
|
|
7293
|
+
* import App from './App.vue'
|
|
7294
|
+
*
|
|
7295
|
+
* const app = createApp(App)
|
|
7296
|
+
*
|
|
7297
|
+
* app.use(
|
|
7298
|
+
* createPermissionsPlugin({
|
|
7299
|
+
* permissions: {
|
|
7300
|
+
* admin: [['read', 'users']],
|
|
7301
|
+
* editor: [['edit', 'posts']],
|
|
7302
|
+
* },
|
|
7303
|
+
* })
|
|
7304
|
+
* )
|
|
7305
|
+
*
|
|
7306
|
+
* app.mount('#app')
|
|
7307
|
+
* ```
|
|
7308
|
+
*/
|
|
7224
7309
|
//#endregion
|
|
7225
7310
|
//#region src/composables/usePresence/index.d.ts
|
|
7226
7311
|
type PresenceState = 'unmounted' | 'mounted' | 'present' | 'leaving';
|
|
@@ -7779,7 +7864,8 @@ type StackTicket<Z extends StackTicketInput = StackTicketInput> = SelectionTicke
|
|
|
7779
7864
|
/**
|
|
7780
7865
|
* Whether this overlay is backed by a scrim/backdrop
|
|
7781
7866
|
*/
|
|
7782
|
-
scrim: Readonly<Ref<boolean>>;
|
|
7867
|
+
scrim: Readonly<Ref<boolean>>;
|
|
7868
|
+
/** The overlay's DOM element, if provided at registration. */
|
|
7783
7869
|
el?: MaybeRefOrGetter<Element | null | undefined>;
|
|
7784
7870
|
/**
|
|
7785
7871
|
* The calculated z-index for this overlay
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as ID, i as Extensible } from "./index-
|
|
2
|
-
import { t as ContextTrinity } from "./index-
|
|
3
|
-
import { c as RegistryTicketInput, s as RegistryTicket, t as RegistryContext } from "./index-
|
|
4
|
-
import { a as SortEntry, c as PaginationOptions, i as SortDirection, o as PaginationContext, t as DataTableAdapter, v as FilterOptions } from "./adapter-
|
|
1
|
+
import { a as ID, i as Extensible } from "./index-XNZrgWCq.mjs";
|
|
2
|
+
import { t as ContextTrinity } from "./index-ClUa0Bl7.mjs";
|
|
3
|
+
import { c as RegistryTicketInput, s as RegistryTicket, t as RegistryContext } from "./index-Y6VfllT2.mjs";
|
|
4
|
+
import { a as SortEntry, c as PaginationOptions, i as SortDirection, o as PaginationContext, t as DataTableAdapter, v as FilterOptions } from "./adapter-BP7jNtvH.mjs";
|
|
5
|
+
import "./index-DmDf_FmM.mjs";
|
|
5
6
|
import { MaybeRefOrGetter, Ref, ShallowRef } from "vue";
|
|
6
|
-
|
|
7
7
|
//#region src/composables/createDataTable/columns.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* @module createDataTable/columns
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as ID, c as V0ErrorCode, l as V0ErrorDetails, r as DeepPartial } from "./index-
|
|
2
|
-
|
|
1
|
+
import { a as ID, c as V0ErrorCode, l as V0ErrorDetails, r as DeepPartial } from "./index-XNZrgWCq.mjs";
|
|
3
2
|
//#region src/utilities/color.d.ts
|
|
4
3
|
interface RGB {
|
|
5
4
|
r: number;
|
|
@@ -8,12 +7,7 @@ interface RGB {
|
|
|
8
7
|
a?: number;
|
|
9
8
|
}
|
|
10
9
|
declare function hexToRgb(hex: string): RGB;
|
|
11
|
-
declare function rgbToHex({
|
|
12
|
-
r,
|
|
13
|
-
g,
|
|
14
|
-
b,
|
|
15
|
-
a
|
|
16
|
-
}: RGB): string;
|
|
10
|
+
declare function rgbToHex({ r, g, b, a }: RGB): string;
|
|
17
11
|
//#endregion
|
|
18
12
|
//#region src/utilities/apca.d.ts
|
|
19
13
|
declare function apca(text: RGB, background: RGB): number;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { t as ContextTrinity } from "./index-
|
|
2
|
-
import { n as RegistryContextOptions, o as RegistryOptions, s as RegistryTicket, t as RegistryContext } from "./index-
|
|
3
|
-
|
|
1
|
+
import { t as ContextTrinity } from "./index-ClUa0Bl7.mjs";
|
|
2
|
+
import { n as RegistryContextOptions, o as RegistryOptions, s as RegistryTicket, t as RegistryContext } from "./index-Y6VfllT2.mjs";
|
|
4
3
|
//#region src/composables/createTokens/index.d.ts
|
|
5
4
|
interface TokenAlias<T = unknown> {
|
|
6
5
|
[key: string]: unknown;
|