asiaint-lowcode 3.1.68 → 3.1.70

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 (44) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +186 -184
  4. package/dist/index.d.ts +3 -0
  5. package/dist/lazy/{Card-R4e3C8FT.js → Card-CsyOMym1.js} +2 -2
  6. package/dist/lazy/{Cascader-Zlhwx0l5.js → Cascader-B4hAhDgE.js} +1 -1
  7. package/dist/lazy/{Checkbox-wh18OtPx.js → Checkbox-BFJ5LePR.js} +2 -2
  8. package/dist/lazy/{Collapse-eDPCp0m9.js → Collapse-C_4KYRbX.js} +1 -1
  9. package/dist/lazy/{Component-Dgl1WEdj.js → Component-BivW5egv.js} +2 -2
  10. package/dist/lazy/{Component-JpXBf-_f.js → Component-Cwo8jj-S.js} +1 -1
  11. package/dist/lazy/{Component-_e7q0Rzm.js → Component-CyMAtvdX.js} +2 -2
  12. package/dist/lazy/{Component-C2ptXNIQ.js → Component-DEmQ4V67.js} +2 -2
  13. package/dist/lazy/{Component-CnyNt2Pa.js → Component-DyJy9PYh.js} +1 -1
  14. package/dist/lazy/Component-Dyinr6lK.js +161 -0
  15. package/dist/lazy/{CurdCard-DDWao7oz.js → CurdCard-B7Ia_jHc.js} +9 -9
  16. package/dist/lazy/Custom-JI8V09YD.js +26 -0
  17. package/dist/lazy/{DatePicker-DghT_855.js → DatePicker-DQuUQhWb.js} +1 -1
  18. package/dist/lazy/{DragList-3-9gJZDO.js → DragList-CuAfRFuQ.js} +13 -13
  19. package/dist/lazy/{FilterSearch-FEkcf-Je.js → FilterSearch-BpJfBhcE.js} +8 -8
  20. package/dist/lazy/{FloatCurd-BUeuA0lu.js → FloatCurd-DUMejxJa.js} +9 -9
  21. package/dist/lazy/{FormList-CbBTtEpF.js → FormList-xsBrCvvu.js} +1 -1
  22. package/dist/lazy/{Grid-ButGfMdO.js → Grid-D0Zv5iSy.js} +1 -1
  23. package/dist/lazy/{InfiniteScroll-Bi2Jn1fC.js → InfiniteScroll-GrqKUWNg.js} +4 -4
  24. package/dist/lazy/{Inline-B1RWfBfA.js → Inline-BZ8e83jr.js} +3 -3
  25. package/dist/lazy/{JsonEdit-DVMkRtAP.js → JsonEdit-CchewQwM.js} +3 -3
  26. package/dist/lazy/{LogList-CyFPIR5n.js → LogList-Ca-6Espa.js} +7 -7
  27. package/dist/lazy/{ObjGroup-lCntScQh.js → ObjGroup-5XPHM88s.js} +1 -1
  28. package/dist/lazy/{OfferDetails-BBvBtBnw.js → OfferDetails-CWg-EuM3.js} +2 -2
  29. package/dist/lazy/{Pagination--UJCHkKJ.js → Pagination-DdfH9_ex.js} +4 -4
  30. package/dist/lazy/{Progress-Cwa0p6tC.js → Progress-CEooFhH4.js} +15 -15
  31. package/dist/lazy/{Radio-BP6nhgqx.js → Radio-Dy59Ycsh.js} +3 -3
  32. package/dist/lazy/{SearchSelect-DXAJFf3L.js → SearchSelect-Xx2SkrOz.js} +6 -6
  33. package/dist/lazy/{Select-DP4ugBWM.js → Select-DdZQPpZZ.js} +2 -2
  34. package/dist/lazy/{Table-ck9TGmjO.js → Table-DECbm9ro.js} +85 -84
  35. package/dist/lazy/{Tabs-C4E8-QKf.js → Tabs-7oQ7y-T2.js} +11 -11
  36. package/dist/lazy/{TextArea-CZg61uOa.js → TextArea-CtwrVwIU.js} +2 -2
  37. package/dist/lazy/{Wrapper-gXzldVgu.js → Wrapper-C8-YPMBw.js} +2 -2
  38. package/dist/lazy/{index-exNcHe5D.js → index-BOlX4x7v.js} +2195 -2183
  39. package/dist/lazy/{useSelect-DJch6zjn.js → useSelect-CrlW7Igo.js} +1 -1
  40. package/dist/style.css +2 -2
  41. package/global.d.ts +10 -10
  42. package/package.json +36 -36
  43. package/dist/lazy/Component-BTOwunWX.js +0 -143
  44. package/dist/lazy/Custom-OYLLyH2T.js +0 -26
package/dist/index.d.ts CHANGED
@@ -325,6 +325,7 @@ export default _default;
325
325
 
326
326
  declare const _default_10: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<{
327
327
  onNodeClick?: string;
328
+ onNodeDbClick?: string;
328
329
  onCheckChange?: string;
329
330
  onLoad?: string;
330
331
  btns: BtnType[];
@@ -338,6 +339,7 @@ getCheckedNodes: () => any;
338
339
  type: "tree";
339
340
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_5<{
340
341
  onNodeClick?: string;
342
+ onNodeDbClick?: string;
341
343
  onCheckChange?: string;
342
344
  onLoad?: string;
343
345
  btns: BtnType[];
@@ -1455,6 +1457,7 @@ setData: (data: any[] | null) => void;
1455
1457
  selectRow: (row?: Record<string, any>) => void;
1456
1458
  selectRowNum: (num: number) => void;
1457
1459
  setTotal: (val: number) => void;
1460
+ getTotal: () => number;
1458
1461
  getPagination: () => {
1459
1462
  pageNum: number;
1460
1463
  pageSize: number;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as F, ref as S, inject as C, resolveComponent as p, openBlock as o, createBlock as d, mergeProps as $, withCtx as c, createElementVNode as r, normalizeClass as u, createElementBlock as s, createVNode as a, unref as m, createCommentVNode as t, toDisplayString as b, Fragment as h, renderList as y, withDirectives as M, vShow as E } from "vue";
2
- import { a as P, I as v, b as _, B as V, _ as D } from "./index-exNcHe5D.js";
2
+ import { a as P, I as v, b as _, B as V, _ as D } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const N = {
5
5
  key: 3,
@@ -124,7 +124,7 @@ funcName: ${e}`);
124
124
  }, 16, ["class"]));
125
125
  };
126
126
  }
127
- }), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-804c7a5d"]]);
127
+ }), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-3bc7ce9f"]]);
128
128
  export {
129
129
  G as default
130
130
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as f, mergeModels as g, useModel as h, inject as r, resolveComponent as C, openBlock as v, createBlock as y, mergeProps as M, unref as d } from "vue";
2
2
  import "element-plus";
3
- import { u as b } from "./useSelect-DJch6zjn.js";
3
+ import { u as b } from "./useSelect-CrlW7Igo.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as F, mergeModels as D, useModel as I, watch as O, resolveComponent as u, resolveDirective as P, unref as a, openBlock as l, createElementBlock as p, toDisplayString as S, withDirectives as $, createBlock as s, mergeProps as j, withCtx as h, Fragment as f, renderList as v, createCommentVNode as g } from "vue";
2
2
  import "element-plus";
3
- import { u as E, c as L } from "./index-exNcHe5D.js";
4
- import { u as N } from "./useSelect-DJch6zjn.js";
3
+ import { u as E, c as L } from "./index-BOlX4x7v.js";
4
+ import { u as N } from "./useSelect-CrlW7Igo.js";
5
5
  const R = { key: 0 }, H = /* @__PURE__ */ F({
6
6
  __name: "Checkbox",
7
7
  props: /* @__PURE__ */ D({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
2
- import { b as y } from "./index-exNcHe5D.js";
2
+ import { b as y } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
5
5
  const b = /* @__PURE__ */ u({
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
2
2
  var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
5
- import { u as x, _ as S } from "./index-exNcHe5D.js";
5
+ import { u as x, _ as S } from "./index-BOlX4x7v.js";
6
6
  import "element-plus";
7
7
  function b() {
8
8
  return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");
@@ -111,7 +111,7 @@ const P = { class: "vfc-verify-code" }, k = /* @__PURE__ */ g({
111
111
  ]);
112
112
  };
113
113
  }
114
- }), T = /* @__PURE__ */ S(k, [["__scopeId", "data-v-eda48825"]]);
114
+ }), T = /* @__PURE__ */ S(k, [["__scopeId", "data-v-f5206e68"]]);
115
115
  export {
116
116
  T as default
117
117
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
2
- import { u as V } from "./index-exNcHe5D.js";
2
+ import { u as V } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as V, mergeModels as _, useModel as $, ref as E, resolveComponent as C, openBlock as o, createElementBlock as n, Fragment as d, createVNode as c, normalizeClass as I, createSlots as L, withCtx as f, createTextVNode as y, createElementVNode as i, createBlock as g, toDisplayString as u, createCommentVNode as p, unref as N, renderList as O } from "vue";
2
2
  import { genFileId as R, ElMessage as z, ElMessageBox as j } from "element-plus";
3
- import { c as P, I as h, a as q, _ as A } from "./index-exNcHe5D.js";
3
+ import { c as P, I as h, a as q, _ as A } from "./index-BOlX4x7v.js";
4
4
  const G = {
5
5
  key: 0,
6
6
  class: "smallDragStyle-text"
@@ -158,7 +158,7 @@ const G = {
158
158
  ], 64);
159
159
  };
160
160
  }
161
- }), ee = /* @__PURE__ */ A(W, [["__scopeId", "data-v-2249ee01"]]);
161
+ }), ee = /* @__PURE__ */ A(W, [["__scopeId", "data-v-0576569b"]]);
162
162
  export {
163
163
  ee as default
164
164
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
2
- import { _ as H, u as K, d as Q } from "./index-exNcHe5D.js";
2
+ import { _ as H, u as K, d as Q } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const Z = $({
5
5
  props: {
@@ -172,7 +172,7 @@ function j(a, n, c, d, t, g) {
172
172
  onTouchend: n[5] || (n[5] = (...o) => a.touchEnd && a.touchEnd(...o))
173
173
  }, null, 544);
174
174
  }
175
- const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-5f3bfcf7"]]), ee = { key: 0 }, te = { class: "vfc-esign-preview" }, le = ["src"], ae = {
175
+ const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-0e272b28"]]), ee = { key: 0 }, te = { class: "vfc-esign-preview" }, le = ["src"], ae = {
176
176
  key: 1,
177
177
  class: "vfc-esign"
178
178
  }, ie = /* @__PURE__ */ $({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, mergeModels as d, useModel as i, computed as c, resolveComponent as f, openBlock as t, createElementBlock as y, toDisplayString as v, createBlock as k, mergeProps as V } from "vue";
2
- import { u as _ } from "./index-exNcHe5D.js";
2
+ import { u as _ } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const B = { key: 0 }, g = /* @__PURE__ */ p({
5
5
  __name: "Component",
@@ -0,0 +1,161 @@
1
+ import { defineComponent as S, inject as D, ref as K, watch as V, useTemplateRef as j, readonly as x, onUnmounted as F, resolveComponent as f, openBlock as s, createBlock as h, mergeProps as z, withCtx as N, createElementVNode as y, normalizeClass as $, toDisplayString as U, createElementBlock as _, createCommentVNode as v, Fragment as L, renderList as q, unref as G, withModifiers as H, createVNode as J } from "vue";
2
+ import { j as O, h as Q, I as W, _ as X } from "./index-BOlX4x7v.js";
3
+ import "element-plus";
4
+ const Y = { class: "tree-node-text" }, Z = ["title"], ee = {
5
+ key: 0,
6
+ class: "tree-node-present"
7
+ }, oe = /* @__PURE__ */ S({
8
+ __name: "Component",
9
+ props: {
10
+ onNodeClick: {},
11
+ onNodeDbClick: {},
12
+ onCheckChange: {},
13
+ onLoad: {},
14
+ btns: {},
15
+ data: {},
16
+ props: {},
17
+ nodeKey: {},
18
+ styleType: {},
19
+ name: {}
20
+ },
21
+ setup(M, { expose: I }) {
22
+ const o = M, r = D("ruleModule", void 0), p = D("pageMethodMap", {}), m = K(), R = (e, t) => {
23
+ m.value = e[o.nodeKey];
24
+ }, w = (e, t, n) => {
25
+ if (e && r)
26
+ try {
27
+ r[e](p, { node: t, data: n });
28
+ } catch (d) {
29
+ console.error(d + `
30
+ onNodeClick: ${o.onNodeClick}`);
31
+ }
32
+ };
33
+ let a = null, c = null, k = 0;
34
+ function A(e, t) {
35
+ console.log("nodeClick", e, t);
36
+ const n = Date.now(), d = e.id, C = c == null ? void 0 : c.id;
37
+ d === C && n - k < 300 ? (a && (clearTimeout(a), a = null), E(e, t), c = null, k = 0) : (a && clearTimeout(a), c = e, k = n, a = setTimeout(() => {
38
+ B(e, t), a = null, c = null, k = 0;
39
+ }, 300));
40
+ }
41
+ const B = (e, t) => {
42
+ if (o.onNodeClick && r)
43
+ try {
44
+ r[o.onNodeClick](p, { node: e, data: t });
45
+ } catch (n) {
46
+ console.error(n + `
47
+ onNodeClick: ${o.onNodeClick}`);
48
+ }
49
+ }, E = (e, t) => {
50
+ if (o.onNodeDbClick && r)
51
+ try {
52
+ r[o.onNodeDbClick](p, { node: e, data: t });
53
+ } catch (n) {
54
+ console.error(n + `
55
+ onNodeDbClick: ${o.onNodeDbClick}`);
56
+ }
57
+ }, P = (e, t, n) => {
58
+ if (o.onLoad && r)
59
+ try {
60
+ r[o.onLoad](p, { node: e, resolve: t, reject: n });
61
+ } catch (d) {
62
+ console.error(d + `
63
+ onLoad: ${o.onLoad}`);
64
+ }
65
+ }, g = K([]);
66
+ V(
67
+ //默认展开根节点
68
+ () => o.data,
69
+ () => {
70
+ if (!o.data || !Array.isArray(o.data) || o.data.length === 0)
71
+ return;
72
+ const t = [o.data[0][o.nodeKey]];
73
+ g.value = t;
74
+ },
75
+ {
76
+ immediate: !0
77
+ }
78
+ );
79
+ const b = j("treeRef"), T = x({
80
+ getCheckedNodes: () => {
81
+ var e;
82
+ return (e = b.value) == null ? void 0 : e.getCheckedNodes();
83
+ },
84
+ type: "tree"
85
+ });
86
+ if (o.name) {
87
+ const e = O(o.name, T);
88
+ F(() => {
89
+ e();
90
+ });
91
+ }
92
+ return I(T), (e, t) => {
93
+ const n = f("el-tooltip"), d = f("el-button"), C = f("el-tree");
94
+ return s(), h(C, z(e.$attrs, {
95
+ onNodeClick: A,
96
+ load: P,
97
+ ref_key: "treeRef",
98
+ ref: b,
99
+ class: ["crm-tree", { "modal-tree": e.styleType === "modal" }],
100
+ indent: 32,
101
+ "current-node-key": m.value,
102
+ onCurrentChange: R,
103
+ "node-key": e.nodeKey,
104
+ props: o.props,
105
+ data: e.data,
106
+ "default-expanded-keys": g.value
107
+ }), {
108
+ default: N(({ node: i, data: u }) => [
109
+ y("div", {
110
+ class: $(["custom-tree-node", { "modal-tree-node": e.styleType === "modal" }])
111
+ }, [
112
+ y("div", Y, [
113
+ y("span", {
114
+ class: $(["tree-node-label", { active: u[e.nodeKey] === m.value && e.styleType === "modal" }]),
115
+ title: i.label
116
+ }, U(i.label), 11, Z),
117
+ u[e.nodeKey] === m.value ? (s(), _("div", ee, "Present")) : v("", !0)
118
+ ]),
119
+ y("div", null, [
120
+ (s(!0), _(L, null, q(e.btns, (l) => (s(), _(L, {
121
+ key: l.key
122
+ }, [
123
+ G(Q)(l.hidden, { $node: i, $data: u }) ? v("", !0) : (s(), h(d, {
124
+ key: 0,
125
+ link: "",
126
+ onClick: H((ne) => w(l.onClick || "", i, u), ["stop"]),
127
+ disabled: l.disabled,
128
+ type: l.type
129
+ }, {
130
+ default: N(() => [
131
+ J(n, {
132
+ class: "box-item",
133
+ effect: "dark",
134
+ content: l.text,
135
+ placement: "top"
136
+ }, {
137
+ default: N(() => [
138
+ l.icon ? (s(), h(W, {
139
+ key: 0,
140
+ name: l.icon.name,
141
+ color: l.icon.color,
142
+ class: "btn-icon"
143
+ }, null, 8, ["name", "color"])) : v("", !0)
144
+ ]),
145
+ _: 2
146
+ }, 1032, ["content"])
147
+ ]),
148
+ _: 2
149
+ }, 1032, ["onClick", "disabled", "type"]))
150
+ ], 64))), 128))
151
+ ])
152
+ ], 2)
153
+ ]),
154
+ _: 1
155
+ }, 16, ["class", "current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
156
+ };
157
+ }
158
+ }), de = /* @__PURE__ */ X(oe, [["__scopeId", "data-v-fd507f5a"]]);
159
+ export {
160
+ de as default
161
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as U, inject as $, ref as k, watch as A, resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as m, normalizeStyle as O, createElementVNode as c, createBlock as p, createCommentVNode as u, toDisplayString as M, withCtx as v, Fragment as B, renderList as R, createTextVNode as q, createVNode as r, withKeys as G, unref as I, withDirectives as H, vShow as J } from "vue";
2
- import { u as Q, I as h, b as V, B as W, i as X, _ as Y } from "./index-exNcHe5D.js";
1
+ import { defineComponent as U, inject as $, ref as k, watch as A, resolveComponent as C, openBlock as o, createElementBlock as s, normalizeClass as m, normalizeStyle as O, createElementVNode as c, createBlock as p, createCommentVNode as u, toDisplayString as M, withCtx as v, Fragment as B, renderList as R, createTextVNode as q, createVNode as r, withKeys as G, unref as I, withDirectives as H, vShow as J } from "vue";
2
+ import { u as Q, I as h, b as V, B as W, i as X, _ as Y } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const Z = ["id"], x = { class: "left-part" }, ee = { class: "title" }, le = { class: "right-part" }, ae = { key: 0 }, oe = {
5
5
  key: 1,
@@ -49,8 +49,8 @@ funcName: ${e}`);
49
49
  i.value = n.defaultCollapse ?? !1;
50
50
  }
51
51
  );
52
- const C = k(n.displayType || (n.typeSwitch ? "card" : "table")), P = Q(), S = (e) => {
53
- C.value = e;
52
+ const f = k(n.displayType || (n.typeSwitch ? "card" : "table")), P = Q(), S = (e) => {
53
+ f.value = e;
54
54
  const a = X(P.schema.items, n.name), g = (w) => {
55
55
  w.forEach((d) => {
56
56
  d.component === "Table" && d.props && (d.props.displayType = e), d.children && d.children.length > 0 && g(d.children);
@@ -62,8 +62,8 @@ funcName: ${e}`);
62
62
  }, j = (e) => {
63
63
  n.searchInputChange && t && t[n.searchInputChange](y, e);
64
64
  };
65
- return S(C.value), (e, a) => {
66
- const g = f("el-radio"), w = f("el-radio-group"), d = f("el-tooltip"), E = f("el-input"), F = f("el-collapse-transition");
65
+ return S(f.value), (e, a) => {
66
+ const g = C("el-radio"), w = C("el-radio-group"), d = C("el-tooltip"), E = C("el-input"), F = C("el-collapse-transition");
67
67
  return o(), s("div", {
68
68
  class: m(["crm-curd-card", { gridItem: e.type === "gridItem" }]),
69
69
  style: O(e.style),
@@ -166,13 +166,13 @@ funcName: ${e}`);
166
166
  ])) : u("", !0),
167
167
  e.typeSwitch ? (o(), s("div", oe, [
168
168
  c("div", {
169
- class: m(["switch-icon-wrapper", { active: C.value === "card" }]),
169
+ class: m(["switch-icon-wrapper", { active: f.value === "card" }]),
170
170
  onClick: a[3] || (a[3] = (l) => S("card"))
171
171
  }, [
172
172
  r(h, { name: "icon-kapian" })
173
173
  ], 2),
174
174
  c("div", {
175
- class: m(["switch-icon-wrapper", { active: C.value === "table" }]),
175
+ class: m(["switch-icon-wrapper", { active: f.value === "table" }]),
176
176
  onClick: a[4] || (a[4] = (l) => S("table"))
177
177
  }, [
178
178
  r(h, { name: "icon-biaoge" })
@@ -208,7 +208,7 @@ funcName: ${e}`);
208
208
  ], 14, Z);
209
209
  };
210
210
  }
211
- }), de = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-c360f8f2"]]);
211
+ }), de = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-17118dac"]]);
212
212
  export {
213
213
  de as default
214
214
  };
@@ -0,0 +1,26 @@
1
+ import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as d, resolveDynamicComponent as u, mergeProps as c } from "vue";
2
+ import { _ as i } from "./index-BOlX4x7v.js";
3
+ const _ = {
4
+ key: 0,
5
+ class: "empty"
6
+ }, f = /* @__PURE__ */ n({
7
+ __name: "Custom",
8
+ props: /* @__PURE__ */ s({
9
+ componentName: {}
10
+ }, {
11
+ modelValue: {},
12
+ modelModifiers: {}
13
+ }),
14
+ emits: ["update:modelValue"],
15
+ setup(l) {
16
+ const o = p(l, "modelValue");
17
+ return (e, m) => e.componentName ? (t(), d(u(e.componentName), c({
18
+ key: 1,
19
+ modelValue: o.value,
20
+ "onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
21
+ }, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", _, "请输入全局注册得组件名"));
22
+ }
23
+ }), v = /* @__PURE__ */ i(f, [["__scopeId", "data-v-2250b7d1"]]);
24
+ export {
25
+ v as default
26
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, mergeModels as M, useModel as k, useAttrs as D, computed as l, inject as u, resolveComponent as I, openBlock as i, createElementBlock as E, toDisplayString as _, createBlock as S, mergeProps as V } from "vue";
2
2
  import { dayjs as b } from "element-plus";
3
- import { u as B } from "./index-exNcHe5D.js";
3
+ import { u as B } from "./index-BOlX4x7v.js";
4
4
  const F = { key: 0 }, j = /* @__PURE__ */ y({
5
5
  __name: "DatePicker",
6
6
  props: /* @__PURE__ */ M({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as J, reactive as F, ref as T, onBeforeMount as le, onMounted as ie, nextTick as h, onBeforeUnmount as re, watch as c, provide as j, toRefs as q, openBlock as R, createElementBlock as A, normalizeStyle as ne, renderSlot as O, Fragment as se, renderList as ue, createBlock as K, mergeProps as de, withCtx as Q, withDirectives as ce, createVNode as Z, vShow as ge, mergeModels as me, useModel as pe, onUnmounted as ye, unref as X, readonly as Y } from "vue";
2
- import { w as ve, n as fe, o as he, p as k, T as we, v as xe, q as C, A as be, r as G, x as Be, L as ke, y as Ce, s as De, Y as Le, t as Me, z as P, V as ze, c as Se, j as Re, b as Ie, _ as Ne } from "./index-exNcHe5D.js";
2
+ import { w as ve, n as fe, o as he, p as k, T as we, v as xe, q as C, A as Be, r as G, x as be, L as ke, y as Ce, s as De, Y as Le, t as Me, z as P, V as ze, c as Se, j as Re, b as Ie, _ as Ne } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const $e = /* @__PURE__ */ J({
5
5
  __name: "grid-layout",
@@ -169,39 +169,39 @@ const $e = /* @__PURE__ */ J({
169
169
  function te() {
170
170
  if (!a.autoSize) return;
171
171
  const e = parseFloat(a.margin[1]);
172
- return be(o.value) * (a.rowHeight + e) + e + "px";
172
+ return Be(o.value) * (a.rowHeight + e) + e + "px";
173
173
  }
174
174
  let _;
175
175
  function U(e, n, r, v, m, p) {
176
176
  let l = G(o.value, n);
177
177
  C(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" }), e === "dragstart" && !a.verticalCompact && (_ = o.value.reduce(
178
- (B, { i: z, x: f, y: b }) => ({
179
- ...B,
180
- [z]: { x: f, y: b }
178
+ (b, { i: z, x: f, y: B }) => ({
179
+ ...b,
180
+ [z]: { x: f, y: B }
181
181
  }),
182
182
  {}
183
183
  )), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w = p, t.placeholder.h = m, h(() => {
184
184
  t.isDragging = !0;
185
185
  }), i.emit("updateWidth", t.width)) : h(() => {
186
186
  t.isDragging = !1;
187
- }), o.value = Be(o.value, l, r, v, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, k(o.value, a.verticalCompact, _), l.static = !1) : k(o.value, a.verticalCompact), i.emit("compact"), x(), e === "dragend" && (_ = void 0, d("layout-updated", o.value));
187
+ }), o.value = be(o.value, l, r, v, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, k(o.value, a.verticalCompact, _), l.static = !1) : k(o.value, a.verticalCompact), i.emit("compact"), x(), e === "dragend" && (_ = void 0, d("layout-updated", o.value));
188
188
  }
189
189
  function V(e, n, r, v, m, p) {
190
190
  let l = G(o.value, n);
191
191
  C(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
192
- let B;
192
+ let b;
193
193
  if (a.preventCollision) {
194
194
  const z = ke(o.value, { ...l, w: p, h: m }).filter(
195
195
  (f) => f.i !== l.i
196
196
  );
197
- if (B = z.length > 0, B) {
198
- let f = 1 / 0, b = 1 / 0;
197
+ if (b = z.length > 0, b) {
198
+ let f = 1 / 0, B = 1 / 0;
199
199
  z.forEach((S) => {
200
- S.x > l.x && (f = Math.min(f, S.x)), S.y > l.y && (b = Math.min(b, S.y));
201
- }), Number.isFinite(f) && (l.w = f - l.x), Number.isFinite(b) && (l.h = b - l.y);
200
+ S.x > l.x && (f = Math.min(f, S.x)), S.y > l.y && (B = Math.min(B, S.y));
201
+ }), Number.isFinite(f) && (l.w = f - l.x), Number.isFinite(B) && (l.h = B - l.y);
202
202
  }
203
203
  }
204
- B || (l.w = p, l.h = m), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = r, t.placeholder.y = v, t.placeholder.w = l.w, t.placeholder.h = l.h, h(() => {
204
+ b || (l.w = p, l.h = m), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = r, t.placeholder.y = v, t.placeholder.w = l.w, t.placeholder.h = l.h, h(() => {
205
205
  t.isDragging = !0;
206
206
  }), i.emit("updateWidth", t.width)) : e && h(() => {
207
207
  t.isDragging = !1;
@@ -326,7 +326,7 @@ onMoved: ${w.onMoved}`);
326
326
  _: 1
327
327
  }, 8, ["layout", "col-num", "row-height", "max-rows", "is-draggable"]));
328
328
  }
329
- }), Ve = /* @__PURE__ */ Ne(Ee, [["__scopeId", "data-v-f58dab66"]]);
329
+ }), Ve = /* @__PURE__ */ Ne(Ee, [["__scopeId", "data-v-869881f7"]]);
330
330
  export {
331
331
  Ve as default
332
332
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, ref as m, readonly as K, onUnmounted as U, resolveComponent as c, openBlock as f, createElementBlock as _, createElementVNode as u, createVNode as o, withKeys as j, withModifiers as E, withCtx as i, Fragment as N, renderList as R, createBlock as D, normalizeClass as L, withDirectives as $, unref as q, vShow as A } from "vue";
2
- import { c as G, j as H, I as C, b as J, _ as O } from "./index-exNcHe5D.js";
2
+ import { c as G, j as H, I as C, b as J, _ as O } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
5
5
  __name: "FilterSearch",
@@ -21,13 +21,13 @@ const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
21
21
  }
22
22
  }, t = m(""), w = (e) => {
23
23
  t.value = e;
24
- }, x = () => t.value, k = (e) => {
24
+ }, x = () => t.value, b = (e) => {
25
25
  try {
26
26
  p[a.onSearchTypeChange](h, e);
27
27
  } catch (l) {
28
28
  console.error(l);
29
29
  }
30
- }, I = (e) => {
30
+ }, k = (e) => {
31
31
  if (a.onChange)
32
32
  try {
33
33
  p[a.onChange](h, e);
@@ -40,7 +40,7 @@ const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
40
40
  } catch (e) {
41
41
  console.error(e);
42
42
  }
43
- }, b = () => {
43
+ }, I = () => {
44
44
  r.value = !r.value;
45
45
  }, { ruleModule: p, pageMethodMap: h } = G(), y = K({
46
46
  setSearchValue: w,
@@ -67,7 +67,7 @@ const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
67
67
  onKeyup: j(E(v, ["stop"]), ["enter"]),
68
68
  class: "filter-search-input",
69
69
  clearable: !0,
70
- onInput: I
70
+ onInput: k
71
71
  }, {
72
72
  prefix: i(() => [
73
73
  o(z, {
@@ -75,7 +75,7 @@ const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
75
75
  "onUpdate:modelValue": l[0] || (l[0] = (n) => s.value = n),
76
76
  size: "small",
77
77
  class: "filter-search-select",
78
- onChange: k
78
+ onChange: b
79
79
  }, {
80
80
  default: i(() => [
81
81
  (f(!0), _(N, null, R(e.searchTypes, (n) => (f(), D(d, {
@@ -100,7 +100,7 @@ const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
100
100
  }, 8, ["modelValue", "placeholder", "onKeyup"]),
101
101
  u("div", {
102
102
  class: L(["filter-wrapper", { active: !r.value }]),
103
- onClick: b
103
+ onClick: I
104
104
  }, [
105
105
  o(C, {
106
106
  name: "icon-shaixuan",
@@ -122,7 +122,7 @@ const P = { class: "filter-search-header" }, Q = /* @__PURE__ */ M({
122
122
  ]);
123
123
  };
124
124
  }
125
- }), Z = /* @__PURE__ */ O(Q, [["__scopeId", "data-v-1a0dd89e"]]);
125
+ }), Z = /* @__PURE__ */ O(Q, [["__scopeId", "data-v-28f25b88"]]);
126
126
  export {
127
127
  Z as default
128
128
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as U, ref as D, computed as L, onUnmounted as H, resolveComponent as w, withDirectives as T, openBlock as c, createElementBlock as v, createElementVNode as l, createVNode as a, withCtx as d, createTextVNode as Y, toDisplayString as k, unref as J, vShow as $, Fragment as K, renderList as O, createBlock as j, createCommentVNode as V } from "vue";
2
- import { c as Q, u as W, i as q, j as X, I as m, b as Z, _ as ee } from "./index-exNcHe5D.js";
2
+ import { c as Q, u as W, i as q, j as X, I as m, b as Z, _ as ee } from "./index-BOlX4x7v.js";
3
3
  import { dayjs as oe } from "element-plus";
4
4
  const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "gradient-input-wrapper" }, ae = { class: "float-form" }, se = { class: "float-form-header" }, re = { class: "float-form-header-title" }, ie = { class: "float-form-header-btns" }, ce = { class: "float-form-body" }, ue = { class: "curd-footer" }, de = /* @__PURE__ */ U({
5
5
  __name: "FloatCurd",
@@ -14,9 +14,9 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
14
14
  hidden: { type: Boolean }
15
15
  },
16
16
  setup(P, { expose: z }) {
17
- const r = P, u = D(!1), { ruleModule: h, pageMethodMap: _ } = Q(), C = W(), I = L(() => {
17
+ const r = P, u = D(!1), { ruleModule: h, pageMethodMap: _ } = Q(), b = W(), I = L(() => {
18
18
  var n, y, F, N, M, A;
19
- const o = C.schema.items, e = C.formValues, s = q(o, r.name);
19
+ const o = b.schema.items, e = b.formValues, s = q(o, r.name);
20
20
  if (!s || !s.children)
21
21
  return [];
22
22
  const f = [];
@@ -36,7 +36,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
36
36
  }
37
37
  }
38
38
  return f;
39
- }), b = D("");
39
+ }), C = D("");
40
40
  function S() {
41
41
  try {
42
42
  h[r.onSearch](_), u.value = !1;
@@ -46,13 +46,13 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
46
46
  }
47
47
  function g() {
48
48
  try {
49
- h[r.onAiSearch](_, b.value);
49
+ h[r.onAiSearch](_, C.value);
50
50
  } catch (o) {
51
51
  console.error(o);
52
52
  }
53
53
  }
54
54
  function E(o) {
55
- C.setFieldValue(o.name, "", ""), S();
55
+ b.setFieldValue(o.name, "", ""), S();
56
56
  }
57
57
  function G() {
58
58
  try {
@@ -77,8 +77,8 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
77
77
  l("div", te, [
78
78
  a(f, {
79
79
  placeholder: o.inputPlaceholder,
80
- modelValue: b.value,
81
- "onUpdate:modelValue": e[0] || (e[0] = (n) => b.value = n),
80
+ modelValue: C.value,
81
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => C.value = n),
82
82
  clearable: "",
83
83
  onClear: g
84
84
  }, {
@@ -168,7 +168,7 @@ const ne = { class: "float-curd" }, le = { class: "curd-body" }, te = { class: "
168
168
  ]);
169
169
  };
170
170
  }
171
- }), ve = /* @__PURE__ */ ee(de, [["__scopeId", "data-v-868e36d5"]]);
171
+ }), ve = /* @__PURE__ */ ee(de, [["__scopeId", "data-v-b247717d"]]);
172
172
  export {
173
173
  ve as default
174
174
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
2
- import { u as U, l as w, e as W, f as V, a as L, h as X } from "./index-exNcHe5D.js";
2
+ import { u as U, l as w, e as W, f as V, a as L, h as X } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
5
5
  __name: "FormList",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, computed as o, openBlock as a, createElementBlock as d, normalizeStyle as r, createVNode as m, unref as l } from "vue";
2
- import { b as g } from "./index-exNcHe5D.js";
2
+ import { b as g } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
4
  const x = /* @__PURE__ */ e({
5
5
  __name: "Grid",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, resolveDirective as c, withDirectives as a, openBlock as d, createElementBlock as f, normalizeStyle as p, createVNode as _, unref as m } from "vue";
2
- import { c as u, b as y, _ as h } from "./index-exNcHe5D.js";
2
+ import { c as u, b as y, _ as b } from "./index-BOlX4x7v.js";
3
3
  import "element-plus";
4
- const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
4
+ const h = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
5
5
  __name: "InfiniteScroll",
6
6
  props: {
7
7
  children: {},
@@ -27,12 +27,12 @@ const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
27
27
  style: p(e.style)
28
28
  }, [
29
29
  _(m(y), { list: e.children }, null, 8, ["list"])
30
- ], 12, b)), [
30
+ ], 12, h)), [
31
31
  [r, n]
32
32
  ]);
33
33
  };
34
34
  }
35
- }), M = /* @__PURE__ */ h(v, [["__scopeId", "data-v-6746ff5d"]]);
35
+ }), M = /* @__PURE__ */ b(v, [["__scopeId", "data-v-65b0b3cf"]]);
36
36
  export {
37
37
  M as default
38
38
  };