asiaint-lowcode 3.1.11 → 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/README.md +31 -31
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +114 -114
- package/dist/index.d.ts +15 -7
- package/dist/lazy/{Card-DddN4E5b.js → Card-PgW4DysW.js} +2 -2
- package/dist/lazy/{Cascader-T5hpcc8k.js → Cascader-DqjS19FS.js} +1 -1
- package/dist/lazy/{Checkbox-CeSqY5bJ.js → Checkbox-Bjwn_9Sk.js} +2 -2
- package/dist/lazy/{Collapse-B2kdCZag.js → Collapse-CggqtpyZ.js} +1 -1
- package/dist/lazy/{Component-CJD4Vdw1.js → Component-D04uUKKP.js} +1 -1
- package/dist/lazy/{Component-Dz3dlbfS.js → Component-DRCOaqRw.js} +8 -8
- package/dist/lazy/{Component-B2WLVum9.js → Component-DRo28JGo.js} +1 -1
- package/dist/lazy/{Component-CbdyqmFB.js → Component-DhckZre2.js} +2 -2
- package/dist/lazy/{Component-Dtf1g_1t.js → Component-gjivf6-3.js} +2 -2
- package/dist/lazy/{Component-DOZ5voTY.js → Component-sJXzY0GZ.js} +1 -1
- package/dist/lazy/CurdCard-OauJU94C.js +198 -0
- package/dist/lazy/{Custom-CFR7dysF.js → Custom-Ckhj-l7m.js} +7 -7
- package/dist/lazy/{DatePicker-Do81eNYq.js → DatePicker-Bb8L5SLT.js} +1 -1
- package/dist/lazy/{DragList-BoDSWhvz.js → DragList-bGBTK4P8.js} +2 -2
- package/dist/lazy/{FormList-BL-GfX_u.js → FormList-Cyl7VsIi.js} +1 -1
- package/dist/lazy/{Grid-DhqbZ2BC.js → Grid-BwS6pSTs.js} +1 -1
- package/dist/lazy/{Inline-CV6FC9TD.js → Inline-DXGzDS4z.js} +3 -3
- package/dist/lazy/{JsonEdit-BqcsAu1j.js → JsonEdit-Dp2tnIQo.js} +3 -3
- package/dist/lazy/{LogList-CICkvuYl.js → LogList-DxsTUwbL.js} +7 -7
- package/dist/lazy/{ObjGroup-CIGn_qSU.js → ObjGroup-B-9pX1xQ.js} +1 -1
- package/dist/lazy/{OfferDetails-Df5twhTM.js → OfferDetails-IUMRtdhg.js} +10 -10
- package/dist/lazy/{Pagination-CdPSjxIi.js → Pagination-BiZil-5r.js} +7 -7
- package/dist/lazy/{Progress-CWckUvQJ.js → Progress-50n0oo7L.js} +5 -5
- package/dist/lazy/{Radio-CftD02pX.js → Radio-S-MFhpUk.js} +3 -3
- package/dist/lazy/{SearchSelect-C3tK6VuI.js → SearchSelect-0WK-bM_-.js} +11 -11
- package/dist/lazy/{Select-CQZLVAWM.js → Select-CZLGF2j5.js} +2 -2
- package/dist/lazy/{Table-DeD8BnXj.js → Table-CIAv5GJ3.js} +2 -2
- package/dist/lazy/{Tabs-B3j9nO6H.js → Tabs-CakSe4ME.js} +1 -1
- package/dist/lazy/{Wrapper-CI9_5t_3.js → Wrapper-BuGoV8OT.js} +15 -15
- package/dist/lazy/{index-DjyiIwKi.js → index-PbMyf01b.js} +2656 -2638
- package/dist/lazy/{useSelect-BtBnWkjy.js → useSelect-Ev8bzJPh.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/CurdCard-C40vLAVd.js +0 -171
package/global.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare module 'vue' {
|
|
2
|
-
export interface GlobalComponents {
|
|
3
|
-
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
-
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
-
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
-
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {}
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
export interface GlobalComponents {
|
|
3
|
+
FormRender: (typeof import('asiaint-lowcode'))['FormRender']
|
|
4
|
+
FormDesign: (typeof import('asiaint-lowcode'))['FormDesign']
|
|
5
|
+
TableRender: (typeof import('asiaint-lowcode'))['TableRender']
|
|
6
|
+
PageRender: (typeof import('asiaint-lowcode'))['PageRender']
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {}
|
package/package.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "asiaint-lowcode",
|
|
3
|
-
"version": "3.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "vite build",
|
|
8
|
-
"v": "npm version patch",
|
|
9
|
-
"release": "vite build && npm publish"
|
|
10
|
-
},
|
|
11
|
-
"peerDependencies": {
|
|
12
|
-
"vue": "^3.2.0",
|
|
13
|
-
"element-plus": "^2.6.0"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"element-plus": "^2.8.3",
|
|
17
|
-
"vue": "^3.5.8"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"vite-plugin-dts": "^3.7.3",
|
|
21
|
-
"vite-plugin-libcss": "^1.1.1"
|
|
22
|
-
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist",
|
|
25
|
-
"global.d.ts"
|
|
26
|
-
],
|
|
27
|
-
"main": "./dist/asiaint-lowcode.js",
|
|
28
|
-
"module": "./dist/asiaint-lowcode.js",
|
|
29
|
-
"types": "dist/index.d.ts",
|
|
30
|
-
"keywords": [
|
|
31
|
-
"component",
|
|
32
|
-
"vue",
|
|
33
|
-
"form",
|
|
34
|
-
"element-ui"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "asiaint-lowcode",
|
|
3
|
+
"version": "3.1.13",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "vite build",
|
|
8
|
+
"v": "npm version patch",
|
|
9
|
+
"release": "vite build && npm publish"
|
|
10
|
+
},
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"vue": "^3.2.0",
|
|
13
|
+
"element-plus": "^2.6.0"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"element-plus": "^2.8.3",
|
|
17
|
+
"vue": "^3.5.8"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"vite-plugin-dts": "^3.7.3",
|
|
21
|
+
"vite-plugin-libcss": "^1.1.1"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"global.d.ts"
|
|
26
|
+
],
|
|
27
|
+
"main": "./dist/asiaint-lowcode.js",
|
|
28
|
+
"module": "./dist/asiaint-lowcode.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"component",
|
|
32
|
+
"vue",
|
|
33
|
+
"form",
|
|
34
|
+
"element-ui"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, inject as V, ref as _, resolveComponent as C, 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 f, 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-DjyiIwKi.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 = C("el-radio"), w = C("el-radio-group"), t = C("el-tooltip"), z = C("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: f(() => [
|
|
82
|
-
(o(!0), s(B, null, $(e.radioList, (l) => (o(), r(h, {
|
|
83
|
-
value: l.value,
|
|
84
|
-
key: l.value
|
|
85
|
-
}, {
|
|
86
|
-
default: f(() => [
|
|
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: f(() => [
|
|
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: f(() => [
|
|
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-b2c9748c"]]);
|
|
169
|
-
export {
|
|
170
|
-
ae as default
|
|
171
|
-
};
|