asiaint-lowcode 3.0.10 → 3.0.11
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 +132 -132
- package/dist/index.d.ts +227 -38
- package/dist/lazy/Card-CpK65F2R.js +77 -0
- package/dist/lazy/{Cascader-Gem1tf3p.js → Cascader-DwYAjKnt.js} +10 -9
- package/dist/lazy/{Checkbox-BxrnuJq1.js → Checkbox-DyhHO1lI.js} +3 -2
- package/dist/lazy/{Collapse-Cu8gp21w.js → Collapse-BB6uq8XG.js} +1 -1
- package/dist/lazy/{Component-CAj69dYy.js → Component-D2cqqZWu.js} +1 -1
- package/dist/lazy/{Component-46GeOz3I.js → Component-DPMNuys3.js} +1 -1
- package/dist/lazy/{Component-B4ZGwOZm.js → Component-Dc6ui_ac.js} +1 -1
- package/dist/lazy/{Component-Cp33Touf.js → Component-Dch4Sc0Z.js} +1 -1
- package/dist/lazy/Component-SBS5WSNC.js +32 -0
- package/dist/lazy/{Component-DQD6fDeO.js → Component-ZCJQNxel.js} +1 -1
- package/dist/lazy/{Custom-DYmckKCU.js → Custom-BxBsRCKU.js} +1 -1
- package/dist/lazy/{DatePicker-C2Xfur9H.js → DatePicker-DKOiq92L.js} +1 -1
- package/dist/lazy/{FormList-mj0DqTX9.js → FormList-z1CXVWu9.js} +1 -1
- package/dist/lazy/{Grid-BY7cCYmz.js → Grid-CriVKZ2b.js} +1 -1
- package/dist/lazy/{Inline-C_YHch3X.js → Inline-DTwut_Pu.js} +1 -1
- package/dist/lazy/{JsonEdit-BWWAH1jp.js → JsonEdit-CoLe-wTH.js} +1 -1
- package/dist/lazy/{ObjGroup-CX5cfC_g.js → ObjGroup-DuZvdEA5.js} +1 -1
- package/dist/lazy/{Radio-DXZ53glk.js → Radio-DGDip7ml.js} +7 -6
- package/dist/lazy/{SearchSelect-DByMp_ra.js → SearchSelect-BZqvg68V.js} +12 -11
- package/dist/lazy/Select-D_OzapP0.js +78 -0
- package/dist/lazy/{Tabs-DWO651cu.js → Tabs-C73JPy1z.js} +1 -1
- package/dist/lazy/{TextArea-Bb0ecX94.js → TextArea-2ePXEvCP.js} +1 -1
- package/dist/lazy/{index-9KA43iIq.js → index-lmlqy9ej.js} +6539 -6263
- package/dist/lazy/{useSelect-Dhsn7wE7.js → useSelect-BmR-wNME.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/lazy/Card-DR9xYcyf.js +0 -70
- package/dist/lazy/Component-B0VBQwhJ.js +0 -29
- package/dist/lazy/Select-BbCbrGeu.js +0 -69
package/package.json
CHANGED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as M, inject as i, resolveComponent as c, openBlock as l, createBlock as d, normalizeProps as g, guardReactiveProps as w, withCtx as n, createElementVNode as r, unref as p, normalizeClass as $, createCommentVNode as u, toDisplayString as _, createElementBlock as m, Fragment as h, renderList as B, createTextVNode as E, createVNode as v, Transition as V, withDirectives as N, vShow as z } from "vue";
|
|
2
|
-
import { _ as D, a as P, b as S } from "./index-9KA43iIq.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const T = { class: "card-header" }, j = { class: "card-btns" }, x = /* @__PURE__ */ y({
|
|
5
|
-
__name: "Card",
|
|
6
|
-
props: {
|
|
7
|
-
children: {},
|
|
8
|
-
collapsible: { type: Boolean },
|
|
9
|
-
header: {},
|
|
10
|
-
btns: {}
|
|
11
|
-
},
|
|
12
|
-
setup(F) {
|
|
13
|
-
const a = M(!1), s = i("ruleModule", void 0), C = i("pageMethodMap", {}), f = (e) => {
|
|
14
|
-
if (s && s[e])
|
|
15
|
-
try {
|
|
16
|
-
s[e](C);
|
|
17
|
-
} catch (t) {
|
|
18
|
-
console.error(t);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
return (e, t) => {
|
|
22
|
-
const k = c("el-button"), b = c("ElCard");
|
|
23
|
-
return l(), d(b, g(w(e.$attrs)), {
|
|
24
|
-
header: n(() => [
|
|
25
|
-
r("div", T, [
|
|
26
|
-
e.collapsible ? (l(), d(p(D), {
|
|
27
|
-
key: 0,
|
|
28
|
-
name: "dropdown",
|
|
29
|
-
onClick: t[0] || (t[0] = (o) => a.value = !a.value),
|
|
30
|
-
class: $(["dropdown-icon", { "is-collapsed": a.value }])
|
|
31
|
-
}, null, 8, ["class"])) : u("", !0),
|
|
32
|
-
r("span", null, _(e.header), 1),
|
|
33
|
-
r("div", j, [
|
|
34
|
-
(l(!0), m(h, null, B(e.btns, (o) => (l(), m(h, {
|
|
35
|
-
key: o.key
|
|
36
|
-
}, [
|
|
37
|
-
o.hidden ? u("", !0) : (l(), d(k, {
|
|
38
|
-
key: 0,
|
|
39
|
-
onClick: (I) => f(o.onClick),
|
|
40
|
-
disabled: o.disabled
|
|
41
|
-
}, {
|
|
42
|
-
default: n(() => [
|
|
43
|
-
E(_(o.text), 1)
|
|
44
|
-
]),
|
|
45
|
-
_: 2
|
|
46
|
-
}, 1032, ["onClick", "disabled"]))
|
|
47
|
-
], 64))), 128))
|
|
48
|
-
])
|
|
49
|
-
])
|
|
50
|
-
]),
|
|
51
|
-
default: n(() => [
|
|
52
|
-
v(V, { name: "collapse" }, {
|
|
53
|
-
default: n(() => [
|
|
54
|
-
N(r("div", null, [
|
|
55
|
-
v(p(P), { list: e.children }, null, 8, ["list"])
|
|
56
|
-
], 512), [
|
|
57
|
-
[z, !a.value]
|
|
58
|
-
])
|
|
59
|
-
]),
|
|
60
|
-
_: 1
|
|
61
|
-
})
|
|
62
|
-
]),
|
|
63
|
-
_: 1
|
|
64
|
-
}, 16);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
}), A = /* @__PURE__ */ S(x, [["__scopeId", "data-v-8b8ea7b4"]]);
|
|
68
|
-
export {
|
|
69
|
-
A as default
|
|
70
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, mergeModels as s, useModel as d, resolveComponent as a, openBlock as p, createBlock as i, mergeProps as c } from "vue";
|
|
2
|
-
const v = /* @__PURE__ */ r({
|
|
3
|
-
__name: "Component",
|
|
4
|
-
props: /* @__PURE__ */ s({
|
|
5
|
-
min: {}
|
|
6
|
-
}, {
|
|
7
|
-
modelValue: {},
|
|
8
|
-
modelModifiers: {}
|
|
9
|
-
}),
|
|
10
|
-
emits: ["update:modelValue"],
|
|
11
|
-
setup(l) {
|
|
12
|
-
const o = d(l, "modelValue"), t = (e) => {
|
|
13
|
-
["E", "e", "+", "-"].includes(e.key) && e.preventDefault();
|
|
14
|
-
};
|
|
15
|
-
return (e, n) => {
|
|
16
|
-
const m = a("el-input-number");
|
|
17
|
-
return p(), i(m, c(e.$attrs, {
|
|
18
|
-
modelValue: o.value,
|
|
19
|
-
"onUpdate:modelValue": n[0] || (n[0] = (u) => o.value = u),
|
|
20
|
-
style: { width: "100%" },
|
|
21
|
-
min: e.min || 0,
|
|
22
|
-
onKeydown: t
|
|
23
|
-
}), null, 16, ["modelValue", "min"]);
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
export {
|
|
28
|
-
v as default
|
|
29
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, mergeModels as V, useModel as _, inject as m, resolveComponent as f, resolveDirective as D, openBlock as r, createBlock as v, mergeProps as k, withCtx as y, withDirectives as B, createElementBlock as b, Fragment as S, renderList as A, unref as g, createTextVNode as F, toDisplayString as w } from "vue";
|
|
2
|
-
import { u as I } from "./index-9KA43iIq.js";
|
|
3
|
-
import { u as N } from "./useSelect-Dhsn7wE7.js";
|
|
4
|
-
const P = { style: { "min-height": "32px" } }, O = /* @__PURE__ */ C({
|
|
5
|
-
__name: "Select",
|
|
6
|
-
props: /* @__PURE__ */ V({
|
|
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
|
-
}, {
|
|
18
|
-
modelValue: { type: [String, Number, Boolean, Array] },
|
|
19
|
-
modelModifiers: {}
|
|
20
|
-
}),
|
|
21
|
-
emits: ["update:modelValue"],
|
|
22
|
-
setup(d) {
|
|
23
|
-
const o = d, i = _(d, "modelValue"), p = I(), c = m("ruleModule", void 0), h = m("pageMethodMap", {}), K = (l) => {
|
|
24
|
-
const { valueKey: t = "value", multiple: s, name: n } = o;
|
|
25
|
-
let a = {};
|
|
26
|
-
if (s && Array.isArray(l) ? a = u.value.filter((e) => l.includes(e[t])) : a = u.value.find((e) => e[t] === l) || {}, p.selectData && n && p.updateSelectData(n, a), o.onChange && c)
|
|
27
|
-
try {
|
|
28
|
-
c[o.onChange](h, l, a);
|
|
29
|
-
} catch (e) {
|
|
30
|
-
console.error(e);
|
|
31
|
-
}
|
|
32
|
-
}, { currentOptions: u, loading: M } = N(o);
|
|
33
|
-
return (l, t) => {
|
|
34
|
-
const s = f("el-option"), n = f("el-select"), a = D("loading");
|
|
35
|
-
return r(), v(n, k({
|
|
36
|
-
modelValue: i.value,
|
|
37
|
-
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value = e)
|
|
38
|
-
}, l.$attrs, {
|
|
39
|
-
onChange: K,
|
|
40
|
-
multiple: l.multiple,
|
|
41
|
-
clearable: "",
|
|
42
|
-
filterable: "",
|
|
43
|
-
"fallback-placements": ["bottom"]
|
|
44
|
-
}), {
|
|
45
|
-
default: y(() => [
|
|
46
|
-
B((r(), b("div", P, [
|
|
47
|
-
(r(!0), b(S, null, A(g(u), (e) => (r(), v(s, {
|
|
48
|
-
key: e[l.valueKey],
|
|
49
|
-
label: e[l.labelKey],
|
|
50
|
-
value: e[l.valueKey],
|
|
51
|
-
disabled: e[l.disabledKey]
|
|
52
|
-
}, {
|
|
53
|
-
default: y(() => [
|
|
54
|
-
F(w(e[l.labelKey]), 1)
|
|
55
|
-
]),
|
|
56
|
-
_: 2
|
|
57
|
-
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
58
|
-
])), [
|
|
59
|
-
[a, g(M)]
|
|
60
|
-
])
|
|
61
|
-
]),
|
|
62
|
-
_: 1
|
|
63
|
-
}, 16, ["modelValue", "multiple"]);
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
export {
|
|
68
|
-
O as default
|
|
69
|
-
};
|