asiaint-lowcode 3.0.48 → 3.0.49

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 +116 -116
  3. package/dist/index.d.ts +1 -0
  4. package/dist/lazy/{Card-CXT24hFY.js → Card-DMjUpAIj.js} +1 -1
  5. package/dist/lazy/{Cascader-Pokg08yK.js → Cascader-BT35dY5a.js} +1 -1
  6. package/dist/lazy/{Checkbox-Bfi1igXe.js → Checkbox-Ci68WFSK.js} +2 -2
  7. package/dist/lazy/{Collapse-Cq3Z5LUb.js → Collapse-2gI86A_7.js} +1 -1
  8. package/dist/lazy/{Component-C-fNXd9T.js → Component-Bb4MX577.js} +1 -1
  9. package/dist/lazy/{Component-Brf8Tpla.js → Component-BshKf2fx.js} +1 -1
  10. package/dist/lazy/{Component-BRpV8m6X.js → Component-CQ_IOd1F.js} +1 -1
  11. package/dist/lazy/{Component-Ae6iIDeb.js → Component-CupeeD39.js} +1 -1
  12. package/dist/lazy/{Component-BjWBsfKW.js → Component-DLYq9LM0.js} +1 -1
  13. package/dist/lazy/{Component-9AnEsQDK.js → Component-DtA_b93M.js} +1 -1
  14. package/dist/lazy/CurdCard-CKXu74a9.js +160 -0
  15. package/dist/lazy/{Custom-hWu0Q6FZ.js → Custom-DjuGXd6F.js} +1 -1
  16. package/dist/lazy/{FormList-BCBAuCnO.js → FormList-Bj4lHerF.js} +1 -1
  17. package/dist/lazy/{Grid-DHoPAE4o.js → Grid-Mk8mub7Q.js} +1 -1
  18. package/dist/lazy/{Inline-52tfJp9S.js → Inline-DSqJRCsx.js} +1 -1
  19. package/dist/lazy/{JsonEdit-Diiqc8Fx.js → JsonEdit-DicMSM8-.js} +1 -1
  20. package/dist/lazy/{ObjGroup-DmkpIILA.js → ObjGroup-Cg4dRbsJ.js} +1 -1
  21. package/dist/lazy/{OfferDetails-DbYK4sOF.js → OfferDetails-DB_EzEAA.js} +1 -1
  22. package/dist/lazy/{OrderProgress-BTlnVLjv.js → OrderProgress-CZpGdfnW.js} +1 -1
  23. package/dist/lazy/{Radio-CvbLZ4LB.js → Radio-BX5Zmp8e.js} +2 -2
  24. package/dist/lazy/{SearchSelect-WSzBaNyX.js → SearchSelect-kvSJSKSC.js} +2 -2
  25. package/dist/lazy/{Select-CBG0Q_KL.js → Select-BIPa0tLx.js} +2 -2
  26. package/dist/lazy/{Table-D4kpXus2.js → Table-BbjU_j_p.js} +1 -1
  27. package/dist/lazy/{Tabs-Dt9V-WE7.js → Tabs-GI54UFjX.js} +1 -1
  28. package/dist/lazy/{Wrapper-T-of6mnW.js → Wrapper-DvJMU1UR.js} +1 -1
  29. package/dist/lazy/{index-BkLDpr2h.js → index-DSejQqUN.js} +2104 -2081
  30. package/dist/lazy/{useSelect-BY8D93iV.js → useSelect-Cqr1eRPd.js} +1 -1
  31. package/dist/style.css +2 -2
  32. package/package.json +1 -1
  33. package/dist/lazy/CurdCard-DBLv0WYy.js +0 -135
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asiaint-lowcode",
3
- "version": "3.0.48",
3
+ "version": "3.0.49",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,135 +0,0 @@
1
- import { defineComponent as F, inject as I, ref as w, resolveComponent as _, openBlock as n, createElementBlock as s, createElementVNode as a, normalizeClass as h, createBlock as p, createCommentVNode as v, toDisplayString as N, Fragment as g, renderList as V, withCtx as B, createVNode as i, unref as f, withDirectives as z, vShow as D } from "vue";
2
- import { u as j, I as c, B as L, a as T, h as P, b as R } from "./index-BkLDpr2h.js";
3
- import "element-plus";
4
- const q = { class: "crm-curd-card" }, A = { class: "left-part" }, G = { class: "title" }, H = { class: "right-part" }, J = {
5
- key: 0,
6
- class: "switch-panel"
7
- }, K = { key: 2 }, O = /* @__PURE__ */ F({
8
- __name: "CurdCard",
9
- props: {
10
- name: {},
11
- children: {},
12
- collapsible: { type: Boolean },
13
- onCollapsed: {},
14
- typeSwitch: { type: Boolean },
15
- title: {},
16
- btns: {},
17
- type: {},
18
- mainIcon: {},
19
- extraIcons: {},
20
- displayType: {}
21
- },
22
- setup(M) {
23
- const d = I("ruleModule", void 0), k = I("pageMethodMap", {}), r = M, b = (e) => {
24
- if (e && d)
25
- try {
26
- d[e](k);
27
- } catch (o) {
28
- console.error(o);
29
- }
30
- }, S = () => {
31
- t.value = !t.value, r.onCollapsed && d && d[r.onCollapsed](k, t.value);
32
- }, t = w(!1), m = w(r.displayType || (r.typeSwitch ? "card" : "table")), $ = j(), y = (e) => {
33
- m.value = e;
34
- const o = P($.schema.items, r.name), u = (C) => {
35
- C.forEach((l) => {
36
- l.component === "Table" && l.props && (l.props.displayType = e), l.children && l.children.length > 0 && u(l.children);
37
- });
38
- };
39
- o && o.children && u(o.children);
40
- };
41
- return y(m.value), (e, o) => {
42
- const u = _("el-tooltip"), C = _("el-collapse-transition");
43
- return n(), s("div", q, [
44
- a("div", {
45
- class: h(["card-header", {
46
- inline: e.type === "inline",
47
- mix: e.type === "mix",
48
- default: e.type === "default",
49
- collapsedPadding: t.value && e.onCollapsed
50
- }])
51
- }, [
52
- a("div", A, [
53
- e.mainIcon ? (n(), p(c, {
54
- key: 0,
55
- class: "title-icon",
56
- size: "large",
57
- name: e.mainIcon.name,
58
- color: e.mainIcon.color
59
- }, null, 8, ["name", "color"])) : v("", !0),
60
- a("span", G, N(e.title), 1),
61
- (n(!0), s(g, null, V(e.extraIcons, (l) => (n(), s(g, {
62
- key: l.name
63
- }, [
64
- l.tips ? (n(), p(u, {
65
- key: 0,
66
- content: l.tips,
67
- placement: "right"
68
- }, {
69
- default: B(() => [
70
- i(c, {
71
- class: "extra-icon",
72
- name: l.name,
73
- color: l.color,
74
- onClick: (E) => b(l.onClick)
75
- }, null, 8, ["name", "color", "onClick"])
76
- ]),
77
- _: 2
78
- }, 1032, ["content"])) : (n(), p(c, {
79
- key: 1,
80
- class: "extra-icon",
81
- name: l.name,
82
- color: l.color,
83
- onClick: (E) => b(l.onClick)
84
- }, null, 8, ["name", "color", "onClick"]))
85
- ], 64))), 128))
86
- ]),
87
- a("div", H, [
88
- e.typeSwitch ? (n(), s("div", J, [
89
- a("div", {
90
- class: h(["switch-icon-wrapper", { active: m.value === "card" }]),
91
- onClick: o[0] || (o[0] = (l) => y("card"))
92
- }, [
93
- i(c, { name: "icon-kapian" })
94
- ], 2),
95
- a("div", {
96
- class: h(["switch-icon-wrapper", { active: m.value === "table" }]),
97
- onClick: o[1] || (o[1] = (l) => y("table"))
98
- }, [
99
- i(c, { name: "icon-biaoge" })
100
- ], 2)
101
- ])) : v("", !0),
102
- e.collapsible ? (n(), s("div", {
103
- key: 1,
104
- class: h(["collapse-icon-wrapper", { collapsed: t.value }]),
105
- onClick: S
106
- }, [
107
- i(c, { name: "icon-shaixuan" })
108
- ], 2)) : v("", !0),
109
- e.btns && e.btns.length > 0 ? (n(), s("div", K, [
110
- i(f(L), {
111
- btns: e.btns || []
112
- }, null, 8, ["btns"])
113
- ])) : v("", !0)
114
- ])
115
- ], 2),
116
- e.onCollapsed ? (n(), p(f(T), {
117
- key: 1,
118
- list: e.children
119
- }, null, 8, ["list"])) : (n(), p(C, { key: 0 }, {
120
- default: B(() => [
121
- z(a("div", null, [
122
- i(f(T), { list: e.children }, null, 8, ["list"])
123
- ], 512), [
124
- [D, !t.value]
125
- ])
126
- ]),
127
- _: 1
128
- }))
129
- ]);
130
- };
131
- }
132
- }), X = /* @__PURE__ */ R(O, [["__scopeId", "data-v-c1f1135c"]]);
133
- export {
134
- X as default
135
- };