asiaint-lowcode 3.1.70 → 3.1.72

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 (43) hide show
  1. package/README.md +31 -31
  2. package/dist/asiaint-lowcode.js +1 -1
  3. package/dist/asiaint-lowcode.umd.cjs +23 -23
  4. package/dist/index.d.ts +3 -0
  5. package/dist/lazy/{Card-CsyOMym1.js → Card-kzbF25Rw.js} +2 -2
  6. package/dist/lazy/{Cascader-B4hAhDgE.js → Cascader-BE3u0fjL.js} +1 -1
  7. package/dist/lazy/{Checkbox-BFJ5LePR.js → Checkbox-DG79cyFU.js} +19 -17
  8. package/dist/lazy/{Collapse-C_4KYRbX.js → Collapse-fRrrqa1r.js} +1 -1
  9. package/dist/lazy/{Component-BivW5egv.js → Component-BMn7JKP7.js} +2 -2
  10. package/dist/lazy/{Component-CyMAtvdX.js → Component-BtGU23Qy.js} +2 -2
  11. package/dist/lazy/{Component-Dyinr6lK.js → Component-DicNVjYg.js} +46 -44
  12. package/dist/lazy/{Component-Cwo8jj-S.js → Component-DqtpzRKR.js} +1 -1
  13. package/dist/lazy/{Component-DEmQ4V67.js → Component-DsUGzjhr.js} +2 -2
  14. package/dist/lazy/{Component-DyJy9PYh.js → Component-PZfdPuAb.js} +1 -1
  15. package/dist/lazy/{CurdCard-B7Ia_jHc.js → CurdCard-BvE7R3y3.js} +9 -9
  16. package/dist/lazy/Custom-DgaHycNI.js +26 -0
  17. package/dist/lazy/{DatePicker-DQuUQhWb.js → DatePicker-0Q7tQN8C.js} +1 -1
  18. package/dist/lazy/{DragList-CuAfRFuQ.js → DragList-b6-ZtpP9.js} +13 -13
  19. package/dist/lazy/{FilterSearch-BpJfBhcE.js → FilterSearch-nSiR28zi.js} +8 -8
  20. package/dist/lazy/{FloatCurd-DUMejxJa.js → FloatCurd-jIOXTFrV.js} +9 -9
  21. package/dist/lazy/{FormList-xsBrCvvu.js → FormList-BJ68ra5e.js} +1 -1
  22. package/dist/lazy/{Grid-D0Zv5iSy.js → Grid-VB0XDXvm.js} +1 -1
  23. package/dist/lazy/{InfiniteScroll-GrqKUWNg.js → InfiniteScroll-DTGsL_qW.js} +4 -4
  24. package/dist/lazy/{Inline-BZ8e83jr.js → Inline-Bwbh3JBp.js} +3 -3
  25. package/dist/lazy/{JsonEdit-CchewQwM.js → JsonEdit-6d8ZLB3V.js} +3 -3
  26. package/dist/lazy/{LogList-Ca-6Espa.js → LogList-BwKnFSCl.js} +7 -7
  27. package/dist/lazy/{ObjGroup-5XPHM88s.js → ObjGroup-nnfkh8Xc.js} +1 -1
  28. package/dist/lazy/{OfferDetails-CWg-EuM3.js → OfferDetails--gvhKXpt.js} +2 -2
  29. package/dist/lazy/{Pagination-DdfH9_ex.js → Pagination-C89r5m9t.js} +4 -4
  30. package/dist/lazy/{Progress-CEooFhH4.js → Progress-CeYkOJI7.js} +15 -15
  31. package/dist/lazy/{Radio-Dy59Ycsh.js → Radio-M_Zu828L.js} +3 -3
  32. package/dist/lazy/{SearchSelect-Xx2SkrOz.js → SearchSelect-Q8aiYohz.js} +6 -6
  33. package/dist/lazy/{Select-DdZQPpZZ.js → Select-D4kf4559.js} +2 -2
  34. package/dist/lazy/{Table-DECbm9ro.js → Table-DJnAPbma.js} +2 -2
  35. package/dist/lazy/{Tabs-7oQ7y-T2.js → Tabs-8ZQeu-LZ.js} +11 -11
  36. package/dist/lazy/{TextArea-CtwrVwIU.js → TextArea-N_LsRz17.js} +2 -2
  37. package/dist/lazy/{Wrapper-C8-YPMBw.js → Wrapper-zQawW-UK.js} +2 -2
  38. package/dist/lazy/{index-BOlX4x7v.js → index-BNV8uflI.js} +56 -56
  39. package/dist/lazy/{useSelect-CrlW7Igo.js → useSelect-C6ejMb6l.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/Custom-JI8V09YD.js +0 -26
package/dist/index.d.ts CHANGED
@@ -263,6 +263,7 @@ declare type AlertSchema = {
263
263
  onClose?: string;
264
264
  top?: number;
265
265
  noSticky?: boolean;
266
+ style?: Record<string, string>;
266
267
  };
267
268
 
268
269
  declare type BtnItemType = {
@@ -334,6 +335,7 @@ props?: TreeOptionProps;
334
335
  nodeKey: string;
335
336
  styleType?: "modal" | "normal";
336
337
  name: string;
338
+ showCheckbox?: boolean;
337
339
  }>>, {
338
340
  getCheckedNodes: () => any;
339
341
  type: "tree";
@@ -348,6 +350,7 @@ props?: TreeOptionProps;
348
350
  nodeKey: string;
349
351
  styleType?: "modal" | "normal";
350
352
  name: string;
353
+ showCheckbox?: boolean;
351
354
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
352
355
 
353
356
  declare const _default_2: DefineComponent<ExtractPropTypes< {
@@ -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-BOlX4x7v.js";
2
+ import { a as P, I as v, b as _, B as V, _ as D } from "./index-BNV8uflI.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-3bc7ce9f"]]);
127
+ }), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-804c7a5d"]]);
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-CrlW7Igo.js";
3
+ import { u as b } from "./useSelect-C6ejMb6l.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
@@ -1,7 +1,7 @@
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";
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-BOlX4x7v.js";
4
- import { u as N } from "./useSelect-CrlW7Igo.js";
3
+ import { u as E, c as L } from "./index-BNV8uflI.js";
4
+ import { u as N } from "./useSelect-C6ejMb6l.js";
5
5
  const R = { key: 0 }, H = /* @__PURE__ */ F({
6
6
  __name: "Checkbox",
7
7
  props: /* @__PURE__ */ D({
@@ -30,46 +30,48 @@ const R = { key: 0 }, H = /* @__PURE__ */ F({
30
30
  modelModifiers: {}
31
31
  }),
32
32
  emits: ["update:modelValue"],
33
- setup(c) {
34
- const n = c, t = I(c, "modelValue"), k = E(), { currentOptions: d, selectChange: i, loading: C } = N(n), { ruleModule: m, pageMethodMap: K } = L(), V = (e) => {
35
- if (i(e), n.onChange && m)
33
+ setup(p) {
34
+ const n = p, t = I(p, "modelValue"), k = E(), { currentOptions: u, selectChange: c, loading: C } = N(n), { ruleModule: b, pageMethodMap: K } = L(), V = (e) => {
35
+ if (c(e), n.onChange && b)
36
36
  try {
37
- m[n.onChange](K, e);
37
+ b[n.onChange](K, e);
38
38
  } catch (r) {
39
39
  console.error(r + `
40
40
  onChange: ${n.onChange}`);
41
41
  }
42
42
  };
43
- return O(t, i), (e, r) => {
44
- var y;
45
- const _ = u("el-checkbox"), B = u("el-checkbox-button"), M = u("el-space"), T = u("el-checkbox-group"), w = P("loading");
46
- return a(k).schema.read ? (l(), p("div", R, S((y = t.value) == null ? void 0 : y.map((o) => {
47
- var b;
48
- return (b = a(d).find((z) => z[e.valueKey] === o)) == null ? void 0 : b[e.labelKey];
43
+ return O(t, c), (e, r) => {
44
+ var m;
45
+ const _ = d("el-checkbox"), B = d("el-checkbox-button"), M = d("el-space"), T = d("el-checkbox-group"), w = P("loading");
46
+ return a(k).schema.read ? (l(), i("div", R, S((m = t.value) == null ? void 0 : m.map((o) => {
47
+ var y;
48
+ return (y = a(u).find((z) => z[e.valueKey] === o)) == null ? void 0 : y[e.labelKey];
49
49
  }).join("、")), 1)) : $((l(), s(T, j({ key: 1 }, e.$attrs, {
50
50
  modelValue: t.value,
51
51
  "onUpdate:modelValue": r[0] || (r[0] = (o) => t.value = o),
52
52
  onChange: V
53
53
  }), {
54
54
  default: h(() => [
55
- e.optionType === "circle" || e.optionType === "border" ? (l(!0), p(f, { key: 0 }, v(a(d), (o) => (l(), s(_, {
55
+ e.optionType === "circle" || e.optionType === "border" ? (l(!0), i(f, { key: 0 }, v(a(u), (o) => (l(), s(_, {
56
56
  key: o[e.valueKey],
57
57
  label: o[e.labelKey],
58
58
  value: o[e.valueKey],
59
+ disabled: o.disabled,
59
60
  border: e.optionType === "border"
60
- }, null, 8, ["label", "value", "border"]))), 128)) : g("", !0),
61
+ }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : g("", !0),
61
62
  e.optionType === "button" ? (l(), s(M, {
62
63
  key: 1,
63
64
  wrap: "",
64
65
  size: [e.space, e.space]
65
66
  }, {
66
67
  default: h(() => [
67
- (l(!0), p(f, null, v(a(d), (o) => (l(), s(B, {
68
+ (l(!0), i(f, null, v(a(u), (o) => (l(), s(B, {
68
69
  key: o[e.valueKey],
69
70
  label: o[e.labelKey],
70
71
  value: o[e.valueKey],
72
+ disabled: o.disabled,
71
73
  size: "large"
72
- }, null, 8, ["label", "value"]))), 128))
74
+ }, null, 8, ["label", "value", "disabled"]))), 128))
73
75
  ]),
74
76
  _: 1
75
77
  }, 8, ["size"])) : g("", !0)
@@ -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-BOlX4x7v.js";
2
+ import { b as y } from "./index-BNV8uflI.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-BOlX4x7v.js";
5
+ import { u as x, _ as S } from "./index-BNV8uflI.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-f5206e68"]]);
114
+ }), T = /* @__PURE__ */ S(k, [["__scopeId", "data-v-eda48825"]]);
115
115
  export {
116
116
  T as default
117
117
  };
@@ -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-BOlX4x7v.js";
3
+ import { c as P, I as h, a as q, _ as A } from "./index-BNV8uflI.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-0576569b"]]);
161
+ }), ee = /* @__PURE__ */ A(W, [["__scopeId", "data-v-2249ee01"]]);
162
162
  export {
163
163
  ee as default
164
164
  };
@@ -1,10 +1,10 @@
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";
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";
3
3
  import "element-plus";
4
4
  const Y = { class: "tree-node-text" }, Z = ["title"], ee = {
5
5
  key: 0,
6
6
  class: "tree-node-present"
7
- }, oe = /* @__PURE__ */ S({
7
+ }, oe = /* @__PURE__ */ P({
8
8
  __name: "Component",
9
9
  props: {
10
10
  onNodeClick: {},
@@ -16,26 +16,27 @@ const Y = { class: "tree-node-text" }, Z = ["title"], ee = {
16
16
  props: {},
17
17
  nodeKey: {},
18
18
  styleType: {},
19
- name: {}
19
+ name: {},
20
+ showCheckbox: { type: Boolean }
20
21
  },
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) => {
22
+ setup(L, { expose: M }) {
23
+ const o = L, r = D("ruleModule", void 0), p = D("pageMethodMap", {}), k = K(), x = (e, t) => {
24
+ k.value = e[o.nodeKey];
25
+ }, I = (e, t, n) => {
25
26
  if (e && r)
26
27
  try {
27
28
  r[e](p, { node: t, data: n });
28
- } catch (d) {
29
- console.error(d + `
29
+ } catch (s) {
30
+ console.error(s + `
30
31
  onNodeClick: ${o.onNodeClick}`);
31
32
  }
32
33
  };
33
- let a = null, c = null, k = 0;
34
- function A(e, t) {
34
+ let c = null, a = null, m = 0;
35
+ function R(e, t) {
35
36
  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;
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;
39
40
  }, 300));
40
41
  }
41
42
  const B = (e, t) => {
@@ -46,7 +47,7 @@ onNodeClick: ${o.onNodeClick}`);
46
47
  console.error(n + `
47
48
  onNodeClick: ${o.onNodeClick}`);
48
49
  }
49
- }, E = (e, t) => {
50
+ }, A = (e, t) => {
50
51
  if (o.onNodeDbClick && r)
51
52
  try {
52
53
  r[o.onNodeDbClick](p, { node: e, data: t });
@@ -54,32 +55,32 @@ onNodeClick: ${o.onNodeClick}`);
54
55
  console.error(n + `
55
56
  onNodeDbClick: ${o.onNodeDbClick}`);
56
57
  }
57
- }, P = (e, t, n) => {
58
+ }, E = (e, t, n) => {
58
59
  if (o.onLoad && r)
59
60
  try {
60
61
  r[o.onLoad](p, { node: e, resolve: t, reject: n });
61
- } catch (d) {
62
- console.error(d + `
62
+ } catch (s) {
63
+ console.error(s + `
63
64
  onLoad: ${o.onLoad}`);
64
65
  }
65
- }, g = K([]);
66
- V(
66
+ }, v = K([]);
67
+ S(
67
68
  //默认展开根节点
68
69
  () => o.data,
69
70
  () => {
70
71
  if (!o.data || !Array.isArray(o.data) || o.data.length === 0)
71
72
  return;
72
73
  const t = [o.data[0][o.nodeKey]];
73
- g.value = t;
74
+ v.value = t;
74
75
  },
75
76
  {
76
77
  immediate: !0
77
78
  }
78
79
  );
79
- const b = j("treeRef"), T = x({
80
+ const g = V("treeRef"), T = j({
80
81
  getCheckedNodes: () => {
81
82
  var e;
82
- return (e = b.value) == null ? void 0 : e.getCheckedNodes();
83
+ return (e = g.value) == null ? void 0 : e.getCheckedNodes();
83
84
  },
84
85
  type: "tree"
85
86
  });
@@ -89,41 +90,42 @@ onLoad: ${o.onLoad}`);
89
90
  e();
90
91
  });
91
92
  }
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,
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, {
96
+ onNodeClick: R,
97
+ load: E,
97
98
  ref_key: "treeRef",
98
- ref: b,
99
+ ref: g,
99
100
  class: ["crm-tree", { "modal-tree": e.styleType === "modal" }],
100
101
  indent: 32,
101
- "current-node-key": m.value,
102
- onCurrentChange: R,
102
+ "current-node-key": k.value,
103
+ onCurrentChange: x,
103
104
  "node-key": e.nodeKey,
104
105
  props: o.props,
105
106
  data: e.data,
106
- "default-expanded-keys": g.value
107
+ "default-expanded-keys": v.value,
108
+ "show-checkbox": e.showCheckbox
107
109
  }), {
108
110
  default: N(({ node: i, data: u }) => [
109
111
  y("div", {
110
- class: $(["custom-tree-node", { "modal-tree-node": e.styleType === "modal" }])
112
+ class: w(["custom-tree-node", { "modal-tree-node": e.styleType === "modal" }])
111
113
  }, [
112
114
  y("div", Y, [
113
115
  y("span", {
114
- class: $(["tree-node-label", { active: u[e.nodeKey] === m.value && e.styleType === "modal" }]),
116
+ class: w(["tree-node-label", { active: u[e.nodeKey] === k.value && e.styleType === "modal" }]),
115
117
  title: i.label
116
118
  }, U(i.label), 11, Z),
117
- u[e.nodeKey] === m.value ? (s(), _("div", ee, "Present")) : v("", !0)
119
+ u[e.nodeKey] === k.value ? (d(), _("div", ee, "Present")) : b("", !0)
118
120
  ]),
119
121
  y("div", null, [
120
- (s(!0), _(L, null, q(e.btns, (l) => (s(), _(L, {
122
+ (d(!0), _($, null, q(e.btns, (l) => (d(), _($, {
121
123
  key: l.key
122
124
  }, [
123
- G(Q)(l.hidden, { $node: i, $data: u }) ? v("", !0) : (s(), h(d, {
125
+ G(Q)(l.hidden, { $node: i, $data: u }) ? b("", !0) : (d(), h(s, {
124
126
  key: 0,
125
127
  link: "",
126
- onClick: H((ne) => w(l.onClick || "", i, u), ["stop"]),
128
+ onClick: H((ne) => I(l.onClick || "", i, u), ["stop"]),
127
129
  disabled: l.disabled,
128
130
  type: l.type
129
131
  }, {
@@ -135,12 +137,12 @@ onLoad: ${o.onLoad}`);
135
137
  placement: "top"
136
138
  }, {
137
139
  default: N(() => [
138
- l.icon ? (s(), h(W, {
140
+ l.icon ? (d(), h(W, {
139
141
  key: 0,
140
142
  name: l.icon.name,
141
143
  color: l.icon.color,
142
144
  class: "btn-icon"
143
- }, null, 8, ["name", "color"])) : v("", !0)
145
+ }, null, 8, ["name", "color"])) : b("", !0)
144
146
  ]),
145
147
  _: 2
146
148
  }, 1032, ["content"])
@@ -152,10 +154,10 @@ onLoad: ${o.onLoad}`);
152
154
  ], 2)
153
155
  ]),
154
156
  _: 1
155
- }, 16, ["class", "current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
157
+ }, 16, ["class", "current-node-key", "node-key", "props", "data", "default-expanded-keys", "show-checkbox"]);
156
158
  };
157
159
  }
158
- }), de = /* @__PURE__ */ X(oe, [["__scopeId", "data-v-fd507f5a"]]);
160
+ }), se = /* @__PURE__ */ X(oe, [["__scopeId", "data-v-6f603c9e"]]);
159
161
  export {
160
- de as default
162
+ se as default
161
163
  };
@@ -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-BOlX4x7v.js";
2
+ import { u as V } from "./index-BNV8uflI.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -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-BOlX4x7v.js";
2
+ import { _ as H, u as K, d as Q } from "./index-BNV8uflI.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-0e272b28"]]), ee = { key: 0 }, te = { class: "vfc-esign-preview" }, le = ["src"], ae = {
175
+ const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-5f3bfcf7"]]), 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-BOlX4x7v.js";
2
+ import { u as _ } from "./index-BNV8uflI.js";
3
3
  import "element-plus";
4
4
  const B = { key: 0 }, g = /* @__PURE__ */ p({
5
5
  __name: "Component",
@@ -1,5 +1,5 @@
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";
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";
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 f = k(n.displayType || (n.typeSwitch ? "card" : "table")), P = Q(), S = (e) => {
53
- f.value = e;
52
+ const C = k(n.displayType || (n.typeSwitch ? "card" : "table")), P = Q(), S = (e) => {
53
+ C.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(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");
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");
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: f.value === "card" }]),
169
+ class: m(["switch-icon-wrapper", { active: C.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: f.value === "table" }]),
175
+ class: m(["switch-icon-wrapper", { active: C.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-17118dac"]]);
211
+ }), de = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-c360f8f2"]]);
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 u, resolveDynamicComponent as d, mergeProps as c } from "vue";
2
+ import { _ as i } from "./index-BNV8uflI.js";
3
+ const f = {
4
+ key: 0,
5
+ class: "empty"
6
+ }, _ = /* @__PURE__ */ n({
7
+ __name: "Custom",
8
+ props: /* @__PURE__ */ s({
9
+ componentName: {}
10
+ }, {
11
+ modelValue: {},
12
+ modelModifiers: {}
13
+ }),
14
+ emits: ["update:modelValue"],
15
+ setup(a) {
16
+ const o = p(a, "modelValue");
17
+ return (e, m) => e.componentName ? (t(), u(d(e.componentName), c({
18
+ key: 1,
19
+ modelValue: o.value,
20
+ "onUpdate:modelValue": m[0] || (m[0] = (l) => o.value = l)
21
+ }, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", f, "请输入全局注册得组件名"));
22
+ }
23
+ }), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-a013b8cf"]]);
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-BOlX4x7v.js";
3
+ import { u as B } from "./index-BNV8uflI.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-BOlX4x7v.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-BNV8uflI.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-869881f7"]]);
329
+ }), Ve = /* @__PURE__ */ Ne(Ee, [["__scopeId", "data-v-f58dab66"]]);
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-BOlX4x7v.js";
2
+ import { c as G, j as H, I as C, b as J, _ as O } from "./index-BNV8uflI.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, b = (e) => {
24
+ }, x = () => t.value, k = (e) => {
25
25
  try {
26
26
  p[a.onSearchTypeChange](h, e);
27
27
  } catch (l) {
28
28
  console.error(l);
29
29
  }
30
- }, k = (e) => {
30
+ }, I = (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
- }, I = () => {
43
+ }, b = () => {
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: k
70
+ onInput: I
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: b
78
+ onChange: k
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: I
103
+ onClick: b
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-28f25b88"]]);
125
+ }), Z = /* @__PURE__ */ O(Q, [["__scopeId", "data-v-1a0dd89e"]]);
126
126
  export {
127
127
  Z as default
128
128
  };