@vuetify/v0 0.0.13 → 0.0.15
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/browser/index.js +2439 -820
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.mjs +5 -5
- package/dist/{components-z-JwOlZj.mjs → components-Cf1h368z.mjs} +570 -44
- package/dist/composables/index.d.mts +2 -3
- package/dist/composables/index.mjs +4 -4
- package/dist/{composables-BbLwk7s2.mjs → composables-CrW3IMUM.mjs} +1813 -792
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +1 -1
- package/dist/{globals-Dh0BVnN0.mjs → globals-CqryJ9G3.mjs} +1 -1
- package/dist/index-BPAr2atm.d.mts +70 -0
- package/dist/index-CQcSUYj_.d.mts +1120 -0
- package/dist/{index-CQjOW_w5.d.mts → index-CkmnMjE3.d.mts} +1754 -162
- package/dist/index.d.mts +5 -6
- package/dist/index.mjs +5 -5
- package/dist/utilities/index.d.mts +2 -2
- package/dist/utilities/index.mjs +2 -2
- package/dist/utilities-C6o-keMm.mjs +135 -0
- package/package.json +11 -13
- package/dist/index-CHMeCyP_.d.mts +0 -815
- package/dist/index-CSdGoUCI.d.mts +0 -17
- package/dist/index-D-EP6KrS.d.mts +0 -812
- package/dist/utilities-C26nB74O.mjs +0 -63
- /package/dist/{index-8AIxAM2d.d.mts → index-BmxOG13-.d.mts} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "./index-DY7-T630.mjs";
|
|
2
|
-
import { A as
|
|
3
|
-
import { _ as
|
|
4
|
-
import {
|
|
5
|
-
import { a as
|
|
6
|
-
|
|
7
|
-
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, Avatar, AvatarContext, AvatarFallbackProps, AvatarImageEmits, AvatarImageProps, AvatarRootProps, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, COMMON_ELEMENTS, CleanupFunction, Colors, ConsolaLoggerAdapter, ContextKey, ContextTrinity, EventHandler, ExpansionPanel, ExpansionPanelActivatorProps, ExpansionPanelActivatorSlotProps, ExpansionPanelContentProps, ExpansionPanelContentSlotProps, ExpansionPanelItemContext, ExpansionPanelItemProps, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FilterFunction, FilterItem, FilterMode, FilterQuery, FlatTokenCollection, FormContext, FormContextOptions, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue, Group, GroupContext, GroupContextOptions, GroupOptions, GroupTicket, HTMLElementName, HydrationContext, HydrationContextOptions, HydrationOptions, HydrationPluginOptions, IN_BROWSER, IntersectionObserverEntry, IntersectionObserverOptions, KeyHandler, LocaleAdapter, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, MemoryAdapter, MutationObserverRecord, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, Plugin, PluginOptions, Popover, PopoverAnchorProps, PopoverContentEmits, PopoverContentProps, PopoverContext, PopoverRootProps, Primitive, ProxyModelOptions, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, RegistryContext, RegistryContextOptions, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, Selection, SelectionContext, SelectionContextOptions, SelectionOptions, SelectionTicket, SelfClosingElement, Single, SingleContext, SingleContextOptions, SingleOptions, SingleTicket, Step, StepContext, StepContextOptions, StepOptions, StepTicket, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseFilterOptions, UseFilterResult, UseMutationObserverOptions, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createFeatures, createFeaturesContext, createFeaturesPlugin, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, genId, isArray, isBoolean, isFunction, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isUndefined, mergeDeep, provideContext, providePopoverContext, provideStorageContext, toArray, toReactive, useBreakpoints, useContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, usePermissions, usePopoverContext, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useStorageContext, useTheme, useTimeline, useTokens, useWindowEventListener, version };
|
|
2
|
+
import { A as ExpansionPanel, B as AvatarContext, C as PaginationItemProps, D as usePaginationControls, E as PaginationRootSlots, F as ExpansionPanelItemContext, G as AtomExpose, H as AvatarImageEmits, I as ExpansionPanelItemProps, J as _default, K as AtomProps, L as ExpansionPanelRootProps, M as ExpansionPanelContentSlotProps, N as ExpansionPanelActivatorProps, O as usePaginationItems, P as ExpansionPanelActivatorSlotProps, R as ExpansionPanelRootSlotProps, S as PaginationFirstSlots, T as PaginationRootProps, U as AvatarImageProps, V as AvatarRootProps, W as AvatarFallbackProps, _ as PaginationEllipsisProps, a as PopoverContentEmits, b as PaginationPrevSlots, c as PopoverContext, d as usePopoverContext, f as Pagination, g as PaginationNextSlots, h as PaginationNextProps, i as Popover, j as ExpansionPanelContentProps, k as Group, l as PopoverRootProps, m as PaginationLastSlots, n as Single, o as PopoverContentProps, p as PaginationLastProps, q as AtomSlots, r as Selection, s as PopoverAnchorProps, t as Step, u as providePopoverContext, v as PaginationEllipsisSlots, w as PaginationItemSlots, x as PaginationFirstProps, y as PaginationPrevProps, z as Avatar } from "./index-CQcSUYj_.mjs";
|
|
3
|
+
import { $ as UseResizeObserverReturn, $n as Primitive, $r as useContext, $t as ConsolaLoggerAdapter, A as Vuetify0ThemeAdapter, An as HydrationContext, Ar as useGroup, At as createPaginationContext, B as StorageAdapter, Bn as FormContextOptions, Br as BreakpointsPluginOptions, Bt as UseMutationObserverReturn, C as ThemePluginOptions, Cn as useKeydown, Cr as useTokens, Ct as PermissionAdapter, D as createThemeContext, Dn as UseIntersectionObserverReturn, Dr as GroupTicket, Dt as PaginationItem, E as createTheme, En as UseElementIntersectionReturn, Er as GroupOptions, Et as PaginationContextOptions, F as StoragePluginOptions, Fn as createHydration, Fr as useWindowEventListener, Ft as createOverflow, G as StepOptions, Gn as FormValue, Gr as toReactive, Gt as LoggerPluginOptions, H as MemoryAdapter, Hn as FormTicket, Hr as createBreakpointsContext, Ht as LoggerContext, I as createStorage, In as createHydrationContext, Ir as BreakpointName, It as createOverflowContext, J as createStepContext, Jn as useForm, Jr as PluginOptions, Jt as createLoggerPlugin, K as StepTicket, Kn as createForm, Kr as toArray, Kt as createLogger, L as createStorageContext, Ln as createHydrationPlugin, Lr as BreakpointsContext, Lt as useOverflow, M as StorageContext, Mn as HydrationOptions, Mr as EventHandler, Mt as OverflowContext, N as StorageContextOptions, Nn as HydrationPluginOptions, Nr as useDocumentEventListener, Nt as OverflowContextOptions, O as createThemePlugin, On as useElementIntersection, Or as createGroup, Ot as PaginationOptions, P as StorageOptions, Pn as createFallbackHydration, Pr as useEventListener, Pt as OverflowOptions, Q as UseElementSizeReturn, Qn as FilterQuery, Qr as provideContext, Qt as PinoLoggerAdapter, R as createStoragePlugin, Rn as useHydration, Rr as BreakpointsContextOptions, Rt as MutationObserverRecord, S as ThemeOptions, Sn as UseKeydownReturn, Sr as createTokensContext, St as usePermissions, T as ThemeTicket, Tn as IntersectionObserverOptions, Tr as GroupContextOptions, Tt as PaginationContext, U as StepContext, Un as FormValidationResult, Ur as createBreakpointsPlugin, Ut as LoggerContextOptions, V as StorageType, Vn as FormOptions, Vr as createBreakpoints, Vt as useMutationObserver, W as StepContextOptions, Wn as FormValidationRule, Wr as useBreakpoints, Wt as LoggerOptions, X as ResizeObserverEntry, Xn as FilterItem, Xr as ContextKey, Xt as LogLevel, Y as useStep, Yn as FilterFunction, Yr as createPlugin, Yt as useLogger, Z as ResizeObserverOptions, Zn as FilterMode, Zr as createContext, Zt as Vuetify0LoggerAdapter, _ as useTimeline, _n as SingleTicket, _r as TokenOptions, _t as PermissionPluginOptions, a as VirtualItem, ai as createSelectionContext, an as LocaleRecord, ar as FeatureOptions, at as QueueTicket, b as ThemeContext, bn as useSingle, br as TokenValue, bt as createPermissionsContext, c as useVirtual, ci as RegistryContextOptions, cn as createLocaleContext, cr as createFeatures, ct as useQueue, d as TimelineContext, di as createRegistryContext, dn as useLocale, dr as useFeatures, dt as useProxyRegistry, ei as SelectionContext, en as LoggerAdapter, er as UseFilterOptions, et as useElementSize, f as TimelineContextOptions, fi as useRegistry, fn as Vuetify0LocaleAdapter, fr as FlatTokenCollection, ft as ProxyModelOptions, g as createTimelineContext, gn as SingleOptions, gr as TokenContextOptions, gt as PermissionOptions, h as createTimeline, hn as SingleContextOptions, hr as TokenContext, ht as PermissionContextOptions, i as VirtualDirection, ii as createSelection, in as LocalePluginOptions, ir as FeatureContextOptions, it as QueueOptions, j as ThemeAdapter, jn as HydrationContextOptions, jr as CleanupFunction, jt as usePagination, k as useTheme, kn as useIntersectionObserver, kr as createGroupContext, kt as createPagination, l as ToggleScopeControls, li as RegistryOptions, ln as createLocaleFallback, lr as createFeaturesContext, lt as ProxyRegistryContext, m as TimelineTicket, mi as createTrinity, mn as SingleContext, mr as TokenCollection, mt as PermissionContext, n as VirtualAnchor, ni as SelectionOptions, nn as LocaleContextOptions, nr as useFilter, nt as QueueContext, o as VirtualOptions, oi as useSelection, on as LocaleTicket, or as FeaturePluginOptions, ot as createQueue, p as TimelineOptions, pi as ContextTrinity, pn as LocaleAdapter, pr as TokenAlias, pt as useProxyModel, q as createStep, qn as createFormContext, qr as Plugin, qt as createLoggerContext, r as VirtualContext, ri as SelectionTicket, rn as LocaleOptions, rr as FeatureContext, rt as QueueContextOptions, s as VirtualState, si as RegistryContext, sn as createLocale, sr as FeatureTicket, st as createQueueContext, t as ScrollToOptions, ti as SelectionContextOptions, tn as LocaleContext, tr as UseFilterResult, tt as useResizeObserver, u as useToggleScope, ui as RegistryTicket, un as createLocalePlugin, ur as createFeaturesPlugin, ut as ProxyRegistryOptions, v as Colors, vn as createSingle, vr as TokenPrimitive, vt as PermissionTicket, w as ThemeRecord, wn as IntersectionObserverEntry, wr as GroupContext, wt as PermissionAdapterInterface, x as ThemeContextOptions, xn as KeyHandler, xr as createTokens, xt as createPermissionsPlugin, y as ThemeColors, yn as createSingleContext, yr as TokenTicket, yt as createPermissions, z as useStorage, zn as FormContext, zr as BreakpointsOptions, zt as UseMutationObserverOptions } from "./index-CkmnMjE3.mjs";
|
|
4
|
+
import { a as isSelfClosingTag, c as SUPPORTS_MATCH_MEDIA, d as SUPPORTS_TOUCH, f as __LOGGER_ENABLED__, i as SelfClosingElement, l as SUPPORTS_MUTATION_OBSERVER, n as HTMLElementName, o as IN_BROWSER, p as version, r as SELF_CLOSING_TAGS, s as SUPPORTS_INTERSECTION_OBSERVER, t as COMMON_ELEMENTS, u as SUPPORTS_OBSERVER } from "./index-BmxOG13-.mjs";
|
|
5
|
+
import { a as isBoolean, c as isNull, d as isObject, f as isPrimitive, g as range, h as mergeDeep, i as isArray, l as isNullOrUndefined, m as isUndefined, n as debounce, o as isFunction, p as isString, r as genId, s as isNaN, t as clamp, u as isNumber } from "./index-BPAr2atm.mjs";
|
|
6
|
+
export { _default as Atom, AtomExpose, AtomProps, AtomSlots, Avatar, AvatarContext, AvatarFallbackProps, AvatarImageEmits, AvatarImageProps, AvatarRootProps, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, COMMON_ELEMENTS, CleanupFunction, Colors, ConsolaLoggerAdapter, ContextKey, ContextTrinity, EventHandler, ExpansionPanel, ExpansionPanelActivatorProps, ExpansionPanelActivatorSlotProps, ExpansionPanelContentProps, ExpansionPanelContentSlotProps, ExpansionPanelItemContext, ExpansionPanelItemProps, ExpansionPanelRootProps, ExpansionPanelRootSlotProps, FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FilterFunction, FilterItem, FilterMode, FilterQuery, FlatTokenCollection, FormContext, FormContextOptions, FormOptions, FormTicket, FormValidationResult, FormValidationRule, FormValue, Group, GroupContext, GroupContextOptions, GroupOptions, GroupTicket, HTMLElementName, HydrationContext, HydrationContextOptions, HydrationOptions, HydrationPluginOptions, IN_BROWSER, IntersectionObserverEntry, IntersectionObserverOptions, KeyHandler, LocaleAdapter, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, MemoryAdapter, MutationObserverRecord, OverflowContext, OverflowContextOptions, OverflowOptions, Pagination, PaginationContext, PaginationContextOptions, PaginationEllipsisProps, PaginationEllipsisSlots, PaginationFirstProps, PaginationFirstSlots, PaginationItem, PaginationItemProps, PaginationItemSlots, PaginationLastProps, PaginationLastSlots, PaginationNextProps, PaginationNextSlots, PaginationOptions, PaginationPrevProps, PaginationPrevSlots, PaginationRootProps, PaginationRootSlots, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, Plugin, PluginOptions, Popover, PopoverAnchorProps, PopoverContentEmits, PopoverContentProps, PopoverContext, PopoverRootProps, Primitive, ProxyModelOptions, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, RegistryContext, RegistryContextOptions, RegistryOptions, RegistryTicket, ResizeObserverEntry, ResizeObserverOptions, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, ScrollToOptions, Selection, SelectionContext, SelectionContextOptions, SelectionOptions, SelectionTicket, SelfClosingElement, Single, SingleContext, SingleContextOptions, SingleOptions, SingleTicket, Step, StepContext, StepContextOptions, StepOptions, StepTicket, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, ToggleScopeControls, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseElementIntersectionReturn, UseElementSizeReturn, UseFilterOptions, UseFilterResult, UseIntersectionObserverReturn, UseKeydownReturn, UseMutationObserverOptions, UseMutationObserverReturn, UseResizeObserverReturn, VirtualAnchor, VirtualContext, VirtualDirection, VirtualItem, VirtualOptions, VirtualState, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, clamp, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, debounce, genId, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isUndefined, mergeDeep, provideContext, providePopoverContext, range, toArray, toReactive, useBreakpoints, useContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePermissions, usePopoverContext, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener, version };
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as SELF_CLOSING_TAGS, r as isSelfClosingTag, t as COMMON_ELEMENTS } from "./htmlElements-BYo-fMlZ.mjs";
|
|
2
|
-
import { a as
|
|
3
|
-
import { a as providePopoverContext, c as ExpansionPanel, i as Popover, l as
|
|
4
|
-
import { $ as
|
|
5
|
-
import { a as SUPPORTS_OBSERVER, c as version, i as SUPPORTS_MUTATION_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, o as SUPPORTS_TOUCH, r as SUPPORTS_MATCH_MEDIA, s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-
|
|
2
|
+
import { a as isBoolean, c as isNull, d as isObject, f as isPrimitive, g as range, h as mergeDeep, i as isArray, l as isNullOrUndefined, m as isUndefined, n as debounce, o as isFunction, p as isString, r as genId, s as isNaN, t as clamp, u as isNumber } from "./utilities-C6o-keMm.mjs";
|
|
3
|
+
import { a as providePopoverContext, c as usePaginationControls, d as ExpansionPanel, f as Avatar, i as Popover, l as usePaginationItems, n as Single, o as usePopoverContext, p as Atom_default, r as Selection, s as Pagination, t as Step, u as Group } from "./components-Cf1h368z.mjs";
|
|
4
|
+
import { $ as createFeatures, A as usePagination, At as useHydration, B as createLocalePlugin, Bt as useContext, C as createPermissions, Ct as createBreakpointsContext, D as PermissionAdapter, Dt as createHydration, E as usePermissions, Et as createFallbackHydration, F as useResizeObserver, Ft as toArray, G as useSingle, H as Vuetify0LocaleAdapter, I as useMutationObserver, It as createTrinity, J as useIntersectionObserver, K as useKeydown, L as createLocale, Lt as createPlugin, M as createOverflowContext, Mt as useEventListener, N as useOverflow, Nt as useWindowEventListener, O as createPagination, Ot as createHydrationContext, P as useElementSize, Pt as toReactive, Q as useFilter, R as createLocaleContext, Rt as createContext, S as useProxyModel, St as createBreakpoints, T as createPermissionsPlugin, Tt as useBreakpoints, U as createSingle, V as useLocale, W as createSingleContext, X as createFormContext, Y as createForm, Z as useForm, _ as createStepContext, _t as createLoggerPlugin, a as useTimeline, at as useTokens, b as createQueueContext, bt as PinoLoggerAdapter, c as createThemePlugin, ct as useGroup, d as createStorage, dt as createSelectionContext, et as createFeaturesContext, f as createStorageContext, ft as useSelection, g as createStep, gt as createLoggerContext, h as MemoryAdapter, ht as createLogger, i as createTimelineContext, it as createTokensContext, j as createOverflow, jt as useDocumentEventListener, k as createPaginationContext, kt as createHydrationPlugin, l as useTheme, lt as useProxyRegistry, m as useStorage, mt as useRegistry, n as useToggleScope, nt as useFeatures, o as createTheme, ot as createGroup, p as createStoragePlugin, pt as createRegistryContext, q as useElementIntersection, r as createTimeline, rt as createTokens, s as createThemeContext, st as createGroupContext, t as useVirtual, tt as createFeaturesPlugin, u as Vuetify0ThemeAdapter, ut as createSelection, v as useStep, vt as useLogger, w as createPermissionsContext, wt as createBreakpointsPlugin, x as useQueue, xt as ConsolaLoggerAdapter, y as createQueue, yt as Vuetify0LoggerAdapter, z as createLocaleFallback, zt as provideContext } from "./composables-CrW3IMUM.mjs";
|
|
5
|
+
import { a as SUPPORTS_OBSERVER, c as version, i as SUPPORTS_MUTATION_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, o as SUPPORTS_TOUCH, r as SUPPORTS_MATCH_MEDIA, s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-CqryJ9G3.mjs";
|
|
6
6
|
import "./constants-Xfszzyok.mjs";
|
|
7
7
|
|
|
8
|
-
export { Atom_default as Atom, Avatar, COMMON_ELEMENTS, ConsolaLoggerAdapter, ExpansionPanel, Group, IN_BROWSER, MemoryAdapter, PermissionAdapter, PinoLoggerAdapter, Popover, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, Selection, Single, Step, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createFeatures, createFeaturesContext, createFeaturesPlugin, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, genId, isArray, isBoolean, isFunction, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isUndefined, mergeDeep, provideContext, providePopoverContext,
|
|
8
|
+
export { Atom_default as Atom, Avatar, COMMON_ELEMENTS, ConsolaLoggerAdapter, ExpansionPanel, Group, IN_BROWSER, MemoryAdapter, Pagination, PermissionAdapter, PinoLoggerAdapter, Popover, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, Selection, Single, Step, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, __LOGGER_ENABLED__, clamp, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createQueue, createQueueContext, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, debounce, genId, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isSelfClosingTag, isString, isUndefined, mergeDeep, provideContext, providePopoverContext, range, toArray, toReactive, useBreakpoints, useContext, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHydration, useIntersectionObserver, useKeydown, useLocale, useLogger, useMutationObserver, useOverflow, usePagination, usePaginationControls, usePaginationItems, usePermissions, usePopoverContext, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStep, useStorage, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener, version };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../index-DY7-T630.mjs";
|
|
2
|
-
import { a as
|
|
3
|
-
export { genId, isArray, isBoolean, isFunction, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isUndefined, mergeDeep };
|
|
2
|
+
import { a as isBoolean, c as isNull, d as isObject, f as isPrimitive, g as range, h as mergeDeep, i as isArray, l as isNullOrUndefined, m as isUndefined, n as debounce, o as isFunction, p as isString, r as genId, s as isNaN, t as clamp, u as isNumber } from "../index-BPAr2atm.mjs";
|
|
3
|
+
export { clamp, debounce, genId, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isUndefined, mergeDeep, range };
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as isBoolean, c as isNull, d as isObject, f as isPrimitive, g as range, h as mergeDeep, i as isArray, l as isNullOrUndefined, m as isUndefined, n as debounce, o as isFunction, p as isString, r as genId, s as isNaN, t as clamp, u as isNumber } from "../utilities-C6o-keMm.mjs";
|
|
2
2
|
|
|
3
|
-
export { genId, isArray, isBoolean, isFunction, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isUndefined, mergeDeep };
|
|
3
|
+
export { clamp, debounce, genId, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isUndefined, mergeDeep, range };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//#region src/utilities/helpers.ts
|
|
2
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
3
|
+
function isFunction(item) {
|
|
4
|
+
return typeof item === "function";
|
|
5
|
+
}
|
|
6
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
7
|
+
function isString(item) {
|
|
8
|
+
return typeof item === "string";
|
|
9
|
+
}
|
|
10
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
11
|
+
function isNumber(item) {
|
|
12
|
+
return typeof item === "number";
|
|
13
|
+
}
|
|
14
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
15
|
+
function isBoolean(item) {
|
|
16
|
+
return typeof item === "boolean";
|
|
17
|
+
}
|
|
18
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
19
|
+
function isObject(item) {
|
|
20
|
+
return typeof item === "object" && item !== null && !Array.isArray(item);
|
|
21
|
+
}
|
|
22
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
23
|
+
function isArray(item) {
|
|
24
|
+
return Array.isArray(item);
|
|
25
|
+
}
|
|
26
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
27
|
+
function isNull(item) {
|
|
28
|
+
return item === null;
|
|
29
|
+
}
|
|
30
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
31
|
+
function isNullOrUndefined(item) {
|
|
32
|
+
return item == null;
|
|
33
|
+
}
|
|
34
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
35
|
+
function isUndefined(item) {
|
|
36
|
+
return item === void 0;
|
|
37
|
+
}
|
|
38
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
39
|
+
function isPrimitive(item) {
|
|
40
|
+
return typeof item === "string" || typeof item === "number" || typeof item === "boolean";
|
|
41
|
+
}
|
|
42
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
43
|
+
function isNaN(item) {
|
|
44
|
+
return /* @__PURE__ */ isNumber(item) && Number.isNaN(item);
|
|
45
|
+
}
|
|
46
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
47
|
+
function mergeDeep(target, ...sources) {
|
|
48
|
+
if (sources.length === 0) return target;
|
|
49
|
+
const source = sources.shift();
|
|
50
|
+
if (/* @__PURE__ */ isObject(target) && /* @__PURE__ */ isObject(source)) {
|
|
51
|
+
for (const key in source) if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
52
|
+
const sourceValue = source[key];
|
|
53
|
+
const targetValue = target[key];
|
|
54
|
+
if (/* @__PURE__ */ isObject(sourceValue)) {
|
|
55
|
+
if (!/* @__PURE__ */ isObject(targetValue)) Object.assign(target, { [key]: {} });
|
|
56
|
+
} else Object.assign(target, { [key]: sourceValue });
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return /* @__PURE__ */ mergeDeep(target, ...sources);
|
|
60
|
+
}
|
|
61
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
62
|
+
function genId() {
|
|
63
|
+
return Math.random().toString(36).slice(2, 9);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Clamps a value between a minimum and maximum
|
|
67
|
+
*
|
|
68
|
+
* @param value The value to clamp
|
|
69
|
+
* @param min The minimum value (default: 0)
|
|
70
|
+
* @param max The maximum value (default: 1)
|
|
71
|
+
* @returns The clamped value
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* ```ts
|
|
75
|
+
* clamp(5, 0, 10) // 5
|
|
76
|
+
* clamp(-5, 0, 10) // 0
|
|
77
|
+
* clamp(15, 0, 10) // 10
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
81
|
+
function clamp(value, min = 0, max = 1) {
|
|
82
|
+
return Math.max(min, Math.min(max, value));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Creates an array of sequential numbers
|
|
86
|
+
*
|
|
87
|
+
* @param length The length of the array to create
|
|
88
|
+
* @param start The starting index (default: 0)
|
|
89
|
+
* @returns An array of sequential numbers
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* ```ts
|
|
93
|
+
* range(3) // [0, 1, 2]
|
|
94
|
+
* range(3, 1) // [1, 2, 3]
|
|
95
|
+
* range(5, 10) // [10, 11, 12, 13, 14]
|
|
96
|
+
* range(0) // []
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
100
|
+
function range(length, start = 0) {
|
|
101
|
+
return Array.from({ length }, (_, index) => start + index);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Debounces a function call by the specified delay
|
|
105
|
+
*
|
|
106
|
+
* @param fn The function to debounce
|
|
107
|
+
* @param delay The delay in milliseconds
|
|
108
|
+
* @returns A debounced function with clear and immediate methods
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* const debouncedFn = debounce(() => console.log('called'), 500)
|
|
113
|
+
* debouncedFn() // Will call after 500ms
|
|
114
|
+
* debouncedFn.clear() // Cancel pending call
|
|
115
|
+
* debouncedFn.immediate() // Call immediately
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
function debounce(fn, delay) {
|
|
119
|
+
let timeoutId;
|
|
120
|
+
function debounced(...args) {
|
|
121
|
+
if (!/* @__PURE__ */ isUndefined(timeoutId)) clearTimeout(timeoutId);
|
|
122
|
+
timeoutId = setTimeout(() => fn(...args), delay);
|
|
123
|
+
}
|
|
124
|
+
debounced.clear = () => {
|
|
125
|
+
if (!/* @__PURE__ */ isUndefined(timeoutId)) clearTimeout(timeoutId);
|
|
126
|
+
};
|
|
127
|
+
debounced.immediate = (...args) => {
|
|
128
|
+
debounced.clear();
|
|
129
|
+
fn(...args);
|
|
130
|
+
};
|
|
131
|
+
return debounced;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
//#endregion
|
|
135
|
+
export { isBoolean as a, isNull as c, isObject as d, isPrimitive as f, range as g, mergeDeep as h, isArray as i, isNullOrUndefined as l, isUndefined as m, debounce as n, isFunction as o, isString as p, genId as r, isNaN as s, clamp as t, isNumber as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Vuetify0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -15,18 +15,6 @@
|
|
|
15
15
|
"url": "git+https://github.com/vuetifyjs/0.git",
|
|
16
16
|
"directory": "packages/0"
|
|
17
17
|
},
|
|
18
|
-
"exports": {
|
|
19
|
-
".": "./dist/index.mjs",
|
|
20
|
-
"./browser": {
|
|
21
|
-
"types": "./dist/index.d.mts",
|
|
22
|
-
"import": "./dist/browser/index.js"
|
|
23
|
-
},
|
|
24
|
-
"./components": "./dist/components/index.mjs",
|
|
25
|
-
"./composables": "./dist/composables/index.mjs",
|
|
26
|
-
"./constants": "./dist/constants/index.mjs",
|
|
27
|
-
"./types": "./dist/types/index.mjs",
|
|
28
|
-
"./utilities": "./dist/utilities/index.mjs"
|
|
29
|
-
},
|
|
30
18
|
"peerDependencies": {
|
|
31
19
|
"markdown": "^0.5.0",
|
|
32
20
|
"markdown-it": "^14.1.0",
|
|
@@ -55,6 +43,16 @@
|
|
|
55
43
|
"unplugin-vue": "^7.0.4",
|
|
56
44
|
"vue": "^3.5.24"
|
|
57
45
|
},
|
|
46
|
+
"exports": {
|
|
47
|
+
".": "./dist/index.mjs",
|
|
48
|
+
"./components": "./dist/components/index.mjs",
|
|
49
|
+
"./composables": "./dist/composables/index.mjs",
|
|
50
|
+
"./constants": "./dist/constants/index.mjs",
|
|
51
|
+
"./types": "./dist/types/index.mjs",
|
|
52
|
+
"./utilities": "./dist/utilities/index.mjs",
|
|
53
|
+
"./package.json": "./package.json",
|
|
54
|
+
"./browser": "./dist/browser/index.js"
|
|
55
|
+
},
|
|
58
56
|
"scripts": {
|
|
59
57
|
"build": "tsdown",
|
|
60
58
|
"typecheck": "vue-tsc --noEmit --incremental"
|