asiaint-lowcode 3.1.68 → 3.1.70
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 +186 -184
- package/dist/index.d.ts +3 -0
- package/dist/lazy/{Card-R4e3C8FT.js → Card-CsyOMym1.js} +2 -2
- package/dist/lazy/{Cascader-Zlhwx0l5.js → Cascader-B4hAhDgE.js} +1 -1
- package/dist/lazy/{Checkbox-wh18OtPx.js → Checkbox-BFJ5LePR.js} +2 -2
- package/dist/lazy/{Collapse-eDPCp0m9.js → Collapse-C_4KYRbX.js} +1 -1
- package/dist/lazy/{Component-Dgl1WEdj.js → Component-BivW5egv.js} +2 -2
- package/dist/lazy/{Component-JpXBf-_f.js → Component-Cwo8jj-S.js} +1 -1
- package/dist/lazy/{Component-_e7q0Rzm.js → Component-CyMAtvdX.js} +2 -2
- package/dist/lazy/{Component-C2ptXNIQ.js → Component-DEmQ4V67.js} +2 -2
- package/dist/lazy/{Component-CnyNt2Pa.js → Component-DyJy9PYh.js} +1 -1
- package/dist/lazy/Component-Dyinr6lK.js +161 -0
- package/dist/lazy/{CurdCard-DDWao7oz.js → CurdCard-B7Ia_jHc.js} +9 -9
- package/dist/lazy/Custom-JI8V09YD.js +26 -0
- package/dist/lazy/{DatePicker-DghT_855.js → DatePicker-DQuUQhWb.js} +1 -1
- package/dist/lazy/{DragList-3-9gJZDO.js → DragList-CuAfRFuQ.js} +13 -13
- package/dist/lazy/{FilterSearch-FEkcf-Je.js → FilterSearch-BpJfBhcE.js} +8 -8
- package/dist/lazy/{FloatCurd-BUeuA0lu.js → FloatCurd-DUMejxJa.js} +9 -9
- package/dist/lazy/{FormList-CbBTtEpF.js → FormList-xsBrCvvu.js} +1 -1
- package/dist/lazy/{Grid-ButGfMdO.js → Grid-D0Zv5iSy.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Bi2Jn1fC.js → InfiniteScroll-GrqKUWNg.js} +4 -4
- package/dist/lazy/{Inline-B1RWfBfA.js → Inline-BZ8e83jr.js} +3 -3
- package/dist/lazy/{JsonEdit-DVMkRtAP.js → JsonEdit-CchewQwM.js} +3 -3
- package/dist/lazy/{LogList-CyFPIR5n.js → LogList-Ca-6Espa.js} +7 -7
- package/dist/lazy/{ObjGroup-lCntScQh.js → ObjGroup-5XPHM88s.js} +1 -1
- package/dist/lazy/{OfferDetails-BBvBtBnw.js → OfferDetails-CWg-EuM3.js} +2 -2
- package/dist/lazy/{Pagination--UJCHkKJ.js → Pagination-DdfH9_ex.js} +4 -4
- package/dist/lazy/{Progress-Cwa0p6tC.js → Progress-CEooFhH4.js} +15 -15
- package/dist/lazy/{Radio-BP6nhgqx.js → Radio-Dy59Ycsh.js} +3 -3
- package/dist/lazy/{SearchSelect-DXAJFf3L.js → SearchSelect-Xx2SkrOz.js} +6 -6
- package/dist/lazy/{Select-DP4ugBWM.js → Select-DdZQPpZZ.js} +2 -2
- package/dist/lazy/{Table-ck9TGmjO.js → Table-DECbm9ro.js} +85 -84
- package/dist/lazy/{Tabs-C4E8-QKf.js → Tabs-7oQ7y-T2.js} +11 -11
- package/dist/lazy/{TextArea-CZg61uOa.js → TextArea-CtwrVwIU.js} +2 -2
- package/dist/lazy/{Wrapper-gXzldVgu.js → Wrapper-C8-YPMBw.js} +2 -2
- package/dist/lazy/{index-exNcHe5D.js → index-BOlX4x7v.js} +2195 -2183
- package/dist/lazy/{useSelect-DJch6zjn.js → useSelect-CrlW7Igo.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Component-BTOwunWX.js +0 -143
- package/dist/lazy/Custom-OYLLyH2T.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.70",
|
|
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,143 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, inject as v, ref as g, watch as E, useTemplateRef as I, readonly as P, onUnmounted as V, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as j, withCtx as k, createElementVNode as p, normalizeClass as K, toDisplayString as x, createElementBlock as f, createCommentVNode as C, Fragment as L, renderList as F, unref as z, withModifiers as D, createVNode as S } from "vue";
|
|
2
|
-
import { j as U, h as q, I as G, _ as H } from "./index-exNcHe5D.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const J = { class: "tree-node-text" }, O = ["title"], Q = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "tree-node-present"
|
|
7
|
-
}, W = /* @__PURE__ */ B({
|
|
8
|
-
__name: "Component",
|
|
9
|
-
props: {
|
|
10
|
-
onNodeClick: {},
|
|
11
|
-
onCheckChange: {},
|
|
12
|
-
onLoad: {},
|
|
13
|
-
btns: {},
|
|
14
|
-
data: {},
|
|
15
|
-
props: {},
|
|
16
|
-
nodeKey: {},
|
|
17
|
-
styleType: {},
|
|
18
|
-
name: {}
|
|
19
|
-
},
|
|
20
|
-
setup(M, { expose: $ }) {
|
|
21
|
-
const o = M, a = v("ruleModule", void 0), u = v("pageMethodMap", {}), s = g(), b = (e, t) => {
|
|
22
|
-
s.value = e[o.nodeKey];
|
|
23
|
-
}, R = (e, t, r) => {
|
|
24
|
-
if (e && a)
|
|
25
|
-
try {
|
|
26
|
-
a[e](u, { node: t, data: r });
|
|
27
|
-
} catch (l) {
|
|
28
|
-
console.error(l + `
|
|
29
|
-
onNodeClick: ${o.onNodeClick}`);
|
|
30
|
-
}
|
|
31
|
-
}, T = (e, t) => {
|
|
32
|
-
if (o.onNodeClick && a)
|
|
33
|
-
try {
|
|
34
|
-
a[o.onNodeClick](u, { node: e, data: t });
|
|
35
|
-
} catch (r) {
|
|
36
|
-
console.error(r + `
|
|
37
|
-
onNodeClick: ${o.onNodeClick}`);
|
|
38
|
-
}
|
|
39
|
-
}, w = (e, t, r) => {
|
|
40
|
-
if (o.onLoad && a)
|
|
41
|
-
try {
|
|
42
|
-
a[o.onLoad](u, { node: e, resolve: t, reject: r });
|
|
43
|
-
} catch (l) {
|
|
44
|
-
console.error(l + `
|
|
45
|
-
onLoad: ${o.onLoad}`);
|
|
46
|
-
}
|
|
47
|
-
}, h = g([]);
|
|
48
|
-
E(
|
|
49
|
-
//默认展开根节点
|
|
50
|
-
() => o.data,
|
|
51
|
-
() => {
|
|
52
|
-
if (!o.data || !Array.isArray(o.data) || o.data.length === 0)
|
|
53
|
-
return;
|
|
54
|
-
const t = [o.data[0][o.nodeKey]];
|
|
55
|
-
h.value = t;
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
immediate: !0
|
|
59
|
-
}
|
|
60
|
-
);
|
|
61
|
-
const _ = I("treeRef"), N = P({
|
|
62
|
-
getCheckedNodes: () => {
|
|
63
|
-
var e;
|
|
64
|
-
return (e = _.value) == null ? void 0 : e.getCheckedNodes();
|
|
65
|
-
},
|
|
66
|
-
type: "tree"
|
|
67
|
-
});
|
|
68
|
-
if (o.name) {
|
|
69
|
-
const e = U(o.name, N);
|
|
70
|
-
V(() => {
|
|
71
|
-
e();
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
return $(N), (e, t) => {
|
|
75
|
-
const r = m("el-tooltip"), l = m("el-button"), A = m("el-tree");
|
|
76
|
-
return d(), y(A, j(e.$attrs, {
|
|
77
|
-
onNodeClick: T,
|
|
78
|
-
load: w,
|
|
79
|
-
ref_key: "treeRef",
|
|
80
|
-
ref: _,
|
|
81
|
-
class: ["crm-tree", { "modal-tree": e.styleType === "modal" }],
|
|
82
|
-
indent: 32,
|
|
83
|
-
"current-node-key": s.value,
|
|
84
|
-
onCurrentChange: b,
|
|
85
|
-
"node-key": e.nodeKey,
|
|
86
|
-
props: o.props,
|
|
87
|
-
data: e.data,
|
|
88
|
-
"default-expanded-keys": h.value
|
|
89
|
-
}), {
|
|
90
|
-
default: k(({ node: c, data: i }) => [
|
|
91
|
-
p("div", {
|
|
92
|
-
class: K(["custom-tree-node", { "modal-tree-node": e.styleType === "modal" }])
|
|
93
|
-
}, [
|
|
94
|
-
p("div", J, [
|
|
95
|
-
p("span", {
|
|
96
|
-
class: K(["tree-node-label", { active: i[e.nodeKey] === s.value && e.styleType === "modal" }]),
|
|
97
|
-
title: c.label
|
|
98
|
-
}, x(c.label), 11, O),
|
|
99
|
-
i[e.nodeKey] === s.value ? (d(), f("div", Q, "Present")) : C("", !0)
|
|
100
|
-
]),
|
|
101
|
-
p("div", null, [
|
|
102
|
-
(d(!0), f(L, null, F(e.btns, (n) => (d(), f(L, {
|
|
103
|
-
key: n.key
|
|
104
|
-
}, [
|
|
105
|
-
z(q)(n.hidden, { $node: c, $data: i }) ? C("", !0) : (d(), y(l, {
|
|
106
|
-
key: 0,
|
|
107
|
-
link: "",
|
|
108
|
-
onClick: D((Y) => R(n.onClick || "", c, i), ["stop"]),
|
|
109
|
-
disabled: n.disabled,
|
|
110
|
-
type: n.type
|
|
111
|
-
}, {
|
|
112
|
-
default: k(() => [
|
|
113
|
-
S(r, {
|
|
114
|
-
class: "box-item",
|
|
115
|
-
effect: "dark",
|
|
116
|
-
content: n.text,
|
|
117
|
-
placement: "top"
|
|
118
|
-
}, {
|
|
119
|
-
default: k(() => [
|
|
120
|
-
n.icon ? (d(), y(G, {
|
|
121
|
-
key: 0,
|
|
122
|
-
name: n.icon.name,
|
|
123
|
-
color: n.icon.color,
|
|
124
|
-
class: "btn-icon"
|
|
125
|
-
}, null, 8, ["name", "color"])) : C("", !0)
|
|
126
|
-
]),
|
|
127
|
-
_: 2
|
|
128
|
-
}, 1032, ["content"])
|
|
129
|
-
]),
|
|
130
|
-
_: 2
|
|
131
|
-
}, 1032, ["onClick", "disabled", "type"]))
|
|
132
|
-
], 64))), 128))
|
|
133
|
-
])
|
|
134
|
-
], 2)
|
|
135
|
-
]),
|
|
136
|
-
_: 1
|
|
137
|
-
}, 16, ["class", "current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
}), te = /* @__PURE__ */ H(W, [["__scopeId", "data-v-524b29b2"]]);
|
|
141
|
-
export {
|
|
142
|
-
te as default
|
|
143
|
-
};
|
|
@@ -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-exNcHe5D.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
|
-
};
|