asiaint-lowcode 3.0.6 → 3.0.8

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 (31) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +136 -136
  3. package/dist/index.d.ts +28 -2
  4. package/dist/lazy/Card-BuArVkmi.js +70 -0
  5. package/dist/lazy/{Cascader-cKLK7mem.js → Cascader-C-arugIa.js} +17 -12
  6. package/dist/lazy/{Checkbox-DtbVDDXb.js → Checkbox-BILB2wBc.js} +2 -2
  7. package/dist/lazy/{Collapse-DMYUW4Km.js → Collapse-Dt4hl8BU.js} +1 -1
  8. package/dist/lazy/{Component-DzK59rNg.js → Component-BzXdnTdQ.js} +1 -1
  9. package/dist/lazy/{Component-BjEXrMSI.js → Component-CrJ-AtJR.js} +1 -1
  10. package/dist/lazy/{Component-i7k--fN-.js → Component-CvBT20YP.js} +1 -1
  11. package/dist/lazy/{Component-BCxS_AH5.js → Component-DyIKBG9I.js} +1 -1
  12. package/dist/lazy/Component-lqrfuhYF.js +69 -0
  13. package/dist/lazy/{Custom-DEoV7gvb.js → Custom-Basa3_0y.js} +1 -1
  14. package/dist/lazy/{DatePicker-al4c4ajg.js → DatePicker-OxowWn-0.js} +1 -1
  15. package/dist/lazy/{FormList-CNSVq4AR.js → FormList-BtaY4met.js} +1 -1
  16. package/dist/lazy/{Grid-CyJHLzs1.js → Grid-Bnn-keHM.js} +1 -1
  17. package/dist/lazy/{Inline-CpQAmde3.js → Inline-IEdpKxaj.js} +1 -1
  18. package/dist/lazy/{JsonEdit-D4tp2QDt.js → JsonEdit-BxHcIq8n.js} +1 -1
  19. package/dist/lazy/{ObjGroup-Z7cutw6v.js → ObjGroup-McKgVLwm.js} +1 -1
  20. package/dist/lazy/Radio-CfVFFXib.js +83 -0
  21. package/dist/lazy/{SearchSelect-DrwHTBHY.js → SearchSelect-0q3DnGsC.js} +33 -23
  22. package/dist/lazy/{Select-D3sP3-da.js → Select-apxDQjFW.js} +24 -19
  23. package/dist/lazy/{Tabs-BraXCkHy.js → Tabs-DESlnRSk.js} +1 -1
  24. package/dist/lazy/{TextArea-5g1xr0mj.js → TextArea-JtdZa1iP.js} +1 -1
  25. package/dist/lazy/{index-D5eszhxL.js → index-CjZvMx57.js} +4902 -4773
  26. package/dist/lazy/{useSelect-CPxQO_Ri.js → useSelect--N3mZA9l.js} +1 -1
  27. package/dist/style.css +2 -2
  28. package/package.json +1 -1
  29. package/dist/lazy/Card-BwIpHHbi.js +0 -65
  30. package/dist/lazy/Component-BftgSxpa.js +0 -13
  31. package/dist/lazy/Radio-Bbn3m_Hg.js +0 -78
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.0.6",
3
+ "version": "3.0.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,65 +0,0 @@
1
- import { defineComponent as y, ref as M, inject as i, resolveComponent as c, openBlock as l, createBlock as r, normalizeProps as g, guardReactiveProps as w, withCtx as t, createElementVNode as n, unref as p, normalizeClass as $, createCommentVNode as u, toDisplayString as _, createElementBlock as m, Fragment as v, renderList as B, createTextVNode as E, createVNode as C, Transition as V, withDirectives as N, vShow as z } from "vue";
2
- import { _ as D, a as P, b as S } from "./index-D5eszhxL.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), f = i("pageMethodMap", {}), h = (e) => {
14
- s && s[e] && s[e](f);
15
- };
16
- return (e, d) => {
17
- const k = c("el-button"), b = c("ElCard");
18
- return l(), r(b, g(w(e.$attrs)), {
19
- header: t(() => [
20
- n("div", T, [
21
- e.collapsible ? (l(), r(p(D), {
22
- key: 0,
23
- name: "dropdown",
24
- onClick: d[0] || (d[0] = (o) => a.value = !a.value),
25
- class: $(["dropdown-icon", { "is-collapsed": a.value }])
26
- }, null, 8, ["class"])) : u("", !0),
27
- n("span", null, _(e.header), 1),
28
- n("div", j, [
29
- (l(!0), m(v, null, B(e.btns, (o) => (l(), m(v, {
30
- key: o.key
31
- }, [
32
- o.hidden ? u("", !0) : (l(), r(k, {
33
- key: 0,
34
- onClick: (I) => h(o.onClick),
35
- disabled: o.disabled
36
- }, {
37
- default: t(() => [
38
- E(_(o.text), 1)
39
- ]),
40
- _: 2
41
- }, 1032, ["onClick", "disabled"]))
42
- ], 64))), 128))
43
- ])
44
- ])
45
- ]),
46
- default: t(() => [
47
- C(V, { name: "collapse" }, {
48
- default: t(() => [
49
- N(n("div", null, [
50
- C(p(P), { list: e.children }, null, 8, ["list"])
51
- ], 512), [
52
- [z, !a.value]
53
- ])
54
- ]),
55
- _: 1
56
- })
57
- ]),
58
- _: 1
59
- }, 16);
60
- };
61
- }
62
- }), A = /* @__PURE__ */ S(x, [["__scopeId", "data-v-3a7c0d8d"]]);
63
- export {
64
- A as default
65
- };
@@ -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,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-D5eszhxL.js";
3
- import { u as j } from "./useSelect-CPxQO_Ri.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
- };