@vuetify/v0 0.1.4 → 0.1.5
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/dist/{adapter-D_0ptsPm.mjs → adapter-Cmeg49W9.mjs} +3 -3
- package/dist/{adapter-BN-h5JbD.d.mts → adapter-D2JoR-4d.d.mts} +2 -2
- package/dist/browser/index.js +611 -110
- package/dist/components/index.d.mts +8 -8
- package/dist/components/index.mjs +28 -28
- package/dist/{components-CMuzTJdK.mjs → components-BbbGkTcN.mjs} +578 -113
- package/dist/composables/index.d.mts +7 -7
- package/dist/composables/index.mjs +27 -27
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-BJnmvxfb.mjs → createDataTable-cNf6DdHz.mjs} +5 -5
- package/dist/{createGroup-CPhp6FUh.mjs → createGroup-BrZPZudL.mjs} +4 -4
- package/dist/{createPagination-cyOWlpfH.mjs → createPagination-Wc_vRGNQ.mjs} +2 -2
- package/dist/{createSelection-uqEbFgha.mjs → createSelection-BURpoE3p.mjs} +3 -3
- package/dist/{createSingle-B59ya3aa.mjs → createSingle-BE1vHaZy.mjs} +2 -2
- package/dist/{createTokens-BlhLdHXE.mjs → createTokens-jwf8-iGn.mjs} +3 -3
- package/dist/{createTrinity-EeHQSsb6.mjs → createTrinity-DkwPrPRS.mjs} +1 -1
- package/dist/data-table/adapters/client/index.d.mts +2 -2
- package/dist/data-table/adapters/client/index.mjs +7 -7
- package/dist/data-table/adapters/index.d.mts +4 -4
- package/dist/data-table/adapters/index.mjs +9 -9
- package/dist/data-table/adapters/server/index.d.mts +2 -2
- package/dist/data-table/adapters/server/index.mjs +5 -5
- package/dist/data-table/adapters/virtual/index.d.mts +2 -2
- package/dist/data-table/adapters/virtual/index.mjs +7 -7
- package/dist/data-table/index.d.mts +5 -5
- package/dist/data-table/index.mjs +19 -19
- package/dist/date/index.mjs +2 -2
- package/dist/features/adapters/posthog/index.mjs +2 -2
- package/dist/features/index.d.mts +6 -6
- package/dist/features/index.mjs +12 -12
- package/dist/{globals-B_GVfG06.mjs → globals-vN-O052q.mjs} +1 -1
- package/dist/{index-Dd0m0LIJ.d.mts → index-BTMzRHep.d.mts} +50 -8
- package/dist/{index-CQrDeqsK.d.mts → index-DRax9EgT.d.mts} +1037 -431
- package/dist/{index-7mWYFHA6.d.mts → index-DdWxDPX3.d.mts} +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +28 -28
- package/dist/json/attributes.json +172 -0
- package/dist/json/importMap.json +28 -0
- package/dist/json/tags.json +73 -0
- package/dist/json/web-types.json +475 -1
- package/dist/locale/adapters/index.mjs +3 -3
- package/dist/locale/adapters/v0/index.mjs +3 -3
- package/dist/locale/index.d.mts +6 -6
- package/dist/locale/index.mjs +12 -12
- package/dist/logger/adapters/index.mjs +4 -4
- package/dist/logger/adapters/pino/index.mjs +3 -3
- package/dist/logger/adapters/v0/index.mjs +3 -3
- package/dist/logger/index.d.mts +6 -6
- package/dist/logger/index.mjs +6 -6
- package/dist/permissions/adapters/index.d.mts +7 -7
- package/dist/permissions/adapters/index.mjs +3 -3
- package/dist/permissions/adapters/v0/index.d.mts +7 -7
- package/dist/permissions/adapters/v0/index.mjs +3 -3
- package/dist/permissions/index.d.mts +6 -6
- package/dist/permissions/index.mjs +10 -10
- package/dist/{pino-01x_NmWp.mjs → pino-DFxkZLiu.mjs} +1 -1
- package/dist/{posthog-BrGBPPir.mjs → posthog-BOUoZTTf.mjs} +1 -1
- package/dist/{server-6cs14bj1.d.mts → server-B-HWxaTQ.d.mts} +1 -1
- package/dist/{server-ClCwiLMA.mjs → server-C2R2POGE.mjs} +1 -1
- package/dist/storage/index.d.mts +6 -6
- package/dist/storage/index.mjs +26 -26
- package/dist/theme/adapters/index.d.mts +6 -6
- package/dist/theme/adapters/index.mjs +3 -3
- package/dist/theme/adapters/v0/index.d.mts +6 -6
- package/dist/theme/adapters/v0/index.mjs +3 -3
- package/dist/theme/index.d.mts +6 -6
- package/dist/theme/index.mjs +11 -11
- package/dist/{toArray-DIeXVX1C.mjs → toArray-VIn8vYt3.mjs} +1 -1
- package/dist/{useClickOutside-p8HP07At.mjs → useClickOutside-DIi0kjN5.mjs} +53 -17
- package/dist/{useFeatures-C4JF3Hgr.mjs → useFeatures-6O7EPJUS.mjs} +4 -4
- package/dist/{useLocale-DlbShzF-.mjs → useLocale-DHjbekzS.mjs} +6 -6
- package/dist/{useLogger-CO9JwbSJ.mjs → useLogger-BXqiUvt2.mjs} +4 -4
- package/dist/{usePermissions-DQVT_4nD.mjs → usePermissions-DFacFVqO.mjs} +4 -4
- package/dist/{useTheme-Bcw1Ebyt.mjs → useTheme-D0_1mjTw.mjs} +4 -4
- package/dist/utilities/index.mjs +2 -2
- package/dist/{utilities-BqS1sC1W.mjs → utilities-Dx8wzGa5.mjs} +1 -1
- package/dist/{v0-C-9dv_1S.d.mts → v0-BNXo1ecc.d.mts} +1 -1
- package/dist/{v0-RepwEY1F.d.mts → v0-BPzPP8C5.d.mts} +1 -1
- package/dist/{v0-B40YkIQ-.mjs → v0-BYqmw3qM.mjs} +1 -1
- package/dist/{v0-CtjuUUPl.mjs → v0-C8DBv9mh.mjs} +2 -2
- package/dist/{v0-BtQCSBOG.mjs → v0-CfSj99gF.mjs} +2 -2
- package/dist/{v0-BogbIzpM.mjs → v0-Dc5mcpQs.mjs} +2 -2
- package/dist/{v0-ONBWyQYQ.mjs → v0-Dwufx8ae.mjs} +2 -2
- package/dist/{virtual-B3IPkHC0.d.mts → virtual-A4e1yrdn.d.mts} +1 -1
- package/dist/{virtual-BP9WXRzN.mjs → virtual-BoTGK6HT.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as Extensible, o as ID, s as MaybeArray } from "./index-BFBN5Zl3.mjs";
|
|
2
|
-
import { E as ContextTrinity } from "./adapter-
|
|
2
|
+
import { E as ContextTrinity } from "./adapter-D2JoR-4d.mjs";
|
|
3
3
|
import { t as DateAdapter } from "./adapter-DcwxFryd.mjs";
|
|
4
4
|
import { n as FeaturesAdapterFlags, r as FeaturesAdapterInterface } from "./index-BuOz3Rgm.mjs";
|
|
5
5
|
import { n as LocaleAdapter } from "./v0-DHMoZ7dS.mjs";
|
|
6
6
|
import { t as LoggerAdapter } from "./adapter-CJIj5ySf.mjs";
|
|
7
7
|
import { t as StorageAdapter } from "./index-BDTbJClL.mjs";
|
|
8
|
-
import { App, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowRef, UnwrapNestedRefs, WatchSource } from "vue";
|
|
8
|
+
import { App, ComponentPublicInstance, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowRef, UnwrapNestedRefs, WatchSource } from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/composables/createRegistry/index.d.ts
|
|
11
11
|
|
|
@@ -1693,6 +1693,48 @@ declare function createPluginContext<O extends {
|
|
|
1693
1693
|
*/
|
|
1694
1694
|
declare function toArray<Z>(value: Z | Z[]): Z[];
|
|
1695
1695
|
//#endregion
|
|
1696
|
+
//#region src/composables/toElement/index.d.ts
|
|
1697
|
+
type MaybeElementValue = HTMLElement | SVGElement | ComponentPublicInstance | Element | null | undefined;
|
|
1698
|
+
/**
|
|
1699
|
+
* A flexible element ref type that accepts refs, getters, or raw values
|
|
1700
|
+
* containing DOM elements or Vue component instances.
|
|
1701
|
+
*
|
|
1702
|
+
* @remarks
|
|
1703
|
+
* Defined structurally (using `{ readonly value: T }`) instead of Vue's
|
|
1704
|
+
* nominal `Ref<T>` to avoid type mismatches when consumers use a
|
|
1705
|
+
* different Vue version than the library.
|
|
1706
|
+
* Use {@link toElement} to resolve the actual DOM element.
|
|
1707
|
+
*/
|
|
1708
|
+
type MaybeElementRef = {
|
|
1709
|
+
readonly value: MaybeElementValue;
|
|
1710
|
+
} | (() => MaybeElementValue) | MaybeElementValue;
|
|
1711
|
+
/**
|
|
1712
|
+
* Resolves a {@link MaybeElementRef} to a DOM Element or undefined.
|
|
1713
|
+
*
|
|
1714
|
+
* Handles:
|
|
1715
|
+
* - `Ref<Element>`, `ShallowRef<HTMLElement>`, getter functions
|
|
1716
|
+
* - Vue component instances (extracts `$el`)
|
|
1717
|
+
* - Raw DOM elements (pass-through)
|
|
1718
|
+
* - null/undefined (returns undefined)
|
|
1719
|
+
*
|
|
1720
|
+
* @param target The element ref, getter, or raw value to resolve
|
|
1721
|
+
* @returns The resolved DOM Element, or undefined if not available
|
|
1722
|
+
*
|
|
1723
|
+
* @see https://0.vuetifyjs.com/composables/transformers/to-element
|
|
1724
|
+
*
|
|
1725
|
+
* @example
|
|
1726
|
+
* ```ts
|
|
1727
|
+
* import { toElement } from '@vuetify/v0'
|
|
1728
|
+
*
|
|
1729
|
+
* const el = shallowRef<HTMLElement | null>(null)
|
|
1730
|
+
* toElement(el) // HTMLElement | undefined
|
|
1731
|
+
*
|
|
1732
|
+
* const component = ref<ComponentPublicInstance>()
|
|
1733
|
+
* toElement(component) // Element | undefined (from $el)
|
|
1734
|
+
* ```
|
|
1735
|
+
*/
|
|
1736
|
+
declare function toElement(target: MaybeElementRef): Element | undefined;
|
|
1737
|
+
//#endregion
|
|
1696
1738
|
//#region src/composables/toReactive/index.d.ts
|
|
1697
1739
|
/**
|
|
1698
1740
|
* Converts a `MaybeRef` to a `UnwrapNestedRefs`.
|
|
@@ -2727,7 +2769,7 @@ interface UseIntersectionObserverReturn extends ObserverReturn {
|
|
|
2727
2769
|
* resume()
|
|
2728
2770
|
* ```
|
|
2729
2771
|
*/
|
|
2730
|
-
declare function useIntersectionObserver(target:
|
|
2772
|
+
declare function useIntersectionObserver(target: MaybeElementRef, callback: (entries: IntersectionObserverEntry[]) => void, options?: IntersectionObserverOptions): UseIntersectionObserverReturn;
|
|
2731
2773
|
interface UseElementIntersectionReturn extends UseIntersectionObserverReturn {
|
|
2732
2774
|
/**
|
|
2733
2775
|
* The intersection ratio (0.0 to 1.0) indicating how much of the element is visible
|
|
@@ -2762,7 +2804,7 @@ interface UseElementIntersectionReturn extends UseIntersectionObserverReturn {
|
|
|
2762
2804
|
* })
|
|
2763
2805
|
* ```
|
|
2764
2806
|
*/
|
|
2765
|
-
declare function useElementIntersection(target:
|
|
2807
|
+
declare function useElementIntersection(target: MaybeElementRef, options?: IntersectionObserverOptions): UseElementIntersectionReturn;
|
|
2766
2808
|
//#endregion
|
|
2767
2809
|
//#region src/composables/useLazy/index.d.ts
|
|
2768
2810
|
interface LazyOptions {
|
|
@@ -3112,7 +3154,7 @@ interface UseMutationObserverReturn extends ObserverReturn {}
|
|
|
3112
3154
|
* resume()
|
|
3113
3155
|
* ```
|
|
3114
3156
|
*/
|
|
3115
|
-
declare function useMutationObserver(target:
|
|
3157
|
+
declare function useMutationObserver(target: MaybeElementRef, callback: (entries: MutationObserverRecord[]) => void, options?: UseMutationObserverOptions): UseMutationObserverReturn;
|
|
3116
3158
|
//#endregion
|
|
3117
3159
|
//#region src/composables/createNested/types.d.ts
|
|
3118
3160
|
/**
|
|
@@ -3987,7 +4029,7 @@ interface UseResizeObserverReturn extends ObserverReturn {}
|
|
|
3987
4029
|
* resume()
|
|
3988
4030
|
* ```
|
|
3989
4031
|
*/
|
|
3990
|
-
declare function useResizeObserver(target:
|
|
4032
|
+
declare function useResizeObserver(target: MaybeElementRef, callback: (entries: ResizeObserverEntry[]) => void, options?: ResizeObserverOptions): UseResizeObserverReturn;
|
|
3991
4033
|
interface UseElementSizeReturn extends UseResizeObserverReturn {
|
|
3992
4034
|
/**
|
|
3993
4035
|
* The width of the element in pixels
|
|
@@ -4021,7 +4063,7 @@ interface UseElementSizeReturn extends UseResizeObserverReturn {
|
|
|
4021
4063
|
* })
|
|
4022
4064
|
* ```
|
|
4023
4065
|
*/
|
|
4024
|
-
declare function useElementSize(target:
|
|
4066
|
+
declare function useElementSize(target: MaybeElementRef): UseElementSizeReturn;
|
|
4025
4067
|
//#endregion
|
|
4026
4068
|
//#region src/composables/useStack/index.d.ts
|
|
4027
4069
|
/**
|
|
@@ -5278,4 +5320,4 @@ declare function createVirtualContext<T = unknown>(items: Ref<readonly T[]>, _op
|
|
|
5278
5320
|
*/
|
|
5279
5321
|
declare function useVirtual<T = unknown>(namespace?: string): VirtualContext<T>;
|
|
5280
5322
|
//#endregion
|
|
5281
|
-
export { useStep as $,
|
|
5323
|
+
export { useStep as $, SelectionContextOptions as $i, UseHotkeyReturn as $n, BreakpointName as $r, NestedTicketInput as $t, createTheme as A, GroupOptions as Ai, createLocaleFallback as An, TokenValue as Ar, PermissionContextOptions as At, StorageOptions as B, BreadcrumbsOptions as Bi, useElementIntersection as Bn, DateContextOptions as Br, createNested as Bt, ThemeContext as C, OverflowContextOptions as Ci, LocaleOptions as Cn, TokenAlias as Cr, useQueue as Ct, ThemeRecord as D, useOverflow as Di, LocaleTicketInput as Dn, TokenOptions as Dr, ProxyModelOptions as Dt, ThemePluginOptions as E, createOverflowContext as Ei, LocaleTicket as En, TokenContextOptions as Er, useProxyRegistry as Et, Vuetify0ThemeOptions as F, useGroup as Fi, useLazy as Fn, EventHandler as Fr, createPermissionsContext as Ft, useStorage as G, SingleContextOptions as Gi, HydrationPluginOptions as Gn, createDatePlugin as Gr, NestedActiveMode as Gt, createStorage as H, createBreadcrumbsContext as Hi, HydrationContext as Hn, DatePluginOptions as Hr, useNested as Ht, ThemeAdapter as I, BreadcrumbTicket as Ii, IntersectionObserverEntry as In, useDocumentEventListener as Ir, createPermissionsPlugin as It, StepOptions as J, SingleTicketInput as Ji, createHydrationContext as Jn, ClickOutsideIgnoreTarget as Jr, NestedOpenMode as Jt, StepContext as K, SingleOptions as Ki, createFallbackHydration as Kn, useDate as Kr, NestedContext as Kt, ThemeAdapterInterface as L, BreadcrumbTicketInput as Li, IntersectionObserverOptions as Ln, useEventListener as Lr, usePermissions as Lt, createThemePlugin as M, GroupTicketInput as Mi, useLocale as Mn, createTokensContext as Mr, PermissionPluginOptions as Mt, useTheme as N, createGroup as Ni, LazyContext as Nn, useTokens as Nr, PermissionTicket as Nt, ThemeTicket as O, GroupContext as Oi, createLocale as On, TokenPrimitive as Or, useProxyModel as Ot, Vuetify0ThemeAdapter as P, createGroupContext as Pi, LazyOptions as Pn, CleanupFunction as Pr, createPermissions as Pt, createStepContext as Q, SelectionContext as Qi, UseHotkeyOptions as Qn, useClickOutside as Qr, NestedTicket as Qt, StorageContext as R, BreadcrumbsContext as Ri, UseElementIntersectionReturn as Rn, useWindowEventListener as Rr, PermissionAdapter as Rt, ThemeColors as S, OverflowContext as Si, LocaleContextOptions as Sn, FlatTokenCollection as Sr, createQueueContext as St, ThemeOptions as T, createOverflow as Ti, LocaleRecord as Tn, TokenContext as Tr, ProxyRegistryOptions as Tt, createStorageContext as U, useBreadcrumbs as Ui, HydrationContextOptions as Un, createDate as Ur, multipleOpenStrategy as Ut, StoragePluginOptions as V, createBreadcrumbs as Vi, useIntersectionObserver as Vn, DateOptions as Vr, createNestedContext as Vt, createStoragePlugin as W, SingleContext as Wi, HydrationOptions as Wn, createDateContext as Wr, singleOpenStrategy as Wt, StepTicketInput as X, createSingleContext as Xi, useHydration as Xn, UseClickOutsideOptions as Xr, NestedRegistration as Xt, StepTicket as Y, createSingle as Yi, createHydrationPlugin as Yn, ClickOutsideTarget as Yr, NestedOptions as Yt, createStep as Z, useSingle as Zi, PlatformContext as Zn, UseClickOutsideReturn as Zr, NestedSelectionMode as Zt, TimelineTicket as _, ContextKey as _i, createLoggerContext as _n, FeatureTicketInput as _r, QueueContextOptions as _t, VirtualDirection as a, useSelection as aa, createBreakpointsContext as ai, UseMutationObserverReturn as an, FormTicketInput as ar, StackTicketInput as at, useTimeline as b, provideContext as bi, LogLevel as bn, createFeaturesPlugin as br, QueueTicketInput as bt, VirtualState as c, RegistryEventCallback as ca, toReactive as ci, useMediaQuery as cn, FormValue as cr, createStackPlugin as ct, useVirtual as d, RegistryOptions as da, toArray as di, usePrefersReducedMotion as dn, useForm as dr, ResizeObserverOptions as dt, SelectionOptions as ea, BreakpointsContext as ei, OpenStrategy as en, useHotkey as er, StackContext as et, ToggleScopeControls as f, RegistryTicket as fa, Plugin as fi, LoggerContext as fn, FeatureContext as fr, UseElementSizeReturn as ft, TimelineOptions as g, useRegistry as ga, createPluginContext as gi, createLogger as gn, FeatureTicket as gr, QueueContext as gt, TimelineContextOptions as h, createRegistryContext as ha, createPlugin as hi, LoggerPluginOptions as hn, FeaturePluginOptions as hr, useResizeObserver as ht, VirtualContextOptions as i, createSelectionContext as ia, createBreakpoints as ii, UseMutationObserverOptions as in, FormTicket as ir, StackTicket as it, createThemeContext as j, GroupTicket as ji, createLocalePlugin as jn, createTokens as jr, PermissionOptions as jt, ThemeTicketInput as k, GroupContextOptions as ki, createLocaleContext as kn, TokenTicket as kr, PermissionContext as kt, createVirtual as l, RegistryEventMap as la, MaybeElementRef as li, usePrefersContrast as ln, createForm as lr, useStack as lt, TimelineContext as m, createRegistry as ma, PluginOptions as mi, LoggerOptions as mn, FeatureOptions as mr, useElementSize as mt, VirtualAnchor as n, SelectionTicketInput as na, BreakpointsOptions as ni, MutationObserverRecord as nn, FormContextOptions as nr, StackOptions as nt, VirtualItem as o, RegistryContext as oa, createBreakpointsPlugin as oi, useMutationObserver as on, FormValidationResult as or, createStack as ot, useToggleScope as p, RegistryTicketInput as pa, PluginContextConfig as pi, LoggerContextOptions as pn, FeatureContextOptions as pr, UseResizeObserverReturn as pt, StepContextOptions as q, SingleTicket as qi, createHydration as qn, ClickOutsideElement as qr, NestedContextOptions as qt, VirtualContext as r, createSelection as ra, BreakpointsPluginOptions as ri, ObservableNodeList as rn, FormOptions as rr, StackPluginOptions as rt, VirtualOptions as s, RegistryContextOptions as sa, useBreakpoints as si, MediaQueryContext as sn, FormValidationRule as sr, createStackContext as st, ScrollToOptions as t, SelectionTicket as ta, BreakpointsContextOptions as ti, OpenStrategyContext as tn, FormContext as tr, StackContextOptions as tt, createVirtualContext as u, RegistryEventName as ua, toElement as ui, usePrefersDark as un, createFormContext as ur, ResizeObserverEntry as ut, createTimeline as v, CreateContextOptions as vi, createLoggerPlugin as vn, createFeatures as vr, QueueOptions as vt, ThemeContextOptions as w, OverflowOptions as wi, LocalePluginOptions as wn, TokenCollection as wr, ProxyRegistryContext as wt, Colors as x, useContext as xi, LocaleContext as xn, useFeatures as xr, createQueue as xt, createTimelineContext as y, createContext as yi, useLogger as yn, createFeaturesContext as yr, QueueTicket as yt, StorageContextOptions as z, BreadcrumbsContextOptions as zi, UseIntersectionObserverReturn as zn, DateContext as zr, PermissionAdapterInterface as zt };
|