@skyfox2000/webui 1.2.3 → 1.2.4
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/{file-upload-D5dPRmq8.js → file-upload-CoDWKNFQ.js} +5 -5
- package/lib/assets/modules/{form-excel-DITF2FoK.js → form-excel-DitXm4uj.js} +1 -1
- package/lib/assets/modules/{index-XIk9IJH2.js → index-B5NckHoK.js} +5 -5
- package/lib/assets/modules/{pinia-8iujwf8y.js → index-C4515EtU.js} +1140 -1127
- package/lib/assets/modules/{index-CRKPVlgC.js → index-DG2jNBuv.js} +1 -1
- package/lib/assets/modules/{menuTabs-D2OgHmBc.js → menuTabs-BwX6S1WN.js} +11 -11
- package/lib/assets/modules/{toolIcon-Cwggvppx.js → toolIcon-B5Qojob9.js} +1 -1
- package/lib/assets/modules/{download-D6JcG5ZR.js → uploadList-BdeV2JlK.js} +45 -45
- package/lib/components/common/icon/index.vue.d.ts +7 -7
- package/lib/components/form/autoComplete/index.vue.d.ts +4 -4
- package/lib/components/form/radio/index.vue.d.ts +2 -2
- package/lib/es/AceEditor/index.js +3 -3
- package/lib/es/BasicLayout/index.js +18 -18
- package/lib/es/Error403/index.js +5 -5
- package/lib/es/Error404/index.js +5 -5
- package/lib/es/ExcelForm/index.js +22 -22
- package/lib/es/UploadForm/index.js +10 -10
- package/lib/index.d.ts +2 -2
- package/lib/router/index.d.ts +0 -1
- package/lib/stores/userInfo.d.ts +1 -0
- package/lib/webui.es.js +663 -663
- package/package.json +1 -1
- package/src/index.ts +50 -50
- package/src/router/index.ts +1 -2
- package/src/stores/appInfo.ts +4 -1
- package/src/stores/userInfo.ts +16 -1
|
@@ -2,14 +2,14 @@ var v = Object.defineProperty;
|
|
|
2
2
|
var m = (t, r, o) => r in t ? v(t, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[r] = o;
|
|
3
3
|
var h = (t, r, o) => m(t, typeof r != "symbol" ? r + "" : r, o);
|
|
4
4
|
import { hostUrl as E } from "@skyfox2000/fapi";
|
|
5
|
-
import { ac as S, ab as I,
|
|
5
|
+
import { ac as S, ab as I, u as d } from "./index-C4515EtU.js";
|
|
6
6
|
import { mainAppApis as s } from "@skyfox2000/microbase";
|
|
7
7
|
import b from "dayjs";
|
|
8
8
|
var l = /* @__PURE__ */ ((t) => (t.Pending = "pending", t.Uploading = "uploading", t.Success = "success", t.Error = "error", t.Online = "online", t.Offline = "offline", t))(l || {});
|
|
9
|
-
const F = () => s.value ? s.value.getHostInfo() : S().hostInfo, H = () => s.value && s.value.getAppInfo ? s.value.getAppInfo() : I().appInfo, x = (t) => s.value && s.value.userLogin ? s.value.userLogin(t) : d().login(t, !0), U = () => s.value && s.value.userLogout ? s.value.userLogout() : d().logout(), w = () => s.value && s.value.getToken ? s.value.getToken() : d().getToken(), L = () => s.value && s.value.getUserInfo ? s.value.getUserInfo() : d().getUserInfo(),
|
|
9
|
+
const F = () => s.value ? s.value.getHostInfo() : S().hostInfo, H = () => s.value && s.value.getAppInfo ? s.value.getAppInfo() : I().appInfo, x = (t) => s.value && s.value.userLogin ? s.value.userLogin(t) : d().login(t, !0), U = () => s.value && s.value.userLogout ? s.value.userLogout() : d().logout(), w = () => s.value && s.value.getToken ? s.value.getToken() : d().getToken(), L = () => s.value && s.value.getUserInfo ? s.value.getUserInfo() : d().getUserInfo(), M = (t) => {
|
|
10
10
|
I().push(t);
|
|
11
11
|
};
|
|
12
|
-
class
|
|
12
|
+
class z {
|
|
13
13
|
/**
|
|
14
14
|
* 连接路径参数,已判断 undefined 或 null 值
|
|
15
15
|
* @param args 路径参数数组
|
|
@@ -173,7 +173,7 @@ export {
|
|
|
173
173
|
w as c,
|
|
174
174
|
L as d,
|
|
175
175
|
F as g,
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
M as m,
|
|
177
|
+
z as p,
|
|
178
178
|
x as u
|
|
179
179
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import k from "async-validator";
|
|
2
2
|
import { httpPost as J, ResStatus as b } from "@skyfox2000/fapi";
|
|
3
|
-
import {
|
|
3
|
+
import { i as C, ae as N } from "./index-C4515EtU.js";
|
|
4
4
|
import w from "vue-m-message";
|
|
5
5
|
const E = async (v) => {
|
|
6
6
|
const f = await import("exceljs"), m = new f.Workbook();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as A, provide as B, ref as S, watch as p, onMounted as F, createBlock as n, openBlock as r, unref as a, withCtx as t, createElementVNode as N, renderSlot as b, createVNode as V, createCommentVNode as d, createTextVNode as u, toDisplayString as m } from "vue";
|
|
2
|
-
import { _ as f } from "./index-
|
|
2
|
+
import { _ as f } from "./index-DG2jNBuv.js";
|
|
3
3
|
import { Modal as E, Space as M } from "ant-design-vue";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import { P, o as $,
|
|
6
|
-
import "vue-draggable-next";
|
|
7
|
-
import "vue-m-message";
|
|
8
|
-
import "dayjs";
|
|
5
|
+
import { P, o as $, d as D, b as K } from "./index-C4515EtU.js";
|
|
9
6
|
import "@skyfox2000/microbase";
|
|
7
|
+
import "vue-m-message";
|
|
10
8
|
import "async-validator";
|
|
9
|
+
import "dayjs";
|
|
10
|
+
import "vue-draggable-next";
|
|
11
11
|
const U = { class: "overflow-y-auto w-full h-full" }, R = /* @__PURE__ */ A({
|
|
12
12
|
__name: "index",
|
|
13
13
|
props: {
|