@skyfox2000/webui 1.4.15 → 1.4.17

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.
Files changed (33) hide show
  1. package/lib/assets/modules/{baseLayout-BtJNPMBy.js → baseLayout-D3_NxEzk.js} +5 -5
  2. package/lib/assets/modules/{file-upload-CYNi1NsW.js → file-upload-CNBcbAAZ.js} +1 -1
  3. package/lib/assets/modules/{index-DWnhNqJu.js → index-CDr74akE.js} +2 -2
  4. package/lib/assets/modules/{index-BOOirPG2.js → index-D14BsF7C.js} +1 -1
  5. package/lib/assets/modules/{index-Cj6QnoC7.js → index-DOlO_4KL.js} +2 -2
  6. package/lib/assets/modules/{menuTabs-DDGkYuvg.js → menuTabs-CqAhoF--.js} +7 -7
  7. package/lib/assets/modules/{toolIcon-DXQt60Ya.js → toolIcon-BnkqBipR.js} +1 -1
  8. package/lib/assets/modules/{upload-template-CaeUt6VI.js → upload-template-KI-IFzyp.js} +376 -359
  9. package/lib/assets/modules/{uploadList-D0jw6jNr.js → uploadList-DnFXg_B3.js} +4 -4
  10. package/lib/es/AceEditor/index.js +3 -3
  11. package/lib/es/BasicLayout/index.js +6 -6
  12. package/lib/es/Error403/index.js +1 -1
  13. package/lib/es/Error404/index.js +1 -1
  14. package/lib/es/ExcelForm/index.js +5 -5
  15. package/lib/es/MenuLayout/index.js +8 -8
  16. package/lib/es/TemplateFile/index.js +5 -5
  17. package/lib/es/UploadForm/index.js +4 -4
  18. package/lib/utils/export-table.d.ts +6 -1
  19. package/lib/utils/form-validate.d.ts +2 -1
  20. package/lib/webui.css +1 -1
  21. package/lib/webui.es.js +930 -918
  22. package/package.json +1 -1
  23. package/src/components/content/form/formItem.vue +2 -16
  24. package/src/components/content/search/searchItem.vue +32 -8
  25. package/src/components/content/table/index.vue +1 -1
  26. package/src/components/form/autoComplete/index.vue +5 -1
  27. package/src/components/form/cascader/index.vue +8 -10
  28. package/src/components/form/checkbox/index.vue +8 -11
  29. package/src/components/form/radio/index.vue +9 -14
  30. package/src/components/form/select/index.vue +4 -1
  31. package/src/components/form/treeSelect/index.vue +5 -1
  32. package/src/utils/export-table.ts +15 -5
  33. package/src/utils/form-validate.ts +20 -1
@@ -1,15 +1,15 @@
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-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";
3
+ import { a as b } from "./toolIcon-BnkqBipR.js";
4
+ import { I as C, _ as S, f as w, d as $, g as N } from "./menuTabs-CqAhoF--.js";
5
+ import { ah as v, a as B, aj as E } from "./upload-template-KI-IFzyp.js";
6
6
  import "@skyfox2000/microbase";
7
7
  import "@skyfox2000/fapi";
8
8
  import L from "vue-m-message";
9
9
  import "async-validator";
10
10
  import "dayjs";
11
11
  import "vue-draggable-next";
12
- const V = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-nowrap items-center justify-center text-white font-bold text-lg overflow-hidden text-ellipsis" }, z = {
12
+ const V = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-nowrap items-center justify-center text-white font-bold text-lg overflow-hidden text-ellipsis" }, j = {
13
13
  key: 0,
14
14
  class: "ml-[10px]"
15
15
  }, H = /* @__PURE__ */ _({
@@ -53,7 +53,7 @@ const V = { class: "h-[40px] max-h-[40px] bg-[rgba(240,240,240,0.2)] flex flex-n
53
53
  }),
54
54
  _: 1
55
55
  }, 8, ["title"]),
56
- e(t).menuCollapse ? r("", !0) : (o(), y("span", z, g(e(a).appInfo.Name), 1))
56
+ e(t).menuCollapse ? r("", !0) : (o(), y("span", j, g(e(a).appInfo.Name), 1))
57
57
  ]),
58
58
  p(w, {
59
59
  routes: f.routes
@@ -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-CaeUt6VI.js";
7
+ import { ae as b, u as g } from "./upload-template-KI-IFzyp.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,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-BOOirPG2.js";
2
+ import { _ as m } from "./index-D14BsF7C.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-CaeUt6VI.js";
5
+ import { P as E, d as M, o as P, b as K } from "./upload-template-KI-IFzyp.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 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-DXQt60Ya.js";
3
+ import { a as P, _ as k } from "./toolIcon-BnkqBipR.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-CaeUt6VI.js";
3
+ import { i as T, am as U, L as $, u as z } from "./upload-template-KI-IFzyp.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-DXQt60Ya.js";
7
+ import { _ as W } from "./toolIcon-BnkqBipR.js";
8
8
  const D = (i) => {
9
9
  const e = i.split(`
10
10
  `).filter((l) => l.trim() !== "");
@@ -1,6 +1,6 @@
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-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";
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 Y, nextTick as q, renderList as J, withModifiers as X } from "vue";
2
+ import { a as w, _ as b } from "./toolIcon-BnkqBipR.js";
3
+ import { c as L, V as E, aj as P, Y as M, X as U, u as D, ae as G, a as F, W as Q, r as V, ah as z } from "./upload-template-KI-IFzyp.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";
@@ -562,7 +562,7 @@ const re = /* @__PURE__ */ x({
562
562
  routes: {}
563
563
  },
564
564
  setup(c) {
565
- const s = c, i = y([]), e = y([]), r = q([]), a = P(), n = (_) => {
565
+ const s = c, i = y([]), e = y([]), r = Y([]), a = P(), n = (_) => {
566
566
  z().push(_.key.toString());
567
567
  }, f = F(), p = y([]), S = () => {
568
568
  let _ = a.TabActive;
@@ -572,7 +572,7 @@ const re = /* @__PURE__ */ x({
572
572
  return k(
573
573
  () => f.menuCollapse,
574
574
  (_) => {
575
- _ || (p.value = [], J(() => {
575
+ _ || (p.value = [], q(() => {
576
576
  p.value = [...i.value];
577
577
  }));
578
578
  }
@@ -620,7 +620,7 @@ const re = /* @__PURE__ */ x({
620
620
  onTabClick: r
621
621
  }, {
622
622
  default: d(() => [
623
- (u(!0), g(R, null, X(t(e).TabPanes, (p) => (u(), h(t(ae), {
623
+ (u(!0), g(R, null, J(t(e).TabPanes, (p) => (u(), h(t(ae), {
624
624
  key: p.key
625
625
  }, {
626
626
  tab: d(() => [
@@ -635,7 +635,7 @@ const re = /* @__PURE__ */ x({
635
635
  t(e).TabPanes.length > 1 && p.closable ? (u(), g("div", {
636
636
  key: 0,
637
637
  class: "inline-block mx-auto relative flex items-center",
638
- onClick: Y((S) => a(p.key), ["stop"])
638
+ onClick: X((S) => a(p.key), ["stop"])
639
639
  }, [
640
640
  l(t(b), {
641
641
  icon: "icon-new",
@@ -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-CaeUt6VI.js";
4
+ import { c as S } from "./upload-template-KI-IFzyp.js";
5
5
  const T = /* @__PURE__ */ i({
6
6
  __name: "index",
7
7
  props: {