@skyfox2000/webui 1.4.1 → 1.4.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/lib/assets/modules/{baseLayout-BLUY_tDF.js → baseLayout-C92mDmCL.js} +6 -6
- package/lib/assets/modules/file-upload-DGCoBLP3.js +198 -0
- package/lib/assets/modules/{index-BuP8i92E.js → index-BrDxf94o.js} +1 -1
- package/lib/assets/modules/{index-Bb4qTaRC.js → index-C_7galsG.js} +2 -2
- package/lib/assets/modules/{index-DLY7idvQ.js → index-ChjM1bSE.js} +2 -2
- package/lib/assets/modules/{menuTabs-DzoBrCZE.js → menuTabs-Boe_4pzK.js} +2 -2
- package/lib/assets/modules/{toolIcon-FTelEQwg.js → toolIcon-BddslNsJ.js} +1 -1
- package/lib/assets/modules/{uploadList-DTAFNhow.js → uploadList-3sClH7Na.js} +4 -4
- package/lib/assets/modules/{uploadList-DIfhRlbh.js → uploadList-ZGWKyite.js} +629 -533
- 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/UploadForm/index.js +4 -4
- package/lib/index.d.ts +1 -1
- package/lib/utils/micro-openapis.d.ts +22 -33
- package/lib/webui.es.js +104 -109
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/utils/micro-openapis.ts +157 -136
- package/lib/assets/modules/file-upload-Dk4VFMgz.js +0 -204
|
@@ -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-BddslNsJ.js";
|
|
4
4
|
import "@skyfox2000/fapi";
|
|
5
|
-
import "../../assets/modules/uploadList-
|
|
5
|
+
import "../../assets/modules/uploadList-ZGWKyite.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-C_7galsG.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 y, unref as n, resolveDynamicComponent as I } from "vue";
|
|
2
|
-
import { _ as g } from "../../assets/modules/baseLayout-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as g } from "../../assets/modules/baseLayout-C92mDmCL.js";
|
|
3
|
+
import { af as A, a as S } from "../../assets/modules/uploadList-ZGWKyite.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/uploadList-
|
|
2
|
+
import { r as s } from "../../assets/modules/uploadList-ZGWKyite.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/uploadList-
|
|
2
|
+
import { r as s } from "../../assets/modules/uploadList-ZGWKyite.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 W, onMounted as be, createBlock as H, 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-BrDxf94o.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 { E as Te, a2 as Se, a8 as Ee } from "../../assets/modules/uploadList-
|
|
6
|
-
import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-
|
|
5
|
+
import { E as Te, a2 as Se, a8 as Ee } from "../../assets/modules/uploadList-ZGWKyite.js";
|
|
6
|
+
import { A as Re, p as De, U as ce } from "../../assets/modules/file-upload-DGCoBLP3.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-ChjM1bSE.js";
|
|
10
10
|
import "dayjs";
|
|
11
11
|
import "vue-draggable-next";
|
|
12
12
|
import "async-validator";
|
|
@@ -306,7 +306,7 @@ const Be = (l) => l.includes(",") || l.includes(`
|
|
|
306
306
|
return p.error(v), ue.LIST_IGNORE;
|
|
307
307
|
try {
|
|
308
308
|
if (A(), y.value = t.name, q.value = u ? "text/csv" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", u) {
|
|
309
|
-
const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-
|
|
309
|
+
const w = await t.arrayBuffer(), O = new TextDecoder("utf-8").decode(w), { csvToExcelView: G } = await import("../../assets/modules/index-ChjM1bSE.js").then((he) => he.j), M = await G(O, t.name);
|
|
310
310
|
if (!M.success)
|
|
311
311
|
throw new Error(M.error || "CSV文件处理失败");
|
|
312
312
|
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 w, KeepAlive as I, unref as n, resolveDynamicComponent as g } from "vue";
|
|
2
|
-
import { _ as y } from "../../assets/modules/baseLayout-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as y } from "../../assets/modules/baseLayout-C92mDmCL.js";
|
|
3
|
+
import { af as A, a as S } from "../../assets/modules/uploadList-ZGWKyite.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 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-BrDxf94o.js";
|
|
3
3
|
import { Modal as _, Space as k } from "ant-design-vue";
|
|
4
4
|
import { ResStatus as E } from "@skyfox2000/fapi";
|
|
5
|
-
import { a4 as h } from "../../assets/modules/uploadList-
|
|
5
|
+
import { a4 as h } from "../../assets/modules/uploadList-ZGWKyite.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-DGCoBLP3.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-3sClH7Na.js";
|
|
13
13
|
const K = /* @__PURE__ */ y({
|
|
14
14
|
__name: "uploadForm",
|
|
15
15
|
props: {
|
package/lib/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export { exportSelectedRows, exportResults } from './utils/export-table';
|
|
|
35
35
|
export { path, AsyncUploader } from './utils/file-upload';
|
|
36
36
|
export { EventPrefix } from './utils/eventbus';
|
|
37
37
|
export { default as eventBus } from './utils/eventbus';
|
|
38
|
-
export {
|
|
38
|
+
export { MicroOpenApis } from './utils/micro-openapis';
|
|
39
39
|
export { router as AppRouter };
|
|
40
40
|
export { pendingNavigation, routes } from './router';
|
|
41
41
|
export { useAppInfo } from './stores/appInfo';
|
|
@@ -1,35 +1,24 @@
|
|
|
1
|
-
interface MainApis {
|
|
2
|
-
getAppInfo: () => Promise<any>;
|
|
3
|
-
getHostInfo: () => Promise<any>;
|
|
4
|
-
getUserInfo: () => Promise<any>;
|
|
5
|
-
getToken: () => Promise<any>;
|
|
6
|
-
userLogin: (params: any) => Promise<any>;
|
|
7
|
-
userLogout: () => Promise<any>;
|
|
8
|
-
mainAppPush: (params: any) => Promise<any>;
|
|
9
|
-
}
|
|
10
|
-
type MainApiMethod = keyof MainApis;
|
|
11
1
|
declare class MicroAppSDK {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
userLogout(): Promise<any>;
|
|
23
|
-
mainAppPush(params: any): Promise<any>;
|
|
2
|
+
private static messageId;
|
|
3
|
+
private static callbacks;
|
|
4
|
+
static isInMicroApp(): boolean;
|
|
5
|
+
private static callMainAppMethod;
|
|
6
|
+
static handleResponseData(data: any): void;
|
|
7
|
+
static init(): void;
|
|
8
|
+
static getAppInfo(): Promise<any>;
|
|
9
|
+
static getHostInfo(): Promise<any>;
|
|
10
|
+
static getUserInfo(): Promise<any>;
|
|
11
|
+
static getToken(): Promise<any>;
|
|
12
|
+
static userLogout(): Promise<any>;
|
|
13
|
+
static mainAppPush(params: any): Promise<any>;
|
|
24
14
|
}
|
|
25
|
-
declare const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
export
|
|
35
|
-
export declare const isInMicroApp: () => boolean;
|
|
15
|
+
export declare const MicroOpenApis: {
|
|
16
|
+
getAppInfo: typeof MicroAppSDK.getAppInfo;
|
|
17
|
+
getHostInfo: typeof MicroAppSDK.getHostInfo;
|
|
18
|
+
getUserInfo: typeof MicroAppSDK.getUserInfo;
|
|
19
|
+
getToken: typeof MicroAppSDK.getToken;
|
|
20
|
+
userLogout: typeof MicroAppSDK.userLogout;
|
|
21
|
+
mainAppPush: typeof MicroAppSDK.mainAppPush;
|
|
22
|
+
isInMicroApp: typeof MicroAppSDK.isInMicroApp;
|
|
23
|
+
};
|
|
24
|
+
export {};
|
package/lib/webui.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { u as Ee, i as Z, a as me, L as Xe, c as Ze, P as j, o as Pe, b as ea, d as aa, e as Fe, r as ce, f as ta, g as la, h as Ne, j as sa, k as ke, l as ra, _ as oa, m as na, O as Me, q as Be, n as ia, p as ca, s as L, t as ua, v as da, w as pa, x as fa, y as va, z as ma, A as Y, B as ha, C as ga, D as ba, E as Re } from "./assets/modules/uploadList-
|
|
2
|
-
import { aa as $l, Q as Il,
|
|
3
|
-
import { A as
|
|
1
|
+
import { u as Ee, i as Z, a as me, L as Xe, c as Ze, P as j, o as Pe, b as ea, d as aa, e as Fe, r as ce, f as ta, g as la, h as Ne, j as sa, k as ke, l as ra, _ as oa, m as na, O as Me, q as Be, n as ia, p as ca, s as L, t as ua, v as da, w as pa, x as fa, y as va, z as ma, A as Y, B as ha, C as ga, D as ba, E as Re } from "./assets/modules/uploadList-ZGWKyite.js";
|
|
2
|
+
import { aa as $l, Q as Il, ac as Dl, R as El, V as Pl, a9 as Fl, a7 as Nl, a8 as Ml, ab as Bl, Y as Rl, T as Ol, a5 as Al, a2 as Ll, M as zl, a4 as Ul, U as Vl, G as Yl, $ as Kl, a3 as Wl, a6 as Hl, N as jl, S as Ql, ad as ql, F as Gl, a1 as Jl, ae as Xl, X as Zl, Z as es, W as as, af as ts, H as ls, I as ss, ag as rs, K as os, ah as ns, J as is, a0 as cs } from "./assets/modules/uploadList-ZGWKyite.js";
|
|
3
|
+
import { A as ds, U as ps, p as fs } from "./assets/modules/file-upload-DGCoBLP3.js";
|
|
4
4
|
import { EnvConfig as we } from "@skyfox2000/microbase";
|
|
5
|
-
import { FrontCache as re, httpPost as
|
|
5
|
+
import { FrontCache as re, httpPost as Oe, ResStatus as Ae, SERVER_HOST as _a, fieldMapping as oe } from "@skyfox2000/fapi";
|
|
6
6
|
import he from "vue-m-message";
|
|
7
7
|
import { defineComponent as C, createBlock as b, openBlock as m, withModifiers as ae, unref as l, useAttrs as X, withCtx as g, createElementVNode as $, createVNode as w, mergeProps as N, renderSlot as D, normalizeClass as P, toDisplayString as F, createCommentVNode as k, ref as _, provide as ge, watch as T, onMounted as K, createTextVNode as M, inject as ne, resolveDirective as le, withDirectives as Q, computed as J, createElementBlock as S, normalizeStyle as be, createSlots as Le, useSlots as xa, Fragment as R, renderList as z, resolveDynamicComponent as ya, onActivated as ka, shallowRef as wa, onUnmounted as Sa, withKeys as Se } from "vue";
|
|
8
8
|
import "async-validator";
|
|
9
9
|
import fe from "dayjs";
|
|
10
|
-
import { Popover as Ca, theme as ze, Drawer as Ta, Space as te, Form as Ue, message as $a, FormItem as Ve, ConfigProvider as Ce, Popconfirm as Ia, Button as Ye, DropdownButton as Da, Menu as _e, MenuItem as xe, Dropdown as ve, Checkbox as Ea, Table as Ke, Tree as Pa, Cascader as Fa, DatePicker as Na, Input as ee, InputPassword as Ma, InputNumber as Ba, RangePicker as Ra, Textarea as
|
|
10
|
+
import { Popover as Ca, theme as ze, Drawer as Ta, Space as te, Form as Ue, message as $a, FormItem as Ve, ConfigProvider as Ce, Popconfirm as Ia, Button as Ye, DropdownButton as Da, Menu as _e, MenuItem as xe, Dropdown as ve, Checkbox as Ea, Table as Ke, Tree as Pa, Cascader as Fa, DatePicker as Na, Input as ee, InputPassword as Ma, InputNumber as Ba, RangePicker as Ra, Textarea as Oa, TimePicker as Aa, Transfer as La, TreeSelect as za, LayoutContent as Ua } from "ant-design-vue";
|
|
11
11
|
import { VueDraggableNext as Va } from "vue-draggable-next";
|
|
12
|
-
import { d as We } from "./assets/modules/uploadList-
|
|
13
|
-
import { C as
|
|
14
|
-
import { c as He } from "./assets/modules/index-
|
|
15
|
-
import { _ as
|
|
16
|
-
import { _ as
|
|
17
|
-
import { _ as U } from "./assets/modules/toolIcon-
|
|
18
|
-
import { a as
|
|
19
|
-
import { _ as
|
|
20
|
-
import { _ as
|
|
12
|
+
import { d as We } from "./assets/modules/uploadList-3sClH7Na.js";
|
|
13
|
+
import { C as ms, U as hs, a as gs, p as bs } from "./assets/modules/uploadList-3sClH7Na.js";
|
|
14
|
+
import { c as He } from "./assets/modules/index-ChjM1bSE.js";
|
|
15
|
+
import { _ as xs, h as ys, b as ks, a as ws, d as Ss, e as Cs, g as Ts, f as $s, n as Is, p as Ds, t as Es, v as Ps } from "./assets/modules/index-ChjM1bSE.js";
|
|
16
|
+
import { _ as A } from "./assets/modules/index-BrDxf94o.js";
|
|
17
|
+
import { _ as U } from "./assets/modules/toolIcon-BddslNsJ.js";
|
|
18
|
+
import { a as Ns } from "./assets/modules/toolIcon-BddslNsJ.js";
|
|
19
|
+
import { _ as Bs, b as Rs, c as Os, d as As, e as Ls, I as zs, f as Us, g as Vs, a as Ys } from "./assets/modules/menuTabs-Boe_4pzK.js";
|
|
20
|
+
import { _ as Ws } from "./assets/modules/index-C_7galsG.js";
|
|
21
21
|
import { _ as q } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
22
|
const Te = (s, a, e, t = "remove") => {
|
|
23
23
|
if (!e)
|
|
@@ -279,7 +279,7 @@ class Qe {
|
|
|
279
279
|
}
|
|
280
280
|
async function Gt() {
|
|
281
281
|
try {
|
|
282
|
-
const s = await
|
|
282
|
+
const s = await Oe(
|
|
283
283
|
{
|
|
284
284
|
api: "PLATFORM_API",
|
|
285
285
|
url: "/api/SysCacheSvr/getLastTime",
|
|
@@ -287,7 +287,7 @@ async function Gt() {
|
|
|
287
287
|
},
|
|
288
288
|
{}
|
|
289
289
|
);
|
|
290
|
-
if ((s == null ? void 0 : s.status) ===
|
|
290
|
+
if ((s == null ? void 0 : s.status) === Ae.SUCCESS) {
|
|
291
291
|
const a = s.data;
|
|
292
292
|
Object.keys(a).forEach((e) => {
|
|
293
293
|
const t = a[e];
|
|
@@ -363,14 +363,14 @@ const Jt = async (s, a) => {
|
|
|
363
363
|
value: r.dataIndex || r.key || ""
|
|
364
364
|
}));
|
|
365
365
|
let o = e.page, p = e.gridQuery;
|
|
366
|
-
return t.api || (t.api = o.api), t.authorize === void 0 && (t.authorize = o.authorize), e.isGridLoading.value = !0,
|
|
367
|
-
if (e.isGridLoading.value = !1, (r == null ? void 0 : r.status) ===
|
|
366
|
+
return t.api || (t.api = o.api), t.authorize === void 0 && (t.authorize = o.authorize), e.isGridLoading.value = !0, Oe(t, p).then((r) => {
|
|
367
|
+
if (e.isGridLoading.value = !1, (r == null ? void 0 : r.status) === Ae.SUCCESS) {
|
|
368
368
|
if (r.data) {
|
|
369
|
-
const u = r.data.map((
|
|
370
|
-
const x = { ...
|
|
369
|
+
const u = r.data.map((O) => {
|
|
370
|
+
const x = { ...O };
|
|
371
371
|
return f.forEach((E) => {
|
|
372
372
|
const B = E.dataIndex || E.key;
|
|
373
|
-
B && E.customRender && (x[B] = E.customRender(
|
|
373
|
+
B && E.customRender && (x[B] = E.customRender(O[B], O));
|
|
374
374
|
}), x;
|
|
375
375
|
}), y = new i({ fields: d }).parse(u), I = new Blob([`\uFEFF${y}`], { type: "text/csv" });
|
|
376
376
|
We(I, c);
|
|
@@ -516,7 +516,7 @@ const Jt = async (s, a) => {
|
|
|
516
516
|
footer: g(() => [
|
|
517
517
|
w(l(te), null, {
|
|
518
518
|
default: g(() => [
|
|
519
|
-
o.cancelText !== "" ? (m(), b(l(
|
|
519
|
+
o.cancelText !== "" ? (m(), b(l(A), {
|
|
520
520
|
key: 0,
|
|
521
521
|
onClick: d
|
|
522
522
|
}, {
|
|
@@ -525,7 +525,7 @@ const Jt = async (s, a) => {
|
|
|
525
525
|
]),
|
|
526
526
|
_: 1
|
|
527
527
|
})) : k("", !0),
|
|
528
|
-
o.saveAsText !== "" && l(i).saveAsBtnVisible !== !1 ? (m(), b(l(
|
|
528
|
+
o.saveAsText !== "" && l(i).saveAsBtnVisible !== !1 ? (m(), b(l(A), {
|
|
529
529
|
key: 1,
|
|
530
530
|
onClick: f,
|
|
531
531
|
type: "primary",
|
|
@@ -536,7 +536,7 @@ const Jt = async (s, a) => {
|
|
|
536
536
|
]),
|
|
537
537
|
_: 1
|
|
538
538
|
}, 8, ["loading"])) : k("", !0),
|
|
539
|
-
o.saveText !== "" && l(i).saveBtnVisible !== !1 ? (m(), b(l(
|
|
539
|
+
o.saveText !== "" && l(i).saveBtnVisible !== !1 ? (m(), b(l(A), {
|
|
540
540
|
key: 2,
|
|
541
541
|
onClick: c,
|
|
542
542
|
type: "primary",
|
|
@@ -796,7 +796,7 @@ const Jt = async (s, a) => {
|
|
|
796
796
|
default: g(() => [
|
|
797
797
|
w(l(te), null, {
|
|
798
798
|
default: g(() => [
|
|
799
|
-
w(l(
|
|
799
|
+
w(l(A), {
|
|
800
800
|
type: "primary",
|
|
801
801
|
onClick: r,
|
|
802
802
|
icon: "icon-search"
|
|
@@ -807,7 +807,7 @@ const Jt = async (s, a) => {
|
|
|
807
807
|
_: 1,
|
|
808
808
|
__: [0]
|
|
809
809
|
}),
|
|
810
|
-
w(l(
|
|
810
|
+
w(l(A), {
|
|
811
811
|
onClick: v,
|
|
812
812
|
icon: "icon-reset"
|
|
813
813
|
}, {
|
|
@@ -1043,7 +1043,7 @@ const Jt = async (s, a) => {
|
|
|
1043
1043
|
], 2)
|
|
1044
1044
|
]),
|
|
1045
1045
|
default: g(() => [
|
|
1046
|
-
w(l(
|
|
1046
|
+
w(l(A), {
|
|
1047
1047
|
class: P([
|
|
1048
1048
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
1049
1049
|
p === 0 ? "rounded-l-[5px]" : "",
|
|
@@ -1064,7 +1064,7 @@ const Jt = async (s, a) => {
|
|
|
1064
1064
|
}, 1032, ["class", "disabled", "tiptext", "onClick"])
|
|
1065
1065
|
]),
|
|
1066
1066
|
_: 2
|
|
1067
|
-
}, 1024)) : !o.children && l(G)(o) ? (m(), b(l(
|
|
1067
|
+
}, 1024)) : !o.children && l(G)(o) ? (m(), b(l(A), {
|
|
1068
1068
|
key: 1,
|
|
1069
1069
|
class: P([
|
|
1070
1070
|
"px-[8px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
@@ -1105,7 +1105,7 @@ const Jt = async (s, a) => {
|
|
|
1105
1105
|
}, 1024)
|
|
1106
1106
|
]),
|
|
1107
1107
|
default: g(() => [
|
|
1108
|
-
w(l(
|
|
1108
|
+
w(l(A), {
|
|
1109
1109
|
class: P([
|
|
1110
1110
|
"!w-[46px] px-[5px] py-[2px] relative border-[#ccc] bg-[#fcfcfc] rounded-none text-[#666] hover:z-10",
|
|
1111
1111
|
p === 0 ? "rounded-l-[5px]" : ""
|
|
@@ -1173,7 +1173,7 @@ const Jt = async (s, a) => {
|
|
|
1173
1173
|
return m(), S("div", ft, [
|
|
1174
1174
|
w(l(te), null, {
|
|
1175
1175
|
default: g(() => [
|
|
1176
|
-
(m(!0), S(R, null, z(f.value, (v) => Q((m(), b(l(
|
|
1176
|
+
(m(!0), S(R, null, z(f.value, (v) => Q((m(), b(l(A), {
|
|
1177
1177
|
key: v.key,
|
|
1178
1178
|
type: v.type,
|
|
1179
1179
|
danger: v.danger,
|
|
@@ -1209,7 +1209,7 @@ const Jt = async (s, a) => {
|
|
|
1209
1209
|
})
|
|
1210
1210
|
]),
|
|
1211
1211
|
default: g(() => [
|
|
1212
|
-
w(l(
|
|
1212
|
+
w(l(A), null, {
|
|
1213
1213
|
default: g(() => p[0] || (p[0] = [
|
|
1214
1214
|
M(" 更多操作 ")
|
|
1215
1215
|
])),
|
|
@@ -1301,10 +1301,10 @@ const Jt = async (s, a) => {
|
|
|
1301
1301
|
v.value = !0;
|
|
1302
1302
|
}, 50);
|
|
1303
1303
|
}), (u, h) => {
|
|
1304
|
-
var I,
|
|
1304
|
+
var I, O;
|
|
1305
1305
|
const y = le("auth");
|
|
1306
1306
|
return m(), S(R, null, [
|
|
1307
|
-
(I = l(t).buttons) != null && I.value.length || (
|
|
1307
|
+
(I = l(t).buttons) != null && I.value.length || (O = l(t).tools) != null && O.length ? (m(), b(ht, {
|
|
1308
1308
|
key: 0,
|
|
1309
1309
|
"grid-ctrl": l(t),
|
|
1310
1310
|
"editor-ctrl": l(t).editor
|
|
@@ -1436,14 +1436,14 @@ const Jt = async (s, a) => {
|
|
|
1436
1436
|
props: ca,
|
|
1437
1437
|
emits: ["change", "update:labels", "update:value"],
|
|
1438
1438
|
setup(s, { emit: a }) {
|
|
1439
|
-
var y, I,
|
|
1439
|
+
var y, I, O;
|
|
1440
1440
|
const e = s, t = X(), n = L(), i = ua(e.url, e), c = e.optionCtrl ?? i.optionCtrl;
|
|
1441
1441
|
c.inputFactory = wa(n);
|
|
1442
1442
|
const f = _({
|
|
1443
1443
|
...c == null ? void 0 : c.url,
|
|
1444
1444
|
url: ((y = c == null ? void 0 : c.url) == null ? void 0 : y.url) || "",
|
|
1445
1445
|
fieldMap: (c == null ? void 0 : c.fieldMap) || ((I = c == null ? void 0 : c.url) == null ? void 0 : I.fieldMap),
|
|
1446
|
-
params: (c == null ? void 0 : c.params) || ((
|
|
1446
|
+
params: (c == null ? void 0 : c.params) || ((O = c == null ? void 0 : c.url) == null ? void 0 : O.params),
|
|
1447
1447
|
loadingText: !1
|
|
1448
1448
|
}), { editorCtrl: d, errInfo: o, labelText: p } = n, r = _(t.placeholder);
|
|
1449
1449
|
T(
|
|
@@ -1886,7 +1886,7 @@ const pl = /* @__PURE__ */ C({
|
|
|
1886
1886
|
};
|
|
1887
1887
|
return (i, c) => {
|
|
1888
1888
|
var f;
|
|
1889
|
-
return m(), b(l(
|
|
1889
|
+
return m(), b(l(Oa), N({
|
|
1890
1890
|
class: ((f = l(t)) == null ? void 0 : f.errClass) === "error" ? ["error", "!border-red-300", "shadow-[0_0_3px_0px_#ff4d4f]"] : "",
|
|
1891
1891
|
"allow-clear": !0,
|
|
1892
1892
|
placeholder: "请输入" + l(e),
|
|
@@ -1909,7 +1909,7 @@ const pl = /* @__PURE__ */ C({
|
|
|
1909
1909
|
}, c = _(a.valueFormat ?? "HH:mm");
|
|
1910
1910
|
return (f, d) => {
|
|
1911
1911
|
var o;
|
|
1912
|
-
return m(), b(l(
|
|
1912
|
+
return m(), b(l(Aa), {
|
|
1913
1913
|
class: P(["w-full", [((o = l(n)) == null ? void 0 : o.errClass) === "error" ? "error !border-red-300 shadow-[0_0_3px_0px_#ff4d4f]" : ""]]),
|
|
1914
1914
|
placeholder: "请选择" + l(t),
|
|
1915
1915
|
locale: l(ue),
|
|
@@ -1961,12 +1961,12 @@ const pl = /* @__PURE__ */ C({
|
|
|
1961
1961
|
targetKeys: o.value,
|
|
1962
1962
|
onChange: p
|
|
1963
1963
|
}, r.$attrs), {
|
|
1964
|
-
children: g(({ direction: h, disabled: y, filteredItems: I, onItemSelectAll:
|
|
1964
|
+
children: g(({ direction: h, disabled: y, filteredItems: I, onItemSelectAll: O, onItemSelect: x, selectedKeys: E }) => [
|
|
1965
1965
|
D(r.$slots, "children", {
|
|
1966
1966
|
direction: h,
|
|
1967
1967
|
disabled: y,
|
|
1968
1968
|
filteredItems: I,
|
|
1969
|
-
onItemSelectAll:
|
|
1969
|
+
onItemSelectAll: O,
|
|
1970
1970
|
onItemSelect: x,
|
|
1971
1971
|
selectedKeys: E
|
|
1972
1972
|
})
|
|
@@ -2191,44 +2191,45 @@ const pl = /* @__PURE__ */ C({
|
|
|
2191
2191
|
}
|
|
2192
2192
|
});
|
|
2193
2193
|
export {
|
|
2194
|
-
|
|
2195
|
-
|
|
2194
|
+
xs as Alert,
|
|
2195
|
+
Bs as AppIcon,
|
|
2196
2196
|
ce as AppRouter,
|
|
2197
|
-
|
|
2197
|
+
ds as AsyncUploader,
|
|
2198
2198
|
cl as AutoComplete,
|
|
2199
|
-
|
|
2200
|
-
|
|
2199
|
+
Rs as Breadcrumb,
|
|
2200
|
+
A as Button,
|
|
2201
2201
|
Qe as Cache,
|
|
2202
2202
|
et as CacheKeys,
|
|
2203
|
-
|
|
2203
|
+
ms as CanPreviewFileExt,
|
|
2204
2204
|
ul as Cascader,
|
|
2205
2205
|
dl as Checkbox,
|
|
2206
2206
|
Sl as Content,
|
|
2207
2207
|
pl as DatePicker,
|
|
2208
|
-
|
|
2209
|
-
|
|
2208
|
+
Os as Datetime,
|
|
2209
|
+
Ws as Dialog,
|
|
2210
2210
|
ll as Drawer,
|
|
2211
2211
|
$l as EventPrefix,
|
|
2212
2212
|
sl as Form,
|
|
2213
2213
|
rl as FormItem,
|
|
2214
2214
|
al as Fullscreen,
|
|
2215
|
-
|
|
2216
|
-
|
|
2215
|
+
As as Header,
|
|
2216
|
+
Ls as HeaderExits,
|
|
2217
2217
|
tt as Helper,
|
|
2218
2218
|
Il as ICONS_LIB,
|
|
2219
|
-
|
|
2219
|
+
zs as Icon,
|
|
2220
2220
|
pt as Icontool,
|
|
2221
2221
|
St as Input,
|
|
2222
2222
|
fl as InputIcon,
|
|
2223
2223
|
ml as InputNumber,
|
|
2224
2224
|
vl as InputPassword,
|
|
2225
2225
|
tl as LayoutIcon,
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2226
|
+
ys as Loading,
|
|
2227
|
+
Us as Menu,
|
|
2228
|
+
Vs as MenuTabs,
|
|
2229
|
+
Dl as MicroOpenApis,
|
|
2229
2230
|
Me as OPTIONS,
|
|
2230
2231
|
ca as OptionCommProps,
|
|
2231
|
-
|
|
2232
|
+
Ys as ProjectIcon,
|
|
2232
2233
|
hl as PropEditor,
|
|
2233
2234
|
j as ProviderKeys,
|
|
2234
2235
|
It as Radio,
|
|
@@ -2244,64 +2245,60 @@ export {
|
|
|
2244
2245
|
yl as TimePicker,
|
|
2245
2246
|
U as ToolIcon,
|
|
2246
2247
|
ht as Toolbar,
|
|
2247
|
-
|
|
2248
|
+
Ns as Tooltip,
|
|
2248
2249
|
Dt as Transfer,
|
|
2249
2250
|
kl as TransferTable,
|
|
2250
2251
|
il as Tree,
|
|
2251
2252
|
wl as TreeSelect,
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2253
|
+
hs as UploadList,
|
|
2254
|
+
ps as UploadStatus,
|
|
2255
|
+
ks as appendExcelData,
|
|
2256
|
+
ws as checkExcelDuplicates,
|
|
2257
|
+
El as checkIconsExpired,
|
|
2257
2258
|
fa as circleLoading,
|
|
2258
2259
|
Ze as createFromIconfont,
|
|
2259
|
-
|
|
2260
|
-
|
|
2260
|
+
Ss as createMarkedExcelView,
|
|
2261
|
+
Pl as crumbs,
|
|
2261
2262
|
Jt as csvToExcelBlob,
|
|
2262
2263
|
He as csvToExcelView,
|
|
2263
|
-
|
|
2264
|
+
Cs as csvToNormalized,
|
|
2264
2265
|
De as defaultTools,
|
|
2265
|
-
|
|
2266
|
-
|
|
2266
|
+
Fl as doDelete,
|
|
2267
|
+
Nl as doExecute,
|
|
2267
2268
|
Re as doQuery,
|
|
2268
|
-
|
|
2269
|
-
|
|
2269
|
+
Ml as doSave,
|
|
2270
|
+
gs as donwloadFromMinio,
|
|
2270
2271
|
We as downloadBlob,
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2272
|
+
Bl as eventBus,
|
|
2273
|
+
Ts as excelToExcelView,
|
|
2274
|
+
$s as excelToNormalized,
|
|
2274
2275
|
el as exportResults,
|
|
2275
2276
|
Zt as exportSelectedRows,
|
|
2276
2277
|
Ne as filterColumns,
|
|
2277
2278
|
Y as formValidate,
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
fs as getHostInfo,
|
|
2281
|
-
Rl as getIconTransform,
|
|
2279
|
+
Rl as getFormDetail,
|
|
2280
|
+
Ol as getIconTransform,
|
|
2282
2281
|
Al as getRecordDetail,
|
|
2283
|
-
|
|
2282
|
+
Ll as getRuleTexts,
|
|
2284
2283
|
ma as getSelectedLabels,
|
|
2285
|
-
|
|
2286
|
-
vs as getToken,
|
|
2284
|
+
zl as getSelectedValues,
|
|
2287
2285
|
W as getToolByKey,
|
|
2288
2286
|
ye as getToolGroup,
|
|
2289
2287
|
H as getToolStatus,
|
|
2290
2288
|
G as getToolVisible,
|
|
2291
|
-
ms as getUserInfo,
|
|
2292
2289
|
ke as gridQueryFind,
|
|
2293
2290
|
ra as gridQueryList,
|
|
2294
|
-
|
|
2291
|
+
Ul as gridRowUpdate,
|
|
2295
2292
|
na as gridStatusUpdate,
|
|
2296
2293
|
Gt as initCacheCheck,
|
|
2297
2294
|
qt as initDirective,
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2295
|
+
Vl as initMenu,
|
|
2296
|
+
Yl as initPageFactory,
|
|
2297
|
+
Kl as initValidate,
|
|
2301
2298
|
Z as isEmpty,
|
|
2302
2299
|
da as loadOption,
|
|
2303
|
-
|
|
2304
|
-
|
|
2300
|
+
Wl as mergeColumns,
|
|
2301
|
+
Is as normalizedToExcelView,
|
|
2305
2302
|
Xa as onColumnVisibleChanged,
|
|
2306
2303
|
aa as onFormClose,
|
|
2307
2304
|
Pe as onFormSave,
|
|
@@ -2309,42 +2306,40 @@ export {
|
|
|
2309
2306
|
je as onFullscreenClick,
|
|
2310
2307
|
la as onGridRowDelete,
|
|
2311
2308
|
ta as onGridRowEdit,
|
|
2312
|
-
|
|
2309
|
+
Hl as onGridRowExpand,
|
|
2313
2310
|
va as onOptionChanged,
|
|
2314
2311
|
Wa as onReloadClick,
|
|
2315
2312
|
V as onToolClicked,
|
|
2316
2313
|
sa as openNewForm,
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2314
|
+
jl as outFormDataFields,
|
|
2315
|
+
Ql as parseIcons,
|
|
2316
|
+
fs as path,
|
|
2317
|
+
ql as pendingNavigation,
|
|
2318
|
+
Gl as pinia,
|
|
2319
|
+
bs as previewFromMinio,
|
|
2323
2320
|
Xt as processCsvFile,
|
|
2324
|
-
|
|
2321
|
+
Ds as processExcelFile,
|
|
2325
2322
|
Be as queryTree,
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2323
|
+
Jl as resetRules,
|
|
2324
|
+
Xl as routes,
|
|
2325
|
+
Zl as saveForm,
|
|
2326
|
+
es as setFormData,
|
|
2327
|
+
as as showBreadcrumb,
|
|
2328
|
+
Es as toExcel,
|
|
2332
2329
|
pa as unloadOption,
|
|
2333
|
-
|
|
2334
|
-
|
|
2330
|
+
ts as useAppInfo,
|
|
2331
|
+
ls as useEditorFactory,
|
|
2335
2332
|
Fe as useFormItemFactory,
|
|
2336
|
-
|
|
2337
|
-
|
|
2333
|
+
ss as useGridFactory,
|
|
2334
|
+
rs as useHostInfo,
|
|
2338
2335
|
L as useInputFactory,
|
|
2339
2336
|
ua as useOptionFactory,
|
|
2340
|
-
|
|
2341
|
-
|
|
2337
|
+
os as usePageFactory,
|
|
2338
|
+
ns as usePageInfo,
|
|
2342
2339
|
me as useSettingInfo,
|
|
2343
2340
|
Za as useToolFactory,
|
|
2344
|
-
|
|
2341
|
+
is as useTreeFactory,
|
|
2345
2342
|
Ee as useUserInfo,
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
is as validateData,
|
|
2349
|
-
Rs as validateExcel
|
|
2343
|
+
cs as validateData,
|
|
2344
|
+
Ps as validateExcel
|
|
2350
2345
|
};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -215,7 +215,7 @@ export { path, AsyncUploader } from '@/utils/file-upload';
|
|
|
215
215
|
export { EventPrefix } from '@/utils/eventbus';
|
|
216
216
|
export { default as eventBus } from '@/utils/eventbus';
|
|
217
217
|
|
|
218
|
-
export {
|
|
218
|
+
export { MicroOpenApis } from '@/utils/micro-openapis';
|
|
219
219
|
|
|
220
220
|
import router from '@/router';
|
|
221
221
|
export { router as AppRouter };
|