@skyfox2000/webui 1.2.1 → 1.2.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/.vscode/settings.json +1 -1
- package/lib/assets/modules/download-D6JcG5ZR.js +210 -0
- package/lib/assets/modules/file-upload-D5dPRmq8.js +179 -0
- package/lib/assets/modules/form-excel-DITF2FoK.js +211 -0
- package/lib/assets/modules/index-CRKPVlgC.js +109 -0
- package/lib/assets/modules/{index-Civhd8xG.js → index-XIk9IJH2.js} +34 -35
- package/lib/assets/modules/{menuTabs-BRYvFWA-.js → menuTabs-D2OgHmBc.js} +50 -49
- package/lib/assets/modules/pinia-8iujwf8y.js +2186 -0
- package/lib/assets/modules/{index-DmWrkTXX.js → toolIcon-Cwggvppx.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 +3 -1
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +1121 -854
- package/package.json +1 -1
- package/src/components/index.ts +9 -54
- package/src/index.ts +54 -1
- 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,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i, createBlock as s, openBlock as l, unref as a, withCtx as p, renderSlot as f, createCommentVNode as u, mergeProps as d } from "vue";
|
|
2
2
|
import { Tooltip as I } from "ant-design-vue";
|
|
3
3
|
import { SERVER_HOST as r } from "@skyfox2000/fapi";
|
|
4
|
-
import { c as S } from "./
|
|
4
|
+
import { c as S } from "./pinia-8iujwf8y.js";
|
|
5
5
|
const T = /* @__PURE__ */ i({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
@@ -236,8 +236,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
236
236
|
clickable: boolean;
|
|
237
237
|
flip: boolean;
|
|
238
238
|
fontsize: string;
|
|
239
|
-
className: string;
|
|
240
239
|
autoSwitch: boolean;
|
|
240
|
+
className: string;
|
|
241
241
|
spin: boolean;
|
|
242
242
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
243
243
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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, };
|
|
1
|
+
export { Button, Tooltip, AppIcon, Fullscreen, Helper, Icon, LayoutIcon, ProjectIcon, ToolIcon } from './common';
|
|
2
|
+
export { Dialog, Drawer, Form, FormItem, Search, SearchItem, Table, TableOperate, Toolbar, Icontool, Tree, } from './content';
|
|
3
|
+
export { AutoComplete, Cascader, Checkbox, DatePicker, Input, InputIcon, InputPassword, InputNumber, PropEditor, Radio, RadioStatus, RangePicker, Select, Switch, Textarea, Transfer, TransferTable, TreeSelect, UploadList, } from './form';
|
|
4
|
+
export { Breadcrumb, Content, Datetime, Header, HeaderExits, Menu, MenuTabs } from './layout';
|
|
@@ -1,15 +1,14 @@
|
|
|
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 { _ as q } from "../../assets/modules/index-Civhd8xG.js";
|
|
3
2
|
import "ant-design-vue";
|
|
4
|
-
import { _ as
|
|
3
|
+
import { _ as q } from "../../assets/modules/toolIcon-Cwggvppx.js";
|
|
5
4
|
import "@skyfox2000/fapi";
|
|
6
|
-
import "../../assets/modules/
|
|
5
|
+
import "../../assets/modules/pinia-8iujwf8y.js";
|
|
7
6
|
import "@skyfox2000/microbase";
|
|
8
7
|
import "vue-m-message";
|
|
9
8
|
import "async-validator";
|
|
10
9
|
import "dayjs";
|
|
10
|
+
import { _ as D } from "../../assets/modules/index-XIk9IJH2.js";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
|
-
import "../../assets/modules/index-DQMdt51R.js";
|
|
13
12
|
const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
14
13
|
const o = document.createElement("script");
|
|
15
14
|
o.src = `${s}ace/ace.js`, o.async = !0, o.onload = () => {
|
|
@@ -44,7 +43,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
44
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 = {
|
|
45
44
|
key: 1,
|
|
46
45
|
class: "h-[500px] w-[99.3%] flex justify-center items-center border-1 border-solid border-gray-200"
|
|
47
|
-
}, $ = "github",
|
|
46
|
+
}, $ = "github", ie = /* @__PURE__ */ F({
|
|
48
47
|
__name: "index",
|
|
49
48
|
props: {
|
|
50
49
|
value: {},
|
|
@@ -108,7 +107,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
108
107
|
v("div", T, [
|
|
109
108
|
v("div", G, [
|
|
110
109
|
v("div", null, W(i(r).toUpperCase()), 1),
|
|
111
|
-
_(i(
|
|
110
|
+
_(i(q), {
|
|
112
111
|
icon: "icon-fullscreen",
|
|
113
112
|
clickable: "",
|
|
114
113
|
class: "w-4 h-4 text-[12px]",
|
|
@@ -135,7 +134,7 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
135
134
|
}, "加载编辑器中...", 2))
|
|
136
135
|
])
|
|
137
136
|
]),
|
|
138
|
-
_(i(
|
|
137
|
+
_(i(D), {
|
|
139
138
|
title: "代码编辑器",
|
|
140
139
|
open: d.value,
|
|
141
140
|
"onUpdate:open": e[6] || (e[6] = (u) => d.value = u),
|
|
@@ -164,5 +163,5 @@ const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
|
164
163
|
}
|
|
165
164
|
});
|
|
166
165
|
export {
|
|
167
|
-
|
|
166
|
+
ie as default
|
|
168
167
|
};
|
|
@@ -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-Cwggvppx.js";
|
|
4
|
+
import { I as A, a as B, f as L, d as V, g as D } from "../../assets/modules/menuTabs-D2OgHmBc.js";
|
|
5
|
+
import { ab as j, u as K, ad as M } from "../../assets/modules/pinia-8iujwf8y.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/pinia-8iujwf8y.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/pinia-8iujwf8y.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
|
};
|