@vuetify/v0 0.1.5 → 0.1.6
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-Cmeg49W9.mjs → adapter-Bjs_Nx_J.mjs} +8 -10
- package/dist/{adapter-D2JoR-4d.d.mts → adapter-CLs-OrSN.d.mts} +4 -4
- package/dist/browser/index.js +1645 -273
- package/dist/components/index.d.mts +8 -8
- package/dist/components/index.mjs +28 -28
- package/dist/{components-BbbGkTcN.mjs → components-GiQh_RfQ.mjs} +1101 -110
- 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-cNf6DdHz.mjs → createDataTable-lSofI5rU.mjs} +5 -5
- package/dist/{createGroup-BrZPZudL.mjs → createGroup-CCb7Zfyw.mjs} +6 -5
- package/dist/{createPagination-Wc_vRGNQ.mjs → createPagination-lagznd8i.mjs} +2 -2
- package/dist/{createSelection-BURpoE3p.mjs → createSelection-Zo4RQpYe.mjs} +217 -61
- package/dist/{createSingle-BE1vHaZy.mjs → createSingle-BH9wNDrS.mjs} +2 -2
- package/dist/{createTokens-jwf8-iGn.mjs → createTokens-Cu1efg9Z.mjs} +21 -3
- package/dist/{createTrinity-DkwPrPRS.mjs → createTrinity-Cii8-B2r.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-vN-O052q.mjs → globals-D6FBsWDI.mjs} +1 -1
- package/dist/{index-DdWxDPX3.d.mts → index-DIK84tM4.d.mts} +1 -1
- package/dist/{index-BTMzRHep.d.mts → index-De0SQt1w.d.mts} +801 -50
- package/dist/{index-DRax9EgT.d.mts → index-DlUIZN-F.d.mts} +1125 -373
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +28 -28
- package/dist/json/attributes.json +196 -12
- package/dist/json/importMap.json +40 -0
- package/dist/json/tags.json +86 -0
- package/dist/json/web-types.json +605 -13
- 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-DFxkZLiu.mjs → pino-BD5PCzAF.mjs} +1 -1
- package/dist/{posthog-BOUoZTTf.mjs → posthog-BxaG8sYi.mjs} +1 -1
- package/dist/{server-B-HWxaTQ.d.mts → server-CGAeOGPC.d.mts} +1 -1
- package/dist/{server-C2R2POGE.mjs → server-DgOdFYMU.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-VIn8vYt3.mjs → toArray-BBZH-G2X.mjs} +1 -1
- package/dist/{useClickOutside-DIi0kjN5.mjs → useClickOutside-Bm_3mbcT.mjs} +306 -98
- package/dist/{useFeatures-6O7EPJUS.mjs → useFeatures-BS4mit8z.mjs} +4 -4
- package/dist/{useLocale-DHjbekzS.mjs → useLocale-DJJmg-wv.mjs} +6 -6
- package/dist/{useLogger-BXqiUvt2.mjs → useLogger-C8G5jgNk.mjs} +4 -4
- package/dist/{usePermissions-DFacFVqO.mjs → usePermissions-C5Mkotol.mjs} +4 -4
- package/dist/{useTheme-D0_1mjTw.mjs → useTheme-BBnASLr3.mjs} +4 -4
- package/dist/utilities/index.mjs +2 -2
- package/dist/{utilities-Dx8wzGa5.mjs → utilities-CcJtp9Gx.mjs} +1 -1
- package/dist/{v0-CfSj99gF.mjs → v0-BWBSVkew.mjs} +2 -2
- package/dist/{v0-BNXo1ecc.d.mts → v0-Bh8d1j_p.d.mts} +1 -1
- package/dist/{v0-BPzPP8C5.d.mts → v0-CVr15VcY.d.mts} +1 -1
- package/dist/{v0-Dc5mcpQs.mjs → v0-CWUF_HqP.mjs} +2 -2
- package/dist/{v0-BYqmw3qM.mjs → v0-DtO_ICXr.mjs} +1 -1
- package/dist/{v0-Dwufx8ae.mjs → v0-DzvhDU1W.mjs} +2 -2
- package/dist/{v0-C8DBv9mh.mjs → v0-lua6ffdk.mjs} +2 -2
- package/dist/{virtual-BoTGK6HT.mjs → virtual-BEOqkQvm.mjs} +2 -2
- package/dist/{virtual-A4e1yrdn.d.mts → virtual-CVb9hRUU.d.mts} +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../index-BFBN5Zl3.mjs";
|
|
2
|
-
import { C as createFilter, D as createTrinity, E as ContextTrinity, S as Primitive, T as useFilter, _ as FilterItem, a as SortDirection, b as FilterQuery, c as PaginationContextOptions, d as createPagination, f as createPaginationContext, g as FilterFunction, h as FilterContextOptions, i as DataTableAdapterResult, l as PaginationOptions, m as FilterContext, n as DataTableAdapterContext, o as SortEntry, p as usePagination, r as DataTableAdapterInterface, s as PaginationContext, t as DataTableAdapter, u as PaginationTicket, v as FilterMode, w as createFilterContext, x as FilterResult, y as FilterOptions } from "../adapter-
|
|
3
|
-
import { $ as useStep, $i as
|
|
4
|
-
import { n as ServerAdapterOptions, t as ServerAdapter } from "../server-
|
|
5
|
-
import { t as ClientAdapter } from "../v0-
|
|
6
|
-
import { t as VirtualAdapter } from "../virtual-
|
|
7
|
-
import { a as DataTableGroup, c as DataTableSelection, d as createDataTable, f as createDataTableContext, i as DataTableExpansion, l as DataTableSort, n as DataTableContext, o as DataTableGrouping, p as useDataTable, r as DataTableContextOptions, s as DataTableOptions, t as DataTableColumn, u as SelectStrategy } from "../index-
|
|
2
|
+
import { C as createFilter, D as createTrinity, E as ContextTrinity, S as Primitive, T as useFilter, _ as FilterItem, a as SortDirection, b as FilterQuery, c as PaginationContextOptions, d as createPagination, f as createPaginationContext, g as FilterFunction, h as FilterContextOptions, i as DataTableAdapterResult, l as PaginationOptions, m as FilterContext, n as DataTableAdapterContext, o as SortEntry, p as usePagination, r as DataTableAdapterInterface, s as PaginationContext, t as DataTableAdapter, u as PaginationTicket, v as FilterMode, w as createFilterContext, x as FilterResult, y as FilterOptions } from "../adapter-CLs-OrSN.mjs";
|
|
3
|
+
import { $ as useStep, $i as SingleTicketInput, $n as createHydrationContext, $r as ClickOutsideIgnoreTarget, $t as NestedOpenMode, A as createTheme, Ai as createOverflow, An as LocaleRecord, Ar as TokenContext, At as useProxyRegistry, B as StorageOptions, Bi as useGroup, Bn as useLazy, Br as EventHandler, Bt as createPermissionsContext, C as ThemeContext, Ca as RegistryTicketInput, Ci as CreateContextOptions, Cn as createLoggerPlugin, Cr as createFeatures, Ct as QueueTicket, D as ThemeRecord, Di as OverflowContext, Dn as LocaleContextOptions, Dr as FlatTokenCollection, Dt as useQueue, E as ThemePluginOptions, Ea as useRegistry, Ei as useContext, En as LocaleContext, Er as useFeatures, Et as createQueueContext, Fi as GroupOptions, Fn as createLocaleFallback, Fr as TokenValue, Ft as PermissionContextOptions, G as useStorage, Gi as BreadcrumbsOptions, Gn as useElementIntersection, Gr as DateContextOptions, Gt as createNested, H as createStorage, Hi as BreadcrumbTicketInput, Hn as IntersectionObserverOptions, Hr as useEventListener, Ht as usePermissions, I as ThemeAdapter, Ii as GroupTicket, In as createLocalePlugin, Ir as createTokens, It as PermissionOptions, J as StepOptions, Ji as useBreadcrumbs, Jn as HydrationContextOptions, Jr as createDate, Jt as multipleOpenStrategy, K as StepContext, Ki as createBreadcrumbs, Kn as useIntersectionObserver, Kr as DateOptions, Kt as createNestedContext, Li as GroupTicketInput, Ln as useLocale, Lr as createTokensContext, Lt as PermissionPluginOptions, M as createThemePlugin, Mi as useOverflow, Mn as LocaleTicketInput, Mr as TokenOptions, Mt as ProxyModelTarget, N as useTheme, Ni as GroupContext, Nn as createLocale, Nr as TokenPrimitive, Nt as useProxyModel, O as ThemeTicket, Oi as OverflowContextOptions, On as LocaleOptions, Or as TokenAlias, Ot as ProxyRegistryContext, P as Vuetify0ThemeAdapter, Pi as GroupContextOptions, Pn as createLocaleContext, Pr as TokenTicket, Pt as PermissionContext, Q as createStepContext, Qi as SingleTicket, Qn as createHydration, Qr as ClickOutsideElement, Qt as NestedContextOptions, R as StorageContext, Ri as createGroup, Rn as LazyContext, Rr as useTokens, Rt as PermissionTicket, S as ThemeColors, Sa as RegistryTicket, Si as ContextKey, Sn as createLoggerContext, Sr as FeatureTicketInput, St as QueueOptions, T as ThemeOptions, Ta as createRegistryContext, Ti as provideContext, Tn as LogLevel, Tr as createFeaturesPlugin, Tt as createQueue, U as createStorageContext, Ui as BreadcrumbsContext, Un as UseElementIntersectionReturn, Ur as useWindowEventListener, Ut as PermissionAdapter, V as StoragePluginOptions, Vi as BreadcrumbTicket, Vn as IntersectionObserverEntry, Vr as useDocumentEventListener, Vt as createPermissionsPlugin, W as createStoragePlugin, Wi as BreadcrumbsContextOptions, Wn as UseIntersectionObserverReturn, Wr as DateContext, Wt as PermissionAdapterInterface, X as StepTicketInput, Xi as SingleContextOptions, Xn as HydrationPluginOptions, Xr as createDatePlugin, Xt as NestedActiveMode, Y as StepTicket, Yi as SingleContext, Yn as HydrationOptions, Yr as createDateContext, Yt as singleOpenStrategy, Z as createStep, Zi as SingleOptions, Zn as createFallbackHydration, Zr as useDate, Zt as NestedContext, _ as TimelineTicket, _a as RegistryContextOptions, _i as Plugin, _n as LoggerContext, _r as FeatureContext, _t as UseResizeObserverReturn, a as VirtualDirection, aa as SelectionOptions, ai as BreakpointsContext, an as OpenStrategy, ar as useHotkey, at as StackTicketInput, b as useTimeline, ba as RegistryEventName, bi as createPlugin, bn as LoggerPluginOptions, br as FeaturePluginOptions, bt as QueueContext, c as VirtualState, ca as createSelection, ci as BreakpointsPluginOptions, cn as ObservableNodeList, cr as FormOptions, ct as createStackPlugin, d as useVirtual, da as ModelContext, di as createBreakpointsPlugin, dn as useMutationObserver, dr as FormValidationResult, dt as SliderOptions, ea as createSingle, ei as ClickOutsideTarget, en as NestedOptions, er as createHydrationPlugin, et as StackContext, f as ToggleScopeControls, fa as ModelOptions, fi as useBreakpoints, fn as MediaQueryContext, fr as FormValidationRule, ft as SliderTicketInput, g as TimelineOptions, ga as RegistryContext, gi as toArray, gn as usePrefersReducedMotion, gr as useForm, gt as UseElementSizeReturn, h as TimelineContextOptions, ha as createModel, hi as toElement, hn as usePrefersDark, hr as createFormContext, ht as ResizeObserverOptions, i as VirtualContextOptions, ia as SelectionContextOptions, ii as BreakpointName, in as NestedTicketInput, ir as UseHotkeyReturn, it as StackTicket, j as createThemeContext, ji as createOverflowContext, jn as LocaleTicket, jr as TokenContextOptions, jt as ProxyModelOptions, k as ThemeTicketInput, ki as OverflowOptions, kn as LocalePluginOptions, kr as TokenCollection, kt as ProxyRegistryOptions, l as createVirtual, la as createSelectionContext, li as createBreakpoints, ln as UseMutationObserverOptions, lr as FormTicket, lt as useStack, m as TimelineContext, ma as ModelTicketInput, mi as MaybeElementRef, mn as usePrefersContrast, mr as createForm, mt as ResizeObserverEntry, n as VirtualAnchor, na as useSingle, ni as UseClickOutsideReturn, nn as NestedSelectionMode, nr as PlatformContext, nt as StackOptions, o as VirtualItem, oa as SelectionTicket, oi as BreakpointsContextOptions, on as OpenStrategyContext, or as FormContext, ot as createStack, p as useToggleScope, pa as ModelTicket, pi as toReactive, pn as useMediaQuery, pr as FormValue, pt as createSlider, q as StepContextOptions, qi as createBreadcrumbsContext, qn as HydrationContext, qr as DatePluginOptions, qt as useNested, r as VirtualContext, ra as SelectionContext, ri as useClickOutside, rn as NestedTicket, rr as UseHotkeyOptions, rt as StackPluginOptions, s as VirtualOptions, sa as SelectionTicketInput, si as BreakpointsOptions, sn as MutationObserverRecord, sr as FormContextOptions, st as createStackContext, t as ScrollToOptions, ta as createSingleContext, ti as UseClickOutsideOptions, tn as NestedRegistration, tr as useHydration, tt as StackContextOptions, u as createVirtualContext, ua as useSelection, ui as createBreakpointsContext, un as UseMutationObserverReturn, ur as FormTicketInput, ut as SliderContext, v as createTimeline, va as RegistryEventCallback, vi as PluginContextConfig, vn as LoggerContextOptions, vr as FeatureContextOptions, vt as useElementSize, w as ThemeContextOptions, wa as createRegistry, wi as createContext, wn as useLogger, wr as createFeaturesContext, wt as QueueTicketInput, x as Colors, xa as RegistryOptions, xi as createPluginContext, xn as createLogger, xr as FeatureTicket, xt as QueueContextOptions, y as createTimelineContext, ya as RegistryEventMap, yi as PluginOptions, yn as LoggerOptions, yr as FeatureOptions, yt as useResizeObserver, z as StorageContextOptions, zi as createGroupContext, zn as LazyOptions, zr as CleanupFunction, zt as createPermissions } from "../index-De0SQt1w.mjs";
|
|
4
|
+
import { n as ServerAdapterOptions, t as ServerAdapter } from "../server-CGAeOGPC.mjs";
|
|
5
|
+
import { t as ClientAdapter } from "../v0-CVr15VcY.mjs";
|
|
6
|
+
import { t as VirtualAdapter } from "../virtual-CVb9hRUU.mjs";
|
|
7
|
+
import { a as DataTableGroup, c as DataTableSelection, d as createDataTable, f as createDataTableContext, i as DataTableExpansion, l as DataTableSort, n as DataTableContext, o as DataTableGrouping, p as useDataTable, r as DataTableContextOptions, s as DataTableOptions, t as DataTableColumn, u as SelectStrategy } from "../index-DIK84tM4.mjs";
|
|
8
8
|
import { t as DateAdapter } from "../adapter-DcwxFryd.mjs";
|
|
9
9
|
import { i as FeaturesAdapterValue, n as FeaturesAdapterFlags, r as FeaturesAdapterInterface, t as FeaturesAdapter } from "../index-BuOz3Rgm.mjs";
|
|
10
10
|
import { n as LocaleAdapter, t as Vuetify0LocaleAdapter } from "../v0-DHMoZ7dS.mjs";
|
|
@@ -14,4 +14,4 @@ import { t as PinoLoggerAdapter } from "../pino-p-jDkNQd.mjs";
|
|
|
14
14
|
import { t as Vuetify0LoggerAdapter } from "../v0-BOxb3nD1.mjs";
|
|
15
15
|
import { t as MemoryAdapter } from "../memory-DVjquu_v.mjs";
|
|
16
16
|
import { n as StorageType, t as StorageAdapter } from "../index-BDTbJClL.mjs";
|
|
17
|
-
export { BreadcrumbTicket, BreadcrumbTicketInput, BreadcrumbsContext, BreadcrumbsContextOptions, BreadcrumbsOptions, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, CleanupFunction, ClickOutsideElement, ClickOutsideIgnoreTarget, ClickOutsideTarget, ClientAdapter, Colors, ConsolaLoggerAdapter, ContextKey, ContextTrinity, CreateContextOptions, DataTableAdapter, DataTableAdapterContext, DataTableAdapterInterface, DataTableAdapterResult, DataTableColumn, DataTableContext, DataTableContextOptions, DataTableExpansion, DataTableGroup, DataTableGrouping, DataTableOptions, DataTableSelection, DataTableSort, DateAdapter, DateContext, DateContextOptions, DateOptions, DatePluginOptions, EventHandler, FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FeatureTicketInput, FeaturesAdapter, FeaturesAdapterFlags, FeaturesAdapterInterface, FeaturesAdapterValue, FilterContext, FilterContextOptions, FilterFunction, FilterItem, FilterMode, FilterOptions, FilterQuery, FilterResult, FlatTokenCollection, FormContext, FormContextOptions, FormOptions, FormTicket, FormTicketInput, FormValidationResult, FormValidationRule, FormValue, GroupContext, GroupContextOptions, GroupOptions, GroupTicket, GroupTicketInput, HydrationContext, HydrationContextOptions, HydrationOptions, HydrationPluginOptions, IntersectionObserverEntry, IntersectionObserverOptions, LazyContext, LazyOptions, LocaleAdapter, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, MaybeElementRef, MediaQueryContext, MemoryAdapter, MutationObserverRecord, NestedActiveMode, NestedContext, NestedContextOptions, NestedOpenMode, NestedOptions, NestedRegistration, NestedSelectionMode, NestedTicket, NestedTicketInput, ObservableNodeList, OpenStrategy, OpenStrategyContext, OverflowContext, OverflowContextOptions, OverflowOptions, PaginationContext, PaginationContextOptions, PaginationOptions, PaginationTicket, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, PlatformContext, Plugin, PluginContextConfig, PluginOptions, Primitive, ProxyModelOptions, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, QueueTicketInput, RegistryContext, RegistryContextOptions, RegistryEventCallback, RegistryEventMap, RegistryEventName, RegistryOptions, RegistryTicket, RegistryTicketInput, ResizeObserverEntry, ResizeObserverOptions, ScrollToOptions, SelectStrategy, SelectionContext, SelectionContextOptions, SelectionOptions, SelectionTicket, SelectionTicketInput, ServerAdapter, ServerAdapterOptions, SingleContext, SingleContextOptions, SingleOptions, SingleTicket, SingleTicketInput, SortDirection, SortEntry, StackContext, StackContextOptions, StackOptions, StackPluginOptions, StackTicket, StackTicketInput, StepContext, StepContextOptions, StepOptions, StepTicket, StepTicketInput, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, ToggleScopeControls, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseClickOutsideOptions, UseClickOutsideReturn, UseElementIntersectionReturn, UseElementSizeReturn, UseHotkeyOptions, UseHotkeyReturn, UseIntersectionObserverReturn, UseMutationObserverOptions, UseMutationObserverReturn, UseResizeObserverReturn, VirtualAdapter, VirtualAnchor, VirtualContext, VirtualContextOptions, VirtualDirection, VirtualItem, VirtualOptions, VirtualState, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createVirtual, createVirtualContext, multipleOpenStrategy, provideContext, singleOpenStrategy, toArray, toElement, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useContext, useDataTable, useDate, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHotkey, useHydration, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePermissions, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener };
|
|
17
|
+
export { BreadcrumbTicket, BreadcrumbTicketInput, BreadcrumbsContext, BreadcrumbsContextOptions, BreadcrumbsOptions, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, CleanupFunction, ClickOutsideElement, ClickOutsideIgnoreTarget, ClickOutsideTarget, ClientAdapter, Colors, ConsolaLoggerAdapter, ContextKey, ContextTrinity, CreateContextOptions, DataTableAdapter, DataTableAdapterContext, DataTableAdapterInterface, DataTableAdapterResult, DataTableColumn, DataTableContext, DataTableContextOptions, DataTableExpansion, DataTableGroup, DataTableGrouping, DataTableOptions, DataTableSelection, DataTableSort, DateAdapter, DateContext, DateContextOptions, DateOptions, DatePluginOptions, EventHandler, FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FeatureTicketInput, FeaturesAdapter, FeaturesAdapterFlags, FeaturesAdapterInterface, FeaturesAdapterValue, FilterContext, FilterContextOptions, FilterFunction, FilterItem, FilterMode, FilterOptions, FilterQuery, FilterResult, FlatTokenCollection, FormContext, FormContextOptions, FormOptions, FormTicket, FormTicketInput, FormValidationResult, FormValidationRule, FormValue, GroupContext, GroupContextOptions, GroupOptions, GroupTicket, GroupTicketInput, HydrationContext, HydrationContextOptions, HydrationOptions, HydrationPluginOptions, IntersectionObserverEntry, IntersectionObserverOptions, LazyContext, LazyOptions, LocaleAdapter, LocaleContext, LocaleContextOptions, LocaleOptions, LocalePluginOptions, LocaleRecord, LocaleTicket, LocaleTicketInput, LogLevel, LoggerAdapter, LoggerContext, LoggerContextOptions, LoggerOptions, LoggerPluginOptions, MaybeElementRef, MediaQueryContext, MemoryAdapter, ModelContext, ModelOptions, ModelTicket, ModelTicketInput, MutationObserverRecord, NestedActiveMode, NestedContext, NestedContextOptions, NestedOpenMode, NestedOptions, NestedRegistration, NestedSelectionMode, NestedTicket, NestedTicketInput, ObservableNodeList, OpenStrategy, OpenStrategyContext, OverflowContext, OverflowContextOptions, OverflowOptions, PaginationContext, PaginationContextOptions, PaginationOptions, PaginationTicket, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, PlatformContext, Plugin, PluginContextConfig, PluginOptions, Primitive, ProxyModelOptions, ProxyModelTarget, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, QueueTicketInput, RegistryContext, RegistryContextOptions, RegistryEventCallback, RegistryEventMap, RegistryEventName, RegistryOptions, RegistryTicket, RegistryTicketInput, ResizeObserverEntry, ResizeObserverOptions, ScrollToOptions, SelectStrategy, SelectionContext, SelectionContextOptions, SelectionOptions, SelectionTicket, SelectionTicketInput, ServerAdapter, ServerAdapterOptions, SingleContext, SingleContextOptions, SingleOptions, SingleTicket, SingleTicketInput, SliderContext, SliderOptions, SliderTicketInput, SortDirection, SortEntry, StackContext, StackContextOptions, StackOptions, StackPluginOptions, StackTicket, StackTicketInput, StepContext, StepContextOptions, StepOptions, StepTicket, StepTicketInput, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, ToggleScopeControls, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseClickOutsideOptions, UseClickOutsideReturn, UseElementIntersectionReturn, UseElementSizeReturn, UseHotkeyOptions, UseHotkeyReturn, UseIntersectionObserverReturn, UseMutationObserverOptions, UseMutationObserverReturn, UseResizeObserverReturn, VirtualAdapter, VirtualAnchor, VirtualContext, VirtualContextOptions, VirtualDirection, VirtualItem, VirtualOptions, VirtualState, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createVirtual, createVirtualContext, multipleOpenStrategy, provideContext, singleOpenStrategy, toArray, toElement, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useContext, useDataTable, useDate, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHotkey, useHydration, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePermissions, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import "../globals-
|
|
2
|
-
import "../utilities-
|
|
3
|
-
import { i as useContext, n as createContext, r as provideContext, t as createTrinity } from "../createTrinity-
|
|
4
|
-
import { a as createPlugin, i as useLogger, n as createLoggerContext, o as createPluginContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
1
|
+
import "../globals-D6FBsWDI.mjs";
|
|
2
|
+
import "../utilities-CcJtp9Gx.mjs";
|
|
3
|
+
import { i as useContext, n as createContext, r as provideContext, t as createTrinity } from "../createTrinity-Cii8-B2r.mjs";
|
|
4
|
+
import { a as createPlugin, i as useLogger, n as createLoggerContext, o as createPluginContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-C8G5jgNk.mjs";
|
|
5
5
|
import { t as ConsolaLoggerAdapter } from "../consola-GBy8XRuL.mjs";
|
|
6
|
-
import { t as PinoLoggerAdapter } from "../pino-
|
|
7
|
-
import { t as Vuetify0LoggerAdapter } from "../v0-
|
|
6
|
+
import { t as PinoLoggerAdapter } from "../pino-BD5PCzAF.mjs";
|
|
7
|
+
import { t as Vuetify0LoggerAdapter } from "../v0-lua6ffdk.mjs";
|
|
8
8
|
import "../adapters-DEXpW9If.mjs";
|
|
9
|
-
import { a as createRegistryContext, i as createRegistry, n as createTokensContext, o as useRegistry, r as useTokens, t as createTokens } from "../createTokens-
|
|
10
|
-
import { n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-
|
|
11
|
-
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-
|
|
12
|
-
import { $ as
|
|
13
|
-
import { i as useProxyRegistry, n as createGroupContext, r as useGroup, t as createGroup } from "../createGroup-
|
|
14
|
-
import { t as toArray } from "../toArray-
|
|
15
|
-
import { t as Vuetify0LocaleAdapter } from "../v0-
|
|
9
|
+
import { a as createRegistryContext, i as createRegistry, n as createTokensContext, o as useRegistry, r as useTokens, t as createTokens } from "../createTokens-Cu1efg9Z.mjs";
|
|
10
|
+
import { i as createModel, n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-Zo4RQpYe.mjs";
|
|
11
|
+
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-BH9wNDrS.mjs";
|
|
12
|
+
import { $ as useProxyModel, A as multipleOpenStrategy, B as useHotkey, C as createSlider, D as createNested, E as useQueue, F as usePrefersDark, G as createDateContext, H as createFormContext, I as usePrefersReducedMotion, J as createBreakpoints, K as createDatePlugin, L as useLazy, M as useMutationObserver, N as useMediaQuery, O as createNestedContext, P as usePrefersContrast, Q as toReactive, R as useElementIntersection, S as useStack, T as createQueueContext, U as useForm, V as createForm, W as createDate, X as createBreakpointsPlugin, Y as createBreakpointsContext, Z as useBreakpoints, _ as createStepContext, a as createVirtual, at as toElement, b as createStackContext, c as useToggleScope, ct as createHydrationContext, d as useTimeline, dt as createBreadcrumbs, et as createOverflow, f as createStorage, ft as createBreadcrumbsContext, g as createStep, h as useStorage, i as useWindowEventListener, it as useResizeObserver, j as singleOpenStrategy, k as useNested, l as createTimeline, lt as createHydrationPlugin, m as createStoragePlugin, n as useDocumentEventListener, nt as useOverflow, o as createVirtualContext, ot as createFallbackHydration, p as createStorageContext, pt as useBreadcrumbs, q as useDate, r as useEventListener, rt as useElementSize, s as useVirtual, st as createHydration, t as useClickOutside, tt as createOverflowContext, u as createTimelineContext, ut as useHydration, v as useStep, w as createQueue, x as createStackPlugin, y as createStack, z as useIntersectionObserver } from "../useClickOutside-Bm_3mbcT.mjs";
|
|
13
|
+
import { i as useProxyRegistry, n as createGroupContext, r as useGroup, t as createGroup } from "../createGroup-CCb7Zfyw.mjs";
|
|
14
|
+
import { t as toArray } from "../toArray-BBZH-G2X.mjs";
|
|
15
|
+
import { t as Vuetify0LocaleAdapter } from "../v0-BWBSVkew.mjs";
|
|
16
16
|
import "../adapters-Q9WaOsJp.mjs";
|
|
17
|
-
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-
|
|
18
|
-
import { n as createPaginationContext, r as usePagination, t as createPagination } from "../createPagination-
|
|
19
|
-
import { i as useFilter, n as createFilter, r as createFilterContext, t as DataTableAdapter } from "../adapter-
|
|
20
|
-
import { t as ClientAdapter } from "../v0-
|
|
21
|
-
import { t as ServerAdapter } from "../server-
|
|
22
|
-
import { t as VirtualAdapter } from "../virtual-
|
|
17
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-DJJmg-wv.mjs";
|
|
18
|
+
import { n as createPaginationContext, r as usePagination, t as createPagination } from "../createPagination-lagznd8i.mjs";
|
|
19
|
+
import { i as useFilter, n as createFilter, r as createFilterContext, t as DataTableAdapter } from "../adapter-Bjs_Nx_J.mjs";
|
|
20
|
+
import { t as ClientAdapter } from "../v0-CWUF_HqP.mjs";
|
|
21
|
+
import { t as ServerAdapter } from "../server-DgOdFYMU.mjs";
|
|
22
|
+
import { t as VirtualAdapter } from "../virtual-BEOqkQvm.mjs";
|
|
23
23
|
import "../adapters-SSDVth5e.mjs";
|
|
24
|
-
import { n as createDataTableContext, r as useDataTable, t as createDataTable } from "../createDataTable-
|
|
25
|
-
import { a as FeaturesAdapter, i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-
|
|
24
|
+
import { n as createDataTableContext, r as useDataTable, t as createDataTable } from "../createDataTable-lSofI5rU.mjs";
|
|
25
|
+
import { a as FeaturesAdapter, i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-BS4mit8z.mjs";
|
|
26
26
|
import "../flagsmith-CHmpPGR7.mjs";
|
|
27
27
|
import "../launchdarkly-W8t8ZANX.mjs";
|
|
28
|
-
import "../posthog-
|
|
29
|
-
import { n as PermissionAdapter } from "../v0-
|
|
28
|
+
import "../posthog-BxaG8sYi.mjs";
|
|
29
|
+
import { n as PermissionAdapter } from "../v0-DtO_ICXr.mjs";
|
|
30
30
|
import "../adapters-BQ-Lr3PW.mjs";
|
|
31
|
-
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-
|
|
31
|
+
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-C5Mkotol.mjs";
|
|
32
32
|
import { t as MemoryAdapter } from "../memory-BsZGbGnG.mjs";
|
|
33
|
-
import { t as Vuetify0ThemeAdapter } from "../v0-
|
|
33
|
+
import { t as Vuetify0ThemeAdapter } from "../v0-DzvhDU1W.mjs";
|
|
34
34
|
import "../adapters-BGJKsBrw.mjs";
|
|
35
|
-
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-
|
|
35
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-BBnASLr3.mjs";
|
|
36
36
|
|
|
37
|
-
export { ClientAdapter, ConsolaLoggerAdapter, DataTableAdapter, FeaturesAdapter, MemoryAdapter, PermissionAdapter, PinoLoggerAdapter, ServerAdapter, VirtualAdapter, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createVirtual, createVirtualContext, multipleOpenStrategy, provideContext, singleOpenStrategy, toArray, toElement, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useContext, useDataTable, useDate, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHotkey, useHydration, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePermissions, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener };
|
|
37
|
+
export { ClientAdapter, ConsolaLoggerAdapter, DataTableAdapter, FeaturesAdapter, MemoryAdapter, PermissionAdapter, PinoLoggerAdapter, ServerAdapter, VirtualAdapter, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0ThemeAdapter, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createQueue, createQueueContext, createRegistry, createRegistryContext, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createVirtual, createVirtualContext, multipleOpenStrategy, provideContext, singleOpenStrategy, toArray, toElement, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useContext, useDataTable, useDate, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHotkey, useHydration, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useOverflow, usePagination, usePermissions, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, useProxyModel, useProxyRegistry, useQueue, useRegistry, useResizeObserver, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useToggleScope, useTokens, useVirtual, useWindowEventListener };
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as SELF_CLOSING_TAGS, r as isSelfClosingTag, t as COMMON_ELEMENTS } from "../htmlElements-d8iBCGpO.mjs";
|
|
2
|
-
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 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-D6FBsWDI.mjs";
|
|
3
3
|
import "../constants-B8pMSkcW.mjs";
|
|
4
4
|
|
|
5
5
|
export { COMMON_ELEMENTS, IN_BROWSER, SELF_CLOSING_TAGS, SUPPORTS_INTERSECTION_OBSERVER, SUPPORTS_MATCH_MEDIA, SUPPORTS_MUTATION_OBSERVER, SUPPORTS_OBSERVER, SUPPORTS_TOUCH, __LOGGER_ENABLED__, isSelfClosingTag, version };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as isNullOrUndefined, p as isString, u as isNumber } from "./utilities-
|
|
2
|
-
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-
|
|
3
|
-
import { t as createGroup } from "./createGroup-
|
|
4
|
-
import { a as useLocale } from "./useLocale-
|
|
5
|
-
import { t as ClientAdapter } from "./v0-
|
|
1
|
+
import { l as isNullOrUndefined, p as isString, u as isNumber } from "./utilities-CcJtp9Gx.mjs";
|
|
2
|
+
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-Cii8-B2r.mjs";
|
|
3
|
+
import { t as createGroup } from "./createGroup-CCb7Zfyw.mjs";
|
|
4
|
+
import { a as useLocale } from "./useLocale-DJJmg-wv.mjs";
|
|
5
|
+
import { t as ClientAdapter } from "./v0-CWUF_HqP.mjs";
|
|
6
6
|
import { computed, shallowReactive, shallowRef, toRef, watch } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/composables/createDataTable/index.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as isUndefined, v as useId$1 } from "./utilities-
|
|
2
|
-
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-
|
|
3
|
-
import { t as createSelection } from "./createSelection-
|
|
4
|
-
import { t as toArray } from "./toArray-
|
|
1
|
+
import { h as isUndefined, v as useId$1 } from "./utilities-CcJtp9Gx.mjs";
|
|
2
|
+
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-Cii8-B2r.mjs";
|
|
3
|
+
import { t as createSelection } from "./createSelection-Zo4RQpYe.mjs";
|
|
4
|
+
import { t as toArray } from "./toArray-BBZH-G2X.mjs";
|
|
5
5
|
import { computed, onScopeDispose, reactive, shallowReactive, toRef, toValue } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/composables/useProxyRegistry/index.ts
|
|
@@ -25,7 +25,8 @@ import { computed, onScopeDispose, reactive, shallowReactive, toRef, toValue } f
|
|
|
25
25
|
*
|
|
26
26
|
* @param registry The registry instance to proxy.
|
|
27
27
|
* @param options The options for the proxy registry.
|
|
28
|
-
* @template Z The type
|
|
28
|
+
* @template Z The input ticket type (what users provide to register).
|
|
29
|
+
* @template E The output ticket type (what users receive from get/values).
|
|
29
30
|
* @returns A proxy registry with reactive objects.
|
|
30
31
|
*
|
|
31
32
|
* @see https://0.vuetifyjs.com/composables/registration/use-proxy-registry
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as range, s as isNaN } from "./utilities-
|
|
2
|
-
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-
|
|
1
|
+
import { _ as range, s as isNaN } from "./utilities-CcJtp9Gx.mjs";
|
|
2
|
+
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-Cii8-B2r.mjs";
|
|
3
3
|
import { computed, isRef, shallowRef, toValue } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/createPagination/index.ts
|
|
@@ -1,28 +1,194 @@
|
|
|
1
|
-
import { h as isUndefined, v as useId$1 } from "./utilities-
|
|
2
|
-
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-
|
|
3
|
-
import { i as createRegistry } from "./createTokens-
|
|
4
|
-
import { computed, shallowReactive, toRef, toValue } from "vue";
|
|
1
|
+
import { h as isUndefined, v as useId$1 } from "./utilities-CcJtp9Gx.mjs";
|
|
2
|
+
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-Cii8-B2r.mjs";
|
|
3
|
+
import { i as createRegistry } from "./createTokens-Cu1efg9Z.mjs";
|
|
4
|
+
import { computed, isRef, shallowReactive, toRaw, toRef, toValue } from "vue";
|
|
5
5
|
|
|
6
|
+
//#region src/composables/createModel/index.ts
|
|
7
|
+
/**
|
|
8
|
+
* @module createModel
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Value store layer that extends createRegistry with a reactive Set of
|
|
12
|
+
* selected IDs, disabled guards, and an `apply` bridge for useProxyModel sync.
|
|
13
|
+
*
|
|
14
|
+
* Think of it as a creative way to store a single value — more like
|
|
15
|
+
* `defineModel` than `createSelection`. Selection-specific concepts
|
|
16
|
+
* (mandatory) belong in createSelection. The `multiple` option here
|
|
17
|
+
* controls whether `select()` accumulates or replaces.
|
|
18
|
+
*
|
|
19
|
+
* Both Selection and Slider extend this layer:
|
|
20
|
+
* - createRegistry → createModel → createSelection → createSingle/createGroup/createStep
|
|
21
|
+
* - createRegistry → createModel → createSlider (values override)
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Creates a new model instance for storing a single value.
|
|
25
|
+
*
|
|
26
|
+
* @param options The options for the model instance.
|
|
27
|
+
* @template Z The input ticket type. Extend {@link ModelTicketInput} to add custom properties.
|
|
28
|
+
* @template E The output ticket type. Automatically includes `disabled` and `isSelected`.
|
|
29
|
+
* @template R The context type. Defaults to {@link ModelContext}<Z, E>.
|
|
30
|
+
* @returns A new model instance with selection tracking and disabled guards.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Extends createRegistry with value tracking via a reactive Set of selected IDs.
|
|
34
|
+
* Provides the shared model-value concept used by both Selection and Slider.
|
|
35
|
+
*
|
|
36
|
+
* **Enrollment**: Tickets are auto-selected on registration by default (`enroll: true`).
|
|
37
|
+
* With single-value semantics, only the most recently registered ticket is active.
|
|
38
|
+
* Pass `enroll: false` to opt out. `createSelection` overrides this to `false`.
|
|
39
|
+
*
|
|
40
|
+
* **Apply bridge**: `useProxyModel` calls `apply()` to sync a ref with the model.
|
|
41
|
+
* When the active ticket's value is a ref, `apply` writes to it directly. Otherwise,
|
|
42
|
+
* it resolves via `registry.browse()`.
|
|
43
|
+
*
|
|
44
|
+
* @see https://0.vuetifyjs.com/composables/selection/create-model
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* import { shallowRef } from 'vue'
|
|
49
|
+
* import { createModel, useProxyModel } from '@vuetify/v0'
|
|
50
|
+
*
|
|
51
|
+
* const value = shallowRef('Apple')
|
|
52
|
+
* const model = createModel({ events: true })
|
|
53
|
+
*
|
|
54
|
+
* model.register({ id: 'fruit', value })
|
|
55
|
+
* useProxyModel(model, value)
|
|
56
|
+
*
|
|
57
|
+
* // value and model stay in sync bidirectionally
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* // Disabled model — all selection operations are no-ops
|
|
63
|
+
* const model = createModel({ disabled: true })
|
|
64
|
+
* model.register({ id: 'a', value: shallowRef('Apple') })
|
|
65
|
+
* model.select('a') // no-op
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
function createModel(_options = {}) {
|
|
69
|
+
const { disabled = false, enroll = true, multiple = false, ...options } = _options;
|
|
70
|
+
const registry = createRegistry(options);
|
|
71
|
+
const selectedIds = shallowReactive(/* @__PURE__ */ new Set());
|
|
72
|
+
const selectedItems = computed(() => {
|
|
73
|
+
return new Set(Array.from(selectedIds).map((id) => registry.get(id)).filter((item) => !/* @__PURE__ */ isUndefined(item)));
|
|
74
|
+
});
|
|
75
|
+
const selectedValues = computed(() => {
|
|
76
|
+
return new Set(Array.from(selectedItems.value).map((item) => toValue(item.value)));
|
|
77
|
+
});
|
|
78
|
+
function select(id) {
|
|
79
|
+
if (toValue(disabled)) return;
|
|
80
|
+
const item = registry.get(id);
|
|
81
|
+
if (!item || toValue(item.disabled)) return;
|
|
82
|
+
if (!toValue(multiple)) selectedIds.clear();
|
|
83
|
+
selectedIds.add(id);
|
|
84
|
+
}
|
|
85
|
+
function unselect(id) {
|
|
86
|
+
if (toValue(disabled)) return;
|
|
87
|
+
selectedIds.delete(id);
|
|
88
|
+
}
|
|
89
|
+
function toggle(id) {
|
|
90
|
+
if (toValue(disabled)) return;
|
|
91
|
+
if (selected(id)) unselect(id);
|
|
92
|
+
else select(id);
|
|
93
|
+
}
|
|
94
|
+
function selected(id) {
|
|
95
|
+
return selectedIds.has(id);
|
|
96
|
+
}
|
|
97
|
+
function apply(values, _options$1) {
|
|
98
|
+
const value = values[0];
|
|
99
|
+
for (const id$1 of selectedIds) {
|
|
100
|
+
const item = registry.get(id$1);
|
|
101
|
+
if (!item || !isRef(item.value)) continue;
|
|
102
|
+
item.value.value = value;
|
|
103
|
+
}
|
|
104
|
+
if (!toValue(multiple)) selectedIds.clear();
|
|
105
|
+
if (/* @__PURE__ */ isUndefined(value)) return;
|
|
106
|
+
const id = registry.browse(toRaw(value))?.values().next().value;
|
|
107
|
+
if (!/* @__PURE__ */ isUndefined(id)) selectedIds.add(id);
|
|
108
|
+
}
|
|
109
|
+
function register(registration = {}) {
|
|
110
|
+
const id = registration.id ?? /* @__PURE__ */ useId$1();
|
|
111
|
+
const item = {
|
|
112
|
+
disabled: false,
|
|
113
|
+
...registration,
|
|
114
|
+
isSelected: toRef(() => selected(id)),
|
|
115
|
+
id
|
|
116
|
+
};
|
|
117
|
+
const ticket = registry.register(item);
|
|
118
|
+
if (toValue(enroll) && !toValue(disabled) && !toValue(ticket.disabled)) select(id);
|
|
119
|
+
return ticket;
|
|
120
|
+
}
|
|
121
|
+
function unregister(id) {
|
|
122
|
+
selectedIds.delete(id);
|
|
123
|
+
registry.unregister(id);
|
|
124
|
+
}
|
|
125
|
+
function onboard(registrations) {
|
|
126
|
+
return registry.batch(() => registrations.map((r) => register(r)));
|
|
127
|
+
}
|
|
128
|
+
function offboard(ids) {
|
|
129
|
+
for (const id of ids) selectedIds.delete(id);
|
|
130
|
+
registry.offboard(ids);
|
|
131
|
+
}
|
|
132
|
+
function reset() {
|
|
133
|
+
selectedIds.clear();
|
|
134
|
+
}
|
|
135
|
+
function clear() {
|
|
136
|
+
reset();
|
|
137
|
+
registry.clear();
|
|
138
|
+
}
|
|
139
|
+
function dispose() {
|
|
140
|
+
reset();
|
|
141
|
+
registry.dispose();
|
|
142
|
+
}
|
|
143
|
+
return {
|
|
144
|
+
...registry,
|
|
145
|
+
disabled,
|
|
146
|
+
selectedIds,
|
|
147
|
+
selectedItems,
|
|
148
|
+
selectedValues,
|
|
149
|
+
register,
|
|
150
|
+
onboard,
|
|
151
|
+
unregister,
|
|
152
|
+
offboard,
|
|
153
|
+
clear,
|
|
154
|
+
dispose,
|
|
155
|
+
reset,
|
|
156
|
+
select,
|
|
157
|
+
unselect,
|
|
158
|
+
toggle,
|
|
159
|
+
selected,
|
|
160
|
+
apply,
|
|
161
|
+
get size() {
|
|
162
|
+
return registry.size;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
//#endregion
|
|
6
168
|
//#region src/composables/createSelection/index.ts
|
|
7
169
|
/**
|
|
8
170
|
* @module useSelection
|
|
9
171
|
*
|
|
10
172
|
* @remarks
|
|
11
|
-
*
|
|
173
|
+
* Selection composable that extends createModel with multi-select,
|
|
174
|
+
* mandatory enforcement, auto-enrollment, and ticket self-methods.
|
|
12
175
|
*
|
|
13
176
|
* Key features:
|
|
14
177
|
* - Set-based selectedIds for O(1) selection checks
|
|
178
|
+
* - Single or multi-select mode
|
|
15
179
|
* - Mandatory selection mode (prevents deselecting last item)
|
|
16
180
|
* - Auto-enrollment option (selects non-disabled items on register)
|
|
17
181
|
* - Disabled item filtering
|
|
18
182
|
* - Computed selectedItems and selectedValues Sets
|
|
183
|
+
* - Ticket self-methods: select(), unselect(), toggle()
|
|
19
184
|
*
|
|
20
|
-
* Extends
|
|
185
|
+
* Extends createModel and serves as the base for useSingle, useGroup, useStep, and useFeatures.
|
|
21
186
|
*/
|
|
22
187
|
/**
|
|
23
188
|
* Creates a new selection instance for managing multiple selected items.
|
|
24
189
|
*
|
|
25
|
-
* Extends `
|
|
190
|
+
* Extends `createModel` with multi-select, mandatory enforcement,
|
|
191
|
+
* auto-enrollment, and ticket self-methods.
|
|
26
192
|
* Supports disabled items, mandatory selection enforcement, and auto-enrollment.
|
|
27
193
|
*
|
|
28
194
|
* @param options The options for the selection instance.
|
|
@@ -43,7 +209,7 @@ import { computed, shallowReactive, toRef, toValue } from "vue";
|
|
|
43
209
|
* - Enroll option auto-selects all non-disabled items on registration
|
|
44
210
|
*
|
|
45
211
|
* **Inheritance Chain:**
|
|
46
|
-
* `
|
|
212
|
+
* `createRegistry` → `createModel` → `createSelection` → `createSingle`/`createGroup` → `createStep`
|
|
47
213
|
*
|
|
48
214
|
* @see https://0.vuetifyjs.com/composables/selection/use-selection
|
|
49
215
|
*
|
|
@@ -85,96 +251,86 @@ import { computed, shallowReactive, toRef, toValue } from "vue";
|
|
|
85
251
|
* ```
|
|
86
252
|
*/
|
|
87
253
|
function createSelection(_options = {}) {
|
|
88
|
-
const {
|
|
89
|
-
const
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
return new Set(Array.from(selectedIds).map((id) => registry.get(id)).filter((item) => !/* @__PURE__ */ isUndefined(item)));
|
|
93
|
-
});
|
|
94
|
-
const selectedValues = computed(() => {
|
|
95
|
-
return new Set(Array.from(selectedItems.value).map((item) => item.value));
|
|
254
|
+
const { enroll = false, mandatory = false, multiple = false, ...options } = _options;
|
|
255
|
+
const model = createModel({
|
|
256
|
+
...options,
|
|
257
|
+
enroll: false
|
|
96
258
|
});
|
|
97
259
|
function seek(direction = "first", from) {
|
|
98
|
-
return
|
|
260
|
+
return model.seek(direction, from, (ticket) => !toValue(ticket.disabled));
|
|
99
261
|
}
|
|
100
262
|
function mandate() {
|
|
101
|
-
if (!toValue(mandatory) ||
|
|
263
|
+
if (!toValue(mandatory) || model.size === 0 || model.selectedIds.size > 0) return;
|
|
102
264
|
const ticket = seek("first");
|
|
103
265
|
if (ticket) select(ticket.id);
|
|
104
266
|
}
|
|
105
267
|
function select(id) {
|
|
106
|
-
if (toValue(disabled)) return;
|
|
107
|
-
const item =
|
|
268
|
+
if (toValue(model.disabled)) return;
|
|
269
|
+
const item = model.get(id);
|
|
108
270
|
if (!item || toValue(item.disabled)) return;
|
|
109
|
-
if (!toValue(multiple)) selectedIds.clear();
|
|
110
|
-
selectedIds.add(id);
|
|
271
|
+
if (!toValue(multiple)) model.selectedIds.clear();
|
|
272
|
+
model.selectedIds.add(id);
|
|
111
273
|
}
|
|
112
274
|
function unselect(id) {
|
|
113
|
-
if (toValue(disabled)) return;
|
|
114
|
-
if (toValue(mandatory) && selectedIds.size === 1) return;
|
|
115
|
-
selectedIds.delete(id);
|
|
275
|
+
if (toValue(model.disabled)) return;
|
|
276
|
+
if (toValue(mandatory) && model.selectedIds.size === 1) return;
|
|
277
|
+
model.selectedIds.delete(id);
|
|
116
278
|
}
|
|
117
279
|
function toggle(id) {
|
|
118
|
-
if (toValue(disabled)) return;
|
|
119
|
-
if (
|
|
280
|
+
if (toValue(model.disabled)) return;
|
|
281
|
+
if (model.selectedIds.has(id)) unselect(id);
|
|
120
282
|
else select(id);
|
|
121
283
|
}
|
|
122
|
-
function
|
|
123
|
-
|
|
284
|
+
function apply(values, options$1) {
|
|
285
|
+
const isMultiple = options$1?.multiple ?? toValue(multiple);
|
|
286
|
+
const currentIds = new Set(model.selectedIds);
|
|
287
|
+
const targetIds = /* @__PURE__ */ new Set();
|
|
288
|
+
for (const value of values) {
|
|
289
|
+
const ids = model.browse(toRaw(value));
|
|
290
|
+
if (ids) for (const id of ids) targetIds.add(id);
|
|
291
|
+
}
|
|
292
|
+
if (isMultiple) {
|
|
293
|
+
for (const id of currentIds.difference(targetIds)) model.selectedIds.delete(id);
|
|
294
|
+
for (const id of targetIds.difference(currentIds)) model.selectedIds.add(id);
|
|
295
|
+
} else {
|
|
296
|
+
const next = targetIds.values().next().value;
|
|
297
|
+
const last = currentIds.values().next().value;
|
|
298
|
+
if (!/* @__PURE__ */ isUndefined(last)) unselect(last);
|
|
299
|
+
if (!/* @__PURE__ */ isUndefined(next)) select(next);
|
|
300
|
+
}
|
|
124
301
|
}
|
|
125
302
|
function register(registration = {}) {
|
|
126
303
|
const id = registration.id ?? /* @__PURE__ */ useId$1();
|
|
127
|
-
const
|
|
128
|
-
disabled: false,
|
|
304
|
+
const decorated = {
|
|
129
305
|
select: () => select(id),
|
|
130
306
|
unselect: () => unselect(id),
|
|
131
307
|
toggle: () => toggle(id),
|
|
132
|
-
isSelected: toRef(() => selected(id)),
|
|
133
308
|
...registration,
|
|
134
309
|
id
|
|
135
310
|
};
|
|
136
|
-
const ticket =
|
|
137
|
-
if (toValue(enroll) && !toValue(disabled) && !toValue(
|
|
311
|
+
const ticket = model.register(decorated);
|
|
312
|
+
if (toValue(enroll) && !toValue(model.disabled) && !toValue(ticket.disabled)) select(ticket.id);
|
|
138
313
|
if (toValue(mandatory) === "force") mandate();
|
|
139
314
|
return ticket;
|
|
140
315
|
}
|
|
141
|
-
function unregister(id) {
|
|
142
|
-
selectedIds.delete(id);
|
|
143
|
-
registry.unregister(id);
|
|
144
|
-
}
|
|
145
|
-
function offboard(ids) {
|
|
146
|
-
for (const id of ids) selectedIds.delete(id);
|
|
147
|
-
registry.offboard(ids);
|
|
148
|
-
}
|
|
149
316
|
function onboard(registrations) {
|
|
150
|
-
const tickets =
|
|
317
|
+
const tickets = model.batch(() => registrations.map((registration) => register(registration)));
|
|
151
318
|
if (toValue(mandatory) === "force") mandate();
|
|
152
319
|
return tickets;
|
|
153
320
|
}
|
|
154
|
-
function reset() {
|
|
155
|
-
registry.clear();
|
|
156
|
-
selectedIds.clear();
|
|
157
|
-
mandate();
|
|
158
|
-
}
|
|
159
321
|
return {
|
|
160
|
-
...
|
|
161
|
-
|
|
162
|
-
selectedIds,
|
|
163
|
-
selectedItems,
|
|
164
|
-
selectedValues,
|
|
322
|
+
...model,
|
|
323
|
+
multiple,
|
|
165
324
|
register,
|
|
166
|
-
unregister,
|
|
167
325
|
onboard,
|
|
168
|
-
offboard,
|
|
169
|
-
reset,
|
|
170
|
-
mandate,
|
|
171
|
-
seek,
|
|
172
326
|
select,
|
|
173
327
|
unselect,
|
|
174
328
|
toggle,
|
|
175
|
-
|
|
329
|
+
apply,
|
|
330
|
+
mandate,
|
|
331
|
+
seek,
|
|
176
332
|
get size() {
|
|
177
|
-
return
|
|
333
|
+
return model.size;
|
|
178
334
|
}
|
|
179
335
|
};
|
|
180
336
|
}
|
|
@@ -258,4 +414,4 @@ function useSelection(namespace = "v0:selection") {
|
|
|
258
414
|
}
|
|
259
415
|
|
|
260
416
|
//#endregion
|
|
261
|
-
export { createSelectionContext as n, useSelection as r, createSelection as t };
|
|
417
|
+
export { createModel as i, createSelectionContext as n, useSelection as r, createSelection as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-
|
|
2
|
-
import { t as createSelection } from "./createSelection-
|
|
1
|
+
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-Cii8-B2r.mjs";
|
|
2
|
+
import { t as createSelection } from "./createSelection-Zo4RQpYe.mjs";
|
|
3
3
|
import { computed } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/composables/createSingle/index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as isObject, h as isUndefined, p as isString, t as clamp, v as useId$1 } from "./utilities-
|
|
2
|
-
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-
|
|
3
|
-
import { i as useLogger } from "./useLogger-
|
|
1
|
+
import { d as isObject, h as isUndefined, p as isString, t as clamp, v as useId$1 } from "./utilities-CcJtp9Gx.mjs";
|
|
2
|
+
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-Cii8-B2r.mjs";
|
|
3
|
+
import { i as useLogger } from "./useLogger-C8G5jgNk.mjs";
|
|
4
4
|
import { shallowReactive } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/composables/createRegistry/index.ts
|
|
@@ -292,6 +292,23 @@ function createRegistry(options) {
|
|
|
292
292
|
needsReindex = true;
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
+
function move(id, toIndex) {
|
|
296
|
+
if (needsReindex) reindex();
|
|
297
|
+
const ticket = collection.get(id);
|
|
298
|
+
if (!ticket) return void 0;
|
|
299
|
+
const size = collection.size;
|
|
300
|
+
const target = /* @__PURE__ */ clamp(toIndex, 0, size - 1);
|
|
301
|
+
if (ticket.index === target) return ticket;
|
|
302
|
+
const items = Array.from(collection.entries());
|
|
303
|
+
const fromIndex = items.findIndex(([key]) => key === id);
|
|
304
|
+
const [entry] = items.splice(fromIndex, 1);
|
|
305
|
+
items.splice(target, 0, entry);
|
|
306
|
+
collection.clear();
|
|
307
|
+
for (const [key, value] of items) collection.set(key, value);
|
|
308
|
+
minDirtyIndex = Math.min(ticket.index, target);
|
|
309
|
+
reindex();
|
|
310
|
+
return ticket;
|
|
311
|
+
}
|
|
295
312
|
function seek(direction = "first", from, predicate) {
|
|
296
313
|
if (collection.size === 0) return void 0;
|
|
297
314
|
if (needsReindex) reindex();
|
|
@@ -333,6 +350,7 @@ function createRegistry(options) {
|
|
|
333
350
|
register,
|
|
334
351
|
unregister,
|
|
335
352
|
reindex,
|
|
353
|
+
move,
|
|
336
354
|
seek,
|
|
337
355
|
batch,
|
|
338
356
|
onboard(registrations) {
|