asiaint-lowcode 3.1.12 → 3.1.14

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 (40) hide show
  1. package/dist/asiaint-lowcode.js +1 -1
  2. package/dist/asiaint-lowcode.umd.cjs +156 -156
  3. package/dist/index.d.ts +10 -0
  4. package/dist/lazy/Card-C3tLOVjH.js +114 -0
  5. package/dist/lazy/{Cascader-w2aXlzy4.js → Cascader-C3CX1x9i.js} +1 -1
  6. package/dist/lazy/{Checkbox-BLgBYIxM.js → Checkbox-BpBiXuBR.js} +2 -2
  7. package/dist/lazy/{Collapse-BsgI2UtE.js → Collapse-DxGtf-Rb.js} +1 -1
  8. package/dist/lazy/{Component-B9DtiqZr.js → Component-B_d6xnsS.js} +1 -1
  9. package/dist/lazy/{Component-OQos0Yv2.js → Component-CcNDQBof.js} +1 -1
  10. package/dist/lazy/{Component-4k5371qV.js → Component-DB3T2Up4.js} +1 -1
  11. package/dist/lazy/{Component-yeX4uCg6.js → Component-DFOa2uIv.js} +1 -1
  12. package/dist/lazy/{Component-D7U_ddrO.js → Component-cOOPuJ9a.js} +1 -1
  13. package/dist/lazy/{Component-CWeTtaB6.js → Component-hTCUS_wi.js} +1 -1
  14. package/dist/lazy/CurdCard-VJm521ed.js +198 -0
  15. package/dist/lazy/{Custom-CddcUJqG.js → Custom-zeUDBX2P.js} +1 -1
  16. package/dist/lazy/{DatePicker-Bh2ncgnR.js → DatePicker-B_jXdn9f.js} +1 -1
  17. package/dist/lazy/{DragList-FMLI8ayI.js → DragList-BqW7rAvT.js} +1 -1
  18. package/dist/lazy/FilterSearch-C8jsRRi9.js +108 -0
  19. package/dist/lazy/{FormList-vriDIR3X.js → FormList-BC9wJOak.js} +1 -1
  20. package/dist/lazy/{Grid-Co2VGKrE.js → Grid-TTxnHt2i.js} +1 -1
  21. package/dist/lazy/{Inline-D01blxhI.js → Inline-Dc21MdcR.js} +1 -1
  22. package/dist/lazy/{JsonEdit-YwhmpMqH.js → JsonEdit-DL09Qz4t.js} +1 -1
  23. package/dist/lazy/{LogList-BTLxsIJ-.js → LogList-KyzWTXTG.js} +1 -1
  24. package/dist/lazy/{ObjGroup-FqsyEwUa.js → ObjGroup-B4XtMzOy.js} +1 -1
  25. package/dist/lazy/{OfferDetails-BCTGsUQk.js → OfferDetails-Cxd87l5s.js} +1 -1
  26. package/dist/lazy/{Pagination-BWBZLOhR.js → Pagination-C5QGCJcd.js} +1 -1
  27. package/dist/lazy/{Progress-D8PlrDKW.js → Progress-DA-Dd5UL.js} +1 -1
  28. package/dist/lazy/{Radio-CTyS3Wce.js → Radio-TiUteW46.js} +2 -2
  29. package/dist/lazy/{SearchSelect-DBQUxcua.js → SearchSelect-Dhu6paSW.js} +2 -2
  30. package/dist/lazy/{Select-NMkk0tzQ.js → Select-CSRhfIrD.js} +2 -2
  31. package/dist/lazy/Table-DlcwlWIw.js +514 -0
  32. package/dist/lazy/{Tabs-fxGLIjAK.js → Tabs-7Dhrr4Kd.js} +1 -1
  33. package/dist/lazy/{Wrapper-Cn4baHVS.js → Wrapper-BiT3q9Nd.js} +1 -1
  34. package/dist/lazy/{index-DLT-0b2b.js → index-0WXv5Q1Q.js} +6602 -6571
  35. package/dist/lazy/{useSelect-Cg5sYMeF.js → useSelect-As_zhxlt.js} +1 -1
  36. package/dist/style.css +2 -2
  37. package/package.json +1 -1
  38. package/dist/lazy/Card-DqF5ydvP.js +0 -104
  39. package/dist/lazy/CurdCard-BA2u27QX.js +0 -171
  40. package/dist/lazy/Table-CsUKP83I.js +0 -514
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.1.12",
3
+ "version": "3.1.14",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,104 +0,0 @@
1
- import { defineComponent as B, ref as g, inject as h, resolveComponent as d, openBlock as s, createBlock as i, mergeProps as M, withCtx as c, createElementVNode as o, createElementBlock as n, createVNode as t, unref as p, normalizeClass as $, createCommentVNode as I, toDisplayString as v, Fragment as u, renderList as C, withDirectives as E, vShow as V } from "vue";
2
- import { _ as D, I as k, B as F, a as N, b as S } from "./index-DLT-0b2b.js";
3
- import "element-plus";
4
- const j = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ B({
5
- __name: "Card",
6
- props: {
7
- children: {},
8
- collapsible: { type: Boolean },
9
- header: {},
10
- btns: {},
11
- extraIcons: {},
12
- shadowless: { type: Boolean },
13
- subHeaders: {}
14
- },
15
- setup(R) {
16
- const a = g(!1), m = h("ruleModule", void 0), f = h("pageMethodMap", {}), _ = (l) => {
17
- if (l && m)
18
- try {
19
- m[l](f);
20
- } catch (r) {
21
- console.error(r);
22
- }
23
- };
24
- return (l, r) => {
25
- const b = d("el-tooltip"), w = d("el-collapse-transition"), y = d("ElCard");
26
- return s(), i(y, M(l.$attrs, {
27
- class: ["crm-card", { collapsed: a.value, shadowless: l.shadowless }],
28
- shadow: "never"
29
- }), {
30
- header: c(() => [
31
- o("div", j, [
32
- l.collapsible ? (s(), n("div", {
33
- key: 0,
34
- class: "icon-wrapper",
35
- onClick: r[0] || (r[0] = (e) => a.value = !a.value)
36
- }, [
37
- t(p(D), {
38
- name: "dropdown",
39
- class: $(["dropdown-icon", { "is-collapsed": a.value }])
40
- }, null, 8, ["class"])
41
- ])) : I("", !0),
42
- o("span", null, v(l.header), 1),
43
- (s(!0), n(u, null, C(l.extraIcons, (e) => (s(), n(u, {
44
- key: e.name
45
- }, [
46
- e.tips ? (s(), i(b, {
47
- key: 0,
48
- content: e.tips,
49
- placement: "right"
50
- }, {
51
- default: c(() => [
52
- t(k, {
53
- class: "extra-icon",
54
- name: e.name,
55
- color: e.color,
56
- size: e.size || "small",
57
- onClick: (z) => _(e.onClick)
58
- }, null, 8, ["name", "color", "size", "onClick"])
59
- ]),
60
- _: 2
61
- }, 1032, ["content"])) : (s(), i(k, {
62
- key: 1,
63
- class: "extra-icon",
64
- name: e.name,
65
- color: e.color,
66
- size: e.size || "small",
67
- onClick: (z) => _(e.onClick)
68
- }, null, 8, ["name", "color", "size", "onClick"]))
69
- ], 64))), 128)),
70
- o("div", H, [
71
- t(p(F), {
72
- btns: l.btns || []
73
- }, null, 8, ["btns"])
74
- ]),
75
- o("div", L, [
76
- (s(!0), n(u, null, C(l.subHeaders, (e) => (s(), n("div", {
77
- key: e,
78
- class: "card-sub-header-item"
79
- }, [
80
- o("span", null, v(e), 1)
81
- ]))), 128))
82
- ])
83
- ])
84
- ]),
85
- default: c(() => [
86
- t(w, null, {
87
- default: c(() => [
88
- E(o("div", null, [
89
- t(p(N), { list: l.children }, null, 8, ["list"])
90
- ], 512), [
91
- [V, !a.value]
92
- ])
93
- ]),
94
- _: 1
95
- })
96
- ]),
97
- _: 1
98
- }, 16, ["class"]);
99
- };
100
- }
101
- }), G = /* @__PURE__ */ S(P, [["__scopeId", "data-v-37d0cc4b"]]);
102
- export {
103
- G as default
104
- };
@@ -1,171 +0,0 @@
1
- import { defineComponent as F, inject as V, ref as _, resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as v, normalizeStyle as j, createElementVNode as i, createBlock as r, createCommentVNode as u, toDisplayString as M, withCtx as C, Fragment as B, renderList as $, createTextVNode as A, createVNode as d, unref as k, withDirectives as O, vShow as P } from "vue";
2
- import { u as U, I as m, a as S, B as q, i as G, b as H } from "./index-DLT-0b2b.js";
3
- import "element-plus";
4
- const J = ["id"], K = { class: "left-part" }, Q = { class: "title" }, W = { class: "right-part" }, X = { key: 0 }, Y = {
5
- key: 1,
6
- class: "switch-panel"
7
- }, Z = { key: 3 }, x = /* @__PURE__ */ F({
8
- __name: "CurdCard",
9
- props: {
10
- name: {},
11
- children: {},
12
- defaultCollapse: { type: Boolean },
13
- collapsible: { type: Boolean },
14
- onCollapsed: {},
15
- typeSwitch: { type: Boolean },
16
- title: {},
17
- btns: {},
18
- type: {},
19
- mainIcon: {},
20
- extraIcons: {},
21
- displayType: {},
22
- radioList: {},
23
- onRadioChange: {},
24
- radioDefault: {},
25
- formSlots: {},
26
- style: { type: [Boolean, null, String, Object, Array] }
27
- },
28
- setup(R) {
29
- const c = V("ruleModule", void 0), g = V("pageMethodMap", {}), n = R, b = _(n.radioDefault ?? "2"), T = (e) => {
30
- if (e && c)
31
- try {
32
- c[e](g);
33
- } catch (a) {
34
- console.error(a);
35
- }
36
- }, D = (e) => {
37
- n.onRadioChange && c && c[n.onRadioChange](g, e);
38
- }, L = () => {
39
- p.value = !p.value, n.onCollapsed && c && c[n.onCollapsed](g, p.value);
40
- }, p = _(n.defaultCollapse ?? !1), y = _(n.displayType || (n.typeSwitch ? "card" : "table")), N = U(), I = (e) => {
41
- y.value = e;
42
- const a = G(N.schema.items, n.name), h = (w) => {
43
- w.forEach((t) => {
44
- t.component === "Table" && t.props && (t.props.displayType = e), t.children && t.children.length > 0 && h(t.children);
45
- });
46
- };
47
- a && a.children && h(a.children);
48
- };
49
- return I(y.value), (e, a) => {
50
- const h = f("el-radio"), w = f("el-radio-group"), t = f("el-tooltip"), z = f("el-collapse-transition");
51
- return o(), s("div", {
52
- class: v(["crm-curd-card", { gridItem: e.type === "gridItem" }]),
53
- style: j(e.style),
54
- id: e.name
55
- }, [
56
- i("div", {
57
- class: v(["card-header", {
58
- inline: e.type === "inline",
59
- mix: e.type === "mix",
60
- default: e.type === "default",
61
- gridItem: e.type === "gridItem",
62
- collapsedPadding: p.value && e.onCollapsed
63
- }])
64
- }, [
65
- i("div", K, [
66
- e.mainIcon ? (o(), r(m, {
67
- key: 0,
68
- class: "title-icon",
69
- size: "large",
70
- name: e.mainIcon.name,
71
- color: e.mainIcon.color
72
- }, null, 8, ["name", "color"])) : u("", !0),
73
- i("span", Q, M(e.title), 1),
74
- e.radioList ? (o(), r(w, {
75
- key: 1,
76
- class: "ml-9",
77
- modelValue: b.value,
78
- "onUpdate:modelValue": a[0] || (a[0] = (l) => b.value = l),
79
- onChange: a[1] || (a[1] = (l) => D(b.value))
80
- }, {
81
- default: C(() => [
82
- (o(!0), s(B, null, $(e.radioList, (l) => (o(), r(h, {
83
- value: l.value,
84
- key: l.value
85
- }, {
86
- default: C(() => [
87
- A(M(l.label), 1)
88
- ]),
89
- _: 2
90
- }, 1032, ["value"]))), 128))
91
- ]),
92
- _: 1
93
- }, 8, ["modelValue"])) : u("", !0),
94
- (o(!0), s(B, null, $(e.extraIcons, (l) => (o(), s(B, {
95
- key: l.name
96
- }, [
97
- l.tips ? (o(), r(t, {
98
- key: 0,
99
- content: l.tips,
100
- placement: "right"
101
- }, {
102
- default: C(() => [
103
- d(m, {
104
- class: "extra-icon",
105
- name: l.name,
106
- color: l.color,
107
- onClick: (E) => T(l.onClick)
108
- }, null, 8, ["name", "color", "onClick"])
109
- ]),
110
- _: 2
111
- }, 1032, ["content"])) : (o(), r(m, {
112
- key: 1,
113
- class: "extra-icon",
114
- name: l.name,
115
- color: l.color,
116
- onClick: (E) => T(l.onClick)
117
- }, null, 8, ["name", "color", "onClick"]))
118
- ], 64))), 128))
119
- ]),
120
- i("div", W, [
121
- e.formSlots ? (o(), s("div", X, [
122
- d(k(S), { list: e.formSlots }, null, 8, ["list"])
123
- ])) : u("", !0),
124
- e.typeSwitch ? (o(), s("div", Y, [
125
- i("div", {
126
- class: v(["switch-icon-wrapper", { active: y.value === "card" }]),
127
- onClick: a[2] || (a[2] = (l) => I("card"))
128
- }, [
129
- d(m, { name: "icon-kapian" })
130
- ], 2),
131
- i("div", {
132
- class: v(["switch-icon-wrapper", { active: y.value === "table" }]),
133
- onClick: a[3] || (a[3] = (l) => I("table"))
134
- }, [
135
- d(m, { name: "icon-biaoge" })
136
- ], 2)
137
- ])) : u("", !0),
138
- e.collapsible ? (o(), s("div", {
139
- key: 2,
140
- class: v(["collapse-icon-wrapper", { collapsed: p.value }]),
141
- onClick: L
142
- }, [
143
- d(m, { name: "icon-shaixuan" })
144
- ], 2)) : u("", !0),
145
- e.btns && e.btns.length > 0 ? (o(), s("div", Z, [
146
- d(k(q), {
147
- btns: e.btns || []
148
- }, null, 8, ["btns"])
149
- ])) : u("", !0)
150
- ])
151
- ], 2),
152
- e.onCollapsed ? (o(), r(k(S), {
153
- key: 1,
154
- list: e.children
155
- }, null, 8, ["list"])) : (o(), r(z, { key: 0 }, {
156
- default: C(() => [
157
- O(i("div", null, [
158
- d(k(S), { list: e.children }, null, 8, ["list"])
159
- ], 512), [
160
- [P, !p.value]
161
- ])
162
- ]),
163
- _: 1
164
- }))
165
- ], 14, J);
166
- };
167
- }
168
- }), ae = /* @__PURE__ */ H(x, [["__scopeId", "data-v-46f74023"]]);
169
- export {
170
- ae as default
171
- };