@vuetify/v0 1.0.0-beta.3 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{adapter-D2ABPTpo.d.mts → adapter-BI-oyZCe.d.mts} +3 -2
- package/dist/{adapter-CQoi3rdC.d.mts → adapter-Butx_2UU.d.mts} +1 -1
- package/dist/{adapter-Cj7vxEdB.mjs → adapter-CJY6aQIS.mjs} +5 -1
- package/dist/browser/index.d.ts +25318 -0
- package/dist/browser/index.js +269 -164
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-Df1uIUcB.mjs → components-Uq92vRyo.mjs} +117 -76
- package/dist/composables/index.d.mts +7 -7
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-C7MhsS5q.mjs → composables-CzjEAc-O.mjs} +11 -11
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-DfggVqO1.mjs → createDataTable-BT9WcHvw.mjs} +3 -3
- package/dist/{createGroup-vfCXVfYV.mjs → createGroup-CJt-oMxs.mjs} +1 -1
- package/dist/{createRegistry-Ve2QNpZv.mjs → createRegistry-C-izE3Un.mjs} +2 -2
- package/dist/{createSelection-CT2UG109.mjs → createSelection-rmz4G5IG.mjs} +8 -3
- package/dist/{createSingle-DTI4qvUd.mjs → createSingle-DDri2UEO.mjs} +1 -1
- package/dist/{createTokens-C5bl_n6G.mjs → createTokens-D_EYIf_-.mjs} +6 -6
- package/dist/data-table/index.d.mts +1 -1
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.mjs +1 -1
- package/dist/features/adapters/flagsmith/index.d.mts +1 -1
- package/dist/features/adapters/launchdarkly/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.d.mts +1 -1
- package/dist/features/adapters/posthog/index.mjs +1 -1
- package/dist/features/index.d.mts +2 -2
- package/dist/features/index.mjs +1 -1
- package/dist/{flagsmith-CXzNBqm3.d.mts → flagsmith-DA2GCyGv.d.mts} +1 -1
- package/dist/{globals-D78-6Zqq.mjs → globals-od-0-rj0.mjs} +1 -1
- package/dist/{index-LMiCHwZl.d.mts → index-BBJnOUyA.d.mts} +2 -1
- package/dist/{index-B5OhvOR2.d.mts → index-CV7bOS7B.d.mts} +71 -14
- package/dist/{index-Bmz8PZMY.d.mts → index-CfHm03dg.d.mts} +1 -1
- package/dist/{index-B9YmdGZ3.d.mts → index-CyNk9FpR.d.mts} +3 -0
- package/dist/{index-Caq7DXRO.d.mts → index-DF1gnhPy.d.mts} +107 -107
- package/dist/{index-DRrHHgE7.d.mts → index-DgPFPx_7.d.mts} +2 -2
- package/dist/{index-rJ_lhMYJ.d.mts → index-pM8UX1XI.d.mts} +2 -2
- package/dist/index.d.mts +10 -10
- package/dist/index.mjs +24 -24
- package/dist/json/attributes.json +4 -4
- package/dist/json/web-types.json +8 -6
- package/dist/{launchdarkly-DvhloBts.d.mts → launchdarkly-Bp8p9PMD.d.mts} +1 -1
- package/dist/locale/adapters/index.d.mts +2 -2
- package/dist/locale/adapters/index.mjs +1 -1
- 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 +2 -1
- package/dist/locale/adapters/vue-i18n/index.mjs +3 -0
- package/dist/locale/index.d.mts +3 -3
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +70 -0
- package/dist/locale/messages/en/index.mjs +56 -0
- package/dist/logger/adapters/index.mjs +1 -1
- 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 +2 -2
- package/dist/palettes/ant/index.d.mts +1 -1
- package/dist/palettes/index.d.mts +3 -3
- 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-BOT5W7Ds.d.mts → posthog-sFqk0bGy.d.mts} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +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 +3 -3
- package/dist/theme/adapters/unhead/index.d.mts +1 -1
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.d.mts +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.d.mts +1 -1
- package/dist/theme/index.mjs +4 -4
- package/dist/types/index.d.mts +1 -1
- package/dist/{unhead-t2_gsao2.mjs → unhead-BnxPl6sY.mjs} +10 -5
- package/dist/{useEventListener-BuETafFi.mjs → useEventListener-CfEGMcjz.mjs} +1 -1
- package/dist/{useFeatures-DyNG1_ge.mjs → useFeatures-B_u-9E7R.mjs} +3 -3
- package/dist/{useLocale-CYq4yT7b.mjs → useLocale-BXtMJeow.mjs} +9 -4
- package/dist/{useLogger-BEG9pAe8.mjs → useLogger-DX5_7Oxx.mjs} +2 -2
- package/dist/{useNotifications-BrZooK2S.mjs → useNotifications-DeNMmeZF.mjs} +4 -4
- package/dist/{usePermissions-BvaZwUe8.mjs → usePermissions-DPIFes9l.mjs} +2 -2
- package/dist/{useRovingFocus-4F5-mWO7.mjs → useRovingFocus-BLPMBFFW.mjs} +106 -81
- package/dist/{useRules-B3vAa7tc.mjs → useRules-2M0JbQHv.mjs} +2 -2
- package/dist/{useStorage-lqTLed0e.mjs → useStorage-CHx6ZSjw.mjs} +3 -3
- package/dist/{useTheme-BGmROwu-.mjs → useTheme-DqtxOIDJ.mjs} +4 -4
- package/dist/utilities/index.d.mts +1 -1
- package/dist/utilities/index.mjs +4 -3
- package/dist/{v0-D7NA38Vu.d.mts → v0-Cf5DZ4lw.d.mts} +3 -1
- package/dist/{v0-B08xQqj6.mjs → v0-D4InK1of.mjs} +16 -10
- package/dist/{v0-4a_MJXIm.mjs → v0-DXr8lzQK.mjs} +1 -1
- package/dist/{v0-UJs1EiJ7.mjs → v0-KsDsXr6T.mjs} +18 -5
- package/package.json +4 -4
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { i as useContext, n as createContext, r as provideContext, t as createTrinity } from "../createTrinity-z-3q9QWR.mjs";
|
|
2
|
-
import { a as createPlugin, i as useLogger, n as createLoggerContext, o as createPluginContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
2
|
+
import { a as createPlugin, i as useLogger, n as createLoggerContext, o as createPluginContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-DX5_7Oxx.mjs";
|
|
3
3
|
import { t as LoggerAdapter } from "../adapter-Chznb9Ju.mjs";
|
|
4
4
|
import { t as ConsolaLoggerAdapter } from "../consola-cad-VEV2.mjs";
|
|
5
5
|
import { t as PinoLoggerAdapter } from "../pino-BscMO3RR.mjs";
|
|
6
|
-
import { t as V0LoggerAdapter } from "../v0-
|
|
7
|
-
import { n as createRegistryContext, r as useRegistry, t as createRegistry } from "../createRegistry-
|
|
8
|
-
import { i as createModel, n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-
|
|
9
|
-
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-
|
|
10
|
-
import { i as useTokens, n as createTokensContext, r as flatten, t as createTokens } from "../createTokens-
|
|
6
|
+
import { t as V0LoggerAdapter } from "../v0-DXr8lzQK.mjs";
|
|
7
|
+
import { n as createRegistryContext, r as useRegistry, t as createRegistry } from "../createRegistry-C-izE3Un.mjs";
|
|
8
|
+
import { i as createModel, n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-rmz4G5IG.mjs";
|
|
9
|
+
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-DDri2UEO.mjs";
|
|
10
|
+
import { i as useTokens, n as createTokensContext, r as flatten, t as createTokens } from "../createTokens-D_EYIf_-.mjs";
|
|
11
11
|
import { t as LocaleAdapter } from "../adapter-bwZo7b5p.mjs";
|
|
12
|
-
import { t as V0LocaleAdapter } from "../v0-
|
|
13
|
-
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-
|
|
12
|
+
import { t as V0LocaleAdapter } from "../v0-D4InK1of.mjs";
|
|
13
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-BXtMJeow.mjs";
|
|
14
14
|
import { t as toArray } from "../toArray-C89ZaEuF.mjs";
|
|
15
|
-
import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "../useEventListener-
|
|
16
|
-
import { $ as
|
|
17
|
-
import { i as useProxyRegistry, n as createGroupContext, r as useGroup, t as createGroup } from "../createGroup-
|
|
18
|
-
import { a as createQueue, c as useTimer, i as useNotifications, n as createNotificationsContext, o as createQueueContext, r as createNotificationsPlugin, s as useQueue, t as createNotifications } from "../useNotifications-
|
|
15
|
+
import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "../useEventListener-CfEGMcjz.mjs";
|
|
16
|
+
import { $ as createHydrationPlugin, A as useCombobox, B as createBreadcrumbs, C as useIntersectionObserver, D as useLazy, E as useForm, F as useDelay, G as createOverflowContext, H as useBreadcrumbs, I as createStep, J as useResizeObserver, K as useOverflow, L as createStepContext, M as ComboboxAdapter, N as useVirtualFocus, O as createCombobox, P as usePopover, Q as createHydrationContext, R as useStep, S as useElementIntersection, T as createFormContext, U as useImage, V as createBreadcrumbsContext, W as createOverflow, X as createFallbackHydration, Z as createHydration, _ as useRaf, a as createTooltipContext, at as useStack, b as createInput, c as useTooltip, d as createRatingContext, et as useHydration, f as useRating, g as usePresence, h as useProgress, i as useNested, it as createStackPlugin, j as ClientComboboxAdapter, k as createComboboxContext, l as createSlider, m as createProgressContext, n as createNested, nt as createStack, o as createTooltipFallback, ot as toElement, p as createProgress, q as useElementSize, r as createNestedContext, rt as createStackContext, s as createTooltipPlugin, st as useClickOutside, t as useRovingFocus, tt as useToggleScope, u as createRating, v as createNumberField, w as createForm, x as createValidation, y as createNumeric, z as useProxyModel } from "../useRovingFocus-BLPMBFFW.mjs";
|
|
17
|
+
import { i as useProxyRegistry, n as createGroupContext, r as useGroup, t as createGroup } from "../createGroup-CJt-oMxs.mjs";
|
|
18
|
+
import { a as createQueue, c as useTimer, i as useNotifications, n as createNotificationsContext, o as createQueueContext, r as createNotificationsPlugin, s as useQueue, t as createNotifications } from "../useNotifications-DeNMmeZF.mjs";
|
|
19
19
|
import { a as createFilterContext, i as createFilter, n as createPaginationContext, o as useFilter, r as usePagination, t as createPagination } from "../createPagination-B5dfqY-a.mjs";
|
|
20
|
-
import { A as createBreakpointsPlugin, B as createOtp, C as useMutationObserver, D as useDate, E as createDatePlugin, F as createVirtualContext, G as createSortable, H as createDataGrid, I as useVirtual, K as ServerComboboxAdapter, L as createTimeline, M as toReactive, N as toHighlight, O as createBreakpoints, P as createVirtual, R as createTimelineContext, S as DragDropAdapter, T as createDateContext, U as createDataGridContext, V as createKanban, W as useDataGrid, _ as usePrefersReducedMotion, a as useRtl, b as KeyboardAdapter, c as createReducedMotion, d as useReducedMotion, f as V0ReducedMotionAdapter, g as usePrefersDark, h as usePrefersContrast, i as createRtlPlugin, j as useBreakpoints, k as createBreakpointsContext, l as createReducedMotionContext, m as useMediaQuery, n as createRtlContext, o as V0RtlAdapter, p as ReducedMotionAdapter, r as createRtlFallback, s as RtlAdapter, t as createRtl, u as createReducedMotionPlugin, v as useHotkey, w as createDate, x as PointerAdapter, y as useDragDrop, z as useTimeline } from "../composables-
|
|
21
|
-
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-
|
|
22
|
-
import { t as ThemeAdapter } from "../adapter-
|
|
23
|
-
import { t as V0StyleSheetThemeAdapter } from "../v0-
|
|
24
|
-
import { t as V0UnheadThemeAdapter } from "../unhead-
|
|
25
|
-
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-
|
|
20
|
+
import { A as createBreakpointsPlugin, B as createOtp, C as useMutationObserver, D as useDate, E as createDatePlugin, F as createVirtualContext, G as createSortable, H as createDataGrid, I as useVirtual, K as ServerComboboxAdapter, L as createTimeline, M as toReactive, N as toHighlight, O as createBreakpoints, P as createVirtual, R as createTimelineContext, S as DragDropAdapter, T as createDateContext, U as createDataGridContext, V as createKanban, W as useDataGrid, _ as usePrefersReducedMotion, a as useRtl, b as KeyboardAdapter, c as createReducedMotion, d as useReducedMotion, f as V0ReducedMotionAdapter, g as usePrefersDark, h as usePrefersContrast, i as createRtlPlugin, j as useBreakpoints, k as createBreakpointsContext, l as createReducedMotionContext, m as useMediaQuery, n as createRtlContext, o as V0RtlAdapter, p as ReducedMotionAdapter, r as createRtlFallback, s as RtlAdapter, t as createRtl, u as createReducedMotionPlugin, v as useHotkey, w as createDate, x as PointerAdapter, y as useDragDrop, z as useTimeline } from "../composables-CzjEAc-O.mjs";
|
|
21
|
+
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-2M0JbQHv.mjs";
|
|
22
|
+
import { t as ThemeAdapter } from "../adapter-CJY6aQIS.mjs";
|
|
23
|
+
import { t as V0StyleSheetThemeAdapter } from "../v0-KsDsXr6T.mjs";
|
|
24
|
+
import { t as V0UnheadThemeAdapter } from "../unhead-BnxPl6sY.mjs";
|
|
25
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-DqtxOIDJ.mjs";
|
|
26
26
|
import { t as DataTableAdapter } from "../adapter-CVoWg0sw.mjs";
|
|
27
27
|
import { t as ClientDataTableAdapter } from "../v0-A4GLojAr.mjs";
|
|
28
|
-
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-
|
|
28
|
+
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-BT9WcHvw.mjs";
|
|
29
29
|
import { t as ServerDataTableAdapter } from "../server-D5BJBjB0.mjs";
|
|
30
30
|
import { t as VirtualDataTableAdapter } from "../virtual-DFvOoeG6.mjs";
|
|
31
31
|
import { t as DateAdapter } from "../adapter-Cy7wXVFe.mjs";
|
|
32
32
|
import { t as FeaturesAdapter } from "../adapter-CTsckKAR.mjs";
|
|
33
|
-
import { i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-
|
|
33
|
+
import { i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-B_u-9E7R.mjs";
|
|
34
34
|
import { n as PermissionsAdapter } from "../v0-UNyykD27.mjs";
|
|
35
|
-
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-
|
|
35
|
+
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-DPIFes9l.mjs";
|
|
36
36
|
import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-BJjkQzxs.mjs";
|
|
37
|
-
import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-
|
|
37
|
+
import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-CHx6ZSjw.mjs";
|
|
38
38
|
export { ClientComboboxAdapter, ClientDataTableAdapter, ComboboxAdapter, ConsolaLoggerAdapter, DataTableAdapter, DateAdapter, DragDropAdapter, FeaturesAdapter, KeyboardAdapter, LocaleAdapter, LoggerAdapter, MemoryStorageAdapter, PermissionsAdapter, PinoLoggerAdapter, PointerAdapter, ReducedMotionAdapter, RtlAdapter, ServerComboboxAdapter, ServerDataTableAdapter, ServerDataTableAdapter as ServerGridAdapter, StorageAdapter, ThemeAdapter, V0LocaleAdapter, V0LoggerAdapter, V0ReducedMotionAdapter, V0RtlAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, VirtualDataTableAdapter, computeDepth, createBreadcrumbs, createBreadcrumbsContext, createBreakpoints, createBreakpointsContext, createBreakpointsPlugin, createCombobox, createComboboxContext, createContext, createDataGrid, createDataGridContext, createDataTable, createDataTableContext, createDate, createDateContext, createDatePlugin, createFallbackHydration, createFeatures, createFeaturesContext, createFeaturesPlugin, createFilter, createFilterContext, createForm, createFormContext, createGroup, createGroupContext, createHydration, createHydrationContext, createHydrationPlugin, createInput, createKanban, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, createLogger, createLoggerContext, createLoggerPlugin, createModel, createNested, createNestedContext, createNotifications, createNotificationsContext, createNotificationsPlugin, createNumberField, createNumeric, createOtp, createOverflow, createOverflowContext, createPagination, createPaginationContext, createPermissions, createPermissionsContext, createPermissionsPlugin, createPlugin, createPluginContext, createProgress, createProgressContext, createQueue, createQueueContext, createRating, createRatingContext, createReducedMotion, createReducedMotionContext, createReducedMotionPlugin, createRegistry, createRegistryContext, createRtl, createRtlContext, createRtlFallback, createRtlPlugin, createRules, createRulesContext, createRulesFallback, createRulesPlugin, createSelection, createSelectionContext, createSingle, createSingleContext, createSlider, createSortable, createStack, createStackContext, createStackPlugin, createStep, createStepContext, createStorage, createStorageContext, createStoragePlugin, createTheme, createThemeContext, createThemePlugin, createTimeline, createTimelineContext, createTokens, createTokensContext, createTooltipContext, createTooltipFallback, createTooltipPlugin, createTrinity, createValidation, createVirtual, createVirtualContext, extractLeaves, flatten, isStandardSchema, provideContext, resolveHeaders, toArray, toElement, toHighlight, toReactive, useBreadcrumbs, useBreakpoints, useClickOutside, useCombobox, useContext, useDataGrid, useDataTable, useDate, useDelay, useDocumentEventListener, useDragDrop, 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, useReducedMotion, useRegistry, useResizeObserver, useRovingFocus, useRtl, useRules, useSelection, useSingle, useStack, useStep, useStorage, useTheme, useTimeline, useTimer, useToggleScope, useTokens, useTooltip, useVirtual, useVirtualFocus, useWindowEventListener };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { i as SUPPORTS_MUTATION_OBSERVER, r as SUPPORTS_MATCH_MEDIA, t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { i as SUPPORTS_MUTATION_OBSERVER, r as SUPPORTS_MATCH_MEDIA, t as IN_BROWSER } from "./globals-od-0-rj0.mjs";
|
|
2
2
|
import { V0Error, clamp, instanceExists, isArray, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isString, isThenable, isUndefined, mergeDeep, useId as useId$1 } from "./utilities/index.mjs";
|
|
3
3
|
import { i as useContext, n as createContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
4
|
-
import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-
|
|
5
|
-
import { t as createRegistry } from "./createRegistry-
|
|
6
|
-
import { i as createModel } from "./createSelection-
|
|
7
|
-
import { a as useLocale } from "./useLocale-
|
|
4
|
+
import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-DX5_7Oxx.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-C-izE3Un.mjs";
|
|
6
|
+
import { i as createModel } from "./createSelection-rmz4G5IG.mjs";
|
|
7
|
+
import { a as useLocale } from "./useLocale-BXtMJeow.mjs";
|
|
8
8
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
9
|
-
import { n as useEventListener, r as useWindowEventListener } from "./useEventListener-
|
|
10
|
-
import { J as useResizeObserver, M as ComboboxAdapter, Y as createObserver, b as createInput,
|
|
11
|
-
import { t as createGroup } from "./createGroup-
|
|
12
|
-
import { a as extractLeaves, t as createDataTable } from "./createDataTable-
|
|
9
|
+
import { n as useEventListener, r as useWindowEventListener } from "./useEventListener-CfEGMcjz.mjs";
|
|
10
|
+
import { J as useResizeObserver, M as ComboboxAdapter, Y as createObserver, b as createInput, et as useHydration, tt as useToggleScope } from "./useRovingFocus-BLPMBFFW.mjs";
|
|
11
|
+
import { t as createGroup } from "./createGroup-CJt-oMxs.mjs";
|
|
12
|
+
import { a as extractLeaves, t as createDataTable } from "./createDataTable-BT9WcHvw.mjs";
|
|
13
13
|
import { computed, effectScope, isRef, onScopeDispose, onWatcherCleanup, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, unref, watch, watchEffect } from "vue";
|
|
14
14
|
//#region src/composables/createCombobox/adapters/server.ts
|
|
15
15
|
/**
|
|
@@ -1998,7 +1998,7 @@ function createMapProxy(refObject) {
|
|
|
1998
1998
|
mapHandlers[Symbol.iterator] = mapHandlers.entries;
|
|
1999
1999
|
mapProxy = new Proxy(/* @__PURE__ */ new Map(), { get(_, p) {
|
|
2000
2000
|
if (p === "size") return refObject.value.size;
|
|
2001
|
-
if (Object.
|
|
2001
|
+
if (Object.hasOwn(mapHandlers, p)) return mapHandlers[p];
|
|
2002
2002
|
const map = refObject.value;
|
|
2003
2003
|
const value = Reflect.get(map, p);
|
|
2004
2004
|
return /* @__PURE__ */ isFunction(value) ? value.bind(map) : value;
|
|
@@ -2037,7 +2037,7 @@ function createSetProxy(refObject) {
|
|
|
2037
2037
|
setHandlers[Symbol.iterator] = setHandlers.values;
|
|
2038
2038
|
setProxy = new Proxy(/* @__PURE__ */ new Set(), { get(_, p) {
|
|
2039
2039
|
if (p === "size") return refObject.value.size;
|
|
2040
|
-
if (Object.
|
|
2040
|
+
if (Object.hasOwn(setHandlers, p)) return setHandlers[p];
|
|
2041
2041
|
const set = refObject.value;
|
|
2042
2042
|
const value = Reflect.get(set, p);
|
|
2043
2043
|
return /* @__PURE__ */ isFunction(value) ? value.bind(set) : value;
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as isSelfClosingTag, t as SELF_CLOSING_TAGS } from "../htmlElements-CHXZfsZu.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-od-0-rj0.mjs";
|
|
3
3
|
export { 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
1
|
import { isNullOrUndefined } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { t as createRegistry } from "./createRegistry-
|
|
4
|
-
import { a as useLocale } from "./useLocale-
|
|
5
|
-
import { i as useProxyRegistry, t as createGroup } from "./createGroup-
|
|
3
|
+
import { t as createRegistry } from "./createRegistry-C-izE3Un.mjs";
|
|
4
|
+
import { a as useLocale } from "./useLocale-BXtMJeow.mjs";
|
|
5
|
+
import { i as useProxyRegistry, t as createGroup } from "./createGroup-CJt-oMxs.mjs";
|
|
6
6
|
import { t as ClientDataTableAdapter } from "./v0-A4GLojAr.mjs";
|
|
7
7
|
import { computed, shallowReactive, shallowReadonly, shallowRef, toRef, watch } from "vue";
|
|
8
8
|
//#region src/composables/createDataTable/columns.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveIds, resolveIndexes, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { t as createSelection } from "./createSelection-
|
|
3
|
+
import { t as createSelection } from "./createSelection-rmz4G5IG.mjs";
|
|
4
4
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
5
5
|
import { computed, onScopeDispose, reactive, shallowReactive, shallowRef, toRef, toValue } from "vue";
|
|
6
6
|
//#region src/composables/useProxyRegistry/index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clamp, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { i as useLogger } from "./useLogger-
|
|
3
|
+
import { i as useLogger } from "./useLogger-DX5_7Oxx.mjs";
|
|
4
4
|
import { shallowReactive } from "vue";
|
|
5
5
|
//#region src/composables/createRegistry/index.ts
|
|
6
6
|
/**
|
|
@@ -117,7 +117,7 @@ function createRegistry(options) {
|
|
|
117
117
|
...patch,
|
|
118
118
|
id
|
|
119
119
|
});
|
|
120
|
-
const hasValue = Object.
|
|
120
|
+
const hasValue = Object.hasOwn(patch, "value");
|
|
121
121
|
let value = existing.value;
|
|
122
122
|
let valueIsIndex = existing.valueIsIndex;
|
|
123
123
|
if (hasValue) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isUndefined, resolveIds, useId as useId$1 } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { t as createRegistry } from "./createRegistry-
|
|
3
|
+
import { t as createRegistry } from "./createRegistry-C-izE3Un.mjs";
|
|
4
4
|
import { computed, isRef, shallowReactive, toRaw, toRef, toValue } from "vue";
|
|
5
5
|
//#region src/composables/createModel/index.ts
|
|
6
6
|
/**
|
|
@@ -116,7 +116,7 @@ function createModel(_options = {}) {
|
|
|
116
116
|
if (!toValue(multiple)) selectedIds.clear();
|
|
117
117
|
if (/* @__PURE__ */ isUndefined(value)) return;
|
|
118
118
|
const id = registry.browse(toRaw(value))?.values().next().value;
|
|
119
|
-
if (!/* @__PURE__ */ isUndefined(id))
|
|
119
|
+
if (!/* @__PURE__ */ isUndefined(id)) select(id);
|
|
120
120
|
}
|
|
121
121
|
function register(registration = {}) {
|
|
122
122
|
const id = registration.id ?? /* @__PURE__ */ useId$1();
|
|
@@ -309,7 +309,12 @@ function createSelection(_options = {}) {
|
|
|
309
309
|
}
|
|
310
310
|
if (isMultiple) {
|
|
311
311
|
for (const id of currentIds) if (!targetIds.has(id)) unselect(id);
|
|
312
|
-
for (const id of targetIds)
|
|
312
|
+
for (const id of targetIds) {
|
|
313
|
+
if (currentIds.has(id)) continue;
|
|
314
|
+
const ticket = model.get(id);
|
|
315
|
+
if (ticket && toValue(ticket.disabled)) continue;
|
|
316
|
+
model.selectedIds.add(id);
|
|
317
|
+
}
|
|
313
318
|
} else {
|
|
314
319
|
const next = targetIds.values().next().value;
|
|
315
320
|
const last = currentIds.values().next().value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
2
|
-
import { t as createSelection } from "./createSelection-
|
|
2
|
+
import { t as createSelection } from "./createSelection-rmz4G5IG.mjs";
|
|
3
3
|
import { toRef } from "vue";
|
|
4
4
|
//#region src/composables/createSingle/index.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UNSAFE_KEYS, isObject, isString, isUndefined } from "./utilities/index.mjs";
|
|
2
2
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
3
|
-
import { i as useLogger } from "./useLogger-
|
|
4
|
-
import { t as createRegistry } from "./createRegistry-
|
|
3
|
+
import { i as useLogger } from "./useLogger-DX5_7Oxx.mjs";
|
|
4
|
+
import { t as createRegistry } from "./createRegistry-C-izE3Un.mjs";
|
|
5
5
|
//#region src/composables/createTokens/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @module createTokens
|
|
@@ -105,7 +105,7 @@ function createTokens(tokens = {}, options = {}) {
|
|
|
105
105
|
if (segments.length > 0) {
|
|
106
106
|
if (isTokenAlias(current)) current = current.$value;
|
|
107
107
|
for (const segment of segments) {
|
|
108
|
-
if (!/* @__PURE__ */ isObject(current) ||
|
|
108
|
+
if (!/* @__PURE__ */ isObject(current) || UNSAFE_KEYS.has(segment) || !Object.prototype.hasOwnProperty.call(current, segment)) {
|
|
109
109
|
current = void 0;
|
|
110
110
|
break;
|
|
111
111
|
}
|
|
@@ -240,7 +240,7 @@ function flatten(tokens, prefix = "", flat = false) {
|
|
|
240
240
|
const { tokens: currentTokens, prefix: currentPrefix, flat } = stack.pop();
|
|
241
241
|
const meta = {};
|
|
242
242
|
for (const k in currentTokens) {
|
|
243
|
-
if (!Object.
|
|
243
|
+
if (!Object.hasOwn(currentTokens, k)) continue;
|
|
244
244
|
if (k.startsWith("$")) meta[k] = currentTokens[k];
|
|
245
245
|
}
|
|
246
246
|
if (Object.keys(meta).length > 0 && currentPrefix) flattened.push({
|
|
@@ -248,7 +248,7 @@ function flatten(tokens, prefix = "", flat = false) {
|
|
|
248
248
|
value: meta
|
|
249
249
|
});
|
|
250
250
|
for (const key in currentTokens) {
|
|
251
|
-
if (!Object.
|
|
251
|
+
if (!Object.hasOwn(currentTokens, key)) continue;
|
|
252
252
|
if (UNSAFE_KEYS.has(key)) continue;
|
|
253
253
|
if (key.startsWith("$")) continue;
|
|
254
254
|
const value = currentTokens[key];
|
|
@@ -267,7 +267,7 @@ function flatten(tokens, prefix = "", flat = false) {
|
|
|
267
267
|
});
|
|
268
268
|
const inner = value.$value;
|
|
269
269
|
if (/* @__PURE__ */ isObject(inner) && !flat) for (const innerKey in inner) {
|
|
270
|
-
if (!Object.
|
|
270
|
+
if (!Object.hasOwn(inner, innerKey)) continue;
|
|
271
271
|
if (UNSAFE_KEYS.has(innerKey)) continue;
|
|
272
272
|
if (innerKey.startsWith("$")) continue;
|
|
273
273
|
const child = inner[innerKey];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as SortEntry, i as SortDirection, n as DataTableAdapterContext, r as DataTableAdapterResult, t as DataTableAdapter } from "../adapter-_srNCBEi.mjs";
|
|
2
|
-
import { _ as ColumnNode, a as DataTableExpansion, b as extractLeaves, c as DataTableOptions, d as DataTableTicket, f as DataTableTicketInput, g as useDataTable, h as createDataTableContext, i as DataTableContextOptions, l as DataTableSelection, m as createDataTable, n as DataTableColumnTicketInput, o as DataTableGroup, p as SelectStrategy, r as DataTableContext, s as DataTableGrouping, t as DataTableColumnTicket, u as DataTableSort, v as InternalHeader, x as resolveHeaders, y as computeDepth } from "../index-
|
|
2
|
+
import { _ as ColumnNode, a as DataTableExpansion, b as extractLeaves, c as DataTableOptions, d as DataTableTicket, f as DataTableTicketInput, g as useDataTable, h as createDataTableContext, i as DataTableContextOptions, l as DataTableSelection, m as createDataTable, n as DataTableColumnTicketInput, o as DataTableGroup, p as SelectStrategy, r as DataTableContext, s as DataTableGrouping, t as DataTableColumnTicket, u as DataTableSort, v as InternalHeader, x as resolveHeaders, y as computeDepth } from "../index-DgPFPx_7.mjs";
|
|
3
3
|
import { n as ServerDataTableAdapterOptions, t as ServerDataTableAdapter } from "../server-DbtTGb67.mjs";
|
|
4
4
|
import { t as ClientDataTableAdapter } from "../v0-DotXXGXU.mjs";
|
|
5
5
|
import { t as VirtualDataTableAdapter } from "../virtual-C-NsLue0.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as DataTableAdapter } from "../adapter-CVoWg0sw.mjs";
|
|
2
2
|
import { t as ClientDataTableAdapter } from "../v0-A4GLojAr.mjs";
|
|
3
|
-
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-
|
|
3
|
+
import { a as extractLeaves, i as computeDepth, n as createDataTableContext, o as resolveHeaders, r as useDataTable, t as createDataTable } from "../createDataTable-BT9WcHvw.mjs";
|
|
4
4
|
import { t as ServerDataTableAdapter } from "../server-D5BJBjB0.mjs";
|
|
5
5
|
import { t as VirtualDataTableAdapter } from "../virtual-DFvOoeG6.mjs";
|
|
6
6
|
export { ClientDataTableAdapter, DataTableAdapter, ServerDataTableAdapter, VirtualDataTableAdapter, computeDepth, createDataTable, createDataTableContext, extractLeaves, resolveHeaders, useDataTable };
|
package/dist/date/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../globals-
|
|
1
|
+
import { t as IN_BROWSER } from "../globals-od-0-rj0.mjs";
|
|
2
2
|
import { isFunction, isNull, isNullOrUndefined, isNumber, isString } from "../utilities/index.mjs";
|
|
3
3
|
import { t as DateAdapter } from "../adapter-Cy7wXVFe.mjs";
|
|
4
4
|
import { Temporal } from "@js-temporal/polyfill";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FlagsmithFeaturesAdapter } from "../../../flagsmith-
|
|
1
|
+
import { t as FlagsmithFeaturesAdapter } from "../../../flagsmith-DA2GCyGv.mjs";
|
|
2
2
|
export { FlagsmithFeaturesAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as LaunchDarklyFeaturesAdapter } from "../../../launchdarkly-
|
|
1
|
+
import { t as LaunchDarklyFeaturesAdapter } from "../../../launchdarkly-Bp8p9PMD.mjs";
|
|
2
2
|
export { LaunchDarklyFeaturesAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PostHogFeaturesAdapter } from "../../../posthog-
|
|
1
|
+
import { t as PostHogFeaturesAdapter } from "../../../posthog-sFqk0bGy.mjs";
|
|
2
2
|
export { PostHogFeaturesAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../../../globals-
|
|
1
|
+
import { t as IN_BROWSER } from "../../../globals-od-0-rj0.mjs";
|
|
2
2
|
import { isBoolean, isNullOrUndefined } from "../../../utilities/index.mjs";
|
|
3
3
|
import { t as FeaturesAdapter } from "../../../adapter-CTsckKAR.mjs";
|
|
4
4
|
//#region src/composables/useFeatures/adapters/posthog.ts
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _r as createFeatures, br as useFeatures, dr as FeatureContext, fr as FeatureContextOptions, gr as FeatureTicketInput, hr as FeatureTicket, mr as FeaturePluginOptions, pr as FeatureOptions, vr as createFeaturesContext, yr as createFeaturesPlugin } from "../index-
|
|
2
|
-
import { n as FeaturesAdapterFlags, r as FeaturesAdapterValue, t as FeaturesAdapter } from "../adapter-
|
|
1
|
+
import { _r as createFeatures, br as useFeatures, dr as FeatureContext, fr as FeatureContextOptions, gr as FeatureTicketInput, hr as FeatureTicket, mr as FeaturePluginOptions, pr as FeatureOptions, vr as createFeaturesContext, yr as createFeaturesPlugin } from "../index-CV7bOS7B.mjs";
|
|
2
|
+
import { n as FeaturesAdapterFlags, r as FeaturesAdapterValue, t as FeaturesAdapter } from "../adapter-Butx_2UU.mjs";
|
|
3
3
|
export { FeatureContext, FeatureContextOptions, FeatureOptions, FeaturePluginOptions, FeatureTicket, FeatureTicketInput, FeaturesAdapter, FeaturesAdapterFlags, FeaturesAdapterValue, createFeatures, createFeaturesContext, createFeaturesPlugin, useFeatures };
|
package/dist/features/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as FeaturesAdapter } from "../adapter-CTsckKAR.mjs";
|
|
2
|
-
import { i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-
|
|
2
|
+
import { i as useFeatures, n as createFeaturesContext, r as createFeaturesPlugin, t as createFeatures } from "../useFeatures-B_u-9E7R.mjs";
|
|
3
3
|
export { FeaturesAdapter, createFeatures, createFeaturesContext, createFeaturesPlugin, useFeatures };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-
|
|
1
|
+
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-Butx_2UU.mjs";
|
|
2
2
|
import { IFlagsmith, IInitConfig } from "@flagsmith/flagsmith";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/useFeatures/adapters/flagsmith.d.ts
|
|
@@ -5,7 +5,7 @@ const SUPPORTS_MATCH_MEDIA = IN_BROWSER && "matchMedia" in window && typeof wind
|
|
|
5
5
|
const SUPPORTS_OBSERVER = IN_BROWSER && "ResizeObserver" in window;
|
|
6
6
|
const SUPPORTS_INTERSECTION_OBSERVER = IN_BROWSER && "IntersectionObserver" in window;
|
|
7
7
|
const SUPPORTS_MUTATION_OBSERVER = IN_BROWSER && "MutationObserver" in window;
|
|
8
|
-
const version = "1.0.0-beta.
|
|
8
|
+
const version = "1.0.0-beta.5";
|
|
9
9
|
/* v8 ignore next -- build-time constant, __DEV__ short-circuits in tests */
|
|
10
10
|
const __LOGGER_ENABLED__ = typeof (process.env.NODE_ENV !== "production") !== "undefined" && process.env.NODE_ENV !== "production" || typeof process.env.VITE_LOGGER_ENABLED !== "undefined" && process.env.VITE_LOGGER_ENABLED === "true";
|
|
11
11
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ID, c as V0ErrorCode, l as V0ErrorDetails, r as DeepPartial } from "./index-
|
|
1
|
+
import { a as ID, c as V0ErrorCode, l as V0ErrorDetails, r as DeepPartial } from "./index-CyNk9FpR.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/utilities/color.d.ts
|
|
4
4
|
interface RGB {
|
|
@@ -76,6 +76,7 @@ declare class V0Error extends Error {
|
|
|
76
76
|
readonly seed?: string;
|
|
77
77
|
readonly variant?: string;
|
|
78
78
|
readonly adapter?: string;
|
|
79
|
+
readonly prefix?: string;
|
|
79
80
|
constructor(message: string, details: V0ErrorDetails & {
|
|
80
81
|
cause?: unknown;
|
|
81
82
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as ID, i as Extensible, o as MaybeArray } from "./index-
|
|
1
|
+
import { a as ID, i as Extensible, o as MaybeArray } from "./index-CyNk9FpR.mjs";
|
|
2
2
|
import { t as ContextTrinity } from "./index-DXMlYoiQ.mjs";
|
|
3
|
-
import { a as RegistryEventName, c as RegistryTicketInput, o as RegistryOptions, r as RegistryEventCallback, s as RegistryTicket, t as RegistryContext } from "./index-
|
|
3
|
+
import { a as RegistryEventName, c as RegistryTicketInput, o as RegistryOptions, r as RegistryEventCallback, s as RegistryTicket, t as RegistryContext } from "./index-pM8UX1XI.mjs";
|
|
4
4
|
import { _ as FilterMode } from "./adapter-_srNCBEi.mjs";
|
|
5
|
-
import { _ as ColumnNode, c as DataTableOptions, n as DataTableColumnTicketInput, r as DataTableContext, t as DataTableColumnTicket } from "./index-
|
|
6
|
-
import { c as TokenTicket, i as TokenContext, o as TokenOptions, r as TokenCollection } from "./index-
|
|
5
|
+
import { _ as ColumnNode, c as DataTableOptions, n as DataTableColumnTicketInput, r as DataTableContext, t as DataTableColumnTicket } from "./index-DgPFPx_7.mjs";
|
|
6
|
+
import { c as TokenTicket, i as TokenContext, o as TokenOptions, r as TokenCollection } from "./index-CfHm03dg.mjs";
|
|
7
7
|
import { t as DateAdapter } from "./adapter-C5F2huij.mjs";
|
|
8
|
-
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-
|
|
9
|
-
import { t as LocaleAdapter } from "./adapter-
|
|
8
|
+
import { n as FeaturesAdapterFlags, t as FeaturesAdapter } from "./adapter-Butx_2UU.mjs";
|
|
9
|
+
import { t as LocaleAdapter } from "./adapter-BI-oyZCe.mjs";
|
|
10
10
|
import { t as LoggerAdapter } from "./adapter-BYzU4Ey5.mjs";
|
|
11
11
|
import { n as StorageAdapter } from "./memory-DbyZeNjg.mjs";
|
|
12
12
|
import { App, ComponentPublicInstance, ComputedRef, InjectionKey, MaybeRef, MaybeRefOrGetter, Reactive, Ref, ShallowReactive, ShallowRef, UnwrapNestedRefs, WatchSource, WritableComputedRef } from "vue";
|
|
@@ -3367,8 +3367,8 @@ interface NumberFieldContext {
|
|
|
3367
3367
|
formatValue: (value: number) => string;
|
|
3368
3368
|
/** Parse locale-formatted text to a number or null. */
|
|
3369
3369
|
parse: (text: string) => number | null;
|
|
3370
|
-
/** Snap and optionally clamp the current value. */
|
|
3371
|
-
commit: () => void;
|
|
3370
|
+
/** Snap and optionally clamp the current value. Pass `next` to avoid reading the stale model on the same tick as a write. */
|
|
3371
|
+
commit: (next?: number | null) => void;
|
|
3372
3372
|
}
|
|
3373
3373
|
declare function createNumberField(options?: NumberFieldOptions): NumberFieldContext;
|
|
3374
3374
|
//#endregion
|
|
@@ -6445,6 +6445,24 @@ interface LocaleContext<Z extends LocaleTicketInput = LocaleTicketInput, E exten
|
|
|
6445
6445
|
* ```
|
|
6446
6446
|
*/
|
|
6447
6447
|
t: (key: string, ...params: unknown[]) => string;
|
|
6448
|
+
/**
|
|
6449
|
+
* Translate a message key only if it exists, otherwise return `undefined`.
|
|
6450
|
+
*
|
|
6451
|
+
* Unlike {@link t}, `ti` ("translate if exists") never echoes the raw key on a
|
|
6452
|
+
* miss. This lets components supply their own inline English default with the
|
|
6453
|
+
* nullish-coalescing operator instead of relying on bundled fallback messages.
|
|
6454
|
+
*
|
|
6455
|
+
* @param key - The message key to look up
|
|
6456
|
+
* @param params - Optional named params object, followed by positional params
|
|
6457
|
+
* @returns The translated and interpolated message, or `undefined` if missing
|
|
6458
|
+
*
|
|
6459
|
+
* @example
|
|
6460
|
+
* ```ts
|
|
6461
|
+
* // Falls back to an inline default when the key is not translated
|
|
6462
|
+
* locale.ti('Pagination.next') ?? 'Next page'
|
|
6463
|
+
* ```
|
|
6464
|
+
*/
|
|
6465
|
+
ti: (key: string, ...params: unknown[]) => string | undefined;
|
|
6448
6466
|
n: (value: number) => string;
|
|
6449
6467
|
/**
|
|
6450
6468
|
* Register a locale with optional messages.
|
|
@@ -7366,7 +7384,7 @@ interface StackTicketInput extends SelectionTicketInput {
|
|
|
7366
7384
|
* @remarks When true, clicking the scrim will not dismiss this overlay.
|
|
7367
7385
|
* Use for critical dialogs requiring explicit user action.
|
|
7368
7386
|
*/
|
|
7369
|
-
blocking?: boolean
|
|
7387
|
+
blocking?: MaybeRefOrGetter<boolean>;
|
|
7370
7388
|
/**
|
|
7371
7389
|
* Whether this overlay should be backed by a scrim/backdrop
|
|
7372
7390
|
*
|
|
@@ -7375,7 +7393,20 @@ interface StackTicketInput extends SelectionTicketInput {
|
|
|
7375
7393
|
* but `Scrim` skips rendering a backdrop for it. Use for non-modal overlays
|
|
7376
7394
|
* (snackbars, toasts, tooltips) that need layering without dimming.
|
|
7377
7395
|
*/
|
|
7378
|
-
scrim?: boolean
|
|
7396
|
+
scrim?: MaybeRefOrGetter<boolean>;
|
|
7397
|
+
/**
|
|
7398
|
+
* The overlay's DOM element.
|
|
7399
|
+
*
|
|
7400
|
+
* @remarks When set, the stack can expose this element as a top-layer teleport
|
|
7401
|
+
* target via {@link StackContext.topElement}. Native modal dialogs pass their
|
|
7402
|
+
* `<dialog>` element so non-modal overlays (snackbars) can teleport into them.
|
|
7403
|
+
*
|
|
7404
|
+
* @example
|
|
7405
|
+
* ```ts
|
|
7406
|
+
* stack.register({ el: () => dialogRef.value?.element })
|
|
7407
|
+
* ```
|
|
7408
|
+
*/
|
|
7409
|
+
el?: MaybeRefOrGetter<Element | null | undefined>;
|
|
7379
7410
|
}
|
|
7380
7411
|
/**
|
|
7381
7412
|
* Output type for stack tickets - what users receive from register().
|
|
@@ -7388,11 +7419,12 @@ type StackTicket<Z extends StackTicketInput = StackTicketInput> = SelectionTicke
|
|
|
7388
7419
|
/**
|
|
7389
7420
|
* Whether this overlay blocks scrim dismissal
|
|
7390
7421
|
*/
|
|
7391
|
-
blocking: boolean
|
|
7422
|
+
blocking: Readonly<Ref<boolean>>;
|
|
7392
7423
|
/**
|
|
7393
7424
|
* Whether this overlay is backed by a scrim/backdrop
|
|
7394
7425
|
*/
|
|
7395
|
-
scrim: boolean
|
|
7426
|
+
scrim: Readonly<Ref<boolean>>; /** The overlay's DOM element, if provided at registration. */
|
|
7427
|
+
el?: MaybeRefOrGetter<Element | null | undefined>;
|
|
7396
7428
|
/**
|
|
7397
7429
|
* The calculated z-index for this overlay
|
|
7398
7430
|
*
|
|
@@ -7444,6 +7476,28 @@ interface StackContext<Z extends StackTicketInput = StackTicketInput, E extends
|
|
|
7444
7476
|
* and scrim clicks should be ignored.
|
|
7445
7477
|
*/
|
|
7446
7478
|
isBlocking: Readonly<Ref<boolean>>;
|
|
7479
|
+
/**
|
|
7480
|
+
* Element of the topmost selected modal overlay that has a resolvable DOM
|
|
7481
|
+
* element (a top-layer `<dialog>`), or `null`.
|
|
7482
|
+
*
|
|
7483
|
+
* @remarks Overlays that must appear above a modal (snackbars, tooltips)
|
|
7484
|
+
* teleport into this element so they share its top-layer context and remain
|
|
7485
|
+
* interactive. Non-modal (`scrim: false`) tickets are never returned, so a
|
|
7486
|
+
* non-modal overlay never resolves to itself.
|
|
7487
|
+
*
|
|
7488
|
+
* **One-tick window.** When a modal mounts already-open (`modelValue=true`),
|
|
7489
|
+
* the ticket's `select()` fires synchronously in the `immediate: true` watch
|
|
7490
|
+
* before the content ref resolves, so `topElement` is `null` for one tick.
|
|
7491
|
+
* Consumers that read `topElement` reactively (e.g. `Portal` resolving its
|
|
7492
|
+
* teleport target) see the correct element on the next tick after the
|
|
7493
|
+
* modal's DOM node mounts.
|
|
7494
|
+
*
|
|
7495
|
+
* @example
|
|
7496
|
+
* ```ts
|
|
7497
|
+
* const to = toRef(() => stack.topElement.value ?? 'body')
|
|
7498
|
+
* ```
|
|
7499
|
+
*/
|
|
7500
|
+
topElement: Readonly<Ref<Element | null>>;
|
|
7447
7501
|
/**
|
|
7448
7502
|
* Register an overlay ticket
|
|
7449
7503
|
*
|
|
@@ -7597,9 +7651,9 @@ interface StorageContext {
|
|
|
7597
7651
|
get: <T>(key: string, defaultValue?: T) => Ref<T>;
|
|
7598
7652
|
/** Set a value for a storage key */
|
|
7599
7653
|
set: <T>(key: string, value: T) => void;
|
|
7600
|
-
/** Remove a key
|
|
7654
|
+
/** Remove a key accessed through this storage instance. Keys persisted by a previous session but never read here are not removed. */
|
|
7601
7655
|
remove: (key: string) => void;
|
|
7602
|
-
/** Clear
|
|
7656
|
+
/** Clear keys accessed through this storage instance. Keys persisted by a previous session but never read here are not removed. */
|
|
7603
7657
|
clear: () => void;
|
|
7604
7658
|
}
|
|
7605
7659
|
interface StorageOptions {
|
|
@@ -7688,10 +7742,12 @@ declare class V0StyleSheetThemeAdapter extends ThemeAdapter {
|
|
|
7688
7742
|
setup<T extends ThemeAdapterSetupContext>(app: App, context: T, target?: string | HTMLElement | null): void;
|
|
7689
7743
|
update(colors: Record<ID, Colors>, isDark?: boolean): void;
|
|
7690
7744
|
upsert(styles: string): void;
|
|
7745
|
+
private detach;
|
|
7691
7746
|
}
|
|
7692
7747
|
//#endregion
|
|
7693
7748
|
//#region src/composables/useTheme/adapters/unhead.d.ts
|
|
7694
7749
|
interface V0UnheadThemeOptions {
|
|
7750
|
+
cspNonce?: string;
|
|
7695
7751
|
stylesheetId?: string;
|
|
7696
7752
|
prefix?: string;
|
|
7697
7753
|
}
|
|
@@ -7704,6 +7760,7 @@ interface V0UnheadThemeOptions {
|
|
|
7704
7760
|
*/
|
|
7705
7761
|
declare class V0UnheadThemeAdapter extends ThemeAdapter {
|
|
7706
7762
|
private entry?;
|
|
7763
|
+
private cspNonce?;
|
|
7707
7764
|
constructor(options?: V0UnheadThemeOptions);
|
|
7708
7765
|
setup<T extends ThemeAdapterSetupContext>(app: App, context: T, target?: string | HTMLElement | null): void;
|
|
7709
7766
|
update(colors: Record<ID, Colors>, isDark?: boolean): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ContextTrinity } from "./index-DXMlYoiQ.mjs";
|
|
2
|
-
import { n as RegistryContextOptions, o as RegistryOptions, s as RegistryTicket, t as RegistryContext } from "./index-
|
|
2
|
+
import { n as RegistryContextOptions, o as RegistryOptions, s as RegistryTicket, t as RegistryContext } from "./index-pM8UX1XI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/createTokens/index.d.ts
|
|
5
5
|
interface TokenAlias<T = unknown> {
|