asiaint-lowcode 3.1.12 → 3.1.13
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 +114 -114
- package/dist/index.d.ts +10 -0
- package/dist/lazy/{Card-DqF5ydvP.js → Card-PgW4DysW.js} +1 -1
- package/dist/lazy/{Cascader-w2aXlzy4.js → Cascader-DqjS19FS.js} +1 -1
- package/dist/lazy/{Checkbox-BLgBYIxM.js → Checkbox-Bjwn_9Sk.js} +2 -2
- package/dist/lazy/{Collapse-BsgI2UtE.js → Collapse-CggqtpyZ.js} +1 -1
- package/dist/lazy/{Component-OQos0Yv2.js → Component-D04uUKKP.js} +1 -1
- package/dist/lazy/{Component-4k5371qV.js → Component-DRCOaqRw.js} +1 -1
- package/dist/lazy/{Component-D7U_ddrO.js → Component-DRo28JGo.js} +1 -1
- package/dist/lazy/{Component-yeX4uCg6.js → Component-DhckZre2.js} +1 -1
- package/dist/lazy/{Component-B9DtiqZr.js → Component-gjivf6-3.js} +1 -1
- package/dist/lazy/{Component-CWeTtaB6.js → Component-sJXzY0GZ.js} +1 -1
- package/dist/lazy/CurdCard-OauJU94C.js +198 -0
- package/dist/lazy/{Custom-CddcUJqG.js → Custom-Ckhj-l7m.js} +1 -1
- package/dist/lazy/{DatePicker-Bh2ncgnR.js → DatePicker-Bb8L5SLT.js} +1 -1
- package/dist/lazy/{DragList-FMLI8ayI.js → DragList-bGBTK4P8.js} +1 -1
- package/dist/lazy/{FormList-vriDIR3X.js → FormList-Cyl7VsIi.js} +1 -1
- package/dist/lazy/{Grid-Co2VGKrE.js → Grid-BwS6pSTs.js} +1 -1
- package/dist/lazy/{Inline-D01blxhI.js → Inline-DXGzDS4z.js} +1 -1
- package/dist/lazy/{JsonEdit-YwhmpMqH.js → JsonEdit-Dp2tnIQo.js} +1 -1
- package/dist/lazy/{LogList-BTLxsIJ-.js → LogList-DxsTUwbL.js} +1 -1
- package/dist/lazy/{ObjGroup-FqsyEwUa.js → ObjGroup-B-9pX1xQ.js} +1 -1
- package/dist/lazy/{OfferDetails-BCTGsUQk.js → OfferDetails-IUMRtdhg.js} +1 -1
- package/dist/lazy/{Pagination-BWBZLOhR.js → Pagination-BiZil-5r.js} +1 -1
- package/dist/lazy/{Progress-D8PlrDKW.js → Progress-50n0oo7L.js} +1 -1
- package/dist/lazy/{Radio-CTyS3Wce.js → Radio-S-MFhpUk.js} +2 -2
- package/dist/lazy/{SearchSelect-DBQUxcua.js → SearchSelect-0WK-bM_-.js} +2 -2
- package/dist/lazy/{Select-NMkk0tzQ.js → Select-CZLGF2j5.js} +2 -2
- package/dist/lazy/{Table-CsUKP83I.js → Table-CIAv5GJ3.js} +1 -1
- package/dist/lazy/{Tabs-fxGLIjAK.js → Tabs-CakSe4ME.js} +1 -1
- package/dist/lazy/{Wrapper-Cn4baHVS.js → Wrapper-BuGoV8OT.js} +1 -1
- package/dist/lazy/{index-DLT-0b2b.js → index-PbMyf01b.js} +2623 -2610
- package/dist/lazy/{useSelect-Cg5sYMeF.js → useSelect-Ev8bzJPh.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/lazy/CurdCard-BA2u27QX.js +0 -171
package/package.json
CHANGED
|
@@ -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
|
-
};
|