asiaint-lowcode 3.1.87 → 3.1.89

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 (42) hide show
  1. package/dist/asiaint-lowcode.js +6 -5
  2. package/dist/asiaint-lowcode.umd.cjs +169 -168
  3. package/dist/index.d.ts +12 -0
  4. package/dist/lazy/{Card-BEml_0K4.js → Card-CwWQS71c.js} +1 -1
  5. package/dist/lazy/{Cascader-BOEL8leW.js → Cascader-D4GFKg1c.js} +1 -1
  6. package/dist/lazy/{Checkbox-BohfIHWT.js → Checkbox-BpZeA0Qu.js} +2 -2
  7. package/dist/lazy/{Collapse-D3rSlIIe.js → Collapse-D8E1pN0d.js} +1 -1
  8. package/dist/lazy/{Component-BsajZs7j.js → Component-B9TS96cw.js} +1 -1
  9. package/dist/lazy/{Component-B1JFbbXp.js → Component-BR-cyhqo.js} +8 -8
  10. package/dist/lazy/{Component-D6TzL4ye.js → Component-BhsOJEj5.js} +1 -1
  11. package/dist/lazy/{Component-ssj_sB2Q.js → Component-BtHsUPVb.js} +1 -1
  12. package/dist/lazy/{Component-C9Tnwx9E.js → Component-DTxU0Y1L.js} +1 -1
  13. package/dist/lazy/{Component-DxFl702g.js → Component-OJ3zIbOb.js} +1 -1
  14. package/dist/lazy/{CurdCard-7VXKq98j.js → CurdCard-B1X72wR8.js} +1 -1
  15. package/dist/lazy/{Custom-De1K8eu2.js → Custom-D8dtTjQd.js} +1 -1
  16. package/dist/lazy/{DatePicker-Cnwzka9Q.js → DatePicker-BexoDPL8.js} +1 -1
  17. package/dist/lazy/{DragList-DNlH6xc_.js → DragList-CY0K8r8S.js} +40 -40
  18. package/dist/lazy/{FilterSearch-CawqnN3-.js → FilterSearch-Crf1Kib-.js} +16 -16
  19. package/dist/lazy/{FloatCurd-Bfbx0pNz.js → FloatCurd-mr3HjgYk.js} +9 -9
  20. package/dist/lazy/{FormList-CnLGFRE8.js → FormList-DvcxSqoA.js} +46 -46
  21. package/dist/lazy/{Grid-BPpDwCZf.js → Grid-Bnv4gTUf.js} +1 -1
  22. package/dist/lazy/{InfiniteScroll-C5qR1y-e.js → InfiniteScroll-BMRsw9k9.js} +1 -1
  23. package/dist/lazy/{Inline-BCmcJrtp.js → Inline--_SvU5c1.js} +1 -1
  24. package/dist/lazy/{JsonEdit-Cry77PP2.js → JsonEdit-ivS6nHEq.js} +1 -1
  25. package/dist/lazy/{LogList-DV9x0l-4.js → LogList-B-2fTZdQ.js} +1 -1
  26. package/dist/lazy/ObjGroup-BKtbvPti.js +32 -0
  27. package/dist/lazy/{OfferDetails-BXkuopGM.js → OfferDetails-Butt8aFh.js} +1 -1
  28. package/dist/lazy/{Pagination-Ddo_VXm7.js → Pagination-BIRnMYmE.js} +4 -4
  29. package/dist/lazy/{Progress-1tMu1q7F.js → Progress-DZm-xeO5.js} +1 -1
  30. package/dist/lazy/{Radio-vC5wToSi.js → Radio-i_Ru5ao8.js} +2 -2
  31. package/dist/lazy/{SearchSelect-D6ryeTSr.js → SearchSelect-CHTbceLY.js} +2 -2
  32. package/dist/lazy/{Select-DqKoRkw2.js → Select-DGWeMv9K.js} +2 -2
  33. package/dist/lazy/{Table-C8Y6Sz0f.js → Table-D-QsIp_Q.js} +1 -1
  34. package/dist/lazy/{Tabs-B8Zya2C4.js → Tabs-CsiBv6K6.js} +1 -1
  35. package/dist/lazy/TextArea-BrZkXojB.js +37 -0
  36. package/dist/lazy/{Wrapper-qHEwy0M0.js → Wrapper-CwF7dV0F.js} +1 -1
  37. package/dist/lazy/{index-CzvMY4Xl.js → index-VBiXND-K.js} +4549 -4529
  38. package/dist/lazy/{useSelect-IZjFrN2T.js → useSelect-4TkEWg19.js} +1 -1
  39. package/dist/style.css +1 -1
  40. package/package.json +1 -1
  41. package/dist/lazy/ObjGroup-B9H0Nyct.js +0 -32
  42. package/dist/lazy/TextArea-CjuCf5PU.js +0 -34
@@ -1,5 +1,5 @@
1
- import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
2
- import { u as U, l as w, e as W, h as V, a as L, i as X } from "./index-CzvMY4Xl.js";
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 _, openBlock as l, createElementBlock as y, unref as m, createBlock as s, Fragment as g, renderList as $, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as M, createCommentVNode as b, 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-VBiXND-K.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",
@@ -18,15 +18,15 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
18
18
  modelModifiers: {}
19
19
  }),
20
20
  emits: ["update:modelValue"],
21
- setup(z) {
22
- const f = z, a = G(z, "modelValue"), A = T(0), N = U(), B = (e) => X(f.children, { $item: a.value[e], $index: e }), D = M(() => a.value.length >= f.maxLines), E = M(() => a.value.length <= f.minLines), q = () => {
23
- D.value || (a.value = [...a.value, {}]);
24
- }, I = (e) => {
21
+ setup(V) {
22
+ const f = V, a = G(V, "modelValue"), z = T(0), N = U(), B = (e) => X(f.children, { $item: a.value[e], $index: e }), A = F(() => a.value.length >= f.maxLines), I = F(() => a.value.length <= f.minLines), q = () => {
23
+ A.value || (a.value = [...a.value, {}]);
24
+ }, E = (e) => {
25
25
  const p = a.value.filter((i, o) => o !== e);
26
26
  a.value = p;
27
27
  }, P = (e, p, i, o) => {
28
28
  const k = p.no, h = B(o)[k];
29
- return Q(V, {
29
+ return Q(R, {
30
30
  ...h,
31
31
  hideLabel: !0,
32
32
  style: { marginBottom: 0 },
@@ -34,15 +34,15 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
34
34
  });
35
35
  };
36
36
  return H(a, (e, p) => {
37
- const i = e.reduce((t, d, n) => (w.isEqual(d, p[n]) || (t = n), t), 0);
38
- if (A.value = i, !f.children.some((t) => t.change)) return;
37
+ const i = e.reduce((n, d, t) => (w.isEqual(d, p[t]) || (n = t), n), 0);
38
+ if (z.value = i, !f.children.some((n) => n.change)) return;
39
39
  const o = B(i), k = e[i] || {}, h = p[i] || {};
40
- o.forEach((t) => {
41
- t.change && h && !w.isEqual(k[t.name], h[t.name]) && t.change.forEach((d) => {
40
+ o.forEach((n) => {
41
+ n.change && h && !w.isEqual(k[n.name], h[n.name]) && n.change.forEach((d) => {
42
42
  if (d.condition !== !1) {
43
43
  if (w.isString(d.condition) && /^{{\s*(.*?)\s*}}$/.test(d.condition)) return;
44
- const n = d.target.split(".").pop();
45
- a.value[i][n] = d.value;
44
+ const t = d.target.split(".").pop();
45
+ a.value[i][t] = d.value;
46
46
  }
47
47
  });
48
48
  });
@@ -51,24 +51,24 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
51
51
  f.minLines && !((e = a.value) != null && e.length) && (a.value = Array.from({ length: f.minLines }, () => ({})));
52
52
  }), K(
53
53
  "$objGroupBase",
54
- M(() => `${f.name}.${A.value}`)
54
+ F(() => `${f.name}.${z.value}`)
55
55
  ), (e, p) => {
56
- const i = b("el-space"), o = b("el-button"), k = b("el-form-item"), h = b("el-card"), t = b("el-table-column"), d = b("el-table");
57
- return l(), _("div", Y, [
56
+ const i = _("el-space"), o = _("el-button"), k = _("el-form-item"), h = _("el-card"), n = _("el-table-column"), d = _("el-table");
57
+ return l(), y("div", Y, [
58
58
  m(N).design ? (l(), s(m(W), {
59
59
  key: 0,
60
60
  list: e.children,
61
61
  class: "layoutRender"
62
- }, null, 8, ["list"])) : (l(), _("div", Z, [
63
- e.mode === "inline" ? (l(!0), _($, { key: 0 }, g(a.value, (n, u) => (l(), s(k, {
64
- key: n.key,
62
+ }, null, 8, ["list"])) : (l(), y("div", Z, [
63
+ e.mode === "inline" ? (l(!0), y(g, { key: 0 }, $(a.value, (t, u) => (l(), s(k, {
64
+ key: t.key,
65
65
  class: "list-item"
66
66
  }, {
67
67
  default: r(() => [
68
68
  C("div", x, [
69
69
  v(i, null, {
70
70
  default: r(() => [
71
- (l(!0), _($, null, g(B(u), (c) => (l(), s(m(V), R({ ref_for: !0 }, c, {
71
+ (l(!0), y(g, null, $(B(u), (c) => (l(), s(m(R), M({ ref_for: !0 }, c, {
72
72
  key: c.label,
73
73
  name: `${e.name}.${u}.${c.name}`,
74
74
  hideLabel: ""
@@ -76,9 +76,9 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
76
76
  ]),
77
77
  _: 2
78
78
  }, 1024),
79
- e.allowReduce && !E.value ? (l(), s(o, {
79
+ e.allowReduce && !I.value ? (l(), s(o, {
80
80
  key: 0,
81
- onClick: (c) => I(u),
81
+ onClick: (c) => E(u),
82
82
  circle: "",
83
83
  type: "primary",
84
84
  class: "list-btn reduceBtn",
@@ -92,21 +92,21 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
92
92
  })
93
93
  ]),
94
94
  _: 2
95
- }, 1032, ["onClick", "disabled"])) : y("", !0)
95
+ }, 1032, ["onClick", "disabled"])) : b("", !0)
96
96
  ])
97
97
  ]),
98
98
  _: 2
99
- }, 1024))), 128)) : y("", !0),
100
- e.mode === "card" ? (l(!0), _($, { key: 1 }, g(a.value, (n, u) => (l(), s(h, {
101
- key: n.key,
99
+ }, 1024))), 128)) : b("", !0),
100
+ e.mode === "card" ? (l(!0), y(g, { key: 1 }, $(a.value, (t, u) => (l(), s(h, {
101
+ key: t.key,
102
102
  class: "list-card"
103
103
  }, {
104
104
  header: r(() => [
105
105
  C("div", ee, [
106
- C("span", null, F(e.title + (u + 1)), 1),
107
- e.allowReduce && !E.value ? (l(), s(o, {
106
+ C("span", null, D(e.title + (u + 1)), 1),
107
+ e.allowReduce && !I.value ? (l(), s(o, {
108
108
  key: 0,
109
- onClick: (c) => I(u),
109
+ onClick: (c) => E(u),
110
110
  circle: "",
111
111
  type: "primary",
112
112
  class: "list-btn reduceBtn",
@@ -120,38 +120,38 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
120
120
  })
121
121
  ]),
122
122
  _: 2
123
- }, 1032, ["onClick", "disabled"])) : y("", !0)
123
+ }, 1032, ["onClick", "disabled"])) : b("", !0)
124
124
  ])
125
125
  ]),
126
126
  default: r(() => [
127
- (l(!0), _($, null, g(B(u), (c) => (l(), s(m(V), R({ ref_for: !0 }, c, {
127
+ (l(!0), y(g, null, $(B(u), (c) => (l(), s(m(R), M({ ref_for: !0 }, c, {
128
128
  key: c.label,
129
129
  class: "list-card-item",
130
130
  name: `${e.name}.${u}.${c.name}`
131
131
  }), null, 16, ["name"]))), 128))
132
132
  ]),
133
133
  _: 2
134
- }, 1024))), 128)) : y("", !0),
134
+ }, 1024))), 128)) : b("", !0),
135
135
  e.mode === "table" && a.value.length ? (l(), s(d, {
136
136
  key: 2,
137
137
  data: a.value,
138
138
  style: { width: "100%" }
139
139
  }, {
140
140
  default: r(() => [
141
- (l(!0), _($, null, g(e.children, (n) => (l(), s(t, R({
142
- prop: n.name,
143
- label: n.label,
144
- key: n.name,
141
+ (l(!0), y(g, null, $(e.children, (t) => (l(), s(n, M({
142
+ prop: t.name,
143
+ label: t.label,
144
+ key: t.name,
145
145
  ref_for: !0
146
- }, m(w.pickBy)(n, Boolean), { formatter: P }), null, 16, ["prop", "label"]))), 128)),
147
- v(t, {
146
+ }, m(w.pickBy)(t, Boolean), { formatter: P }), null, 16, ["prop", "label"]))), 128)),
147
+ v(n, {
148
148
  fixed: "right",
149
149
  "min-width": "60"
150
150
  }, {
151
- default: r((n) => [
152
- e.allowReduce && !E.value ? (l(), s(o, {
151
+ default: r((t) => [
152
+ e.allowReduce && !I.value ? (l(), s(o, {
153
153
  key: 0,
154
- onClick: (u) => I(n.$index),
154
+ onClick: (u) => E(t.$index),
155
155
  circle: "",
156
156
  type: "primary",
157
157
  class: "list-btn reduceBtn",
@@ -163,15 +163,15 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
163
163
  v(m(L), { name: "reduce" })
164
164
  ]),
165
165
  _: 2
166
- }, 1032, ["onClick", "disabled"])) : y("", !0)
166
+ }, 1032, ["onClick", "disabled"])) : b("", !0)
167
167
  ]),
168
168
  _: 1
169
169
  })
170
170
  ]),
171
171
  _: 1
172
- }, 8, ["data"])) : y("", !0),
172
+ }, 8, ["data"])) : b("", !0),
173
173
  C("div", le, [
174
- e.allowAdd && !D.value ? (l(), s(o, {
174
+ e.allowAdd && !A.value ? (l(), s(o, {
175
175
  key: 0,
176
176
  onClick: q,
177
177
  type: "primary",
@@ -184,10 +184,10 @@ const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-con
184
184
  v(m(L), { name: "add" })
185
185
  ]),
186
186
  default: r(() => [
187
- O(" " + F(e.title), 1)
187
+ O(" " + D(e.title), 1)
188
188
  ]),
189
189
  _: 1
190
- }, 8, ["disabled"])) : y("", !0)
190
+ }, 8, ["disabled"])) : b("", !0)
191
191
  ])
192
192
  ]))
193
193
  ]);
@@ -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-CzvMY4Xl.js";
2
+ import { b as g } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
4
  const x = /* @__PURE__ */ e({
5
5
  __name: "Grid",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, resolveDirective as c, withDirectives as a, openBlock as d, createElementBlock as f, normalizeStyle as p, createVNode as _, unref as m } from "vue";
2
- import { c as u, b as y, _ as h } from "./index-CzvMY4Xl.js";
2
+ import { c as u, b as y, _ as h } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
4
  const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
5
5
  __name: "InfiniteScroll",
@@ -1,5 +1,5 @@
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 u } from "./index-CzvMY4Xl.js";
2
+ import { b as m, _ as u } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
4
  const f = /* @__PURE__ */ l({
5
5
  __name: "Inline",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
2
- import { _ as xt, g as Nt } from "./index-CzvMY4Xl.js";
2
+ import { _ as xt, g as Nt } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
4
  const Mt = /* @__PURE__ */ At({
5
5
  __name: "Disabled",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as d, createElementVNode as s, normalizeStyle as i, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
2
- import { _ as y } from "./index-CzvMY4Xl.js";
2
+ import { _ as y } from "./index-VBiXND-K.js";
3
3
  const f = { class: "log-list" }, h = { class: "title-part" }, m = { class: "title" }, b = { class: "sub-title" }, k = { class: "content" }, C = { key: 0 }, L = /* @__PURE__ */ p({
4
4
  __name: "LogList",
5
5
  props: {
@@ -0,0 +1,32 @@
1
+ import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as r, createBlock as m, Fragment as _, renderList as b, mergeProps as j } from "vue";
2
+ import { u as $, e as h, F as k } from "./index-VBiXND-K.js";
3
+ import "element-plus";
4
+ const v = { class: "vfc-ObjGroup" }, B = {
5
+ key: 1,
6
+ class: "vfc-ObjGroup-render"
7
+ }, I = /* @__PURE__ */ p({
8
+ __name: "ObjGroup",
9
+ props: {
10
+ children: {},
11
+ name: {}
12
+ },
13
+ setup(u) {
14
+ const s = u, l = $(), t = i("$objGroupBase"), a = t ? `${t.value}.${s.name}` : s.name;
15
+ return d("$objGroupBase", f(a)), (c, G) => (e(), o("div", v, [
16
+ r(l).design ? (e(), m(r(h), {
17
+ key: 0,
18
+ list: c.children
19
+ }, null, 8, ["list"])) : (e(), o("div", B, [
20
+ (e(!0), o(_, null, b(c.children, (n) => (e(), m(r(k), j({
21
+ key: n.name,
22
+ ref_for: !0
23
+ }, n, {
24
+ name: `${r(a)}.${n.name}`
25
+ }), null, 16, ["name"]))), 128))
26
+ ]))
27
+ ]));
28
+ }
29
+ });
30
+ export {
31
+ I as default
32
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as D, resolveComponent as M, openBlock as l, createBlock as O, withCtx as T, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as b, toDisplayString as y, createCommentVNode as w, ref as E, inject as N, watchEffect as R, onMounted as S, normalizeStyle as $, unref as x } from "vue";
2
- import { m as A, $ as L, a as U, _ as z } from "./index-CzvMY4Xl.js";
2
+ import { k as A, $ as L, a as U, _ as z } from "./index-VBiXND-K.js";
3
3
  const F = { class: "content" }, K = { class: "product-list" }, V = { class: "attribute-list" }, j = {
4
4
  key: 0,
5
5
  class: "attribute-list-item"
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as y, ref as s, readonly as C, onUnmounted as v, resolveComponent as S, openBlock as h, createElementBlock as P, normalizeStyle as N, createVNode as _ } from "vue";
2
- import { c as B, j, _ as w } from "./index-CzvMY4Xl.js";
2
+ import { c as B, i as w, _ as M } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
- const M = /* @__PURE__ */ y({
4
+ const U = /* @__PURE__ */ y({
5
5
  __name: "Pagination",
6
6
  props: {
7
7
  pageSizes: {},
@@ -37,7 +37,7 @@ const M = /* @__PURE__ */ y({
37
37
  type: "pagination"
38
38
  });
39
39
  if (t.name) {
40
- const e = j(t.name, g);
40
+ const e = w(t.name, g);
41
41
  v(() => {
42
42
  e();
43
43
  });
@@ -64,7 +64,7 @@ const M = /* @__PURE__ */ y({
64
64
  ], 4);
65
65
  };
66
66
  }
67
- }), L = /* @__PURE__ */ w(M, [["__scopeId", "data-v-0cc06d1f"]]);
67
+ }), L = /* @__PURE__ */ M(U, [["__scopeId", "data-v-0cc06d1f"]]);
68
68
  export {
69
69
  L as default
70
70
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as a, withCtx as l, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
2
- import { I as v, a as C, _ as V } from "./index-CzvMY4Xl.js";
2
+ import { I as v, a as C, _ as V } from "./index-VBiXND-K.js";
3
3
  const y = { class: "progress" }, B = { class: "timeline-content" }, E = { class: "timeline-content__title" }, I = {
4
4
  key: 0,
5
5
  class: "empty-content"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as T, mergeModels as w, useModel as F, inject as g, resolveComponent as i, resolveDirective as S, openBlock as o, createElementBlock as c, toDisplayString as z, unref as u, withDirectives as I, createBlock as f, mergeProps as h, withCtx as K, createVNode as $, Fragment as C, renderList as k } from "vue";
2
- import { u as N, _ as O } from "./index-CzvMY4Xl.js";
3
- import { u as P } from "./useSelect-IZjFrN2T.js";
2
+ import { u as N, _ as O } from "./index-VBiXND-K.js";
3
+ import { u as P } from "./useSelect-4TkEWg19.js";
4
4
  const R = { key: 0 }, j = /* @__PURE__ */ T({
5
5
  __name: "Radio",
6
6
  props: /* @__PURE__ */ w({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, mergeModels as F, useModel as $, inject as K, resolveComponent as f, resolveDirective as A, openBlock as t, createElementBlock as i, toDisplayString as h, unref as u, withDirectives as I, createBlock as C, mergeProps as N, withCtx as y, Fragment as j, renderList as O, createTextVNode as P, createVNode as k } from "vue";
2
- import { u as T, a as E, _ as L } from "./index-CzvMY4Xl.js";
3
- import { u as U } from "./useSelect-IZjFrN2T.js";
2
+ import { u as T, a as E, _ as L } from "./index-VBiXND-K.js";
3
+ import { u as U } from "./useSelect-4TkEWg19.js";
4
4
  const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
5
5
  key: 1,
6
6
  class: "search-select-wrapper"
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as D, mergeModels as F, computed as f, useModel as J, inject as h, ref as x, watch as b, resolveComponent as V, openBlock as c, createElementBlock as C, normalizeStyle as A, toDisplayString as K, createBlock as M, mergeProps as E, unref as T, withCtx as m, createElementVNode as u, Fragment as $, renderList as j, createTextVNode as I } from "vue";
2
- import { u as P } from "./index-CzvMY4Xl.js";
3
- import { u as R } from "./useSelect-IZjFrN2T.js";
2
+ import { u as P } from "./index-VBiXND-K.js";
3
+ import { u as R } from "./useSelect-4TkEWg19.js";
4
4
  const z = { style: { "min-height": "32px" } }, q = /* @__PURE__ */ D({
5
5
  __name: "Select",
6
6
  props: /* @__PURE__ */ F({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Ze, computed as j, inject as U, ref as z, useTemplateRef as et, onMounted as tt, onActivated as nt, onBeforeUnmount as at, readonly as ot, toRefs as lt, onUnmounted as rt, resolveComponent as T, openBlock as r, createElementBlock as d, normalizeClass as $, createVNode as m, withCtx as v, createElementVNode as P, toDisplayString as w, unref as g, createCommentVNode as y, withDirectives as pe, createBlock as k, Fragment as _, renderList as de, normalizeStyle as J, withModifiers as ge, vShow as ve, mergeProps as it, nextTick as st } from "vue";
2
- import { $ as ut, i as I, k as ct, j as pt, a as dt, I as D, b as W, C as gt, _ as vt } from "./index-CzvMY4Xl.js";
2
+ import { $ as ut, h as I, j as ct, i as pt, a as dt, I as D, b as W, C as gt, _ as vt } from "./index-VBiXND-K.js";
3
3
  import { ElTable as ht, ElLoading as he, ElMessage as mt } from "element-plus";
4
4
  const yt = ["id"], ft = { class: "custom-slot" }, Ct = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as V, computed as I, watch as p, onMounted as L, resolveComponent as g, openBlock as t, createBlock as m, mergeProps as C, withCtx as i, createElementVNode as s, createElementBlock as o, Fragment as d, renderList as f, createVNode as y, createCommentVNode as c, toDisplayString as M, normalizeClass as E, unref as F } from "vue";
2
- import { c as $, I as h, b as z, _ as A } from "./index-CzvMY4Xl.js";
2
+ import { c as $, I as h, b as z, _ as A } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
4
  const D = { class: "right-icon-wrapper" }, P = { class: "dynamic-icon-wrapper" }, R = {
5
5
  key: 0,
@@ -0,0 +1,37 @@
1
+ import { defineComponent as u, mergeModels as i, useModel as _, computed as v, resolveComponent as f, openBlock as a, createElementBlock as n, createElementVNode as y, toDisplayString as r, createBlock as V, mergeProps as k } from "vue";
2
+ import { u as x, _ as B } from "./index-VBiXND-K.js";
3
+ import "element-plus";
4
+ const M = {
5
+ key: 0,
6
+ class: "special-read"
7
+ }, g = { class: "special-read-value" }, h = {
8
+ key: 1,
9
+ class: "textarea-read"
10
+ }, I = /* @__PURE__ */ u({
11
+ __name: "TextArea",
12
+ props: /* @__PURE__ */ i({
13
+ name: {},
14
+ read: { type: Boolean },
15
+ specialRead: { type: Boolean }
16
+ }, {
17
+ modelValue: {},
18
+ modelModifiers: {}
19
+ }),
20
+ emits: ["update:modelValue"],
21
+ setup(o) {
22
+ const e = _(o, "modelValue"), d = o, c = x(), t = v(() => d.read || c.schema.read);
23
+ return (l, s) => {
24
+ const m = f("el-input");
25
+ return l.specialRead && t.value ? (a(), n("div", M, [
26
+ y("div", g, r(e.value || "--"), 1)
27
+ ])) : t.value ? (a(), n("div", h, r(e.value || "--"), 1)) : (a(), V(m, k({ key: 2 }, l.$attrs, {
28
+ modelValue: e.value,
29
+ "onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
30
+ type: "textarea"
31
+ }), null, 16, ["modelValue"]));
32
+ };
33
+ }
34
+ }), E = /* @__PURE__ */ B(I, [["__scopeId", "data-v-5775c381"]]);
35
+ export {
36
+ E as default
37
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as f, resolveComponent as v, openBlock as a, createElementBlock as l, normalizeStyle as s, createVNode as r, withCtx as C, withDirectives as _, createElementVNode as g, normalizeClass as i, unref as x, createCommentVNode as c, vShow as B } from "vue";
2
- import { c as S, b, I as d, _ as k } from "./index-CzvMY4Xl.js";
2
+ import { c as S, b, I as d, _ as k } from "./index-VBiXND-K.js";
3
3
  import "element-plus";
4
4
  const E = {
5
5
  key: 0,