@skyfox2000/webui 1.5.23 → 1.6.0

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.
@@ -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-D0gDhlS9.js";
4
- import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-CQLWwGac.js";
5
- import { al as v, a as B, an as E } from "./upload-template-Diw75DK3.js";
3
+ import { a as b } from "./toolIcon-CFsCkPLp.js";
4
+ import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-Bmgx084v.js";
5
+ import { al as v, a as B, an as E } from "./upload-template-JsmaDweb.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import "@skyfox2000/fapi";
8
8
  import L from "vue-m-message";
@@ -4,7 +4,7 @@ var h = (i, e, a) => U(i, typeof e != "symbol" ? e + "" : e, a);
4
4
  import { hostUrl as E } from "@skyfox2000/fapi";
5
5
  import m from "dayjs";
6
6
  import f from "vue-m-message";
7
- import { $ as n, M as y, u as F } from "./upload-template-Diw75DK3.js";
7
+ import { $ as n, M as y, u as F } from "./upload-template-JsmaDweb.js";
8
8
  import { isMicroApp as g } from "@skyfox2000/microbase";
9
9
  var l = /* @__PURE__ */ ((i) => (i.Pending = "pending", i.Uploading = "uploading", i.Success = "success", i.Error = "error", i.Online = "online", i.Offline = "offline", i))(l || {});
10
10
  class M {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as B, provide as N, ref as A, watch as m, onMounted as V, createBlock as r, openBlock as d, unref as o, withCtx as n, createElementVNode as $, renderSlot as C, createVNode as D, createCommentVNode as u, createTextVNode as v, toDisplayString as f } from "vue";
2
- import { _ as c } from "./index-CBd7UKIQ.js";
2
+ import { _ as c } from "./index-cop45Etu.js";
3
3
  import { Modal as E, Space as M } from "ant-design-vue";
4
4
  import "@skyfox2000/fapi";
5
- import { P, d as K, $ as p, o as U, b as j } from "./upload-template-Diw75DK3.js";
5
+ import { P, d as K, $ as p, o as U, b as j } from "./upload-template-JsmaDweb.js";
6
6
  import "vue-m-message";
7
7
  import "@skyfox2000/microbase";
8
8
  import "async-validator";
@@ -1,10 +1,10 @@
1
1
  import H from "async-validator";
2
2
  import { httpPost as $, ResStatus as M } from "@skyfox2000/fapi";
3
- import { $ as d, i as U, av as V, L as j, u as T } from "./upload-template-Diw75DK3.js";
3
+ import { $ as d, i as U, av as V, L as j, u as T } from "./upload-template-JsmaDweb.js";
4
4
  import E from "vue-m-message";
5
5
  import { defineComponent as S, useAttrs as B, createElementBlock as P, openBlock as y, createVNode as z, unref as v, mergeProps as _, computed as x, createBlock as D, withCtx as A, normalizeStyle as N } from "vue";
6
6
  import { Spin as L, Alert as O } from "ant-design-vue";
7
- import { _ as K } from "./toolIcon-D0gDhlS9.js";
7
+ import { _ as K } from "./toolIcon-CFsCkPLp.js";
8
8
  const W = (l) => {
9
9
  const e = l.split(`
10
10
  `).filter((i) => i.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-D0gDhlS9.js";
3
+ import { a as P, _ as k } from "./toolIcon-CFsCkPLp.js";
4
4
  const C = /* @__PURE__ */ d({
5
5
  inheritAttrs: !1,
6
6
  __name: "index",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, createBlock as y, createCommentVNode as b, openBlock as l, unref as t, mergeProps as $, useAttrs as Y, computed as j, ref as v, watch as w, withCtx as m, createElementBlock as g, normalizeStyle as T, createElementVNode as f, inject as Z, onMounted as P, createVNode as r, toDisplayString as C, Fragment as L, renderList as U, createTextVNode as G, reactive as Q, nextTick as X, withModifiers as ee } from "vue";
2
- import { a as A, _ as k } from "./toolIcon-D0gDhlS9.js";
3
- import { c as D, Y as E, an as M, a1 as K, a0 as R, at as F, u as H, $ as S, M as te, as as V, au as ne, a as q, Z as oe, r as J, al as B } from "./upload-template-Diw75DK3.js";
2
+ import { a as A, _ as k } from "./toolIcon-CFsCkPLp.js";
3
+ import { c as D, Y as E, an as M, a1 as K, a0 as R, at as F, u as H, $ as S, M as te, as as V, au as ne, a as q, Z as oe, r as J, al as B } from "./upload-template-JsmaDweb.js";
4
4
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { theme as O, Breadcrumb as ie, Modal as ae, Flex as ce, Dropdown as le, Menu as W, MenuItem as re, LayoutHeader as ue, Space as pe, Tabs as de, TabPane as me } from "ant-design-vue";
6
6
  import { isMicroApp as fe } 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-Diw75DK3.js";
4
+ import { c as S } from "./upload-template-JsmaDweb.js";
5
5
  const T = /* @__PURE__ */ i({
6
6
  __name: "index",
7
7
  props: {
@@ -2,11 +2,11 @@ var mr = Object.defineProperty;
2
2
  var pr = (e, t, a) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var ne = (e, t, a) => pr(e, typeof t != "symbol" ? t + "" : t, a);
4
4
  import * as wa from "vue";
5
- import { effectScope as _r, ref as w, shallowRef as ke, computed as tt, watch as B, isRef as gr, defineComponent as De, h as Ie, Fragment as Ye, inject as nt, onMounted as wt, onUnmounted as dt, createVNode as Be, Text as hr, nextTick as Er, provide as ka, toRaw as fs, reactive as vr, createBlock as zt, createCommentVNode as ot, openBlock as le, unref as X, mergeProps as kt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Ue, createTextVNode as ta, toDisplayString as je, renderList as nn, normalizeClass as ds, createElementVNode as br } from "vue";
5
+ import { effectScope as _r, ref as w, shallowRef as De, computed as tt, watch as B, isRef as gr, defineComponent as Ce, h as Ie, Fragment as Ye, inject as nt, onMounted as wt, onUnmounted as dt, createVNode as Be, Text as hr, nextTick as Er, provide as ka, toRaw as fs, reactive as vr, createBlock as zt, createCommentVNode as ot, openBlock as le, unref as X, mergeProps as kt, useAttrs as Zt, onActivated as ea, createElementBlock as ge, withCtx as Ue, createTextVNode as ta, toDisplayString as je, renderList as nn, normalizeClass as ds, createElementVNode as br } from "vue";
6
6
  import { Switch as Ir, AutoComplete as yr, Input as Nr, CheckboxGroup as Sr, Checkbox as Tr, RadioGroup as Lr, Radio as Or, Select as Ar, SelectOption as Pr } from "ant-design-vue";
7
7
  import { createPinia as Rr, defineStore as Dt } from "pinia";
8
8
  import wr from "pinia-plugin-persistedstate";
9
- import { EnvConfig as Fe, AppAction as Sn, AppSource as Tn, isMicroApp as Ce, isBaseMicroApp as kr, combineParams as Ct } from "@skyfox2000/microbase";
9
+ import { EnvConfig as ke, AppAction as Sn, AppSource as Tn, isMicroApp as Fe, isBaseMicroApp as kr, combineParams as Ct } from "@skyfox2000/microbase";
10
10
  import { httpPost as qe, ResStatus as ie, setToken as Wt, httpGet as ms, fieldMapping as Dr, parseFieldTemplate as Qt, API_HOST as Da, SERVER_HOST as Cr } from "@skyfox2000/fapi";
11
11
  import se from "vue-m-message";
12
12
  import { createRouter as Fr, createWebHashHistory as Mr } from "vue-router";
@@ -2422,7 +2422,7 @@ const xl = /* @__NO_SIDE_EFFECTS__ */ () => {
2422
2422
  return e && (t = $s(e)[Xn]) ? { [Xn]: t } : null;
2423
2423
  };
2424
2424
  function pn(e = {}) {
2425
- const { __root: t, __injectWithOption: a } = e, n = t === void 0, s = e.flatJson, r = Ne ? w : ke;
2425
+ const { __root: t, __injectWithOption: a } = e, n = t === void 0, s = e.flatJson, r = Ne ? w : De;
2426
2426
  let o = x(e.inheritLocale) ? e.inheritLocale : !0;
2427
2427
  const l = r(
2428
2428
  // prettier-ignore
@@ -3266,7 +3266,7 @@ function ei({ slots: e }, t) {
3266
3266
  function Ys() {
3267
3267
  return Ye;
3268
3268
  }
3269
- const ti = /* @__PURE__ */ De({
3269
+ const ti = /* @__PURE__ */ Ce({
3270
3270
  /* eslint-disable */
3271
3271
  name: "i18n-t",
3272
3272
  props: te({
@@ -3313,7 +3313,7 @@ function Bs(e, t, a, n) {
3313
3313
  return Ie(g, m, c);
3314
3314
  };
3315
3315
  }
3316
- const ni = /* @__PURE__ */ De({
3316
+ const ni = /* @__PURE__ */ Ce({
3317
3317
  /* eslint-disable */
3318
3318
  name: "i18n-n",
3319
3319
  props: te({
@@ -3575,7 +3575,7 @@ function hi(e, t) {
3575
3575
  });
3576
3576
  };
3577
3577
  }
3578
- const Ei = /* @__PURE__ */ De({
3578
+ const Ei = /* @__PURE__ */ Ce({
3579
3579
  /* eslint-disable */
3580
3580
  name: "i18n-d",
3581
3581
  props: te({
@@ -4332,11 +4332,11 @@ const Ft = {
4332
4332
  return a.length === 0 && !n;
4333
4333
  if (t) {
4334
4334
  const o = ye();
4335
- if (Fe.VITE_PERMISSION_MODE === "none")
4335
+ if (ke.VITE_PERMISSION_MODE === "none")
4336
4336
  return !0;
4337
- if (Fe.VITE_PERMISSION_MODE === "role")
4337
+ if (ke.VITE_PERMISSION_MODE === "role")
4338
4338
  return a.length === 0 ? !0 : o.hasRole(a);
4339
- if (Fe.VITE_PERMISSION_MODE === "permit") {
4339
+ if (ke.VITE_PERMISSION_MODE === "permit") {
4340
4340
  if (a.length === 0 && !n)
4341
4341
  return !0;
4342
4342
  let l = !1, i = !1;
@@ -4564,11 +4564,11 @@ const Nt = {
4564
4564
  }
4565
4565
  }, xa = /* @__PURE__ */ new Map(), Ai = (e) => {
4566
4566
  const t = ye(), { roles: a, permission: n } = e.meta || {};
4567
- if (ve(a) && ve(n) || Fe.VITE_PERMISSION_MODE === "none")
4567
+ if (ve(a) && ve(n) || ke.VITE_PERMISSION_MODE === "none")
4568
4568
  return !0;
4569
- if (Fe.VITE_PERMISSION_MODE === "role")
4569
+ if (ke.VITE_PERMISSION_MODE === "role")
4570
4570
  return ve(a) ? !0 : t.hasRole(a);
4571
- if (Fe.VITE_PERMISSION_MODE === "permit") {
4571
+ if (ke.VITE_PERMISSION_MODE === "permit") {
4572
4572
  let s = !1, r = !1;
4573
4573
  return ve(a) || (s = t.hasRole(a)), t.isAdmin() ? s : (ve(n) || (r = t.hasPermit(e.path, n)), s || r);
4574
4574
  }
@@ -4666,9 +4666,9 @@ const Nt = {
4666
4666
  flattenRoutes: {},
4667
4667
  Routes: t ?? [],
4668
4668
  defaultPage: ""
4669
- }), !Ce() || !kr())) {
4669
+ }), !Fe() || !kr())) {
4670
4670
  const n = ye();
4671
- Fe.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4671
+ ke.VITE_PERMISSION_MODE !== "none" && await n.getRolePermits(a.Id), this.appInfo.Routes.length && this.setAppRoutes(this.appInfo.Routes);
4672
4672
  }
4673
4673
  },
4674
4674
  /**
@@ -4691,7 +4691,7 @@ const Nt = {
4691
4691
  }), ye().isLogin) {
4692
4692
  const a = er(this.appInfo.Routes);
4693
4693
  if (yi(a), this.appInfo.defaultPage = tr(a) || "", this.appInfo.defaultPage) {
4694
- if (this.menuLoaded = !0, Ce()) {
4694
+ if (this.menuLoaded = !0, Fe()) {
4695
4695
  const n = this.formatRoute(this.appInfo.defaultPage);
4696
4696
  Nt.mainAppPush(n);
4697
4697
  }
@@ -4714,7 +4714,7 @@ const Nt = {
4714
4714
  */
4715
4715
  push(e) {
4716
4716
  this.findRoute(e) && hn().setTabActive(e), Er(() => {
4717
- if (ca.push({ path: e }), Ce()) {
4717
+ if (ca.push({ path: e }), Fe()) {
4718
4718
  const a = this.formatRoute(e);
4719
4719
  Nt.mainAppPush(a);
4720
4720
  }
@@ -4784,7 +4784,7 @@ const Nt = {
4784
4784
  }, this.CachedComponents.splice(0, this.CachedComponents.length), this.ExcludeComponents.splice(0, this.ExcludeComponents.length), this.appList.splice(0, this.appList.length), this.menuLoaded = !1;
4785
4785
  },
4786
4786
  logout() {
4787
- this.clean(), Ce() ? Nt.mainAppPush("/") : window.location.assign("/");
4787
+ this.clean(), Fe() ? Nt.mainAppPush("/") : window.location.assign("/");
4788
4788
  }
4789
4789
  },
4790
4790
  persist: !1
@@ -4842,7 +4842,7 @@ const Nt = {
4842
4842
  * 启动时初始化用户信息
4843
4843
  */
4844
4844
  init() {
4845
- Ce() || (this.token ? (Wt(this.token), de.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
4845
+ Fe() || (this.token ? (Wt(this.token), de.value = this.userInfo.UserLevel, this.isLogin = !0) : this.clean());
4846
4846
  },
4847
4847
  /**
4848
4848
  * 登录操作
@@ -4878,7 +4878,7 @@ const Nt = {
4878
4878
  async getRolePermits(e) {
4879
4879
  if (!this.isLogin || !this.token)
4880
4880
  return !1;
4881
- if (Fe.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4881
+ if (ke.VITE_PERMISSION_MODE === "none" || bt.value && bt.value.appId === e)
4882
4882
  return !0;
4883
4883
  try {
4884
4884
  const t = await Ri(e);
@@ -4973,7 +4973,7 @@ const Nt = {
4973
4973
  * @returns
4974
4974
  */
4975
4975
  async logout(e) {
4976
- if (Ce())
4976
+ if (Fe())
4977
4977
  return Nt.userLogout(), Promise.resolve();
4978
4978
  try {
4979
4979
  e && await wi();
@@ -4989,7 +4989,7 @@ const Nt = {
4989
4989
  return Promise.resolve();
4990
4990
  }
4991
4991
  },
4992
- persist: Ce() ? !1 : {
4992
+ persist: !Fe() && ke.VITE_IS_JCIAPP !== "true" ? {
4993
4993
  key: "MICROAPP_USER_INFO",
4994
4994
  storage: localStorage,
4995
4995
  pick: ["token", "userInfo"],
@@ -4997,7 +4997,7 @@ const Nt = {
4997
4997
  afterHydrate: (e) => {
4998
4998
  e.store.init();
4999
4999
  }
5000
- }
5000
+ } : !1
5001
5001
  }), fa = (e, t) => {
5002
5002
  var s;
5003
5003
  const a = e.page;
@@ -5730,7 +5730,7 @@ const st = new Hi(), pt = (e, t, a) => {
5730
5730
  selectRows: w([]),
5731
5731
  rowData: w(void 0),
5732
5732
  gridQuery: {},
5733
- tableData: ke(void 0),
5733
+ tableData: De(void 0),
5734
5734
  expandRows: w({}),
5735
5735
  isGridLoading: w(!1),
5736
5736
  isGridSaving: w(!1),
@@ -5756,7 +5756,7 @@ const st = new Hi(), pt = (e, t, a) => {
5756
5756
  page: t,
5757
5757
  node: w(void 0),
5758
5758
  url: e.urls.tree,
5759
- data: ke(void 0),
5759
+ data: De(void 0),
5760
5760
  isTreeLoading: w(!1)
5761
5761
  };
5762
5762
  return B(
@@ -5775,7 +5775,7 @@ const st = new Hi(), pt = (e, t, a) => {
5775
5775
  url: e,
5776
5776
  reload: w(!1),
5777
5777
  optionQuery: {},
5778
- data: ke((t == null ? void 0 : t.data) ?? []),
5778
+ data: De((t == null ? void 0 : t.data) ?? []),
5779
5779
  selected: w([]),
5780
5780
  selectedOptions: w([]),
5781
5781
  options: w((t == null ? void 0 : t.data) ?? []),
@@ -5809,7 +5809,7 @@ const st = new Hi(), pt = (e, t, a) => {
5809
5809
  let n = !0;
5810
5810
  return (s = e.icons) != null && s.length && (n = e.icons.every((r) => Ke.value[r] !== void 0)), (e.icon && !Ke.value[e.icon] || !n) && Ji(e, t).then(() => {
5811
5811
  qi(e.iconUrl, e.monoColor || !1), t.value = !0;
5812
- }), De({
5812
+ }), Ce({
5813
5813
  props: {
5814
5814
  icon: {
5815
5815
  type: String
@@ -6044,7 +6044,7 @@ const st = new Hi(), pt = (e, t, a) => {
6044
6044
  * @param hostKey 站点信息,默认为当前主域名
6045
6045
  */
6046
6046
  async loadHostInfo(e, t) {
6047
- if (Ce()) {
6047
+ if (Fe()) {
6048
6048
  const n = await Nt.getHostInfo();
6049
6049
  this._setHostInfo(n);
6050
6050
  return;
@@ -6110,7 +6110,7 @@ const st = new Hi(), pt = (e, t, a) => {
6110
6110
  // storage: localStorage,
6111
6111
  // pick: ['hostInfo'],
6112
6112
  // },
6113
- }), Xc = /* @__PURE__ */ De({
6113
+ }), Xc = /* @__PURE__ */ Ce({
6114
6114
  __name: "index",
6115
6115
  props: {
6116
6116
  ...Ft,
@@ -6129,7 +6129,7 @@ const st = new Hi(), pt = (e, t, a) => {
6129
6129
  emits: ["change"],
6130
6130
  setup(e, { emit: t }) {
6131
6131
  const a = e, n = ft(), s = xt(a.url, a), r = a.optionCtrl ?? s.optionCtrl;
6132
- r.inputFactory = ke(n);
6132
+ r.inputFactory = De(n);
6133
6133
  const o = w([]);
6134
6134
  r && B(
6135
6135
  () => r.options.value,
@@ -6174,7 +6174,7 @@ const st = new Hi(), pt = (e, t, a) => {
6174
6174
  }, y.$attrs), null, 16, ["size", "class", "checkedChildren", "checkedValue", "unCheckedChildren", "unCheckedValue"])) : ot("", !0);
6175
6175
  };
6176
6176
  }
6177
- }), qc = /* @__PURE__ */ De({
6177
+ }), qc = /* @__PURE__ */ Ce({
6178
6178
  inheritAttrs: !1,
6179
6179
  __name: "index",
6180
6180
  props: {
@@ -6196,7 +6196,7 @@ const st = new Hi(), pt = (e, t, a) => {
6196
6196
  emits: ["update:value", "select", "change", "update:labels"],
6197
6197
  setup(e, { emit: t }) {
6198
6198
  const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6199
- o.inputFactory = ke(s), o.fieldMap = {
6199
+ o.inputFactory = De(s), o.fieldMap = {
6200
6200
  label: "Name",
6201
6201
  value: "Id",
6202
6202
  ...o == null ? void 0 : o.fieldMap
@@ -6270,7 +6270,7 @@ const st = new Hi(), pt = (e, t, a) => {
6270
6270
  }), ec = { class: "min-h-[32px] pt-[5px]" }, tc = {
6271
6271
  key: 1,
6272
6272
  class: "text-center text-gray-500"
6273
- }, zc = /* @__PURE__ */ De({
6273
+ }, zc = /* @__PURE__ */ Ce({
6274
6274
  inheritAttrs: !1,
6275
6275
  __name: "index",
6276
6276
  props: {
@@ -6293,7 +6293,7 @@ const st = new Hi(), pt = (e, t, a) => {
6293
6293
  setup(e, { emit: t }) {
6294
6294
  var p, y, R;
6295
6295
  const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6296
- o.inputFactory = ke(s);
6296
+ o.inputFactory = De(s);
6297
6297
  const l = w({
6298
6298
  ...o == null ? void 0 : o.url,
6299
6299
  url: ((p = o == null ? void 0 : o.url) == null ? void 0 : p.url) || "",
@@ -6358,7 +6358,7 @@ const st = new Hi(), pt = (e, t, a) => {
6358
6358
  }), ac = { class: "min-h-[32px] pt-1" }, nc = {
6359
6359
  key: 1,
6360
6360
  class: "text-center text-gray-500"
6361
- }, Zc = /* @__PURE__ */ De({
6361
+ }, Zc = /* @__PURE__ */ Ce({
6362
6362
  inheritAttrs: !1,
6363
6363
  __name: "index",
6364
6364
  props: {
@@ -6382,7 +6382,7 @@ const st = new Hi(), pt = (e, t, a) => {
6382
6382
  setup(e, { emit: t }) {
6383
6383
  var R, S, O;
6384
6384
  const a = e, n = Zt(), s = ft(), r = xt(a.url, a), o = a.optionCtrl ?? r.optionCtrl;
6385
- o.inputFactory = ke(s);
6385
+ o.inputFactory = De(s);
6386
6386
  const l = w({
6387
6387
  ...o == null ? void 0 : o.url,
6388
6388
  url: ((R = o == null ? void 0 : o.url) == null ? void 0 : R.url) || "",
@@ -6467,7 +6467,7 @@ const st = new Hi(), pt = (e, t, a) => {
6467
6467
  }), sc = {
6468
6468
  key: 0,
6469
6469
  class: "absolute z-10 mt-[5px] mr-[10px] text-[#999] flex items-center"
6470
- }, eu = /* @__PURE__ */ De({
6470
+ }, eu = /* @__PURE__ */ Ce({
6471
6471
  inheritAttrs: !1,
6472
6472
  __name: "index",
6473
6473
  props: {
@@ -6504,7 +6504,7 @@ const st = new Hi(), pt = (e, t, a) => {
6504
6504
  setup(e, { emit: t }) {
6505
6505
  var _, I, E;
6506
6506
  const a = e, n = a.value === void 0 ? !0 : a.undefValue, s = ft(), { editorCtrl: r, errInfo: o, labelText: l } = s, i = xt(a.url, a), c = a.optionCtrl ?? i.optionCtrl;
6507
- c.inputFactory = ke(s);
6507
+ c.inputFactory = De(s);
6508
6508
  const m = Zt();
6509
6509
  c.autoload = a.autoload ?? c.autoload;
6510
6510
  const g = w({
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ce, ref as R, computed as I, watch as $, resolveDirective as de, createElementBlock as m, openBlock as d, normalizeClass as z, unref as n, createElementVNode as w, withDirectives as b, createCommentVNode as y, createBlock as V, mergeProps as G, withCtx as v, createVNode as p, createTextVNode as E, toDisplayString as P, Fragment as pe, renderList as me } from "vue";
2
- import { _ as H } from "./index-CBd7UKIQ.js";
3
- import { a as B, _ as K } from "./toolIcon-D0gDhlS9.js";
2
+ import { _ as H } from "./index-cop45Etu.js";
3
+ import { a as B, _ as K } from "./toolIcon-CFsCkPLp.js";
4
4
  import { httpPost as N, ResStatus as j } from "@skyfox2000/fapi";
5
- import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-Diw75DK3.js";
5
+ import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-JsmaDweb.js";
6
6
  import U from "vue-m-message";
7
7
  import { Upload as J, Tag as we, Popconfirm as ve, Progress as xe } from "ant-design-vue";
8
- import { U as r, f as be, p as W } from "./file-upload-DLtJQx0S.js";
8
+ import { U as r, f as be, p as W } from "./file-upload-Cf_l5UkO.js";
9
9
  import { combineParams as Z } from "@skyfox2000/microbase";
10
10
  import "async-validator";
11
11
  import "dayjs";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as V, defineAsyncComponent as J, ref as m, watch as K, onMounted as W, createElementBlock as x, openBlock as p, Fragment as z, createElementVNode as f, createVNode as N, toDisplayString as $, unref as l, createBlock as A, withKeys as v, normalizeClass as O, withModifiers as w, withCtx as L, createCommentVNode as q } from "vue";
2
2
  import "ant-design-vue";
3
- import { _ as D } from "../../assets/modules/toolIcon-D0gDhlS9.js";
3
+ import { _ as D } from "../../assets/modules/toolIcon-CFsCkPLp.js";
4
4
  import "@skyfox2000/fapi";
5
- import { $ as b } from "../../assets/modules/upload-template-Diw75DK3.js";
5
+ import { $ as b } from "../../assets/modules/upload-template-JsmaDweb.js";
6
6
  import "vue-m-message";
7
- import { _ as Q } from "../../assets/modules/index-DAXFE4kZ.js";
7
+ import { _ as Q } from "../../assets/modules/index-D1xNOLT_.js";
8
8
  import "@skyfox2000/microbase";
9
9
  import "async-validator";
10
10
  import "dayjs";
@@ -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-CZbP7pSZ.js";
3
- import { al as A, a as S } from "../../assets/modules/upload-template-Diw75DK3.js";
2
+ import { _ as g } from "../../assets/modules/baseLayout-DDSJt-x4.js";
3
+ import { al as A, a as S } from "../../assets/modules/upload-template-JsmaDweb.js";
4
4
  import "@skyfox2000/microbase";
5
5
  import "@skyfox2000/fapi";
6
6
  import b from "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createBlock as n, openBlock as p, unref as r, withCtx as e, createVNode as m, createTextVNode as c, toDisplayString as a } from "vue";
2
- import { r as s } from "../../assets/modules/upload-template-Diw75DK3.js";
2
+ import { r as s } from "../../assets/modules/upload-template-JsmaDweb.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createBlock as n, openBlock as p, unref as e, withCtx as r, createVNode as m, createTextVNode as a, toDisplayString as c } from "vue";
2
- import { r as u } from "../../assets/modules/upload-template-Diw75DK3.js";
2
+ import { r as u } from "../../assets/modules/upload-template-JsmaDweb.js";
3
3
  import "@skyfox2000/microbase";
4
4
  import "@skyfox2000/fapi";
5
5
  import "vue-m-message";
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as be, ref as p, computed as S, watch as H, onMounted as he, createBlock as Q, openBlock as f, unref as r, withCtx as D, renderSlot as W, createElementBlock as g, createCommentVNode as B, createElementVNode as b, createVNode as _, createTextVNode as J, toDisplayString as E, normalizeClass as Fe, Fragment as ie, renderList as ne } from "vue";
2
- import { _ as Y } from "../../assets/modules/index-CBd7UKIQ.js";
2
+ import { _ as Y } from "../../assets/modules/index-cop45Etu.js";
3
3
  import { Modal as Ce, Upload as ce, Space as Ue } from "ant-design-vue";
4
4
  import { httpGet as _e, ResStatus as de } from "@skyfox2000/fapi";
5
- import { $ as a, H as Ee, a8 as Te, af as Re } from "../../assets/modules/upload-template-Diw75DK3.js";
5
+ import { $ as a, H as Ee, a8 as Te, af as Re } from "../../assets/modules/upload-template-JsmaDweb.js";
6
6
  import m from "vue-m-message";
7
- import { c as pe, _ as Z, h as Se, p as De, i as ke } from "../../assets/modules/index-BZ3_aX3_.js";
8
- import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-DLtJQx0S.js";
7
+ import { c as pe, _ as Z, h as Se, p as De, i as ke } from "../../assets/modules/index-DrXeG06w.js";
8
+ import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-Cf_l5UkO.js";
9
9
  import "@skyfox2000/microbase";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
@@ -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-CZbP7pSZ.js";
3
- import { al as A, a as S } from "../../assets/modules/upload-template-Diw75DK3.js";
2
+ import { _ as y } from "../../assets/modules/baseLayout-DDSJt-x4.js";
3
+ import { al as A, a as S } from "../../assets/modules/upload-template-JsmaDweb.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 T, ref as l, watch as x, onMounted as F, createBlock as C, openBlock as q, unref as u, withCtx as d, createVNode as f, createTextVNode as L, toDisplayString as b } from "vue";
2
- import { _ as g } from "../../assets/modules/index-CBd7UKIQ.js";
2
+ import { _ as g } from "../../assets/modules/index-cop45Etu.js";
3
3
  import { Modal as D, Space as z } from "ant-design-vue";
4
4
  import { httpPost as N, ResStatus as O } from "@skyfox2000/fapi";
5
- import { ao as n, $ as w } from "../../assets/modules/upload-template-Diw75DK3.js";
5
+ import { ao as n, $ as w } from "../../assets/modules/upload-template-JsmaDweb.js";
6
6
  import "vue-m-message";
7
- import { U as M } from "../../assets/modules/file-upload-DLtJQx0S.js";
7
+ import { U as M } from "../../assets/modules/file-upload-Cf_l5UkO.js";
8
8
  import "@skyfox2000/microbase";
9
9
  import "async-validator";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
- import { U as $ } from "../../assets/modules/uploadList-C2ZpgPoa.js";
12
+ import { U as $ } from "../../assets/modules/uploadList-B-Acsazt.js";
13
13
  const H = /* @__PURE__ */ T({
14
14
  __name: "templateFile",
15
15
  props: {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as F, ref as s, watch as y, onMounted as z, createBlock as D, openBlock as _, unref as u, withCtx as p, createVNode as m, mergeProps as L, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { _ as g } from "../../assets/modules/index-CBd7UKIQ.js";
2
+ import { _ as g } from "../../assets/modules/index-cop45Etu.js";
3
3
  import { Modal as k, Space as N } from "ant-design-vue";
4
4
  import { ResStatus as T } from "@skyfox2000/fapi";
5
- import { $ as v, ab as $ } from "../../assets/modules/upload-template-Diw75DK3.js";
5
+ import { $ as v, ab as $ } from "../../assets/modules/upload-template-JsmaDweb.js";
6
6
  import A from "vue-m-message";
7
7
  import "@skyfox2000/microbase";
8
8
  import "async-validator";
9
9
  import "dayjs";
10
- import { A as E } from "../../assets/modules/file-upload-DLtJQx0S.js";
10
+ import { A as E } from "../../assets/modules/file-upload-Cf_l5UkO.js";
11
11
  import "vue-draggable-next";
12
- import { U as B } from "../../assets/modules/uploadList-C2ZpgPoa.js";
12
+ import { U as B } from "../../assets/modules/uploadList-B-Acsazt.js";
13
13
  const W = /* @__PURE__ */ F({
14
14
  __name: "uploadForm",
15
15
  props: {
package/lib/webui.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { u as Ae, i as ve, $ as y, a as ze, L as $t, c as Dt, P as oe, o as Qe, b as Ft, d as Pt, e as Je, g as Xe, r as fe, f as Ze, h as et, j as tt, k as It, l as be, m as at, _ as lt, n as rt, O as Oe, p as Et, q as ot, s as Lt, t as Ut, v as te, w as Mt, x as Nt, y as Rt, z as Bt, A as At, B as zt, C as se, D as Ot, E as de, F as Kt, G as jt, H as st, M as Vt } from "./assets/modules/upload-template-Diw75DK3.js";
2
- import { ah as Vr, V as Yr, W as Gr, a0 as Wr, ag as Hr, ae as qr, af as Qr, ai as Jr, as as Xr, a3 as Zr, Y as eo, at as to, ac as ao, a8 as lo, T as ro, a9 as oo, ab as so, aq as no, ar as io, Z as co, K as uo, J as po, a5 as fo, aa as vo, ad as mo, U as go, X as ho, aj as bo, I as xo, a7 as yo, ak as wo, a2 as ko, a4 as _o, au as Co, a1 as So, ap as To, ao as $o, al as Do, N as Fo, Q as Po, am as Io, S as Eo, an as Lo, R as Uo, a6 as Mo } from "./assets/modules/upload-template-Diw75DK3.js";
3
- import { f as Yt, p as Ye } from "./assets/modules/file-upload-DLtJQx0S.js";
4
- import { A as Ro, U as Bo } from "./assets/modules/file-upload-DLtJQx0S.js";
1
+ import { u as Ae, i as ve, $ as y, a as ze, L as $t, c as Dt, P as oe, o as Qe, b as Ft, d as Pt, e as Je, g as Xe, r as fe, f as Ze, h as et, j as tt, k as It, l as be, m as at, _ as lt, n as rt, O as Oe, p as Et, q as ot, s as Lt, t as Ut, v as te, w as Mt, x as Nt, y as Rt, z as Bt, A as At, B as zt, C as se, D as Ot, E as de, F as Kt, G as jt, H as st, M as Vt } from "./assets/modules/upload-template-JsmaDweb.js";
2
+ import { ah as Vr, V as Yr, W as Gr, a0 as Wr, ag as Hr, ae as qr, af as Qr, ai as Jr, as as Xr, a3 as Zr, Y as eo, at as to, ac as ao, a8 as lo, T as ro, a9 as oo, ab as so, aq as no, ar as io, Z as co, K as uo, J as po, a5 as fo, aa as vo, ad as mo, U as go, X as ho, aj as bo, I as xo, a7 as yo, ak as wo, a2 as ko, a4 as _o, au as Co, a1 as So, ap as To, ao as $o, al as Do, N as Fo, Q as Po, am as Io, S as Eo, an as Lo, R as Uo, a6 as Mo } from "./assets/modules/upload-template-JsmaDweb.js";
3
+ import { f as Yt, p as Ye } from "./assets/modules/file-upload-Cf_l5UkO.js";
4
+ import { A as Ro, U as Bo } from "./assets/modules/file-upload-Cf_l5UkO.js";
5
5
  import { EnvConfig as Ee, isMicroApp as Gt } from "@skyfox2000/microbase";
6
6
  import { FrontCache as he, httpPost as Ke, ResStatus as je, SERVER_HOST as Wt, fieldMapping as xe } from "@skyfox2000/fapi";
7
7
  import ae from "vue-m-message";
@@ -10,15 +10,15 @@ import "async-validator";
10
10
  import Re from "dayjs";
11
11
  import { Popover as Jt, theme as ct, Drawer as Xt, Space as pe, Form as ut, message as Zt, FormItem as dt, ConfigProvider as we, Popconfirm as pt, DropdownButton as ft, Menu as Te, MenuItem as $e, Dropdown as Be, Checkbox as ea, List as ta, ListItem as aa, Card as la, Button as vt, Table as mt, Tree as ra, Cascader as oa, DatePicker as sa, Input as me, InputPassword as na, InputNumber as ia, RangePicker as ca, Textarea as ua, TimePicker as da, Transfer as pa, TreeSelect as fa, Upload as va, Image as ma, LayoutContent as ga } from "ant-design-vue";
12
12
  import { VueDraggableNext as ha } from "vue-draggable-next";
13
- import { d as ba } from "./assets/modules/uploadList-C2ZpgPoa.js";
14
- import { C as zo, U as Oo, a as Ko, p as jo } from "./assets/modules/uploadList-C2ZpgPoa.js";
15
- import { c as gt } from "./assets/modules/index-BZ3_aX3_.js";
16
- import { _ as Yo, h as Go, b as Wo, a as Ho, d as qo, e as Qo, g as Jo, f as Xo, n as Zo, p as es, t as ts, v as as } from "./assets/modules/index-BZ3_aX3_.js";
17
- import { _ as ee } from "./assets/modules/index-CBd7UKIQ.js";
18
- import { _ as Y } from "./assets/modules/toolIcon-D0gDhlS9.js";
19
- import { a as rs } from "./assets/modules/toolIcon-D0gDhlS9.js";
20
- import { _ as ss, b as ns, c as is, d as cs, e as us, I as ds, f as ps, g as fs, a as vs } from "./assets/modules/menuTabs-CQLWwGac.js";
21
- import { _ as gs } from "./assets/modules/index-DAXFE4kZ.js";
13
+ import { d as ba } from "./assets/modules/uploadList-B-Acsazt.js";
14
+ import { C as zo, U as Oo, a as Ko, p as jo } from "./assets/modules/uploadList-B-Acsazt.js";
15
+ import { c as gt } from "./assets/modules/index-DrXeG06w.js";
16
+ import { _ as Yo, h as Go, b as Wo, a as Ho, d as qo, e as Qo, g as Jo, f as Xo, n as Zo, p as es, t as ts, v as as } from "./assets/modules/index-DrXeG06w.js";
17
+ import { _ as ee } from "./assets/modules/index-cop45Etu.js";
18
+ import { _ as Y } from "./assets/modules/toolIcon-CFsCkPLp.js";
19
+ import { a as rs } from "./assets/modules/toolIcon-CFsCkPLp.js";
20
+ import { _ as ss, b as ns, c as is, d as cs, e as us, I as ds, f as ps, g as fs, a as vs } from "./assets/modules/menuTabs-Bmgx084v.js";
21
+ import { _ as gs } from "./assets/modules/index-D1xNOLT_.js";
22
22
  import { _ as ce } from "./assets/modules/_plugin-vue_export-helper-CHgC5LLL.js";
23
23
  const We = (r, a, e, t = "remove") => {
24
24
  if (!e)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyfox2000/webui",
3
- "version": "1.5.23",
3
+ "version": "1.6.0",
4
4
  "description": "后台前端通用组件定义, 支持国际化",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -385,7 +385,7 @@ export const useUserInfo = defineStore('userInfo', {
385
385
  return Promise.resolve();
386
386
  },
387
387
  },
388
- persist: !isMicroApp()
388
+ persist: !isMicroApp() && EnvConfig.VITE_IS_JCIAPP !== "true"
389
389
  ? {
390
390
  key: 'MICROAPP_USER_INFO',
391
391
  storage: localStorage,