@vuetify/v0 0.0.21 → 0.0.22

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.
@@ -1,3 +1,3 @@
1
- import "../index-4jSy8KIt.mjs";
2
- import { _ as range, a as isBoolean, c as isNull, d as isObject, f as isPrimitive, g as mergeDeep, h as isUndefined, i as isArray, l as isNullOrUndefined, m as isSymbol, n as debounce, o as isFunction, p as isString, r as genId, s as isNaN, t as clamp, u as isNumber } from "../index-CxeZr8jO.mjs";
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-D3xuqKI0.mjs";
3
+ export { clamp, debounce, genId, instanceExists, instanceName, isArray, isBoolean, isFunction, isNaN, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isString, isSymbol, isUndefined, mergeDeep, range };
@@ -1,3 +1,3 @@
1
- import { _ as range, a as isBoolean, c as isNull, d as isObject, f as isPrimitive, g as mergeDeep, h as isUndefined, i as isArray, l as isNullOrUndefined, m as isSymbol, n as debounce, o as isFunction, p as isString, r as genId, s as isNaN, t as clamp, u as isNumber } from "../utilities-CjDz-Xvn.mjs";
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-CKvM4p7S.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,15 @@ function debounce(fn, delay) {
366
368
  }
367
369
 
368
370
  //#endregion
369
- export { range as _, isBoolean as a, isNull as c, isObject as d, isPrimitive as f, mergeDeep as g, isUndefined as h, isArray as i, isNullOrUndefined as l, isSymbol as m, debounce as n, isFunction as o, isString as p, genId as r, isNaN as s, clamp as t, isNumber as u };
371
+ //#region src/utilities/instance.ts
372
+ function instanceExists() {
373
+ if (Vue.version.startsWith("3.6.")) return Vue.currentInstance !== null;
374
+ return Vue.getCurrentInstance() !== null;
375
+ }
376
+ function instanceName() {
377
+ if (Vue.version.startsWith("3.6.")) return Vue.currentInstance?.type?.name;
378
+ return Vue.getCurrentInstance()?.type?.name;
379
+ }
380
+
381
+ //#endregion
382
+ 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.21",
3
+ "version": "0.0.22",
4
4
  "description": "Vuetify0",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.mjs",