asiaint-lowcode 3.1.72 → 3.1.73

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 (45) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +3 -3
  3. package/dist/asiaint-lowcode.umd.cjs +128 -127
  4. package/dist/lazy/Card-L6PoEgNq.js +175 -0
  5. package/dist/lazy/{Cascader-BE3u0fjL.js → Cascader-CZxXcJbk.js} +1 -1
  6. package/dist/lazy/{Checkbox-DG79cyFU.js → Checkbox-CHlIM8xM.js} +2 -2
  7. package/dist/lazy/{Collapse-fRrrqa1r.js → Collapse-BsjWqn-j.js} +1 -1
  8. package/dist/lazy/{Component-DqtpzRKR.js → Component-B9PLCoHg.js} +1 -1
  9. package/dist/lazy/{Component-DicNVjYg.js → Component-BSbw41TF.js} +18 -18
  10. package/dist/lazy/{Component-BtGU23Qy.js → Component-BrrH7ftI.js} +2 -2
  11. package/dist/lazy/{Component-BMn7JKP7.js → Component-C8O7cDs6.js} +2 -2
  12. package/dist/lazy/{Component-DsUGzjhr.js → Component-CPgcZhCf.js} +2 -2
  13. package/dist/lazy/{Component-PZfdPuAb.js → Component-DQ6jk5oO.js} +1 -1
  14. package/dist/lazy/Component-tDUlYhWG.js +37 -0
  15. package/dist/lazy/{CurdCard-BvE7R3y3.js → CurdCard-DS_UWVSV.js} +2 -2
  16. package/dist/lazy/Custom-BdJd7FtQ.js +26 -0
  17. package/dist/lazy/{DatePicker-0Q7tQN8C.js → DatePicker-BOMW020D.js} +1 -1
  18. package/dist/lazy/{DragList-b6-ZtpP9.js → DragList-vffDk63A.js} +13 -13
  19. package/dist/lazy/{FilterSearch-nSiR28zi.js → FilterSearch-7BFUH-VS.js} +8 -8
  20. package/dist/lazy/{FloatCurd-jIOXTFrV.js → FloatCurd-iYCMLAFH.js} +9 -9
  21. package/dist/lazy/{FormList-BJ68ra5e.js → FormList-Bn3SC8j0.js} +1 -1
  22. package/dist/lazy/{Grid-VB0XDXvm.js → Grid-DLt_7pOQ.js} +1 -1
  23. package/dist/lazy/{InfiniteScroll-DTGsL_qW.js → InfiniteScroll-Dwo4-h02.js} +4 -4
  24. package/dist/lazy/{Inline-Bwbh3JBp.js → Inline-DIiBF8zq.js} +3 -3
  25. package/dist/lazy/{JsonEdit-6d8ZLB3V.js → JsonEdit-BDXhSX79.js} +3 -3
  26. package/dist/lazy/{LogList-BwKnFSCl.js → LogList-CcXBt3Lz.js} +7 -7
  27. package/dist/lazy/{ObjGroup-nnfkh8Xc.js → ObjGroup-CwIe9KUs.js} +3 -3
  28. package/dist/lazy/{OfferDetails--gvhKXpt.js → OfferDetails-BBL-IyN0.js} +2 -2
  29. package/dist/lazy/{Pagination-C89r5m9t.js → Pagination-C4MO8AUo.js} +4 -4
  30. package/dist/lazy/{Progress-CeYkOJI7.js → Progress-DVftk_bX.js} +15 -15
  31. package/dist/lazy/{Radio-M_Zu828L.js → Radio-BynMYSUs.js} +3 -3
  32. package/dist/lazy/{SearchSelect-Q8aiYohz.js → SearchSelect-BKbHLJrI.js} +6 -6
  33. package/dist/lazy/{Select-D4kf4559.js → Select-CdxmSO3t.js} +2 -2
  34. package/dist/lazy/{Table-DJnAPbma.js → Table-DStSIVYY.js} +51 -52
  35. package/dist/lazy/{Tabs-8ZQeu-LZ.js → Tabs-IKZigybS.js} +11 -11
  36. package/dist/lazy/{TextArea-N_LsRz17.js → TextArea-aK7TvDmv.js} +2 -2
  37. package/dist/lazy/{Wrapper-zQawW-UK.js → Wrapper-HI_rtXrK.js} +2 -2
  38. package/dist/lazy/{index-BNV8uflI.js → index-GW-oDgSG.js} +60 -60
  39. package/dist/lazy/{useSelect-C6ejMb6l.js → useSelect-C3WbRXz4.js} +15 -15
  40. package/dist/style.css +2 -2
  41. package/global.d.ts +10 -10
  42. package/package.json +36 -36
  43. package/dist/lazy/Card-kzbF25Rw.js +0 -130
  44. package/dist/lazy/Component-D3ko2zV_.js +0 -30
  45. package/dist/lazy/Custom-DgaHycNI.js +0 -26
@@ -0,0 +1,175 @@
1
+ import { defineComponent as P, watch as N, ref as B, inject as $, resolveComponent as k, openBlock as a, createBlock as f, mergeProps as V, withCtx as y, createElementVNode as i, normalizeClass as h, createElementBlock as t, createVNode as r, unref as C, createCommentVNode as d, toDisplayString as F, Fragment as b, renderList as z, withDirectives as D, vShow as j } from "vue";
2
+ import { u as H, a as L, I as m, b as T, B as R, f as q, _ as A } from "./index-GW-oDgSG.js";
3
+ import "element-plus";
4
+ const G = {
5
+ key: 3,
6
+ class: "switch-panel"
7
+ }, J = {
8
+ key: 4,
9
+ class: "card-btns"
10
+ }, K = { class: "card-sub-header" }, O = /* @__PURE__ */ P({
11
+ __name: "Card",
12
+ props: {
13
+ name: {},
14
+ hidden: { type: Boolean },
15
+ children: {},
16
+ headerFormSlots: {},
17
+ headerFormSlotsPosition: {},
18
+ collapsible: { type: Boolean },
19
+ typeSwitch: { type: Boolean },
20
+ displayType: {},
21
+ onSwitchChange: {},
22
+ header: {},
23
+ btns: {},
24
+ mainIcon: {},
25
+ extraIcons: {},
26
+ shadowless: { type: Boolean },
27
+ subHeaders: {},
28
+ defaultCollapsed: { type: Boolean }
29
+ },
30
+ setup(_) {
31
+ const s = _;
32
+ N(
33
+ () => s.defaultCollapsed,
34
+ (e) => {
35
+ c.value = e ?? !1;
36
+ }
37
+ );
38
+ const w = B(s.displayType || (s.typeSwitch ? "card" : "table")), M = H(), g = (e) => {
39
+ if (w.value = e, s.onSwitchChange && u) {
40
+ try {
41
+ u[s.onSwitchChange](S, e);
42
+ } catch (p) {
43
+ console.error(p + `
44
+ onSwitchChange: ${s.onSwitchChange}`);
45
+ }
46
+ return;
47
+ }
48
+ const o = q(M.schema.items, s.name), v = (p) => {
49
+ p.forEach((n) => {
50
+ n.component === "Table" && n.props && (n.props.displayType = e), n.children && n.children.length > 0 && v(n.children);
51
+ });
52
+ };
53
+ o && o.children && v(o.children);
54
+ }, c = B(s.defaultCollapsed ?? !1), u = $("ruleModule", void 0), S = $("pageMethodMap", {}), I = (e) => {
55
+ if (e && u)
56
+ try {
57
+ u[e](S);
58
+ } catch (o) {
59
+ console.error(o + `
60
+ funcName: ${e}`);
61
+ }
62
+ };
63
+ return (e, o) => {
64
+ const v = k("el-tooltip"), p = k("el-collapse-transition"), n = k("ElCard");
65
+ return e.hidden ? d("", !0) : (a(), f(n, V({ key: 0 }, e.$attrs, {
66
+ class: ["crm-card", { collapsed: c.value, shadowless: e.shadowless }],
67
+ shadow: "never"
68
+ }), {
69
+ header: y(() => [
70
+ i("div", {
71
+ class: h(["card-header", { "has-collapsed": e.collapsible }])
72
+ }, [
73
+ e.collapsible ? (a(), t("div", {
74
+ key: 0,
75
+ class: "icon-wrapper",
76
+ onClick: o[0] || (o[0] = (l) => c.value = !c.value)
77
+ }, [
78
+ r(C(L), {
79
+ name: "dropdown",
80
+ class: h(["dropdown-icon", { "is-collapsed": c.value }])
81
+ }, null, 8, ["class"])
82
+ ])) : d("", !0),
83
+ e.mainIcon ? (a(), f(m, {
84
+ key: 1,
85
+ class: "title-icon",
86
+ size: "large",
87
+ name: e.mainIcon.name,
88
+ color: e.mainIcon.color
89
+ }, null, 8, ["name", "color"])) : d("", !0),
90
+ i("span", null, F(e.header), 1),
91
+ e.headerFormSlots ? (a(), t("div", {
92
+ key: 2,
93
+ class: h({
94
+ "header-form-slots-right": e.headerFormSlotsPosition === "right",
95
+ "header-form-slots-left": e.headerFormSlotsPosition === "left"
96
+ })
97
+ }, [
98
+ r(C(T), { list: e.headerFormSlots }, null, 8, ["list"])
99
+ ], 2)) : d("", !0),
100
+ (a(!0), t(b, null, z(e.extraIcons, (l) => (a(), t(b, {
101
+ key: l.name
102
+ }, [
103
+ l.tips ? (a(), f(v, {
104
+ key: 0,
105
+ content: l.tips,
106
+ placement: "right"
107
+ }, {
108
+ default: y(() => [
109
+ r(m, {
110
+ class: "extra-icon",
111
+ name: l.name,
112
+ color: l.color,
113
+ size: l.size || "small",
114
+ onClick: (E) => I(l.onClick)
115
+ }, null, 8, ["name", "color", "size", "onClick"])
116
+ ]),
117
+ _: 2
118
+ }, 1032, ["content"])) : (a(), f(m, {
119
+ key: 1,
120
+ class: "extra-icon",
121
+ name: l.name,
122
+ color: l.color,
123
+ size: l.size || "small",
124
+ onClick: (E) => I(l.onClick)
125
+ }, null, 8, ["name", "color", "size", "onClick"]))
126
+ ], 64))), 128)),
127
+ e.typeSwitch ? (a(), t("div", G, [
128
+ i("div", {
129
+ class: h(["switch-icon-wrapper", { active: w.value === "card" }]),
130
+ onClick: o[1] || (o[1] = (l) => g("card"))
131
+ }, [
132
+ r(m, { name: "icon-kapian" })
133
+ ], 2),
134
+ i("div", {
135
+ class: h(["switch-icon-wrapper", { active: w.value === "table" }]),
136
+ onClick: o[2] || (o[2] = (l) => g("table"))
137
+ }, [
138
+ r(m, { name: "icon-biaoge" })
139
+ ], 2)
140
+ ])) : d("", !0),
141
+ e.btns && e.btns.length > 0 ? (a(), t("div", J, [
142
+ r(C(R), {
143
+ btns: e.btns || []
144
+ }, null, 8, ["btns"])
145
+ ])) : d("", !0),
146
+ i("div", K, [
147
+ (a(!0), t(b, null, z(e.subHeaders, (l) => (a(), t("div", {
148
+ key: l,
149
+ class: "card-sub-header-item"
150
+ }, [
151
+ i("span", null, F(l), 1)
152
+ ]))), 128))
153
+ ])
154
+ ], 2)
155
+ ]),
156
+ default: y(() => [
157
+ r(p, null, {
158
+ default: y(() => [
159
+ D(i("div", null, [
160
+ r(C(T), { list: e.children }, null, 8, ["list"])
161
+ ], 512), [
162
+ [j, !c.value]
163
+ ])
164
+ ]),
165
+ _: 1
166
+ })
167
+ ]),
168
+ _: 1
169
+ }, 16, ["class"]));
170
+ };
171
+ }
172
+ }), X = /* @__PURE__ */ A(O, [["__scopeId", "data-v-33507fb9"]]);
173
+ export {
174
+ X as default
175
+ };
@@ -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-C6ejMb6l.js";
3
+ import { u as b } from "./useSelect-C3WbRXz4.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 d, resolveDirective as P, unref as a, openBlock as l, createElementBlock as i, 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-BNV8uflI.js";
4
- import { u as N } from "./useSelect-C6ejMb6l.js";
3
+ import { u as E, c as L } from "./index-GW-oDgSG.js";
4
+ import { u as N } from "./useSelect-C3WbRXz4.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-BNV8uflI.js";
2
+ import { b as y } from "./index-GW-oDgSG.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({
@@ -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-BNV8uflI.js";
2
+ import { u as V } from "./index-GW-oDgSG.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -1,5 +1,5 @@
1
- import { defineComponent as P, inject as D, ref as K, watch as S, useTemplateRef as V, readonly as j, onUnmounted as F, resolveComponent as f, openBlock as d, createBlock as h, mergeProps as z, withCtx as N, createElementVNode as y, normalizeClass as w, toDisplayString as U, createElementBlock as _, createCommentVNode as b, Fragment as $, 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-BNV8uflI.js";
1
+ import { defineComponent as P, inject as D, ref as K, watch as S, useTemplateRef as V, readonly as j, onUnmounted as F, resolveComponent as f, openBlock as a, createBlock as h, mergeProps as z, withCtx as N, createElementVNode as y, normalizeClass as w, toDisplayString as U, createElementBlock as _, createCommentVNode as b, Fragment as $, renderList as q, unref as G, withModifiers as H, createVNode as J } from "vue";
2
+ import { j as O, i as Q, I as W, _ as X } from "./index-GW-oDgSG.js";
3
3
  import "element-plus";
4
4
  const Y = { class: "tree-node-text" }, Z = ["title"], ee = {
5
5
  key: 0,
@@ -26,17 +26,17 @@ const Y = { class: "tree-node-text" }, Z = ["title"], ee = {
26
26
  if (e && r)
27
27
  try {
28
28
  r[e](p, { node: t, data: n });
29
- } catch (s) {
30
- console.error(s + `
29
+ } catch (d) {
30
+ console.error(d + `
31
31
  onNodeClick: ${o.onNodeClick}`);
32
32
  }
33
33
  };
34
- let c = null, a = null, m = 0;
34
+ let c = null, s = null, m = 0;
35
35
  function R(e, t) {
36
36
  console.log("nodeClick", e, t);
37
- const n = Date.now(), s = e.id, C = a == null ? void 0 : a.id;
38
- s === C && n - m < 300 ? (c && (clearTimeout(c), c = null), A(e, t), a = null, m = 0) : (c && clearTimeout(c), a = e, m = n, c = setTimeout(() => {
39
- B(e, t), c = null, a = null, m = 0;
37
+ const n = Date.now(), d = e.id, C = s == null ? void 0 : s.id;
38
+ d === C && n - m < 300 ? (c && (clearTimeout(c), c = null), A(e, t), s = null, m = 0) : (c && clearTimeout(c), s = e, m = n, c = setTimeout(() => {
39
+ B(e, t), c = null, s = null, m = 0;
40
40
  }, 300));
41
41
  }
42
42
  const B = (e, t) => {
@@ -59,8 +59,8 @@ onNodeDbClick: ${o.onNodeDbClick}`);
59
59
  if (o.onLoad && r)
60
60
  try {
61
61
  r[o.onLoad](p, { node: e, resolve: t, reject: n });
62
- } catch (s) {
63
- console.error(s + `
62
+ } catch (d) {
63
+ console.error(d + `
64
64
  onLoad: ${o.onLoad}`);
65
65
  }
66
66
  }, v = K([]);
@@ -91,8 +91,8 @@ onLoad: ${o.onLoad}`);
91
91
  });
92
92
  }
93
93
  return M(T), (e, t) => {
94
- const n = f("el-tooltip"), s = f("el-button"), C = f("el-tree");
95
- return d(), h(C, z(e.$attrs, {
94
+ const n = f("el-tooltip"), d = f("el-button"), C = f("el-tree");
95
+ return a(), h(C, z(e.$attrs, {
96
96
  onNodeClick: R,
97
97
  load: E,
98
98
  ref_key: "treeRef",
@@ -116,13 +116,13 @@ onLoad: ${o.onLoad}`);
116
116
  class: w(["tree-node-label", { active: u[e.nodeKey] === k.value && e.styleType === "modal" }]),
117
117
  title: i.label
118
118
  }, U(i.label), 11, Z),
119
- u[e.nodeKey] === k.value ? (d(), _("div", ee, "Present")) : b("", !0)
119
+ u[e.nodeKey] === k.value ? (a(), _("div", ee, "Present")) : b("", !0)
120
120
  ]),
121
121
  y("div", null, [
122
- (d(!0), _($, null, q(e.btns, (l) => (d(), _($, {
122
+ (a(!0), _($, null, q(e.btns, (l) => (a(), _($, {
123
123
  key: l.key
124
124
  }, [
125
- G(Q)(l.hidden, { $node: i, $data: u }) ? b("", !0) : (d(), h(s, {
125
+ G(Q)(l.hidden, { $node: i, $data: u }) ? b("", !0) : (a(), h(d, {
126
126
  key: 0,
127
127
  link: "",
128
128
  onClick: H((ne) => I(l.onClick || "", i, u), ["stop"]),
@@ -137,7 +137,7 @@ onLoad: ${o.onLoad}`);
137
137
  placement: "top"
138
138
  }, {
139
139
  default: N(() => [
140
- l.icon ? (d(), h(W, {
140
+ l.icon ? (a(), h(W, {
141
141
  key: 0,
142
142
  name: l.icon.name,
143
143
  color: l.icon.color,
@@ -157,7 +157,7 @@ onLoad: ${o.onLoad}`);
157
157
  }, 16, ["class", "current-node-key", "node-key", "props", "data", "default-expanded-keys", "show-checkbox"]);
158
158
  };
159
159
  }
160
- }), se = /* @__PURE__ */ X(oe, [["__scopeId", "data-v-6f603c9e"]]);
160
+ }), de = /* @__PURE__ */ X(oe, [["__scopeId", "data-v-b018de1d"]]);
161
161
  export {
162
- se as default
162
+ de as default
163
163
  };
@@ -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-BNV8uflI.js";
3
+ import { c as P, I as h, a as q, _ as A } from "./index-GW-oDgSG.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
  };
@@ -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-BNV8uflI.js";
5
+ import { u as x, _ as S } from "./index-GW-oDgSG.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 $, 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-BNV8uflI.js";
2
+ import { _ as H, u as K, d as Q } from "./index-GW-oDgSG.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-BNV8uflI.js";
2
+ import { u as _ } from "./index-GW-oDgSG.js";
3
3
  import "element-plus";
4
4
  const B = { key: 0 }, g = /* @__PURE__ */ p({
5
5
  __name: "Component",
@@ -0,0 +1,37 @@
1
+ import { defineComponent as s, inject as r, openBlock as a, createElementBlock as p, mergeProps as f } from "vue";
2
+ const d = ["innerHTML"], h = /* @__PURE__ */ s({
3
+ __name: "Component",
4
+ props: {
5
+ text: {},
6
+ color: {},
7
+ onClick: {},
8
+ params: {},
9
+ fontSize: {},
10
+ fontWeight: {}
11
+ },
12
+ setup(i) {
13
+ const e = r("ruleModule", void 0), c = r("pageMethodMap", {}), n = i, l = async () => {
14
+ const o = n.onClick;
15
+ if (o && e)
16
+ try {
17
+ await e[o](c, n);
18
+ } catch (t) {
19
+ console.error(t + `
20
+ onClick: ${o}`);
21
+ }
22
+ };
23
+ return (o, t) => (a(), p("div", f(o.$attrs, {
24
+ innerHTML: o.text,
25
+ onClick: l,
26
+ style: {
27
+ color: o.color,
28
+ cursor: o.onClick ? "pointer" : "default",
29
+ fontSize: o.fontSize,
30
+ fontWeight: o.fontWeight
31
+ }
32
+ }), null, 16, d));
33
+ }
34
+ });
35
+ export {
36
+ h as default
37
+ };
@@ -1,5 +1,5 @@
1
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-BNV8uflI.js";
2
+ import { u as Q, I as h, b as V, B as W, f as X, _ as Y } from "./index-GW-oDgSG.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,
@@ -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-GW-oDgSG.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-BNV8uflI.js";
3
+ import { u as B } from "./index-GW-oDgSG.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-BNV8uflI.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-GW-oDgSG.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-BNV8uflI.js";
2
+ import { c as G, j as H, I as C, b as J, _ as O } from "./index-GW-oDgSG.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-BNV8uflI.js";
2
+ import { c as Q, u as W, f as q, j as X, I as m, b as Z, _ as ee } from "./index-GW-oDgSG.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
  };