asiaint-lowcode 3.1.104 → 3.1.105
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 +29 -29
- package/dist/index.d.ts +2 -2
- package/dist/lazy/{Card-BYi5RX-U.js → Card-hCrEqojS.js} +23 -23
- package/dist/lazy/{Cascader-DSc-tBXD.js → Cascader-BSJ6XLSx.js} +1 -1
- package/dist/lazy/{Checkbox-BwVl_kLE.js → Checkbox-BQRbMPEc.js} +2 -2
- package/dist/lazy/{Collapse-BzBLO7eG.js → Collapse-BfEHVHG-.js} +1 -1
- package/dist/lazy/{Component-DKewZdkK.js → Component-Bym2Zh0e.js} +1 -1
- package/dist/lazy/{Component-B6yFkqDM.js → Component-CMhOYnYE.js} +2 -2
- package/dist/lazy/{Component-BbpttgSN.js → Component-Covo-neG.js} +2 -2
- package/dist/lazy/{Component-CmG7-A0E.js → Component-Cvuu7_yU.js} +1 -1
- package/dist/lazy/{Component-E8xzou7u.js → Component-DDA_U5-4.js} +2 -2
- package/dist/lazy/{CurdCard-DUSKyIdd.js → CurdCard-DQRWF2Hm.js} +2 -2
- package/dist/lazy/Custom-wQtdgabt.js +26 -0
- package/dist/lazy/{DatePicker-B1avvVbv.js → DatePicker-CykIEvfO.js} +1 -1
- package/dist/lazy/{DragList-DHzvqu30.js → DragList-B8Fr5NYB.js} +13 -13
- package/dist/lazy/{FilterSearch-eAr0kyOc.js → FilterSearch-6TuMZS2A.js} +2 -2
- package/dist/lazy/{FloatCurd-BG9jysxr.js → FloatCurd-CVcTrWVi.js} +9 -9
- package/dist/lazy/{FormList-BQ2YeLlT.js → FormList-AS6edduN.js} +1 -1
- package/dist/lazy/{Grid-H1k8eWXm.js → Grid-9fUmnF0T.js} +1 -1
- package/dist/lazy/{InfiniteScroll-Btx3gGPM.js → InfiniteScroll-pj-P9xrS.js} +4 -4
- package/dist/lazy/{Inline-Brfx20E1.js → Inline-DHRvy0qZ.js} +3 -3
- package/dist/lazy/{JsonEdit-BsmnASE5.js → JsonEdit-bxDDbC7d.js} +3 -3
- package/dist/lazy/{LogList-RBP8AlYN.js → LogList-Dc-bsruh.js} +7 -7
- package/dist/lazy/{ObjGroup-B3568-Jm.js → ObjGroup-eWqWdXBL.js} +1 -1
- package/dist/lazy/{OfferDetails-BvZ4ztZi.js → OfferDetails-BWJIIEKI.js} +11 -11
- package/dist/lazy/{Pagination-W8rSWg2_.js → Pagination-DOHK_Nna.js} +4 -4
- package/dist/lazy/{Progress-xe_ZWV8a.js → Progress-tHmKCsSj.js} +15 -15
- package/dist/lazy/{Radio-DvvfD8rF.js → Radio-BG2XEeWA.js} +3 -3
- package/dist/lazy/{SearchSelect-0BeIO2Kd.js → SearchSelect-Cg_OIbUm.js} +6 -6
- package/dist/lazy/{Select-tTMv8Jr2.js → Select-Bz75JaZr.js} +2 -2
- package/dist/lazy/{Table-DUJ6Aj9o.js → Table-B_zCXJdl.js} +39 -39
- package/dist/lazy/Tabs-XlvP3qOd.js +130 -0
- package/dist/lazy/{TextArea-neOL4Tfb.js → TextArea-D9hNO-4s.js} +3 -3
- package/dist/lazy/{Wrapper-B8feAer3.js → Wrapper-Dz5sqPmy.js} +2 -2
- package/dist/lazy/{index-B-_zXaVx.js → index-CTlekA8r.js} +63 -60
- package/dist/lazy/{useSelect-CxSvB0SH.js → useSelect-MSYHrDeP.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Custom-BtPzeAeT.js +0 -26
- package/dist/lazy/Tabs-cha1ej62.js +0 -147
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.105",
|
|
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,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-B-_zXaVx.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
|
-
};
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
import { defineComponent as L, ref as M, computed as W, watch as T, onMounted as $, resolveComponent as k, openBlock as l, createBlock as h, mergeProps as N, withCtx as f, createElementVNode as c, createElementBlock as o, Fragment as u, renderList as y, createVNode as b, createCommentVNode as p, toDisplayString as D, normalizeClass as F, unref as S } from "vue";
|
|
2
|
-
import { c as z, I as v, b as A, _ as P } from "./index-B-_zXaVx.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const R = { class: "right-icon-wrapper" }, U = { class: "dynamic-icon-wrapper" }, X = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "dynamic-icon-item"
|
|
7
|
-
}, Y = { class: "static-icon-wrapper" }, j = {
|
|
8
|
-
key: 0,
|
|
9
|
-
class: "static-icon-item"
|
|
10
|
-
}, q = { class: "tab-label" }, x = { class: "tab-label-text" }, G = /* @__PURE__ */ L({
|
|
11
|
-
__name: "Tabs",
|
|
12
|
-
props: {
|
|
13
|
-
id: {},
|
|
14
|
-
children: {},
|
|
15
|
-
defaultKey: {},
|
|
16
|
-
tabChange: {},
|
|
17
|
-
onBeforeLeave: {},
|
|
18
|
-
styleType: { default: "normal" },
|
|
19
|
-
staticBtns: {},
|
|
20
|
-
dynamicBtns: {}
|
|
21
|
-
},
|
|
22
|
-
setup(V) {
|
|
23
|
-
const t = V, r = M(""), w = W(() => {
|
|
24
|
-
const e = t.children.findIndex((a) => a.name === r.value);
|
|
25
|
-
return e - 1 >= 0 ? e - 1 : null;
|
|
26
|
-
}), { ruleModule: _, pageMethodMap: g } = z();
|
|
27
|
-
function I(e) {
|
|
28
|
-
if (t.tabChange)
|
|
29
|
-
try {
|
|
30
|
-
_[t.tabChange](g, e);
|
|
31
|
-
} catch (a) {
|
|
32
|
-
console.error(a);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
async function E(e, a) {
|
|
36
|
-
if (t.onBeforeLeave)
|
|
37
|
-
try {
|
|
38
|
-
return await _[t.onBeforeLeave](g, e, a);
|
|
39
|
-
} catch (d) {
|
|
40
|
-
console.error(d);
|
|
41
|
-
}
|
|
42
|
-
return !0;
|
|
43
|
-
}
|
|
44
|
-
const K = (e) => {
|
|
45
|
-
if (t.id) {
|
|
46
|
-
const a = document.getElementById(t.id);
|
|
47
|
-
if (a) {
|
|
48
|
-
const d = a.getElementsByClassName("el-tabs__nav-scroll")[0], i = a.getElementsByClassName("el-tabs__nav")[0], m = i.style.transform.split("(")[1].split(")")[0].split("px")[0], C = d.offsetWidth - i.offsetWidth, B = 0;
|
|
49
|
-
let s = parseInt(m);
|
|
50
|
-
s = s - e.deltaY, s < C && (s = C), s > B && (s = B), i.style.transform = `translateX(${s}px)`;
|
|
51
|
-
}
|
|
52
|
-
e.preventDefault();
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
return T(
|
|
56
|
-
() => t.children,
|
|
57
|
-
() => {
|
|
58
|
-
t.children.forEach((e) => {
|
|
59
|
-
e.children || (e.children = []);
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
), T(
|
|
63
|
-
() => t.defaultKey,
|
|
64
|
-
() => {
|
|
65
|
-
r.value = t.defaultKey;
|
|
66
|
-
}
|
|
67
|
-
), $(() => {
|
|
68
|
-
t.defaultKey && (r.value = t.defaultKey);
|
|
69
|
-
}), (e, a) => {
|
|
70
|
-
const d = k("el-tab-pane"), i = k("el-tabs");
|
|
71
|
-
return l(), h(i, N({
|
|
72
|
-
onWheel: K,
|
|
73
|
-
id: e.id
|
|
74
|
-
}, e.$attrs, {
|
|
75
|
-
modelValue: r.value,
|
|
76
|
-
"onUpdate:modelValue": a[0] || (a[0] = (n) => r.value = n),
|
|
77
|
-
onTabChange: I,
|
|
78
|
-
"before-leave": E,
|
|
79
|
-
addable: e.styleType === "btn",
|
|
80
|
-
class: {
|
|
81
|
-
"modal-type": e.styleType === "modal",
|
|
82
|
-
"btn-type": e.styleType === "btn",
|
|
83
|
-
"form-item-tabs": e.styleType === "normal"
|
|
84
|
-
}
|
|
85
|
-
}), {
|
|
86
|
-
"add-icon": f(() => [
|
|
87
|
-
c("div", R, [
|
|
88
|
-
c("div", U, [
|
|
89
|
-
(l(!0), o(u, null, y(e.dynamicBtns, (n) => (l(), o(u, {
|
|
90
|
-
key: n.iconName
|
|
91
|
-
}, [
|
|
92
|
-
n.hidden ? p("", !0) : (l(), o("div", X, [
|
|
93
|
-
b(v, {
|
|
94
|
-
name: n.iconName
|
|
95
|
-
}, null, 8, ["name"])
|
|
96
|
-
]))
|
|
97
|
-
], 64))), 128))
|
|
98
|
-
]),
|
|
99
|
-
c("div", Y, [
|
|
100
|
-
(l(!0), o(u, null, y(e.staticBtns, (n) => (l(), o(u, {
|
|
101
|
-
key: n.iconName
|
|
102
|
-
}, [
|
|
103
|
-
n.hidden ? p("", !0) : (l(), o("div", j, [
|
|
104
|
-
b(v, {
|
|
105
|
-
name: n.iconName
|
|
106
|
-
}, null, 8, ["name"])
|
|
107
|
-
]))
|
|
108
|
-
], 64))), 128))
|
|
109
|
-
])
|
|
110
|
-
])
|
|
111
|
-
]),
|
|
112
|
-
default: f(() => [
|
|
113
|
-
(l(!0), o(u, null, y(e.children, (n, m) => (l(), h(d, N({
|
|
114
|
-
key: n.name,
|
|
115
|
-
ref_for: !0
|
|
116
|
-
}, n), {
|
|
117
|
-
label: f(() => [
|
|
118
|
-
c("div", q, [
|
|
119
|
-
e.styleType === "btn" && n.icon ? (l(), h(v, {
|
|
120
|
-
key: 0,
|
|
121
|
-
name: n.icon
|
|
122
|
-
}, null, 8, ["name"])) : p("", !0),
|
|
123
|
-
c("span", x, D(n.label), 1),
|
|
124
|
-
m !== e.children.length - 1 ? (l(), o("span", {
|
|
125
|
-
key: 1,
|
|
126
|
-
class: F(["divider", {
|
|
127
|
-
"divider-hidden": r.value === n.name || w.value === m
|
|
128
|
-
}])
|
|
129
|
-
}, null, 2)) : p("", !0)
|
|
130
|
-
])
|
|
131
|
-
]),
|
|
132
|
-
default: f(() => [
|
|
133
|
-
b(S(A), {
|
|
134
|
-
list: n.children
|
|
135
|
-
}, null, 8, ["list"])
|
|
136
|
-
]),
|
|
137
|
-
_: 2
|
|
138
|
-
}, 1040))), 128))
|
|
139
|
-
]),
|
|
140
|
-
_: 1
|
|
141
|
-
}, 16, ["id", "modelValue", "addable", "class"]);
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
}), Q = /* @__PURE__ */ P(G, [["__scopeId", "data-v-e27a5838"]]);
|
|
145
|
-
export {
|
|
146
|
-
Q as default
|
|
147
|
-
};
|