@vuetify/v0 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -27
- package/dist/browser/index.js +7353 -4921
- package/dist/components/index.d.mts +4 -4
- package/dist/components/index.mjs +5 -5
- package/dist/{components-BomyjmT3.mjs → components-BI9xdoz5.mjs} +1171 -122
- package/dist/composables/index.d.mts +4 -4
- package/dist/composables/index.mjs +4 -5
- package/dist/constants/index.d.mts +1 -1
- package/dist/constants/index.mjs +2 -2
- package/dist/{globals-C3JrEDXZ.mjs → globals-WKdFmgwy.mjs} +1 -1
- package/dist/{index-MLb3LH9a.d.mts → index-Bby5ljat.d.mts} +55 -55
- package/dist/{index-CxeZr8jO.d.mts → index-C8YcMooA.d.mts} +6 -2
- package/dist/index-_y91DmIS.d.mts +4019 -0
- package/dist/{index-OU0IRbIS.d.mts → index-rcTqb9U3.d.mts} +610 -71
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +6 -7
- package/dist/json/attributes.json +898 -0
- package/dist/json/importMap.json +176 -0
- package/dist/json/tags.json +441 -0
- package/dist/json/web-types.json +2132 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/useClickOutside-B47X8X6-.mjs +7656 -0
- package/dist/utilities/index.d.mts +3 -3
- package/dist/utilities/index.mjs +2 -2
- package/dist/{utilities-CjDz-Xvn.mjs → utilities-9i1hJnMd.mjs} +28 -1
- package/package.json +10 -4
- package/dist/composables-CbAPZabd.mjs +0 -3113
- package/dist/index-B0QJdwz9.d.mts +0 -2488
- package/dist/useStep-CfgBbrJB.mjs +0 -3192
- /package/dist/{constants-DypzAkYp.mjs → constants-3l8TGg5J.mjs} +0 -0
- /package/dist/{index-B9mKi4pr.d.mts → index-DMQJJUrv.d.mts} +0 -0
- /package/dist/{index-4jSy8KIt.d.mts → index-DYSwiS9k.d.mts} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../index-
|
|
2
|
-
import { _ as
|
|
3
|
-
export { clamp, debounce, genId, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
|
|
1
|
+
import "../index-DYSwiS9k.mjs";
|
|
2
|
+
import { _ as isUndefined, a as genId, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as debounce, l as isNaN, m as isPrimitive, n as instanceName, o as isArray, p as isObject, r as clamp, s as isBoolean, t as instanceExists, u as isNull, v as mergeDeep, y as range } from "../index-C8YcMooA.mjs";
|
|
3
|
+
export { clamp, debounce, genId, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as isUndefined, a as genId, c as isFunction, d as isNullOrUndefined, f as isNumber, g as isSymbol, h as isString, i as debounce, l as isNaN, m as isPrimitive, n as instanceName, o as isArray, p as isObject, r as clamp, s as isBoolean, t as instanceExists, u as isNull, v as mergeDeep, y as range } from "../utilities-9i1hJnMd.mjs";
|
|
2
2
|
|
|
3
|
-
export { clamp, debounce, genId, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
|
|
3
|
+
export { clamp, debounce, genId, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import * as Vue from "vue";
|
|
2
|
+
|
|
1
3
|
//#region src/utilities/helpers.ts
|
|
2
4
|
/**
|
|
3
5
|
* Checks if a value is a function
|
|
@@ -366,4 +368,29 @@ function debounce(fn, delay) {
|
|
|
366
368
|
}
|
|
367
369
|
|
|
368
370
|
//#endregion
|
|
369
|
-
|
|
371
|
+
//#region src/utilities/instance.ts
|
|
372
|
+
/**
|
|
373
|
+
* Vue 3.6+ exposes `currentInstance` for Vapor mode compatibility.
|
|
374
|
+
* `getCurrentInstance()` returns null in Vapor components by design,
|
|
375
|
+
* so we access `currentInstance` directly when available.
|
|
376
|
+
*
|
|
377
|
+
* Uses dynamic key to avoid bundler static analysis warnings.
|
|
378
|
+
*
|
|
379
|
+
* @see https://github.com/orgs/vuejs/discussions/13629
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
const INSTANCE_KEY = "currentInstance";
|
|
383
|
+
function getInstanceCompat() {
|
|
384
|
+
const vueExports = Vue;
|
|
385
|
+
if (INSTANCE_KEY in vueExports) return vueExports[INSTANCE_KEY];
|
|
386
|
+
return Vue.getCurrentInstance();
|
|
387
|
+
}
|
|
388
|
+
function instanceExists() {
|
|
389
|
+
return !/* @__PURE__ */ isNull(getInstanceCompat());
|
|
390
|
+
}
|
|
391
|
+
function instanceName() {
|
|
392
|
+
return getInstanceCompat()?.type?.name;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
//#endregion
|
|
396
|
+
export { isUndefined as _, genId as a, isFunction as c, isNullOrUndefined as d, isNumber as f, isSymbol as g, isString as h, debounce as i, isNaN as l, isPrimitive as m, instanceName as n, isArray as o, isObject as p, clamp as r, isBoolean as s, instanceExists as t, isNull as u, mergeDeep as v, range as y };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuetify/v0",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Vuetify0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -20,10 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@vue/test-utils": "^2.4.6",
|
|
23
|
-
"tsdown": "^0.16.
|
|
23
|
+
"tsdown": "^0.16.8",
|
|
24
|
+
"tsx": "^4.21.0",
|
|
24
25
|
"typescript": "5.9.3",
|
|
25
26
|
"unplugin-vue": "^7.1.0",
|
|
26
|
-
"vue": "3.5.24"
|
|
27
|
+
"vue": "3.5.24",
|
|
28
|
+
"vue-component-meta": "^3.2.2"
|
|
27
29
|
},
|
|
28
30
|
"exports": {
|
|
29
31
|
".": "./dist/index.mjs",
|
|
@@ -35,8 +37,12 @@
|
|
|
35
37
|
"./package.json": "./package.json",
|
|
36
38
|
"./browser": "./dist/browser/index.js"
|
|
37
39
|
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@js-temporal/polyfill": "0.5.1"
|
|
42
|
+
},
|
|
38
43
|
"scripts": {
|
|
39
|
-
"build": "tsdown",
|
|
44
|
+
"build": "tsdown && pnpm generate:web-types",
|
|
45
|
+
"generate:web-types": "tsx scripts/generate-web-types.ts",
|
|
40
46
|
"typecheck": "vue-tsc --noEmit --incremental"
|
|
41
47
|
}
|
|
42
48
|
}
|