dlzn-ui 1.80.0 → 1.81.0
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/assets/upload-CWjniRuv.css +1 -0
- package/chunks/{button-BgwgIEU8.mjs → button-BGaSfVHX.mjs} +1 -1
- package/chunks/{checkbox-group-C5yBbQ8-.mjs → checkbox-group-O77LYr4m.mjs} +1 -1
- package/chunks/{form-BXPhm59W.mjs → form-CC0KoMff.mjs} +6 -6
- package/chunks/{pagination-BtXI5_uR.mjs → pagination-iPAiud09.mjs} +11 -11
- package/chunks/{radio-group-a_ljkAoW.mjs → radio-group-B1x9bhAq.mjs} +1 -1
- package/chunks/{select-rZD93RO4.mjs → select-lepnATyO.mjs} +1 -1
- package/chunks/{tree-0bIqDJPq.mjs → tree-CC5F-mFY.mjs} +1 -1
- package/chunks/{tree-Y7LMh-WX.mjs → tree-DaM27ppK.mjs} +1 -1
- package/chunks/{tree-select-BByQlCU-.mjs → tree-select-B3_lEb7a.mjs} +1 -1
- package/chunks/{upload-B89N6BVO.mjs → upload-BXUXMxCu.mjs} +4 -4
- package/chunks/{user-DDXohI-o.mjs → user-C4Uq9ted.mjs} +129 -129
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/components/index.mjs +10 -10
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/tree/index.mjs +2 -2
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDic/index.mjs +1 -1
- package/hooks/useSysUser/index.mjs +1 -1
- package/index.d.ts +5 -0
- package/index.mjs +10 -10
- package/package.json +1 -1
- package/plugins/{alova → autoImport/$alova}/index.mjs +1 -1
- package/plugins/others/directive.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/assets/upload-Cp3eA2SI.css +0 -1
- /package/plugins/{alova → autoImport/$alova}/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.t-upload.file[data-v-c8248d51] .t-upload__trigger{pointer-events:none}.t-upload.file[data-v-c8248d51] .t-upload__trigger .t-button{pointer-events:auto}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "../plugins/autoImport/$loading/index.mjs";
|
|
2
|
-
import { n as t } from "./user-
|
|
2
|
+
import { n as t } from "./user-C4Uq9ted.mjs";
|
|
3
3
|
import { t as n } from "./icon-COjp1yrx.mjs";
|
|
4
4
|
import { t as r } from "./popconfirm-DxWa7vWm.mjs";
|
|
5
5
|
import { t as i } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./useAppContext-D47amIp5.mjs";
|
|
2
|
-
import { m as t } from "./user-
|
|
2
|
+
import { m as t } from "./user-C4Uq9ted.mjs";
|
|
3
3
|
import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
|
|
4
4
|
import { useList as i } from "../hooks/useList/index.mjs";
|
|
5
5
|
import { computed as a, createBlock as o, defineComponent as s, getCurrentInstance as c, h as l, mergeProps as u, openBlock as d, resolveDynamicComponent as f, unref as p } from "vue";
|
|
@@ -3,19 +3,19 @@ import t from "../plugins/autoImport/$msg/index.mjs";
|
|
|
3
3
|
import { isFalsy as n } from "../utils/boolean.mjs";
|
|
4
4
|
import { t as r } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
5
5
|
import { t as i } from "./checkbox-CLlUEbkk.mjs";
|
|
6
|
-
import { t as a } from "./checkbox-group-
|
|
6
|
+
import { t as a } from "./checkbox-group-O77LYr4m.mjs";
|
|
7
7
|
import { t as o } from "./input-number-Bt1mbd1D.mjs";
|
|
8
8
|
import { t as s } from "./input-B8jjJrK5.mjs";
|
|
9
|
-
import { t as c } from "./radio-group-
|
|
9
|
+
import { t as c } from "./radio-group-B1x9bhAq.mjs";
|
|
10
10
|
import { t as l } from "./range-input-8ddDrOBB.mjs";
|
|
11
|
-
import { t as u } from "./select-
|
|
11
|
+
import { t as u } from "./select-lepnATyO.mjs";
|
|
12
12
|
import { t as d } from "./slider-C63Gzbld.mjs";
|
|
13
13
|
import { t as f } from "./switch-CqV3-avv.mjs";
|
|
14
14
|
import { t as p } from "./tag-input-iNXrRXk2.mjs";
|
|
15
15
|
import { t as m } from "./textarea-xkwOhNut.mjs";
|
|
16
|
-
import { t as ee } from "./tree-select-
|
|
17
|
-
import { t as te } from "./tree-
|
|
18
|
-
import { t as ne } from "./upload-
|
|
16
|
+
import { t as ee } from "./tree-select-B3_lEb7a.mjs";
|
|
17
|
+
import { t as te } from "./tree-DaM27ppK.mjs";
|
|
18
|
+
import { t as ne } from "./upload-BXUXMxCu.mjs";
|
|
19
19
|
import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, defineAsyncComponent as b, defineComponent as x, getCurrentInstance as S, mergeDefaults as C, mergeProps as w, nextTick as T, onMounted as re, openBlock as E, provide as D, reactive as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as M, shallowRef as N, unref as P, watch as F, withCtx as I } from "vue";
|
|
20
20
|
import { useMutationObserver as L, useResizeObserver as R } from "@vueuse/core";
|
|
21
21
|
import { Form as z, FormItem as B } from "tdesign-vue-next";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
1
|
+
import { t as e } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
+
import t from "../plugins/autoImport/$confirm/index.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
4
4
|
import { Pagination as d } from "tdesign-vue-next";
|
|
5
5
|
import '../assets/pagination-D7QwybX3.css';//#endregion
|
|
6
6
|
//#region ../../packages/dlzn-ui/components/pagination/src/pagination.vue
|
|
7
|
-
var f = /*#__PURE__*/
|
|
7
|
+
var f = /*#__PURE__*/ e(/* @__PURE__ */ i({
|
|
8
8
|
inheritAttrs: !1,
|
|
9
9
|
name: "TPagination",
|
|
10
10
|
__name: "pagination",
|
|
@@ -48,8 +48,8 @@ var f = /*#__PURE__*/ t(/* @__PURE__ */ i({
|
|
|
48
48
|
pageSize: {}
|
|
49
49
|
},
|
|
50
50
|
emits: ["update:modelValue", "update:pageSize"],
|
|
51
|
-
setup(
|
|
52
|
-
let f =
|
|
51
|
+
setup(e, { emit: i }) {
|
|
52
|
+
let f = e, p = i, m = n(() => {
|
|
53
53
|
let e = { ...f };
|
|
54
54
|
return Object.keys(e).forEach((t) => {
|
|
55
55
|
e[t] === void 0 && delete e[t];
|
|
@@ -58,20 +58,20 @@ var f = /*#__PURE__*/ t(/* @__PURE__ */ i({
|
|
|
58
58
|
function _(e) {
|
|
59
59
|
g.exposed = e ?? {};
|
|
60
60
|
}
|
|
61
|
-
return (
|
|
61
|
+
return (e, n) => (c(), r(l(o(u(h), s(e.$attrs, {
|
|
62
62
|
...m.value,
|
|
63
63
|
ref: _,
|
|
64
|
-
onCurrentChange: (...
|
|
65
|
-
if (
|
|
66
|
-
u(
|
|
64
|
+
onCurrentChange: (...e) => {
|
|
65
|
+
if (e[0] > 100) {
|
|
66
|
+
u(t)("仅支持前100页的查看,请用查询条件筛选数据!");
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
|
-
p("update:modelValue",
|
|
69
|
+
p("update:modelValue", e[0]), f.onCurrentChange?.(...e);
|
|
70
70
|
},
|
|
71
71
|
onPageSizeChange: (...e) => {
|
|
72
72
|
p("update:pageSize", e[0]), f.onPageSizeChange?.(...e);
|
|
73
73
|
}
|
|
74
|
-
}),
|
|
74
|
+
}), e.$slots))));
|
|
75
75
|
}
|
|
76
76
|
}), [["__scopeId", "data-v-2fa755d5"]]);
|
|
77
77
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./useAppContext-D47amIp5.mjs";
|
|
2
|
-
import { m as t } from "./user-
|
|
2
|
+
import { m as t } from "./user-C4Uq9ted.mjs";
|
|
3
3
|
import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
|
|
4
4
|
import { stringDisplay as i } from "../utils/string.mjs";
|
|
5
5
|
import { useList as a } from "../hooks/useList/index.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e } from "./useAppContext-D47amIp5.mjs";
|
|
2
|
-
import { m as t } from "./user-
|
|
2
|
+
import { m as t } from "./user-C4Uq9ted.mjs";
|
|
3
3
|
import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
|
|
4
4
|
import { stringDisplay as i } from "../utils/string.mjs";
|
|
5
5
|
import { useList as a } from "../hooks/useList/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./tree-
|
|
1
|
+
import { t as e } from "./tree-CC5F-mFY.mjs";
|
|
2
2
|
import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u, useSlots as d } from "vue";
|
|
3
3
|
import { Tree as f } from "tdesign-vue-next";
|
|
4
4
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useList as e } from "../hooks/useList/index.mjs";
|
|
2
|
-
import { t } from "./tree-
|
|
2
|
+
import { t } from "./tree-CC5F-mFY.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeProps as s, onMounted as c, openBlock as l, ref as u, resolveDynamicComponent as d, unref as f } from "vue";
|
|
4
4
|
import { useResizeObserver as p } from "@vueuse/core";
|
|
5
5
|
import { TreeSelect as m } from "tdesign-vue-next";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./button-
|
|
2
|
-
import { r as t } from "./user-
|
|
1
|
+
import { t as e } from "./button-BGaSfVHX.mjs";
|
|
2
|
+
import { r as t } from "./user-C4Uq9ted.mjs";
|
|
3
3
|
import { saveAs as n } from "../utils/tool.mjs";
|
|
4
4
|
import { t as r } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, guardReactiveProps as m, h, mergeProps as g, normalizeProps as _, openBlock as v, renderList as y, renderSlot as b, resolveDynamicComponent as x, toDisplayString as S, unref as C, withCtx as w, withModifiers as T } from "vue";
|
|
6
6
|
import { Upload as E } from "tdesign-vue-next";
|
|
7
|
-
import '../assets/upload-
|
|
7
|
+
import '../assets/upload-CWjniRuv.css';//#region ../../packages/dlzn-ui/components/upload/src/upload.ts
|
|
8
8
|
var D = ".xlsx,.xls", O = { class: "flex items-center" }, k = {
|
|
9
9
|
key: 1,
|
|
10
10
|
class: "ml-3 text-xs text-(--td-text-color-placeholder)"
|
|
@@ -147,6 +147,6 @@ var D = ".xlsx,.xls", O = { class: "flex items-center" }, k = {
|
|
|
147
147
|
key: "0"
|
|
148
148
|
} : void 0]), 1024));
|
|
149
149
|
}
|
|
150
|
-
}), [["__scopeId", "data-v-
|
|
150
|
+
}), [["__scopeId", "data-v-c8248d51"]]);
|
|
151
151
|
//#endregion
|
|
152
152
|
export { D as n, A as t };
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { n as e } from "./useAppContext-D47amIp5.mjs";
|
|
2
2
|
import t from "../plugins/autoImport/$loading/index.mjs";
|
|
3
|
-
import n from "../plugins/autoImport/$
|
|
4
|
-
import r from "../
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import l from "../store/modules/
|
|
10
|
-
import u from "
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { defineStore as v } from "pinia";
|
|
3
|
+
import n from "../plugins/autoImport/$msg/index.mjs";
|
|
4
|
+
import r, { getTopRoute as i } from "../router/index.mjs";
|
|
5
|
+
import { isFalsy as a } from "../utils/boolean.mjs";
|
|
6
|
+
import { stringDisplay as o } from "../utils/string.mjs";
|
|
7
|
+
import { saveAs as s } from "../utils/tool.mjs";
|
|
8
|
+
import c from "../store/modules/excludeKPname.mjs";
|
|
9
|
+
import l from "../store/modules/recentRouters.mjs";
|
|
10
|
+
import { computed as u, markRaw as d, nextTick as f, ref as p, watch as m } from "vue";
|
|
11
|
+
import { cloneDeep as h, isPlainObject as g } from "lodash-es";
|
|
12
|
+
import { defineStore as _ } from "pinia";
|
|
14
13
|
import { createAlova as ee } from "alova";
|
|
15
14
|
import te from "alova/fetch";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
15
|
+
import v from "alova/vue";
|
|
16
|
+
import y from "path-browserify";
|
|
17
|
+
import b from "virtual:dlzn-ui/app-params";
|
|
18
|
+
import { useRoute as x, useRouter as S } from "vue-router";
|
|
20
19
|
//#region ../../packages/dlzn-ui/store/modules/common.ts
|
|
21
|
-
function
|
|
20
|
+
function C() {
|
|
22
21
|
return X.Get("common/appInfo", { meta: {
|
|
23
22
|
useFailMsg: !1,
|
|
24
23
|
useLoading: !1,
|
|
@@ -26,22 +25,22 @@ function ie() {
|
|
|
26
25
|
useToken: !1
|
|
27
26
|
} });
|
|
28
27
|
}
|
|
29
|
-
var
|
|
30
|
-
let e =
|
|
28
|
+
var w = _("common", () => {
|
|
29
|
+
let e = p(!0), t = p(250), n = p({
|
|
31
30
|
appName: VITE_APP_NAME,
|
|
32
31
|
version: ""
|
|
33
32
|
});
|
|
34
|
-
|
|
33
|
+
m(() => n.value.appName, (e) => {
|
|
35
34
|
e && (document.title = e);
|
|
36
35
|
});
|
|
37
36
|
function r() {
|
|
38
|
-
|
|
37
|
+
C().then((e) => {
|
|
39
38
|
n.value = e;
|
|
40
39
|
}).catch((e) => {
|
|
41
40
|
console.log(`${VITE_APP_NAME} 获取应用信息失败`, e);
|
|
42
41
|
});
|
|
43
42
|
}
|
|
44
|
-
let i =
|
|
43
|
+
let i = p(!0), a = null;
|
|
45
44
|
function o() {
|
|
46
45
|
a !== null && (clearTimeout(a), a = null), i.value = !1, a = setTimeout(() => {
|
|
47
46
|
i.value = !0;
|
|
@@ -55,8 +54,8 @@ var S = v("common", () => {
|
|
|
55
54
|
isRequestSleep: i,
|
|
56
55
|
requestActive: o
|
|
57
56
|
};
|
|
58
|
-
}, { persist: { pick: ["drawerOpen", "drawerSize"] } }),
|
|
59
|
-
function
|
|
57
|
+
}, { persist: { pick: ["drawerOpen", "drawerSize"] } }), T = /* @__PURE__ */ new Map();
|
|
58
|
+
function ne(e) {
|
|
60
59
|
let t = X.Get(`system/dict/data/types/${e.join(",")}`, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
|
|
61
60
|
cssClass: e.cssClass,
|
|
62
61
|
dictType: e.dictType,
|
|
@@ -65,99 +64,99 @@ function ae(e) {
|
|
|
65
64
|
value: e.dictValue
|
|
66
65
|
})));
|
|
67
66
|
e.forEach((e) => {
|
|
68
|
-
|
|
67
|
+
T.set(e, t.then((t) => t.filter((t) => t.dictType === e)));
|
|
69
68
|
});
|
|
70
69
|
}
|
|
71
|
-
var
|
|
72
|
-
function
|
|
73
|
-
return
|
|
70
|
+
var E = [];
|
|
71
|
+
function D(e) {
|
|
72
|
+
return E.includes(e) || E.push(e), new Promise((t) => {
|
|
74
73
|
setTimeout(() => {
|
|
75
|
-
let n =
|
|
76
|
-
n.length > 0 &&
|
|
74
|
+
let n = E.filter((e) => !T.has(e));
|
|
75
|
+
n.length > 0 && ne(n), E.length = 0, T.get(e).then((e) => {
|
|
77
76
|
t(e);
|
|
78
77
|
});
|
|
79
78
|
});
|
|
80
79
|
});
|
|
81
80
|
}
|
|
82
|
-
var
|
|
83
|
-
function
|
|
84
|
-
|
|
81
|
+
var O = /* @__PURE__ */ new Map();
|
|
82
|
+
function k() {
|
|
83
|
+
E.length = 0, T.clear(), O.clear();
|
|
85
84
|
}
|
|
86
|
-
function
|
|
87
|
-
let n =
|
|
88
|
-
return
|
|
85
|
+
function A(e, t) {
|
|
86
|
+
let n = j(e);
|
|
87
|
+
return u(() => {
|
|
89
88
|
if (t === void 0) return n.value.map((e) => e.label);
|
|
90
|
-
if (Array.isArray(t)) return n.value.length === 0 ? [] : t.map((e) => n.value.find((t) => String(t.value) === String(e))?.label ??
|
|
89
|
+
if (Array.isArray(t)) return n.value.length === 0 ? [] : t.map((e) => n.value.find((t) => String(t.value) === String(e))?.label ?? o(e));
|
|
91
90
|
if (n.value.length === 0) return "";
|
|
92
91
|
if (typeof t == "string") {
|
|
93
92
|
let e = t.split(",").filter(Boolean);
|
|
94
93
|
if (e.length > 0) return e.map((e) => n.value.find((t) => String(t.value) === e)?.label ?? e).join(",");
|
|
95
94
|
}
|
|
96
|
-
return n.value.find((e) => String(e.value) === String(t))?.label ??
|
|
95
|
+
return n.value.find((e) => String(e.value) === String(t))?.label ?? o(t);
|
|
97
96
|
});
|
|
98
97
|
}
|
|
99
|
-
function
|
|
98
|
+
function j(e, t) {
|
|
100
99
|
let n;
|
|
101
|
-
return
|
|
100
|
+
return O.has(e) ? n = O.get(e) : (n = p([]), O.set(e, n), D(e).then((e) => {
|
|
102
101
|
n.value = e;
|
|
103
|
-
})),
|
|
102
|
+
})), u(() => n.value.filter((e) => t === void 0 || t.includes(e.value)));
|
|
104
103
|
}
|
|
105
|
-
function
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
function re(e) {
|
|
105
|
+
T.delete(e), O.has(e) && D(e).then((t) => {
|
|
106
|
+
O.get(e).value = t;
|
|
108
107
|
});
|
|
109
108
|
}
|
|
110
109
|
//#endregion
|
|
111
110
|
//#region ../../packages/dlzn-ui/hooks/useSysUser/index.ts
|
|
112
|
-
var
|
|
113
|
-
function
|
|
111
|
+
var M = /* @__PURE__ */ new Map();
|
|
112
|
+
function N(e) {
|
|
114
113
|
let t = X.Post("system/user/listByIds", { userIds: e }, { meta: { useLoading: !1 } }).then((e) => e.map((e) => ({
|
|
115
114
|
...e,
|
|
116
115
|
label: e.userName,
|
|
117
116
|
value: e.userId
|
|
118
117
|
})));
|
|
119
118
|
e.forEach((e) => {
|
|
120
|
-
|
|
119
|
+
M.set(e, t.then((t) => t.find((t) => t.value === e)));
|
|
121
120
|
});
|
|
122
121
|
}
|
|
123
|
-
var
|
|
124
|
-
function
|
|
125
|
-
return
|
|
122
|
+
var P = [];
|
|
123
|
+
function F(e) {
|
|
124
|
+
return P.includes(e) || P.push(e), new Promise((t) => {
|
|
126
125
|
setTimeout(() => {
|
|
127
|
-
let n =
|
|
128
|
-
n.length > 0 &&
|
|
126
|
+
let n = P.filter((e) => !M.has(e));
|
|
127
|
+
n.length > 0 && N(n), P.length = 0, M.get(e).then((e) => {
|
|
129
128
|
t(e);
|
|
130
129
|
});
|
|
131
130
|
});
|
|
132
131
|
});
|
|
133
132
|
}
|
|
134
|
-
var
|
|
135
|
-
function
|
|
136
|
-
|
|
133
|
+
var I = /* @__PURE__ */ new Map();
|
|
134
|
+
function L() {
|
|
135
|
+
P.length = 0, M.clear(), I.clear();
|
|
137
136
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
function ie(e) {
|
|
138
|
+
M.delete(e), I.has(e) && F(e).then((t) => {
|
|
139
|
+
I.get(e).value = t;
|
|
141
140
|
});
|
|
142
141
|
}
|
|
143
|
-
function
|
|
142
|
+
function ae(e) {
|
|
144
143
|
let t;
|
|
145
|
-
return
|
|
144
|
+
return I.has(e) ? t = I.get(e) : (t = p(null), I.set(e, t), F(e).then((e) => {
|
|
146
145
|
t.value = e;
|
|
147
146
|
})), t;
|
|
148
147
|
}
|
|
149
148
|
//#endregion
|
|
150
149
|
//#region ../../packages/dlzn-ui/store/modules/router.ts
|
|
151
|
-
function
|
|
150
|
+
function R() {
|
|
152
151
|
return X.Get("getRouters", { meta: {
|
|
153
152
|
useFailMsg: "获取用户路由失败",
|
|
154
153
|
useLoading: "正在获取用户路由..."
|
|
155
154
|
} });
|
|
156
155
|
}
|
|
157
|
-
function
|
|
156
|
+
function oe(e) {
|
|
158
157
|
return e.children !== void 0 || e.component !== void 0;
|
|
159
158
|
}
|
|
160
|
-
function
|
|
159
|
+
function se(e) {
|
|
161
160
|
let t = [];
|
|
162
161
|
return e.forEach((e) => {
|
|
163
162
|
e.path === "/" ? t.push({
|
|
@@ -166,7 +165,7 @@ function ue(e) {
|
|
|
166
165
|
}) : t.push(e);
|
|
167
166
|
}), t;
|
|
168
167
|
}
|
|
169
|
-
function
|
|
168
|
+
function ce(e) {
|
|
170
169
|
let t = (e, n) => {
|
|
171
170
|
let r = [];
|
|
172
171
|
return e.forEach((e) => {
|
|
@@ -190,12 +189,12 @@ function L(e) {
|
|
|
190
189
|
e !== void 0 && (i.redirect = { name: e.name });
|
|
191
190
|
}
|
|
192
191
|
}
|
|
193
|
-
e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component =
|
|
192
|
+
e.component !== void 0 && !["Layout", "ParentView"].includes(e.component) && (i.component = U(e)), oe(i) && r.push(i);
|
|
194
193
|
}), r;
|
|
195
|
-
}, n =
|
|
194
|
+
}, n = i();
|
|
196
195
|
return n.children.push(...e), t([n], null);
|
|
197
196
|
}
|
|
198
|
-
function
|
|
197
|
+
function z(e) {
|
|
199
198
|
let t = (e) => {
|
|
200
199
|
let n = [...e], r = n.length;
|
|
201
200
|
for (let e = r - 1; e >= 0; e--) {
|
|
@@ -208,37 +207,37 @@ function R(e) {
|
|
|
208
207
|
};
|
|
209
208
|
return t(e);
|
|
210
209
|
}
|
|
211
|
-
var
|
|
212
|
-
function
|
|
210
|
+
var B = b.viewsEntryLazyImport, V = [];
|
|
211
|
+
function H(e) {
|
|
213
212
|
return `/src/views/${e.split("___")[0]}.vue`;
|
|
214
213
|
}
|
|
215
|
-
function
|
|
214
|
+
function U(e) {
|
|
216
215
|
if (typeof e.component == "function" || typeof e.component == "string") {
|
|
217
|
-
let t = e.component, n = typeof t == "string" ?
|
|
216
|
+
let t = e.component, n = typeof t == "string" ? B[H(t)] : t;
|
|
218
217
|
if (n === void 0) {
|
|
219
|
-
let e = `路由组件${
|
|
218
|
+
let e = `路由组件${H(t)}不存在`;
|
|
220
219
|
console.error(e);
|
|
221
220
|
return;
|
|
222
221
|
}
|
|
223
|
-
return typeof t == "string" &&
|
|
222
|
+
return typeof t == "string" && V.push(H(t)), () => n().then((t) => ({
|
|
224
223
|
...t.default,
|
|
225
224
|
name: e.name
|
|
226
225
|
}));
|
|
227
226
|
}
|
|
228
227
|
return e.component;
|
|
229
228
|
}
|
|
230
|
-
var
|
|
231
|
-
let e =
|
|
229
|
+
var W = _("router", () => {
|
|
230
|
+
let e = p([]), t = S(), n = $();
|
|
232
231
|
async function r() {
|
|
233
|
-
let r = await
|
|
234
|
-
|
|
235
|
-
if (!
|
|
232
|
+
let r = await R();
|
|
233
|
+
V.length = 0, e.value = d(z(ce(se(r)))), n.isAdmin && Object.keys(B).forEach((e) => {
|
|
234
|
+
if (!V.includes(e)) {
|
|
236
235
|
let t = `${e} 页面对应的路由不存在`;
|
|
237
236
|
console.error(t);
|
|
238
237
|
}
|
|
239
238
|
}), t.hasRoute("Index") && t.removeRoute("Index"), e.value.forEach((e) => {
|
|
240
239
|
t.addRoute(e);
|
|
241
|
-
}),
|
|
240
|
+
}), l().init();
|
|
242
241
|
}
|
|
243
242
|
function i() {
|
|
244
243
|
e.value.forEach((e) => {
|
|
@@ -253,32 +252,32 @@ var U = v("router", () => {
|
|
|
253
252
|
});
|
|
254
253
|
//#endregion
|
|
255
254
|
//#region ../../packages/dlzn-ui/store/modules/login.ts
|
|
256
|
-
function
|
|
255
|
+
function le(e) {
|
|
257
256
|
return X.Post("login", e, { meta: {
|
|
258
257
|
useLoading: "登录中...",
|
|
259
258
|
useToken: !1
|
|
260
259
|
} });
|
|
261
260
|
}
|
|
262
|
-
function
|
|
261
|
+
function ue() {
|
|
263
262
|
return X.Post("logout", void 0, { meta: {
|
|
264
263
|
useLoading: "退出登录中...",
|
|
265
264
|
useSuccessMsg: !0
|
|
266
265
|
} });
|
|
267
266
|
}
|
|
268
|
-
var G =
|
|
269
|
-
let e =
|
|
267
|
+
var G = _("login", () => {
|
|
268
|
+
let e = p(""), t = x(), n = S();
|
|
270
269
|
async function r(t) {
|
|
271
|
-
let n = await
|
|
270
|
+
let n = await le(t);
|
|
272
271
|
e.value = n.token, await $().getUserInfo();
|
|
273
272
|
}
|
|
274
273
|
function i() {
|
|
275
|
-
e.value = "",
|
|
274
|
+
e.value = "", c().clear(), W().clear(), $().clear(), k(), L();
|
|
276
275
|
}
|
|
277
|
-
|
|
276
|
+
m(() => t.name, () => {
|
|
278
277
|
t.name === "Login" && i();
|
|
279
278
|
});
|
|
280
279
|
async function a() {
|
|
281
|
-
await
|
|
280
|
+
await ue(), await n.push({ name: "Login" }), i();
|
|
282
281
|
}
|
|
283
282
|
return {
|
|
284
283
|
login: r,
|
|
@@ -289,7 +288,7 @@ var G = v("login", () => {
|
|
|
289
288
|
function J(e, t = !0) {
|
|
290
289
|
let n = {};
|
|
291
290
|
return Object.keys(e).forEach((r) => {
|
|
292
|
-
(!t || (Array.isArray(e[r]) ? e[r].length > 0 : !
|
|
291
|
+
(!t || (Array.isArray(e[r]) ? e[r].length > 0 : !a(e[r]))) && (n[r] = e[r]);
|
|
293
292
|
}), n;
|
|
294
293
|
}
|
|
295
294
|
function Y(e, t = !0) {
|
|
@@ -300,7 +299,7 @@ var X = ee({
|
|
|
300
299
|
beforeRequest(e) {
|
|
301
300
|
e.config.credentials = e.config.credentials ?? "omit";
|
|
302
301
|
let [n, ...r] = VITE_API_PREFIX_ARRAY;
|
|
303
|
-
!e.url.startsWith("http") && !r.some((t) =>
|
|
302
|
+
!e.url.startsWith("http") && !r.some((t) => y.join("/", e.url).startsWith(y.join("/", t, "/"))) && (e.url = y.join(n, e.url)), e.meta = {
|
|
304
303
|
use600Alert: !0,
|
|
305
304
|
useDataResult: !0,
|
|
306
305
|
useDownload: !1,
|
|
@@ -317,13 +316,13 @@ var X = ee({
|
|
|
317
316
|
useToken: !0,
|
|
318
317
|
...e.meta ?? {}
|
|
319
318
|
};
|
|
320
|
-
let i = G(), { useEmptyData:
|
|
321
|
-
l ||
|
|
319
|
+
let i = G(), { useEmptyData: o, useEmptyParams: s, useFormData: c, useInPolling: l, useLoading: u, useResponseBlob: d, useToken: f } = e.meta;
|
|
320
|
+
l || w().requestActive(), f && (i.token ? e.config.headers.Authorization = i.token : e.abort()), u !== !1 && t.show(u === !0 ? void 0 : u);
|
|
322
321
|
let p = e.config.params;
|
|
323
|
-
if (typeof p != "string" && (e.config.params = Y(p, s)),
|
|
322
|
+
if (typeof p != "string" && (e.config.params = Y(p, s)), o && g(e.data)) {
|
|
324
323
|
let t = {}, n = e.data;
|
|
325
324
|
Object.keys(n).forEach((e) => {
|
|
326
|
-
|
|
325
|
+
a(n[e]) || (t[e] = n[e]);
|
|
327
326
|
}), e.data = t;
|
|
328
327
|
}
|
|
329
328
|
if (c) {
|
|
@@ -341,45 +340,45 @@ var X = ee({
|
|
|
341
340
|
e.meta.useLoading !== !1 && t.hide();
|
|
342
341
|
},
|
|
343
342
|
onError: async (e, t) => {
|
|
344
|
-
let { useSysFailMsg:
|
|
343
|
+
let { useSysFailMsg: r } = t.meta;
|
|
345
344
|
if (e instanceof Error) {
|
|
346
345
|
let { message: t } = e;
|
|
347
346
|
if (t.toLowerCase().includes("abort")) return Promise.reject(e);
|
|
348
|
-
if (t.toLowerCase().includes("timeout")) return
|
|
347
|
+
if (t.toLowerCase().includes("timeout")) return r && n.error("请求超时"), Promise.reject(e);
|
|
349
348
|
}
|
|
350
|
-
return
|
|
349
|
+
return r && n.error(q), Promise.reject(e);
|
|
351
350
|
},
|
|
352
|
-
onSuccess: async (t,
|
|
351
|
+
onSuccess: async (t, i) => {
|
|
353
352
|
if (typeof t == "string") return t;
|
|
354
|
-
let { useDataResult:
|
|
355
|
-
if (
|
|
356
|
-
if (
|
|
353
|
+
let { useDataResult: a, useDownload: o, useFailMsg: c, useResponseBlob: l, useResponseText: u, useSuccessMsg: d, useSysFailMsg: f, useToken: p } = i.meta, { headers: m, ok: h, status: g } = t;
|
|
354
|
+
if (h === !1) {
|
|
355
|
+
if (f) {
|
|
357
356
|
let e = {
|
|
358
357
|
403: "当前操作没有权限",
|
|
359
358
|
404: "访问资源不存在",
|
|
360
359
|
500: "服务不可用,请稍后再试或联系管理员!"
|
|
361
|
-
}[
|
|
362
|
-
|
|
360
|
+
}[g] ?? q;
|
|
361
|
+
n.error(e);
|
|
363
362
|
}
|
|
364
363
|
return Promise.reject(t);
|
|
365
364
|
}
|
|
366
|
-
if (
|
|
365
|
+
if (l && !m.get("content-type")?.includes("application/json")) {
|
|
367
366
|
let n;
|
|
368
367
|
try {
|
|
369
368
|
n = await t.blob();
|
|
370
369
|
} catch (t) {
|
|
371
370
|
return e.error("返回的 response 不能被blob() 方法所解析"), Promise.reject(t);
|
|
372
371
|
}
|
|
373
|
-
if (
|
|
374
|
-
if (typeof
|
|
372
|
+
if (o !== !1) {
|
|
373
|
+
if (typeof o == "string") s(n, o);
|
|
375
374
|
else {
|
|
376
375
|
let r = new URLSearchParams((t.headers.get("content-disposition") ?? "").replace(/;\s*/g, "&")).get("filename");
|
|
377
|
-
r ?
|
|
376
|
+
r ? s(n, r) : e.error("返回的 response header 没有文件名");
|
|
378
377
|
}
|
|
379
378
|
}
|
|
380
379
|
return n;
|
|
381
380
|
}
|
|
382
|
-
if (
|
|
381
|
+
if (u && !m.get("content-type")?.includes("application/json")) {
|
|
383
382
|
let n;
|
|
384
383
|
try {
|
|
385
384
|
n = await t.text();
|
|
@@ -388,33 +387,34 @@ var X = ee({
|
|
|
388
387
|
}
|
|
389
388
|
return n;
|
|
390
389
|
}
|
|
391
|
-
let
|
|
390
|
+
let _;
|
|
392
391
|
try {
|
|
393
|
-
|
|
392
|
+
_ = await t.json();
|
|
394
393
|
} catch (t) {
|
|
395
394
|
return e.error("返回的 response 不能被json() 方法所解析"), Promise.reject(t);
|
|
396
395
|
}
|
|
397
|
-
if (
|
|
398
|
-
let { code: e, data: t, msg:
|
|
396
|
+
if (_?.code !== void 0) {
|
|
397
|
+
let { code: e, data: t, msg: i } = _;
|
|
399
398
|
if (e >= 400) {
|
|
400
399
|
if (e === 600) {
|
|
401
|
-
if (!
|
|
402
|
-
} else e === 401 &&
|
|
403
|
-
return Promise.reject(
|
|
400
|
+
if (!l) return _;
|
|
401
|
+
} else e === 401 && p ? r.push({ name: "Login" }) : c !== !1 && n.error(c === !0 ? i : c);
|
|
402
|
+
return Promise.reject(_);
|
|
404
403
|
}
|
|
405
|
-
|
|
406
|
-
let
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
404
|
+
{
|
|
405
|
+
let r = b.alovaResCodeSuccessCb?.({
|
|
406
|
+
code: e,
|
|
407
|
+
data: t,
|
|
408
|
+
msg: i
|
|
409
|
+
});
|
|
410
|
+
return r === void 0 ? (d && n(i), a ? t === void 0 ? _ : t : _) : r;
|
|
410
411
|
}
|
|
411
|
-
return f && r(a), o ? t === void 0 ? v : t : v;
|
|
412
412
|
}
|
|
413
|
-
return
|
|
413
|
+
return _;
|
|
414
414
|
}
|
|
415
415
|
},
|
|
416
416
|
shareRequest: !1,
|
|
417
|
-
statesHook:
|
|
417
|
+
statesHook: v,
|
|
418
418
|
timeout: K
|
|
419
419
|
});
|
|
420
420
|
//#endregion
|
|
@@ -432,18 +432,18 @@ var Q = {
|
|
|
432
432
|
nickName: "",
|
|
433
433
|
userId: "",
|
|
434
434
|
userName: ""
|
|
435
|
-
}, $ =
|
|
436
|
-
let e =
|
|
435
|
+
}, $ = _("user", () => {
|
|
436
|
+
let e = p(h(Q)), t = p([]), n = p([]);
|
|
437
437
|
function r() {
|
|
438
|
-
e.value =
|
|
438
|
+
e.value = h(Q), t.value = [], n.value = [];
|
|
439
439
|
}
|
|
440
|
-
let i =
|
|
440
|
+
let i = u(() => e.value.admin), a = p("");
|
|
441
441
|
async function o(r = !0) {
|
|
442
442
|
let i = await Z();
|
|
443
|
-
e.value = i.user, a.value !== e.value.userId &&
|
|
443
|
+
e.value = i.user, a.value !== e.value.userId && l().clear(), a.value = e.value.userId, t.value = i.permissions, n.value = i.roles, r && await W().getRouters();
|
|
444
444
|
}
|
|
445
|
-
|
|
446
|
-
e === 1 && VITE_FORCE_PWD_CHANGE &&
|
|
445
|
+
m(() => e.value.needChangePwd, (e) => {
|
|
446
|
+
e === 1 && VITE_FORCE_PWD_CHANGE && f(() => {});
|
|
447
447
|
}, { immediate: !0 });
|
|
448
448
|
function s(e) {
|
|
449
449
|
if (e === void 0) return !0;
|
|
@@ -462,4 +462,4 @@ var Q = {
|
|
|
462
462
|
};
|
|
463
463
|
}, { persist: { pick: ["lastUserId"] } });
|
|
464
464
|
//#endregion
|
|
465
|
-
export { Y as a,
|
|
465
|
+
export { Y as a, W as c, ae as d, k as f, w as g, re as h, J as i, L as l, j as m, $ as n, G as o, A as p, X as r, R as s, Z as t, ie as u };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/button-
|
|
1
|
+
import { n as e, t } from "../../chunks/button-BGaSfVHX.mjs";
|
|
2
2
|
export { t as TButton, e as buttonPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/button-
|
|
1
|
+
import { t as e } from "../../../chunks/button-BGaSfVHX.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/checkbox-group-
|
|
1
|
+
import { t as e } from "../../chunks/checkbox-group-O77LYr4m.mjs";
|
|
2
2
|
export { e as TCheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/checkbox-group-
|
|
1
|
+
import { t as e } from "../../../chunks/checkbox-group-O77LYr4m.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/form-
|
|
1
|
+
import { n as e, t } from "../../chunks/form-CC0KoMff.mjs";
|
|
2
2
|
export { t as TForm, e as formPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/form-
|
|
1
|
+
import { t as e } from "../../../chunks/form-CC0KoMff.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -3,10 +3,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
3
3
|
import { TNode } from 'tdesign-vue-next';
|
|
4
4
|
declare const __VLS_export: DefineComponent<ImageViewerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ImageViewerProps> & Readonly<{}>, {
|
|
5
5
|
visible: boolean;
|
|
6
|
-
showOverlay: boolean;
|
|
7
6
|
closeBtn: boolean | TNode;
|
|
8
|
-
|
|
7
|
+
showOverlay: boolean;
|
|
9
8
|
draggable: boolean;
|
|
9
|
+
closeOnEscKeydown: boolean;
|
|
10
10
|
closeOnOverlay: boolean;
|
|
11
11
|
navigationArrow: boolean | TNode;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
package/components/index.mjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/button-
|
|
1
|
+
import { n as e, t } from "../chunks/button-BGaSfVHX.mjs";
|
|
2
2
|
import { t as n } from "../chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import { t as r } from "../chunks/popconfirm-DxWa7vWm.mjs";
|
|
4
4
|
import { n as i, t as a } from "../chunks/card-BfHb58zl.mjs";
|
|
5
5
|
import { t as o } from "../chunks/checkbox-CLlUEbkk.mjs";
|
|
6
|
-
import { t as s } from "../chunks/checkbox-group-
|
|
7
|
-
import { n as c, t as l } from "../chunks/form-
|
|
6
|
+
import { t as s } from "../chunks/checkbox-group-O77LYr4m.mjs";
|
|
7
|
+
import { n as c, t as l } from "../chunks/form-CC0KoMff.mjs";
|
|
8
8
|
import { n as u, t as d } from "../chunks/input-number-Bt1mbd1D.mjs";
|
|
9
9
|
import { n as f, t as p } from "../chunks/input-B8jjJrK5.mjs";
|
|
10
|
-
import { t as m } from "../chunks/radio-group-
|
|
10
|
+
import { t as m } from "../chunks/radio-group-B1x9bhAq.mjs";
|
|
11
11
|
import { t as h } from "../chunks/range-input-8ddDrOBB.mjs";
|
|
12
|
-
import { n as g, t as _ } from "../chunks/select-
|
|
12
|
+
import { n as g, t as _ } from "../chunks/select-lepnATyO.mjs";
|
|
13
13
|
import { n as v, t as y } from "../chunks/slider-C63Gzbld.mjs";
|
|
14
14
|
import { n as b, t as x } from "../chunks/switch-CqV3-avv.mjs";
|
|
15
15
|
import { n as S, t as C } from "../chunks/tag-input-iNXrRXk2.mjs";
|
|
16
16
|
import { t as w } from "../chunks/textarea-xkwOhNut.mjs";
|
|
17
|
-
import { t as T } from "../chunks/tree-
|
|
18
|
-
import { t as E } from "../chunks/tree-select-
|
|
19
|
-
import { t as D } from "../chunks/tree-
|
|
20
|
-
import { n as O, t as k } from "../chunks/upload-
|
|
17
|
+
import { t as T } from "../chunks/tree-CC5F-mFY.mjs";
|
|
18
|
+
import { t as E } from "../chunks/tree-select-B3_lEb7a.mjs";
|
|
19
|
+
import { t as D } from "../chunks/tree-DaM27ppK.mjs";
|
|
20
|
+
import { n as O, t as k } from "../chunks/upload-BXUXMxCu.mjs";
|
|
21
21
|
import { n as A, t as j } from "../chunks/image-BEsiUWeF.mjs";
|
|
22
22
|
import { n as M, t as N } from "../chunks/image-viewer-BZux9RvX.mjs";
|
|
23
23
|
import { n as P, t as F } from "../chunks/link-Byr_BYPx.mjs";
|
|
24
|
-
import { t as I } from "../chunks/pagination-
|
|
24
|
+
import { t as I } from "../chunks/pagination-iPAiud09.mjs";
|
|
25
25
|
import { t as L } from "../chunks/popup-BO_hNSY5.mjs";
|
|
26
26
|
import { t as R } from "../chunks/tab-panel-CtYeK29i.mjs";
|
|
27
27
|
import { n as z, t as B } from "../chunks/tag-B-ovDWQi.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/pagination-
|
|
1
|
+
import { t as e } from "../../chunks/pagination-iPAiud09.mjs";
|
|
2
2
|
export { e as TPagination };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/pagination-
|
|
1
|
+
import { t as e } from "../../../chunks/pagination-iPAiud09.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/radio-group-
|
|
1
|
+
import { t as e } from "../../chunks/radio-group-B1x9bhAq.mjs";
|
|
2
2
|
export { e as TRadioGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/radio-group-
|
|
1
|
+
import { t as e } from "../../../chunks/radio-group-B1x9bhAq.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/select-
|
|
1
|
+
import { n as e, t } from "../../chunks/select-lepnATyO.mjs";
|
|
2
2
|
export { t as TSelect, e as selectPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/select-
|
|
1
|
+
import { t as e } from "../../../chunks/select-lepnATyO.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/tree-
|
|
2
|
-
import { t } from "../../chunks/tree-
|
|
1
|
+
import { t as e } from "../../chunks/tree-CC5F-mFY.mjs";
|
|
2
|
+
import { t } from "../../chunks/tree-DaM27ppK.mjs";
|
|
3
3
|
export { t as TTree, e as treePropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/tree-
|
|
1
|
+
import { t as e } from "../../../chunks/tree-DaM27ppK.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -6,8 +6,8 @@ declare const __VLS_export: DefineComponent<TreeProps, TreeInstanceFunctions< Tr
|
|
|
6
6
|
label: string | boolean | ((h: typeof h, props: TreeNodeModel<TypeTreeOptionData>) => TNodeReturnValue);
|
|
7
7
|
icon: boolean | ((h: typeof h, props: TreeNodeModel<TypeTreeOptionData>) => TNodeReturnValue);
|
|
8
8
|
disabled: boolean;
|
|
9
|
-
lazy: boolean;
|
|
10
9
|
transition: boolean;
|
|
10
|
+
lazy: boolean;
|
|
11
11
|
hover: boolean;
|
|
12
12
|
checkable: boolean;
|
|
13
13
|
expandOnClickNode: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/tree-select-
|
|
1
|
+
import { t as e } from "../../chunks/tree-select-B3_lEb7a.mjs";
|
|
2
2
|
export { e as TTreeSelect };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/tree-select-
|
|
1
|
+
import { t as e } from "../../../chunks/tree-select-B3_lEb7a.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/upload-
|
|
1
|
+
import { n as e, t } from "../../chunks/upload-BXUXMxCu.mjs";
|
|
2
2
|
export { e as DEFAULT_ACCEPT, t as TUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/upload-
|
|
1
|
+
import { t as e } from "../../../chunks/upload-BXUXMxCu.mjs";
|
|
2
2
|
export { e as default };
|
package/hooks/useDic/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as e, h as t, m as n, p as r } from "../../chunks/user-
|
|
1
|
+
import { f as e, h as t, m as n, p as r } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { e as useClearDic, r as useDicLabel, n as useDicOptions, t as useRefreshDic };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as e, l as t, u as n } from "../../chunks/user-
|
|
1
|
+
import { d as e, l as t, u as n } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { t as useClearSysUser, n as useRefreshSysUser, e as useSysUser };
|
package/index.d.ts
CHANGED
|
@@ -2,6 +2,11 @@ import { AsyncComponentLoader } from 'vue';
|
|
|
2
2
|
import { ListItem } from './hooks/useList';
|
|
3
3
|
export * from './components';
|
|
4
4
|
export interface AppParams {
|
|
5
|
+
alovaResCodeSuccessCb?: (res: {
|
|
6
|
+
code: number;
|
|
7
|
+
data?: any;
|
|
8
|
+
msg: string;
|
|
9
|
+
}) => any;
|
|
5
10
|
busComponentInitialValueMap: Map<string, (itemConfig: Record<string, any>) => any>;
|
|
6
11
|
busComponentPropsMap: Record<string, any>;
|
|
7
12
|
busFormItems: Map<string, AsyncComponentLoader>;
|
package/index.mjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { n as e, t } from "./chunks/button-
|
|
1
|
+
import { n as e, t } from "./chunks/button-BGaSfVHX.mjs";
|
|
2
2
|
import { t as n } from "./chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import { t as r } from "./chunks/popconfirm-DxWa7vWm.mjs";
|
|
4
4
|
import { n as i, t as a } from "./chunks/card-BfHb58zl.mjs";
|
|
5
5
|
import { t as o } from "./chunks/checkbox-CLlUEbkk.mjs";
|
|
6
|
-
import { t as s } from "./chunks/checkbox-group-
|
|
7
|
-
import { n as c, t as l } from "./chunks/form-
|
|
6
|
+
import { t as s } from "./chunks/checkbox-group-O77LYr4m.mjs";
|
|
7
|
+
import { n as c, t as l } from "./chunks/form-CC0KoMff.mjs";
|
|
8
8
|
import { n as u, t as d } from "./chunks/input-number-Bt1mbd1D.mjs";
|
|
9
9
|
import { n as f, t as p } from "./chunks/input-B8jjJrK5.mjs";
|
|
10
|
-
import { t as m } from "./chunks/radio-group-
|
|
10
|
+
import { t as m } from "./chunks/radio-group-B1x9bhAq.mjs";
|
|
11
11
|
import { t as h } from "./chunks/range-input-8ddDrOBB.mjs";
|
|
12
|
-
import { n as g, t as _ } from "./chunks/select-
|
|
12
|
+
import { n as g, t as _ } from "./chunks/select-lepnATyO.mjs";
|
|
13
13
|
import { n as v, t as y } from "./chunks/slider-C63Gzbld.mjs";
|
|
14
14
|
import { n as b, t as x } from "./chunks/switch-CqV3-avv.mjs";
|
|
15
15
|
import { n as S, t as C } from "./chunks/tag-input-iNXrRXk2.mjs";
|
|
16
16
|
import { t as w } from "./chunks/textarea-xkwOhNut.mjs";
|
|
17
|
-
import { t as T } from "./chunks/tree-
|
|
18
|
-
import { t as E } from "./chunks/tree-select-
|
|
19
|
-
import { t as D } from "./chunks/tree-
|
|
20
|
-
import { n as O, t as k } from "./chunks/upload-
|
|
17
|
+
import { t as T } from "./chunks/tree-CC5F-mFY.mjs";
|
|
18
|
+
import { t as E } from "./chunks/tree-select-B3_lEb7a.mjs";
|
|
19
|
+
import { t as D } from "./chunks/tree-DaM27ppK.mjs";
|
|
20
|
+
import { n as O, t as k } from "./chunks/upload-BXUXMxCu.mjs";
|
|
21
21
|
import { n as A, t as j } from "./chunks/image-BEsiUWeF.mjs";
|
|
22
22
|
import { n as M, t as N } from "./chunks/image-viewer-BZux9RvX.mjs";
|
|
23
23
|
import { n as P, t as F } from "./chunks/link-Byr_BYPx.mjs";
|
|
24
|
-
import { t as I } from "./chunks/pagination-
|
|
24
|
+
import { t as I } from "./chunks/pagination-iPAiud09.mjs";
|
|
25
25
|
import { t as L } from "./chunks/popup-BO_hNSY5.mjs";
|
|
26
26
|
import { t as R } from "./chunks/tab-panel-CtYeK29i.mjs";
|
|
27
27
|
import { n as z, t as B } from "./chunks/tag-B-ovDWQi.mjs";
|
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, r as n } from "
|
|
1
|
+
import { a as e, i as t, r as n } from "../../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { n as default, t as getFilterEmptyParamsObj, e as getParamsString };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "../../chunks/user-
|
|
1
|
+
import { n as e } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
import { isFalsy as t } from "../../utils/boolean.mjs";
|
|
3
3
|
import { useClipboard as n } from "@vueuse/core";
|
|
4
4
|
//#region ../../packages/dlzn-ui/plugins/others/directive.ts
|
package/store/modules/common.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as e } from "../../chunks/user-
|
|
1
|
+
import { g as e } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/login.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as e } from "../../chunks/user-
|
|
1
|
+
import { o as e } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { e as default };
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, s as t } from "../../chunks/user-
|
|
1
|
+
import { c as e, s as t } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { e as default, t as getRoutersMethod };
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/user-
|
|
1
|
+
import { n as e, t } from "../../chunks/user-C4Uq9ted.mjs";
|
|
2
2
|
export { e as default, t as getUserInfoMethod };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.t-upload.file[data-v-f3396e6a] .t-upload__trigger{pointer-events:none}.t-upload.file[data-v-f3396e6a] .t-upload__trigger .t-button{pointer-events:auto}
|
|
File without changes
|