x-essential-lib 0.9.28 → 0.9.30
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/i18n-en.lqadbyvh.js +102 -0
- package/dist/i18n-zhHans.jagnyxbk.js +102 -0
- package/dist/index.d.ts +357 -7
- package/dist/index.js +486 -454
- package/dist/rolldown-runtime.msh1uh5g.js +11 -0
- package/dist/vendor.fdumcx9j.js +224 -0
- package/package.json +17 -16
- package/dist/components/confirmDlg/index.vue.d.ts +0 -3
- package/dist/components/index.d.ts +0 -2
- package/dist/components/loading/index.vue.d.ts +0 -7
- package/dist/components/message/index.vue.d.ts +0 -3
- package/dist/components/message/item.vue.d.ts +0 -14
- package/dist/components/message/types.d.ts +0 -2
- package/dist/components/numberDlg/index.vue.d.ts +0 -3
- package/dist/components/promptDlg/index.vue.d.ts +0 -3
- package/dist/components/waitDlg/index.vue.d.ts +0 -3
- package/dist/composables/color.d.ts +0 -39
- package/dist/composables/index.d.ts +0 -5
- package/dist/composables/microApp.d.ts +0 -3
- package/dist/composables/permission.d.ts +0 -4
- package/dist/composables/system.d.ts +0 -8
- package/dist/composables/viewStack.d.ts +0 -3
- package/dist/en.lh9n40a2.js +0 -2
- package/dist/i18n/index.d.ts +0 -1
- package/dist/i18n-en.ioic6dni.js +0 -99
- package/dist/i18n-zhHans.jmqbtwe8.js +0 -99
- package/dist/utils/axios.d.ts +0 -8
- package/dist/utils/dialog.d.ts +0 -37
- package/dist/utils/index.d.ts +0 -9
- package/dist/utils/message.d.ts +0 -4
- package/dist/utils/misc.d.ts +0 -9
- package/dist/utils/permission.d.ts +0 -139
- package/dist/utils/provideInject.d.ts +0 -14
- package/dist/utils/router.d.ts +0 -14
- package/dist/utils/type.d.ts +0 -4
- package/dist/utils/viewMgr.d.ts +0 -8
- package/dist/vendor.nojbp8i6.js +0 -203
- package/dist/zhHans.k0vi0ko0.js +0 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var e = Object.defineProperty, t = (t, n) => {
|
|
3
|
+
let r = {};
|
|
4
|
+
for (var i in t) e(r, i, {
|
|
5
|
+
get: t[i],
|
|
6
|
+
enumerable: !0
|
|
7
|
+
});
|
|
8
|
+
return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { t };
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { computed as e, getCurrentInstance as t, getCurrentScope as n, hasInjectionContext as r, inject as i, onMounted as a, shallowRef as o, toValue as s, unref as c, watch as l, watchEffect as u } from "vue";
|
|
2
|
+
//#region node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.30_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
|
+
var d = /* @__PURE__ */ new WeakMap(), f = (...e) => {
|
|
4
|
+
let a = e[0], o = t()?.proxy ?? n();
|
|
5
|
+
if (o == null && !r()) throw Error("injectLocal must be called in setup");
|
|
6
|
+
return o && d.has(o) && a in d.get(o) ? d.get(o)[a] : i(...e);
|
|
7
|
+
}, p = typeof window < "u" && typeof document < "u";
|
|
8
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
9
|
+
var m = Object.prototype.toString, h = (e) => m.call(e) === "[object Object]";
|
|
10
|
+
function g(e) {
|
|
11
|
+
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
12
|
+
}
|
|
13
|
+
function _(e) {
|
|
14
|
+
return Array.isArray(e) ? e : [e];
|
|
15
|
+
}
|
|
16
|
+
function v(e, t, n) {
|
|
17
|
+
return l(e, t, {
|
|
18
|
+
...n,
|
|
19
|
+
immediate: !0
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.30_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
|
|
24
|
+
var y = p ? window : void 0;
|
|
25
|
+
p && window.document, p && window.navigator, p && window.location;
|
|
26
|
+
function b(e) {
|
|
27
|
+
let t = s(e);
|
|
28
|
+
return t?.$el ?? t;
|
|
29
|
+
}
|
|
30
|
+
function x(...t) {
|
|
31
|
+
let n = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), r = e(() => {
|
|
32
|
+
let e = _(s(t[0])).filter((e) => e != null);
|
|
33
|
+
return e.every((e) => typeof e != "string") ? e : void 0;
|
|
34
|
+
});
|
|
35
|
+
return v(() => [
|
|
36
|
+
r.value?.map((e) => b(e)) ?? [y].filter((e) => e != null),
|
|
37
|
+
_(s(r.value ? t[1] : t[0])),
|
|
38
|
+
_(c(r.value ? t[2] : t[1])),
|
|
39
|
+
s(r.value ? t[3] : t[2])
|
|
40
|
+
], ([e, t, r, i], a, o) => {
|
|
41
|
+
if (!e?.length || !t?.length || !r?.length) return;
|
|
42
|
+
let s = h(i) ? { ...i } : i, c = e.flatMap((e) => t.flatMap((t) => r.map((r) => n(e, t, r, s))));
|
|
43
|
+
o(() => {
|
|
44
|
+
c.forEach((e) => e());
|
|
45
|
+
});
|
|
46
|
+
}, { flush: "post" });
|
|
47
|
+
}
|
|
48
|
+
function S() {
|
|
49
|
+
let e = o(!1), n = t();
|
|
50
|
+
return n && a(() => {
|
|
51
|
+
e.value = !0;
|
|
52
|
+
}, n), e;
|
|
53
|
+
}
|
|
54
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
55
|
+
function C(t) {
|
|
56
|
+
let n = S();
|
|
57
|
+
return e(() => (n.value, !!t()));
|
|
58
|
+
}
|
|
59
|
+
var ee = Symbol("vueuse-ssr-width");
|
|
60
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
61
|
+
function w() {
|
|
62
|
+
let e = r() ? f(ee, null) : null;
|
|
63
|
+
return typeof e == "number" ? e : void 0;
|
|
64
|
+
}
|
|
65
|
+
function T(t, n = {}) {
|
|
66
|
+
let { window: r = y, ssrWidth: i = /* @__PURE__ */ w() } = n, a = /* @__PURE__ */ C(() => r && "matchMedia" in r && typeof r.matchMedia == "function"), c = o(typeof i == "number"), l = o(), d = o(!1);
|
|
67
|
+
return u(() => {
|
|
68
|
+
if (c.value) {
|
|
69
|
+
c.value = !a.value, d.value = s(t).split(",").some((e) => {
|
|
70
|
+
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), r = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || r);
|
|
71
|
+
return n && a && (a = i >= g(n[1])), r && a && (a = i <= g(r[1])), t ? !a : a;
|
|
72
|
+
});
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
a.value && (l.value = r.matchMedia(s(t)), d.value = l.value.matches);
|
|
76
|
+
}), x(l, "change", (e) => {
|
|
77
|
+
d.value = e.matches;
|
|
78
|
+
}, { passive: !0 }), e(() => d.value);
|
|
79
|
+
}
|
|
80
|
+
function E(e) {
|
|
81
|
+
return T("(prefers-color-scheme: dark)", e);
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.mjs
|
|
85
|
+
function D(e) {
|
|
86
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
87
|
+
var n = arguments[t];
|
|
88
|
+
for (var r in n) e[r] = n[r];
|
|
89
|
+
}
|
|
90
|
+
return e;
|
|
91
|
+
}
|
|
92
|
+
var O = {
|
|
93
|
+
read: function(e) {
|
|
94
|
+
return e[0] === "\"" && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
95
|
+
},
|
|
96
|
+
write: function(e) {
|
|
97
|
+
return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
function k(e, t) {
|
|
101
|
+
function n(n, r, i) {
|
|
102
|
+
if (!(typeof document > "u")) {
|
|
103
|
+
i = D({}, t, i), typeof i.expires == "number" && (i.expires = new Date(Date.now() + i.expires * 864e5)), i.expires &&= i.expires.toUTCString(), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
104
|
+
var a = "";
|
|
105
|
+
for (var o in i) i[o] && (a += "; " + o, i[o] !== !0 && (a += "=" + i[o].split(";")[0]));
|
|
106
|
+
return document.cookie = n + "=" + e.write(r, n) + a;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
function r(t) {
|
|
110
|
+
if (!(typeof document > "u" || arguments.length && !t)) {
|
|
111
|
+
for (var n = document.cookie ? document.cookie.split("; ") : [], r = {}, i = 0; i < n.length; i++) {
|
|
112
|
+
var a = n[i].split("="), o = a.slice(1).join("=");
|
|
113
|
+
try {
|
|
114
|
+
var s = decodeURIComponent(a[0]);
|
|
115
|
+
if (r[s] = e.read(o, s), t === s) break;
|
|
116
|
+
} catch {}
|
|
117
|
+
}
|
|
118
|
+
return t ? r[t] : r;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return Object.create({
|
|
122
|
+
set: n,
|
|
123
|
+
get: r,
|
|
124
|
+
remove: function(e, t) {
|
|
125
|
+
n(e, "", D({}, t, { expires: -1 }));
|
|
126
|
+
},
|
|
127
|
+
withAttributes: function(e) {
|
|
128
|
+
return k(this.converter, D({}, this.attributes, e));
|
|
129
|
+
},
|
|
130
|
+
withConverter: function(e) {
|
|
131
|
+
return k(D({}, this.converter, e), this.attributes);
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
attributes: { value: Object.freeze(t) },
|
|
135
|
+
converter: { value: Object.freeze(e) }
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
var A = k(O, { path: "/" });
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/.pnpm/mitt@3.0.1/node_modules/mitt/dist/mitt.mjs
|
|
141
|
+
function j(e) {
|
|
142
|
+
return {
|
|
143
|
+
all: e ||= /* @__PURE__ */ new Map(),
|
|
144
|
+
on: function(t, n) {
|
|
145
|
+
var r = e.get(t);
|
|
146
|
+
r ? r.push(n) : e.set(t, [n]);
|
|
147
|
+
},
|
|
148
|
+
off: function(t, n) {
|
|
149
|
+
var r = e.get(t);
|
|
150
|
+
r && (n ? r.splice(r.indexOf(n) >>> 0, 1) : e.set(t, []));
|
|
151
|
+
},
|
|
152
|
+
emit: function(t, n) {
|
|
153
|
+
var r = e.get(t);
|
|
154
|
+
r && r.slice().map(function(e) {
|
|
155
|
+
e(n);
|
|
156
|
+
}), (r = e.get("*")) && r.slice().map(function(e) {
|
|
157
|
+
e(t, n);
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js
|
|
164
|
+
var M = typeof global == "object" && global && global.Object === Object && global, N = typeof self == "object" && self && self.Object === Object && self, P = (M || N || Function("return this")()).Symbol, F = Object.prototype, I = F.hasOwnProperty, L = F.toString, R = P ? P.toStringTag : void 0;
|
|
165
|
+
function z(e) {
|
|
166
|
+
var t = I.call(e, R), n = e[R];
|
|
167
|
+
try {
|
|
168
|
+
e[R] = void 0;
|
|
169
|
+
var r = !0;
|
|
170
|
+
} catch {}
|
|
171
|
+
var i = L.call(e);
|
|
172
|
+
return r && (t ? e[R] = n : delete e[R]), i;
|
|
173
|
+
}
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js
|
|
176
|
+
var te = Object.prototype.toString;
|
|
177
|
+
function B(e) {
|
|
178
|
+
return te.call(e);
|
|
179
|
+
}
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js
|
|
182
|
+
var V = "[object Null]", H = "[object Undefined]", U = P ? P.toStringTag : void 0;
|
|
183
|
+
function W(e) {
|
|
184
|
+
return e == null ? e === void 0 ? H : V : U && U in Object(e) ? z(e) : B(e);
|
|
185
|
+
}
|
|
186
|
+
//#endregion
|
|
187
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js
|
|
188
|
+
function G(e) {
|
|
189
|
+
return typeof e == "object" && !!e;
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js
|
|
193
|
+
var K = "[object Symbol]";
|
|
194
|
+
function q(e) {
|
|
195
|
+
return typeof e == "symbol" || G(e) && W(e) == K;
|
|
196
|
+
}
|
|
197
|
+
//#endregion
|
|
198
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js
|
|
199
|
+
function J(e, t) {
|
|
200
|
+
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
201
|
+
return i;
|
|
202
|
+
}
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isArray.js
|
|
205
|
+
var Y = Array.isArray, X = Infinity, Z = P ? P.prototype : void 0, Q = Z ? Z.toString : void 0;
|
|
206
|
+
function $(e) {
|
|
207
|
+
if (typeof e == "string") return e;
|
|
208
|
+
if (Y(e)) return J(e, $) + "";
|
|
209
|
+
if (q(e)) return Q ? Q.call(e) : "";
|
|
210
|
+
var t = e + "";
|
|
211
|
+
return t == "0" && 1 / e == -X ? "-0" : t;
|
|
212
|
+
}
|
|
213
|
+
//#endregion
|
|
214
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toString.js
|
|
215
|
+
function ne(e) {
|
|
216
|
+
return e == null ? "" : $(e);
|
|
217
|
+
}
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toLower.js
|
|
220
|
+
function re(e) {
|
|
221
|
+
return ne(e).toLowerCase();
|
|
222
|
+
}
|
|
223
|
+
//#endregion
|
|
224
|
+
export { E as i, j as n, A as r, re as t };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-essential-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.30",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -23,39 +23,40 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@vueuse/core": "^14.2.1",
|
|
26
|
-
"axios": "^1.13.
|
|
26
|
+
"axios": "^1.13.6",
|
|
27
27
|
"js-cookie": "^3.0.5",
|
|
28
28
|
"lodash-es": "^4.17.23",
|
|
29
29
|
"mitt": "^3.0.1",
|
|
30
|
-
"vue": "^3.5.
|
|
31
|
-
"vue-i18n": "^11.
|
|
30
|
+
"vue": "^3.5.30",
|
|
31
|
+
"vue-i18n": "^11.3.0",
|
|
32
32
|
"vue-router": "^5.0.3",
|
|
33
|
-
"vuetify": "^4.0.
|
|
33
|
+
"vuetify": "^4.0.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^10.0.1",
|
|
37
|
+
"@tsconfig/node24": "^24.0.4",
|
|
37
38
|
"@types/js-cookie": "^3.0.6",
|
|
38
39
|
"@types/lodash-es": "^4.17.12",
|
|
39
|
-
"@types/node": "^25.
|
|
40
|
+
"@types/node": "^25.4.0",
|
|
40
41
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
41
|
-
"
|
|
42
|
+
"@vue/tsconfig": "^0.9.1",
|
|
43
|
+
"eslint": "^10.0.3",
|
|
42
44
|
"eslint-config-prettier": "^10.1.8",
|
|
43
45
|
"eslint-plugin-prettier": "^5.5.5",
|
|
46
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
44
47
|
"eslint-plugin-vue": "^10.8.0",
|
|
45
|
-
"globals": "^17.
|
|
48
|
+
"globals": "^17.4.0",
|
|
46
49
|
"husky": "^9.1.7",
|
|
47
|
-
"lint-staged": "^16.
|
|
50
|
+
"lint-staged": "^16.3.3",
|
|
48
51
|
"prettier": "3.8.1",
|
|
49
|
-
"sass": "^1.
|
|
52
|
+
"sass": "^1.98.0",
|
|
50
53
|
"typescript": "^5.9.3",
|
|
51
|
-
"typescript-eslint": "^8.
|
|
52
|
-
"vite": "
|
|
53
|
-
"vite-plugin-css-injected-by-js": "^
|
|
54
|
+
"typescript-eslint": "^8.57.0",
|
|
55
|
+
"vite": "^8.0.0",
|
|
56
|
+
"vite-plugin-css-injected-by-js": "^4.0.1",
|
|
57
|
+
"vite-plugin-dts": "^4.5.4",
|
|
54
58
|
"vite-plugin-vuetify": "^2.1.3",
|
|
55
59
|
"vue-eslint-parser": "^10.4.0",
|
|
56
60
|
"vue-tsc": "^3.2.5"
|
|
57
|
-
},
|
|
58
|
-
"overrides": {
|
|
59
|
-
"vite": "npm:rolldown-vite@7.3.1"
|
|
60
61
|
}
|
|
61
62
|
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
open?: boolean;
|
|
3
|
-
zIndex?: number;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
-
declare const _default: typeof __VLS_export;
|
|
7
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Type } from './types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
id: number;
|
|
4
|
-
type: Type;
|
|
5
|
-
text: string;
|
|
6
|
-
timeout?: number;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
timeout: (...args: any[]) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
-
onTimeout?: ((...args: any[]) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const _default: typeof __VLS_export;
|
|
14
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare function useColor(): {
|
|
2
|
-
primaryColor: import("vue").ComputedRef<string | number | {
|
|
3
|
-
readonly h: number;
|
|
4
|
-
readonly s: number;
|
|
5
|
-
readonly v: number;
|
|
6
|
-
readonly a?: number | undefined;
|
|
7
|
-
} | {
|
|
8
|
-
readonly r: number;
|
|
9
|
-
readonly g: number;
|
|
10
|
-
readonly b: number;
|
|
11
|
-
readonly a?: number | undefined;
|
|
12
|
-
} | {
|
|
13
|
-
readonly h: number;
|
|
14
|
-
readonly s: number;
|
|
15
|
-
readonly l: number;
|
|
16
|
-
readonly a?: number | undefined;
|
|
17
|
-
}>;
|
|
18
|
-
secondaryColor: import("vue").ComputedRef<string | number | {
|
|
19
|
-
readonly h: number;
|
|
20
|
-
readonly s: number;
|
|
21
|
-
readonly v: number;
|
|
22
|
-
readonly a?: number | undefined;
|
|
23
|
-
} | {
|
|
24
|
-
readonly r: number;
|
|
25
|
-
readonly g: number;
|
|
26
|
-
readonly b: number;
|
|
27
|
-
readonly a?: number | undefined;
|
|
28
|
-
} | {
|
|
29
|
-
readonly h: number;
|
|
30
|
-
readonly s: number;
|
|
31
|
-
readonly l: number;
|
|
32
|
-
readonly a?: number | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
backgroundColor0: import("vue").ComputedRef<"#2e2e2e" | "#bdbdbd">;
|
|
35
|
-
backgroundColor1: import("vue").ComputedRef<"#272727" | "#eeeeee">;
|
|
36
|
-
backgroundColor2: import("vue").ComputedRef<"#1e1e1e" | "#ffffff">;
|
|
37
|
-
highlightColor: import("vue").ComputedRef<"#303030" | "#f6f6f6">;
|
|
38
|
-
borderColor: import("vue").ComputedRef<"#ffffff1f" | "#0000001f">;
|
|
39
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { PermissionObjects } from '@/utils';
|
|
3
|
-
export declare function useMicroApp(dark: Ref<boolean | undefined>, locale: Ref<string>, permissionObjects: Ref<PermissionObjects>, permissionChecksum: Ref<string>, lastAppPath: Ref<string>, views: Ref<string[]>): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function useSystem(): {
|
|
2
|
-
sysBarAvail: import("vue").ComputedRef<boolean>;
|
|
3
|
-
compactWidth: import("vue").ComputedRef<string>;
|
|
4
|
-
isCurvedScreen: import("vue").ComputedRef<boolean>;
|
|
5
|
-
isMobile: () => boolean;
|
|
6
|
-
nameList: (entries: string[], instances?: string[]) => string;
|
|
7
|
-
sentenceOfAsk: (verb: string, object: string, name: string) => string;
|
|
8
|
-
};
|
package/dist/en.lh9n40a2.js
DELETED
package/dist/i18n/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function loadLocaleMessageEssential(locale: string): Promise<object>;
|
package/dist/i18n-en.ioic6dni.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
var en_default = {
|
|
2
|
-
$vuetify: {
|
|
3
|
-
badge: "Badge",
|
|
4
|
-
open: "Open",
|
|
5
|
-
close: "Close",
|
|
6
|
-
dismiss: "Dismiss",
|
|
7
|
-
confirmEdit: {
|
|
8
|
-
ok: "OK",
|
|
9
|
-
cancel: "Cancel"
|
|
10
|
-
},
|
|
11
|
-
dataIterator: {
|
|
12
|
-
noResultsText: "No matching records found",
|
|
13
|
-
loadingText: "Loading items..."
|
|
14
|
-
},
|
|
15
|
-
dataTable: {
|
|
16
|
-
itemsPerPageText: "Rows per page:",
|
|
17
|
-
ariaLabel: {
|
|
18
|
-
sortDescending: "Sorted descending.",
|
|
19
|
-
sortAscending: "Sorted ascending.",
|
|
20
|
-
sortNone: "Not sorted.",
|
|
21
|
-
activateNone: "Activate to remove sorting.",
|
|
22
|
-
activateDescending: "Activate to sort descending.",
|
|
23
|
-
activateAscending: "Activate to sort ascending."
|
|
24
|
-
},
|
|
25
|
-
sortBy: "Sort by"
|
|
26
|
-
},
|
|
27
|
-
dataFooter: {
|
|
28
|
-
itemsPerPageText: "Items per page:",
|
|
29
|
-
itemsPerPageAll: "All",
|
|
30
|
-
nextPage: "Next page",
|
|
31
|
-
prevPage: "Previous page",
|
|
32
|
-
firstPage: "First page",
|
|
33
|
-
lastPage: "Last page",
|
|
34
|
-
pageText: "{0}-{1} of {2}"
|
|
35
|
-
},
|
|
36
|
-
dateRangeInput: { divider: "to" },
|
|
37
|
-
datePicker: {
|
|
38
|
-
itemsSelected: "{0} selected",
|
|
39
|
-
range: {
|
|
40
|
-
title: "Select dates",
|
|
41
|
-
header: "Enter dates"
|
|
42
|
-
},
|
|
43
|
-
title: "Select date",
|
|
44
|
-
header: "Enter date",
|
|
45
|
-
input: { placeholder: "Enter date" }
|
|
46
|
-
},
|
|
47
|
-
noDataText: "No data available",
|
|
48
|
-
carousel: {
|
|
49
|
-
prev: "Previous visual",
|
|
50
|
-
next: "Next visual",
|
|
51
|
-
ariaLabel: { delimiter: "Carousel slide {0} of {1}" }
|
|
52
|
-
},
|
|
53
|
-
calendar: {
|
|
54
|
-
moreEvents: "{0} more",
|
|
55
|
-
today: "Today"
|
|
56
|
-
},
|
|
57
|
-
input: {
|
|
58
|
-
clear: "Clear {0}",
|
|
59
|
-
prependAction: "{0} prepended action",
|
|
60
|
-
appendAction: "{0} appended action",
|
|
61
|
-
otp: "Please enter OTP character {0}"
|
|
62
|
-
},
|
|
63
|
-
fileInput: {
|
|
64
|
-
counter: "{0} files",
|
|
65
|
-
counterSize: "{0} files ({1} in total)"
|
|
66
|
-
},
|
|
67
|
-
timePicker: {
|
|
68
|
-
am: "AM",
|
|
69
|
-
pm: "PM",
|
|
70
|
-
title: "Select Time"
|
|
71
|
-
},
|
|
72
|
-
pagination: { ariaLabel: {
|
|
73
|
-
root: "Pagination Navigation",
|
|
74
|
-
next: "Next page",
|
|
75
|
-
previous: "Previous page",
|
|
76
|
-
page: "Go to page {0}",
|
|
77
|
-
currentPage: "Page {0}, Current page",
|
|
78
|
-
first: "First page",
|
|
79
|
-
last: "Last page"
|
|
80
|
-
} },
|
|
81
|
-
stepper: {
|
|
82
|
-
next: "Next",
|
|
83
|
-
prev: "Previous"
|
|
84
|
-
},
|
|
85
|
-
rating: { ariaLabel: { item: "Rating {0} of {1}" } },
|
|
86
|
-
loading: "Loading...",
|
|
87
|
-
infiniteScroll: {
|
|
88
|
-
loadMore: "Load more",
|
|
89
|
-
empty: "No more"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
dlg: { common: {
|
|
93
|
-
ask: "Do you want to {verb} {object} <{name}> ?",
|
|
94
|
-
cancel: "Cancel",
|
|
95
|
-
confirm: "Confirm",
|
|
96
|
-
responding: "Responding..."
|
|
97
|
-
} }
|
|
98
|
-
};
|
|
99
|
-
export { en_default as t };
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
var zhHans_default = {
|
|
2
|
-
$vuetify: {
|
|
3
|
-
badge: "徽章",
|
|
4
|
-
open: "Open",
|
|
5
|
-
close: "关闭",
|
|
6
|
-
dismiss: "Dismiss",
|
|
7
|
-
confirmEdit: {
|
|
8
|
-
ok: "OK",
|
|
9
|
-
cancel: "Cancel"
|
|
10
|
-
},
|
|
11
|
-
dataIterator: {
|
|
12
|
-
noResultsText: "没有符合条件的结果",
|
|
13
|
-
loadingText: "加载中..."
|
|
14
|
-
},
|
|
15
|
-
dataTable: {
|
|
16
|
-
itemsPerPageText: "每页数目:",
|
|
17
|
-
ariaLabel: {
|
|
18
|
-
sortDescending: ":降序排列。",
|
|
19
|
-
sortAscending: ":升序排列。",
|
|
20
|
-
sortNone: ":未排序。",
|
|
21
|
-
activateNone: "点击以移除排序。",
|
|
22
|
-
activateDescending: "点击以降序排列。",
|
|
23
|
-
activateAscending: "点击以升序排列。"
|
|
24
|
-
},
|
|
25
|
-
sortBy: "排序方式"
|
|
26
|
-
},
|
|
27
|
-
dataFooter: {
|
|
28
|
-
itemsPerPageText: "每页数目:",
|
|
29
|
-
itemsPerPageAll: "全部",
|
|
30
|
-
nextPage: "下一页",
|
|
31
|
-
prevPage: "上一页",
|
|
32
|
-
firstPage: "首页",
|
|
33
|
-
lastPage: "尾页",
|
|
34
|
-
pageText: "{0}-{1} 共 {2}"
|
|
35
|
-
},
|
|
36
|
-
dateRangeInput: { divider: "to" },
|
|
37
|
-
datePicker: {
|
|
38
|
-
itemsSelected: "{0} selected",
|
|
39
|
-
range: {
|
|
40
|
-
title: "Select dates",
|
|
41
|
-
header: "Enter dates"
|
|
42
|
-
},
|
|
43
|
-
title: "Select date",
|
|
44
|
-
header: "Enter date",
|
|
45
|
-
input: { placeholder: "Enter date" }
|
|
46
|
-
},
|
|
47
|
-
noDataText: "没有数据",
|
|
48
|
-
carousel: {
|
|
49
|
-
prev: "上一张",
|
|
50
|
-
next: "下一张",
|
|
51
|
-
ariaLabel: { delimiter: "Carousel slide {0} of {1}" }
|
|
52
|
-
},
|
|
53
|
-
calendar: {
|
|
54
|
-
moreEvents: "还有 {0} 项",
|
|
55
|
-
today: "Today"
|
|
56
|
-
},
|
|
57
|
-
input: {
|
|
58
|
-
clear: "Clear {0}",
|
|
59
|
-
prependAction: "{0} prepended action",
|
|
60
|
-
appendAction: "{0} appended action",
|
|
61
|
-
otp: "Please enter OTP character {0}"
|
|
62
|
-
},
|
|
63
|
-
fileInput: {
|
|
64
|
-
counter: "{0} 个文件",
|
|
65
|
-
counterSize: "{0} 个文件(共 {1})"
|
|
66
|
-
},
|
|
67
|
-
timePicker: {
|
|
68
|
-
am: "AM",
|
|
69
|
-
pm: "PM",
|
|
70
|
-
title: "Select Time"
|
|
71
|
-
},
|
|
72
|
-
pagination: { ariaLabel: {
|
|
73
|
-
root: "分页导航",
|
|
74
|
-
next: "下一页",
|
|
75
|
-
previous: "上一页",
|
|
76
|
-
page: "转到页面 {0}",
|
|
77
|
-
currentPage: "当前页 {0}",
|
|
78
|
-
first: "First page",
|
|
79
|
-
last: "Last page"
|
|
80
|
-
} },
|
|
81
|
-
stepper: {
|
|
82
|
-
next: "Next",
|
|
83
|
-
prev: "Previous"
|
|
84
|
-
},
|
|
85
|
-
rating: { ariaLabel: { item: "Rating {0} of {1}" } },
|
|
86
|
-
loading: "Loading...",
|
|
87
|
-
infiniteScroll: {
|
|
88
|
-
loadMore: "Load more",
|
|
89
|
-
empty: "No more"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
dlg: { common: {
|
|
93
|
-
ask: "你想要{verb}{object} <{name}> ?",
|
|
94
|
-
cancel: "取消",
|
|
95
|
-
confirm: "确定",
|
|
96
|
-
responding: "响应中..."
|
|
97
|
-
} }
|
|
98
|
-
};
|
|
99
|
-
export { zhHans_default as t };
|
package/dist/utils/axios.d.ts
DELETED