asiaint-lowcode 3.1.19 → 3.1.20
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 +43 -15
- package/dist/index.d.ts +4 -6
- package/dist/lazy/{Card-C6-Pw2Kt.js → Card-DUeA7tS7.js} +7 -6
- package/dist/lazy/{Cascader-BQlg_B1J.js → Cascader-By4JG0Zk.js} +14 -13
- package/dist/lazy/{Checkbox-BL9wugR4.js → Checkbox-bIhIq9Vy.js} +19 -18
- package/dist/lazy/{Collapse-VBM-r16N.js → Collapse-CU9pt7lM.js} +1 -1
- package/dist/lazy/{Component-TPlA312X.js → Component-COne-qtJ.js} +1 -1
- package/dist/lazy/{Component-BNs8l3D0.js → Component-CYK98tOs.js} +2 -2
- package/dist/lazy/{Component-C2I5t5q4.js → Component-CiRhyD96.js} +1 -1
- package/dist/lazy/{Component-B16t7OV8.js → Component-DD1yYUwx.js} +1 -1
- package/dist/lazy/Component-ji09Ho4V.js +121 -0
- package/dist/lazy/{Component-D4pyG7EA.js → Component-ovbFedRc.js} +2 -2
- package/dist/lazy/{CurdCard-C0CV5eG_.js → CurdCard-ohFL5KOI.js} +9 -8
- package/dist/lazy/{Custom-Ne8yN2Ea.js → Custom-f5P-W0RO.js} +7 -7
- package/dist/lazy/{DatePicker-BUZW95kN.js → DatePicker-DXBHD93w.js} +1 -1
- package/dist/lazy/{DragList-ClgQ3QJ7.js → DragList-B1hCgkPo.js} +4 -3
- package/dist/lazy/{FilterSearch-EYXFcLfg.js → FilterSearch-C0Gb4sax.js} +8 -8
- package/dist/lazy/{FormList-rqifCuNE.js → FormList-DKVnGMCb.js} +1 -1
- package/dist/lazy/{Grid-D760rpVd.js → Grid-DyYDGCUL.js} +1 -1
- package/dist/lazy/{Inline-C2kevZlA.js → Inline-lozK8MNz.js} +3 -3
- package/dist/lazy/{JsonEdit-BGNMo9TC.js → JsonEdit-B7RNvAKc.js} +3 -3
- package/dist/lazy/{LogList-DistvWBw.js → LogList-BpIXnYrM.js} +7 -7
- package/dist/lazy/{ObjGroup-Do3MBFB4.js → ObjGroup-BnqOtXse.js} +1 -1
- package/dist/lazy/{OfferDetails-1lpktyAd.js → OfferDetails-COAwm0zQ.js} +11 -11
- package/dist/lazy/{Pagination-Bs6c14gG.js → Pagination-Dy2-eb4H.js} +7 -7
- package/dist/lazy/{Progress-BYMD3T21.js → Progress-CmOxnBQX.js} +5 -5
- package/dist/lazy/{Radio-Cpxboojo.js → Radio-CDPyWQB6.js} +21 -20
- package/dist/lazy/{SearchSelect-Dx30Uf_w.js → SearchSelect-C532P8CM.js} +34 -32
- package/dist/lazy/{Select-DfBKMQek.js → Select-BUXxtpdm.js} +14 -13
- package/dist/lazy/{Table-DtB409LT.js → Table-CTfkRsyF.js} +79 -78
- package/dist/lazy/{Tabs-CFDgaNmd.js → Tabs-C_hdBA1i.js} +1 -1
- package/dist/lazy/{Wrapper-BpsPO0Yu.js → Wrapper-D_J12fAp.js} +9 -9
- package/dist/lazy/{index-Ch0AEG6l.js → index-Fgpo2Weq.js} +78 -62
- package/dist/lazy/{useSelect-MBMFJjvJ.js → useSelect-CFf27TOg.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Component-B9_KjLaT.js +0 -118
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.20",
|
|
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,118 +0,0 @@
|
|
|
1
|
-
import { defineComponent as w, inject as C, ref as v, watch as $, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as A, withCtx as k, createElementVNode as c, toDisplayString as B, createElementBlock as _, createCommentVNode as f, Fragment as N, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
|
|
2
|
-
import { h as F, I as j, b as D } from "./index-Ch0AEG6l.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "tree-node-present"
|
|
7
|
-
}, G = /* @__PURE__ */ w({
|
|
8
|
-
__name: "Component",
|
|
9
|
-
props: {
|
|
10
|
-
onNodeClick: {},
|
|
11
|
-
onLoad: {},
|
|
12
|
-
btns: {},
|
|
13
|
-
data: {},
|
|
14
|
-
props: {},
|
|
15
|
-
nodeKey: {}
|
|
16
|
-
},
|
|
17
|
-
setup(g) {
|
|
18
|
-
const o = g, a = C("ruleModule", void 0), l = C("pageMethodMap", {}), i = v(), K = (e, t) => {
|
|
19
|
-
i.value = e[o.nodeKey];
|
|
20
|
-
}, M = (e, t, r) => {
|
|
21
|
-
if (e && a)
|
|
22
|
-
try {
|
|
23
|
-
a[e](l, { node: t, data: r });
|
|
24
|
-
} catch (s) {
|
|
25
|
-
console.error(s);
|
|
26
|
-
}
|
|
27
|
-
}, x = (e, t) => {
|
|
28
|
-
if (o.onNodeClick && a)
|
|
29
|
-
try {
|
|
30
|
-
a[o.onNodeClick](l, { node: e, data: t });
|
|
31
|
-
} catch (r) {
|
|
32
|
-
console.error(r);
|
|
33
|
-
}
|
|
34
|
-
}, L = (e, t, r) => {
|
|
35
|
-
if (o.onLoad && a)
|
|
36
|
-
try {
|
|
37
|
-
a[o.onLoad](l, { node: e, resolve: t, reject: r });
|
|
38
|
-
} catch (s) {
|
|
39
|
-
console.error(s);
|
|
40
|
-
}
|
|
41
|
-
}, h = v([]);
|
|
42
|
-
return $(
|
|
43
|
-
//默认展开根节点
|
|
44
|
-
() => o.data,
|
|
45
|
-
() => {
|
|
46
|
-
if (!o.data || !Array.isArray(o.data) || o.data.length === 0)
|
|
47
|
-
return;
|
|
48
|
-
const t = [o.data[0][o.nodeKey]];
|
|
49
|
-
h.value = t;
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
immediate: !0
|
|
53
|
-
}
|
|
54
|
-
), (e, t) => {
|
|
55
|
-
const r = m("el-tooltip"), s = m("el-button"), b = m("el-tree");
|
|
56
|
-
return d(), y(b, A(e.$attrs, {
|
|
57
|
-
onNodeClick: x,
|
|
58
|
-
load: L,
|
|
59
|
-
ref: "treeRef",
|
|
60
|
-
class: "crm-tree",
|
|
61
|
-
indent: 32,
|
|
62
|
-
"current-node-key": i.value,
|
|
63
|
-
onCurrentChange: K,
|
|
64
|
-
"node-key": e.nodeKey,
|
|
65
|
-
props: o.props,
|
|
66
|
-
data: e.data,
|
|
67
|
-
"default-expanded-keys": h.value
|
|
68
|
-
}), {
|
|
69
|
-
default: k(({ node: p, data: u }) => [
|
|
70
|
-
c("div", R, [
|
|
71
|
-
c("div", S, [
|
|
72
|
-
c("span", q, B(p.label), 1),
|
|
73
|
-
u[e.nodeKey] === i.value ? (d(), _("div", z, "Present")) : f("", !0)
|
|
74
|
-
]),
|
|
75
|
-
c("div", null, [
|
|
76
|
-
(d(!0), _(N, null, E(e.btns, (n) => (d(), _(N, {
|
|
77
|
-
key: n.key
|
|
78
|
-
}, [
|
|
79
|
-
I(F)(n.hidden, { $node: p, $data: u }) ? f("", !0) : (d(), y(s, {
|
|
80
|
-
key: 0,
|
|
81
|
-
link: "",
|
|
82
|
-
onClick: P((H) => M(n.onClick || "", p, u), ["stop"]),
|
|
83
|
-
disabled: n.disabled,
|
|
84
|
-
type: n.type
|
|
85
|
-
}, {
|
|
86
|
-
default: k(() => [
|
|
87
|
-
V(r, {
|
|
88
|
-
class: "box-item",
|
|
89
|
-
effect: "dark",
|
|
90
|
-
content: n.text,
|
|
91
|
-
placement: "top",
|
|
92
|
-
"popper-class": "low-tsp"
|
|
93
|
-
}, {
|
|
94
|
-
default: k(() => [
|
|
95
|
-
n.icon ? (d(), y(j, {
|
|
96
|
-
key: 0,
|
|
97
|
-
name: n.icon.name,
|
|
98
|
-
color: n.icon.color,
|
|
99
|
-
class: "btn-icon"
|
|
100
|
-
}, null, 8, ["name", "color"])) : f("", !0)
|
|
101
|
-
]),
|
|
102
|
-
_: 2
|
|
103
|
-
}, 1032, ["content"])
|
|
104
|
-
]),
|
|
105
|
-
_: 2
|
|
106
|
-
}, 1032, ["onClick", "disabled", "type"]))
|
|
107
|
-
], 64))), 128))
|
|
108
|
-
])
|
|
109
|
-
])
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 16, ["current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
}), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-3eedac4e"]]);
|
|
116
|
-
export {
|
|
117
|
-
T as default
|
|
118
|
-
};
|