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.
Files changed (33) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +141 -141
  3. package/dist/index.d.ts +44 -10
  4. package/dist/lazy/Card-BICyqkcl.js +70 -0
  5. package/dist/lazy/{Cascader-VrWiXWef.js → Cascader-BZL8MhiH.js} +17 -12
  6. package/dist/lazy/{Checkbox-CMsY6WjS.js → Checkbox-BAT6NqSY.js} +2 -2
  7. package/dist/lazy/{Collapse-Ciaob2ZL.js → Collapse-BewyvIUk.js} +1 -1
  8. package/dist/lazy/Component-B0VBQwhJ.js +29 -0
  9. package/dist/lazy/{Component-CI_B8-m5.js → Component-B7sDX0op.js} +1 -1
  10. package/dist/lazy/Component-BZnQOmUv.js +69 -0
  11. package/dist/lazy/{Component-C1DW5f5U.js → Component-Bx5jW_vw.js} +1 -1
  12. package/dist/lazy/{Component-XgcecAM3.js → Component-DREsTAii.js} +1 -1
  13. package/dist/lazy/{Component-8SAI-15Y.js → Component-DTV7H-bM.js} +1 -1
  14. package/dist/lazy/{Custom-BHt4ZDGh.js → Custom-BhPEMv39.js} +1 -1
  15. package/dist/lazy/{DatePicker-CVPwVYdm.js → DatePicker-DPsaKvWF.js} +1 -1
  16. package/dist/lazy/{FormList-CXh76oSE.js → FormList-BGlH8gig.js} +1 -1
  17. package/dist/lazy/{Grid-CDSfkwnB.js → Grid-CVd3BMAR.js} +1 -1
  18. package/dist/lazy/{Inline-gbqztsv5.js → Inline-KJq-Auig.js} +1 -1
  19. package/dist/lazy/{JsonEdit-BlXHJTlR.js → JsonEdit-C5NAnHPv.js} +1 -1
  20. package/dist/lazy/{ObjGroup-DkTI60tG.js → ObjGroup-DTbSx77l.js} +1 -1
  21. package/dist/lazy/Radio-BRY5I1l1.js +83 -0
  22. package/dist/lazy/{SearchSelect-C_hL9yqi.js → SearchSelect-DAo4_Xhq.js} +33 -23
  23. package/dist/lazy/{Select-U2j6iqY2.js → Select-_fEGDALy.js} +24 -19
  24. package/dist/lazy/{Tabs-CvrPV-du.js → Tabs-C46mp1GR.js} +1 -1
  25. package/dist/lazy/{TextArea-M1a-STKd.js → TextArea-TsgAVKuR.js} +1 -1
  26. package/dist/lazy/{index-CHaTGLOB.js → index-CPKMl9aN.js} +5834 -5621
  27. package/dist/lazy/{useSelect-CBLVtYrq.js → useSelect-beVhTinV.js} +1 -1
  28. package/dist/style.css +2 -2
  29. package/package.json +1 -1
  30. package/dist/lazy/Card-DFihjj-u.js +0 -46
  31. package/dist/lazy/Component-BftgSxpa.js +0 -13
  32. package/dist/lazy/Component-CFRtjJag.js +0 -28
  33. package/dist/lazy/Radio-CFFFY0pm.js +0 -78
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,46 +0,0 @@
1
- import { defineComponent as p, ref as c, resolveComponent as m, openBlock as r, createBlock as n, normalizeProps as u, guardReactiveProps as _, withCtx as o, createElementVNode as l, unref as t, normalizeClass as f, createCommentVNode as v, toDisplayString as C, createVNode as i, Transition as h, withDirectives as w, vShow as k } from "vue";
2
- import { _ as $, a as b, b as y } from "./index-CHaTGLOB.js";
3
- import "element-plus";
4
- const B = { class: "card-header" }, E = /* @__PURE__ */ p({
5
- __name: "Card",
6
- props: {
7
- children: {},
8
- collapsible: { type: Boolean },
9
- header: {}
10
- },
11
- setup(N) {
12
- const e = c(!1);
13
- return (a, s) => {
14
- const d = m("ElCard");
15
- return r(), n(d, u(_(a.$attrs)), {
16
- header: o(() => [
17
- l("div", B, [
18
- a.collapsible ? (r(), n(t($), {
19
- key: 0,
20
- name: "dropdown",
21
- onClick: s[0] || (s[0] = (V) => e.value = !e.value),
22
- class: f(["dropdown-icon", { "is-collapsed": e.value }])
23
- }, null, 8, ["class"])) : v("", !0),
24
- l("span", null, C(a.header), 1)
25
- ])
26
- ]),
27
- default: o(() => [
28
- i(h, { name: "collapse" }, {
29
- default: o(() => [
30
- w(l("div", null, [
31
- i(t(b), { list: a.children }, null, 8, ["list"])
32
- ], 512), [
33
- [k, !e.value]
34
- ])
35
- ]),
36
- _: 1
37
- })
38
- ]),
39
- _: 1
40
- }, 16);
41
- };
42
- }
43
- }), P = /* @__PURE__ */ y(E, [["__scopeId", "data-v-e66e9100"]]);
44
- export {
45
- P as default
46
- };
@@ -1,13 +0,0 @@
1
- import { defineComponent as n, resolveComponent as t, openBlock as r, createBlock as p, normalizeProps as a, guardReactiveProps as c } from "vue";
2
- const m = /* @__PURE__ */ n({
3
- __name: "Component",
4
- setup(s) {
5
- return (e, _) => {
6
- const o = t("el-tree");
7
- return r(), p(o, a(c(e.$attrs)), null, 16);
8
- };
9
- }
10
- });
11
- export {
12
- m as default
13
- };
@@ -1,28 +0,0 @@
1
- import { defineComponent as a, mergeModels as s, useModel as i, resolveComponent as d, unref as p, openBlock as t, createElementBlock as c, toDisplayString as f, createBlock as _, mergeProps as v } from "vue";
2
- import { u as V } from "./index-CHaTGLOB.js";
3
- import "element-plus";
4
- const k = { key: 0 }, C = /* @__PURE__ */ a({
5
- __name: "Component",
6
- props: /* @__PURE__ */ s({
7
- min: {}
8
- }, {
9
- modelValue: {},
10
- modelModifiers: {}
11
- }),
12
- emits: ["update:modelValue"],
13
- setup(l) {
14
- const e = i(l, "modelValue"), m = V();
15
- return (o, n) => {
16
- const r = d("el-input-number");
17
- return p(m).read ? (t(), c("div", k, f(e.value), 1)) : (t(), _(r, v({ key: 1 }, o.$attrs, {
18
- modelValue: e.value,
19
- "onUpdate:modelValue": n[0] || (n[0] = (u) => e.value = u),
20
- style: { width: "100%" },
21
- min: o.min || 0
22
- }), null, 16, ["modelValue", "min"]));
23
- };
24
- }
25
- });
26
- export {
27
- C as default
28
- };
@@ -1,78 +0,0 @@
1
- import { defineComponent as B, mergeModels as S, useModel as T, inject as h, resolveComponent as s, resolveDirective as w, unref as o, openBlock as l, createElementBlock as d, toDisplayString as F, Fragment as f, createCommentVNode as N, withDirectives as I, createBlock as y, mergeProps as k, withCtx as C, createVNode as P, renderList as M } from "vue";
2
- import { u as $ } from "./index-CHaTGLOB.js";
3
- import { u as j } from "./useSelect-CBLVtYrq.js";
4
- const E = { key: 0 }, L = {
5
- key: 0,
6
- style: { "font-size": "12px" }
7
- }, q = /* @__PURE__ */ B({
8
- __name: "Radio",
9
- props: /* @__PURE__ */ S({
10
- options: { default: () => [] },
11
- mode: { default: "static" },
12
- labelKey: { default: "label" },
13
- valueKey: { default: "value" },
14
- disabledKey: { default: "disabled" },
15
- apiParams: {},
16
- dependentFields: {},
17
- name: { default: "" },
18
- onChange: {},
19
- optionType: { default: "circle" },
20
- direction: { default: "horizontal" },
21
- space: { default: 20 }
22
- }, {
23
- modelValue: { type: [String, Number, Boolean], default: "" },
24
- modelModifiers: {}
25
- }),
26
- emits: ["update:modelValue"],
27
- setup(v) {
28
- const r = v, p = T(v, "modelValue"), c = $(), b = h("ruleModule", void 0), V = h("pageMethodMap", {}), _ = (e) => {
29
- const { valueKey: u = "value", name: i } = r;
30
- let t = {};
31
- t = n.value.find((m) => m[u] === e) || {}, c.selectData && i && c.updateSelectData(i, t), r.onChange && b && b[r.onChange](V, e, t);
32
- }, { currentOptions: n, loading: g } = j(r);
33
- return (e, u) => {
34
- var K;
35
- const i = s("el-radio"), t = s("el-radio-button"), m = s("el-space"), D = s("el-radio-group"), z = w("loading");
36
- return o(c).read ? (l(), d("div", E, F((K = o(n).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : K[e.labelKey]), 1)) : (l(), d(f, { key: 1 }, [
37
- !o(n).length && !o(g) ? (l(), d("div", L, "暂无选项")) : N("", !0),
38
- I((l(), y(D, k({
39
- modelValue: p.value,
40
- "onUpdate:modelValue": u[0] || (u[0] = (a) => p.value = a),
41
- onChange: _
42
- }, e.$attrs), {
43
- default: C(() => [
44
- P(m, {
45
- wrap: "",
46
- direction: e.direction,
47
- size: [e.space, e.space],
48
- alignment: "normal"
49
- }, {
50
- default: C(() => [
51
- e.optionType === "circle" || e.optionType === "border" ? (l(!0), d(f, { key: 0 }, M(o(n), (a) => (l(), y(i, {
52
- key: a[e.valueKey],
53
- label: a[e.labelKey],
54
- value: a[e.valueKey],
55
- disabled: a[e.disabledKey],
56
- border: e.optionType === "border"
57
- }, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (l(!0), d(f, { key: 1 }, M(o(n), (a) => (l(), y(t, k({
58
- key: a[e.valueKey],
59
- label: a[e.labelKey],
60
- value: a[e.valueKey],
61
- disabled: a[e.disabledKey],
62
- ref_for: !0
63
- }, e.$attrs), null, 16, ["label", "value", "disabled"]))), 128))
64
- ]),
65
- _: 1
66
- }, 8, ["direction", "size"])
67
- ]),
68
- _: 1
69
- }, 16, ["modelValue"])), [
70
- [z, o(g)]
71
- ])
72
- ], 64));
73
- };
74
- }
75
- });
76
- export {
77
- q as default
78
- };