asiaint-lowcode 3.1.69 → 3.1.71
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 +124 -123
- package/dist/index.d.ts +3 -0
- package/dist/lazy/{Card-MJNRlbmb.js → Card-BCkWdaeA.js} +2 -2
- package/dist/lazy/{Cascader-CIo49La7.js → Cascader-iqS6I5ne.js} +1 -1
- package/dist/lazy/{Checkbox-B5NoTEYq.js → Checkbox-BRpkwla7.js} +2 -2
- package/dist/lazy/{Collapse-C029C6PT.js → Collapse-DA4JGV2k.js} +1 -1
- package/dist/lazy/Component-By8Mn-7k.js +161 -0
- package/dist/lazy/{Component-BVuNhWVb.js → Component-CFF3dfnF.js} +1 -1
- package/dist/lazy/{Component-C-1CiZIF.js → Component-C_Ceu4e3.js} +1 -1
- package/dist/lazy/{Component-465yKvk1.js → Component-DyNwi6dS.js} +2 -2
- package/dist/lazy/{Component-CwFaym4X.js → Component-T9UX1U0R.js} +2 -2
- package/dist/lazy/{Component-i5qaGCqo.js → Component-wAVZj4Xr.js} +2 -2
- package/dist/lazy/{CurdCard-CEXC-SHc.js → CurdCard-vJHAmDeg.js} +9 -9
- package/dist/lazy/Custom-CxSix-Nl.js +26 -0
- package/dist/lazy/{DatePicker-TMvM2NU0.js → DatePicker-CzWXqle4.js} +1 -1
- package/dist/lazy/{DragList-Yo8cVHQN.js → DragList-Cht_EcHq.js} +13 -13
- package/dist/lazy/{FilterSearch-CbnqMNP0.js → FilterSearch-BGv08Uq4.js} +8 -8
- package/dist/lazy/{FloatCurd-Bp9DCjoX.js → FloatCurd-B6LjEiro.js} +9 -9
- package/dist/lazy/{FormList-DrfFBIsW.js → FormList-BZUyjys-.js} +1 -1
- package/dist/lazy/{Grid-DcXAZCjq.js → Grid-1RFttQOZ.js} +1 -1
- package/dist/lazy/{InfiniteScroll-BROn8Jmb.js → InfiniteScroll-Bs1vvOPs.js} +4 -4
- package/dist/lazy/{Inline-CpO01eat.js → Inline-RHHDGNWq.js} +3 -3
- package/dist/lazy/{JsonEdit-Cq0fPWe7.js → JsonEdit-VuOtthbv.js} +3 -3
- package/dist/lazy/{LogList-_flMPfUC.js → LogList-Cb7MSp2n.js} +7 -7
- package/dist/lazy/{ObjGroup-Cq2dMHhS.js → ObjGroup-CHI8uUIP.js} +1 -1
- package/dist/lazy/{OfferDetails-DWwFL_DD.js → OfferDetails-NmkDJWXY.js} +2 -2
- package/dist/lazy/{Pagination-KqPvPQB1.js → Pagination-Z5_mQtRK.js} +4 -4
- package/dist/lazy/{Progress-KUBgLX9Q.js → Progress-DhreEklB.js} +15 -15
- package/dist/lazy/{Radio-DIqU_Ld4.js → Radio-TcUp4zmk.js} +3 -3
- package/dist/lazy/{SearchSelect-Dp03l8Zr.js → SearchSelect-BwYhKzLC.js} +6 -6
- package/dist/lazy/{Select-v5W6XbYs.js → Select-BjfSNdzi.js} +2 -2
- package/dist/lazy/{Table-CtgptAGs.js → Table-CV_Wq7aZ.js} +2 -2
- package/dist/lazy/{Tabs-BCHGE0zO.js → Tabs-BwwwAqz0.js} +11 -11
- package/dist/lazy/{TextArea-QEY9tb7h.js → TextArea-D47yvGnI.js} +2 -2
- package/dist/lazy/{Wrapper-38XuaxGl.js → Wrapper-DWws2ZJd.js} +2 -2
- package/dist/lazy/{index-CQ54psBg.js → index-adXhXl4D.js} +56 -56
- package/dist/lazy/{useSelect-ZnOr3jxO.js → useSelect-DovQJ3Tg.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Component-BmuukX5H.js +0 -143
- package/dist/lazy/Custom-CZp7HqOb.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.71",
|
|
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-CQ54psBg.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, r = v("ruleModule", void 0), u = v("pageMethodMap", {}), s = g(), R = (e, t) => {
|
|
22
|
-
s.value = e[o.nodeKey];
|
|
23
|
-
}, T = (e, t, a) => {
|
|
24
|
-
if (e && r)
|
|
25
|
-
try {
|
|
26
|
-
r[e](u, { node: t, data: a });
|
|
27
|
-
} catch (l) {
|
|
28
|
-
console.error(l + `
|
|
29
|
-
onNodeClick: ${o.onNodeClick}`);
|
|
30
|
-
}
|
|
31
|
-
}, b = (e, t) => {
|
|
32
|
-
if (o.onNodeClick && r)
|
|
33
|
-
try {
|
|
34
|
-
r[o.onNodeClick](u, { node: e, data: t });
|
|
35
|
-
} catch (a) {
|
|
36
|
-
console.error(a + `
|
|
37
|
-
onNodeClick: ${o.onNodeClick}`);
|
|
38
|
-
}
|
|
39
|
-
}, w = (e, t, a) => {
|
|
40
|
-
if (o.onLoad && r)
|
|
41
|
-
try {
|
|
42
|
-
r[o.onLoad](u, { node: e, resolve: t, reject: a });
|
|
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 a = m("el-tooltip"), l = m("el-button"), A = m("el-tree");
|
|
76
|
-
return d(), y(A, j(e.$attrs, {
|
|
77
|
-
onNodeClick: b,
|
|
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: R,
|
|
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) => T(n.onClick || "", c, i), ["stop"]),
|
|
109
|
-
disabled: n.disabled,
|
|
110
|
-
type: n.type
|
|
111
|
-
}, {
|
|
112
|
-
default: k(() => [
|
|
113
|
-
S(a, {
|
|
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-ccd0366a"]]);
|
|
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 d, resolveDynamicComponent as u, mergeProps as c } from "vue";
|
|
2
|
-
import { _ as i } from "./index-CQ54psBg.js";
|
|
3
|
-
const _ = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "empty"
|
|
6
|
-
}, f = /* @__PURE__ */ n({
|
|
7
|
-
__name: "Custom",
|
|
8
|
-
props: /* @__PURE__ */ s({
|
|
9
|
-
componentName: {}
|
|
10
|
-
}, {
|
|
11
|
-
modelValue: {},
|
|
12
|
-
modelModifiers: {}
|
|
13
|
-
}),
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(l) {
|
|
16
|
-
const o = p(l, "modelValue");
|
|
17
|
-
return (e, m) => e.componentName ? (t(), d(u(e.componentName), c({
|
|
18
|
-
key: 1,
|
|
19
|
-
modelValue: o.value,
|
|
20
|
-
"onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
|
|
21
|
-
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", _, "请输入全局注册得组件名"));
|
|
22
|
-
}
|
|
23
|
-
}), v = /* @__PURE__ */ i(f, [["__scopeId", "data-v-2250b7d1"]]);
|
|
24
|
-
export {
|
|
25
|
-
v as default
|
|
26
|
-
};
|