@vuetify/v0 0.2.1 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/{adapter-CCIeOzqr.mjs → adapter-CDpOQ8sn.mjs} +29 -20
- package/dist/{adapter-CcHB7rs3.d.mts → adapter-DoziXEzS.d.mts} +1 -1
- package/dist/{adapter-Drq1v5wV.mjs → adapter-DtgIrQsG.mjs} +5 -2
- package/dist/{adapter-BZjmDNJF.d.mts → adapter-J7ude3gO.d.mts} +2 -2
- package/dist/adapters-CFjrKxA2.mjs +5 -0
- package/dist/adapters-CiCexgsk.mjs +4 -0
- package/dist/{adapters-Cd8NDs18.mjs → adapters-Da2twiUn.mjs} +1 -1
- package/dist/adapters-DegUcfkd.mjs +2 -0
- package/dist/browser/index.js +10113 -8547
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.mjs +2 -2
- package/dist/{components-C142GPl_.mjs → components-CaPQCjo5.mjs} +1356 -386
- package/dist/composables/index.d.mts +11 -11
- package/dist/composables/index.mjs +24 -24
- package/dist/constants/index.mjs +2 -2
- package/dist/{createDataTable-DKE5QsMe.mjs → createDataTable-B4UflKnT.mjs} +100 -30
- package/dist/{createGroup-CzRZ9COh.mjs → createGroup-BC2nfttd.mjs} +24 -9
- package/dist/{createPagination-Tp4C4He8.mjs → createPagination-qvJkcTUY.mjs} +11 -7
- package/dist/{createSelection-Dsb3I0zm.mjs → createSelection-BA9guLah.mjs} +28 -21
- package/dist/{createSingle-C7IGUjP6.mjs → createSingle-BHxHLZeg.mjs} +13 -17
- package/dist/{createTokens-CHTawmud.mjs → createTokens-oJAeh262.mjs} +27 -15
- package/dist/{createTrinity-vvXk0ARD.mjs → createTrinity-BTCs1pYx.mjs} +34 -31
- package/dist/data-table/adapters/client/index.d.mts +1 -1
- package/dist/data-table/adapters/client/index.mjs +1 -1
- package/dist/data-table/adapters/index.d.mts +4 -4
- package/dist/data-table/adapters/index.mjs +5 -5
- package/dist/data-table/adapters/server/index.d.mts +1 -1
- package/dist/data-table/adapters/server/index.mjs +1 -1
- package/dist/data-table/adapters/virtual/index.d.mts +1 -1
- package/dist/data-table/adapters/virtual/index.mjs +1 -1
- package/dist/data-table/index.d.mts +6 -6
- package/dist/data-table/index.mjs +6 -6
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +1 -1
- package/dist/features/index.mjs +1 -1
- package/dist/{globals-BrRJkuSY.mjs → globals-Berkg6mP.mjs} +1 -1
- package/dist/{htmlElements-DcYtv0hg.mjs → htmlElements-CIePKaTX.mjs} +1 -1
- package/dist/{index-76fQGkkO.d.mts → index-D4odwkZg.d.mts} +8 -11
- package/dist/{index-B_XLHftL.d.mts → index-DFvLSoto.d.mts} +296 -258
- package/dist/{index-DoGxDgdN.d.mts → index-DVPq3_Fz.d.mts} +55 -4
- package/dist/{index-BFuSOgUi.d.mts → index-Gk3x_7zD.d.mts} +1570 -437
- package/dist/{index-BUsrN1vL.d.mts → index-TtSSvHY6.d.mts} +1 -1
- package/dist/index.d.mts +12 -12
- package/dist/index.mjs +27 -27
- package/dist/json/attributes.json +276 -0
- package/dist/json/importMap.json +60 -0
- package/dist/json/tags.json +136 -2
- package/dist/json/web-types.json +1183 -344
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +2 -2
- package/dist/locale/adapters/v0/index.d.mts +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/adapters/vue-i18n/index.d.mts +1 -1
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +2 -2
- package/dist/logger/adapters/index.mjs +2 -2
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.d.mts +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.d.mts +1 -1
- package/dist/notifications/index.mjs +1 -1
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +2 -2
- package/dist/palettes/material/index.d.mts +1 -1
- package/dist/palettes/md1/index.d.mts +1 -1
- package/dist/palettes/md2/index.d.mts +1 -1
- package/dist/palettes/radix/index.d.mts +1 -1
- package/dist/palettes/tailwind/index.d.mts +1 -1
- package/dist/permissions/adapters/index.d.mts +1 -1
- package/dist/permissions/adapters/v0/index.d.mts +1 -1
- package/dist/permissions/index.d.mts +1 -1
- package/dist/permissions/index.mjs +1 -1
- package/dist/{posthog-Ccm8FQfD.mjs → posthog-CPvNHMUb.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/{server-CIftA0pK.mjs → server-B6OtHgBT.mjs} +1 -1
- package/dist/{server-DNUTnISs.d.mts → server-ZiHJ4tfq.d.mts} +1 -1
- package/dist/storage/index.d.mts +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.d.mts +1 -1
- package/dist/theme/adapters/index.mjs +4 -4
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/{toArray-doLQVI56.mjs → toArray-BA_JxFPv.mjs} +9 -0
- package/dist/{unhead--58lO3Z-.mjs → unhead-D2YqAcmF.mjs} +2 -2
- package/dist/{useClickOutside-BjO3Nty9.mjs → useClickOutside-B9a6Jext.mjs} +572 -160
- package/dist/{useFeatures-D9bGOvh4.mjs → useFeatures-wgMwaQ5W.mjs} +14 -5
- package/dist/{useLocale-BRQTt3Ka.mjs → useLocale-qMmVnAwS.mjs} +14 -5
- package/dist/{useLogger-Daz-Zr0z.mjs → useLogger-DFIRqm-N.mjs} +33 -16
- package/dist/{usePermissions-Yp3guoLH.mjs → usePermissions-tZhkBJmq.mjs} +11 -3
- package/dist/{useRules-BFPH7q8w.mjs → useRules-D3UXEtu7.mjs} +10 -2
- package/dist/{useTheme-zRa0Nh_g.mjs → useTheme-BeD__R8t.mjs} +14 -5
- package/dist/utilities/index.mjs +5 -5
- package/dist/{v0-CcV0VwYd.mjs → v0-6XptGYVx.mjs} +2 -2
- package/dist/{v0-DOq_Ia5H.mjs → v0-BG7RhKBv.mjs} +2 -2
- package/dist/{v0-Bno8FQ_F.mjs → v0-CNitYI9N.mjs} +1 -1
- package/dist/{v0-BpgPZ1qB.d.mts → v0-CWXUkMY0.d.mts} +1 -1
- package/dist/{v0-BAG8p0si.d.mts → v0-Dzw5OwNo.d.mts} +1 -1
- package/dist/{v0-D-AEQbvj.mjs → v0-I2mHxD9T.mjs} +1 -1
- package/dist/{virtual-BaQWQ9ji.d.mts → virtual-BCOfxnRS.d.mts} +1 -1
- package/dist/{virtual-D1HwNBLS.mjs → virtual-To-dSw2_.mjs} +2 -2
- package/package.json +10 -7
- package/SKILL.md +0 -95
- package/dist/adapters-BbNfjyvY.mjs +0 -5
- package/dist/adapters-BzRMo72Y.mjs +0 -4
- package/dist/adapters-_DyP1X4U.mjs +0 -2
- /package/dist/{index-c55Utzva.d.mts → index-DvuJXuAN.d.mts} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { n as createTrinity, t as ContextTrinity } from "../index-
|
|
2
|
-
import { C as createRegistryContext, S as createRegistry, _ as RegistryEventMap, a as TokenContextOptions, b as RegistryTicket, c as TokenTicket, d as createTokensContext, f as flatten, g as RegistryEventCallback, h as RegistryContextOptions, i as TokenContext, l as TokenValue, m as RegistryContext, n as TokenAlias, o as TokenOptions, p as useTokens, r as TokenCollection, s as TokenPrimitive, t as FlatTokenCollection, u as createTokens, v as RegistryEventName, w as useRegistry, x as RegistryTicketInput, y as RegistryOptions } from "../index-
|
|
3
|
-
import { $ as RtlAdapter, $a as
|
|
4
|
-
import { C as createFilter, 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-
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
1
|
+
import { n as createTrinity, t as ContextTrinity } from "../index-D4odwkZg.mjs";
|
|
2
|
+
import { C as createRegistryContext, S as createRegistry, _ as RegistryEventMap, a as TokenContextOptions, b as RegistryTicket, c as TokenTicket, d as createTokensContext, f as flatten, g as RegistryEventCallback, h as RegistryContextOptions, i as TokenContext, l as TokenValue, m as RegistryContext, n as TokenAlias, o as TokenOptions, p as useTokens, r as TokenCollection, s as TokenPrimitive, t as FlatTokenCollection, u as createTokens, v as RegistryEventName, w as useRegistry, x as RegistryTicketInput, y as RegistryOptions } from "../index-TtSSvHY6.mjs";
|
|
3
|
+
import { $ as RtlAdapter, $a as StepOptions, $i as FormValidationResult, $n as createFeaturesContext, $r as SliderOptions, $t as useMediaQuery, A as createStorageContext, Aa as createContext, Ai as NumericOptions, An as UseIntersectionObserverReturn, Ao as SingleTicket, Ar as toReactive, At as createPermissionsPlugin, B as createStackContext, Ba as ClientAdapterOptions, Bi as NestedRegistration, Bn as createHydrationPlugin, Bo as SelectionContextOptions, Br as VirtualOptions, Bt as NotificationsContext, C as ThemeAdapter, Ca as Plugin, Ci as createProgress, Cn as useLocale, Co as BreadcrumbsOptions, Cr as BreakpointsContextOptions, Ct as PermissionContext, D as StorageOptions, Da as createPluginContext, Di as NumberFieldOptions, Dn as IntersectionObserverEntry, Do as SingleContext, Dr as createBreakpointsContext, Dt as PermissionTicket, E as StorageContextOptions, Ea as createPlugin, Ei as NumberFieldContext, En as useLazy, Eo as useBreadcrumbs, Er as createBreakpoints, Et as PermissionPluginOptions, F as StackOptions, Fa as createCombobox, Fi as NestedActiveMode, Fn as HydrationOptions, Fo as ImageStatus, Fr as VirtualAnchor, Ft as NotificationInput, G as RtlOptions, Ga as VirtualFocusOptions, Gi as InputOptions, Gn as useHotkey, Go as createSelectionContext, Gr as TimelineContext, Gt as createNotificationsPlugin, H as useStack, Ha as ComboboxAdapterInterface, Hi as NestedTicket, Hn as PlatformContext, Ho as SelectionTicket, Hr as createVirtual, Ht as NotificationsPluginOptions, I as StackPluginOptions, Ia as createComboboxContext, Ii as NestedContext, In as HydrationPluginOptions, Io as UseImageOptions, Ir as VirtualContext, It as NotificationSeverity, J as createRtlContext, Ja as PopoverOptions, Ji as FormContext, Jn as FeatureOptions, Jo as ModelOptions, Jr as TimelineTicket, Jt as ObservableNodeList, K as RtlPluginOptions, Ka as VirtualFocusReturn, Ki as InputState, Kn as FeatureContext, Ko as useSelection, Kr as TimelineContextOptions, Kt as useNotifications, L as StackTicket, La as useCombobox, Li as NestedContextOptions, Ln as createFallbackHydration, Lo as UseImageReturn, Lr as VirtualContextOptions, Lt as NotificationTicket, M as useStorage, Ma as useContext, Mi as createNested, Mn as useIntersectionObserver, Mo as createSingle, Mr as toElement, N as StackContext, Na as ComboboxContext, Ni as createNestedContext, Nn as HydrationContext, No as createSingleContext, Nr as toArray, Nt as PermissionAdapter, O as StoragePluginOptions, Oa as ContextKey, Oi as createNumberField, On as IntersectionObserverOptions, Oo as SingleContextOptions, Or as createBreakpointsPlugin, Ot as createPermissions, P as StackContextOptions, Pa as ComboboxOptions, Pi as useNested, Pn as HydrationContextOptions, Po as useSingle, Pr as ScrollToOptions, Pt as PermissionAdapterInterface, Q as Vuetify0RtlAdapter, Qa as StepContextOptions, Qi as FormTicketInput, Qn as createFeatures, Qr as SliderContext, Qt as MediaQueryContext, R as StackTicketInput, Ra as ServerAdapter, Ri as NestedOpenMode, Rn as createHydration, Ro as useImage, Rr as VirtualDirection, Rt as NotificationsAdapterContext, Sa as isStandardSchema, Si as ProgressTicketInput, Sn as createLocalePlugin, So as BreadcrumbsContextOptions, Sr as BreakpointsContext, St as usePresence, T as StorageContext, Ta as PluginOptions, Ti as useProgress, Tn as LazyOptions, To as createBreadcrumbsContext, Tr as BreakpointsPluginOptions, Tt as PermissionOptions, U as RtlContext, Ua as ComboboxAdapterResult, Ui as NestedTicketInput, Un as UseHotkeyOptions, Uo as SelectionTicketInput, Ur as createVirtualContext, Ut as createNotifications, V as createStackPlugin, Va as ComboboxAdapterContext, Vi as NestedSelectionMode, Vn as useHydration, Vo as SelectionOptions, Vr as VirtualState, Vt as NotificationsOptions, W as RtlContextOptions, Wa as VirtualFocusItem, Wi as InputContext, Wn as UseHotkeyReturn, Wo as createSelection, Wr as useVirtual, Wt as createNotificationsContext, X as createRtlPlugin, Xa as usePopover, Xi as FormOptions, Xn as FeatureTicket, Xo as ModelTicketInput, Xr as createTimelineContext, Xt as UseMutationObserverReturn, Y as createRtlFallback, Ya as PopoverReturn, Yi as FormContextOptions, Yn as FeaturePluginOptions, Yo as ModelTicket, Yr as createTimeline, Yt as UseMutationObserverOptions, Z as useRtl, Za as StepContext, Zi as FormTicket, Zn as FeatureTicketInput, Zo as createModel, Zr as useTimeline, Zt as useMutationObserver, _ as createThemePlugin, _a as createRulesContext, _i as useQueue, _n as LocaleTicket, _o as createGroupContext, _r as ClickOutsideTarget, _t as ProxyModelTarget, a as useTimer, aa as ValidationContext, ai as RatingItemState, an as LoggerOptions, ao as OverflowContext, ar as useEventListener, at as ResizeObserverEntry, ba as useRules, bi as ProgressOptions, bn as createLocaleContext, bo as BreadcrumbTicketInput, br as useClickOutside, bt as UsePresenceOptions, c as ThemeContext, ca as ValidationTicketInput, ci as createRatingContext, cn as createLoggerContext, co as createOverflow, cr as DateContextOptions, ct as UseResizeObserverReturn, d as ThemePluginOptions, da as RuleAliases, di as QueueContextOptions, dn as LogLevel, do as GroupContext, dr as createDate, dt as UseRafReturn, ea as FormValidationRule, ei as SliderTicketInput, en as usePrefersContrast, eo as StepTicket, er as createFeaturesPlugin, et as RtlAdapterSetupContext, f as ThemeRecord, fa as RuleInput, fi as QueueOptions, fn as LocaleContext, fo as GroupContextOptions, fr as createDateContext, ft as useRaf, g as createThemeContext, ga as createRules, gi as createQueueContext, gn as LocaleRecord, go as createGroup, gr as ClickOutsideIgnoreTarget, gt as ProxyModelOptions, h as createTheme, ha as RulesOptions, hi as createQueue, hn as LocalePluginOptions, ho as GroupTicketInput, hr as ClickOutsideElement, ht as useProxyRegistry, i as TimerOptions, ia as useForm, ii as RatingItemDescriptor, in as LoggerContextOptions, io as useStep, ir as useDocumentEventListener, it as useRovingFocus, j as createStoragePlugin, ja as provideContext, ji as createNumeric, jn as useElementIntersection, jo as SingleTicketInput, jr as MaybeElementRef, jt as usePermissions, k as createStorage, ka as CreateContextOptions, ki as NumericContext, kn as UseElementIntersectionReturn, ko as SingleOptions, kr as useBreakpoints, kt as createPermissionsContext, l as ThemeContextOptions, la as createValidation, li as useRating, ln as createLoggerPlugin, lo as createOverflowContext, lr as DateOptions, lt as useElementSize, m as ThemeTicketInput, ma as RulesContextOptions, mi as QueueTicketInput, mn as LocaleOptions, mo as GroupTicket, mr as useDate, mt as ProxyRegistryOptions, n as useToggleScope, na as createForm, ni as RatingContext, nn as usePrefersReducedMotion, no as createStep, nr as CleanupFunction, nt as RovingFocusReturn, o as Colors, oa as ValidationOptions, oi as RatingOptions, on as LoggerPluginOptions, oo as OverflowContextOptions, or as useWindowEventListener, ot as ResizeObserverOptions, p as ThemeTicket, pa as RulesContext, pi as QueueTicket, pn as LocaleContextOptions, po as GroupOptions, pr as createDatePlugin, pt as ProxyRegistryContext, q as createRtl, qa as useVirtualFocus, qi as createInput, qn as FeatureContextOptions, qo as ModelContext, qr as TimelineOptions, qt as MutationObserverRecord, r as TimerContext, ra as createFormContext, ri as RatingContextOptions, rn as LoggerContext, ro as createStepContext, rr as EventHandler, rt as RovingItem, s as ThemeColors, sa as ValidationTicket, si as createRating, sn as createLogger, so as OverflowOptions, sr as DateContext, st as UseElementSizeReturn, t as ToggleScopeControls, ta as FormValue, ti as createSlider, tn as usePrefersDark, to as StepTicketInput, tr as useFeatures, tt as RovingFocusOptions, u as ThemeOptions, ua as RuleAlias, ui as QueueContext, un as useLogger, uo as useOverflow, ur as DatePluginOptions, ut as useResizeObserver, v as useTheme, va as createRulesFallback, vi as ProgressContext, vn as LocaleTicketInput, vo as useGroup, vr as UseClickOutsideOptions, vt as useProxyModel, wa as PluginContextConfig, wi as createProgressContext, wn as LazyContext, wo as createBreadcrumbs, wr as BreakpointsOptions, wt as PermissionContextOptions, x as V0StyleSheetThemeAdapter, xa as StandardSchemaV1, xi as ProgressTicket, xn as createLocaleFallback, xo as BreadcrumbsContext, xr as BreakpointName, xt as UsePresenceReturn, y as V0UnheadThemeAdapter, ya as createRulesPlugin, yi as ProgressContextOptions, yn as createLocale, yo as BreadcrumbTicket, yr as UseClickOutsideReturn, yt as PresenceState, z as createStack, za as ClientAdapter$1, zi as NestedOptions, zn as createHydrationContext, zo as SelectionContext, zr as VirtualItem, zt as NotificationsAdapterInterface } from "../index-DFvLSoto.mjs";
|
|
4
|
+
import { C as createFilter, 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-J7ude3gO.mjs";
|
|
5
|
+
import { _ as computeDepth, a as DataTableGroup, c as DataTableSelection, d as SelectStrategy, f as createDataTable, g as InternalHeader, h as ColumnNode, i as DataTableExpansion, l as DataTableSort, m as useDataTable, n as DataTableContext, o as DataTableGrouping, p as createDataTableContext, r as DataTableContextOptions, s as DataTableOptions, t as DataTableColumn, u as KeysOfType, v as extractLeaves, y as resolveHeaders } from "../index-DVPq3_Fz.mjs";
|
|
6
|
+
import { n as ServerAdapterOptions, t as ServerAdapter$1 } from "../server-ZiHJ4tfq.mjs";
|
|
7
|
+
import { t as ClientAdapter } from "../v0-Dzw5OwNo.mjs";
|
|
8
|
+
import { t as VirtualAdapter } from "../virtual-BCOfxnRS.mjs";
|
|
9
9
|
import { t as DateAdapter } from "../adapter-T7AedXkz.mjs";
|
|
10
10
|
import { i as FeaturesAdapterValue, n as FeaturesAdapterFlags, r as FeaturesAdapterInterface, t as FeaturesAdapter } from "../index-CDcl4wPo.mjs";
|
|
11
|
-
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-
|
|
12
|
-
import { t as Vuetify0LocaleAdapter } from "../v0-
|
|
11
|
+
import { n as LocaleAdapterContext, t as LocaleAdapter } from "../adapter-DoziXEzS.mjs";
|
|
12
|
+
import { t as Vuetify0LocaleAdapter } from "../v0-CWXUkMY0.mjs";
|
|
13
13
|
import { t as LoggerAdapter } from "../adapter-DNKjooxI.mjs";
|
|
14
14
|
import { t as ConsolaLoggerAdapter } from "../consola-Byg0ybzh.mjs";
|
|
15
15
|
import { n as PinoLoggerAdapter } from "../pino-BxddSW2l.mjs";
|
|
16
16
|
import { t as Vuetify0LoggerAdapter } from "../v0-C2UMaHUa.mjs";
|
|
17
17
|
import { t as MemoryAdapter } from "../memory-DUyWthic.mjs";
|
|
18
18
|
import { n as StorageType, t as StorageAdapter } from "../index-DxruGeVY.mjs";
|
|
19
|
-
export { BreadcrumbTicket, BreadcrumbTicketInput, BreadcrumbsContext, BreadcrumbsContextOptions, BreadcrumbsOptions, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, CleanupFunction, ClickOutsideElement, ClickOutsideIgnoreTarget, ClickOutsideTarget, ClientAdapter, Colors, ComboboxAdapterContext, ComboboxAdapterInterface, ComboboxAdapterResult, ClientAdapter$1 as ComboboxClientAdapter, ClientAdapterOptions as ComboboxClientAdapterOptions, ComboboxContext, ComboboxOptions, ServerAdapter as ComboboxServerAdapter, 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, InputContext, InputOptions, InputState, IntersectionObserverEntry, IntersectionObserverOptions, LazyContext, LazyOptions, LocaleAdapter, LocaleAdapterContext, 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, NotificationInput, NotificationSeverity, NotificationTicket, NotificationsAdapterContext, NotificationsAdapterInterface, NotificationsContext, NotificationsOptions, NotificationsPluginOptions, NumberFieldContext, NumberFieldOptions, NumericContext, NumericOptions, ObservableNodeList,
|
|
19
|
+
export { BreadcrumbTicket, BreadcrumbTicketInput, BreadcrumbsContext, BreadcrumbsContextOptions, BreadcrumbsOptions, BreakpointName, BreakpointsContext, BreakpointsContextOptions, BreakpointsOptions, BreakpointsPluginOptions, CleanupFunction, ClickOutsideElement, ClickOutsideIgnoreTarget, ClickOutsideTarget, ClientAdapter, Colors, ColumnNode, ComboboxAdapterContext, ComboboxAdapterInterface, ComboboxAdapterResult, ClientAdapter$1 as ComboboxClientAdapter, ClientAdapterOptions as ComboboxClientAdapterOptions, ComboboxContext, ComboboxOptions, ServerAdapter as ComboboxServerAdapter, 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, ImageStatus, InputContext, InputOptions, InputState, InternalHeader, IntersectionObserverEntry, IntersectionObserverOptions, KeysOfType, LazyContext, LazyOptions, LocaleAdapter, LocaleAdapterContext, 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, NotificationInput, NotificationSeverity, NotificationTicket, NotificationsAdapterContext, NotificationsAdapterInterface, NotificationsContext, NotificationsOptions, NotificationsPluginOptions, NumberFieldContext, NumberFieldOptions, NumericContext, NumericOptions, ObservableNodeList, OverflowContext, OverflowContextOptions, OverflowOptions, PaginationContext, PaginationContextOptions, PaginationOptions, PaginationTicket, PermissionAdapter, PermissionAdapterInterface, PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PinoLoggerAdapter, PlatformContext, Plugin, PluginContextConfig, PluginOptions, PopoverOptions, PopoverReturn, PresenceState, Primitive, ProgressContext, ProgressContextOptions, ProgressOptions, ProgressTicket, ProgressTicketInput, ProxyModelOptions, ProxyModelTarget, ProxyRegistryContext, ProxyRegistryOptions, QueueContext, QueueContextOptions, QueueOptions, QueueTicket, QueueTicketInput, RatingContext, RatingContextOptions, RatingItemDescriptor, RatingItemState, RatingOptions, RegistryContext, RegistryContextOptions, RegistryEventCallback, RegistryEventMap, RegistryEventName, RegistryOptions, RegistryTicket, RegistryTicketInput, ResizeObserverEntry, ResizeObserverOptions, RovingFocusOptions, RovingFocusReturn, RovingItem, RtlAdapter, RtlAdapterSetupContext, RtlContext, RtlContextOptions, RtlOptions, RtlPluginOptions, RuleAlias, RuleAliases, RuleInput, RulesContext, RulesContextOptions, RulesOptions, ScrollToOptions, SelectStrategy, SelectionContext, SelectionContextOptions, SelectionOptions, SelectionTicket, SelectionTicketInput, ServerAdapter$1 as ServerAdapter, ServerAdapterOptions, SingleContext, SingleContextOptions, SingleOptions, SingleTicket, SingleTicketInput, SliderContext, SliderOptions, SliderTicketInput, SortDirection, SortEntry, StackContext, StackContextOptions, StackOptions, StackPluginOptions, StackTicket, StackTicketInput, StandardSchemaV1, StepContext, StepContextOptions, StepOptions, StepTicket, StepTicketInput, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, TimelineContext, TimelineContextOptions, TimelineOptions, TimelineTicket, TimerContext, TimerOptions, ToggleScopeControls, TokenAlias, TokenCollection, TokenContext, TokenContextOptions, TokenOptions, TokenPrimitive, TokenTicket, TokenValue, UseClickOutsideOptions, UseClickOutsideReturn, UseElementIntersectionReturn, UseElementSizeReturn, UseHotkeyOptions, UseHotkeyReturn, UseImageOptions, UseImageReturn, UseIntersectionObserverReturn, UseMutationObserverOptions, UseMutationObserverReturn, UsePresenceOptions, UsePresenceReturn, UseRafReturn, UseResizeObserverReturn, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, ValidationContext, ValidationOptions, ValidationTicket, ValidationTicketInput, VirtualAdapter, VirtualAnchor, VirtualContext, VirtualContextOptions, VirtualDirection, VirtualFocusItem, VirtualFocusOptions, VirtualFocusReturn, VirtualItem, VirtualOptions, VirtualState, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0RtlAdapter, computeDepth, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createCombobox, createComboboxContext, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createInput, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createNotifications, createNotificationsContext, createNotificationsPlugin, createNumberField, createNumeric, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createProgress, createProgressContext, createQueue, createQueueContext, createRating, createRatingContext, createRegistry, createRegistryContext, createRtl, createRtlContext, createRtlFallback, createRtlPlugin, createRules, createRulesContext, createRulesFallback, createRulesPlugin, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createValidation, createVirtual, createVirtualContext, extractLeaves, flatten, isStandardSchema, provideContext, resolveHeaders, toArray, toElement, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useCombobox, useContext, useDataTable, useDate, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHotkey, useHydration, useImage, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useNotifications, useOverflow, usePagination, usePermissions, usePopover, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, usePresence, useProgress, useProxyModel, useProxyRegistry, useQueue, useRaf, useRating, useRegistry, useResizeObserver, useRovingFocus, useRtl, useRules, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useTimer, useToggleScope, useTokens, useVirtual, useVirtualFocus, useWindowEventListener };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { i as useContext, n as createContext, r as provideContext, t as createTrinity } from "../createTrinity-
|
|
2
|
-
import { a as createPlugin, i as useLogger, n as createLoggerContext, o as createPluginContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
1
|
+
import { i as useContext, n as createContext, r as provideContext, t as createTrinity } from "../createTrinity-BTCs1pYx.mjs";
|
|
2
|
+
import { a as createPlugin, i as useLogger, n as createLoggerContext, o as createPluginContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-DFIRqm-N.mjs";
|
|
3
3
|
import { t as ConsolaLoggerAdapter } from "../consola-Ceox8BWi.mjs";
|
|
4
4
|
import { t as PinoLoggerAdapter } from "../pino-9L79n6y6.mjs";
|
|
5
|
-
import { t as Vuetify0LoggerAdapter } from "../v0-
|
|
6
|
-
import { a as createRegistry, i as useTokens, n as createTokensContext, o as createRegistryContext, r as flatten, s as useRegistry, t as createTokens } from "../createTokens-
|
|
7
|
-
import { i as createModel, n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-
|
|
8
|
-
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import { i as
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { n as createPaginationContext, r as usePagination, t as createPagination } from "../createPagination-
|
|
16
|
-
import { t as ClientAdapter } from "../v0-
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-
|
|
21
|
-
import { a as FeaturesAdapter, i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-
|
|
5
|
+
import { t as Vuetify0LoggerAdapter } from "../v0-CNitYI9N.mjs";
|
|
6
|
+
import { a as createRegistry, i as useTokens, n as createTokensContext, o as createRegistryContext, r as flatten, s as useRegistry, t as createTokens } from "../createTokens-oJAeh262.mjs";
|
|
7
|
+
import { i as createModel, n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-BA9guLah.mjs";
|
|
8
|
+
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-BHxHLZeg.mjs";
|
|
9
|
+
import { t as Vuetify0LocaleAdapter } from "../v0-I2mHxD9T.mjs";
|
|
10
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-qMmVnAwS.mjs";
|
|
11
|
+
import { $ as createStep, A as usePrefersContrast, At as createForm, B as createDatePlugin, Bt as useTimer, C as usePresence, Ct as createNumberField, D as useNotifications, Dt as useNested, E as createNotificationsPlugin, Et as createNestedContext, F as useIntersectionObserver, Ft as useCombobox, G as useBreakpoints, H as createBreakpoints, Ht as createBreadcrumbsContext, I as useImage, It as ServerAdapter, J as createVirtualContext, K as toReactive, L as useHotkey, Lt as ClientAdapter$1, M as usePrefersReducedMotion, Mt as useForm, N as useLazy, Nt as createCombobox, O as useMutationObserver, Ot as createInput, P as useElementIntersection, Pt as createComboboxContext, Q as useTimeline, R as createDate, Rt as useVirtualFocus, S as useProxyModel, St as useHydration, T as createNotificationsContext, Tt as createNested, U as createBreakpointsContext, Ut as useBreadcrumbs, V as useDate, Vt as createBreadcrumbs, W as createBreakpointsPlugin, X as createTimeline, Y as useVirtual, Z as createTimelineContext, _ as createRtlPlugin, _t as toElement, a as useToggleScope, at as useRating, b as useRovingFocus, bt as createHydrationContext, c as createStoragePlugin, ct as useQueue, d as createStackContext, dt as useProgress, et as createStepContext, f as createStackPlugin, ft as createOverflow, g as createRtlFallback, gt as useResizeObserver, h as createRtlContext, ht as useElementSize, i as useWindowEventListener, it as createRatingContext, j as usePrefersDark, jt as createFormContext, k as useMediaQuery, kt as createValidation, l as useStorage, lt as createProgress, m as createRtl, mt as useOverflow, n as useDocumentEventListener, nt as createSlider, o as createStorage, ot as createQueue, p as useStack, pt as createOverflowContext, q as createVirtual, r as useEventListener, rt as createRating, s as createStorageContext, st as createQueueContext, t as useClickOutside, tt as useStep, u as createStack, ut as createProgressContext, v as useRtl, vt as createFallbackHydration, w as createNotifications, wt as createNumeric, x as useRaf, xt as createHydrationPlugin, y as Vuetify0RtlAdapter, yt as createHydration, z as createDateContext, zt as usePopover } from "../useClickOutside-B9a6Jext.mjs";
|
|
12
|
+
import { t as toArray } from "../toArray-BA_JxFPv.mjs";
|
|
13
|
+
import { i as useFilter, n as createFilter, r as createFilterContext, t as DataTableAdapter } from "../adapter-CDpOQ8sn.mjs";
|
|
14
|
+
import { i as useProxyRegistry, n as createGroupContext, r as useGroup, t as createGroup } from "../createGroup-BC2nfttd.mjs";
|
|
15
|
+
import { n as createPaginationContext, r as usePagination, t as createPagination } from "../createPagination-qvJkcTUY.mjs";
|
|
16
|
+
import { t as ClientAdapter } from "../v0-BG7RhKBv.mjs";
|
|
17
|
+
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-B4UflKnT.mjs";
|
|
18
|
+
import { t as ServerAdapter$1 } from "../server-B6OtHgBT.mjs";
|
|
19
|
+
import { t as VirtualAdapter } from "../virtual-To-dSw2_.mjs";
|
|
20
|
+
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-D3UXEtu7.mjs";
|
|
21
|
+
import { a as FeaturesAdapter, i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-wgMwaQ5W.mjs";
|
|
22
22
|
import { n as PermissionAdapter } from "../v0-4OQBCeda.mjs";
|
|
23
|
-
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-
|
|
23
|
+
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-tZhkBJmq.mjs";
|
|
24
24
|
import { t as MemoryAdapter } from "../memory-XCMtkld1.mjs";
|
|
25
|
-
import { t as V0StyleSheetThemeAdapter } from "../v0-
|
|
26
|
-
import { t as V0UnheadThemeAdapter } from "../unhead
|
|
27
|
-
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-
|
|
28
|
-
export { ClientAdapter, ClientAdapter$1 as ComboboxClientAdapter, ServerAdapter as ComboboxServerAdapter, ConsolaLoggerAdapter, DataTableAdapter, FeaturesAdapter, MemoryAdapter, PermissionAdapter, PinoLoggerAdapter, ServerAdapter$1 as ServerAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, VirtualAdapter, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0RtlAdapter, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createCombobox, createComboboxContext, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createInput, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createNotifications, createNotificationsContext, createNotificationsPlugin, createNumberField, createNumeric, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createProgress, createProgressContext, createQueue, createQueueContext, createRating, createRatingContext, createRegistry, createRegistryContext, createRtl, createRtlContext, createRtlFallback, createRtlPlugin, createRules, createRulesContext, createRulesFallback, createRulesPlugin, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createValidation, createVirtual, createVirtualContext, flatten, isStandardSchema,
|
|
25
|
+
import { t as V0StyleSheetThemeAdapter } from "../v0-6XptGYVx.mjs";
|
|
26
|
+
import { t as V0UnheadThemeAdapter } from "../unhead-D2YqAcmF.mjs";
|
|
27
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-BeD__R8t.mjs";
|
|
28
|
+
export { ClientAdapter, ClientAdapter$1 as ComboboxClientAdapter, ServerAdapter as ComboboxServerAdapter, ConsolaLoggerAdapter, DataTableAdapter, FeaturesAdapter, MemoryAdapter, PermissionAdapter, PinoLoggerAdapter, ServerAdapter$1 as ServerAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, VirtualAdapter, Vuetify0LocaleAdapter, Vuetify0LoggerAdapter, Vuetify0RtlAdapter, computeDepth, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createCombobox, createComboboxContext, createContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createInput, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createNotifications, createNotificationsContext, createNotificationsPlugin, createNumberField, createNumeric, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createProgress, createProgressContext, createQueue, createQueueContext, createRating, createRatingContext, createRegistry, createRegistryContext, createRtl, createRtlContext, createRtlFallback, createRtlPlugin, createRules, createRulesContext, createRulesFallback, createRulesPlugin, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTrinity, createValidation, createVirtual, createVirtualContext, extractLeaves, flatten, isStandardSchema, provideContext, resolveHeaders, toArray, toElement, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useCombobox, useContext, useDataTable, useDate, useDocumentEventListener, useElementIntersection, useElementSize, useEventListener, useFeatures, useFilter, useForm, useGroup, useHotkey, useHydration, useImage, useIntersectionObserver, useLazy, useLocale, useLogger, useMediaQuery, useMutationObserver, useNested, useNotifications, useOverflow, usePagination, usePermissions, usePopover, usePrefersContrast, usePrefersDark, usePrefersReducedMotion, usePresence, useProgress, useProxyModel, useProxyRegistry, useQueue, useRaf, useRating, useRegistry, useResizeObserver, useRovingFocus, useRtl, useRules, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useTimer, useToggleScope, useTokens, useVirtual, useVirtualFocus, useWindowEventListener };
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as SELF_CLOSING_TAGS, r as isSelfClosingTag, t as COMMON_ELEMENTS } from "../htmlElements-
|
|
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-
|
|
1
|
+
import { n as SELF_CLOSING_TAGS, r as isSelfClosingTag, t as COMMON_ELEMENTS } from "../htmlElements-CIePKaTX.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-Berkg6mP.mjs";
|
|
3
3
|
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,10 +1,70 @@
|
|
|
1
1
|
import { isNullOrUndefined, isNumber, isString } from "./utilities/index.mjs";
|
|
2
|
-
import { i as useContext,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as ClientAdapter } from "./v0-
|
|
6
|
-
import "./adapters-
|
|
2
|
+
import { i as useContext, t as createTrinity } from "./createTrinity-BTCs1pYx.mjs";
|
|
3
|
+
import { a as useLocale } from "./useLocale-qMmVnAwS.mjs";
|
|
4
|
+
import { t as createGroup } from "./createGroup-BC2nfttd.mjs";
|
|
5
|
+
import { t as ClientAdapter } from "./v0-BG7RhKBv.mjs";
|
|
6
|
+
import "./adapters-CFjrKxA2.mjs";
|
|
7
7
|
import { computed, shallowReactive, shallowRef, toRef, watch } from "vue";
|
|
8
|
+
//#region src/composables/createDataTable/columns.ts
|
|
9
|
+
/**
|
|
10
|
+
* Recursively extract leaf columns (those without children).
|
|
11
|
+
*
|
|
12
|
+
* @param columns Column tree to extract leaves from
|
|
13
|
+
* @returns Flat array of leaf columns
|
|
14
|
+
*/
|
|
15
|
+
function extractLeaves(columns) {
|
|
16
|
+
const leaves = [];
|
|
17
|
+
for (const col of columns) if (col.children?.length) leaves.push(...extractLeaves(col.children));
|
|
18
|
+
else leaves.push(col);
|
|
19
|
+
return leaves;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Compute the maximum nesting depth of a column tree (0 = flat).
|
|
23
|
+
*
|
|
24
|
+
* @param columns Column tree to measure
|
|
25
|
+
* @returns Maximum nesting depth
|
|
26
|
+
*/
|
|
27
|
+
function computeDepth(columns) {
|
|
28
|
+
let max = 0;
|
|
29
|
+
for (const col of columns) if (col.children?.length) max = Math.max(max, 1 + computeDepth(col.children));
|
|
30
|
+
return max;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Resolve a recursive column tree into a 2D header grid.
|
|
34
|
+
*
|
|
35
|
+
* Each cell has colspan (number of leaf descendants) and rowspan
|
|
36
|
+
* (how many rows a leaf spans when it doesn't fill all depth levels).
|
|
37
|
+
*
|
|
38
|
+
* @param columns Column tree to resolve
|
|
39
|
+
* @returns 2D array of header cells with colspan/rowspan
|
|
40
|
+
*/
|
|
41
|
+
function resolveHeaders(columns) {
|
|
42
|
+
if (columns.length === 0) return [];
|
|
43
|
+
const maxDepth = computeDepth(columns);
|
|
44
|
+
const rows = Array.from({ length: maxDepth + 1 }, () => []);
|
|
45
|
+
function walk(cols, depth) {
|
|
46
|
+
for (const col of cols) if (col.children?.length) {
|
|
47
|
+
const leaves = extractLeaves(col.children);
|
|
48
|
+
rows[depth].push({
|
|
49
|
+
key: col.key,
|
|
50
|
+
title: col.title ?? "",
|
|
51
|
+
colspan: leaves.length,
|
|
52
|
+
rowspan: 1,
|
|
53
|
+
depth
|
|
54
|
+
});
|
|
55
|
+
walk(col.children, depth + 1);
|
|
56
|
+
} else rows[depth].push({
|
|
57
|
+
key: col.key,
|
|
58
|
+
title: col.title ?? "",
|
|
59
|
+
colspan: 1,
|
|
60
|
+
rowspan: maxDepth - depth + 1,
|
|
61
|
+
depth
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
walk(columns, 0);
|
|
65
|
+
return rows;
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
8
68
|
//#region src/composables/createDataTable/index.ts
|
|
9
69
|
/**
|
|
10
70
|
* @module createDataTable
|
|
@@ -25,6 +85,17 @@ import { computed, shallowReactive, shallowRef, toRef, watch } from "vue";
|
|
|
25
85
|
* - Sort options: mandate, firstSortOrder
|
|
26
86
|
* - Row selection via lightweight Set (not registry-based)
|
|
27
87
|
* - Trinity pattern for dependency injection
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* ```ts
|
|
91
|
+
* import { createDataTable } from '@vuetify/v0'
|
|
92
|
+
*
|
|
93
|
+
* const table = createDataTable({
|
|
94
|
+
* items: [{ id: 1, name: 'Alice' }, { id: 2, name: 'Bob' }],
|
|
95
|
+
* columns: [{ key: 'name', title: 'Name', sortable: true }],
|
|
96
|
+
* })
|
|
97
|
+
* table.sort.toggle('name')
|
|
98
|
+
* ```
|
|
28
99
|
*/
|
|
29
100
|
/**
|
|
30
101
|
* Creates a data table instance with sort controls, selection, and an
|
|
@@ -77,7 +148,9 @@ function createDataTable(options) {
|
|
|
77
148
|
if (!/* @__PURE__ */ isNullOrUndefined(selected)) return String(selected);
|
|
78
149
|
return initialLocale;
|
|
79
150
|
});
|
|
80
|
-
const
|
|
151
|
+
const leaves = extractLeaves(columns);
|
|
152
|
+
const headers = toRef(() => resolveHeaders(columns));
|
|
153
|
+
const sortable = leaves.filter((col) => col.sortable === true);
|
|
81
154
|
const group = createGroup({ multiple: sortMultiple });
|
|
82
155
|
group.onboard(sortable.map((col) => ({
|
|
83
156
|
id: col.key,
|
|
@@ -151,11 +224,11 @@ function createDataTable(options) {
|
|
|
151
224
|
priority,
|
|
152
225
|
reset
|
|
153
226
|
};
|
|
154
|
-
const filterable =
|
|
155
|
-
const
|
|
156
|
-
for (const col of
|
|
157
|
-
const
|
|
158
|
-
for (const col of
|
|
227
|
+
const filterable = leaves.filter((col) => col.filterable === true).map((col) => col.key);
|
|
228
|
+
const sorts = {};
|
|
229
|
+
for (const col of leaves) if (col.sort) sorts[col.key] = col.sort;
|
|
230
|
+
const filters = {};
|
|
231
|
+
for (const col of leaves) if (col.filter) filters[col.key] = col.filter;
|
|
159
232
|
const { allItems, filteredItems, sortedItems, items: visible, pagination, total, loading = toRef(() => false), error = toRef(() => null) } = adapter.setup({
|
|
160
233
|
items: _items,
|
|
161
234
|
search: _query,
|
|
@@ -164,8 +237,8 @@ function createDataTable(options) {
|
|
|
164
237
|
locale,
|
|
165
238
|
filterOptions,
|
|
166
239
|
paginationOptions,
|
|
167
|
-
customSorts,
|
|
168
|
-
customColumnFilters
|
|
240
|
+
customSorts: sorts,
|
|
241
|
+
customColumnFilters: filters
|
|
169
242
|
});
|
|
170
243
|
const selectedIds = shallowReactive(/* @__PURE__ */ new Set());
|
|
171
244
|
function rowId(item) {
|
|
@@ -255,7 +328,7 @@ function createDataTable(options) {
|
|
|
255
328
|
expandedIds.clear();
|
|
256
329
|
}
|
|
257
330
|
};
|
|
258
|
-
const
|
|
331
|
+
const opened = shallowReactive(/* @__PURE__ */ new Set());
|
|
259
332
|
const groups = computed(() => {
|
|
260
333
|
if (!groupBy) return [];
|
|
261
334
|
const map = /* @__PURE__ */ new Map();
|
|
@@ -281,11 +354,11 @@ function createDataTable(options) {
|
|
|
281
354
|
return result;
|
|
282
355
|
});
|
|
283
356
|
if (enroll) {
|
|
284
|
-
for (const group of groups.value)
|
|
357
|
+
for (const group of groups.value) opened.add(group.key);
|
|
285
358
|
if (groups.value.length === 0) {
|
|
286
359
|
const stop = watch(groups, (newGroups) => {
|
|
287
360
|
if (newGroups.length === 0) return;
|
|
288
|
-
for (const group of newGroups)
|
|
361
|
+
for (const group of newGroups) opened.add(group.key);
|
|
289
362
|
stop();
|
|
290
363
|
});
|
|
291
364
|
}
|
|
@@ -296,6 +369,8 @@ function createDataTable(options) {
|
|
|
296
369
|
filteredItems,
|
|
297
370
|
sortedItems,
|
|
298
371
|
columns,
|
|
372
|
+
leaves,
|
|
373
|
+
headers,
|
|
299
374
|
search,
|
|
300
375
|
query: _query,
|
|
301
376
|
sort,
|
|
@@ -305,23 +380,23 @@ function createDataTable(options) {
|
|
|
305
380
|
grouping: {
|
|
306
381
|
groups,
|
|
307
382
|
toggle(groupKey) {
|
|
308
|
-
if (
|
|
309
|
-
else
|
|
383
|
+
if (opened.has(groupKey)) opened.delete(groupKey);
|
|
384
|
+
else opened.add(groupKey);
|
|
310
385
|
},
|
|
311
386
|
isOpen(groupKey) {
|
|
312
|
-
return
|
|
387
|
+
return opened.has(groupKey);
|
|
313
388
|
},
|
|
314
389
|
open(groupKey) {
|
|
315
|
-
|
|
390
|
+
opened.add(groupKey);
|
|
316
391
|
},
|
|
317
392
|
close(groupKey) {
|
|
318
|
-
|
|
393
|
+
opened.delete(groupKey);
|
|
319
394
|
},
|
|
320
395
|
openAll() {
|
|
321
|
-
for (const group of groups.value)
|
|
396
|
+
for (const group of groups.value) opened.add(group.key);
|
|
322
397
|
},
|
|
323
398
|
closeAll() {
|
|
324
|
-
|
|
399
|
+
opened.clear();
|
|
325
400
|
}
|
|
326
401
|
},
|
|
327
402
|
total,
|
|
@@ -356,12 +431,7 @@ function createDataTable(options) {
|
|
|
356
431
|
*/
|
|
357
432
|
function createDataTableContext(_options) {
|
|
358
433
|
const { namespace = "v0:data-table", ...options } = _options;
|
|
359
|
-
|
|
360
|
-
const context = createDataTable(options);
|
|
361
|
-
function provideDataTableContext(_context = context, app) {
|
|
362
|
-
return _provideDataTableContext(_context, app);
|
|
363
|
-
}
|
|
364
|
-
return createTrinity(useDataTableContext, provideDataTableContext, context);
|
|
434
|
+
return createTrinity(namespace, createDataTable(options));
|
|
365
435
|
}
|
|
366
436
|
/**
|
|
367
437
|
* Returns the current data table context from dependency injection.
|
|
@@ -385,4 +455,4 @@ function useDataTable(namespace = "v0:data-table") {
|
|
|
385
455
|
return useContext(namespace);
|
|
386
456
|
}
|
|
387
457
|
//#endregion
|
|
388
|
-
export { createDataTableContext as n, useDataTable as r, createDataTable as t };
|
|
458
|
+
export { extractLeaves as a, computeDepth as i, createDataTableContext as n, resolveHeaders as o, useDataTable as r, createDataTable as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveIds, resolveIndexes, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
|
-
import { i as useContext,
|
|
3
|
-
import { t as createSelection } from "./createSelection-
|
|
4
|
-
import { t as toArray } from "./toArray-
|
|
2
|
+
import { i as useContext, t as createTrinity } from "./createTrinity-BTCs1pYx.mjs";
|
|
3
|
+
import { t as createSelection } from "./createSelection-BA9guLah.mjs";
|
|
4
|
+
import { t as toArray } from "./toArray-BA_JxFPv.mjs";
|
|
5
5
|
import { computed, onScopeDispose, reactive, shallowReactive, toRef, toValue } from "vue";
|
|
6
6
|
//#region src/composables/useProxyRegistry/index.ts
|
|
7
7
|
/**
|
|
@@ -20,6 +20,16 @@ import { computed, onScopeDispose, reactive, shallowReactive, toRef, toValue } f
|
|
|
20
20
|
* - Transforms Map-based registry into reactive refs
|
|
21
21
|
*
|
|
22
22
|
* Perfect for exposing registry data as reactive computed properties.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* import { createRegistry, useProxyRegistry } from '@vuetify/v0'
|
|
27
|
+
*
|
|
28
|
+
* const registry = createRegistry({ events: true })
|
|
29
|
+
* const proxy = useProxyRegistry(registry)
|
|
30
|
+
* registry.register({ value: 'Item 1' })
|
|
31
|
+
* console.log(proxy.size) // 1
|
|
32
|
+
* ```
|
|
23
33
|
*/
|
|
24
34
|
/**
|
|
25
35
|
* Creates a proxy registry that provides reactive objects for registry data.
|
|
@@ -93,6 +103,16 @@ function useProxyRegistry(registry, options) {
|
|
|
93
103
|
*
|
|
94
104
|
* Inheritance chain: createRegistry → createSelection → createGroup
|
|
95
105
|
* Extended by: useFeatures
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```ts
|
|
109
|
+
* import { createGroup } from '@vuetify/v0'
|
|
110
|
+
*
|
|
111
|
+
* const group = createGroup()
|
|
112
|
+
* group.register({ value: 'a' })
|
|
113
|
+
* group.register({ value: 'b' })
|
|
114
|
+
* group.select(['a', 'b'])
|
|
115
|
+
* ```
|
|
96
116
|
*/
|
|
97
117
|
/**
|
|
98
118
|
* Creates a new group instance with batch selection and tri-state support.
|
|
@@ -323,12 +343,7 @@ function createGroup(_options = {}) {
|
|
|
323
343
|
*/
|
|
324
344
|
function createGroupContext(_options = {}) {
|
|
325
345
|
const { namespace = "v0:group", ...options } = _options;
|
|
326
|
-
|
|
327
|
-
const context = createGroup(options);
|
|
328
|
-
function provideGroupContext(_context = context, app) {
|
|
329
|
-
return _provideGroupContext(_context, app);
|
|
330
|
-
}
|
|
331
|
-
return createTrinity(useGroupContext, provideGroupContext, context);
|
|
346
|
+
return createTrinity(namespace, createGroup(options));
|
|
332
347
|
}
|
|
333
348
|
/**
|
|
334
349
|
* Returns the current group instance.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { clamp, isNaN, range } from "./utilities/index.mjs";
|
|
2
|
-
import { i as useContext,
|
|
2
|
+
import { i as useContext, t as createTrinity } from "./createTrinity-BTCs1pYx.mjs";
|
|
3
3
|
import { computed, isRef, shallowRef, toRef, toValue } from "vue";
|
|
4
4
|
//#region src/composables/createPagination/index.ts
|
|
5
5
|
/**
|
|
@@ -19,6 +19,15 @@ import { computed, isRef, shallowRef, toRef, toValue } from "vue";
|
|
|
19
19
|
*
|
|
20
20
|
* Unlike registry-based composables, pagination tracks a single number
|
|
21
21
|
* within a range, making it efficient for large page counts.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* import { createPagination } from '@vuetify/v0'
|
|
26
|
+
*
|
|
27
|
+
* const pagination = createPagination({ size: 100, itemsPerPage: 10 })
|
|
28
|
+
* pagination.next()
|
|
29
|
+
* console.log(pagination.page.value) // 2
|
|
30
|
+
* ```
|
|
22
31
|
*/
|
|
23
32
|
/**
|
|
24
33
|
* Creates a pagination instance.
|
|
@@ -209,12 +218,7 @@ function createPagination(_options = {}) {
|
|
|
209
218
|
*/
|
|
210
219
|
function createPaginationContext(_options = {}) {
|
|
211
220
|
const { namespace = "v0:pagination", ...options } = _options;
|
|
212
|
-
|
|
213
|
-
const context = createPagination(options);
|
|
214
|
-
function providePaginationContext(_context = context, app) {
|
|
215
|
-
return _providePaginationContext(_context, app);
|
|
216
|
-
}
|
|
217
|
-
return createTrinity(usePaginationContext, providePaginationContext, context);
|
|
221
|
+
return createTrinity(namespace, createPagination(options));
|
|
218
222
|
}
|
|
219
223
|
/**
|
|
220
224
|
* Returns the current pagination instance from context.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isUndefined, resolveIds, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
|
-
import { i as useContext,
|
|
3
|
-
import { a as createRegistry } from "./createTokens-
|
|
2
|
+
import { i as useContext, t as createTrinity } from "./createTrinity-BTCs1pYx.mjs";
|
|
3
|
+
import { a as createRegistry } from "./createTokens-oJAeh262.mjs";
|
|
4
4
|
import { computed, isRef, shallowReactive, toRaw, toRef, toValue } from "vue";
|
|
5
5
|
//#region src/composables/createModel/index.ts
|
|
6
6
|
/**
|
|
@@ -21,6 +21,15 @@ import { computed, isRef, shallowReactive, toRaw, toRef, toValue } from "vue";
|
|
|
21
21
|
* Both Selection and Slider extend this layer:
|
|
22
22
|
* - createRegistry → createModel → createSelection → createSingle/createGroup/createStep
|
|
23
23
|
* - createRegistry → createModel → createSlider (values override)
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* import { createModel } from '@vuetify/v0'
|
|
28
|
+
*
|
|
29
|
+
* const model = createModel({ multiple: false })
|
|
30
|
+
* model.register({ value: 'apple' })
|
|
31
|
+
* model.select(model.values()[0]!.id)
|
|
32
|
+
* ```
|
|
24
33
|
*/
|
|
25
34
|
/**
|
|
26
35
|
* Creates a new model instance for storing a single value.
|
|
@@ -185,6 +194,16 @@ function createModel(_options = {}) {
|
|
|
185
194
|
* - Ticket self-methods: select(), unselect(), toggle()
|
|
186
195
|
*
|
|
187
196
|
* Extends createModel and serves as the base for createSingle, createGroup, createStep, and useFeatures.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* ```ts
|
|
200
|
+
* import { createSelection } from '@vuetify/v0'
|
|
201
|
+
*
|
|
202
|
+
* const selection = createSelection({ multiple: true })
|
|
203
|
+
* const a = selection.register({ value: 'a' })
|
|
204
|
+
* const b = selection.register({ value: 'b' })
|
|
205
|
+
* selection.select([a.id, b.id])
|
|
206
|
+
* ```
|
|
188
207
|
*/
|
|
189
208
|
/**
|
|
190
209
|
* Creates a new selection instance for managing multiple selected items.
|
|
@@ -256,6 +275,7 @@ function createSelection(_options = {}) {
|
|
|
256
275
|
const { enroll = false, mandatory = false, multiple = false, ...options } = _options;
|
|
257
276
|
const model = createModel({
|
|
258
277
|
...options,
|
|
278
|
+
multiple,
|
|
259
279
|
enroll: false
|
|
260
280
|
});
|
|
261
281
|
function seek(direction = "first", from) {
|
|
@@ -264,14 +284,7 @@ function createSelection(_options = {}) {
|
|
|
264
284
|
function mandate() {
|
|
265
285
|
if (!toValue(mandatory) || model.size === 0 || model.selectedIds.size > 0) return;
|
|
266
286
|
const ticket = seek("first");
|
|
267
|
-
if (ticket) select(ticket.id);
|
|
268
|
-
}
|
|
269
|
-
function select(id) {
|
|
270
|
-
if (toValue(model.disabled)) return;
|
|
271
|
-
const item = model.get(id);
|
|
272
|
-
if (!item || toValue(item.disabled)) return;
|
|
273
|
-
if (!toValue(multiple)) model.selectedIds.clear();
|
|
274
|
-
model.selectedIds.add(id);
|
|
287
|
+
if (ticket) model.select(ticket.id);
|
|
275
288
|
}
|
|
276
289
|
function unselect(id) {
|
|
277
290
|
if (toValue(model.disabled)) return;
|
|
@@ -281,7 +294,7 @@ function createSelection(_options = {}) {
|
|
|
281
294
|
function toggle(id) {
|
|
282
295
|
if (toValue(model.disabled)) return;
|
|
283
296
|
if (model.selectedIds.has(id)) unselect(id);
|
|
284
|
-
else select(id);
|
|
297
|
+
else model.select(id);
|
|
285
298
|
}
|
|
286
299
|
function apply(values, options) {
|
|
287
300
|
const isMultiple = options?.multiple ?? toValue(multiple);
|
|
@@ -298,20 +311,20 @@ function createSelection(_options = {}) {
|
|
|
298
311
|
const next = targetIds.values().next().value;
|
|
299
312
|
const last = currentIds.values().next().value;
|
|
300
313
|
if (!/* @__PURE__ */ isUndefined(last)) unselect(last);
|
|
301
|
-
if (!/* @__PURE__ */ isUndefined(next)) select(next);
|
|
314
|
+
if (!/* @__PURE__ */ isUndefined(next)) model.select(next);
|
|
302
315
|
}
|
|
303
316
|
}
|
|
304
317
|
function register(registration = {}) {
|
|
305
318
|
const id = registration.id ?? /* @__PURE__ */ useId$1();
|
|
306
319
|
const decorated = {
|
|
307
|
-
select: () => select(id),
|
|
320
|
+
select: () => model.select(id),
|
|
308
321
|
unselect: () => unselect(id),
|
|
309
322
|
toggle: () => toggle(id),
|
|
310
323
|
...registration,
|
|
311
324
|
id
|
|
312
325
|
};
|
|
313
326
|
const ticket = model.register(decorated);
|
|
314
|
-
if (toValue(enroll) && !toValue(model.disabled) && !toValue(ticket.disabled)) select(ticket.id);
|
|
327
|
+
if (toValue(enroll) && !toValue(model.disabled) && !toValue(ticket.disabled)) model.select(ticket.id);
|
|
315
328
|
if (toValue(mandatory) === "force") mandate();
|
|
316
329
|
return ticket;
|
|
317
330
|
}
|
|
@@ -325,7 +338,6 @@ function createSelection(_options = {}) {
|
|
|
325
338
|
multiple,
|
|
326
339
|
register,
|
|
327
340
|
onboard,
|
|
328
|
-
select,
|
|
329
341
|
unselect,
|
|
330
342
|
toggle,
|
|
331
343
|
apply,
|
|
@@ -378,12 +390,7 @@ function createSelection(_options = {}) {
|
|
|
378
390
|
*/
|
|
379
391
|
function createSelectionContext(_options = {}) {
|
|
380
392
|
const { namespace = "v0:selection", ...options } = _options;
|
|
381
|
-
|
|
382
|
-
const context = createSelection(options);
|
|
383
|
-
function provideSelectionContext(_context = context, app) {
|
|
384
|
-
return _provideSelectionContext(_context, app);
|
|
385
|
-
}
|
|
386
|
-
return createTrinity(useSelectionContext, provideSelectionContext, context);
|
|
393
|
+
return createTrinity(namespace, createSelection(options));
|
|
387
394
|
}
|
|
388
395
|
/**
|
|
389
396
|
* Returns the current selection instance.
|