asiaint-lowcode 3.0.5 → 3.0.7
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 +141 -141
- package/dist/index.d.ts +44 -10
- package/dist/lazy/Card-BICyqkcl.js +70 -0
- package/dist/lazy/{Cascader-VrWiXWef.js → Cascader-BZL8MhiH.js} +17 -12
- package/dist/lazy/{Checkbox-CMsY6WjS.js → Checkbox-BAT6NqSY.js} +2 -2
- package/dist/lazy/{Collapse-Ciaob2ZL.js → Collapse-BewyvIUk.js} +1 -1
- package/dist/lazy/Component-B0VBQwhJ.js +29 -0
- package/dist/lazy/{Component-CI_B8-m5.js → Component-B7sDX0op.js} +1 -1
- package/dist/lazy/Component-BZnQOmUv.js +69 -0
- package/dist/lazy/{Component-C1DW5f5U.js → Component-Bx5jW_vw.js} +1 -1
- package/dist/lazy/{Component-XgcecAM3.js → Component-DREsTAii.js} +1 -1
- package/dist/lazy/{Component-8SAI-15Y.js → Component-DTV7H-bM.js} +1 -1
- package/dist/lazy/{Custom-BHt4ZDGh.js → Custom-BhPEMv39.js} +1 -1
- package/dist/lazy/{DatePicker-CVPwVYdm.js → DatePicker-DPsaKvWF.js} +1 -1
- package/dist/lazy/{FormList-CXh76oSE.js → FormList-BGlH8gig.js} +1 -1
- package/dist/lazy/{Grid-CDSfkwnB.js → Grid-CVd3BMAR.js} +1 -1
- package/dist/lazy/{Inline-gbqztsv5.js → Inline-KJq-Auig.js} +1 -1
- package/dist/lazy/{JsonEdit-BlXHJTlR.js → JsonEdit-C5NAnHPv.js} +1 -1
- package/dist/lazy/{ObjGroup-DkTI60tG.js → ObjGroup-DTbSx77l.js} +1 -1
- package/dist/lazy/Radio-BRY5I1l1.js +83 -0
- package/dist/lazy/{SearchSelect-C_hL9yqi.js → SearchSelect-DAo4_Xhq.js} +33 -23
- package/dist/lazy/{Select-U2j6iqY2.js → Select-_fEGDALy.js} +24 -19
- package/dist/lazy/{Tabs-CvrPV-du.js → Tabs-C46mp1GR.js} +1 -1
- package/dist/lazy/{TextArea-M1a-STKd.js → TextArea-TsgAVKuR.js} +1 -1
- package/dist/lazy/{index-CHaTGLOB.js → index-CPKMl9aN.js} +5834 -5621
- package/dist/lazy/{useSelect-CBLVtYrq.js → useSelect-beVhTinV.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/Card-DFihjj-u.js +0 -46
- package/dist/lazy/Component-BftgSxpa.js +0 -13
- package/dist/lazy/Component-CFRtjJag.js +0 -28
- package/dist/lazy/Radio-CFFFY0pm.js +0 -78
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as C, mergeModels as V, useModel as _, inject as
|
|
2
|
-
import { u as I } from "./index-
|
|
3
|
-
import { u as N } from "./useSelect-
|
|
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-CPKMl9aN.js";
|
|
3
|
+
import { u as N } from "./useSelect-beVhTinV.js";
|
|
4
4
|
const P = { style: { "min-height": "32px" } }, O = /* @__PURE__ */ C({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ V({
|
|
@@ -19,34 +19,39 @@ const P = { style: { "min-height": "32px" } }, O = /* @__PURE__ */ C({
|
|
|
19
19
|
modelModifiers: {}
|
|
20
20
|
}),
|
|
21
21
|
emits: ["update:modelValue"],
|
|
22
|
-
setup(
|
|
23
|
-
const o =
|
|
22
|
+
setup(d) {
|
|
23
|
+
const o = d, i = _(d, "modelValue"), p = I(), c = m("ruleModule", void 0), h = m("pageMethodMap", {}), K = (l) => {
|
|
24
24
|
const { valueKey: t = "value", multiple: s, name: n } = o;
|
|
25
25
|
let a = {};
|
|
26
|
-
s && Array.isArray(
|
|
27
|
-
|
|
28
|
-
|
|
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) => {
|
|
29
34
|
const s = f("el-option"), n = f("el-select"), a = D("loading");
|
|
30
|
-
return
|
|
35
|
+
return r(), v(n, k({
|
|
31
36
|
modelValue: i.value,
|
|
32
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
33
|
-
},
|
|
37
|
+
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.value = e)
|
|
38
|
+
}, l.$attrs, {
|
|
34
39
|
onChange: K,
|
|
35
|
-
multiple:
|
|
40
|
+
multiple: l.multiple,
|
|
36
41
|
clearable: "",
|
|
37
42
|
filterable: "",
|
|
38
43
|
"fallback-placements": ["bottom"]
|
|
39
44
|
}), {
|
|
40
45
|
default: y(() => [
|
|
41
|
-
B((
|
|
42
|
-
(
|
|
43
|
-
key: l
|
|
44
|
-
label: l
|
|
45
|
-
value: l
|
|
46
|
-
disabled: l
|
|
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]
|
|
47
52
|
}, {
|
|
48
53
|
default: y(() => [
|
|
49
|
-
F(w(l
|
|
54
|
+
F(w(e[l.labelKey]), 1)
|
|
50
55
|
]),
|
|
51
56
|
_: 2
|
|
52
57
|
}, 1032, ["label", "value", "disabled"]))), 128))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
|
|
2
|
-
import { a as V } from "./index-
|
|
2
|
+
import { a as V } from "./index-CPKMl9aN.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Tabs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { u as v } from "./index-CPKMl9aN.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const V = { key: 0 }, B = /* @__PURE__ */ u({
|
|
5
5
|
__name: "TextArea",
|