@skyfox2000/webui 1.4.12 → 1.4.13
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-CcWMwINU.js → baseLayout-BtJNPMBy.js} +3 -3
- package/lib/assets/modules/{file-upload-CB2izhwm.js → file-upload-CYNi1NsW.js} +1 -1
- package/lib/assets/modules/{index-CTuByOKL.js → index-BOOirPG2.js} +1 -1
- package/lib/assets/modules/{index-Ct3cEgTF.js → index-Cj6QnoC7.js} +2 -2
- package/lib/assets/modules/{index-B4b_Nr4U.js → index-DWnhNqJu.js} +2 -2
- package/lib/assets/modules/{menuTabs-L6-Txvgp.js → menuTabs-DDGkYuvg.js} +2 -2
- package/lib/assets/modules/{toolIcon-ChaoBuya.js → toolIcon-DXQt60Ya.js} +1 -1
- package/lib/assets/modules/{upload-template-cMYO_YLd.js → upload-template-CaeUt6VI.js} +1 -1
- package/lib/assets/modules/{uploadList-qzgXU9sK.js → uploadList-D0jw6jNr.js} +4 -4
- 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/webui.es.js +373 -372
- package/package.json +1 -1
- package/src/components/content/table/index.vue +8 -0
- package/src/utils/table.ts +0 -1
|
@@ -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 { ag as v, a as B, ai as E } from "./upload-template-
|
|
3
|
+
import { a as b } from "./toolIcon-DXQt60Ya.js";
|
|
4
|
+
import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-DDGkYuvg.js";
|
|
5
|
+
import { ag as v, a as B, ai as E } from "./upload-template-CaeUt6VI.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "@skyfox2000/fapi";
|
|
8
8
|
import L from "vue-m-message";
|
|
@@ -4,7 +4,7 @@ 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 { ad as b, u as g } from "./upload-template-
|
|
7
|
+
import { ad as b, u as g } from "./upload-template-CaeUt6VI.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
10
|
class x {
|
|
@@ -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-DXQt60Ya.js";
|
|
4
4
|
const C = /* @__PURE__ */ d({
|
|
5
5
|
inheritAttrs: !1,
|
|
6
6
|
__name: "index",
|
|
@@ -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, al as U, L as $, u as z } from "./upload-template-
|
|
3
|
+
import { i as T, al as U, L as $, u as z } from "./upload-template-CaeUt6VI.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-DXQt60Ya.js";
|
|
8
8
|
const D = (i) => {
|
|
9
9
|
const e = i.split(`
|
|
10
10
|
`).filter((l) => l.trim() !== "");
|
|
@@ -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-BOOirPG2.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-CaeUt6VI.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "vue-m-message";
|
|
8
8
|
import "async-validator";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, createBlock as h, createCommentVNode as I, openBlock as u, unref as t, mergeProps as C, useAttrs as H, 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 q, nextTick as J, renderList as X, withModifiers as Y } from "vue";
|
|
2
|
-
import { a as w, _ as b } from "./toolIcon-
|
|
3
|
-
import { c as L, U as E, ai as P, X as M, W as U, u as D, ad as G, a as F, V as Q, r as V, ag as z } from "./upload-template-
|
|
2
|
+
import { a as w, _ as b } from "./toolIcon-DXQt60Ya.js";
|
|
3
|
+
import { c as L, U as E, ai as P, X as M, W as U, u as D, ad as G, a as F, V as Q, r as V, ag as z } from "./upload-template-CaeUt6VI.js";
|
|
4
4
|
import { _ as Z } 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";
|
|
@@ -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-CaeUt6VI.js";
|
|
5
5
|
const T = /* @__PURE__ */ i({
|
|
6
6
|
__name: "index",
|
|
7
7
|
props: {
|
|
@@ -1180,7 +1180,7 @@ const Fa = (e) => {
|
|
|
1180
1180
|
return n ? { ...s, ...n } : !1;
|
|
1181
1181
|
});
|
|
1182
1182
|
return [...t || [], ...e.filter((s) => !(t != null && t.includes(s)))];
|
|
1183
|
-
}, Zt = (e) =>
|
|
1183
|
+
}, Zt = (e) => it(e).then((a) => a.rows), it = (e) => {
|
|
1184
1184
|
e.gridQuery || (e.gridQuery = {});
|
|
1185
1185
|
const a = e.remotePage ? "find" : "list";
|
|
1186
1186
|
return Qe(e, {
|
|
@@ -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-BOOirPG2.js";
|
|
3
|
+
import { a as A, _ as I } from "./toolIcon-DXQt60Ya.js";
|
|
4
4
|
import { httpPost as K, ResStatus as j } from "@skyfox2000/fapi";
|
|
5
|
-
import { L as V, u as q, t 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, t as de, _ as me } from "./upload-template-CaeUt6VI.js";
|
|
6
|
+
import { U as i, f as fe, p as Q } from "./file-upload-CYNi1NsW.js";
|
|
7
7
|
import { combineParams as G } from "@skyfox2000/microbase";
|
|
8
8
|
import _ from "vue-m-message";
|
|
9
9
|
import "async-validator";
|
|
@@ -1,13 +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
2
|
import "ant-design-vue";
|
|
3
|
-
import { _ as q } from "../../assets/modules/toolIcon-
|
|
3
|
+
import { _ as q } from "../../assets/modules/toolIcon-DXQt60Ya.js";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import "../../assets/modules/upload-template-
|
|
5
|
+
import "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import "vue-m-message";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import "dayjs";
|
|
10
|
-
import { _ as D } from "../../assets/modules/index-
|
|
10
|
+
import { _ as D } from "../../assets/modules/index-DWnhNqJu.js";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
12
|
const h = async (s) => window.ace ? window.ace : new Promise((l, t) => {
|
|
13
13
|
const o = document.createElement("script");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, createBlock as o, openBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as w, KeepAlive as g, unref as n, resolveDynamicComponent as y } from "vue";
|
|
2
|
-
import { _ as I } from "../../assets/modules/baseLayout-
|
|
3
|
-
import { ag as A, a as S } from "../../assets/modules/upload-template-
|
|
2
|
+
import { _ as I } from "../../assets/modules/baseLayout-BtJNPMBy.js";
|
|
3
|
+
import { ag as A, a as S } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
4
4
|
import "@skyfox2000/microbase";
|
|
5
5
|
import "@skyfox2000/fapi";
|
|
6
6
|
import b from "vue-m-message";
|
package/lib/es/Error403/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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/upload-template-
|
|
2
|
+
import { r as s } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
3
3
|
import "@skyfox2000/microbase";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
5
|
import "vue-m-message";
|
package/lib/es/Error404/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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/upload-template-
|
|
2
|
+
import { r as s } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
3
3
|
import "@skyfox2000/microbase";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
5
|
import "vue-m-message";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as we, ref as f, computed as T, watch as H, onMounted as be, createBlock as W, openBlock as d, unref as n, withCtx as S, renderSlot as J, createElementBlock as g, createCommentVNode as K, createElementVNode as h, createVNode as C, createTextVNode as X, toDisplayString as E, normalizeClass as Ce, Fragment as ie, renderList as ne } from "vue";
|
|
2
|
-
import { _ as Y } from "../../assets/modules/index-
|
|
2
|
+
import { _ as Y } from "../../assets/modules/index-BOOirPG2.js";
|
|
3
3
|
import { Modal as Fe, Upload as ue, Space as _e } from "ant-design-vue";
|
|
4
4
|
import { httpGet as Ue, ResStatus as fe } from "@skyfox2000/fapi";
|
|
5
|
-
import { F as Te, a3 as Se, a9 as Ee } from "../../assets/modules/upload-template-
|
|
6
|
-
import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-
|
|
5
|
+
import { F as Te, a3 as Se, a9 as Ee } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
6
|
+
import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-CYNi1NsW.js";
|
|
7
7
|
import "@skyfox2000/microbase";
|
|
8
8
|
import p from "vue-m-message";
|
|
9
|
-
import { c as ke, _ as Z, h as Le, p as Ne, i as Ke } from "../../assets/modules/index-
|
|
9
|
+
import { c as ke, _ as Z, h as Le, p as Ne, i as Ke } from "../../assets/modules/index-Cj6QnoC7.js";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
12
|
import "async-validator";
|
|
@@ -307,7 +307,7 @@ const Be = (l) => l.includes(",") || l.includes(`
|
|
|
307
307
|
return p.error(v), ue.LIST_IGNORE;
|
|
308
308
|
try {
|
|
309
309
|
if (A(), y.value = t.name, q.value = u ? "text/csv" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", u) {
|
|
310
|
-
const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-
|
|
310
|
+
const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-Cj6QnoC7.js").then((he) => he.j), M = await G(O, t.name);
|
|
311
311
|
if (!M.success)
|
|
312
312
|
throw new Error(M.error || "CSV文件处理失败");
|
|
313
313
|
const oe = await (await fetch(M.blobUrl)).arrayBuffer();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as f, ref as d, watch as _, onMounted as v, resolveComponent as h, createBlock as o, openBlock as t, withCtx as s, createElementVNode as C, normalizeClass as x, createVNode as g, KeepAlive as w, unref as n, resolveDynamicComponent as I } from "vue";
|
|
2
|
-
import { _ as y } from "../../assets/modules/baseLayout-
|
|
3
|
-
import { ag as A, a as S } from "../../assets/modules/upload-template-
|
|
2
|
+
import { _ as y } from "../../assets/modules/baseLayout-BtJNPMBy.js";
|
|
3
|
+
import { ag as A, a as S } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
4
4
|
import "@skyfox2000/microbase";
|
|
5
5
|
import "@skyfox2000/fapi";
|
|
6
6
|
import k from "vue-m-message";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as x, ref as o, watch as S, onMounted as h, createBlock as C, openBlock as F, unref as m, withCtx as s, createVNode as f, createTextVNode as q } from "vue";
|
|
2
|
-
import { _ as L } from "../../assets/modules/index-
|
|
2
|
+
import { _ as L } from "../../assets/modules/index-BOOirPG2.js";
|
|
3
3
|
import { Modal as z, Space as D } from "ant-design-vue";
|
|
4
4
|
import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
|
|
5
|
-
import { aj as d } from "../../assets/modules/upload-template-
|
|
6
|
-
import { U as b } from "../../assets/modules/file-upload-
|
|
5
|
+
import { aj as d } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
6
|
+
import { U as b } from "../../assets/modules/file-upload-CYNi1NsW.js";
|
|
7
7
|
import "@skyfox2000/microbase";
|
|
8
8
|
import "vue-m-message";
|
|
9
9
|
import "async-validator";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
|
-
import { U as j } from "../../assets/modules/uploadList-
|
|
12
|
+
import { U as j } from "../../assets/modules/uploadList-D0jw6jNr.js";
|
|
13
13
|
const _ = /* @__PURE__ */ x({
|
|
14
14
|
__name: "templateFile",
|
|
15
15
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as y, ref as f, watch as S, onMounted as z, createBlock as D, openBlock as F, unref as u, withCtx as s, createVNode as m, createTextVNode as C } from "vue";
|
|
2
|
-
import { _ as c } from "../../assets/modules/index-
|
|
2
|
+
import { _ as c } from "../../assets/modules/index-BOOirPG2.js";
|
|
3
3
|
import { Modal as _, Space as k } from "ant-design-vue";
|
|
4
4
|
import { ResStatus as E } from "@skyfox2000/fapi";
|
|
5
|
-
import { a5 as h } from "../../assets/modules/upload-template-
|
|
5
|
+
import { a5 as h } from "../../assets/modules/upload-template-CaeUt6VI.js";
|
|
6
6
|
import "@skyfox2000/microbase";
|
|
7
7
|
import L from "vue-m-message";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import "dayjs";
|
|
10
|
-
import { A as N } from "../../assets/modules/file-upload-
|
|
10
|
+
import { A as N } from "../../assets/modules/file-upload-CYNi1NsW.js";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
|
-
import { U as B } from "../../assets/modules/uploadList-
|
|
12
|
+
import { U as B } from "../../assets/modules/uploadList-D0jw6jNr.js";
|
|
13
13
|
const K = /* @__PURE__ */ y({
|
|
14
14
|
__name: "uploadForm",
|
|
15
15
|
props: {
|