@skyfox2000/webui 1.4.18 → 1.4.21
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/assets/modules/{baseLayout-D3_NxEzk.js → baseLayout-Da4Ox7Lj.js} +3 -3
- package/lib/assets/modules/{file-upload-CNBcbAAZ.js → file-upload-Bu6FkNjZ.js} +5 -5
- package/lib/assets/modules/{index-CDr74akE.js → index-BYVerdEw.js} +2 -2
- package/lib/assets/modules/{index-DOlO_4KL.js → index-BysCt107.js} +2 -2
- package/lib/assets/modules/{index-D14BsF7C.js → index-Ch3meKe4.js} +1 -1
- package/lib/assets/modules/{menuTabs-CqAhoF--.js → menuTabs-BqLT-YbD.js} +16 -16
- package/lib/assets/modules/{toolIcon-BnkqBipR.js → toolIcon-Dd58W0UM.js} +1 -1
- package/lib/assets/modules/{upload-template-KI-IFzyp.js → upload-template-Csccple9.js} +28 -28
- package/lib/assets/modules/{uploadList-DnFXg_B3.js → uploadList-D8scq04c.js} +4 -4
- package/lib/components/form/index.d.ts +2 -0
- package/lib/components/form/propEditor/index.vue.d.ts +1 -0
- package/lib/components/form/upload/imageList.vue.d.ts +486 -0
- package/lib/components/form/upload/uploadList.vue.d.ts +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +2 -2
- package/lib/es/Error403/index.js +1 -1
- package/lib/es/Error404/index.js +1 -1
- package/lib/es/ExcelForm/index.js +5 -5
- package/lib/es/MenuLayout/index.js +2 -2
- package/lib/es/TemplateFile/index.js +4 -4
- package/lib/es/UploadForm/index.js +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/webui.css +1 -1
- package/lib/webui.es.js +1275 -1059
- package/package.json +1 -1
- package/src/components/form/index.ts +3 -0
- package/src/components/form/propEditor/index.vue +30 -28
- package/src/components/form/upload/imageList.vue +386 -0
- package/src/components/index.ts +1 -0
- package/src/index.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as _, onMounted as I, createBlock as s, openBlock as o, unref as e, withCtx as l, createCommentVNode as r, createVNode as p, createElementVNode as x, createElementBlock as y, toDisplayString as g, renderSlot as h } from "vue";
|
|
2
2
|
import { Layout as i, LayoutSider as k } from "ant-design-vue";
|
|
3
|
-
import { a as b } from "./toolIcon-
|
|
4
|
-
import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-
|
|
5
|
-
import { ah as v, a as B, aj as E } from "./upload-template-
|
|
3
|
+
import { a as b } from "./toolIcon-Dd58W0UM.js";
|
|
4
|
+
import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-BqLT-YbD.js";
|
|
5
|
+
import { ah as v, a as B, aj as E } from "./upload-template-Csccple9.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "@skyfox2000/fapi";
|
|
8
8
|
import L from "vue-m-message";
|
|
@@ -4,10 +4,10 @@ var d = (n, r, s) => m(n, typeof r != "symbol" ? r + "" : r, s);
|
|
|
4
4
|
import { hostUrl as w } from "@skyfox2000/fapi";
|
|
5
5
|
import y from "dayjs";
|
|
6
6
|
import f from "vue-m-message";
|
|
7
|
-
import {
|
|
7
|
+
import { M as b, u as g } from "./upload-template-Csccple9.js";
|
|
8
8
|
import { isMicroApp as O } from "@skyfox2000/microbase";
|
|
9
9
|
var i = /* @__PURE__ */ ((n) => (n.Pending = "pending", n.Uploading = "uploading", n.Success = "success", n.Error = "error", n.Online = "online", n.Offline = "offline", n))(i || {});
|
|
10
|
-
class
|
|
10
|
+
class M {
|
|
11
11
|
/**
|
|
12
12
|
* 连接路径参数,已判断 undefined 或 null 值
|
|
13
13
|
* @param args 路径参数数组
|
|
@@ -190,7 +190,7 @@ class S {
|
|
|
190
190
|
this.abortController && this.abortController.abort();
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
-
const
|
|
193
|
+
const x = async (n, r) => {
|
|
194
194
|
const s = new S(n, 1), c = [r];
|
|
195
195
|
await s.uploadFiles(
|
|
196
196
|
c,
|
|
@@ -206,6 +206,6 @@ const M = async (n, r) => {
|
|
|
206
206
|
export {
|
|
207
207
|
S as A,
|
|
208
208
|
i as U,
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
x as f,
|
|
210
|
+
M as p
|
|
211
211
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as B, provide as N, ref as w, watch as p, onMounted as _, createBlock as n, openBlock as r, unref as a, withCtx as s, createElementVNode as b, renderSlot as C, createVNode as V, createCommentVNode as d, createTextVNode as u, toDisplayString as v } from "vue";
|
|
2
|
-
import { _ as m } from "./index-
|
|
2
|
+
import { _ as m } from "./index-Ch3meKe4.js";
|
|
3
3
|
import { Modal as D, Space as $ } from "ant-design-vue";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import { P as E, d as M, o as P, b as K } from "./upload-template-
|
|
5
|
+
import { P as E, d as M, o as P, b as K } from "./upload-template-Csccple9.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "vue-m-message";
|
|
8
8
|
import "async-validator";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import H from "async-validator";
|
|
2
2
|
import { httpPost as M, ResStatus as V } from "@skyfox2000/fapi";
|
|
3
|
-
import { i as T, am as U, L as $, u as z } from "./upload-template-
|
|
3
|
+
import { i as T, am as U, L as $, u as z } from "./upload-template-Csccple9.js";
|
|
4
4
|
import m from "vue-m-message";
|
|
5
5
|
import { defineComponent as _, useAttrs as B, createElementBlock as A, openBlock as b, createVNode as O, unref as v, mergeProps as S, computed as E, createBlock as R, withCtx as L, normalizeStyle as N } from "vue";
|
|
6
6
|
import { Spin as K, Alert as P } from "ant-design-vue";
|
|
7
|
-
import { _ as W } from "./toolIcon-
|
|
7
|
+
import { _ as W } from "./toolIcon-Dd58W0UM.js";
|
|
8
8
|
const D = (i) => {
|
|
9
9
|
const e = i.split(`
|
|
10
10
|
`).filter((l) => l.trim() !== "");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as d, useAttrs as f, createElementBlock as u, openBlock as x, createVNode as e, withCtx as n, unref as o, mergeProps as r, renderSlot as p } from "vue";
|
|
2
2
|
import { Button as _ } from "ant-design-vue";
|
|
3
|
-
import { a as P, _ as k } from "./toolIcon-
|
|
3
|
+
import { a as P, _ as k } from "./toolIcon-Dd58W0UM.js";
|
|
4
4
|
const C = /* @__PURE__ */ d({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "index",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as x, createBlock as h, createCommentVNode as I, openBlock as u, unref as t, mergeProps as C, useAttrs as
|
|
2
|
-
import { a as w, _ as b } from "./toolIcon-
|
|
3
|
-
import { c as L,
|
|
4
|
-
import { _ as
|
|
1
|
+
import { defineComponent as x, createBlock as h, createCommentVNode as I, openBlock as u, unref as t, mergeProps as C, useAttrs as V, computed as j, ref as y, watch as k, withCtx as d, createElementBlock as g, normalizeStyle as T, createElementVNode as m, inject as W, onMounted as N, createVNode as l, toDisplayString as $, Fragment as R, createTextVNode as K, reactive as Y, nextTick as q, renderList as J, withModifiers as X } from "vue";
|
|
2
|
+
import { a as w, _ as b } from "./toolIcon-Dd58W0UM.js";
|
|
3
|
+
import { c as L, W as M, aj as P, Z as E, Y as U, u as D, M as Z, a as F, X as G, r as H, ah as z } from "./upload-template-Csccple9.js";
|
|
4
|
+
import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
import { theme as O, Breadcrumb as ee, Modal as te, Flex as ne, LayoutHeader as oe, Space as se, Menu as ie, Tabs as ce, TabPane as ae } from "ant-design-vue";
|
|
6
6
|
import { isMicroApp as le } from "@skyfox2000/microbase";
|
|
7
7
|
import { SERVER_HOST as B } from "@skyfox2000/fapi";
|
|
@@ -272,7 +272,7 @@ const re = /* @__PURE__ */ x({
|
|
|
272
272
|
"update:iconIndex"
|
|
273
273
|
],
|
|
274
274
|
setup(c, { emit: s }) {
|
|
275
|
-
const i =
|
|
275
|
+
const i = V(), e = c, r = s, a = j(() => {
|
|
276
276
|
if (Array.isArray(e.size)) return e.size;
|
|
277
277
|
{
|
|
278
278
|
let o = e.size;
|
|
@@ -335,7 +335,7 @@ const re = /* @__PURE__ */ x({
|
|
|
335
335
|
left: e.position ? e.position[0] : 0,
|
|
336
336
|
fontSize: e.fontsize,
|
|
337
337
|
transformOrigin: e.center ?? "center center",
|
|
338
|
-
transform: t(
|
|
338
|
+
transform: t(M)(),
|
|
339
339
|
color: e.color
|
|
340
340
|
}
|
|
341
341
|
}), [
|
|
@@ -349,7 +349,7 @@ const re = /* @__PURE__ */ x({
|
|
|
349
349
|
left: e.position ? e.position[0] : 0,
|
|
350
350
|
fontSize: e.fontsize,
|
|
351
351
|
transformOrigin: e.center ?? "center center",
|
|
352
|
-
transform: t(
|
|
352
|
+
transform: t(M)(e.angle, e.flip),
|
|
353
353
|
color: e.color
|
|
354
354
|
},
|
|
355
355
|
"aria-hidden": "true",
|
|
@@ -361,7 +361,7 @@ const re = /* @__PURE__ */ x({
|
|
|
361
361
|
_: 1
|
|
362
362
|
}, 8, ["title", "disabled", "color", "placement", "size"]));
|
|
363
363
|
}
|
|
364
|
-
}),
|
|
364
|
+
}), Me = /* @__PURE__ */ Q(pe, [["__scopeId", "data-v-0146f00c"]]), de = /* @__PURE__ */ x({
|
|
365
365
|
__name: "projectIcon",
|
|
366
366
|
props: {
|
|
367
367
|
icon: {
|
|
@@ -401,9 +401,9 @@ const re = /* @__PURE__ */ x({
|
|
|
401
401
|
const { useToken: s } = O, { token: i } = s(), e = P();
|
|
402
402
|
return k(
|
|
403
403
|
() => e.TabActive,
|
|
404
|
-
() =>
|
|
404
|
+
() => E()
|
|
405
405
|
), N(() => {
|
|
406
|
-
|
|
406
|
+
E();
|
|
407
407
|
}), (r, a) => (u(), g("div", {
|
|
408
408
|
class: "ml-5 h-fit p-0 flex items-center justify-between",
|
|
409
409
|
style: T({
|
|
@@ -446,7 +446,7 @@ const re = /* @__PURE__ */ x({
|
|
|
446
446
|
__name: "headerExits",
|
|
447
447
|
setup(c) {
|
|
448
448
|
const s = D(), i = y(!1), e = () => {
|
|
449
|
-
i.value = !1, le() ?
|
|
449
|
+
i.value = !1, le() ? Z.userLogout() : s.logout(!0);
|
|
450
450
|
};
|
|
451
451
|
return (r, a) => (u(), g(R, null, [
|
|
452
452
|
l(t(w), { title: "退出平台" }, {
|
|
@@ -512,7 +512,7 @@ const re = /* @__PURE__ */ x({
|
|
|
512
512
|
_: 1
|
|
513
513
|
}, 8, ["title"]));
|
|
514
514
|
}
|
|
515
|
-
}), be = { class: "flex items-center" },
|
|
515
|
+
}), be = { class: "flex items-center" }, Ee = /* @__PURE__ */ x({
|
|
516
516
|
__name: "index",
|
|
517
517
|
setup(c) {
|
|
518
518
|
const { useToken: s } = O, { token: i } = s(), e = F(), r = () => {
|
|
@@ -582,7 +582,7 @@ const re = /* @__PURE__ */ x({
|
|
|
582
582
|
S();
|
|
583
583
|
}
|
|
584
584
|
), N(() => {
|
|
585
|
-
|
|
585
|
+
G(s.routes, r, de, { class: "!w-5 !h-5" }), a.setTabActive(H.currentRoute.value.path), S();
|
|
586
586
|
}), (_, o) => (u(), h(t(ie), {
|
|
587
587
|
openKeys: p.value,
|
|
588
588
|
"onUpdate:openKeys": o[0] || (o[0] = (v) => p.value = v),
|
|
@@ -599,7 +599,7 @@ const re = /* @__PURE__ */ x({
|
|
|
599
599
|
setup(c) {
|
|
600
600
|
const { useToken: s } = O, { token: i } = s(), e = P();
|
|
601
601
|
k(
|
|
602
|
-
() =>
|
|
602
|
+
() => H.currentRoute.value.path,
|
|
603
603
|
(n) => {
|
|
604
604
|
n !== e.TabActive && e.setTabActive(n);
|
|
605
605
|
}
|
|
@@ -659,12 +659,12 @@ const re = /* @__PURE__ */ x({
|
|
|
659
659
|
}
|
|
660
660
|
});
|
|
661
661
|
export {
|
|
662
|
-
|
|
662
|
+
Me as I,
|
|
663
663
|
re as _,
|
|
664
664
|
de as a,
|
|
665
665
|
_e as b,
|
|
666
666
|
xe as c,
|
|
667
|
-
|
|
667
|
+
Ee as d,
|
|
668
668
|
ve as e,
|
|
669
669
|
Ue as f,
|
|
670
670
|
Re as g
|
|
@@ -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 "./upload-template-
|
|
4
|
+
import { c as S } from "./upload-template-Csccple9.js";
|
|
5
5
|
const T = /* @__PURE__ */ i({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
@@ -2482,7 +2482,7 @@ const W = new sa(), ee = (e, a, t) => {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
};
|
|
2484
2484
|
export {
|
|
2485
|
-
|
|
2485
|
+
ot as $,
|
|
2486
2486
|
Le as A,
|
|
2487
2487
|
ke as B,
|
|
2488
2488
|
de as C,
|
|
@@ -2495,37 +2495,37 @@ export {
|
|
|
2495
2495
|
ia as J,
|
|
2496
2496
|
la as K,
|
|
2497
2497
|
Oe as L,
|
|
2498
|
-
|
|
2499
|
-
|
|
2498
|
+
re as M,
|
|
2499
|
+
Xa as N,
|
|
2500
2500
|
N as O,
|
|
2501
2501
|
U as P,
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2502
|
+
Za as Q,
|
|
2503
|
+
oa as R,
|
|
2504
|
+
ft as S,
|
|
2505
|
+
es as T,
|
|
2506
|
+
as as U,
|
|
2507
|
+
ha as V,
|
|
2508
|
+
ma as W,
|
|
2509
|
+
ss as X,
|
|
2510
|
+
Ze as Y,
|
|
2511
|
+
ns as Z,
|
|
2512
2512
|
is as _,
|
|
2513
2513
|
os as a,
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2514
|
+
Ja as a0,
|
|
2515
|
+
it as a1,
|
|
2516
|
+
Na as a2,
|
|
2517
|
+
Ua as a3,
|
|
2518
|
+
qe as a4,
|
|
2519
|
+
Da as a5,
|
|
2520
|
+
ja as a6,
|
|
2521
|
+
aa as a7,
|
|
2522
|
+
ut as a8,
|
|
2523
|
+
Wa as a9,
|
|
2524
|
+
_a as aa,
|
|
2525
|
+
rt as ab,
|
|
2526
|
+
zt as ac,
|
|
2527
|
+
De as ad,
|
|
2528
|
+
W as ae,
|
|
2529
2529
|
ne as af,
|
|
2530
2530
|
ye as ag,
|
|
2531
2531
|
K as ah,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ae, ref as P, computed as D, watch as B, resolveDirective as ie, createElementBlock as d, openBlock as u, normalizeClass as $, unref as n, createElementVNode as h, withDirectives as y, createBlock as re, mergeProps as le, withCtx as w, createVNode as p, createTextVNode as z, toDisplayString as T, Fragment as ce, renderList as ue, createCommentVNode as C } from "vue";
|
|
2
|
-
import { _ as pe } from "./index-
|
|
3
|
-
import { a as A, _ as I } from "./toolIcon-
|
|
2
|
+
import { _ as pe } from "./index-Ch3meKe4.js";
|
|
3
|
+
import { a as A, _ as I } from "./toolIcon-Dd58W0UM.js";
|
|
4
4
|
import { httpPost as K, ResStatus as j } from "@skyfox2000/fapi";
|
|
5
|
-
import { L as V, u as q, v as de, _ as me } from "./upload-template-
|
|
6
|
-
import { U as i, f as fe, p as Q } from "./file-upload-
|
|
5
|
+
import { L as V, u as q, v as de, _ as me } from "./upload-template-Csccple9.js";
|
|
6
|
+
import { U as i, f as fe, p as Q } from "./file-upload-Bu6FkNjZ.js";
|
|
7
7
|
import { combineParams as G } from "@skyfox2000/microbase";
|
|
8
8
|
import _ from "vue-m-message";
|
|
9
9
|
import "async-validator";
|
|
@@ -17,6 +17,7 @@ import { default as TimePicker } from './timePicker/index.vue';
|
|
|
17
17
|
import { default as Transfer } from './transfer/index.vue';
|
|
18
18
|
import { default as TransferTable } from './transfer/transferTable.vue';
|
|
19
19
|
import { default as TreeSelect } from './treeSelect/index.vue';
|
|
20
|
+
import { default as ImageList } from './upload/imageList.vue';
|
|
20
21
|
import { default as UploadList } from './upload/uploadList.vue';
|
|
21
22
|
export { AutoComplete };
|
|
22
23
|
export { Cascader };
|
|
@@ -38,4 +39,5 @@ export { TimePicker };
|
|
|
38
39
|
export { Transfer };
|
|
39
40
|
export { TransferTable };
|
|
40
41
|
export { TreeSelect };
|
|
42
|
+
export { ImageList };
|
|
41
43
|
export { UploadList };
|