@skyfox2000/webui 0.1.1 → 0.1.3
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/lib/AceEditor.d.ts +0 -3
- package/lib/BasicLayout.d.ts +0 -3
- package/lib/Error403.d.ts +0 -3
- package/lib/Error404.d.ts +0 -3
- package/lib/ExcelForm.d.ts +0 -3
- package/lib/UploadForm.d.ts +0 -3
- package/lib/assets/modules/{index-FzWSvscZ.js → index-B8vL5FiT.js} +1 -1
- package/lib/assets/modules/menuTabs-DQt4U8CY.js +638 -0
- package/lib/assets/modules/uploadList-sP-EZUPi.js +182 -0
- package/lib/components/content/index.d.ts +0 -4
- package/lib/components/content/index.d.ts.map +1 -1
- package/lib/components/form/autoComplete/index.vue.d.ts +3 -3
- package/lib/components/form/cascader/index.vue.d.ts +3 -3
- package/lib/components/form/checkbox/index.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +0 -2
- package/lib/components/form/index.d.ts.map +1 -1
- package/lib/components/form/radio/index.vue.d.ts +3 -3
- package/lib/components/form/select/index.vue.d.ts +3 -3
- package/lib/components/form/transfer/index.vue.d.ts +2 -2
- package/lib/components/form/treeSelect/index.vue.d.ts +2 -2
- package/lib/components/index.d.ts +3 -6
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/layout/index.d.ts +0 -2
- package/lib/components/layout/index.d.ts.map +1 -1
- package/lib/es/AceEditor/index.js +9 -11
- package/lib/es/BasicLayout/index.js +94 -2
- package/lib/es/Error403/index.js +31 -2
- package/lib/es/Error404/index.js +31 -2
- package/lib/es/ExcelForm/index.js +315 -3
- package/lib/es/UploadForm/index.js +133 -3
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +1565 -1573
- package/package.json +2 -2
- package/src/components/content/index.ts +4 -4
- package/src/components/form/index.ts +2 -2
- package/src/components/index.ts +1 -10
- package/src/components/layout/index.ts +2 -2
- package/lib/assets/modules/basicLayout-YP_-EySb.js +0 -726
- package/lib/assets/modules/error403-Bi0E2twj.js +0 -33
- package/lib/assets/modules/error404-BF7vasR_.js +0 -33
- package/lib/assets/modules/excelForm-WJVQmaDT.js +0 -317
- package/lib/assets/modules/uploadForm-CwXiG05t.js +0 -309
- package/lib/components/content/dialog/excelForm.vue.d.ts +0 -31
- package/lib/components/content/dialog/excelForm.vue.d.ts.map +0 -1
- package/lib/components/content/dialog/uploadForm.vue.d.ts +0 -25
- package/lib/components/content/dialog/uploadForm.vue.d.ts.map +0 -1
- package/lib/components/error/error403.vue.d.ts +0 -4
- package/lib/components/error/error403.vue.d.ts.map +0 -1
- package/lib/components/error/error404.vue.d.ts +0 -4
- package/lib/components/error/error404.vue.d.ts.map +0 -1
- package/lib/components/form/aceEditor/index.vue.d.ts +0 -13
- package/lib/components/form/aceEditor/index.vue.d.ts.map +0 -1
- package/lib/components/layout/page/basicLayout.vue.d.ts +0 -7
- package/lib/components/layout/page/basicLayout.vue.d.ts.map +0 -1
- /package/lib/assets/modules/{uploadForm-BahGnrAq.js → index-BahGnrAq.js} +0 -0
- /package/lib/assets/modules/{excelForm-Dzndz-SG.js → index-Dzndz-SG.js} +0 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { defineComponent as P, ref as h, computed as _, watch as j, createElementBlock as i, openBlock as u, createElementVNode as r, createVNode as c, unref as a, mergeProps as B, withCtx as p, createTextVNode as g, toDisplayString as d, Fragment as M, renderList as V, normalizeClass as T, createCommentVNode as v } from "vue";
|
|
2
|
+
import { _ as K } from "./index-Dzndz-SG.js";
|
|
3
|
+
import { Upload as D, Tag as I, Progress as Q } from "ant-design-vue";
|
|
4
|
+
import "@skyfox2000/fapi";
|
|
5
|
+
import { UploadStatus as s, path as q, donwloadFromMinio as A } from "@skyfox2000/webbase";
|
|
6
|
+
import "./index-ekkaExvB.js";
|
|
7
|
+
import m from "vue-m-message";
|
|
8
|
+
const G = { class: "w-full border border-solid border-gray-100 mt-1 rounded-md py-5" }, H = { class: "flex items-center justify-between w-full" }, J = { class: "w-35 mx-3" }, R = { class: "flex-1 text-sm text-gray-500" }, W = { class: "mt-4 px-3" }, X = { class: "flex items-center justify-between" }, Y = { class: "flex items-center" }, Z = { class: "flex items-center" }, ee = ["onClick"], te = ["onClick"], se = ["onClick"], ce = /* @__PURE__ */ P({
|
|
9
|
+
__name: "uploadList",
|
|
10
|
+
props: {
|
|
11
|
+
autoUpload: { type: Boolean, default: !1 },
|
|
12
|
+
downloadUrl: {},
|
|
13
|
+
fileList: { default: () => [] },
|
|
14
|
+
placeholder: { default: "" },
|
|
15
|
+
fileExt: {},
|
|
16
|
+
maxFileSize: { default: 20 },
|
|
17
|
+
maxCount: { default: 5 },
|
|
18
|
+
parentPath: {}
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:file-list"],
|
|
21
|
+
setup(C, { emit: w }) {
|
|
22
|
+
const t = C, l = h(t.fileList), y = h(), U = w, O = _(() => {
|
|
23
|
+
var e;
|
|
24
|
+
return (e = t.fileExt) != null && e.length ? t.fileExt.map((n) => `.${n}`).join(",") : "";
|
|
25
|
+
}), k = (e) => {
|
|
26
|
+
var n;
|
|
27
|
+
if (t.fileExt && t.fileExt.length > 0) {
|
|
28
|
+
const o = ((n = e.name.split(".").pop()) == null ? void 0 : n.toLowerCase()) || "";
|
|
29
|
+
if (!t.fileExt.includes(o))
|
|
30
|
+
return m.error("文件类型不支持"), !1;
|
|
31
|
+
}
|
|
32
|
+
return e.size / 1024 / 1024 > t.maxFileSize ? (m.error(`文件大小超过 ${t.maxFileSize}MB 限制`), !1) : t.maxCount > 1 && l.value.length >= t.maxCount ? (m.error(`最多上传 ${t.maxCount} 个文件`), !1) : t.autoUpload;
|
|
33
|
+
}, E = (e) => {
|
|
34
|
+
e.forEach((n) => {
|
|
35
|
+
n.fileName || (n.fileName = n.name), t.parentPath && (n.name = q.join("/", t.parentPath, n.fileName));
|
|
36
|
+
});
|
|
37
|
+
}, b = _(() => ({
|
|
38
|
+
accept: O.value,
|
|
39
|
+
multiple: !0,
|
|
40
|
+
fileList: l.value,
|
|
41
|
+
"onUpdate:fileList": E,
|
|
42
|
+
beforeUpload: k,
|
|
43
|
+
listType: "text",
|
|
44
|
+
maxCount: t.maxCount,
|
|
45
|
+
showUploadList: !1,
|
|
46
|
+
onChange: (e) => {
|
|
47
|
+
t.autoUpload || (l.value = e.fileList);
|
|
48
|
+
}
|
|
49
|
+
}));
|
|
50
|
+
j(
|
|
51
|
+
() => l.value,
|
|
52
|
+
(e) => {
|
|
53
|
+
U("update:file-list", e);
|
|
54
|
+
},
|
|
55
|
+
{ deep: !0 }
|
|
56
|
+
);
|
|
57
|
+
const F = (e) => {
|
|
58
|
+
const n = l.value[e].minioFile, o = {
|
|
59
|
+
api: t.downloadUrl.api,
|
|
60
|
+
authorize: t.downloadUrl.authorize,
|
|
61
|
+
url: t.downloadUrl.url,
|
|
62
|
+
// url: props.pageData.urls.download!.url,
|
|
63
|
+
params: {
|
|
64
|
+
Query: {
|
|
65
|
+
FileKey: n.Key
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
A(o);
|
|
70
|
+
}, S = (e) => {
|
|
71
|
+
e.status = e.status === s.Offline ? s.Online : s.Offline, e.minioFile.Status = e.status;
|
|
72
|
+
}, L = (e) => {
|
|
73
|
+
l.value.splice(e, 1);
|
|
74
|
+
}, z = () => {
|
|
75
|
+
const e = t.fileExt && t.fileExt.length ? `文件必须为 ${t.fileExt.join("/")}` : "", n = t.maxFileSize !== 0 ? `单文件最大 ${t.maxFileSize}MB` : "", o = t.maxCount !== 0 ? `最多 ${t.maxCount} 个文件` : "";
|
|
76
|
+
return [n, e, o].filter(Boolean).join(",");
|
|
77
|
+
}, $ = (e) => {
|
|
78
|
+
switch (e) {
|
|
79
|
+
case s.Uploading:
|
|
80
|
+
return "blue";
|
|
81
|
+
case s.Success:
|
|
82
|
+
return "green";
|
|
83
|
+
case s.Error:
|
|
84
|
+
return "red";
|
|
85
|
+
case s.Online:
|
|
86
|
+
return "green";
|
|
87
|
+
case s.Offline:
|
|
88
|
+
return "pink";
|
|
89
|
+
default:
|
|
90
|
+
return "cyan";
|
|
91
|
+
}
|
|
92
|
+
}, N = (e) => {
|
|
93
|
+
switch (e) {
|
|
94
|
+
case s.Uploading:
|
|
95
|
+
return "上传中";
|
|
96
|
+
case s.Success:
|
|
97
|
+
return "已完成";
|
|
98
|
+
case s.Error:
|
|
99
|
+
return "上传失败";
|
|
100
|
+
case s.Online:
|
|
101
|
+
return "在线";
|
|
102
|
+
case s.Offline:
|
|
103
|
+
return "已下线";
|
|
104
|
+
default:
|
|
105
|
+
return "待上传";
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
return (e, n) => (u(), i("div", G, [
|
|
109
|
+
r("div", H, [
|
|
110
|
+
r("div", J, [
|
|
111
|
+
c(a(D), B({
|
|
112
|
+
ref_key: "fileUploader",
|
|
113
|
+
ref: y
|
|
114
|
+
}, b.value), {
|
|
115
|
+
default: p(() => [
|
|
116
|
+
c(a(K), null, {
|
|
117
|
+
default: p(() => n[0] || (n[0] = [
|
|
118
|
+
g("选择文件")
|
|
119
|
+
])),
|
|
120
|
+
_: 1,
|
|
121
|
+
__: [0]
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
}, 16)
|
|
126
|
+
]),
|
|
127
|
+
r("div", R, d(z()), 1)
|
|
128
|
+
]),
|
|
129
|
+
r("div", W, [
|
|
130
|
+
(u(!0), i(M, null, V(l.value, (o, f) => (u(), i("div", {
|
|
131
|
+
key: f,
|
|
132
|
+
class: "mb-2 pb-1"
|
|
133
|
+
}, [
|
|
134
|
+
r("div", X, [
|
|
135
|
+
r("div", Y, [
|
|
136
|
+
r("span", {
|
|
137
|
+
class: T(["text-gray-700 mr-2", [o.status == a(s).Offline ? "line-through" : ""]])
|
|
138
|
+
}, d(o.fileName ?? o.name), 3),
|
|
139
|
+
r("span", null, [
|
|
140
|
+
c(a(I), {
|
|
141
|
+
color: $(o.status)
|
|
142
|
+
}, {
|
|
143
|
+
default: p(() => [
|
|
144
|
+
g(d(N(o.status)), 1)
|
|
145
|
+
]),
|
|
146
|
+
_: 2
|
|
147
|
+
}, 1032, ["color"])
|
|
148
|
+
])
|
|
149
|
+
]),
|
|
150
|
+
r("div", Z, [
|
|
151
|
+
o.status == a(s).Offline || o.status == a(s).Online ? (u(), i("span", {
|
|
152
|
+
key: 0,
|
|
153
|
+
class: "text-blue-500 hover:text-blue-700 mr-4 cursor-pointer",
|
|
154
|
+
onClick: (x) => S(o)
|
|
155
|
+
}, d(o.status == a(s).Offline ? "上线" : "下线"), 9, ee)) : v("", !0),
|
|
156
|
+
o.status == a(s).Offline || o.status == a(s).Online ? (u(), i("span", {
|
|
157
|
+
key: 1,
|
|
158
|
+
class: "text-blue-500 hover:text-blue-700 mr-4 cursor-pointer",
|
|
159
|
+
onClick: (x) => F(f)
|
|
160
|
+
}, "下载", 8, te)) : v("", !0),
|
|
161
|
+
r("span", {
|
|
162
|
+
class: "text-red-500 hover:text-red-700 cursor-pointer",
|
|
163
|
+
onClick: (x) => L(f)
|
|
164
|
+
}, "删除", 8, se)
|
|
165
|
+
])
|
|
166
|
+
]),
|
|
167
|
+
r("div", null, [
|
|
168
|
+
c(a(Q), {
|
|
169
|
+
percent: o.percent,
|
|
170
|
+
"stroke-width": 2,
|
|
171
|
+
"show-info": !1,
|
|
172
|
+
style: { height: "2px" }
|
|
173
|
+
}, null, 8, ["percent"])
|
|
174
|
+
])
|
|
175
|
+
]))), 128))
|
|
176
|
+
])
|
|
177
|
+
]));
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
export {
|
|
181
|
+
ce as _
|
|
182
|
+
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { default as Dialog } from './dialog/index.vue';
|
|
2
|
-
import { default as UploadForm } from './dialog/uploadForm.vue';
|
|
3
|
-
import { default as ExcelForm } from './dialog/excelForm.vue';
|
|
4
2
|
import { default as Drawer } from './drawer/index.vue';
|
|
5
3
|
import { default as Form } from './form/index.vue';
|
|
6
4
|
import { default as FormItem } from './form/formItem.vue';
|
|
@@ -12,8 +10,6 @@ import { default as Toolbar } from './toolbar/index.vue';
|
|
|
12
10
|
import { default as Icontool } from './toolbar/icontool.vue';
|
|
13
11
|
import { default as Tree } from './tree/index.vue';
|
|
14
12
|
export { Dialog };
|
|
15
|
-
export { UploadForm };
|
|
16
|
-
export { ExcelForm };
|
|
17
13
|
export { Drawer };
|
|
18
14
|
export { Form };
|
|
19
15
|
export { FormItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/content/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/content/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAMlB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -62,8 +62,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
62
62
|
};
|
|
63
63
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
64
64
|
select: (...args: any[]) => void;
|
|
65
|
-
"update:value": (...args: any[]) => void;
|
|
66
65
|
change: (...args: any[]) => void;
|
|
66
|
+
"update:value": (...args: any[]) => void;
|
|
67
67
|
"update:labels": (...args: any[]) => void;
|
|
68
68
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
69
69
|
autoload: {
|
|
@@ -127,14 +127,14 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
127
127
|
};
|
|
128
128
|
}>> & Readonly<{
|
|
129
129
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
130
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
131
130
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
131
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
132
132
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
133
133
|
}>, {
|
|
134
134
|
value: string | number | unknown[] | null;
|
|
135
|
+
all: boolean;
|
|
135
136
|
autoload: boolean;
|
|
136
137
|
autoClean: boolean;
|
|
137
|
-
all: boolean;
|
|
138
138
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
139
139
|
export default _default;
|
|
140
140
|
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -48,8 +48,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
48
48
|
required: boolean;
|
|
49
49
|
};
|
|
50
50
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
51
|
-
"update:value": (...args: any[]) => void;
|
|
52
51
|
change: (...args: any[]) => void;
|
|
52
|
+
"update:value": (...args: any[]) => void;
|
|
53
53
|
"update:labels": (...args: any[]) => void;
|
|
54
54
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
55
55
|
autoload: {
|
|
@@ -99,12 +99,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
99
99
|
required: boolean;
|
|
100
100
|
};
|
|
101
101
|
}>> & Readonly<{
|
|
102
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
103
102
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
104
104
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
|
-
autoload: boolean;
|
|
107
106
|
all: boolean;
|
|
107
|
+
autoload: boolean;
|
|
108
108
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
109
109
|
export default _default;
|
|
110
110
|
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -121,8 +121,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
121
121
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
122
122
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
123
123
|
}>, {
|
|
124
|
-
autoload: boolean;
|
|
125
124
|
all: boolean;
|
|
125
|
+
autoload: boolean;
|
|
126
126
|
nodata: string;
|
|
127
127
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
128
128
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as AceEditor } from './aceEditor/index.vue';
|
|
2
1
|
import { default as AutoComplete } from './autoComplete/index.vue';
|
|
3
2
|
import { default as Cascader } from './cascader/index.vue';
|
|
4
3
|
import { default as Checkbox } from './checkbox/index.vue';
|
|
@@ -18,7 +17,6 @@ import { default as Transfer } from './transfer/index.vue';
|
|
|
18
17
|
import { default as TransferTable } from './transfer/transferTable.vue';
|
|
19
18
|
import { default as TreeSelect } from './treeSelect/index.vue';
|
|
20
19
|
import { default as UploadList } from './upload/uploadList.vue';
|
|
21
|
-
export { AceEditor };
|
|
22
20
|
export { AutoComplete };
|
|
23
21
|
export { Cascader };
|
|
24
22
|
export { Checkbox };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,OAAO,aAAa,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,OAAO,aAAa,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,CAAC;AAEzB,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -59,8 +59,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
59
59
|
required: boolean;
|
|
60
60
|
};
|
|
61
61
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
62
|
-
"update:value": (...args: any[]) => void;
|
|
63
62
|
change: (...args: any[]) => void;
|
|
63
|
+
"update:value": (...args: any[]) => void;
|
|
64
64
|
"update:labels": (...args: any[]) => void;
|
|
65
65
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
66
66
|
value: {
|
|
@@ -121,13 +121,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
121
121
|
required: boolean;
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{
|
|
124
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
125
124
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
125
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
126
126
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
127
127
|
}>, {
|
|
128
128
|
value: string | number | unknown[] | null;
|
|
129
|
-
autoload: boolean;
|
|
130
129
|
all: boolean;
|
|
130
|
+
autoload: boolean;
|
|
131
131
|
nodata: string;
|
|
132
132
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
133
133
|
export default _default;
|
|
@@ -64,8 +64,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
64
64
|
required: boolean;
|
|
65
65
|
};
|
|
66
66
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
67
|
-
"update:value": (...args: any[]) => void;
|
|
68
67
|
change: (...args: any[]) => void;
|
|
68
|
+
"update:value": (...args: any[]) => void;
|
|
69
69
|
"update:labels": (...args: any[]) => void;
|
|
70
70
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
71
71
|
value: {
|
|
@@ -130,13 +130,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
130
130
|
required: boolean;
|
|
131
131
|
};
|
|
132
132
|
}>> & Readonly<{
|
|
133
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
134
133
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
134
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
135
135
|
"onUpdate:labels"?: ((...args: any[]) => any) | undefined;
|
|
136
136
|
}>, {
|
|
137
137
|
value: SelectValueType;
|
|
138
|
-
autoload: boolean;
|
|
139
138
|
all: boolean;
|
|
139
|
+
autoload: boolean;
|
|
140
140
|
selectFirst: boolean;
|
|
141
141
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
142
142
|
export default _default;
|
|
@@ -23,11 +23,11 @@ declare function __VLS_template(): {
|
|
|
23
23
|
};
|
|
24
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
25
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
-
"update:value": (...args: any[]) => void;
|
|
27
26
|
change: (...args: any[]) => void;
|
|
27
|
+
"update:value": (...args: any[]) => void;
|
|
28
28
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
29
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
30
29
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
33
|
export default _default;
|
|
@@ -14,8 +14,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
-
"update:value": (...args: any[]) => void;
|
|
18
17
|
change: (...args: any[]) => void;
|
|
18
|
+
"update:value": (...args: any[]) => void;
|
|
19
19
|
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
20
20
|
multiple: {
|
|
21
21
|
type: BooleanConstructor;
|
|
@@ -30,8 +30,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
}>> & Readonly<{
|
|
33
|
-
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
34
33
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
multiple: boolean;
|
|
37
37
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon } from './common';
|
|
2
|
-
import { Dialog,
|
|
2
|
+
import { Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree } from './content';
|
|
3
3
|
import { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList } from './form';
|
|
4
|
-
import { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs
|
|
5
|
-
|
|
6
|
-
import { default as Error404 } from './error/error404.vue';
|
|
7
|
-
export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Dialog, UploadForm, ExcelForm, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs, BasicLayout, };
|
|
8
|
-
export { Error403, Error404 };
|
|
4
|
+
import { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs } from './layout';
|
|
5
|
+
export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon, Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs, };
|
|
9
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACjH,OAAO,EACJ,MAAM,EACN,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACjH,OAAO,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,UAAU,EACV,KAAK,EACL,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,IAAI,EACN,MAAM,WAAW,CAAC;AACnB,OAAO,EACJ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,KAAK,EACL,SAAS,EACT,aAAa,EACb,WAAW,EACX,UAAU,EACV,KAAK,EACL,WAAW,EACX,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,UAAU,EACV,UAAU,EACZ,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE9F,OAAO,EACJ,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,MAAM,EACN,IAAI,EACJ,UAAU,EACV,WAAW,EACX,QAAQ,EACR,MAAM,EACN,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,UAAU,EACV,KAAK,EACL,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,KAAK,EACL,SAAS,EACT,aAAa,EACb,WAAW,EACX,UAAU,EACV,KAAK,EACL,WAAW,EACX,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,UAAU,EACV,UAAU,EACV,UAAU,EACV,OAAO,EACP,QAAQ,EACR,MAAM,EACN,WAAW,EACX,IAAI,EACJ,QAAQ,GACV,CAAC"}
|
|
@@ -5,7 +5,6 @@ import { default as Header } from './header/index.vue';
|
|
|
5
5
|
import { default as HeaderExits } from './header/headerExits.vue';
|
|
6
6
|
import { default as Menu } from './menu/index.vue';
|
|
7
7
|
import { default as MenuTabs } from './menu/menuTabs.vue';
|
|
8
|
-
import { default as BasicLayout } from './page/basicLayout.vue';
|
|
9
8
|
export { Breadcrumb };
|
|
10
9
|
export { Content };
|
|
11
10
|
export { Datetime };
|
|
@@ -13,5 +12,4 @@ export { Header };
|
|
|
13
12
|
export { HeaderExits };
|
|
14
13
|
export { Menu };
|
|
15
14
|
export { MenuTabs };
|
|
16
|
-
export { BasicLayout };
|
|
17
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,OAAO,IAAI,MAAM,kBAAkB,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,CAAC;AAChB,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { defineComponent as F, defineAsyncComponent as M, ref as m, watch as V, onMounted as J, createElementBlock as x, openBlock as p, Fragment as K, createElementVNode as v, createVNode as _, toDisplayString as W, unref as i, createBlock as P, withKeys as f, normalizeClass as N, withModifiers as w, withCtx as z, createCommentVNode as L } from "vue";
|
|
2
|
-
import "../../assets/modules/
|
|
2
|
+
import { _ as q } from "../../assets/modules/index-B8vL5FiT.js";
|
|
3
3
|
import "ant-design-vue";
|
|
4
|
-
import { _ as
|
|
4
|
+
import { _ as D } from "../../assets/modules/index-ekkaExvB.js";
|
|
5
5
|
import "@skyfox2000/fapi";
|
|
6
6
|
import "@skyfox2000/webbase";
|
|
7
|
-
import { _ as D } from "../../assets/modules/index-FzWSvscZ.js";
|
|
8
|
-
import "dayjs";
|
|
9
|
-
import "vue-m-message";
|
|
10
|
-
import "@vue-office/excel";
|
|
11
|
-
import "../../assets/modules/excelForm-Dzndz-SG.js";
|
|
12
7
|
import "vue-draggable-next";
|
|
8
|
+
import "vue-m-message";
|
|
9
|
+
import "../../assets/modules/index-BahGnrAq.js";
|
|
10
|
+
import "dayjs";
|
|
13
11
|
import "@skyfox2000/microbase";
|
|
14
12
|
const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
15
13
|
const o = document.createElement("script");
|
|
@@ -45,7 +43,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
45
43
|
}, T = { class: "w-full overflow-hidden rounded-md border-1 border-solid border-gray-300" }, G = { class: "w-full h-[30px] bg-[#ccc] relative flex items-center justify-between px-2" }, H = { class: "flex-1 overflow-hidden" }, I = {
|
|
46
44
|
key: 1,
|
|
47
45
|
class: "h-[500px] w-[99.3%] flex justify-center items-center border-1 border-solid border-gray-200"
|
|
48
|
-
}, $ = "github",
|
|
46
|
+
}, $ = "github", ie = /* @__PURE__ */ F({
|
|
49
47
|
__name: "index",
|
|
50
48
|
props: {
|
|
51
49
|
value: {},
|
|
@@ -109,7 +107,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
109
107
|
v("div", T, [
|
|
110
108
|
v("div", G, [
|
|
111
109
|
v("div", null, W(i(r).toUpperCase()), 1),
|
|
112
|
-
_(i(
|
|
110
|
+
_(i(D), {
|
|
113
111
|
icon: "icon-fullscreen",
|
|
114
112
|
clickable: "",
|
|
115
113
|
class: "w-4 h-4 text-[12px]",
|
|
@@ -136,7 +134,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
136
134
|
}, "加载编辑器中...", 2))
|
|
137
135
|
])
|
|
138
136
|
]),
|
|
139
|
-
_(i(
|
|
137
|
+
_(i(q), {
|
|
140
138
|
title: "代码编辑器",
|
|
141
139
|
open: d.value,
|
|
142
140
|
"onUpdate:open": e[6] || (e[6] = (u) => d.value = u),
|
|
@@ -165,5 +163,5 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
165
163
|
}
|
|
166
164
|
});
|
|
167
165
|
export {
|
|
168
|
-
|
|
166
|
+
ie as default
|
|
169
167
|
};
|
|
@@ -1,4 +1,96 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as y, ref as I, watch as C, onMounted as g, resolveComponent as b, createBlock as n, openBlock as o, unref as e, withCtx as a, createCommentVNode as c, createVNode as r, createElementVNode as f, createElementBlock as k, toDisplayString as w, normalizeClass as S, KeepAlive as N, resolveDynamicComponent as $ } from "vue";
|
|
2
|
+
import { Layout as m, LayoutSider as E } from "ant-design-vue";
|
|
3
|
+
import { a as z } from "../../assets/modules/index-ekkaExvB.js";
|
|
4
|
+
import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-DQt4U8CY.js";
|
|
5
|
+
import { useAppInfo as j, useSettingInfo as K, usePageInfo as M } from "@skyfox2000/webbase";
|
|
6
|
+
import P from "vue-m-message";
|
|
7
|
+
const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-nowrap items-center justify-center text-white font-bold text-lg overflow-hidden text-ellipsis" }, U = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "ml-[10px]"
|
|
10
|
+
}, O = /* @__PURE__ */ y({
|
|
11
|
+
__name: "basicLayout",
|
|
12
|
+
props: {
|
|
13
|
+
routes: {}
|
|
14
|
+
},
|
|
15
|
+
setup(d) {
|
|
16
|
+
const _ = d, t = j(), l = K(), x = M(), p = I("h-[calc(100vh-80px)]");
|
|
17
|
+
return C(
|
|
18
|
+
() => l.fullscreen,
|
|
19
|
+
(i) => {
|
|
20
|
+
p.value = i ? "h-[calc(100vh-40px)]" : "h-[calc(100vh-80px)]";
|
|
21
|
+
}
|
|
22
|
+
), g(() => {
|
|
23
|
+
P.closeAll();
|
|
24
|
+
}), (i, u) => {
|
|
25
|
+
const h = b("router-view");
|
|
26
|
+
return o(), n(e(m), { class: "h-screen" }, {
|
|
27
|
+
default: a(() => [
|
|
28
|
+
e(l).fullscreen ? c("", !0) : (o(), n(e(E), {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: "overflow-auto h-screen left-0 top-0 bottom-0",
|
|
31
|
+
collapsed: e(l).menuCollapse,
|
|
32
|
+
"onUpdate:collapsed": u[0] || (u[0] = (s) => e(l).menuCollapse = s),
|
|
33
|
+
collapsible: ""
|
|
34
|
+
}, {
|
|
35
|
+
default: a(() => [
|
|
36
|
+
f("div", T, [
|
|
37
|
+
r(z, {
|
|
38
|
+
title: e(l).menuCollapse ? e(t).appInfo.Name : "",
|
|
39
|
+
placement: "right"
|
|
40
|
+
}, {
|
|
41
|
+
default: a(() => {
|
|
42
|
+
var s;
|
|
43
|
+
return [
|
|
44
|
+
(s = e(t).appInfo.Icon) != null && s.startsWith("sym-") ? (o(), n(A, {
|
|
45
|
+
key: 0,
|
|
46
|
+
icon: e(t).appInfo.Icon,
|
|
47
|
+
fontsize: "30px",
|
|
48
|
+
size: "26px"
|
|
49
|
+
}, null, 8, ["icon"])) : (o(), n(B, {
|
|
50
|
+
key: 1,
|
|
51
|
+
icon: e(t).appInfo.Icon,
|
|
52
|
+
class: "mx-1"
|
|
53
|
+
}, null, 8, ["icon"]))
|
|
54
|
+
];
|
|
55
|
+
}),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["title"]),
|
|
58
|
+
e(l).menuCollapse ? c("", !0) : (o(), k("span", U, w(e(t).appInfo.Name), 1))
|
|
59
|
+
]),
|
|
60
|
+
r(L, {
|
|
61
|
+
routes: _.routes
|
|
62
|
+
}, null, 8, ["routes"])
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["collapsed"])),
|
|
66
|
+
r(e(m), { class: "overflow-y-auto block" }, {
|
|
67
|
+
default: a(() => [
|
|
68
|
+
e(l).fullscreen ? c("", !0) : (o(), n(V, { key: 0 })),
|
|
69
|
+
e(x).TabEnabled ? (o(), n(D, { key: 1 })) : c("", !0),
|
|
70
|
+
f("div", {
|
|
71
|
+
class: S(["relative overflow-y-auto", p.value])
|
|
72
|
+
}, [
|
|
73
|
+
r(h, null, {
|
|
74
|
+
default: a(({ Component: s, route: v }) => [
|
|
75
|
+
(o(), n(N, {
|
|
76
|
+
include: e(t).CachedComponents,
|
|
77
|
+
exclude: e(t).ExcludeComponents
|
|
78
|
+
}, [
|
|
79
|
+
(o(), n($(e(t).cacheComponent(s, v))))
|
|
80
|
+
], 1032, ["include", "exclude"]))
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
})
|
|
84
|
+
], 2)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
});
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
});
|
|
2
94
|
export {
|
|
3
|
-
|
|
95
|
+
O as default
|
|
4
96
|
};
|
package/lib/es/Error403/index.js
CHANGED
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as n, createBlock as p, openBlock as a, unref as e, withCtx as r, createVNode as i, createTextVNode as u } from "vue";
|
|
2
|
+
import { Result as c, Button as m } from "ant-design-vue";
|
|
3
|
+
import { AppRouter as s } from "@skyfox2000/webbase";
|
|
4
|
+
const x = /* @__PURE__ */ n({
|
|
5
|
+
__name: "error403",
|
|
6
|
+
setup(_) {
|
|
7
|
+
const o = () => {
|
|
8
|
+
s.back();
|
|
9
|
+
};
|
|
10
|
+
return (l, t) => (a(), p(e(c), {
|
|
11
|
+
status: "403",
|
|
12
|
+
title: "403",
|
|
13
|
+
"sub-title": "您没有权限访问当前页面!"
|
|
14
|
+
}, {
|
|
15
|
+
extra: r(() => [
|
|
16
|
+
i(e(m), {
|
|
17
|
+
type: "primary",
|
|
18
|
+
onClick: o
|
|
19
|
+
}, {
|
|
20
|
+
default: r(() => t[0] || (t[0] = [
|
|
21
|
+
u("点击返回")
|
|
22
|
+
])),
|
|
23
|
+
_: 1,
|
|
24
|
+
__: [0]
|
|
25
|
+
})
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
2
31
|
export {
|
|
3
|
-
|
|
32
|
+
x as default
|
|
4
33
|
};
|
package/lib/es/Error404/index.js
CHANGED
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent as n, createBlock as p, openBlock as a, unref as e, withCtx as r, createVNode as i, createTextVNode as u } from "vue";
|
|
2
|
+
import { Result as c, Button as m } from "ant-design-vue";
|
|
3
|
+
import { AppRouter as s } from "@skyfox2000/webbase";
|
|
4
|
+
const x = /* @__PURE__ */ n({
|
|
5
|
+
__name: "error404",
|
|
6
|
+
setup(_) {
|
|
7
|
+
const o = () => {
|
|
8
|
+
s.back();
|
|
9
|
+
};
|
|
10
|
+
return (l, t) => (a(), p(e(c), {
|
|
11
|
+
status: "404",
|
|
12
|
+
title: "404",
|
|
13
|
+
"sub-title": "页面不存在或者没有权限访问页面!"
|
|
14
|
+
}, {
|
|
15
|
+
extra: r(() => [
|
|
16
|
+
i(e(m), {
|
|
17
|
+
type: "primary",
|
|
18
|
+
onClick: o
|
|
19
|
+
}, {
|
|
20
|
+
default: r(() => t[0] || (t[0] = [
|
|
21
|
+
u("点击返回")
|
|
22
|
+
])),
|
|
23
|
+
_: 1,
|
|
24
|
+
__: [0]
|
|
25
|
+
})
|
|
26
|
+
]),
|
|
27
|
+
_: 1
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
2
31
|
export {
|
|
3
|
-
|
|
32
|
+
x as default
|
|
4
33
|
};
|