@vuetify/v0 1.0.4 → 1.1.0
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-lS_VpRow.mjs → adapter-q1sRACUc.mjs} +3 -1
- package/dist/browser/index.d.ts +59 -9
- package/dist/browser/index.js +221 -62
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/{components-BEULKf1l.mjs → components-B2BZ1B3K.mjs} +186 -55
- package/dist/composables/index.d.mts +1 -1
- package/dist/composables/index.mjs +22 -22
- package/dist/{composables-UDLJSkis.mjs → composables-DONBl_c9.mjs} +24 -14
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-odNvR9Tl.mjs → createDataTable-DgyHBfAr.mjs} +3 -3
- package/dist/{createGroup-DK5KxHjn.mjs → createGroup-BXKKcb9-.mjs} +1 -1
- package/dist/{createRegistry-DCWma-GG.mjs → createRegistry-B9cOWny2.mjs} +1 -1
- package/dist/{createSelection-B3L-4fLH.mjs → createSelection-CWE554_g.mjs} +1 -1
- package/dist/{createSingle-DBWZc1_G.mjs → createSingle-Dz-1Iv7u.mjs} +1 -1
- package/dist/{createTokens-C4ZmZFHA.mjs → createTokens-C4qcW2Kv.mjs} +2 -2
- package/dist/data-table/index.mjs +1 -1
- 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-BUTW4MHG.mjs → globals-CtaXlEOI.mjs} +1 -1
- package/dist/{index-CRi_o77U.d.mts → index-CTl0cGH6.d.mts} +111 -91
- package/dist/{index-CrAgM2EJ.d.mts → index-Dc7lKT6q.d.mts} +32 -2
- 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/locale/messages/en/index.d.mts +2 -0
- package/dist/locale/messages/en/index.mjs +5 -1
- 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 +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/{unhead-DHgoHwNp.mjs → unhead-BAWCwNOF.mjs} +2 -2
- package/dist/{useEventListener-DH8rxkg9.mjs → useEventListener-DSOeDtC-.mjs} +1 -1
- package/dist/{useFeatures-C69UhG6j.mjs → useFeatures-YJmONiU7.mjs} +3 -3
- package/dist/{useLocale-x-_byBGJ.mjs → useLocale-D-V0DENN.mjs} +4 -4
- package/dist/{useLogger-YmzhmbpJ.mjs → useLogger-CbvzXCWb.mjs} +2 -2
- package/dist/{useNotifications-HplEE-rp.mjs → useNotifications-Cqg3uDz0.mjs} +3 -3
- package/dist/{usePermissions-DOEFSPvv.mjs → usePermissions-BTdUVyQe.mjs} +2 -2
- package/dist/{useRovingFocus-B_21NzGP.mjs → useRovingFocus-g6ifibLg.mjs} +37 -21
- package/dist/{useRules-D3t_9FXV.mjs → useRules-DEiHd_eY.mjs} +2 -2
- package/dist/{useStorage-Dk0vBk5G.mjs → useStorage-BSfQfDbg.mjs} +3 -3
- package/dist/{useTheme-BgZhqWsW.mjs → useTheme-C0_i__N6.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-BOwub0NK.mjs → v0-CCWHeKJM.mjs} +1 -1
- package/dist/{v0-sv4EvUA-.mjs → v0-CZBkpQjr.mjs} +1 -1
- package/dist/{v0-_kEIVNjG.mjs → v0-CveVV6On.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gt as PermissionPluginOptions, Ht as PermissionContext, Jt as createPermissionsContext, Kt as PermissionTicket, Qt as PermissionsAdapter, Ut as PermissionContextOptions, Wt as PermissionOptions, Xt as usePermissions, Yt as createPermissionsPlugin, qt as createPermissions } from "../index-
|
|
1
|
+
import { Gt as PermissionPluginOptions, Ht as PermissionContext, Jt as createPermissionsContext, Kt as PermissionTicket, Qt as PermissionsAdapter, Ut as PermissionContextOptions, Wt as PermissionOptions, Xt as usePermissions, Yt as createPermissionsPlugin, qt as createPermissions } from "../index-Dc7lKT6q.mjs";
|
|
2
2
|
export { PermissionContext, PermissionContextOptions, PermissionOptions, PermissionPluginOptions, PermissionTicket, PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as PermissionsAdapter } from "../v0-UNyykD27.mjs";
|
|
2
|
-
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-
|
|
2
|
+
import { i as usePermissions, n as createPermissionsContext, r as createPermissionsPlugin, t as createPermissions } from "../usePermissions-BTdUVyQe.mjs";
|
|
3
3
|
export { PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
|
package/dist/rules/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ao as RulesOptions, Do as RuleInput, Eo as RuleAliases, Fo as useRules, Io as StandardSchemaV1, Lo as isStandardSchema, Mo as createRulesContext, No as createRulesFallback, Oo as RulesContext, Po as createRulesPlugin, To as RuleAlias, jo as createRules, ko as RulesContextOptions } from "../index-
|
|
1
|
+
import { Ao as RulesOptions, Do as RuleInput, Eo as RuleAliases, Fo as useRules, Io as StandardSchemaV1, Lo as isStandardSchema, Mo as createRulesContext, No as createRulesFallback, Oo as RulesContext, Po as createRulesPlugin, To as RuleAlias, jo as createRules, ko as RulesContextOptions } from "../index-Dc7lKT6q.mjs";
|
|
2
2
|
export { RuleAlias, RuleAliases, RuleInput, RulesContext, RulesContextOptions, RulesOptions, StandardSchemaV1, createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
|
package/dist/rules/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-
|
|
1
|
+
import { a as useRules, i as createRulesPlugin, n as createRulesContext, o as isStandardSchema, r as createRulesFallback, t as createRules } from "../useRules-DEiHd_eY.mjs";
|
|
2
2
|
export { createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
|
package/dist/storage/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as StoragePluginOptions, I as createStorage, L as createStorageContext, M as StorageContext, N as StorageContextOptions, P as StorageOptions, R as createStoragePlugin, z as useStorage } from "../index-
|
|
1
|
+
import { F as StoragePluginOptions, I as createStorage, L as createStorageContext, M as StorageContext, N as StorageContextOptions, P as StorageOptions, R as createStoragePlugin, z as useStorage } from "../index-Dc7lKT6q.mjs";
|
|
2
2
|
import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-DbyZeNjg.mjs";
|
|
3
3
|
import { t as StorageType } from "../index-DidZKN6S.mjs";
|
|
4
4
|
export { MemoryStorageAdapter, StorageAdapter, StorageContext, StorageContextOptions, StorageOptions, StoragePluginOptions, StorageType, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
package/dist/storage/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as StorageAdapter, t as MemoryStorageAdapter } from "../memory-BJjkQzxs.mjs";
|
|
2
|
-
import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-
|
|
2
|
+
import { i as useStorage, n as createStorageContext, r as createStoragePlugin, t as createStorage } from "../useStorage-BSfQfDbg.mjs";
|
|
3
3
|
export { MemoryStorageAdapter, StorageAdapter, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as V0UnheadThemeAdapter, j as ThemeAdapter, k as V0StyleSheetThemeAdapter } from "../../index-
|
|
1
|
+
import { D as V0UnheadThemeAdapter, j as ThemeAdapter, k as V0StyleSheetThemeAdapter } from "../../index-Dc7lKT6q.mjs";
|
|
2
2
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ThemeAdapter } from "../../adapter-
|
|
2
|
-
import { t as V0StyleSheetThemeAdapter } from "../../v0-
|
|
3
|
-
import { t as V0UnheadThemeAdapter } from "../../unhead-
|
|
1
|
+
import { t as ThemeAdapter } from "../../adapter-q1sRACUc.mjs";
|
|
2
|
+
import { t as V0StyleSheetThemeAdapter } from "../../v0-CveVV6On.mjs";
|
|
3
|
+
import { t as V0UnheadThemeAdapter } from "../../unhead-BAWCwNOF.mjs";
|
|
4
4
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { D as V0UnheadThemeAdapter, O as V0UnheadThemeOptions } from "../../../index-
|
|
1
|
+
import { D as V0UnheadThemeAdapter, O as V0UnheadThemeOptions } from "../../../index-Dc7lKT6q.mjs";
|
|
2
2
|
export { V0UnheadThemeAdapter, V0UnheadThemeOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0UnheadThemeAdapter } from "../../../unhead-
|
|
1
|
+
import { t as V0UnheadThemeAdapter } from "../../../unhead-BAWCwNOF.mjs";
|
|
2
2
|
export { V0UnheadThemeAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as Vuetify0ThemeOptions, k as V0StyleSheetThemeAdapter } from "../../../index-
|
|
1
|
+
import { A as Vuetify0ThemeOptions, k as V0StyleSheetThemeAdapter } from "../../../index-Dc7lKT6q.mjs";
|
|
2
2
|
export { V0StyleSheetThemeAdapter, Vuetify0ThemeOptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0StyleSheetThemeAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0StyleSheetThemeAdapter } from "../../../v0-CveVV6On.mjs";
|
|
2
2
|
export { V0StyleSheetThemeAdapter };
|
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as createTheme, D as V0UnheadThemeAdapter, E as useTheme, S as ThemeTicketInput, T as createThemePlugin, _ as ThemeContextOptions, b as ThemeRecord, g as ThemeContext, h as ThemeColors, j as ThemeAdapter, k as V0StyleSheetThemeAdapter, m as Colors, v as ThemeOptions, w as createThemeContext, x as ThemeTicket, y as ThemePluginOptions } from "../index-
|
|
1
|
+
import { C as createTheme, D as V0UnheadThemeAdapter, E as useTheme, S as ThemeTicketInput, T as createThemePlugin, _ as ThemeContextOptions, b as ThemeRecord, g as ThemeContext, h as ThemeColors, j as ThemeAdapter, k as V0StyleSheetThemeAdapter, m as Colors, v as ThemeOptions, w as createThemeContext, x as ThemeTicket, y as ThemePluginOptions } from "../index-Dc7lKT6q.mjs";
|
|
2
2
|
export { Colors, ThemeAdapter, ThemeColors, ThemeContext, ThemeContextOptions, ThemeOptions, ThemePluginOptions, ThemeRecord, ThemeTicket, ThemeTicketInput, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
package/dist/theme/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as ThemeAdapter } from "../adapter-
|
|
2
|
-
import { t as V0StyleSheetThemeAdapter } from "../v0-
|
|
3
|
-
import { t as V0UnheadThemeAdapter } from "../unhead-
|
|
4
|
-
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-
|
|
1
|
+
import { t as ThemeAdapter } from "../adapter-q1sRACUc.mjs";
|
|
2
|
+
import { t as V0StyleSheetThemeAdapter } from "../v0-CveVV6On.mjs";
|
|
3
|
+
import { t as V0UnheadThemeAdapter } from "../unhead-BAWCwNOF.mjs";
|
|
4
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-C0_i__N6.mjs";
|
|
5
5
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isNull, isString } from "./utilities/index.mjs";
|
|
3
|
-
import { t as ThemeAdapter } from "./adapter-
|
|
3
|
+
import { t as ThemeAdapter } from "./adapter-q1sRACUc.mjs";
|
|
4
4
|
import { watch } from "vue";
|
|
5
5
|
//#region src/composables/useTheme/adapters/unhead.ts
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
3
3
|
import { onScopeDispose, toValue, unref, watch } from "vue";
|
|
4
4
|
//#region src/composables/useEventListener/index.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isArray, isBoolean, isFunction, isObject } from "./utilities/index.mjs";
|
|
2
|
-
import { o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { t as createTokens } from "./createTokens-
|
|
4
|
-
import { t as createGroup } from "./createGroup-
|
|
2
|
+
import { o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
3
|
+
import { t as createTokens } from "./createTokens-C4qcW2Kv.mjs";
|
|
4
|
+
import { t as createGroup } from "./createGroup-BXKKcb9-.mjs";
|
|
5
5
|
//#region src/composables/useFeatures/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* @module useFeatures
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isNumber, isString } from "./utilities/index.mjs";
|
|
2
|
-
import { o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { t as createSingle } from "./createSingle-
|
|
4
|
-
import { r as flatten, t as createTokens } from "./createTokens-
|
|
5
|
-
import { t as V0LocaleAdapter } from "./v0-
|
|
2
|
+
import { o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
3
|
+
import { t as createSingle } from "./createSingle-Dz-1Iv7u.mjs";
|
|
4
|
+
import { r as flatten, t as createTokens } from "./createTokens-C4qcW2Kv.mjs";
|
|
5
|
+
import { t as V0LocaleAdapter } from "./v0-CZBkpQjr.mjs";
|
|
6
6
|
//#region src/composables/useLocale/index.ts
|
|
7
7
|
/**
|
|
8
8
|
* @module useLocale
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { s as __LOGGER_ENABLED__, t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isNullOrUndefined, isUndefined } from "./utilities/index.mjs";
|
|
3
3
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
4
|
-
import { t as V0LoggerAdapter } from "./v0-
|
|
4
|
+
import { t as V0LoggerAdapter } from "./v0-CCWHeKJM.mjs";
|
|
5
5
|
import { hasInjectionContext, inject, watch } from "vue";
|
|
6
6
|
//#region src/composables/createPlugin/index.ts
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isFunction, isNull, isUndefined, useId as useId$1 } from "./utilities/index.mjs";
|
|
3
3
|
import { i as useContext, t as createTrinity } from "./createTrinity-z-3q9QWR.mjs";
|
|
4
|
-
import { o as createPluginContext } from "./useLogger-
|
|
5
|
-
import { t as createRegistry } from "./createRegistry-
|
|
4
|
+
import { o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-B9cOWny2.mjs";
|
|
6
6
|
import { onScopeDispose, shallowRef, toValue } from "vue";
|
|
7
7
|
//#region src/composables/useTimer/index.ts
|
|
8
8
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UNSAFE_KEYS } from "./utilities/index.mjs";
|
|
2
|
-
import { o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { t as createTokens } from "./createTokens-
|
|
2
|
+
import { o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
3
|
+
import { t as createTokens } from "./createTokens-C4qcW2Kv.mjs";
|
|
4
4
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
5
5
|
import { t as V0PermissionsAdapter } from "./v0-UNyykD27.mjs";
|
|
6
6
|
//#region src/composables/usePermissions/index.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { a as SUPPORTS_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { a as SUPPORTS_OBSERVER, n as SUPPORTS_INTERSECTION_OBSERVER, t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { clamp, instanceExists, isArray, isElement, isFunction, isNaN, isNull, isNullOrUndefined, isObject, isString, isUndefined, range, resolveIds, resolveIndexes, useId as useId$1 } from "./utilities/index.mjs";
|
|
3
3
|
import { i as useContext, 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, t as createSelection } from "./createSelection-
|
|
7
|
-
import { t as createSingle } from "./createSingle-
|
|
4
|
+
import { a as createPlugin, i as useLogger, o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-B9cOWny2.mjs";
|
|
6
|
+
import { i as createModel, t as createSelection } from "./createSelection-CWE554_g.mjs";
|
|
7
|
+
import { t as createSingle } from "./createSingle-Dz-1Iv7u.mjs";
|
|
8
8
|
import { t as toArray } from "./toArray-C89ZaEuF.mjs";
|
|
9
|
-
import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-
|
|
10
|
-
import { t as createGroup } from "./createGroup-
|
|
11
|
-
import { c as useTimer } from "./useNotifications-
|
|
9
|
+
import { n as useEventListener, r as useWindowEventListener, t as useDocumentEventListener } from "./useEventListener-DSOeDtC-.mjs";
|
|
10
|
+
import { t as createGroup } from "./createGroup-BXKKcb9-.mjs";
|
|
11
|
+
import { c as useTimer } from "./useNotifications-Cqg3uDz0.mjs";
|
|
12
12
|
import { i as createFilter } from "./createPagination-B5dfqY-a.mjs";
|
|
13
|
-
import { a as useRules, o as isStandardSchema } from "./useRules-
|
|
14
|
-
import { computed, effectScope, hasInjectionContext, isReadonly, isRef, nextTick,
|
|
13
|
+
import { a as useRules, o as isStandardSchema } from "./useRules-DEiHd_eY.mjs";
|
|
14
|
+
import { computed, effectScope, hasInjectionContext, isReadonly, isRef, nextTick, onScopeDispose, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, watch } from "vue";
|
|
15
15
|
//#region src/composables/useClickOutside/index.ts
|
|
16
16
|
/**
|
|
17
17
|
* @module useClickOutside
|
|
@@ -2127,25 +2127,41 @@ function usePopover(options = {}) {
|
|
|
2127
2127
|
"position-anchor": anchor,
|
|
2128
2128
|
"position-try-fallbacks": positionTry
|
|
2129
2129
|
}));
|
|
2130
|
-
/* v8 ignore start -- browser popover API */
|
|
2131
2130
|
function attach(el) {
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
if (
|
|
2135
|
-
|
|
2136
|
-
|
|
2131
|
+
let current;
|
|
2132
|
+
function hide(element) {
|
|
2133
|
+
if (!IN_BROWSER || /* @__PURE__ */ isNullOrUndefined(element)) return;
|
|
2134
|
+
try {
|
|
2135
|
+
if (element.matches?.(":popover-open") === false) return;
|
|
2136
|
+
element.hidePopover?.();
|
|
2137
|
+
} catch {}
|
|
2138
|
+
}
|
|
2139
|
+
function sync() {
|
|
2140
|
+
if (!IN_BROWSER) return;
|
|
2137
2141
|
const element = toValue(el);
|
|
2138
|
-
if (
|
|
2139
|
-
|
|
2140
|
-
if (
|
|
2141
|
-
|
|
2142
|
+
if (!/* @__PURE__ */ isNullOrUndefined(current) && current !== element) hide(current);
|
|
2143
|
+
current = /* @__PURE__ */ isNullOrUndefined(element) ? void 0 : element;
|
|
2144
|
+
if (/* @__PURE__ */ isNullOrUndefined(element)) return;
|
|
2145
|
+
if (!isOpen.value) {
|
|
2146
|
+
hide(element);
|
|
2147
|
+
return;
|
|
2148
|
+
}
|
|
2149
|
+
if (!element.isConnected) return;
|
|
2150
|
+
if (element.matches?.(":popover-open")) return;
|
|
2151
|
+
element.showPopover?.();
|
|
2152
|
+
}
|
|
2153
|
+
watch([isOpen, () => toValue(el)], sync, {
|
|
2154
|
+
immediate: true,
|
|
2155
|
+
flush: "post"
|
|
2142
2156
|
});
|
|
2157
|
+
onScopeDispose(() => {
|
|
2158
|
+
hide(toValue(el) ?? current);
|
|
2159
|
+
}, true);
|
|
2143
2160
|
useEventListener(el, "toggle", (e) => {
|
|
2144
2161
|
if (!toValue(el)?.isConnected) return;
|
|
2145
2162
|
isOpen.value = e.newState === "open";
|
|
2146
2163
|
});
|
|
2147
2164
|
}
|
|
2148
|
-
/* v8 ignore stop */
|
|
2149
2165
|
return {
|
|
2150
2166
|
isOpen,
|
|
2151
2167
|
id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { instanceExists, isFunction, isObject } from "./utilities/index.mjs";
|
|
2
|
-
import { i as useLogger, o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { a as useLocale } from "./useLocale-
|
|
2
|
+
import { i as useLogger, o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
3
|
+
import { a as useLocale } from "./useLocale-D-V0DENN.mjs";
|
|
4
4
|
//#region src/composables/useRules/adapters/standard.ts
|
|
5
5
|
/**
|
|
6
6
|
* Type guard for Standard Schema objects.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isArray, isNullOrUndefined, isObject } from "./utilities/index.mjs";
|
|
3
|
-
import { i as useLogger, o as createPluginContext } from "./useLogger-
|
|
4
|
-
import { r as useWindowEventListener } from "./useEventListener-
|
|
3
|
+
import { i as useLogger, o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
4
|
+
import { r as useWindowEventListener } from "./useEventListener-DSOeDtC-.mjs";
|
|
5
5
|
import { t as MemoryStorageAdapter } from "./memory-BJjkQzxs.mjs";
|
|
6
6
|
import { ref, watch } from "vue";
|
|
7
7
|
//#region src/composables/useStorage/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { foreground, isNumber, isString } from "./utilities/index.mjs";
|
|
2
|
-
import { o as createPluginContext } from "./useLogger-
|
|
3
|
-
import { t as createSingle } from "./createSingle-
|
|
4
|
-
import { r as flatten, t as createTokens } from "./createTokens-
|
|
5
|
-
import { t as V0StyleSheetThemeAdapter } from "./v0-
|
|
2
|
+
import { o as createPluginContext } from "./useLogger-CbvzXCWb.mjs";
|
|
3
|
+
import { t as createSingle } from "./createSingle-Dz-1Iv7u.mjs";
|
|
4
|
+
import { r as flatten, t as createTokens } from "./createTokens-C4qcW2Kv.mjs";
|
|
5
|
+
import { t as V0StyleSheetThemeAdapter } from "./v0-CveVV6On.mjs";
|
|
6
6
|
import { computed, shallowRef, toRef } from "vue";
|
|
7
7
|
//#region src/composables/useTheme/index.ts
|
|
8
8
|
/**
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isFunction } from "./utilities/index.mjs";
|
|
3
3
|
import { t as LoggerAdapter } from "./adapter-Chznb9Ju.mjs";
|
|
4
4
|
//#region src/composables/useLogger/adapters/v0.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isObject, isString, isUndefined } from "./utilities/index.mjs";
|
|
3
3
|
import { t as LocaleAdapter } from "./adapter-bwZo7b5p.mjs";
|
|
4
4
|
//#region src/composables/useLocale/adapters/v0.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-CtaXlEOI.mjs";
|
|
2
2
|
import { isNull, isString } from "./utilities/index.mjs";
|
|
3
|
-
import { t as ThemeAdapter } from "./adapter-
|
|
3
|
+
import { t as ThemeAdapter } from "./adapter-q1sRACUc.mjs";
|
|
4
4
|
import { watch } from "vue";
|
|
5
5
|
//#region src/composables/useTheme/adapters/v0.ts
|
|
6
6
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Headless, unstyled, accessible Vue 3 primitives and composables — a meta UI framework for building applications, component libraries, and design systems",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|