@vuetify/v0 0.0.14 → 0.0.16

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,63 +0,0 @@
1
- //#region src/utilities/helpers.ts
2
- /* @__NO_SIDE_EFFECTS__ */
3
- function isFunction(item) {
4
- return typeof item === "function";
5
- }
6
- /* @__NO_SIDE_EFFECTS__ */
7
- function isString(item) {
8
- return typeof item === "string";
9
- }
10
- /* @__NO_SIDE_EFFECTS__ */
11
- function isNumber(item) {
12
- return typeof item === "number";
13
- }
14
- /* @__NO_SIDE_EFFECTS__ */
15
- function isBoolean(item) {
16
- return typeof item === "boolean";
17
- }
18
- /* @__NO_SIDE_EFFECTS__ */
19
- function isObject(item) {
20
- return typeof item === "object" && item !== null && !Array.isArray(item);
21
- }
22
- /* @__NO_SIDE_EFFECTS__ */
23
- function isArray(item) {
24
- return Array.isArray(item);
25
- }
26
- /* @__NO_SIDE_EFFECTS__ */
27
- function isNull(item) {
28
- return item === null;
29
- }
30
- /* @__NO_SIDE_EFFECTS__ */
31
- function isNullOrUndefined(item) {
32
- return item == null;
33
- }
34
- /* @__NO_SIDE_EFFECTS__ */
35
- function isUndefined(item) {
36
- return item === void 0;
37
- }
38
- /* @__NO_SIDE_EFFECTS__ */
39
- function isPrimitive(item) {
40
- return typeof item === "string" || typeof item === "number" || typeof item === "boolean";
41
- }
42
- /* @__NO_SIDE_EFFECTS__ */
43
- function mergeDeep(target, ...sources) {
44
- if (sources.length === 0) return target;
45
- const source = sources.shift();
46
- if (/* @__PURE__ */ isObject(target) && /* @__PURE__ */ isObject(source)) {
47
- for (const key in source) if (Object.prototype.hasOwnProperty.call(source, key)) {
48
- const sourceValue = source[key];
49
- const targetValue = target[key];
50
- if (/* @__PURE__ */ isObject(sourceValue)) {
51
- if (!/* @__PURE__ */ isObject(targetValue)) Object.assign(target, { [key]: {} });
52
- } else Object.assign(target, { [key]: sourceValue });
53
- }
54
- }
55
- return /* @__PURE__ */ mergeDeep(target, ...sources);
56
- }
57
- /* @__NO_SIDE_EFFECTS__ */
58
- function genId() {
59
- return Math.random().toString(36).slice(2, 9);
60
- }
61
-
62
- //#endregion
63
- export { isNull as a, isObject as c, isUndefined as d, mergeDeep as f, isFunction as i, isPrimitive as l, isArray as n, isNullOrUndefined as o, isBoolean as r, isNumber as s, genId as t, isString as u };