asiaint-lowcode 3.0.64 → 3.0.66
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 +106 -106
- package/dist/index.d.ts +3 -1
- package/dist/lazy/{Card-8R10Q2H7.js → Card-B-PW_xf6.js} +2 -2
- package/dist/lazy/{Cascader-C6j8GRRA.js → Cascader-DTPcbjS4.js} +9 -8
- package/dist/lazy/{Checkbox-DeqNlXP3.js → Checkbox-Cb7eQedp.js} +13 -12
- package/dist/lazy/{Collapse-agcv2hyU.js → Collapse-uKo4xUZR.js} +1 -1
- package/dist/lazy/{Component-CwK4c36o.js → Component-BdbW3xbq.js} +1 -1
- package/dist/lazy/{Component-DPHWPAYw.js → Component-BnILgymP.js} +2 -2
- package/dist/lazy/{Component-CUlCMawS.js → Component-CzEIuniO.js} +1 -1
- package/dist/lazy/{Component-Ce9smX1d.js → Component-D1dV4qbv.js} +13 -13
- package/dist/lazy/{Component-1EeLobdd.js → Component-DPfeaS5u.js} +2 -2
- package/dist/lazy/{Component-B08MYgrz.js → Component-DX8iDxku.js} +1 -1
- package/dist/lazy/{CurdCard-CwcNHypG.js → CurdCard-BE_lAuIU.js} +2 -2
- package/dist/lazy/{Custom-D3f2BoYV.js → Custom-BnOejQu4.js} +7 -7
- package/dist/lazy/{FormList-DzwJ1W5P.js → FormList-8i6IjOEd.js} +1 -1
- package/dist/lazy/{Grid-DcbsLRmM.js → Grid-DM0t1623.js} +1 -1
- package/dist/lazy/{Inline-_pNRHSZv.js → Inline-CvVDnLAl.js} +7 -7
- package/dist/lazy/{JsonEdit-CsluGt-z.js → JsonEdit-CblpfCk6.js} +3 -3
- package/dist/lazy/{LogList-BKzFO3Vi.js → LogList-D4E9Sd3U.js} +7 -7
- package/dist/lazy/{ObjGroup-CGlyTF5A.js → ObjGroup-J8MBNfx9.js} +1 -1
- package/dist/lazy/{OfferDetails-BupPT4zL.js → OfferDetails-DRm-adPQ.js} +24 -24
- package/dist/lazy/{Progress-oHEIwwmg.js → Progress-CU3cbDYw.js} +5 -5
- package/dist/lazy/{Radio-CoRBg0UU.js → Radio-w2_WJsy1.js} +16 -15
- package/dist/lazy/{SearchSelect-DpoXJA4K.js → SearchSelect-BpdYzYvx.js} +30 -29
- package/dist/lazy/{Select-BxksxgKW.js → Select-B0WsuNDL.js} +19 -18
- package/dist/lazy/{Table-e-TDZci-.js → Table-Bl1g8c0p.js} +18 -18
- package/dist/lazy/{Tabs-DGfkxdqJ.js → Tabs-RUkui_oF.js} +1 -1
- package/dist/lazy/{Wrapper-CTxV8w6y.js → Wrapper-DmL_tRcc.js} +5 -5
- package/dist/lazy/{index-DU4L1LqE.js → index-BHAyF-de.js} +2139 -2148
- package/dist/lazy/useSelect-DZdGLXAq.js +76 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/useSelect-CmeDB6g1.js +0 -61
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.0.
|
|
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.0.66",
|
|
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,61 +0,0 @@
|
|
|
1
|
-
import { inject as D, ref as v, toRaw as y, onMounted as I, watch as l } from "vue";
|
|
2
|
-
import { $ as P, u as S, l as h, h as g } from "./index-DU4L1LqE.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const q = () => {
|
|
5
|
-
const { fetchOptionsFn: e } = D(P);
|
|
6
|
-
return e;
|
|
7
|
-
}, j = (e) => {
|
|
8
|
-
const n = S(), f = q(), a = v([]), r = v(!1), s = h.debounce(async () => {
|
|
9
|
-
if (f && e.apiParams && !Object.values(e.apiParams).some((t) => t === void 0)) {
|
|
10
|
-
r.value = !0;
|
|
11
|
-
try {
|
|
12
|
-
const t = await f({
|
|
13
|
-
formItemProps: y(e),
|
|
14
|
-
formSchema: y(n.schema)
|
|
15
|
-
});
|
|
16
|
-
if (a.value = [...a.value, ...t], e.filters && (a.value = a.value.filter((i) => Array.isArray(e.filters) ? !e.filters.includes(i[e.valueKey || "value"]) : !0)), e.name) {
|
|
17
|
-
const i = g(n.schema.items, e.name);
|
|
18
|
-
i && i.props && (i.props.options = a.value);
|
|
19
|
-
}
|
|
20
|
-
} finally {
|
|
21
|
-
r.value = !1;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}, 300);
|
|
25
|
-
I(() => {
|
|
26
|
-
const { mode: t, options: i = [] } = e;
|
|
27
|
-
t === "static" && (a.value = i), t === "remote" && s();
|
|
28
|
-
}), l(
|
|
29
|
-
() => e.apiParams,
|
|
30
|
-
(t, i) => {
|
|
31
|
-
h.isEqual(t, i) || (a.value = [], s());
|
|
32
|
-
}
|
|
33
|
-
), l(
|
|
34
|
-
() => e.options,
|
|
35
|
-
(t = []) => {
|
|
36
|
-
e.mode === "static" && (a.value = t);
|
|
37
|
-
}
|
|
38
|
-
), l(
|
|
39
|
-
() => e.mode,
|
|
40
|
-
(t) => {
|
|
41
|
-
t === "static" && (a.value = e.options || []), t === "remote" && (a.value = [], s());
|
|
42
|
-
}
|
|
43
|
-
);
|
|
44
|
-
const { mode: A, dependentFields: c } = e;
|
|
45
|
-
if (A === "remote" && Array.isArray(c))
|
|
46
|
-
for (const t of c)
|
|
47
|
-
l(
|
|
48
|
-
() => n.formValues[t],
|
|
49
|
-
(i, m) => {
|
|
50
|
-
s();
|
|
51
|
-
}
|
|
52
|
-
);
|
|
53
|
-
return { selectChange: (t) => {
|
|
54
|
-
const { valueKey: i = "value", multiple: m, name: d } = e;
|
|
55
|
-
let u = {};
|
|
56
|
-
m && Array.isArray(t) ? u = a.value.filter((o) => t.includes(o[i])) : u = a.value.find((o) => o[i] === t) || {}, n.selectData && d && n.updateSelectData(d, u);
|
|
57
|
-
}, currentOptions: a, loading: r, fetchData: s };
|
|
58
|
-
};
|
|
59
|
-
export {
|
|
60
|
-
j as u
|
|
61
|
-
};
|