@skyfox2000/webui 1.2.1 → 1.2.2
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/.vscode/settings.json +1 -1
- package/lib/assets/modules/download-C3KYmuzo.js +210 -0
- package/lib/assets/modules/file-upload-CMHnVQty.js +179 -0
- package/lib/assets/modules/form-excel-Xre5F1Ez.js +211 -0
- package/lib/assets/modules/hostInfo-DK8lknRe.js +2182 -0
- package/lib/assets/modules/index-htdsukeW.js +109 -0
- package/lib/assets/modules/{index-Civhd8xG.js → index-lc53kVVe.js} +34 -35
- package/lib/assets/modules/{menuTabs-BRYvFWA-.js → menuTabs-CkAkFKU8.js} +50 -49
- package/lib/assets/modules/{index-DmWrkTXX.js → toolIcon-Dpr1pbgl.js} +1 -1
- package/lib/components/common/icon/index.vue.d.ts +1 -1
- package/lib/components/index.d.ts +4 -5
- package/lib/es/AceEditor/index.js +7 -8
- package/lib/es/BasicLayout/index.js +20 -19
- package/lib/es/Error403/index.js +7 -6
- package/lib/es/Error404/index.js +7 -6
- package/lib/es/ExcelForm/index.js +179 -380
- package/lib/es/UploadForm/index.js +24 -25
- package/lib/index.d.ts +1 -0
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +1119 -854
- package/package.json +1 -1
- package/src/components/index.ts +9 -54
- package/src/index.ts +50 -0
- package/vite.config.ts +1 -1
- package/lib/assets/modules/file-upload-CBUcsUnR.js +0 -170
- package/lib/assets/modules/form-validate-CgX7aR7T.js +0 -297
- package/lib/assets/modules/index-DQMdt51R.js +0 -726
- package/lib/assets/modules/settingInfo-BZakNKIN.js +0 -999
- package/lib/assets/modules/uploadList-B7XoxGOh.js +0 -278
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { defineComponent as y, ref as I, watch as C, onMounted as
|
|
1
|
+
import { defineComponent as y, ref as I, watch as C, onMounted as b, resolveComponent as g, createBlock as n, openBlock as o, unref as e, withCtx as l, createCommentVNode as c, createVNode as r, createElementVNode as u, createElementBlock as k, toDisplayString as w, normalizeClass as S, KeepAlive as N, resolveDynamicComponent as $ } from "vue";
|
|
2
2
|
import { Layout as f, LayoutSider as E } from "ant-design-vue";
|
|
3
|
-
import { a as z } from "../../assets/modules/
|
|
4
|
-
import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-
|
|
5
|
-
import {
|
|
6
|
-
import "@skyfox2000/microbase";
|
|
3
|
+
import { a as z } from "../../assets/modules/toolIcon-Dpr1pbgl.js";
|
|
4
|
+
import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-CkAkFKU8.js";
|
|
5
|
+
import { a9 as j, u as K, ab as M } from "../../assets/modules/hostInfo-DK8lknRe.js";
|
|
7
6
|
import "@skyfox2000/fapi";
|
|
7
|
+
import "vue-draggable-next";
|
|
8
8
|
import P from "vue-m-message";
|
|
9
|
-
import "async-validator";
|
|
10
9
|
import "dayjs";
|
|
10
|
+
import "@skyfox2000/microbase";
|
|
11
|
+
import "async-validator";
|
|
11
12
|
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 = {
|
|
12
13
|
key: 0,
|
|
13
14
|
class: "ml-[10px]"
|
|
14
|
-
},
|
|
15
|
+
}, Z = /* @__PURE__ */ y({
|
|
15
16
|
__name: "basicLayout",
|
|
16
17
|
props: {
|
|
17
18
|
routes: {}
|
|
@@ -23,29 +24,29 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
23
24
|
(i) => {
|
|
24
25
|
p.value = i ? "h-[calc(100vh-40px)]" : "h-[calc(100vh-80px)]";
|
|
25
26
|
}
|
|
26
|
-
),
|
|
27
|
+
), b(() => {
|
|
27
28
|
P.closeAll();
|
|
28
29
|
}), (i, m) => {
|
|
29
|
-
const h =
|
|
30
|
+
const h = g("router-view");
|
|
30
31
|
return o(), n(e(f), { class: "h-screen" }, {
|
|
31
|
-
default:
|
|
32
|
+
default: l(() => [
|
|
32
33
|
e(s).fullscreen ? c("", !0) : (o(), n(e(E), {
|
|
33
34
|
key: 0,
|
|
34
35
|
class: "overflow-auto h-screen left-0 top-0 bottom-0",
|
|
35
36
|
collapsed: e(s).menuCollapse,
|
|
36
|
-
"onUpdate:collapsed": m[0] || (m[0] = (
|
|
37
|
+
"onUpdate:collapsed": m[0] || (m[0] = (a) => e(s).menuCollapse = a),
|
|
37
38
|
collapsible: ""
|
|
38
39
|
}, {
|
|
39
|
-
default:
|
|
40
|
+
default: l(() => [
|
|
40
41
|
u("div", T, [
|
|
41
42
|
r(z, {
|
|
42
43
|
title: e(s).menuCollapse ? e(t).appInfo.Name : "",
|
|
43
44
|
placement: "right"
|
|
44
45
|
}, {
|
|
45
|
-
default:
|
|
46
|
-
var
|
|
46
|
+
default: l(() => {
|
|
47
|
+
var a;
|
|
47
48
|
return [
|
|
48
|
-
(
|
|
49
|
+
(a = e(t).appInfo.Icon) != null && a.startsWith("sym-") ? (o(), n(A, {
|
|
49
50
|
key: 0,
|
|
50
51
|
icon: e(t).appInfo.Icon,
|
|
51
52
|
fontsize: "30px",
|
|
@@ -68,19 +69,19 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
68
69
|
_: 1
|
|
69
70
|
}, 8, ["collapsed"])),
|
|
70
71
|
r(e(f), { class: "overflow-y-auto block" }, {
|
|
71
|
-
default:
|
|
72
|
+
default: l(() => [
|
|
72
73
|
e(s).fullscreen ? c("", !0) : (o(), n(V, { key: 0 })),
|
|
73
74
|
e(x).TabEnabled ? (o(), n(D, { key: 1 })) : c("", !0),
|
|
74
75
|
u("div", {
|
|
75
76
|
class: S(["relative overflow-y-auto", p.value])
|
|
76
77
|
}, [
|
|
77
78
|
r(h, null, {
|
|
78
|
-
default:
|
|
79
|
+
default: l(({ Component: a, route: v }) => [
|
|
79
80
|
(o(), n(N, {
|
|
80
81
|
include: e(t).CachedComponents,
|
|
81
82
|
exclude: e(t).ExcludeComponents
|
|
82
83
|
}, [
|
|
83
|
-
(o(), n($(e(t).cacheComponent(
|
|
84
|
+
(o(), n($(e(t).cacheComponent(a, v))))
|
|
84
85
|
], 1032, ["include", "exclude"]))
|
|
85
86
|
]),
|
|
86
87
|
_: 1
|
|
@@ -96,5 +97,5 @@ const T = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
|
|
|
96
97
|
}
|
|
97
98
|
});
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
+
Z as default
|
|
100
101
|
};
|
package/lib/es/Error403/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
|
|
2
|
-
import { r as s } from "../../assets/modules/
|
|
3
|
-
import "
|
|
2
|
+
import { r as s } from "../../assets/modules/hostInfo-DK8lknRe.js";
|
|
3
|
+
import { Result as u, Button as c } from "ant-design-vue";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
+
import "vue-draggable-next";
|
|
5
6
|
import "vue-m-message";
|
|
6
|
-
import "async-validator";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import
|
|
9
|
-
|
|
8
|
+
import "@skyfox2000/microbase";
|
|
9
|
+
import "async-validator";
|
|
10
|
+
const V = /* @__PURE__ */ i({
|
|
10
11
|
__name: "error403",
|
|
11
12
|
setup(_) {
|
|
12
13
|
const o = () => {
|
|
@@ -34,5 +35,5 @@ const N = /* @__PURE__ */ i({
|
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
V as default
|
|
38
39
|
};
|
package/lib/es/Error404/index.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent as i, createBlock as p, openBlock as m, unref as r, withCtx as e, createVNode as n, createTextVNode as a } from "vue";
|
|
2
|
-
import { r as s } from "../../assets/modules/
|
|
3
|
-
import "
|
|
2
|
+
import { r as s } from "../../assets/modules/hostInfo-DK8lknRe.js";
|
|
3
|
+
import { Result as u, Button as c } from "ant-design-vue";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
+
import "vue-draggable-next";
|
|
5
6
|
import "vue-m-message";
|
|
6
|
-
import "async-validator";
|
|
7
7
|
import "dayjs";
|
|
8
|
-
import
|
|
9
|
-
|
|
8
|
+
import "@skyfox2000/microbase";
|
|
9
|
+
import "async-validator";
|
|
10
|
+
const V = /* @__PURE__ */ i({
|
|
10
11
|
__name: "error404",
|
|
11
12
|
setup(_) {
|
|
12
13
|
const o = () => {
|
|
@@ -34,5 +35,5 @@ const N = /* @__PURE__ */ i({
|
|
|
34
35
|
}
|
|
35
36
|
});
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
+
V as default
|
|
38
39
|
};
|