asiaint-lowcode 3.0.14 → 3.0.16
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.
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +144 -144
- package/dist/index.d.ts +14 -23
- package/dist/lazy/Card-DIBN4bRf.js +59 -0
- package/dist/lazy/CardList-DkwHDPNp.js +51 -0
- package/dist/lazy/CardListItem-DbXsd1_k.js +85 -0
- package/dist/lazy/{Cascader-CdcNT10v.js → Cascader-BZhmVWOO.js} +1 -1
- package/dist/lazy/{Checkbox-CJK0zpkP.js → Checkbox-B1TSYANT.js} +2 -2
- package/dist/lazy/{Collapse-R3V_-9Qy.js → Collapse-C8VWxgHp.js} +1 -1
- package/dist/lazy/{Component-BUukjBGQ.js → Component-CUa78qLF.js} +1 -1
- package/dist/lazy/{Component-CnZjiCoz.js → Component-Cmw2Jlj3.js} +1 -1
- package/dist/lazy/{Component-BZ3Z_bac.js → Component-CqAhbbGQ.js} +1 -1
- package/dist/lazy/Component-D-Eh8B-j.js +89 -0
- package/dist/lazy/{Component-DbJnyH6w.js → Component-DUuuNUxC.js} +1 -1
- package/dist/lazy/Component-HCqPaHwQ.js +68 -0
- package/dist/lazy/Component-NvoLQyab.js +34 -0
- package/dist/lazy/CurdCard-BSgF68nl.js +85 -0
- package/dist/lazy/{Custom-DY63ABbq.js → Custom-zNcfkvdD.js} +1 -1
- package/dist/lazy/DatePicker-sqHk1tuj.js +25 -0
- package/dist/lazy/{FormList-Df9RL7s7.js → FormList-ChQYp1l-.js} +1 -1
- package/dist/lazy/Grid-GCB39VOw.js +38 -0
- package/dist/lazy/{Inline-CdWL3Eo6.js → Inline-D1ZMiudr.js} +1 -1
- package/dist/lazy/{JsonEdit-RsSvMWDj.js → JsonEdit-BK25HRpb.js} +1 -1
- package/dist/lazy/{ObjGroup-BG6jqGua.js → ObjGroup-DLXLO2wj.js} +1 -1
- package/dist/lazy/OfferDetails-CKwTw0z4.js +95 -0
- package/dist/lazy/{Radio-BIji-gnQ.js → Radio-DoOsjG7K.js} +12 -12
- package/dist/lazy/{SearchSelect-CYLY81h9.js → SearchSelect-CktfCSrM.js} +27 -27
- package/dist/lazy/Select-DgAQhalx.js +76 -0
- package/dist/lazy/Table-C3PlF9J4.js +273 -0
- package/dist/lazy/{Tabs-B7G8h04a.js → Tabs-C7ZXJbOT.js} +1 -1
- package/dist/lazy/TextArea-DBUM3-2Q.js +25 -0
- package/dist/lazy/Wrapper-DIpJqF_p.js +22 -0
- package/dist/lazy/{index-6mpfROTy.js → index-BvOUGCFQ.js} +7690 -7491
- package/dist/lazy/{useSelect-C3fi7G2S.js → useSelect-BqqanrGo.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Card-CaWqhmgk.js +0 -77
- package/dist/lazy/Component-C4dBecYq.js +0 -32
- package/dist/lazy/Component-CiXpJ5wI.js +0 -70
- package/dist/lazy/Component-DO63yabq.js +0 -66
- package/dist/lazy/DatePicker-gDYjpGax.js +0 -11
- package/dist/lazy/Grid-08EF9A-O.js +0 -30
- package/dist/lazy/Select-C1vTDJWg.js +0 -78
- package/dist/lazy/TextArea-C0PEa3Es.js +0 -25
package/package.json
CHANGED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { defineComponent as w, ref as y, inject as i, resolveComponent as p, openBlock as l, createBlock as u, mergeProps as M, withCtx as t, createElementVNode as s, createElementBlock as d, createVNode as c, unref as m, normalizeClass as g, createCommentVNode as _, toDisplayString as h, Fragment as v, renderList as $, createTextVNode as B, Transition as E, withDirectives as V, vShow as N } from "vue";
|
|
2
|
-
import { _ as D, a as S, b as T } from "./index-6mpfROTy.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const j = { class: "card-header" }, x = { class: "card-btns" }, z = /* @__PURE__ */ w({
|
|
5
|
-
__name: "Card",
|
|
6
|
-
props: {
|
|
7
|
-
children: {},
|
|
8
|
-
collapsible: { type: Boolean },
|
|
9
|
-
header: {},
|
|
10
|
-
btns: {}
|
|
11
|
-
},
|
|
12
|
-
setup(F) {
|
|
13
|
-
const a = y(!1), n = i("ruleModule", void 0), C = i("pageMethodMap", {}), f = (e) => {
|
|
14
|
-
if (n && n[e])
|
|
15
|
-
try {
|
|
16
|
-
n[e](C);
|
|
17
|
-
} catch (r) {
|
|
18
|
-
console.error(r);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
return (e, r) => {
|
|
22
|
-
const k = p("el-button"), b = p("ElCard");
|
|
23
|
-
return l(), u(b, M(e.$attrs, {
|
|
24
|
-
class: "crm-card",
|
|
25
|
-
shadow: "never"
|
|
26
|
-
}), {
|
|
27
|
-
header: t(() => [
|
|
28
|
-
s("div", j, [
|
|
29
|
-
e.collapsible ? (l(), d("div", {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: "icon-wrapper",
|
|
32
|
-
onClick: r[0] || (r[0] = (o) => a.value = !a.value)
|
|
33
|
-
}, [
|
|
34
|
-
c(m(D), {
|
|
35
|
-
name: "dropdown",
|
|
36
|
-
class: g(["dropdown-icon", { "is-collapsed": a.value }])
|
|
37
|
-
}, null, 8, ["class"])
|
|
38
|
-
])) : _("", !0),
|
|
39
|
-
s("span", null, h(e.header), 1),
|
|
40
|
-
s("div", x, [
|
|
41
|
-
(l(!0), d(v, null, $(e.btns, (o) => (l(), d(v, {
|
|
42
|
-
key: o.key
|
|
43
|
-
}, [
|
|
44
|
-
o.hidden ? _("", !0) : (l(), u(k, {
|
|
45
|
-
key: 0,
|
|
46
|
-
onClick: (I) => f(o.onClick),
|
|
47
|
-
disabled: o.disabled
|
|
48
|
-
}, {
|
|
49
|
-
default: t(() => [
|
|
50
|
-
B(h(o.text), 1)
|
|
51
|
-
]),
|
|
52
|
-
_: 2
|
|
53
|
-
}, 1032, ["onClick", "disabled"]))
|
|
54
|
-
], 64))), 128))
|
|
55
|
-
])
|
|
56
|
-
])
|
|
57
|
-
]),
|
|
58
|
-
default: t(() => [
|
|
59
|
-
c(E, { name: "collapse" }, {
|
|
60
|
-
default: t(() => [
|
|
61
|
-
V(s("div", null, [
|
|
62
|
-
c(m(S), { list: e.children }, null, 8, ["list"])
|
|
63
|
-
], 512), [
|
|
64
|
-
[N, !a.value]
|
|
65
|
-
])
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
})
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}, 16);
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
}), A = /* @__PURE__ */ T(z, [["__scopeId", "data-v-de881994"]]);
|
|
75
|
-
export {
|
|
76
|
-
A as default
|
|
77
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, mergeModels as d, useModel as p, resolveComponent as i, unref as c, openBlock as t, createElementBlock as f, toDisplayString as y, createBlock as v, mergeProps as _ } from "vue";
|
|
2
|
-
import { u as k } from "./index-6mpfROTy.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const V = { key: 0 }, h = /* @__PURE__ */ u({
|
|
5
|
-
__name: "Component",
|
|
6
|
-
props: /* @__PURE__ */ d({
|
|
7
|
-
min: {},
|
|
8
|
-
read: { type: Boolean }
|
|
9
|
-
}, {
|
|
10
|
-
modelValue: {},
|
|
11
|
-
modelModifiers: {}
|
|
12
|
-
}),
|
|
13
|
-
emits: ["update:modelValue"],
|
|
14
|
-
setup(l) {
|
|
15
|
-
const n = p(l, "modelValue"), m = k(), r = (e) => {
|
|
16
|
-
["E", "e", "+", "-"].includes(e.key) && e.preventDefault();
|
|
17
|
-
};
|
|
18
|
-
return (e, o) => {
|
|
19
|
-
const a = i("el-input-number");
|
|
20
|
-
return c(m).schema.read || e.read ? (t(), f("span", V, y(n.value), 1)) : (t(), v(a, _({ key: 1 }, e.$attrs, {
|
|
21
|
-
modelValue: n.value,
|
|
22
|
-
"onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
|
|
23
|
-
style: { width: "100%" },
|
|
24
|
-
min: e.min || 0,
|
|
25
|
-
onKeydown: r
|
|
26
|
-
}), null, 16, ["modelValue", "min"]));
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
h as default
|
|
32
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, inject as m, resolveComponent as u, openBlock as a, createBlock as _, mergeProps as L, withCtx as k, createElementVNode as i, toDisplayString as C, createElementBlock as f, Fragment as h, renderList as b, unref as x, withModifiers as $, createTextVNode as B, createCommentVNode as V } from "vue";
|
|
2
|
-
import { f as w, b as E } from "./index-6mpfROTy.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const P = { class: "custom-tree-node" }, j = /* @__PURE__ */ g({
|
|
5
|
-
__name: "Component",
|
|
6
|
-
props: {
|
|
7
|
-
onNodeClick: {},
|
|
8
|
-
onLoad: {},
|
|
9
|
-
btns: {}
|
|
10
|
-
},
|
|
11
|
-
setup(y) {
|
|
12
|
-
const l = y, t = m("ruleModule", void 0), d = m("pageMethodMap", {}), N = (e, n, o) => {
|
|
13
|
-
if (t)
|
|
14
|
-
try {
|
|
15
|
-
t[e](d, { node: n, data: o });
|
|
16
|
-
} catch (c) {
|
|
17
|
-
console.error(c);
|
|
18
|
-
}
|
|
19
|
-
}, M = (e, n) => {
|
|
20
|
-
if (l.onNodeClick && t)
|
|
21
|
-
try {
|
|
22
|
-
t[l.onNodeClick](d, { node: e, data: n });
|
|
23
|
-
} catch (o) {
|
|
24
|
-
console.error(o);
|
|
25
|
-
}
|
|
26
|
-
}, v = (e, n, o) => {
|
|
27
|
-
if (l.onLoad && t)
|
|
28
|
-
try {
|
|
29
|
-
t[l.onLoad](d, { node: e, resolve: n, reject: o });
|
|
30
|
-
} catch (c) {
|
|
31
|
-
console.error(c);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
return (e, n) => {
|
|
35
|
-
const o = u("el-button"), c = u("el-tree");
|
|
36
|
-
return a(), _(c, L(e.$attrs, {
|
|
37
|
-
onNodeClick: M,
|
|
38
|
-
load: v
|
|
39
|
-
}), {
|
|
40
|
-
default: k(({ node: s, data: p }) => [
|
|
41
|
-
i("div", P, [
|
|
42
|
-
i("span", null, C(s.label), 1),
|
|
43
|
-
i("div", null, [
|
|
44
|
-
(a(!0), f(h, null, b(e.btns, (r) => (a(), f(h, {
|
|
45
|
-
key: r.key
|
|
46
|
-
}, [
|
|
47
|
-
x(w)(r.hidden, { $node: s, $data: p }) ? V("", !0) : (a(), _(o, {
|
|
48
|
-
key: 0,
|
|
49
|
-
link: "",
|
|
50
|
-
onClick: $((A) => N(r.onClick, s, p), ["stop"]),
|
|
51
|
-
disabled: r.disabled,
|
|
52
|
-
type: r.type
|
|
53
|
-
}, {
|
|
54
|
-
default: k(() => [
|
|
55
|
-
B(C(r.text), 1)
|
|
56
|
-
]),
|
|
57
|
-
_: 2
|
|
58
|
-
}, 1032, ["onClick", "disabled", "type"]))
|
|
59
|
-
], 64))), 128))
|
|
60
|
-
])
|
|
61
|
-
])
|
|
62
|
-
]),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 16);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}), S = /* @__PURE__ */ E(j, [["__scopeId", "data-v-6203e322"]]);
|
|
68
|
-
export {
|
|
69
|
-
S as default
|
|
70
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { defineComponent as f, mergeModels as V, useModel as _, ref as b, computed as w, watch as g, onMounted as h, resolveComponent as n, openBlock as s, createBlock as p, mergeProps as k, withCtx as m, createVNode as y, normalizeStyle as C, createElementBlock as M, Fragment as B, renderList as I } from "vue";
|
|
2
|
-
const A = /* @__PURE__ */ f({
|
|
3
|
-
__name: "Component",
|
|
4
|
-
props: /* @__PURE__ */ V({
|
|
5
|
-
selectPosition: { default: "append" },
|
|
6
|
-
selectWidth: { default: 70 },
|
|
7
|
-
selectInitialValue: {},
|
|
8
|
-
options: { default: () => [] },
|
|
9
|
-
parse: {}
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: {
|
|
12
|
-
default: ""
|
|
13
|
-
},
|
|
14
|
-
modelModifiers: {}
|
|
15
|
-
}),
|
|
16
|
-
emits: ["update:modelValue"],
|
|
17
|
-
setup(d) {
|
|
18
|
-
const i = d, t = _(d, "modelValue"), o = b(""), r = w({
|
|
19
|
-
get() {
|
|
20
|
-
var e;
|
|
21
|
-
return (e = t.value) == null ? void 0 : e.replaceAll(o.value, "");
|
|
22
|
-
},
|
|
23
|
-
set(e) {
|
|
24
|
-
e ? t.value = e + o.value : t.value = e;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
return g(o, (e, a) => {
|
|
28
|
-
var u;
|
|
29
|
-
t.value && (t.value = ((u = t.value) == null ? void 0 : u.replaceAll(a, "")) + e);
|
|
30
|
-
}), h(() => {
|
|
31
|
-
i.selectInitialValue && (o.value = i.selectInitialValue);
|
|
32
|
-
}), (e, a) => {
|
|
33
|
-
const u = n("el-option"), c = n("el-select"), v = n("el-input");
|
|
34
|
-
return s(), p(v, k({
|
|
35
|
-
"show-word-limit": "",
|
|
36
|
-
autocomplete: "off"
|
|
37
|
-
}, e.$attrs, {
|
|
38
|
-
modelValue: r.value,
|
|
39
|
-
"onUpdate:modelValue": a[1] || (a[1] = (l) => r.value = l)
|
|
40
|
-
}), {
|
|
41
|
-
[e.selectPosition]: m(() => [
|
|
42
|
-
y(c, {
|
|
43
|
-
modelValue: o.value,
|
|
44
|
-
"onUpdate:modelValue": a[0] || (a[0] = (l) => o.value = l),
|
|
45
|
-
style: C({ width: e.selectWidth + "px" }),
|
|
46
|
-
placeholder: " "
|
|
47
|
-
}, {
|
|
48
|
-
default: m(() => [
|
|
49
|
-
(s(!0), M(B, null, I(e.options, (l) => (s(), p(u, {
|
|
50
|
-
label: l.label,
|
|
51
|
-
value: l.value,
|
|
52
|
-
disabled: l.disabled,
|
|
53
|
-
key: l.value
|
|
54
|
-
}, null, 8, ["label", "value", "disabled"]))), 128))
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
}, 8, ["modelValue", "style"])
|
|
58
|
-
]),
|
|
59
|
-
_: 2
|
|
60
|
-
}, 1040, ["modelValue"]);
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
export {
|
|
65
|
-
A as default
|
|
66
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { resolveComponent as t, openBlock as o, createBlock as c, mergeProps as n } from "vue";
|
|
2
|
-
import { b as s } from "./index-6mpfROTy.js";
|
|
3
|
-
const _ = {};
|
|
4
|
-
function a(e, p) {
|
|
5
|
-
const r = t("el-date-picker");
|
|
6
|
-
return o(), c(r, n(e.$attrs, { style: { width: "100%" } }), null, 16);
|
|
7
|
-
}
|
|
8
|
-
const m = /* @__PURE__ */ s(_, [["render", a]]);
|
|
9
|
-
export {
|
|
10
|
-
m as default
|
|
11
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, computed as n, openBlock as a, createBlock as m, unref as p, normalizeStyle as s } from "vue";
|
|
2
|
-
import { a as i } from "./index-6mpfROTy.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const g = /* @__PURE__ */ t({
|
|
5
|
-
__name: "Grid",
|
|
6
|
-
props: {
|
|
7
|
-
children: {},
|
|
8
|
-
columns: {},
|
|
9
|
-
rowGap: {},
|
|
10
|
-
columnGap: {},
|
|
11
|
-
alignItems: {}
|
|
12
|
-
},
|
|
13
|
-
setup(o) {
|
|
14
|
-
const e = o, r = n(() => ({
|
|
15
|
-
display: "grid",
|
|
16
|
-
"grid-template-columns": `repeat(${e.columns}, 1fr)`,
|
|
17
|
-
"row-gap": e.rowGap + "px",
|
|
18
|
-
"column-gap": e.columnGap + "px",
|
|
19
|
-
"align-items": e.alignItems
|
|
20
|
-
}));
|
|
21
|
-
return (l, c) => (a(), m(p(i), {
|
|
22
|
-
class: "form-item-grid",
|
|
23
|
-
style: s(r.value),
|
|
24
|
-
list: l.children
|
|
25
|
-
}, null, 8, ["style", "list"]));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
g as default
|
|
30
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, mergeModels as k, useModel as B, inject as y, computed as D, resolveComponent as v, resolveDirective as S, openBlock as r, createElementBlock as i, Fragment as b, unref as c, toDisplayString as g, createCommentVNode as N, createVNode as A, mergeProps as F, withCtx as h, withDirectives as j, renderList as w, createBlock as I, createTextVNode as P } from "vue";
|
|
2
|
-
import { u as E } from "./index-6mpfROTy.js";
|
|
3
|
-
import { u as L } from "./useSelect-C3fi7G2S.js";
|
|
4
|
-
const O = { key: 0 }, T = { style: { "min-height": "32px" } }, z = /* @__PURE__ */ _({
|
|
5
|
-
__name: "Select",
|
|
6
|
-
props: /* @__PURE__ */ k({
|
|
7
|
-
options: { default: () => [] },
|
|
8
|
-
multiple: { type: Boolean, default: !1 },
|
|
9
|
-
mode: { default: "static" },
|
|
10
|
-
labelKey: { default: "label" },
|
|
11
|
-
valueKey: { default: "value" },
|
|
12
|
-
disabledKey: { default: "disabled" },
|
|
13
|
-
apiParams: {},
|
|
14
|
-
dependentFields: {},
|
|
15
|
-
name: { default: "" },
|
|
16
|
-
onChange: {},
|
|
17
|
-
read: { type: Boolean }
|
|
18
|
-
}, {
|
|
19
|
-
modelValue: { type: [String, Number, Boolean, Array] },
|
|
20
|
-
modelModifiers: {}
|
|
21
|
-
}),
|
|
22
|
-
emits: ["update:modelValue"],
|
|
23
|
-
setup(m) {
|
|
24
|
-
const a = m, s = B(m, "modelValue"), p = E(), f = y("ruleModule", void 0), K = y("pageMethodMap", {}), V = (e) => {
|
|
25
|
-
const { valueKey: t = "value", multiple: o, name: d } = a;
|
|
26
|
-
let n = {};
|
|
27
|
-
if (o && Array.isArray(e) ? n = u.value.filter((l) => e.includes(l[t])) : n = u.value.find((l) => l[t] === e) || {}, p.selectData && d && p.updateSelectData(d, n), a.onChange && f)
|
|
28
|
-
try {
|
|
29
|
-
f[a.onChange](K, e, n);
|
|
30
|
-
} catch (l) {
|
|
31
|
-
console.error(l);
|
|
32
|
-
}
|
|
33
|
-
}, { currentOptions: u, loading: C } = L(a), M = D(() => {
|
|
34
|
-
var e;
|
|
35
|
-
return a.multiple ? u.value.filter(
|
|
36
|
-
(o) => s.value.includes(o[a.valueKey])
|
|
37
|
-
).map((o) => o[a.labelKey]).join(",") : ((e = u.value.find((t) => t[a.valueKey] === s.value)) == null ? void 0 : e[a.labelKey]) || "--";
|
|
38
|
-
});
|
|
39
|
-
return (e, t) => {
|
|
40
|
-
const o = v("el-option"), d = v("el-select"), n = S("loading");
|
|
41
|
-
return r(), i(b, null, [
|
|
42
|
-
c(p).schema.read || e.read ? (r(), i("span", O, g(M.value), 1)) : N("", !0),
|
|
43
|
-
A(d, F({
|
|
44
|
-
modelValue: s.value,
|
|
45
|
-
"onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l)
|
|
46
|
-
}, e.$attrs, {
|
|
47
|
-
onChange: V,
|
|
48
|
-
multiple: e.multiple,
|
|
49
|
-
clearable: "",
|
|
50
|
-
filterable: "",
|
|
51
|
-
"fallback-placements": ["bottom"]
|
|
52
|
-
}), {
|
|
53
|
-
default: h(() => [
|
|
54
|
-
j((r(), i("div", T, [
|
|
55
|
-
(r(!0), i(b, null, w(c(u), (l) => (r(), I(o, {
|
|
56
|
-
key: l[e.valueKey],
|
|
57
|
-
label: l[e.labelKey],
|
|
58
|
-
value: l[e.valueKey],
|
|
59
|
-
disabled: l[e.disabledKey]
|
|
60
|
-
}, {
|
|
61
|
-
default: h(() => [
|
|
62
|
-
P(g(l[e.labelKey]), 1)
|
|
63
|
-
]),
|
|
64
|
-
_: 2
|
|
65
|
-
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
66
|
-
])), [
|
|
67
|
-
[n, c(C)]
|
|
68
|
-
])
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
}, 16, ["modelValue", "multiple"])
|
|
72
|
-
], 64);
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
export {
|
|
77
|
-
z as default
|
|
78
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, useModel as s, resolveComponent as p, unref as d, openBlock as t, createElementBlock as i, toDisplayString as c, createBlock as f, mergeProps as _ } from "vue";
|
|
2
|
-
import { u as v } from "./index-6mpfROTy.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const V = { key: 0 }, B = /* @__PURE__ */ u({
|
|
5
|
-
__name: "TextArea",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {},
|
|
8
|
-
modelModifiers: {}
|
|
9
|
-
},
|
|
10
|
-
emits: ["update:modelValue"],
|
|
11
|
-
setup(l) {
|
|
12
|
-
const e = s(l, "modelValue"), n = v();
|
|
13
|
-
return (a, o) => {
|
|
14
|
-
const r = p("el-input");
|
|
15
|
-
return d(n).read ? (t(), i("div", V, c(e.value), 1)) : (t(), f(r, _({ key: 1 }, a.$attrs, {
|
|
16
|
-
modelValue: e.value,
|
|
17
|
-
"onUpdate:modelValue": o[0] || (o[0] = (m) => e.value = m),
|
|
18
|
-
type: "textarea"
|
|
19
|
-
}), null, 16, ["modelValue"]));
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
B as default
|
|
25
|
-
};
|