@vuetify/v0 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapter-BCtceV3b.mjs +66 -0
- package/dist/{adapter-C5F2huij.d.mts → adapter-Bc0yPSfo.d.mts} +6 -1
- package/dist/browser/index.d.ts +10 -3
- package/dist/browser/index.js +97 -57
- package/dist/components/index.d.mts +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/{components-CeyYdes9.mjs → components-BEULKf1l.mjs} +11 -11
- package/dist/composables/index.d.mts +2 -2
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-Br-ApSWN.mjs → composables-UDLJSkis.mjs} +44 -65
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-B1uf_rZu.mjs → createDataTable-odNvR9Tl.mjs} +3 -3
- package/dist/{createGroup-Czt0x8tf.mjs → createGroup-DK5KxHjn.mjs} +1 -1
- package/dist/{createRegistry-Cu1WQTyV.mjs → createRegistry-DCWma-GG.mjs} +1 -1
- package/dist/{createSelection-kydb14hZ.mjs → createSelection-B3L-4fLH.mjs} +1 -1
- package/dist/{createSingle-JWAjGQLk.mjs → createSingle-DBWZc1_G.mjs} +1 -1
- package/dist/{createTokens-BD7p5_XB.mjs → createTokens-C4ZmZFHA.mjs} +2 -2
- package/dist/data-table/index.mjs +1 -1
- package/dist/date/index.d.mts +2 -2
- package/dist/date/index.mjs +7 -36
- 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-XB8xcQFv.mjs → globals-BUTW4MHG.mjs} +1 -1
- package/dist/{index-BS_OGRsE.d.mts → index-CRi_o77U.d.mts} +98 -98
- package/dist/{index-0Wnlny_C.d.mts → index-CrAgM2EJ.d.mts} +5 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +24 -24
- package/dist/json/web-types.json +1 -1
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/index.d.mts +1 -1
- package/dist/locale/index.mjs +2 -2
- 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/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/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 +2 -2
- 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/{unhead-VVWCVv5Z.mjs → unhead-DHgoHwNp.mjs} +1 -1
- package/dist/{useEventListener-DasgNSNh.mjs → useEventListener-DH8rxkg9.mjs} +1 -1
- package/dist/{useFeatures-SX-DoCwv.mjs → useFeatures-C69UhG6j.mjs} +3 -3
- package/dist/{useLocale-C8E7B4Il.mjs → useLocale-x-_byBGJ.mjs} +4 -4
- package/dist/{useLogger-pEmKLFsd.mjs → useLogger-YmzhmbpJ.mjs} +2 -2
- package/dist/{useNotifications-C6xFiQsD.mjs → useNotifications-HplEE-rp.mjs} +3 -3
- package/dist/{usePermissions-CCA_18Be.mjs → usePermissions-DOEFSPvv.mjs} +2 -2
- package/dist/{useRovingFocus-D2_aApXC.mjs → useRovingFocus-B_21NzGP.mjs} +9 -9
- package/dist/{useRules-CWWsE2Xt.mjs → useRules-D3t_9FXV.mjs} +2 -2
- package/dist/{useStorage-Dd_snxwm.mjs → useStorage-Dk0vBk5G.mjs} +3 -3
- package/dist/{useTheme-8qFLgTvi.mjs → useTheme-BgZhqWsW.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-Bdm1oHXK.mjs → v0-BOwub0NK.mjs} +1 -1
- package/dist/{v0-DYG-2UmI.mjs → v0-_kEIVNjG.mjs} +1 -1
- package/dist/{v0-BLhsLm61.mjs → v0-sv4EvUA-.mjs} +1 -1
- package/package.json +1 -1
- package/dist/adapter-Cy7wXVFe.mjs +0 -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-YmzhmbpJ.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-BOwub0NK.mjs";
|
|
7
|
+
import { n as createRegistryContext, r as useRegistry, t as createRegistry } from "../createRegistry-DCWma-GG.mjs";
|
|
8
|
+
import { i as createModel, n as createSelectionContext, r as useSelection, t as createSelection } from "../createSelection-B3L-4fLH.mjs";
|
|
9
|
+
import { n as createSingleContext, r as useSingle, t as createSingle } from "../createSingle-DBWZc1_G.mjs";
|
|
10
|
+
import { i as useTokens, n as createTokensContext, r as flatten, t as createTokens } from "../createTokens-C4ZmZFHA.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-sv4EvUA-.mjs";
|
|
13
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-x-_byBGJ.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 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-
|
|
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-DH8rxkg9.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-B_21NzGP.mjs";
|
|
17
|
+
import { i as useProxyRegistry, n as createGroupContext, r as useGroup, t as createGroup } from "../createGroup-DK5KxHjn.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-HplEE-rp.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-
|
|
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-UDLJSkis.mjs";
|
|
21
|
+
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-D3t_9FXV.mjs";
|
|
22
22
|
import { t as ThemeAdapter } from "../adapter-lS_VpRow.mjs";
|
|
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-
|
|
23
|
+
import { t as V0StyleSheetThemeAdapter } from "../v0-_kEIVNjG.mjs";
|
|
24
|
+
import { t as V0UnheadThemeAdapter } from "../unhead-DHgoHwNp.mjs";
|
|
25
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-BgZhqWsW.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-odNvR9Tl.mjs";
|
|
29
29
|
import { t as ServerDataTableAdapter } from "../server-D5BJBjB0.mjs";
|
|
30
30
|
import { t as VirtualDataTableAdapter } from "../virtual-DFvOoeG6.mjs";
|
|
31
|
-
import { t as DateAdapter } from "../adapter-
|
|
31
|
+
import { t as DateAdapter } from "../adapter-BCtceV3b.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-C69UhG6j.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-DOEFSPvv.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-Dk0vBk5G.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,16 @@
|
|
|
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-BUTW4MHG.mjs";
|
|
2
2
|
import { V0Error, clamp, instanceExists, isArray, isBoolean, 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-YmzhmbpJ.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-DCWma-GG.mjs";
|
|
6
|
+
import { i as createModel } from "./createSelection-B3L-4fLH.mjs";
|
|
7
|
+
import { a as useLocale } from "./useLocale-x-_byBGJ.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, et as useHydration, tt as useToggleScope } from "./useRovingFocus-
|
|
11
|
-
import { i as useProxyRegistry, 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-DH8rxkg9.mjs";
|
|
10
|
+
import { J as useResizeObserver, M as ComboboxAdapter, Y as createObserver, b as createInput, et as useHydration, tt as useToggleScope } from "./useRovingFocus-B_21NzGP.mjs";
|
|
11
|
+
import { i as useProxyRegistry, t as createGroup } from "./createGroup-DK5KxHjn.mjs";
|
|
12
|
+
import { a as extractLeaves, t as createDataTable } from "./createDataTable-odNvR9Tl.mjs";
|
|
13
|
+
import { n as deriveWeekInfo } from "./adapter-BCtceV3b.mjs";
|
|
13
14
|
import { computed, effectScope, isRef, onScopeDispose, onWatcherCleanup, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, unref, watch, watchEffect } from "vue";
|
|
14
15
|
//#region src/composables/createCombobox/adapters/server.ts
|
|
15
16
|
/**
|
|
@@ -2386,19 +2387,6 @@ const defaultLocales = {
|
|
|
2386
2387
|
ar: "ar-SA"
|
|
2387
2388
|
};
|
|
2388
2389
|
/**
|
|
2389
|
-
* Derive firstDayOfWeek from an Intl locale string.
|
|
2390
|
-
* Returns 0-6 (0=Sun) or 0 as fallback.
|
|
2391
|
-
*/
|
|
2392
|
-
function deriveFirstDayOfWeek(locale) {
|
|
2393
|
-
try {
|
|
2394
|
-
const info = new Intl.Locale(locale).getWeekInfo?.();
|
|
2395
|
-
/* v8 ignore next -- defensive: getWeekInfo always returns info in Node 22+ */
|
|
2396
|
-
return info ? info.firstDay % 7 : 0;
|
|
2397
|
-
} catch {
|
|
2398
|
-
return 0;
|
|
2399
|
-
}
|
|
2400
|
-
}
|
|
2401
|
-
/**
|
|
2402
2390
|
* Creates a new date context.
|
|
2403
2391
|
*
|
|
2404
2392
|
* @param options Adapter and locale configuration.
|
|
@@ -2440,7 +2428,7 @@ function createDate(options) {
|
|
|
2440
2428
|
const firstDayOfWeek = computed(() => {
|
|
2441
2429
|
if (!/* @__PURE__ */ isUndefined(explicitFirstDay)) return explicitFirstDay;
|
|
2442
2430
|
const loc = locale.value;
|
|
2443
|
-
return loc ?
|
|
2431
|
+
return loc ? (/* @__PURE__ */ deriveWeekInfo(loc)).firstDay : 0;
|
|
2444
2432
|
});
|
|
2445
2433
|
if (/* @__PURE__ */ instanceExists()) onScopeDispose(watchEffect(() => {
|
|
2446
2434
|
const loc = locale.value;
|
|
@@ -2962,6 +2950,10 @@ var KeyboardAdapter = class extends DragDropAdapter {
|
|
|
2962
2950
|
* Pure math for resolving where in an oriented zone a pointer would drop.
|
|
2963
2951
|
* Internal — consumers rely on the `position.index` / `position.indicator`
|
|
2964
2952
|
* fields delivered to `onDrop`.
|
|
2953
|
+
*
|
|
2954
|
+
* Assumes rects ascend along the axis (DOM order in normal flow). Reversed
|
|
2955
|
+
* layouts resolve arbitrary slots — always have — and sorting is not the fix:
|
|
2956
|
+
* the slot must stay the child's DOM index for consumers to splice by.
|
|
2965
2957
|
*/
|
|
2966
2958
|
function resolveDropPosition(point, rects, orientation) {
|
|
2967
2959
|
if (rects.length === 0) return null;
|
|
@@ -2969,49 +2961,19 @@ function resolveDropPosition(point, rects, orientation) {
|
|
|
2969
2961
|
const start = orientation === "vertical" ? "top" : "left";
|
|
2970
2962
|
const end = orientation === "vertical" ? "bottom" : "right";
|
|
2971
2963
|
const coord = point[axis];
|
|
2972
|
-
|
|
2973
|
-
|
|
2964
|
+
let index = rects.length;
|
|
2965
|
+
for (const [at, rect] of rects.entries()) if (coord < rect[start] + (rect[end] - rect[start]) / 2) {
|
|
2966
|
+
index = at;
|
|
2967
|
+
break;
|
|
2968
|
+
}
|
|
2969
|
+
return index === 0 ? {
|
|
2970
|
+
index,
|
|
2974
2971
|
edge: "before",
|
|
2975
2972
|
rect: rects[0]
|
|
2976
|
-
}
|
|
2977
|
-
|
|
2978
|
-
if (coord > last[end]) return {
|
|
2979
|
-
index: rects.length,
|
|
2973
|
+
} : {
|
|
2974
|
+
index,
|
|
2980
2975
|
edge: "after",
|
|
2981
|
-
rect:
|
|
2982
|
-
};
|
|
2983
|
-
for (const [index, rect] of rects.entries()) if (coord >= rect[start] && coord <= rect[end]) {
|
|
2984
|
-
if (coord < rect[start] + (rect[end] - rect[start]) / 2) return {
|
|
2985
|
-
index,
|
|
2986
|
-
edge: "before",
|
|
2987
|
-
rect
|
|
2988
|
-
};
|
|
2989
|
-
return {
|
|
2990
|
-
index: index + 1,
|
|
2991
|
-
edge: "after",
|
|
2992
|
-
rect
|
|
2993
|
-
};
|
|
2994
|
-
}
|
|
2995
|
-
for (let index = 0; index < rects.length - 1; index++) {
|
|
2996
|
-
const a = rects[index];
|
|
2997
|
-
const b = rects[index + 1];
|
|
2998
|
-
if (coord > a[end] && coord < b[start]) {
|
|
2999
|
-
if (coord <= (a[end] + b[start]) / 2) return {
|
|
3000
|
-
index: index + 1,
|
|
3001
|
-
edge: "after",
|
|
3002
|
-
rect: a
|
|
3003
|
-
};
|
|
3004
|
-
return {
|
|
3005
|
-
index: index + 1,
|
|
3006
|
-
edge: "before",
|
|
3007
|
-
rect: b
|
|
3008
|
-
};
|
|
3009
|
-
}
|
|
3010
|
-
}
|
|
3011
|
-
return {
|
|
3012
|
-
index: rects.length,
|
|
3013
|
-
edge: "after",
|
|
3014
|
-
rect: last
|
|
2976
|
+
rect: rects[index - 1]
|
|
3015
2977
|
};
|
|
3016
2978
|
}
|
|
3017
2979
|
/**
|
|
@@ -3124,7 +3086,11 @@ function useDragDrop(options = {}) {
|
|
|
3124
3086
|
});
|
|
3125
3087
|
const indicator = computed(() => {
|
|
3126
3088
|
if (!registration.orientation || !isOver.value || !active.value) return null;
|
|
3127
|
-
|
|
3089
|
+
const resolved = resolveDropPosition(active.value.current, rects.value, registration.orientation);
|
|
3090
|
+
if (!resolved) return null;
|
|
3091
|
+
const from = home(el.value, active.value.id);
|
|
3092
|
+
if (from !== -1 && (resolved.index === from || resolved.index === from + 1)) return null;
|
|
3093
|
+
return resolved;
|
|
3128
3094
|
});
|
|
3129
3095
|
const input = {
|
|
3130
3096
|
...registration,
|
|
@@ -3150,6 +3116,16 @@ function useDragDrop(options = {}) {
|
|
|
3150
3116
|
}
|
|
3151
3117
|
return null;
|
|
3152
3118
|
}
|
|
3119
|
+
function home(zoneEl, id) {
|
|
3120
|
+
const source = toValue(_draggables.get(id)?.el);
|
|
3121
|
+
if (!zoneEl || !source) return -1;
|
|
3122
|
+
for (let el = source.parentElement; el; el = el.parentElement) {
|
|
3123
|
+
if (!nodes.has(el)) continue;
|
|
3124
|
+
if (el !== zoneEl) return -1;
|
|
3125
|
+
break;
|
|
3126
|
+
}
|
|
3127
|
+
return Array.from(zoneEl.children).findIndex((child) => child.contains(source));
|
|
3128
|
+
}
|
|
3153
3129
|
function position(zoneId, drag) {
|
|
3154
3130
|
const zone = _zones.get(zoneId);
|
|
3155
3131
|
const out = { pointer: drag.current };
|
|
@@ -3158,7 +3134,10 @@ function useDragDrop(options = {}) {
|
|
|
3158
3134
|
if (resolved) {
|
|
3159
3135
|
out.index = resolved.index;
|
|
3160
3136
|
out.indicator = resolved;
|
|
3161
|
-
} else
|
|
3137
|
+
} else {
|
|
3138
|
+
const from = home(toValue(zone.el), drag.id);
|
|
3139
|
+
out.index = from === -1 ? 0 : from;
|
|
3140
|
+
}
|
|
3162
3141
|
}
|
|
3163
3142
|
return out;
|
|
3164
3143
|
}
|
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-BUTW4MHG.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-DCWma-GG.mjs";
|
|
4
|
+
import { a as useLocale } from "./useLocale-x-_byBGJ.mjs";
|
|
5
|
+
import { i as useProxyRegistry, t as createGroup } from "./createGroup-DK5KxHjn.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-B3L-4fLH.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, isNullOrUndefined, 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-YmzhmbpJ.mjs";
|
|
4
4
|
import { shallowReactive, shallowRef } from "vue";
|
|
5
5
|
//#region src/composables/createRegistry/index.ts
|
|
6
6
|
/**
|
|
@@ -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-DCWma-GG.mjs";
|
|
4
4
|
import { computed, isRef, shallowReactive, toRaw, toRef, toValue } from "vue";
|
|
5
5
|
//#region src/composables/createModel/index.ts
|
|
6
6
|
/**
|
|
@@ -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-B3L-4fLH.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-YmzhmbpJ.mjs";
|
|
4
|
+
import { t as createRegistry } from "./createRegistry-DCWma-GG.mjs";
|
|
5
5
|
//#region src/composables/createTokens/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @module createTokens
|
|
@@ -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-odNvR9Tl.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.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DateAdapter } from "../adapter-
|
|
1
|
+
import { t as DateAdapter } from "../adapter-Bc0yPSfo.mjs";
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
|
3
3
|
|
|
4
4
|
//#region src/composables/useDate/adapters/v0.d.ts
|
|
@@ -106,7 +106,7 @@ declare class V0DateAdapter extends DateAdapter<PlainDateTime> {
|
|
|
106
106
|
setMinutes(date: PlainDateTime, minutes: number): PlainDateTime;
|
|
107
107
|
setSeconds(date: PlainDateTime, seconds: number): PlainDateTime;
|
|
108
108
|
getWeekdays(format?: 'long' | 'short' | 'narrow'): string[];
|
|
109
|
-
getWeekArray(date: PlainDateTime): PlainDateTime[][];
|
|
109
|
+
getWeekArray(date: PlainDateTime, fixedWeeks?: boolean): PlainDateTime[][];
|
|
110
110
|
getMonthArray(date: PlainDateTime): PlainDateTime[];
|
|
111
111
|
getYearRange(start: PlainDateTime, end: PlainDateTime): PlainDateTime[];
|
|
112
112
|
getNextMonth(date: PlainDateTime): PlainDateTime;
|
package/dist/date/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../globals-
|
|
2
|
-
import {
|
|
3
|
-
import { t as DateAdapter } from "../adapter-
|
|
1
|
+
import { t as IN_BROWSER } from "../globals-BUTW4MHG.mjs";
|
|
2
|
+
import { isNull, isNullOrUndefined, isNumber, isString } from "../utilities/index.mjs";
|
|
3
|
+
import { n as deriveWeekInfo, t as DateAdapter } from "../adapter-BCtceV3b.mjs";
|
|
4
4
|
import { Temporal } from "@js-temporal/polyfill";
|
|
5
5
|
//#region src/composables/useDate/adapters/v0.ts
|
|
6
6
|
/**
|
|
@@ -26,35 +26,6 @@ const Temporal$1 = globalThis.Temporal ?? Temporal;
|
|
|
26
26
|
const FORMAT_TOKEN_REGEX = /YYYY|YY|MMMM|MMM|MM|M|dddd|ddd|DD|D|HH|H|hh|h|mm|m|ss|s|A|a/g;
|
|
27
27
|
/** Maximum cache size to prevent memory leaks */
|
|
28
28
|
const MAX_CACHE_SIZE = 50;
|
|
29
|
-
/**
|
|
30
|
-
* Derive week info from locale.
|
|
31
|
-
*
|
|
32
|
-
* Uses Intl.Locale.getWeekInfo() when available, with a hardcoded
|
|
33
|
-
* fallback table for minimalDays (not available in all runtimes).
|
|
34
|
-
* Data sourced from CLDR via Intl.Locale.getWeekInfo() spec.
|
|
35
|
-
*/
|
|
36
|
-
function deriveWeekInfo(locale) {
|
|
37
|
-
try {
|
|
38
|
-
const loc = new Intl.Locale(locale);
|
|
39
|
-
/* v8 ignore next -- Intl.Locale.getWeekInfo always present in Node 22+, .weekInfo fallback is for legacy runtimes */
|
|
40
|
-
const info = /* @__PURE__ */ isFunction(loc.getWeekInfo) ? loc.getWeekInfo() : loc.weekInfo;
|
|
41
|
-
return {
|
|
42
|
-
firstDay: info?.firstDay === 7 ? 0 : info?.firstDay ?? 0,
|
|
43
|
-
minimalDays: info?.minimalDays ?? deriveMinimalDays(locale)
|
|
44
|
-
};
|
|
45
|
-
} catch {
|
|
46
|
-
return {
|
|
47
|
-
firstDay: 0,
|
|
48
|
-
minimalDays: 1
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
/** Fallback minimalDays lookup when Intl.Locale doesn't provide it */
|
|
53
|
-
function deriveMinimalDays(locale) {
|
|
54
|
-
const code = locale.slice(-2).toUpperCase();
|
|
55
|
-
if ("AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS IT LI LT LU MC MQ NL NO PL PT RE RU SE SK SM VA".includes(code)) return 4;
|
|
56
|
-
return 1;
|
|
57
|
-
}
|
|
58
29
|
var V0DateAdapter = class extends DateAdapter {
|
|
59
30
|
_locale;
|
|
60
31
|
_firstDayOfWeek = 0;
|
|
@@ -66,7 +37,7 @@ var V0DateAdapter = class extends DateAdapter {
|
|
|
66
37
|
constructor(locale = "en-US") {
|
|
67
38
|
super();
|
|
68
39
|
this._locale = locale;
|
|
69
|
-
const info = deriveWeekInfo(locale);
|
|
40
|
+
const info = /* @__PURE__ */ deriveWeekInfo(locale);
|
|
70
41
|
this._firstDayOfWeek = info.firstDay;
|
|
71
42
|
this._minimalDays = info.minimalDays;
|
|
72
43
|
}
|
|
@@ -80,7 +51,7 @@ var V0DateAdapter = class extends DateAdapter {
|
|
|
80
51
|
set locale(value) {
|
|
81
52
|
if (this._locale !== value) {
|
|
82
53
|
this._locale = value;
|
|
83
|
-
const info = deriveWeekInfo(value);
|
|
54
|
+
const info = /* @__PURE__ */ deriveWeekInfo(value);
|
|
84
55
|
this._firstDayOfWeek = info.firstDay;
|
|
85
56
|
this._minimalDays = info.minimalDays;
|
|
86
57
|
this.formatCache.clear();
|
|
@@ -550,13 +521,13 @@ var V0DateAdapter = class extends DateAdapter {
|
|
|
550
521
|
}
|
|
551
522
|
return weekdays;
|
|
552
523
|
}
|
|
553
|
-
getWeekArray(date) {
|
|
524
|
+
getWeekArray(date, fixedWeeks = false) {
|
|
554
525
|
const weeks = [];
|
|
555
526
|
const monthStart = this.startOfMonth(date);
|
|
556
527
|
const monthEnd = this.endOfMonth(date);
|
|
557
528
|
let current = this.startOfWeek(monthStart);
|
|
558
529
|
const end = this.endOfWeek(monthEnd);
|
|
559
|
-
while (Temporal$1.PlainDateTime.compare(current, end) <= 0) {
|
|
530
|
+
while (Temporal$1.PlainDateTime.compare(current, end) <= 0 || fixedWeeks && weeks.length < 6) {
|
|
560
531
|
const week = [];
|
|
561
532
|
for (let i = 0; i < 7; i++) {
|
|
562
533
|
week.push(current);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../../../globals-
|
|
1
|
+
import { t as IN_BROWSER } from "../../../globals-BUTW4MHG.mjs";
|
|
2
2
|
import { UNSAFE_KEYS, 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-
|
|
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-CrAgM2EJ.mjs";
|
|
2
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-C69UhG6j.mjs";
|
|
3
3
|
export { FeaturesAdapter, createFeatures, createFeaturesContext, createFeaturesPlugin, useFeatures };
|
|
@@ -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.
|
|
8
|
+
const version = "1.0.4";
|
|
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
|