@skyfox2000/webui 1.5.19 → 1.5.21

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 (30) hide show
  1. package/lib/assets/modules/{baseLayout-C2eVaICU.js → baseLayout-D1c-i5Jy.js} +3 -3
  2. package/lib/assets/modules/{file-upload-DKfepJc0.js → file-upload-D0PzDzw5.js} +1 -1
  3. package/lib/assets/modules/{index-BfFTvw-P.js → index-2FnjnZKE.js} +2 -2
  4. package/lib/assets/modules/{index-dujtLGLv.js → index-Br13CsSY.js} +2 -2
  5. package/lib/assets/modules/{index-DhEta5S0.js → index-xBhZt3kd.js} +1 -1
  6. package/lib/assets/modules/{menuTabs-DIPunhVY.js → menuTabs-DGBmIq_G.js} +2 -2
  7. package/lib/assets/modules/{toolIcon-EGPOu4oM.js → toolIcon-CQYHaCan.js} +1 -1
  8. package/lib/assets/modules/{upload-template-C03Q2sD8.js → upload-template-DBTaPGiN.js} +192 -188
  9. package/lib/assets/modules/{uploadList-Bekzvpj_.js → uploadList-2nN7g3jv.js} +4 -4
  10. package/lib/components/form/autoComplete/index.vue.d.ts +3 -0
  11. package/lib/components/form/cascader/index.vue.d.ts +5 -1
  12. package/lib/components/form/checkbox/index.vue.d.ts +3 -0
  13. package/lib/components/form/radio/index.vue.d.ts +3 -0
  14. package/lib/components/form/select/index.vue.d.ts +3 -0
  15. package/lib/components/form/switch/index.vue.d.ts +3 -0
  16. package/lib/es/AceEditor/index.js +3 -3
  17. package/lib/es/BasicLayout/index.js +2 -2
  18. package/lib/es/Error403/index.js +1 -1
  19. package/lib/es/Error404/index.js +1 -1
  20. package/lib/es/ExcelForm/index.js +4 -4
  21. package/lib/es/MenuLayout/index.js +2 -2
  22. package/lib/es/TemplateFile/index.js +4 -4
  23. package/lib/es/UploadForm/index.js +4 -4
  24. package/lib/locales/default.d.ts +1 -0
  25. package/lib/typings/option.d.ts +1 -0
  26. package/lib/webui.es.js +13 -13
  27. package/package.json +1 -1
  28. package/src/locales/default.ts +2 -1
  29. package/src/typings/option.d.ts +1 -0
  30. package/src/utils/table.ts +2 -0
@@ -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-DhEta5S0.js";
3
- import { a as B, _ as K } from "./toolIcon-EGPOu4oM.js";
2
+ import { _ as H } from "./index-xBhZt3kd.js";
3
+ import { a as B, _ as K } from "./toolIcon-CQYHaCan.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-C03Q2sD8.js";
5
+ import { L as X, u as Y, $ as a, v as fe, _ as he } from "./upload-template-DBTaPGiN.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-DKfepJc0.js";
8
+ import { U as r, f as be, p as W } from "./file-upload-D0PzDzw5.js";
9
9
  import { combineParams as Z } from "@skyfox2000/microbase";
10
10
  import "async-validator";
11
11
  import "dayjs";
@@ -14,6 +14,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
14
14
  autoload: {
15
15
  type: PropType<boolean>;
16
16
  required: boolean;
17
+ default: undefined;
17
18
  };
18
19
  url: {
19
20
  type: PropType< IUrlInfo>;
@@ -64,6 +65,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
64
65
  autoload: {
65
66
  type: PropType<boolean>;
66
67
  required: boolean;
68
+ default: undefined;
67
69
  };
68
70
  url: {
69
71
  type: PropType< IUrlInfo>;
@@ -104,6 +106,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
104
106
  "onUpdate:labels"?: ((...args: any[]) => any) | undefined;
105
107
  }>, {
106
108
  value: string | number | string[] | null;
109
+ autoload: boolean;
107
110
  autoClean: boolean;
108
111
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
109
112
  export default _default;
@@ -6,6 +6,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
6
6
  autoload: {
7
7
  type: PropType<boolean>;
8
8
  required: boolean;
9
+ default: undefined;
9
10
  };
10
11
  url: {
11
12
  type: PropType<IUrlInfo>;
@@ -47,6 +48,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
47
48
  autoload: {
48
49
  type: PropType<boolean>;
49
50
  required: boolean;
51
+ default: undefined;
50
52
  };
51
53
  url: {
52
54
  type: PropType<IUrlInfo>;
@@ -84,5 +86,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
84
86
  onChange?: ((...args: any[]) => any) | undefined;
85
87
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
86
88
  "onUpdate:labels"?: ((...args: any[]) => any) | undefined;
87
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
89
+ }>, {
90
+ autoload: boolean;
91
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
88
92
  export default _default;
@@ -16,6 +16,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
16
16
  autoload: {
17
17
  type: PropType<boolean>;
18
18
  required: boolean;
19
+ default: undefined;
19
20
  };
20
21
  url: {
21
22
  type: PropType<IUrlInfo>;
@@ -66,6 +67,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
66
67
  autoload: {
67
68
  type: PropType<boolean>;
68
69
  required: boolean;
70
+ default: undefined;
69
71
  };
70
72
  url: {
71
73
  type: PropType<IUrlInfo>;
@@ -103,6 +105,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
103
105
  onChange?: ((...args: any[]) => any) | undefined;
104
106
  "onUpdate:labels"?: ((...args: any[]) => any) | undefined;
105
107
  }>, {
108
+ autoload: boolean;
106
109
  nodata: string;
107
110
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
108
111
  export default _default;
@@ -17,6 +17,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
17
17
  autoload: {
18
18
  type: PropType<boolean>;
19
19
  required: boolean;
20
+ default: undefined;
20
21
  };
21
22
  url: {
22
23
  type: PropType<IUrlInfo>;
@@ -69,6 +70,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
69
70
  autoload: {
70
71
  type: PropType<boolean>;
71
72
  required: boolean;
73
+ default: undefined;
72
74
  };
73
75
  url: {
74
76
  type: PropType<IUrlInfo>;
@@ -108,6 +110,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
108
110
  "onUpdate:labels"?: ((...args: any[]) => any) | undefined;
109
111
  }>, {
110
112
  value: string | number | unknown[] | null;
113
+ autoload: boolean;
111
114
  nodata: string;
112
115
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
113
116
  export default _default;
@@ -23,6 +23,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
23
23
  autoload: {
24
24
  type: PropType<boolean>;
25
25
  required: boolean;
26
+ default: undefined;
26
27
  };
27
28
  url: {
28
29
  type: PropType<IUrlInfo>;
@@ -81,6 +82,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
81
82
  autoload: {
82
83
  type: PropType<boolean>;
83
84
  required: boolean;
85
+ default: undefined;
84
86
  };
85
87
  url: {
86
88
  type: PropType<IUrlInfo>;
@@ -121,6 +123,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
121
123
  "onUpdate:label"?: ((...args: any[]) => any) | undefined;
122
124
  }>, {
123
125
  value: SelectValueType;
126
+ autoload: boolean;
124
127
  undefValue: boolean;
125
128
  selectFirst: boolean;
126
129
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -14,6 +14,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
14
14
  autoload: {
15
15
  type: PropType<boolean>;
16
16
  required: boolean;
17
+ default: undefined;
17
18
  };
18
19
  url: {
19
20
  type: PropType< IUrlInfo>;
@@ -57,6 +58,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
57
58
  autoload: {
58
59
  type: PropType<boolean>;
59
60
  required: boolean;
61
+ default: undefined;
60
62
  };
61
63
  url: {
62
64
  type: PropType< IUrlInfo>;
@@ -90,5 +92,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
90
92
  onChange?: ((checked: string | number | boolean) => any) | undefined;
91
93
  }>, {
92
94
  size: "small" | "default" | undefined;
95
+ autoload: boolean;
93
96
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
94
97
  export default _default;
@@ -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-EGPOu4oM.js";
3
+ import { _ as D } from "../../assets/modules/toolIcon-CQYHaCan.js";
4
4
  import "@skyfox2000/fapi";
5
- import { $ as b } from "../../assets/modules/upload-template-C03Q2sD8.js";
5
+ import { $ as b } from "../../assets/modules/upload-template-DBTaPGiN.js";
6
6
  import "vue-m-message";
7
- import { _ as Q } from "../../assets/modules/index-dujtLGLv.js";
7
+ import { _ as Q } from "../../assets/modules/index-Br13CsSY.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-C2eVaICU.js";
3
- import { al as A, a as S } from "../../assets/modules/upload-template-C03Q2sD8.js";
2
+ import { _ as g } from "../../assets/modules/baseLayout-D1c-i5Jy.js";
3
+ import { al as A, a as S } from "../../assets/modules/upload-template-DBTaPGiN.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-C03Q2sD8.js";
2
+ import { r as s } from "../../assets/modules/upload-template-DBTaPGiN.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-C03Q2sD8.js";
2
+ import { r as u } from "../../assets/modules/upload-template-DBTaPGiN.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-DhEta5S0.js";
2
+ import { _ as Y } from "../../assets/modules/index-xBhZt3kd.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-C03Q2sD8.js";
5
+ import { $ as a, H as Ee, a8 as Te, af as Re } from "../../assets/modules/upload-template-DBTaPGiN.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-BfFTvw-P.js";
8
- import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-DKfepJc0.js";
7
+ import { c as pe, _ as Z, h as Se, p as De, i as ke } from "../../assets/modules/index-2FnjnZKE.js";
8
+ import { A as Pe, p as Le, U as ue } from "../../assets/modules/file-upload-D0PzDzw5.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-C2eVaICU.js";
3
- import { al as A, a as S } from "../../assets/modules/upload-template-C03Q2sD8.js";
2
+ import { _ as y } from "../../assets/modules/baseLayout-D1c-i5Jy.js";
3
+ import { al as A, a as S } from "../../assets/modules/upload-template-DBTaPGiN.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-DhEta5S0.js";
2
+ import { _ as g } from "../../assets/modules/index-xBhZt3kd.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-C03Q2sD8.js";
5
+ import { ao as n, $ as w } from "../../assets/modules/upload-template-DBTaPGiN.js";
6
6
  import "vue-m-message";
7
- import { U as M } from "../../assets/modules/file-upload-DKfepJc0.js";
7
+ import { U as M } from "../../assets/modules/file-upload-D0PzDzw5.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-Bekzvpj_.js";
12
+ import { U as $ } from "../../assets/modules/uploadList-2nN7g3jv.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-DhEta5S0.js";
2
+ import { _ as g } from "../../assets/modules/index-xBhZt3kd.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-C03Q2sD8.js";
5
+ import { $ as v, ab as $ } from "../../assets/modules/upload-template-DBTaPGiN.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-DKfepJc0.js";
10
+ import { A as E } from "../../assets/modules/file-upload-D0PzDzw5.js";
11
11
  import "vue-draggable-next";
12
- import { U as B } from "../../assets/modules/uploadList-Bekzvpj_.js";
12
+ import { U as B } from "../../assets/modules/uploadList-2nN7g3jv.js";
13
13
  const W = /* @__PURE__ */ F({
14
14
  __name: "uploadForm",
15
15
  props: {
@@ -37,6 +37,7 @@ export declare const defaultLocale: {
37
37
  more: string;
38
38
  moreActions: string;
39
39
  uploadSave: string;
40
+ dataLoading: string;
40
41
  };
41
42
  components: {
42
43
  common: {
@@ -73,6 +73,7 @@ export const OptionCommProps = {
73
73
  autoload: {
74
74
  type: Boolean as PropType<boolean>,
75
75
  required: false,
76
+ default: undefined,
76
77
  },
77
78
  /**
78
79
  * 选项数据接口
package/lib/webui.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { u as Be, i as ve, $ as y, a as Ae, 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 ze, 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-C03Q2sD8.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-C03Q2sD8.js";
3
- import { f as Yt, p as Ve } from "./assets/modules/file-upload-DKfepJc0.js";
4
- import { A as Ro, U as Bo } from "./assets/modules/file-upload-DKfepJc0.js";
1
+ import { u as Be, i as ve, $ as y, a as Ae, 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 ze, 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-DBTaPGiN.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-DBTaPGiN.js";
3
+ import { f as Yt, p as Ve } from "./assets/modules/file-upload-D0PzDzw5.js";
4
+ import { A as Ro, U as Bo } from "./assets/modules/file-upload-D0PzDzw5.js";
5
5
  import { EnvConfig as Ye, isMicroApp as Gt } from "@skyfox2000/microbase";
6
6
  import { FrontCache as he, httpPost as Oe, ResStatus as Ke, 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 Ne 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 Re, 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-Bekzvpj_.js";
14
- import { C as zo, U as Oo, a as Ko, p as jo } from "./assets/modules/uploadList-Bekzvpj_.js";
15
- import { c as gt } from "./assets/modules/index-BfFTvw-P.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-BfFTvw-P.js";
17
- import { _ as ee } from "./assets/modules/index-DhEta5S0.js";
18
- import { _ as Y } from "./assets/modules/toolIcon-EGPOu4oM.js";
19
- import { a as rs } from "./assets/modules/toolIcon-EGPOu4oM.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-DIPunhVY.js";
21
- import { _ as gs } from "./assets/modules/index-dujtLGLv.js";
13
+ import { d as ba } from "./assets/modules/uploadList-2nN7g3jv.js";
14
+ import { C as zo, U as Oo, a as Ko, p as jo } from "./assets/modules/uploadList-2nN7g3jv.js";
15
+ import { c as gt } from "./assets/modules/index-2FnjnZKE.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-2FnjnZKE.js";
17
+ import { _ as ee } from "./assets/modules/index-xBhZt3kd.js";
18
+ import { _ as Y } from "./assets/modules/toolIcon-CQYHaCan.js";
19
+ import { a as rs } from "./assets/modules/toolIcon-CQYHaCan.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-DGBmIq_G.js";
21
+ import { _ as gs } from "./assets/modules/index-Br13CsSY.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.19",
3
+ "version": "1.5.21",
4
4
  "description": "后台前端通用组件定义, 支持国际化",
5
5
  "type": "module",
6
6
  "keywords": [],
@@ -38,7 +38,8 @@ export const defaultLocale = {
38
38
  "reset": "重置",
39
39
  "more": "更多",
40
40
  "moreActions": "更多操作",
41
- "uploadSave": "上传保存"
41
+ "uploadSave": "上传保存",
42
+ "dataLoading": "数据加载中..."
42
43
  },
43
44
 
44
45
  // 组件相关
@@ -76,6 +76,7 @@ export const OptionCommProps = {
76
76
  autoload: {
77
77
  type: Boolean as PropType<boolean>,
78
78
  required: false,
79
+ default: undefined,
79
80
  },
80
81
  /**
81
82
  * 选项数据接口
@@ -7,6 +7,7 @@ import { setFormData } from './form';
7
7
  import { useUserInfo } from '@/stores/userInfo';
8
8
  import AppRouter from '@/router';
9
9
  import { combineParams } from '@skyfox2000/microbase';
10
+ import { $t } from '@/locales';
10
11
 
11
12
  interface TableColumn {
12
13
  role?: string;
@@ -116,6 +117,7 @@ export const gridQueryFind = <T>(gridCtrl: GridControl<T>): Promise<FindResult>
116
117
  url: gridCtrl.gridUrl,
117
118
  params: gridCtrl.gridQuery,
118
119
  loadingState: gridCtrl.isGridLoading,
120
+ loadingText: gridCtrl.gridUrl?.loadingText === false ? false : (gridCtrl.gridUrl?.loadingText || $t('webui.common.dataLoading')),
119
121
  processParams: (params) => {
120
122
  // 处理分页参数
121
123
  if (gridCtrl.remotePage) {