asiaint-lowcode 3.1.71 → 3.1.73
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 +3 -3
- package/dist/asiaint-lowcode.umd.cjs +128 -127
- package/dist/index.d.ts +2 -0
- package/dist/lazy/Card-L6PoEgNq.js +175 -0
- package/dist/lazy/{Cascader-iqS6I5ne.js → Cascader-CZxXcJbk.js} +1 -1
- package/dist/lazy/{Checkbox-BRpkwla7.js → Checkbox-CHlIM8xM.js} +19 -17
- package/dist/lazy/{Collapse-DA4JGV2k.js → Collapse-BsjWqn-j.js} +1 -1
- package/dist/lazy/{Component-CFF3dfnF.js → Component-B9PLCoHg.js} +1 -1
- package/dist/lazy/{Component-By8Mn-7k.js → Component-BSbw41TF.js} +40 -38
- package/dist/lazy/{Component-T9UX1U0R.js → Component-BrrH7ftI.js} +2 -2
- package/dist/lazy/{Component-wAVZj4Xr.js → Component-C8O7cDs6.js} +2 -2
- package/dist/lazy/{Component-DyNwi6dS.js → Component-CPgcZhCf.js} +2 -2
- package/dist/lazy/{Component-C_Ceu4e3.js → Component-DQ6jk5oO.js} +1 -1
- package/dist/lazy/Component-tDUlYhWG.js +37 -0
- package/dist/lazy/{CurdCard-vJHAmDeg.js → CurdCard-DS_UWVSV.js} +2 -2
- package/dist/lazy/Custom-BdJd7FtQ.js +26 -0
- package/dist/lazy/{DatePicker-CzWXqle4.js → DatePicker-BOMW020D.js} +1 -1
- package/dist/lazy/{DragList-Cht_EcHq.js → DragList-vffDk63A.js} +13 -13
- package/dist/lazy/{FilterSearch-BGv08Uq4.js → FilterSearch-7BFUH-VS.js} +8 -8
- package/dist/lazy/{FloatCurd-B6LjEiro.js → FloatCurd-iYCMLAFH.js} +9 -9
- package/dist/lazy/{FormList-BZUyjys-.js → FormList-Bn3SC8j0.js} +1 -1
- package/dist/lazy/{Grid-1RFttQOZ.js → Grid-DLt_7pOQ.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Bs1vvOPs.js → InfiniteScroll-Dwo4-h02.js} +4 -4
- package/dist/lazy/{Inline-RHHDGNWq.js → Inline-DIiBF8zq.js} +3 -3
- package/dist/lazy/{JsonEdit-VuOtthbv.js → JsonEdit-BDXhSX79.js} +3 -3
- package/dist/lazy/{LogList-Cb7MSp2n.js → LogList-CcXBt3Lz.js} +7 -7
- package/dist/lazy/{ObjGroup-CHI8uUIP.js → ObjGroup-CwIe9KUs.js} +3 -3
- package/dist/lazy/{OfferDetails-NmkDJWXY.js → OfferDetails-BBL-IyN0.js} +2 -2
- package/dist/lazy/{Pagination-Z5_mQtRK.js → Pagination-C4MO8AUo.js} +4 -4
- package/dist/lazy/{Progress-DhreEklB.js → Progress-DVftk_bX.js} +15 -15
- package/dist/lazy/{Radio-TcUp4zmk.js → Radio-BynMYSUs.js} +3 -3
- package/dist/lazy/{SearchSelect-BwYhKzLC.js → SearchSelect-BKbHLJrI.js} +6 -6
- package/dist/lazy/{Select-BjfSNdzi.js → Select-CdxmSO3t.js} +2 -2
- package/dist/lazy/{Table-CV_Wq7aZ.js → Table-DStSIVYY.js} +51 -52
- package/dist/lazy/{Tabs-BwwwAqz0.js → Tabs-IKZigybS.js} +11 -11
- package/dist/lazy/{TextArea-D47yvGnI.js → TextArea-aK7TvDmv.js} +2 -2
- package/dist/lazy/{Wrapper-DWws2ZJd.js → Wrapper-HI_rtXrK.js} +2 -2
- package/dist/lazy/{index-adXhXl4D.js → index-GW-oDgSG.js} +60 -60
- package/dist/lazy/{useSelect-DovQJ3Tg.js → useSelect-C3WbRXz4.js} +15 -15
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Card-BCkWdaeA.js +0 -130
- package/dist/lazy/Component-D3ko2zV_.js +0 -30
- package/dist/lazy/Custom-CxSix-Nl.js +0 -26
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.73",
|
|
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,130 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, ref as S, inject as C, resolveComponent as p, openBlock as o, createBlock as d, mergeProps as $, withCtx as c, createElementVNode as r, normalizeClass as u, createElementBlock as s, createVNode as a, unref as m, createCommentVNode as t, toDisplayString as b, Fragment as h, renderList as y, withDirectives as M, vShow as E } from "vue";
|
|
2
|
-
import { a as P, I as v, b as _, B as V, _ as D } from "./index-adXhXl4D.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const N = {
|
|
5
|
-
key: 3,
|
|
6
|
-
class: "card-btns"
|
|
7
|
-
}, j = { class: "card-sub-header" }, H = /* @__PURE__ */ F({
|
|
8
|
-
__name: "Card",
|
|
9
|
-
props: {
|
|
10
|
-
hidden: { type: Boolean },
|
|
11
|
-
children: {},
|
|
12
|
-
headerFormSlots: {},
|
|
13
|
-
headerFormSlotsPosition: {},
|
|
14
|
-
collapsible: { type: Boolean },
|
|
15
|
-
header: {},
|
|
16
|
-
btns: {},
|
|
17
|
-
mainIcon: {},
|
|
18
|
-
extraIcons: {},
|
|
19
|
-
shadowless: { type: Boolean },
|
|
20
|
-
subHeaders: {}
|
|
21
|
-
},
|
|
22
|
-
setup(L) {
|
|
23
|
-
const n = S(!1), k = C("ruleModule", void 0), g = C("pageMethodMap", {}), f = (e) => {
|
|
24
|
-
if (e && k)
|
|
25
|
-
try {
|
|
26
|
-
k[e](g);
|
|
27
|
-
} catch (i) {
|
|
28
|
-
console.error(i + `
|
|
29
|
-
funcName: ${e}`);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
return (e, i) => {
|
|
33
|
-
const w = p("el-tooltip"), I = p("el-collapse-transition"), z = p("ElCard");
|
|
34
|
-
return e.hidden ? t("", !0) : (o(), d(z, $({ key: 0 }, e.$attrs, {
|
|
35
|
-
class: ["crm-card", { collapsed: n.value, shadowless: e.shadowless }],
|
|
36
|
-
shadow: "never"
|
|
37
|
-
}), {
|
|
38
|
-
header: c(() => [
|
|
39
|
-
r("div", {
|
|
40
|
-
class: u(["card-header", { "has-collapsed": e.collapsible }])
|
|
41
|
-
}, [
|
|
42
|
-
e.collapsible ? (o(), s("div", {
|
|
43
|
-
key: 0,
|
|
44
|
-
class: "icon-wrapper",
|
|
45
|
-
onClick: i[0] || (i[0] = (l) => n.value = !n.value)
|
|
46
|
-
}, [
|
|
47
|
-
a(m(P), {
|
|
48
|
-
name: "dropdown",
|
|
49
|
-
class: u(["dropdown-icon", { "is-collapsed": n.value }])
|
|
50
|
-
}, null, 8, ["class"])
|
|
51
|
-
])) : t("", !0),
|
|
52
|
-
e.mainIcon ? (o(), d(v, {
|
|
53
|
-
key: 1,
|
|
54
|
-
class: "title-icon",
|
|
55
|
-
size: "large",
|
|
56
|
-
name: e.mainIcon.name,
|
|
57
|
-
color: e.mainIcon.color
|
|
58
|
-
}, null, 8, ["name", "color"])) : t("", !0),
|
|
59
|
-
r("span", null, b(e.header), 1),
|
|
60
|
-
e.headerFormSlots ? (o(), s("div", {
|
|
61
|
-
key: 2,
|
|
62
|
-
class: u({
|
|
63
|
-
"header-form-slots-right": e.headerFormSlotsPosition === "right",
|
|
64
|
-
"header-form-slots-left": e.headerFormSlotsPosition === "left"
|
|
65
|
-
})
|
|
66
|
-
}, [
|
|
67
|
-
a(m(_), { list: e.headerFormSlots }, null, 8, ["list"])
|
|
68
|
-
], 2)) : t("", !0),
|
|
69
|
-
(o(!0), s(h, null, y(e.extraIcons, (l) => (o(), s(h, {
|
|
70
|
-
key: l.name
|
|
71
|
-
}, [
|
|
72
|
-
l.tips ? (o(), d(w, {
|
|
73
|
-
key: 0,
|
|
74
|
-
content: l.tips,
|
|
75
|
-
placement: "right"
|
|
76
|
-
}, {
|
|
77
|
-
default: c(() => [
|
|
78
|
-
a(v, {
|
|
79
|
-
class: "extra-icon",
|
|
80
|
-
name: l.name,
|
|
81
|
-
color: l.color,
|
|
82
|
-
size: l.size || "small",
|
|
83
|
-
onClick: (B) => f(l.onClick)
|
|
84
|
-
}, null, 8, ["name", "color", "size", "onClick"])
|
|
85
|
-
]),
|
|
86
|
-
_: 2
|
|
87
|
-
}, 1032, ["content"])) : (o(), d(v, {
|
|
88
|
-
key: 1,
|
|
89
|
-
class: "extra-icon",
|
|
90
|
-
name: l.name,
|
|
91
|
-
color: l.color,
|
|
92
|
-
size: l.size || "small",
|
|
93
|
-
onClick: (B) => f(l.onClick)
|
|
94
|
-
}, null, 8, ["name", "color", "size", "onClick"]))
|
|
95
|
-
], 64))), 128)),
|
|
96
|
-
e.btns && e.btns.length > 0 ? (o(), s("div", N, [
|
|
97
|
-
a(m(V), {
|
|
98
|
-
btns: e.btns || []
|
|
99
|
-
}, null, 8, ["btns"])
|
|
100
|
-
])) : t("", !0),
|
|
101
|
-
r("div", j, [
|
|
102
|
-
(o(!0), s(h, null, y(e.subHeaders, (l) => (o(), s("div", {
|
|
103
|
-
key: l,
|
|
104
|
-
class: "card-sub-header-item"
|
|
105
|
-
}, [
|
|
106
|
-
r("span", null, b(l), 1)
|
|
107
|
-
]))), 128))
|
|
108
|
-
])
|
|
109
|
-
], 2)
|
|
110
|
-
]),
|
|
111
|
-
default: c(() => [
|
|
112
|
-
a(I, null, {
|
|
113
|
-
default: c(() => [
|
|
114
|
-
M(r("div", null, [
|
|
115
|
-
a(m(_), { list: e.children }, null, 8, ["list"])
|
|
116
|
-
], 512), [
|
|
117
|
-
[E, !n.value]
|
|
118
|
-
])
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
})
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 16, ["class"]));
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
}), G = /* @__PURE__ */ D(H, [["__scopeId", "data-v-804c7a5d"]]);
|
|
128
|
-
export {
|
|
129
|
-
G as default
|
|
130
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, inject as t, openBlock as i, createElementBlock as p, mergeProps as d } from "vue";
|
|
2
|
-
const u = ["innerHTML"], m = /* @__PURE__ */ a({
|
|
3
|
-
__name: "Component",
|
|
4
|
-
props: {
|
|
5
|
-
text: {},
|
|
6
|
-
color: {},
|
|
7
|
-
onClick: {},
|
|
8
|
-
params: {}
|
|
9
|
-
},
|
|
10
|
-
setup(c) {
|
|
11
|
-
const e = t("ruleModule", void 0), l = t("pageMethodMap", {}), n = c, s = async () => {
|
|
12
|
-
const o = n.onClick;
|
|
13
|
-
if (o && e)
|
|
14
|
-
try {
|
|
15
|
-
await e[o](l, n);
|
|
16
|
-
} catch (r) {
|
|
17
|
-
console.error(r + `
|
|
18
|
-
onClick: ${o}`);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
return (o, r) => (i(), p("div", d(o.$attrs, {
|
|
22
|
-
innerHTML: o.text,
|
|
23
|
-
onClick: s,
|
|
24
|
-
style: { color: o.color, cursor: o.onClick ? "pointer" : "default" }
|
|
25
|
-
}), null, 16, u));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
m as default
|
|
30
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as u, resolveDynamicComponent as d, mergeProps as c } from "vue";
|
|
2
|
-
import { _ as i } from "./index-adXhXl4D.js";
|
|
3
|
-
const f = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "empty"
|
|
6
|
-
}, _ = /* @__PURE__ */ n({
|
|
7
|
-
__name: "Custom",
|
|
8
|
-
props: /* @__PURE__ */ s({
|
|
9
|
-
componentName: {}
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: {},
|
|
12
|
-
modelModifiers: {}
|
|
13
|
-
}),
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(a) {
|
|
16
|
-
const o = p(a, "modelValue");
|
|
17
|
-
return (e, m) => e.componentName ? (t(), u(d(e.componentName), c({
|
|
18
|
-
key: 1,
|
|
19
|
-
modelValue: o.value,
|
|
20
|
-
"onUpdate:modelValue": m[0] || (m[0] = (l) => o.value = l)
|
|
21
|
-
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", f, "请输入全局注册得组件名"));
|
|
22
|
-
}
|
|
23
|
-
}), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-a013b8cf"]]);
|
|
24
|
-
export {
|
|
25
|
-
v as default
|
|
26
|
-
};
|