@duxweb/dvha-elementui 0.0.3 → 0.0.6
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/cjs/components/menu/TreeMenu.vue.cjs +1 -0
- package/dist/cjs/components/menu/TreeMenu.vue2.cjs +1 -0
- package/dist/cjs/hooks/tab.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.cjs +5 -0
- package/dist/cjs/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.cjs +10 -0
- package/dist/cjs/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +5 -0
- package/dist/cjs/node_modules/vue/dist/vue.runtime.esm-bundler.cjs +5 -0
- package/dist/cjs/node_modules/vue-router/dist/vue-router.cjs +5 -0
- package/dist/esm/components/menu/TreeMenu.vue.js +72 -0
- package/dist/esm/components/menu/TreeMenu.vue2.js +4 -0
- package/dist/esm/hooks/tab.js +26 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +721 -0
- package/dist/esm/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +892 -0
- package/dist/esm/node_modules/@vue/shared/dist/shared.esm-bundler.js +103 -0
- package/dist/esm/node_modules/vue/dist/vue.runtime.esm-bundler.js +40 -0
- package/dist/esm/node_modules/vue-router/dist/vue-router.js +33 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/menu/TreeMenu.vue.d.ts +26 -0
- package/dist/types/components/menu/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/tab.d.ts +1950 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +28 -2
- package/CHANGELOG.md +0 -17
- package/src/components/index.ts +0 -1
- package/src/components/menu/TreeMenu.vue +0 -53
- package/src/components/menu/index.ts +0 -1
- package/src/hooks/index.ts +0 -1
- package/src/hooks/tab.ts +0 -29
- package/src/index.ts +0 -2
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/shared v3.5.14
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
/*! #__NO_SIDE_EFFECTS__ */
|
|
7
|
+
// @__NO_SIDE_EFFECTS__
|
|
8
|
+
function N(t) {
|
|
9
|
+
const e = /* @__PURE__ */ Object.create(null);
|
|
10
|
+
for (const n of t.split(",")) e[n] = 1;
|
|
11
|
+
return (n) => n in e;
|
|
12
|
+
}
|
|
13
|
+
const M = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, P = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], D = () => {
|
|
14
|
+
}, $ = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // uppercase letter
|
|
15
|
+
(t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), x = Object.assign, h = Object.prototype.hasOwnProperty, F = (t, e) => h.call(t, e), c = Array.isArray, m = (t) => p(t) === "[object Map]", O = (t) => p(t) === "[object Set]", S = (t) => typeof t == "function", s = (t) => typeof t == "string", g = (t) => typeof t == "symbol", f = (t) => t !== null && typeof t == "object", b = Object.prototype.toString, p = (t) => b.call(t), I = (t) => p(t).slice(8, -1), j = (t) => p(t) === "[object Object]", J = (t) => s(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, y = (t) => {
|
|
16
|
+
const e = /* @__PURE__ */ Object.create(null);
|
|
17
|
+
return (n) => e[n] || (e[n] = t(n));
|
|
18
|
+
}, z = /-(\w)/g, U = y(
|
|
19
|
+
(t) => t.replace(z, (e, n) => n ? n.toUpperCase() : "")
|
|
20
|
+
), V = y((t) => t.charAt(0).toUpperCase() + t.slice(1)), Y = (t, e) => !Object.is(t, e);
|
|
21
|
+
let u;
|
|
22
|
+
const B = () => u || (u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
23
|
+
function E(t) {
|
|
24
|
+
if (c(t)) {
|
|
25
|
+
const e = {};
|
|
26
|
+
for (let n = 0; n < t.length; n++) {
|
|
27
|
+
const o = t[n], r = s(o) ? C(o) : E(o);
|
|
28
|
+
if (r)
|
|
29
|
+
for (const i in r)
|
|
30
|
+
e[i] = r[i];
|
|
31
|
+
}
|
|
32
|
+
return e;
|
|
33
|
+
} else if (s(t) || f(t))
|
|
34
|
+
return t;
|
|
35
|
+
}
|
|
36
|
+
const _ = /;(?![^(]*\))/g, w = /:([^]+)/, A = /\/\*[^]*?\*\//g;
|
|
37
|
+
function C(t) {
|
|
38
|
+
const e = {};
|
|
39
|
+
return t.replace(A, "").split(_).forEach((n) => {
|
|
40
|
+
if (n) {
|
|
41
|
+
const o = n.split(w);
|
|
42
|
+
o.length > 1 && (e[o[0].trim()] = o[1].trim());
|
|
43
|
+
}
|
|
44
|
+
}), e;
|
|
45
|
+
}
|
|
46
|
+
function R(t) {
|
|
47
|
+
let e = "";
|
|
48
|
+
if (s(t))
|
|
49
|
+
e = t;
|
|
50
|
+
else if (c(t))
|
|
51
|
+
for (let n = 0; n < t.length; n++) {
|
|
52
|
+
const o = R(t[n]);
|
|
53
|
+
o && (e += o + " ");
|
|
54
|
+
}
|
|
55
|
+
else if (f(t))
|
|
56
|
+
for (const n in t)
|
|
57
|
+
t[n] && (e += n + " ");
|
|
58
|
+
return e.trim();
|
|
59
|
+
}
|
|
60
|
+
const a = (t) => !!(t && t.__v_isRef === !0), T = (t) => s(t) ? t : t == null ? "" : c(t) || f(t) && (t.toString === b || !S(t.toString)) ? a(t) ? T(t.value) : JSON.stringify(t, d, 2) : String(t), d = (t, e) => a(e) ? d(t, e.value) : m(e) ? {
|
|
61
|
+
[`Map(${e.size})`]: [...e.entries()].reduce(
|
|
62
|
+
(n, [o, r], i) => (n[l(o, i) + " =>"] = r, n),
|
|
63
|
+
{}
|
|
64
|
+
)
|
|
65
|
+
} : O(e) ? {
|
|
66
|
+
[`Set(${e.size})`]: [...e.values()].map((n) => l(n))
|
|
67
|
+
} : g(e) ? l(e) : f(e) && !c(e) && !j(e) ? String(e) : e, l = (t, e = "") => {
|
|
68
|
+
var n;
|
|
69
|
+
return (
|
|
70
|
+
// Symbol.description in es2019+ so we need to cast here to pass
|
|
71
|
+
// the lib: es2016 check
|
|
72
|
+
g(t) ? `Symbol(${(n = t.description) != null ? n : e})` : t
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
P as EMPTY_ARR,
|
|
77
|
+
M as EMPTY_OBJ,
|
|
78
|
+
D as NOOP,
|
|
79
|
+
U as camelize,
|
|
80
|
+
V as capitalize,
|
|
81
|
+
x as extend,
|
|
82
|
+
B as getGlobalThis,
|
|
83
|
+
Y as hasChanged,
|
|
84
|
+
F as hasOwn,
|
|
85
|
+
c as isArray,
|
|
86
|
+
S as isFunction,
|
|
87
|
+
J as isIntegerKey,
|
|
88
|
+
m as isMap,
|
|
89
|
+
f as isObject,
|
|
90
|
+
$ as isOn,
|
|
91
|
+
j as isPlainObject,
|
|
92
|
+
O as isSet,
|
|
93
|
+
s as isString,
|
|
94
|
+
g as isSymbol,
|
|
95
|
+
N as makeMap,
|
|
96
|
+
R as normalizeClass,
|
|
97
|
+
E as normalizeStyle,
|
|
98
|
+
b as objectToString,
|
|
99
|
+
C as parseStringStyle,
|
|
100
|
+
T as toDisplayString,
|
|
101
|
+
I as toRawType,
|
|
102
|
+
p as toTypeString
|
|
103
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { initCustomFormatter as e } from "../../@vue/runtime-core/dist/runtime-core.esm-bundler.js";
|
|
2
|
+
import { Comment as c, Fragment as i, Text as a, callWithErrorHandling as m, cloneVNode as s, computed as d, createBlock as l, createCommentVNode as p, createElementBlock as u, createElementVNode as C, createTextVNode as N, createVNode as V, defineComponent as g, getCurrentInstance as k, guardReactiveProps as E, handleError as f, inject as x, isVNode as h, mergeProps as v, openBlock as B, queuePostFlushCb as T, renderList as F, resolveComponent as P, setBlockTracking as D, setTransitionHooks as H, withCtx as b } from "../../@vue/runtime-core/dist/runtime-core.esm-bundler.js";
|
|
3
|
+
/**
|
|
4
|
+
* vue v3.5.14
|
|
5
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
6
|
+
* @license MIT
|
|
7
|
+
**/
|
|
8
|
+
function o() {
|
|
9
|
+
e();
|
|
10
|
+
}
|
|
11
|
+
process.env.NODE_ENV !== "production" && o();
|
|
12
|
+
export {
|
|
13
|
+
c as Comment,
|
|
14
|
+
i as Fragment,
|
|
15
|
+
a as Text,
|
|
16
|
+
m as callWithErrorHandling,
|
|
17
|
+
s as cloneVNode,
|
|
18
|
+
d as computed,
|
|
19
|
+
l as createBlock,
|
|
20
|
+
p as createCommentVNode,
|
|
21
|
+
u as createElementBlock,
|
|
22
|
+
C as createElementVNode,
|
|
23
|
+
N as createTextVNode,
|
|
24
|
+
V as createVNode,
|
|
25
|
+
g as defineComponent,
|
|
26
|
+
k as getCurrentInstance,
|
|
27
|
+
E as guardReactiveProps,
|
|
28
|
+
f as handleError,
|
|
29
|
+
e as initCustomFormatter,
|
|
30
|
+
x as inject,
|
|
31
|
+
h as isVNode,
|
|
32
|
+
v as mergeProps,
|
|
33
|
+
B as openBlock,
|
|
34
|
+
T as queuePostFlushCb,
|
|
35
|
+
F as renderList,
|
|
36
|
+
P as resolveComponent,
|
|
37
|
+
D as setBlockTracking,
|
|
38
|
+
H as setTransitionHooks,
|
|
39
|
+
b as withCtx
|
|
40
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import "../../vue/dist/vue.runtime.esm-bundler.js";
|
|
2
|
+
import { inject as n } from "../../@vue/runtime-core/dist/runtime-core.esm-bundler.js";
|
|
3
|
+
/*!
|
|
4
|
+
* vue-router v4.5.1
|
|
5
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
6
|
+
* @license MIT
|
|
7
|
+
*/
|
|
8
|
+
var r;
|
|
9
|
+
(function(o) {
|
|
10
|
+
o.pop = "pop", o.push = "push";
|
|
11
|
+
})(r || (r = {}));
|
|
12
|
+
var c;
|
|
13
|
+
(function(o) {
|
|
14
|
+
o.back = "back", o.forward = "forward", o.unknown = "";
|
|
15
|
+
})(c || (c = {}));
|
|
16
|
+
Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
17
|
+
var e;
|
|
18
|
+
(function(o) {
|
|
19
|
+
o[o.aborted = 4] = "aborted", o[o.cancelled = 8] = "cancelled", o[o.duplicated = 16] = "duplicated";
|
|
20
|
+
})(e || (e = {}));
|
|
21
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
22
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
23
|
+
const t = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
|
|
24
|
+
Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
25
|
+
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
26
|
+
function d() {
|
|
27
|
+
return n(t);
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
e as NavigationFailureType,
|
|
31
|
+
t as routerKey,
|
|
32
|
+
d as useRouter
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './menu';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { IMenu } from '@duxweb/dvha-core';
|
|
2
|
+
export interface MenuOption extends IMenu {
|
|
3
|
+
children?: MenuOption[];
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
menuItems: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
onMenuClick: {
|
|
11
|
+
type: () => (item: MenuOption) => void;
|
|
12
|
+
default: () => void;
|
|
13
|
+
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
menuItems: {
|
|
16
|
+
type: ArrayConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
onMenuClick: {
|
|
20
|
+
type: () => (item: MenuOption) => void;
|
|
21
|
+
default: () => void;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
onMenuClick: (item: MenuOption) => void;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as TreeMenu } from './TreeMenu.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tab';
|