asiaint-lowcode 3.1.123 → 3.1.126

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.d.ts +21 -0
  3. package/dist/asiaint-lowcode.js +1 -1
  4. package/dist/asiaint-lowcode.umd.cjs +204 -203
  5. package/dist/lazy/{Card-B2XeR1su.js → Card-B5IKPHRH.js} +8 -8
  6. package/dist/lazy/{Cascader-CDSSVwTb.js → Cascader-DV-go3_z.js} +1 -1
  7. package/dist/lazy/Checkbox-DlxDVy46.js +101 -0
  8. package/dist/lazy/{Collapse-Bd8URDdt.js → Collapse-Bq90aeJS.js} +1 -1
  9. package/dist/lazy/{Component-DMktSBEu.js → Component--3Al5ml6.js} +1 -1
  10. package/dist/lazy/{Component-CQrZsY4Q.js → Component-CsgFBQFt.js} +31 -29
  11. package/dist/lazy/{Component-DSeezRpJ.js → Component-D-49XqXx.js} +2 -2
  12. package/dist/lazy/{Component-Cm0B5w6_.js → Component-DKmvE5tM.js} +2 -2
  13. package/dist/lazy/Component-DmZGe9pd.js +45 -0
  14. package/dist/lazy/{CurdCard-DVHTR0No.js → CurdCard-Durkiy_U.js} +2 -2
  15. package/dist/lazy/Custom-sjlWTHOh.js +26 -0
  16. package/dist/lazy/{DatePicker-DjjJ8KUz.js → DatePicker-DStcGaxe.js} +1 -1
  17. package/dist/lazy/{DragList-C0hSPU9O.js → DragList-DQ4zU1IM.js} +13 -13
  18. package/dist/lazy/{FilterSearch-BYdTXMFq.js → FilterSearch-BqmQcTqy.js} +2 -2
  19. package/dist/lazy/{FloatCurd-BVBDiAAM.js → FloatCurd-Dwlrxqk5.js} +2 -2
  20. package/dist/lazy/{FormList-TgyW__KM.js → FormList-DglG5S_e.js} +1 -1
  21. package/dist/lazy/{Grid-CvUvwaL5.js → Grid-GWnwehbc.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-CHNOzeMA.js → InfiniteScroll-CK8bRrXK.js} +4 -4
  23. package/dist/lazy/{Inline-aYDsCcAy.js → Inline-dl8Ykro0.js} +3 -3
  24. package/dist/lazy/{JsonEdit-Clk2qSLm.js → JsonEdit-Chgkl2or.js} +3 -3
  25. package/dist/lazy/{LogList-CXEEobS0.js → LogList-CSi1kxq0.js} +7 -7
  26. package/dist/lazy/{ObjGroup-DzQ6elAy.js → ObjGroup-jllfxhNe.js} +1 -1
  27. package/dist/lazy/{OfferDetails-BWa926il.js → OfferDetails-CZj6-Sa2.js} +13 -13
  28. package/dist/lazy/{Pagination-D_LMKdXu.js → Pagination-BndPvE9a.js} +7 -7
  29. package/dist/lazy/{Progress-l5cOAuKg.js → Progress-DIkRUYK1.js} +15 -15
  30. package/dist/lazy/{Radio-BP83uWBg.js → Radio-Crrq9xYb.js} +3 -3
  31. package/dist/lazy/{SearchSelect-BAcL3LGx.js → SearchSelect-cqwnNj_m.js} +6 -6
  32. package/dist/lazy/{Select-C1UhJyJG.js → Select-Teg7mHaV.js} +2 -2
  33. package/dist/lazy/{Table-SXAzZ8E8.js → Table-DtkvwA_c.js} +263 -256
  34. package/dist/lazy/{Tabs-BC7IYFgj.js → Tabs-DTVVaepi.js} +7 -7
  35. package/dist/lazy/{TextArea-DuUwtNKx.js → TextArea-CBdcgEaN.js} +3 -3
  36. package/dist/lazy/{Wrapper-BR5g6zFw.js → Wrapper-BIoBvUyx.js} +4 -4
  37. package/dist/lazy/{index-DaDLGgms.js → index-YOMQLeuq.js} +7529 -7450
  38. package/dist/lazy/{useSelect-CMJlzLAj.js → useSelect-CTPuy38a.js} +1 -1
  39. package/dist/style.css +2 -2
  40. package/global.d.ts +10 -10
  41. package/package.json +1 -1
  42. package/dist/lazy/Checkbox-5g_vNmVp.js +0 -88
  43. package/dist/lazy/Component-DsMhjqTT.js +0 -34
  44. package/dist/lazy/Custom-BaX-qw5c.js +0 -26
@@ -1,5 +1,5 @@
1
- import { defineComponent as _, watch as H, ref as B, inject as $, resolveComponent as b, openBlock as o, createBlock as f, mergeProps as N, withCtx as y, createElementBlock as s, normalizeClass as p, createVNode as r, unref as C, createCommentVNode as i, createElementVNode as h, toDisplayString as F, Fragment as w, renderList as z, withDirectives as V, vShow as D } from "vue";
2
- import { u as j, a as L, I as u, b as T, B as R, f as q, _ as A } from "./index-DaDLGgms.js";
1
+ import { defineComponent as _, watch as H, ref as B, inject as $, resolveComponent as k, openBlock as o, createBlock as f, mergeProps as N, withCtx as y, createElementBlock as s, normalizeClass as p, createVNode as r, unref as C, createCommentVNode as i, createElementVNode as h, toDisplayString as F, Fragment as w, renderList as z, withDirectives as V, vShow as D } from "vue";
2
+ import { u as j, a as L, I as u, b as T, B as R, f as q, _ as A } from "./index-YOMQLeuq.js";
3
3
  import "element-plus";
4
4
  const G = {
5
5
  key: 3,
@@ -38,8 +38,8 @@ const G = {
38
38
  c.value = e ?? !1;
39
39
  }
40
40
  );
41
- const k = B(n.displayType || (n.typeSwitch ? "card" : "table")), E = j(), g = (e) => {
42
- if (k.value = e, n.onSwitchChange && m) {
41
+ const b = B(n.displayType || (n.typeSwitch ? "card" : "table")), E = j(), g = (e) => {
42
+ if (b.value = e, n.onSwitchChange && m) {
43
43
  try {
44
44
  m[n.onSwitchChange](S, e);
45
45
  } catch (d) {
@@ -64,7 +64,7 @@ funcName: ${e}`);
64
64
  }
65
65
  };
66
66
  return (e, a) => {
67
- const v = b("el-tooltip"), d = b("el-collapse-transition"), t = b("ElCard");
67
+ const v = k("el-tooltip"), d = k("el-collapse-transition"), t = k("ElCard");
68
68
  return e.hidden ? i("", !0) : (o(), f(t, N({ key: 0 }, e.$attrs, {
69
69
  class: ["crm-card", { collapsed: c.value, shadowless: e.shadowless }],
70
70
  shadow: "never"
@@ -130,13 +130,13 @@ funcName: ${e}`);
130
130
  ], 64))), 128)),
131
131
  e.typeSwitch ? (o(), s("div", G, [
132
132
  h("div", {
133
- class: p(["switch-icon-wrapper", { active: k.value === "card" }]),
133
+ class: p(["switch-icon-wrapper", { active: b.value === "card" }]),
134
134
  onClick: a[1] || (a[1] = (l) => g("card"))
135
135
  }, [
136
136
  r(u, { name: "icon-kapian" })
137
137
  ], 2),
138
138
  h("div", {
139
- class: p(["switch-icon-wrapper", { active: k.value === "table" }]),
139
+ class: p(["switch-icon-wrapper", { active: b.value === "table" }]),
140
140
  onClick: a[2] || (a[2] = (l) => g("table"))
141
141
  }, [
142
142
  r(u, { name: "icon-biaoge" })
@@ -173,7 +173,7 @@ funcName: ${e}`);
173
173
  }, 16, ["class"]));
174
174
  };
175
175
  }
176
- }), X = /* @__PURE__ */ A(O, [["__scopeId", "data-v-0abe2f97"]]);
176
+ }), X = /* @__PURE__ */ A(O, [["__scopeId", "data-v-2ecb064b"]]);
177
177
  export {
178
178
  X as default
179
179
  };
@@ -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-CMJlzLAj.js";
3
+ import { u as b } from "./useSelect-CTPuy38a.js";
4
4
  const k = /* @__PURE__ */ f({
5
5
  __name: "Cascader",
6
6
  props: /* @__PURE__ */ g({
@@ -0,0 +1,101 @@
1
+ import { defineComponent as A, mergeModels as D, computed as f, useModel as L, watch as N, resolveComponent as i, resolveDirective as S, openBlock as n, createElementBlock as u, toDisplayString as $, Fragment as c, unref as d, withDirectives as I, createBlock as p, mergeProps as h, withCtx as g, renderList as k, createCommentVNode as C, createVNode as O } from "vue";
2
+ import "element-plus";
3
+ import { u as P, c as R } from "./index-YOMQLeuq.js";
4
+ import { u as U } from "./useSelect-CTPuy38a.js";
5
+ const j = { key: 0 }, E = { key: 1 }, Q = /* @__PURE__ */ A({
6
+ __name: "Checkbox",
7
+ props: /* @__PURE__ */ D({
8
+ options: { default: () => [] },
9
+ defaultOptions: {},
10
+ mode: { default: "static" },
11
+ labelKey: { default: "label" },
12
+ valueKey: { default: "value" },
13
+ disabledKey: {},
14
+ env: {},
15
+ apiParams: {},
16
+ dependentFields: {},
17
+ name: { default: "" },
18
+ onChange: {},
19
+ read: { type: Boolean },
20
+ readTextColor: {},
21
+ filters: {},
22
+ refreshFlag: { type: Boolean },
23
+ clearable: { type: Boolean },
24
+ width: {},
25
+ optionType: { default: "circle" },
26
+ direction: { default: "horizontal" },
27
+ space: { default: 20 },
28
+ trueValue: {},
29
+ falseValue: {},
30
+ checkboxLabel: {}
31
+ }, {
32
+ modelValue: { type: [Array, String, Number, Boolean] },
33
+ modelModifiers: {}
34
+ }),
35
+ emits: ["update:modelValue"],
36
+ setup(b) {
37
+ const V = f(() => t.read || K.schema.read), t = b, a = L(b, "modelValue"), K = P(), { currentOptions: r, selectChange: m, loading: B } = U(t), { ruleModule: v, pageMethodMap: M } = R(), y = (e) => {
38
+ if (m(e), t.onChange && v)
39
+ try {
40
+ v[t.onChange](M, e);
41
+ } catch (o) {
42
+ console.error(o + `
43
+ onChange: ${t.onChange}`);
44
+ }
45
+ }, T = f(() => r.value && r.value.length > 0 && a.value && Array.isArray(a.value) ? a.value.map((e) => {
46
+ var o;
47
+ return (o = r.value.find((s) => s[t.valueKey] === e)) == null ? void 0 : o[t.labelKey];
48
+ }).join("、") : a.value);
49
+ return N(a, m), (e, o) => {
50
+ const s = i("el-checkbox"), w = i("el-checkbox-button"), _ = i("el-space"), z = i("el-checkbox-group"), F = S("loading");
51
+ return V.value ? (n(), u("div", j, $(T.value || "--"), 1)) : (n(), u(c, { key: 1 }, [
52
+ d(r) && d(r).length > 0 ? I((n(), p(z, h({ key: 0 }, e.$attrs, {
53
+ modelValue: a.value,
54
+ "onUpdate:modelValue": o[0] || (o[0] = (l) => a.value = l),
55
+ onChange: y
56
+ }), {
57
+ default: g(() => [
58
+ e.optionType === "circle" || e.optionType === "border" ? (n(!0), u(c, { key: 0 }, k(d(r), (l) => (n(), p(s, {
59
+ key: l[e.valueKey],
60
+ label: l[e.labelKey],
61
+ value: l[e.valueKey],
62
+ disabled: l.disabled,
63
+ border: e.optionType === "border"
64
+ }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : C("", !0),
65
+ e.optionType === "button" ? (n(), p(_, {
66
+ key: 1,
67
+ wrap: "",
68
+ size: [e.space, e.space]
69
+ }, {
70
+ default: g(() => [
71
+ (n(!0), u(c, null, k(d(r), (l) => (n(), p(w, {
72
+ key: l[e.valueKey],
73
+ label: l[e.labelKey],
74
+ value: l[e.valueKey],
75
+ disabled: l.disabled,
76
+ size: "large"
77
+ }, null, 8, ["label", "value", "disabled"]))), 128))
78
+ ]),
79
+ _: 1
80
+ }, 8, ["size"])) : C("", !0)
81
+ ]),
82
+ _: 1
83
+ }, 16, ["modelValue"])), [
84
+ [F, d(B)]
85
+ ]) : (n(), u("div", E, [
86
+ O(s, h(e.$attrs, {
87
+ label: e.checkboxLabel,
88
+ modelValue: a.value,
89
+ "onUpdate:modelValue": o[1] || (o[1] = (l) => a.value = l),
90
+ "true-value": e.trueValue,
91
+ "false-value": e.falseValue,
92
+ onChange: y
93
+ }), null, 16, ["label", "modelValue", "true-value", "false-value"])
94
+ ]))
95
+ ], 64));
96
+ };
97
+ }
98
+ });
99
+ export {
100
+ Q as default
101
+ };
@@ -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-DaDLGgms.js";
2
+ import { b as y } from "./index-YOMQLeuq.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-DaDLGgms.js";
2
+ import { u as V } from "./index-YOMQLeuq.js";
3
3
  import "element-plus";
4
4
  const B = /* @__PURE__ */ d({
5
5
  __name: "Component",
@@ -1,6 +1,6 @@
1
- import { defineComponent as $, mergeModels as z, useModel as E, ref as I, resolveComponent as B, openBlock as o, createElementBlock as t, Fragment as d, createVNode as c, normalizeClass as L, createSlots as N, withCtx as g, createTextVNode as h, createElementVNode as s, createBlock as f, toDisplayString as u, createCommentVNode as m, unref as O, renderList as T } from "vue";
1
+ import { defineComponent as $, mergeModels as z, useModel as E, ref as I, resolveComponent as B, openBlock as t, createElementBlock as o, Fragment as d, createVNode as p, normalizeClass as L, createSlots as N, withCtx as g, createTextVNode as h, createElementVNode as s, createBlock as f, toDisplayString as u, createCommentVNode as m, unref as O, renderList as T } from "vue";
2
2
  import { genFileId as R, ElMessage as j, ElMessageBox as P } from "element-plus";
3
- import { c as q, I as p, a as A, _ as G } from "./index-DaDLGgms.js";
3
+ import { c as q, I as c, a as A, _ as G } from "./index-YOMQLeuq.js";
4
4
  const H = {
5
5
  key: 0,
6
6
  class: "smallDragStyle-text"
@@ -15,6 +15,7 @@ const H = {
15
15
  props: /* @__PURE__ */ z({
16
16
  action: {},
17
17
  multiple: { type: Boolean },
18
+ accept: {},
18
19
  btnText: { default: "点击上传" },
19
20
  tip: {},
20
21
  limit: {},
@@ -57,9 +58,9 @@ const H = {
57
58
  l !== -1 && r.value.splice(l, 1);
58
59
  }, S = (e, l) => {
59
60
  console.log(e, l);
60
- }, _ = (e) => {
61
+ }, M = (e) => {
61
62
  console.log(e);
62
- }, y = I(), M = (e, l) => {
63
+ }, y = I(), U = (e, l) => {
63
64
  if (n.isOnlyOne && n.limit === 1) {
64
65
  y.value.clearFiles();
65
66
  const i = e[0];
@@ -68,14 +69,14 @@ const H = {
68
69
  j.warning(
69
70
  `The limit is ${n.limit}, you selected ${e.length} files this time, add up to ${e.length + l.length} totally`
70
71
  );
71
- }, U = (e, l) => n.beforeUpload ? !1 : P.confirm(`Cancel the transfer of ${e.name} ?`).then(
72
+ }, _ = (e, l) => n.beforeUpload ? !1 : P.confirm(`Cancel the transfer of ${e.name} ?`).then(
72
73
  () => !0,
73
74
  () => !1
74
75
  );
75
76
  return (e, l) => {
76
77
  const i = B("el-button"), F = B("el-upload");
77
- return o(), t(d, null, [
78
- c(F, {
78
+ return t(), o(d, null, [
79
+ p(F, {
79
80
  "file-list": r.value,
80
81
  "onUpdate:fileList": l[0] || (l[0] = (a) => r.value = a),
81
82
  action: e.action,
@@ -84,25 +85,26 @@ const H = {
84
85
  drag: e.drag,
85
86
  name: e.name,
86
87
  listType: e.listType,
88
+ accept: e.accept,
87
89
  "show-file-list": e.showFileList,
88
- "on-preview": _,
90
+ "on-preview": M,
89
91
  "on-remove": S,
90
- "before-remove": U,
92
+ "before-remove": _,
91
93
  "before-upload": w,
92
94
  "on-change": D,
93
- "on-exceed": M,
95
+ "on-exceed": U,
94
96
  class: L({ dragUpload: e.drag, smallDragStyle: e.smallDragStyle }),
95
97
  ref_key: "upload",
96
98
  ref: y
97
99
  }, N({
98
100
  default: g(() => [
99
- e.listType === "text" ? (o(), t(d, { key: 0 }, [
100
- e.drag ? (o(), t(d, { key: 0 }, [
101
- e.smallDragStyle ? (o(), t("div", H, l[1] || (l[1] = [
101
+ e.listType === "text" ? (t(), o(d, { key: 0 }, [
102
+ e.drag ? (t(), o(d, { key: 0 }, [
103
+ e.smallDragStyle ? (t(), o("div", H, l[1] || (l[1] = [
102
104
  h("Drop file here or "),
103
105
  s("span", null, "click to upload", -1)
104
- ]))) : (o(), t(d, { key: 1 }, [
105
- c(p, {
106
+ ]))) : (t(), o(d, { key: 1 }, [
107
+ p(c, {
106
108
  name: "icon-shangchuan",
107
109
  color: "var(--el-color-primary)"
108
110
  }),
@@ -111,7 +113,7 @@ const H = {
111
113
  s("em", null, "click to upload")
112
114
  ], -1))
113
115
  ], 64))
114
- ], 64)) : (o(), f(i, {
116
+ ], 64)) : (t(), f(i, {
115
117
  key: 1,
116
118
  type: "primary"
117
119
  }, {
@@ -121,7 +123,7 @@ const H = {
121
123
  _: 1
122
124
  }))
123
125
  ], 64)) : m("", !0),
124
- e.listType === "picture-card" ? (o(), f(O(A), {
126
+ e.listType === "picture-card" ? (t(), f(O(A), {
125
127
  key: 1,
126
128
  name: "add"
127
129
  })) : m("", !0)
@@ -135,19 +137,19 @@ const H = {
135
137
  ]),
136
138
  key: "0"
137
139
  } : void 0
138
- ]), 1032, ["file-list", "action", "multiple", "limit", "drag", "name", "listType", "show-file-list", "class"]),
139
- e.drag && r.value.length > 0 ? (o(), t("div", K, [
140
- e.smallDragStyle ? (o(), t("div", Q, [
141
- (o(!0), t(d, null, T(r.value, (a) => (o(), t("div", {
140
+ ]), 1032, ["file-list", "action", "multiple", "limit", "drag", "name", "listType", "accept", "show-file-list", "class"]),
141
+ e.drag && r.value.length > 0 ? (t(), o("div", K, [
142
+ e.smallDragStyle ? (t(), o("div", Q, [
143
+ (t(!0), o(d, null, T(r.value, (a) => (t(), o("div", {
142
144
  class: "file-item",
143
145
  key: a.uid
144
146
  }, [
145
- c(p, {
147
+ p(c, {
146
148
  name: "icon-fujian",
147
149
  size: "small"
148
150
  }),
149
151
  s("div", W, u(a.name), 1),
150
- e.clearable ? (o(), f(p, {
152
+ e.clearable ? (t(), f(c, {
151
153
  key: 0,
152
154
  name: "icon-guanbi",
153
155
  class: "file-item-close",
@@ -155,14 +157,14 @@ const H = {
155
157
  onClick: (V) => C(a)
156
158
  }, null, 8, ["onClick"])) : m("", !0)
157
159
  ]))), 128))
158
- ])) : (o(), t(d, { key: 1 }, [
160
+ ])) : (t(), o(d, { key: 1 }, [
159
161
  s("div", null, u(e.attachmentTitle), 1),
160
162
  s("div", X, [
161
- (o(!0), t(d, null, T(r.value, (a) => (o(), t("div", {
163
+ (t(!0), o(d, null, T(r.value, (a) => (t(), o("div", {
162
164
  class: "file-item",
163
165
  key: a.uid
164
166
  }, [
165
- c(p, {
167
+ p(c, {
166
168
  name: "icon-fujiantubiao1",
167
169
  size: "ultra-large"
168
170
  }),
@@ -170,7 +172,7 @@ const H = {
170
172
  class: "file-item-name",
171
173
  title: a.name
172
174
  }, u(a.name), 9, Y),
173
- e.clearable ? (o(), f(p, {
175
+ e.clearable ? (t(), f(c, {
174
176
  key: 0,
175
177
  name: "icon-guanbi",
176
178
  class: "file-item-close",
@@ -184,7 +186,7 @@ const H = {
184
186
  ], 64);
185
187
  };
186
188
  }
187
- }), oe = /* @__PURE__ */ G(Z, [["__scopeId", "data-v-fc2c20e2"]]);
189
+ }), te = /* @__PURE__ */ G(Z, [["__scopeId", "data-v-cf510f7a"]]);
188
190
  export {
189
- oe as default
191
+ te as default
190
192
  };
@@ -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-DaDLGgms.js";
5
+ import { u as x, _ as S } from "./index-YOMQLeuq.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,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-DaDLGgms.js";
2
+ import { _ as H, u as K, d as Q } from "./index-YOMQLeuq.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__ */ $({
@@ -0,0 +1,45 @@
1
+ import { defineComponent as g, mergeModels as f, useModel as y, computed as v, inject as l, resolveComponent as C, openBlock as s, createElementBlock as M, toDisplayString as k, createBlock as V, mergeProps as B } from "vue";
2
+ import { u as K } from "./index-YOMQLeuq.js";
3
+ import "element-plus";
4
+ const b = { key: 0 }, E = /* @__PURE__ */ g({
5
+ __name: "Component",
6
+ props: /* @__PURE__ */ f({
7
+ min: {},
8
+ read: { type: Boolean },
9
+ precision: {},
10
+ onChange: {}
11
+ }, {
12
+ modelValue: {},
13
+ modelModifiers: {}
14
+ }),
15
+ emits: ["update:modelValue"],
16
+ setup(r) {
17
+ const n = y(r, "modelValue"), i = K(), p = v(() => i.schema.read), t = r, a = l("ruleModule", void 0), m = l("pageMethodMap", {}), d = (e) => {
18
+ ["E", "e", "+", "-"].includes(e.key) && e.preventDefault();
19
+ }, u = (e) => {
20
+ if (t.onChange && a)
21
+ try {
22
+ a[t.onChange](m, e);
23
+ } catch (o) {
24
+ console.error(o + `
25
+ onChange: ${t.onChange}`);
26
+ }
27
+ };
28
+ return (e, o) => {
29
+ const c = C("el-input-number");
30
+ return e.read || p.value ? (s(), M("span", b, k(typeof n.value == "number" ? n.value.toFixed(e.precision || 0).replace(".", ",") : "--"), 1)) : (s(), V(c, B({ key: 1 }, e.$attrs, {
31
+ modelValue: n.value,
32
+ "onUpdate:modelValue": o[0] || (o[0] = (h) => n.value = h),
33
+ style: { width: "100%" },
34
+ min: e.min || 0,
35
+ onKeydown: d,
36
+ onChange: u,
37
+ "controls-position": "right",
38
+ precision: e.precision || 0
39
+ }), null, 16, ["modelValue", "min", "precision"]));
40
+ };
41
+ }
42
+ });
43
+ export {
44
+ E as default
45
+ };
@@ -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, f as X, _ as Y } from "./index-DaDLGgms.js";
2
+ import { u as Q, I as h, b as V, B as W, f as X, _ as Y } from "./index-YOMQLeuq.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-2844549a"]]);
211
+ }), de = /* @__PURE__ */ Y(te, [["__scopeId", "data-v-48b3bde7"]]);
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-YOMQLeuq.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-DaDLGgms.js";
3
+ import { u as B } from "./index-YOMQLeuq.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 q, toRefs as A, openBlock as R, createElementBlock as O, normalizeStyle as ne, renderSlot as X, Fragment as se, renderList as ue, createBlock as K, mergeProps as de, withCtx as Q, withDirectives as ce, createVNode as Z, vShow as me, mergeModels as ge, useModel as pe, onUnmounted as ye, unref as Y, readonly as j } from "vue";
2
- import { w as ve, m as fe, n as he, o as k, T as we, v as xe, p as C, A as Be, q as G, x as be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as P, V as Se, c as ze, i as Re, b as Ie, _ as Ne } from "./index-DaDLGgms.js";
2
+ import { w as ve, m as fe, n as he, o as k, T as we, v as xe, p as C, A as be, q as G, x as Be, L as ke, y as Ce, r as De, Y as Le, s as Me, t as P, V as Se, c as ze, i as Re, b as Ie, _ as Ne } from "./index-YOMQLeuq.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, g, 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: S, x: f, y: B }) => ({
179
- ...b,
180
- [S]: { x: f, y: B }
178
+ (B, { i: S, x: f, y: b }) => ({
179
+ ...B,
180
+ [S]: { 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 = g, 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, g, 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 S = ke(o.value, { ...l, w: p, h: g }).filter(
195
195
  (f) => f.i !== l.i
196
196
  );
197
- if (b = S.length > 0, b) {
198
- let f = 1 / 0, B = 1 / 0;
197
+ if (B = S.length > 0, B) {
198
+ let f = 1 / 0, b = 1 / 0;
199
199
  S.forEach((z) => {
200
- z.x > l.x && (f = Math.min(f, z.x)), z.y > l.y && (B = Math.min(B, z.y));
201
- }), Number.isFinite(f) && (l.w = f - l.x), Number.isFinite(B) && (l.h = B - l.y);
200
+ z.x > l.x && (f = Math.min(f, z.x)), z.y > l.y && (b = Math.min(b, z.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 = g), 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 = g), 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 U, ref as o, readonly as D, onUnmounted as E, watch as L, onMounted as N, resolveComponent as p, openBlock as m, createElementBlock as T, createElementVNode as i, createVNode as s, withKeys as j, withModifiers as $, withCtx as h, toDisplayString as q, normalizeStyle as A, Fragment as G, renderList as H, createBlock as J, normalizeClass as O, withDirectives as P, unref as Q, vShow as X, nextTick as Y } from "vue";
2
- import { c as Z, i as ee, I as x, b as le, _ as ae } from "./index-DaDLGgms.js";
2
+ import { c as Z, i as ee, I as x, b as le, _ as ae } from "./index-YOMQLeuq.js";
3
3
  import "element-plus";
4
4
  const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
5
5
  __name: "FilterSearch",
@@ -143,7 +143,7 @@ const te = { class: "filter-search-header" }, ne = /* @__PURE__ */ U({
143
143
  ]);
144
144
  };
145
145
  }
146
- }), ce = /* @__PURE__ */ ae(ne, [["__scopeId", "data-v-dd8b9ec3"]]);
146
+ }), ce = /* @__PURE__ */ ae(ne, [["__scopeId", "data-v-b0751bd0"]]);
147
147
  export {
148
148
  ce as default
149
149
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as K, ref as g, computed as R, onUnmounted as U, resolveComponent as B, withDirectives as D, openBlock as c, createElementBlock as v, createElementVNode as t, createVNode as a, withKeys as J, withCtx as d, createTextVNode as L, toDisplayString as Y, unref as O, vShow as $, Fragment as Q, renderList as W, createBlock as q, createCommentVNode as I } from "vue";
2
- import { c as X, u as Z, f as P, i as ee, I as m, b as oe, _ as ne } from "./index-DaDLGgms.js";
2
+ import { c as X, u as Z, f as P, i as ee, I as m, b as oe, _ as ne } from "./index-YOMQLeuq.js";
3
3
  import { dayjs as le } from "element-plus";
4
4
  const te = { class: "float-curd" }, ae = { class: "curd-body" }, se = { class: "gradient-input-wrapper" }, re = { class: "float-form" }, ie = { class: "float-form-header" }, ce = { class: "float-form-header-title" }, ue = { class: "float-form-header-btns" }, de = { class: "float-form-body" }, me = { class: "curd-footer" }, fe = ["innerHTML"], pe = ["title"], ve = /* @__PURE__ */ K({
5
5
  __name: "FloatCurd",
@@ -179,7 +179,7 @@ const te = { class: "float-curd" }, ae = { class: "curd-body" }, se = { class: "
179
179
  ]);
180
180
  };
181
181
  }
182
- }), Ce = /* @__PURE__ */ ne(ve, [["__scopeId", "data-v-5048f903"]]);
182
+ }), Ce = /* @__PURE__ */ ne(ve, [["__scopeId", "data-v-436e0489"]]);
183
183
  export {
184
184
  Ce as default
185
185
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as F, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as h, unref as _, createBlock as s, Fragment as g, renderList as $, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as M, createCommentVNode as y, toDisplayString as D, createTextVNode as O, h as Q } from "vue";
2
- import { u as U, l as w, e as W, F as R, a as L, h as X } from "./index-DaDLGgms.js";
2
+ import { u as U, l as w, e as W, F as R, a as L, h as X } from "./index-YOMQLeuq.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-DaDLGgms.js";
2
+ import { b as g } from "./index-YOMQLeuq.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 b } from "./index-DaDLGgms.js";
2
+ import { c as u, b as y, _ as h } from "./index-YOMQLeuq.js";
3
3
  import "element-plus";
4
- const h = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
4
+ const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
5
5
  __name: "InfiniteScroll",
6
6
  props: {
7
7
  children: {},
@@ -27,12 +27,12 @@ const h = ["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, h)), [
30
+ ], 12, b)), [
31
31
  [r, n]
32
32
  ]);
33
33
  };
34
34
  }
35
- }), M = /* @__PURE__ */ b(v, [["__scopeId", "data-v-65b0b3cf"]]);
35
+ }), M = /* @__PURE__ */ h(v, [["__scopeId", "data-v-6746ff5d"]]);
36
36
  export {
37
37
  M as default
38
38
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, computed as o, openBlock as r, createElementBlock as i, normalizeStyle as p, createVNode as s, unref as c } from "vue";
2
- import { b as m, _ as f } from "./index-DaDLGgms.js";
2
+ import { b as m, _ as u } from "./index-YOMQLeuq.js";
3
3
  import "element-plus";
4
- const u = /* @__PURE__ */ l({
4
+ const f = /* @__PURE__ */ l({
5
5
  __name: "Inline",
6
6
  props: {
7
7
  children: {},
@@ -29,7 +29,7 @@ const u = /* @__PURE__ */ l({
29
29
  s(c(m), { list: a.children }, null, 8, ["list"])
30
30
  ], 4));
31
31
  }
32
- }), x = /* @__PURE__ */ f(u, [["__scopeId", "data-v-50b97afb"]]);
32
+ }), x = /* @__PURE__ */ u(f, [["__scopeId", "data-v-8ba696e7"]]);
33
33
  export {
34
34
  x as default
35
35
  };