@vuetify/v0 1.0.2 → 1.0.3
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/browser/index.d.ts +489 -373
- package/dist/browser/index.js +498 -185
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +2 -2
- package/dist/{components-EPI-OV3g.mjs → components-CeyYdes9.mjs} +795 -497
- package/dist/composables/index.mjs +21 -21
- package/dist/{composables-Ce3inP9P.mjs → composables-Br-ApSWN.mjs} +45 -38
- package/dist/constants/index.mjs +1 -1
- package/dist/{createDataTable-BnL2eb_0.mjs → createDataTable-B1uf_rZu.mjs} +3 -3
- package/dist/{createGroup-CJjPnhGu.mjs → createGroup-Czt0x8tf.mjs} +1 -1
- package/dist/{createRegistry-BCyeTWME.mjs → createRegistry-Cu1WQTyV.mjs} +1 -1
- package/dist/{createSelection-MKYbRsRh.mjs → createSelection-kydb14hZ.mjs} +1 -1
- package/dist/{createSingle-BqTldaCh.mjs → createSingle-JWAjGQLk.mjs} +1 -1
- package/dist/{createTokens-1CBBjmzi.mjs → createTokens-BD7p5_XB.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.mjs +1 -1
- package/dist/{globals-BVulH1kl.mjs → globals-XB8xcQFv.mjs} +1 -1
- package/dist/{index-DBm7uM6h.d.mts → index-BS_OGRsE.d.mts} +423 -307
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +24 -24
- package/dist/json/attributes.json +29 -1
- package/dist/json/importMap.json +4 -0
- package/dist/json/tags.json +12 -0
- package/dist/json/web-types.json +74 -2
- package/dist/locale/adapters/index.mjs +1 -1
- package/dist/locale/adapters/v0/index.mjs +1 -1
- package/dist/locale/index.mjs +2 -2
- package/dist/locale/messages/en/index.d.mts +5 -0
- package/dist/locale/messages/en/index.mjs +7 -2
- package/dist/logger/adapters/index.mjs +1 -1
- package/dist/logger/adapters/v0/index.mjs +1 -1
- package/dist/logger/index.mjs +2 -2
- package/dist/notifications/index.mjs +2 -2
- package/dist/permissions/index.mjs +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/storage/index.mjs +1 -1
- package/dist/theme/adapters/index.mjs +2 -2
- package/dist/theme/adapters/unhead/index.mjs +1 -1
- package/dist/theme/adapters/v0/index.mjs +1 -1
- package/dist/theme/index.mjs +3 -3
- package/dist/{unhead-OxL9-io3.mjs → unhead-VVWCVv5Z.mjs} +1 -1
- package/dist/{useEventListener-DvBy0REl.mjs → useEventListener-DasgNSNh.mjs} +1 -1
- package/dist/{useFeatures-BzLoyh-D.mjs → useFeatures-SX-DoCwv.mjs} +3 -3
- package/dist/{useLocale-6nnyjL_b.mjs → useLocale-C8E7B4Il.mjs} +4 -4
- package/dist/{useLogger-SKBSf2Ry.mjs → useLogger-pEmKLFsd.mjs} +2 -2
- package/dist/{useNotifications-CD7VNgfs.mjs → useNotifications-C6xFiQsD.mjs} +3 -3
- package/dist/{usePermissions-CT4nIEtD.mjs → usePermissions-CCA_18Be.mjs} +2 -2
- package/dist/{useRovingFocus-DPa2z5II.mjs → useRovingFocus-D2_aApXC.mjs} +26 -18
- package/dist/{useRules-DhN_Glen.mjs → useRules-CWWsE2Xt.mjs} +2 -2
- package/dist/{useStorage-vwbN1KlV.mjs → useStorage-Dd_snxwm.mjs} +3 -3
- package/dist/{useTheme-HbZK7iGf.mjs → useTheme-8qFLgTvi.mjs} +4 -4
- package/dist/utilities/index.mjs +1 -1
- package/dist/{v0-D-N-Egmx.mjs → v0-BLhsLm61.mjs} +1 -1
- package/dist/{v0-CvlDO4sB.mjs → v0-Bdm1oHXK.mjs} +1 -1
- package/dist/{v0-C2JHbe3R.mjs → v0-DYG-2UmI.mjs} +1 -1
- package/package.json +1 -1
package/dist/json/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@vuetify/v0",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.3",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -5022,7 +5022,16 @@
|
|
|
5022
5022
|
"kind": "expression",
|
|
5023
5023
|
"type": "string | undefined"
|
|
5024
5024
|
},
|
|
5025
|
-
"description": "Optional display label",
|
|
5025
|
+
"description": "Optional display label (rendered as aria-label on the spinbutton)",
|
|
5026
|
+
"required": false
|
|
5027
|
+
},
|
|
5028
|
+
{
|
|
5029
|
+
"name": "ariaLabelledby",
|
|
5030
|
+
"value": {
|
|
5031
|
+
"kind": "expression",
|
|
5032
|
+
"type": "string | undefined"
|
|
5033
|
+
},
|
|
5034
|
+
"description": "ID of element that labels this spinbutton",
|
|
5026
5035
|
"required": false
|
|
5027
5036
|
},
|
|
5028
5037
|
{
|
|
@@ -6420,6 +6429,15 @@
|
|
|
6420
6429
|
"default": "useId()",
|
|
6421
6430
|
"required": false
|
|
6422
6431
|
},
|
|
6432
|
+
{
|
|
6433
|
+
"name": "ariaLabel",
|
|
6434
|
+
"value": {
|
|
6435
|
+
"kind": "expression",
|
|
6436
|
+
"type": "string | undefined"
|
|
6437
|
+
},
|
|
6438
|
+
"description": "Accessible label when no visible Progress.Label is used",
|
|
6439
|
+
"required": false
|
|
6440
|
+
},
|
|
6423
6441
|
{
|
|
6424
6442
|
"name": "modelValue",
|
|
6425
6443
|
"value": {
|
|
@@ -7046,6 +7064,24 @@
|
|
|
7046
7064
|
"description": "Show value, prevent changes",
|
|
7047
7065
|
"required": false
|
|
7048
7066
|
},
|
|
7067
|
+
{
|
|
7068
|
+
"name": "ariaLabel",
|
|
7069
|
+
"value": {
|
|
7070
|
+
"kind": "expression",
|
|
7071
|
+
"type": "string | undefined"
|
|
7072
|
+
},
|
|
7073
|
+
"description": "Accessible name for the slider",
|
|
7074
|
+
"required": false
|
|
7075
|
+
},
|
|
7076
|
+
{
|
|
7077
|
+
"name": "ariaLabelledby",
|
|
7078
|
+
"value": {
|
|
7079
|
+
"kind": "expression",
|
|
7080
|
+
"type": "string | undefined"
|
|
7081
|
+
},
|
|
7082
|
+
"description": "ID of element that labels this slider",
|
|
7083
|
+
"required": false
|
|
7084
|
+
},
|
|
7049
7085
|
{
|
|
7050
7086
|
"name": "name",
|
|
7051
7087
|
"value": {
|
|
@@ -8187,6 +8223,22 @@
|
|
|
8187
8223
|
}
|
|
8188
8224
|
]
|
|
8189
8225
|
},
|
|
8226
|
+
{
|
|
8227
|
+
"name": "snackbar-announcer",
|
|
8228
|
+
"description": "Vuetify 0 SnackbarAnnouncer component",
|
|
8229
|
+
"attributes": [
|
|
8230
|
+
{
|
|
8231
|
+
"name": "namespace",
|
|
8232
|
+
"value": {
|
|
8233
|
+
"kind": "expression",
|
|
8234
|
+
"type": "string | undefined"
|
|
8235
|
+
},
|
|
8236
|
+
"description": "Namespace for context injection from parent Snackbar.Portal.",
|
|
8237
|
+
"default": "\"v0:notifications\"",
|
|
8238
|
+
"required": false
|
|
8239
|
+
}
|
|
8240
|
+
]
|
|
8241
|
+
},
|
|
8190
8242
|
{
|
|
8191
8243
|
"name": "snackbar-close",
|
|
8192
8244
|
"description": "Vuetify 0 SnackbarClose component",
|
|
@@ -8265,6 +8317,26 @@
|
|
|
8265
8317
|
"name": "snackbar-portal",
|
|
8266
8318
|
"description": "Vuetify 0 SnackbarPortal component",
|
|
8267
8319
|
"attributes": [
|
|
8320
|
+
{
|
|
8321
|
+
"name": "announcer",
|
|
8322
|
+
"value": {
|
|
8323
|
+
"kind": "expression",
|
|
8324
|
+
"type": "boolean | undefined"
|
|
8325
|
+
},
|
|
8326
|
+
"description": "Auto-render the Snackbar.Announcer live-region pair. Set false to omit it or place `<Snackbar.Announcer>` yourself.",
|
|
8327
|
+
"default": "true",
|
|
8328
|
+
"required": false
|
|
8329
|
+
},
|
|
8330
|
+
{
|
|
8331
|
+
"name": "namespace",
|
|
8332
|
+
"value": {
|
|
8333
|
+
"kind": "expression",
|
|
8334
|
+
"type": "string | undefined"
|
|
8335
|
+
},
|
|
8336
|
+
"description": "Namespace for dependency injection.",
|
|
8337
|
+
"default": "\"v0:notifications\"",
|
|
8338
|
+
"required": false
|
|
8339
|
+
},
|
|
8268
8340
|
{
|
|
8269
8341
|
"name": "teleport",
|
|
8270
8342
|
"value": {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0LocaleAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0LocaleAdapter } from "../../../v0-BLhsLm61.mjs";
|
|
2
2
|
export { V0LocaleAdapter };
|
package/dist/locale/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as LocaleAdapter } from "../adapter-bwZo7b5p.mjs";
|
|
2
|
-
import { t as V0LocaleAdapter } from "../v0-
|
|
3
|
-
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-
|
|
2
|
+
import { t as V0LocaleAdapter } from "../v0-BLhsLm61.mjs";
|
|
3
|
+
import { a as useLocale, i as createLocalePlugin, n as createLocaleContext, r as createLocaleFallback, t as createLocale } from "../useLocale-C8E7B4Il.mjs";
|
|
4
4
|
export { LocaleAdapter, V0LocaleAdapter, createLocale, createLocaleContext, createLocaleFallback, createLocalePlugin, useLocale };
|
|
@@ -52,6 +52,7 @@ declare const _default: {
|
|
|
52
52
|
readonly NumberField: {
|
|
53
53
|
readonly decrement: "Decrement";
|
|
54
54
|
readonly increment: "Increment";
|
|
55
|
+
readonly label: "Number";
|
|
55
56
|
};
|
|
56
57
|
readonly Pagination: {
|
|
57
58
|
readonly currentPage: "Page {page}, current";
|
|
@@ -64,8 +65,12 @@ declare const _default: {
|
|
|
64
65
|
readonly status: "Page {page} of {pages}";
|
|
65
66
|
};
|
|
66
67
|
readonly Rating: {
|
|
68
|
+
readonly label: "Rating";
|
|
67
69
|
readonly valueText: "{value} of {size} stars";
|
|
68
70
|
};
|
|
71
|
+
readonly Slider: {
|
|
72
|
+
readonly label: "Slider";
|
|
73
|
+
};
|
|
69
74
|
readonly Snackbar: {
|
|
70
75
|
readonly close: "Dismiss";
|
|
71
76
|
};
|
|
@@ -41,7 +41,8 @@ var en_default = {
|
|
|
41
41
|
Dialog: { close: "Close" },
|
|
42
42
|
NumberField: {
|
|
43
43
|
decrement: "Decrement",
|
|
44
|
-
increment: "Increment"
|
|
44
|
+
increment: "Increment",
|
|
45
|
+
label: "Number"
|
|
45
46
|
},
|
|
46
47
|
Pagination: {
|
|
47
48
|
currentPage: "Page {page}, current",
|
|
@@ -53,7 +54,11 @@ var en_default = {
|
|
|
53
54
|
prev: "Previous page",
|
|
54
55
|
status: "Page {page} of {pages}"
|
|
55
56
|
},
|
|
56
|
-
Rating: {
|
|
57
|
+
Rating: {
|
|
58
|
+
label: "Rating",
|
|
59
|
+
valueText: "{value} of {size} stars"
|
|
60
|
+
},
|
|
61
|
+
Slider: { label: "Slider" },
|
|
57
62
|
Snackbar: { close: "Dismiss" },
|
|
58
63
|
Splitter: { handle: "Resize" }
|
|
59
64
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as LoggerAdapter } from "../../adapter-Chznb9Ju.mjs";
|
|
2
2
|
import { t as ConsolaLoggerAdapter } from "../../consola-cad-VEV2.mjs";
|
|
3
3
|
import { t as PinoLoggerAdapter } from "../../pino-BscMO3RR.mjs";
|
|
4
|
-
import { t as V0LoggerAdapter } from "../../v0-
|
|
4
|
+
import { t as V0LoggerAdapter } from "../../v0-Bdm1oHXK.mjs";
|
|
5
5
|
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0LoggerAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0LoggerAdapter } from "../../../v0-Bdm1oHXK.mjs";
|
|
2
2
|
export { V0LoggerAdapter };
|
package/dist/logger/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-
|
|
1
|
+
import { i as useLogger, n as createLoggerContext, r as createLoggerPlugin, t as createLogger } from "../useLogger-pEmKLFsd.mjs";
|
|
2
2
|
import { t as LoggerAdapter } from "../adapter-Chznb9Ju.mjs";
|
|
3
3
|
import { t as ConsolaLoggerAdapter } from "../consola-cad-VEV2.mjs";
|
|
4
4
|
import { t as PinoLoggerAdapter } from "../pino-BscMO3RR.mjs";
|
|
5
|
-
import { t as V0LoggerAdapter } from "../v0-
|
|
5
|
+
import { t as V0LoggerAdapter } from "../v0-Bdm1oHXK.mjs";
|
|
6
6
|
export { ConsolaLoggerAdapter, LoggerAdapter, PinoLoggerAdapter, V0LoggerAdapter, createLogger, createLoggerContext, createLoggerPlugin, useLogger };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "../globals-
|
|
2
|
-
import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-
|
|
1
|
+
import { t as IN_BROWSER } from "../globals-XB8xcQFv.mjs";
|
|
2
|
+
import { i as useNotifications, n as createNotificationsContext, r as createNotificationsPlugin, t as createNotifications } from "../useNotifications-C6xFiQsD.mjs";
|
|
3
3
|
//#region src/composables/useNotifications/adapters/adapter.ts
|
|
4
4
|
var NotificationsAdapter = class {};
|
|
5
5
|
//#endregion
|
|
@@ -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-CCA_18Be.mjs";
|
|
3
3
|
export { PermissionsAdapter, createPermissions, createPermissionsContext, createPermissionsPlugin, usePermissions };
|
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-CWWsE2Xt.mjs";
|
|
2
2
|
export { createRules, createRulesContext, createRulesFallback, createRulesPlugin, isStandardSchema, useRules };
|
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-Dd_snxwm.mjs";
|
|
3
3
|
export { MemoryStorageAdapter, StorageAdapter, createStorage, createStorageContext, createStoragePlugin, useStorage };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as ThemeAdapter } from "../../adapter-lS_VpRow.mjs";
|
|
2
|
-
import { t as V0StyleSheetThemeAdapter } from "../../v0-
|
|
3
|
-
import { t as V0UnheadThemeAdapter } from "../../unhead-
|
|
2
|
+
import { t as V0StyleSheetThemeAdapter } from "../../v0-DYG-2UmI.mjs";
|
|
3
|
+
import { t as V0UnheadThemeAdapter } from "../../unhead-VVWCVv5Z.mjs";
|
|
4
4
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0UnheadThemeAdapter } from "../../../unhead-
|
|
1
|
+
import { t as V0UnheadThemeAdapter } from "../../../unhead-VVWCVv5Z.mjs";
|
|
2
2
|
export { V0UnheadThemeAdapter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as V0StyleSheetThemeAdapter } from "../../../v0-
|
|
1
|
+
import { t as V0StyleSheetThemeAdapter } from "../../../v0-DYG-2UmI.mjs";
|
|
2
2
|
export { V0StyleSheetThemeAdapter };
|
package/dist/theme/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ThemeAdapter } from "../adapter-lS_VpRow.mjs";
|
|
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-
|
|
2
|
+
import { t as V0StyleSheetThemeAdapter } from "../v0-DYG-2UmI.mjs";
|
|
3
|
+
import { t as V0UnheadThemeAdapter } from "../unhead-VVWCVv5Z.mjs";
|
|
4
|
+
import { i as useTheme, n as createThemeContext, r as createThemePlugin, t as createTheme } from "../useTheme-8qFLgTvi.mjs";
|
|
5
5
|
export { ThemeAdapter, V0StyleSheetThemeAdapter, V0UnheadThemeAdapter, createTheme, createThemeContext, createThemePlugin, useTheme };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-XB8xcQFv.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-pEmKLFsd.mjs";
|
|
3
|
+
import { t as createTokens } from "./createTokens-BD7p5_XB.mjs";
|
|
4
|
+
import { t as createGroup } from "./createGroup-Czt0x8tf.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-pEmKLFsd.mjs";
|
|
3
|
+
import { t as createSingle } from "./createSingle-JWAjGQLk.mjs";
|
|
4
|
+
import { r as flatten, t as createTokens } from "./createTokens-BD7p5_XB.mjs";
|
|
5
|
+
import { t as V0LocaleAdapter } from "./v0-BLhsLm61.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-XB8xcQFv.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-Bdm1oHXK.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-XB8xcQFv.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-pEmKLFsd.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-Cu1WQTyV.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-pEmKLFsd.mjs";
|
|
3
|
+
import { t as createTokens } from "./createTokens-BD7p5_XB.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,16 +1,16 @@
|
|
|
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-XB8xcQFv.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-pEmKLFsd.mjs";
|
|
5
|
+
import { t as createRegistry } from "./createRegistry-Cu1WQTyV.mjs";
|
|
6
|
+
import { i as createModel, t as createSelection } from "./createSelection-kydb14hZ.mjs";
|
|
7
|
+
import { t as createSingle } from "./createSingle-JWAjGQLk.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-DasgNSNh.mjs";
|
|
10
|
+
import { t as createGroup } from "./createGroup-Czt0x8tf.mjs";
|
|
11
|
+
import { c as useTimer } from "./useNotifications-C6xFiQsD.mjs";
|
|
12
12
|
import { i as createFilter } from "./createPagination-B5dfqY-a.mjs";
|
|
13
|
-
import { a as useRules, o as isStandardSchema } from "./useRules-
|
|
13
|
+
import { a as useRules, o as isStandardSchema } from "./useRules-CWWsE2Xt.mjs";
|
|
14
14
|
import { computed, effectScope, hasInjectionContext, isReadonly, isRef, nextTick, onMounted, onScopeDispose, ref, shallowReactive, shallowReadonly, shallowRef, toRef, toValue, watch } from "vue";
|
|
15
15
|
//#region src/composables/useClickOutside/index.ts
|
|
16
16
|
/**
|
|
@@ -952,11 +952,13 @@ function pxToNumber(value, fallback = 0) {
|
|
|
952
952
|
* Synthesize the entry the observer would report for `el`, for the `immediate`
|
|
953
953
|
* callback that fires before the observer's own first delivery.
|
|
954
954
|
*
|
|
955
|
-
*
|
|
955
|
+
* Every measurement comes from `getComputedStyle` rather than
|
|
956
956
|
* `getBoundingClientRect` because resolved lengths are layout values — like the
|
|
957
957
|
* observer, and unlike a client rect, they are not scaled by CSS transforms.
|
|
958
|
-
* `contentRect`
|
|
959
|
-
*
|
|
958
|
+
* `contentRect` mirrors the native entry: width/height are the content box and
|
|
959
|
+
* top/left are the padding offsets, so the immediate entry matches what the
|
|
960
|
+
* observer reports next. The client rect only remains as the fallback when a
|
|
961
|
+
* resolved length is not numeric (e.g. a detached element).
|
|
960
962
|
*
|
|
961
963
|
* Every read is written to tolerate a partial style declaration: an element
|
|
962
964
|
* with no layout box resolves its lengths to `''`, and this runs on whatever
|
|
@@ -966,8 +968,14 @@ function pxToNumber(value, fallback = 0) {
|
|
|
966
968
|
function measure(el) {
|
|
967
969
|
const rect = el.getBoundingClientRect();
|
|
968
970
|
const style = getComputedStyle(el);
|
|
969
|
-
const
|
|
970
|
-
|
|
971
|
+
const padding = {
|
|
972
|
+
top: /* @__PURE__ */ pxToNumber(style.paddingTop),
|
|
973
|
+
left: /* @__PURE__ */ pxToNumber(style.paddingLeft),
|
|
974
|
+
right: /* @__PURE__ */ pxToNumber(style.paddingRight),
|
|
975
|
+
bottom: /* @__PURE__ */ pxToNumber(style.paddingBottom)
|
|
976
|
+
};
|
|
977
|
+
const paddingX = padding.left + padding.right;
|
|
978
|
+
const paddingY = padding.top + padding.bottom;
|
|
971
979
|
const borderX = /* @__PURE__ */ pxToNumber(style.borderLeftWidth) + /* @__PURE__ */ pxToNumber(style.borderRightWidth);
|
|
972
980
|
const borderY = /* @__PURE__ */ pxToNumber(style.borderTopWidth) + /* @__PURE__ */ pxToNumber(style.borderBottomWidth);
|
|
973
981
|
const outer = style.boxSizing === "border-box";
|
|
@@ -986,10 +994,10 @@ function measure(el) {
|
|
|
986
994
|
const block = vertical ? width : height;
|
|
987
995
|
return {
|
|
988
996
|
contentRect: {
|
|
989
|
-
width:
|
|
990
|
-
height:
|
|
991
|
-
top:
|
|
992
|
-
left:
|
|
997
|
+
width: width.content,
|
|
998
|
+
height: height.content,
|
|
999
|
+
top: padding.top,
|
|
1000
|
+
left: padding.left
|
|
993
1001
|
},
|
|
994
1002
|
borderBoxSize: [{
|
|
995
1003
|
inlineSize: inline.border,
|
|
@@ -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-pEmKLFsd.mjs";
|
|
3
|
+
import { a as useLocale } from "./useLocale-C8E7B4Il.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-XB8xcQFv.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-pEmKLFsd.mjs";
|
|
4
|
+
import { r as useWindowEventListener } from "./useEventListener-DasgNSNh.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-pEmKLFsd.mjs";
|
|
3
|
+
import { t as createSingle } from "./createSingle-JWAjGQLk.mjs";
|
|
4
|
+
import { r as flatten, t as createTokens } from "./createTokens-BD7p5_XB.mjs";
|
|
5
|
+
import { t as V0StyleSheetThemeAdapter } from "./v0-DYG-2UmI.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-XB8xcQFv.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,4 +1,4 @@
|
|
|
1
|
-
import { t as IN_BROWSER } from "./globals-
|
|
1
|
+
import { t as IN_BROWSER } from "./globals-XB8xcQFv.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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
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",
|