asiaint-lowcode 3.0.48 → 3.0.50
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 +129 -129
- package/dist/index.d.ts +1 -0
- package/dist/lazy/{Card-CXT24hFY.js → Card-DKHnObTK.js} +2 -2
- package/dist/lazy/{Cascader-Pokg08yK.js → Cascader-CNplvldJ.js} +1 -1
- package/dist/lazy/{Checkbox-Bfi1igXe.js → Checkbox-CZf2Nm-K.js} +2 -2
- package/dist/lazy/{Collapse-Cq3Z5LUb.js → Collapse-DlKeKWr-.js} +1 -1
- package/dist/lazy/{Component-Brf8Tpla.js → Component-BIP7DqyJ.js} +9 -9
- package/dist/lazy/{Component-C-fNXd9T.js → Component-CmnfQ4EO.js} +1 -1
- package/dist/lazy/{Component-BRpV8m6X.js → Component-DR-4oztf.js} +2 -2
- package/dist/lazy/{Component-BjWBsfKW.js → Component-DmignbZL.js} +1 -1
- package/dist/lazy/{Component-Ae6iIDeb.js → Component-DquL-YqE.js} +2 -2
- package/dist/lazy/{Component-9AnEsQDK.js → Component-UJOj0afN.js} +1 -1
- package/dist/lazy/CurdCard-De2GcNQx.js +160 -0
- package/dist/lazy/{Custom-hWu0Q6FZ.js → Custom-Byz8HyJY.js} +7 -7
- package/dist/lazy/DatePicker-BOTuK4Qi.js +26 -0
- package/dist/lazy/{FormList-BCBAuCnO.js → FormList-B-e3HzHV.js} +1 -1
- package/dist/lazy/{Grid-DHoPAE4o.js → Grid-D4yKG1VU.js} +1 -1
- package/dist/lazy/{Inline-52tfJp9S.js → Inline-BrJWVeC4.js} +6 -6
- package/dist/lazy/{JsonEdit-Diiqc8Fx.js → JsonEdit-DJqpqtHl.js} +3 -3
- package/dist/lazy/{ObjGroup-DmkpIILA.js → ObjGroup-DYXkHZdQ.js} +1 -1
- package/dist/lazy/{OfferDetails-DbYK4sOF.js → OfferDetails-CZfKkVLJ.js} +24 -24
- package/dist/lazy/{OrderProgress-BTlnVLjv.js → OrderProgress-C3UP5xVK.js} +13 -16
- package/dist/lazy/{Radio-CvbLZ4LB.js → Radio-CCOEImDI.js} +2 -2
- package/dist/lazy/{SearchSelect-WSzBaNyX.js → SearchSelect-CLs8NW74.js} +14 -14
- package/dist/lazy/{Select-CBG0Q_KL.js → Select-cBzvd4MV.js} +25 -22
- package/dist/lazy/{Table-D4kpXus2.js → Table-DLoU3srh.js} +19 -19
- package/dist/lazy/{Tabs-Dt9V-WE7.js → Tabs-aogGKJou.js} +1 -1
- package/dist/lazy/{Wrapper-T-of6mnW.js → Wrapper-C-AtO0vo.js} +2 -2
- package/dist/lazy/{index-BkLDpr2h.js → index-FVEGEQGn.js} +2107 -2084
- package/dist/lazy/{useSelect-BY8D93iV.js → useSelect-BxShqme2.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/CurdCard-DBLv0WYy.js +0 -135
- package/dist/lazy/DatePicker-DSEQHLQG.js +0 -25
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.50",
|
|
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,135 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, inject as I, ref as w, resolveComponent as _, openBlock as n, createElementBlock as s, createElementVNode as a, normalizeClass as h, createBlock as p, createCommentVNode as v, toDisplayString as N, Fragment as g, renderList as V, withCtx as B, createVNode as i, unref as f, withDirectives as z, vShow as D } from "vue";
|
|
2
|
-
import { u as j, I as c, B as L, a as T, h as P, b as R } from "./index-BkLDpr2h.js";
|
|
3
|
-
import "element-plus";
|
|
4
|
-
const q = { class: "crm-curd-card" }, A = { class: "left-part" }, G = { class: "title" }, H = { class: "right-part" }, J = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "switch-panel"
|
|
7
|
-
}, K = { key: 2 }, O = /* @__PURE__ */ F({
|
|
8
|
-
__name: "CurdCard",
|
|
9
|
-
props: {
|
|
10
|
-
name: {},
|
|
11
|
-
children: {},
|
|
12
|
-
collapsible: { type: Boolean },
|
|
13
|
-
onCollapsed: {},
|
|
14
|
-
typeSwitch: { type: Boolean },
|
|
15
|
-
title: {},
|
|
16
|
-
btns: {},
|
|
17
|
-
type: {},
|
|
18
|
-
mainIcon: {},
|
|
19
|
-
extraIcons: {},
|
|
20
|
-
displayType: {}
|
|
21
|
-
},
|
|
22
|
-
setup(M) {
|
|
23
|
-
const d = I("ruleModule", void 0), k = I("pageMethodMap", {}), r = M, b = (e) => {
|
|
24
|
-
if (e && d)
|
|
25
|
-
try {
|
|
26
|
-
d[e](k);
|
|
27
|
-
} catch (o) {
|
|
28
|
-
console.error(o);
|
|
29
|
-
}
|
|
30
|
-
}, S = () => {
|
|
31
|
-
t.value = !t.value, r.onCollapsed && d && d[r.onCollapsed](k, t.value);
|
|
32
|
-
}, t = w(!1), m = w(r.displayType || (r.typeSwitch ? "card" : "table")), $ = j(), y = (e) => {
|
|
33
|
-
m.value = e;
|
|
34
|
-
const o = P($.schema.items, r.name), u = (C) => {
|
|
35
|
-
C.forEach((l) => {
|
|
36
|
-
l.component === "Table" && l.props && (l.props.displayType = e), l.children && l.children.length > 0 && u(l.children);
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
o && o.children && u(o.children);
|
|
40
|
-
};
|
|
41
|
-
return y(m.value), (e, o) => {
|
|
42
|
-
const u = _("el-tooltip"), C = _("el-collapse-transition");
|
|
43
|
-
return n(), s("div", q, [
|
|
44
|
-
a("div", {
|
|
45
|
-
class: h(["card-header", {
|
|
46
|
-
inline: e.type === "inline",
|
|
47
|
-
mix: e.type === "mix",
|
|
48
|
-
default: e.type === "default",
|
|
49
|
-
collapsedPadding: t.value && e.onCollapsed
|
|
50
|
-
}])
|
|
51
|
-
}, [
|
|
52
|
-
a("div", A, [
|
|
53
|
-
e.mainIcon ? (n(), p(c, {
|
|
54
|
-
key: 0,
|
|
55
|
-
class: "title-icon",
|
|
56
|
-
size: "large",
|
|
57
|
-
name: e.mainIcon.name,
|
|
58
|
-
color: e.mainIcon.color
|
|
59
|
-
}, null, 8, ["name", "color"])) : v("", !0),
|
|
60
|
-
a("span", G, N(e.title), 1),
|
|
61
|
-
(n(!0), s(g, null, V(e.extraIcons, (l) => (n(), s(g, {
|
|
62
|
-
key: l.name
|
|
63
|
-
}, [
|
|
64
|
-
l.tips ? (n(), p(u, {
|
|
65
|
-
key: 0,
|
|
66
|
-
content: l.tips,
|
|
67
|
-
placement: "right"
|
|
68
|
-
}, {
|
|
69
|
-
default: B(() => [
|
|
70
|
-
i(c, {
|
|
71
|
-
class: "extra-icon",
|
|
72
|
-
name: l.name,
|
|
73
|
-
color: l.color,
|
|
74
|
-
onClick: (E) => b(l.onClick)
|
|
75
|
-
}, null, 8, ["name", "color", "onClick"])
|
|
76
|
-
]),
|
|
77
|
-
_: 2
|
|
78
|
-
}, 1032, ["content"])) : (n(), p(c, {
|
|
79
|
-
key: 1,
|
|
80
|
-
class: "extra-icon",
|
|
81
|
-
name: l.name,
|
|
82
|
-
color: l.color,
|
|
83
|
-
onClick: (E) => b(l.onClick)
|
|
84
|
-
}, null, 8, ["name", "color", "onClick"]))
|
|
85
|
-
], 64))), 128))
|
|
86
|
-
]),
|
|
87
|
-
a("div", H, [
|
|
88
|
-
e.typeSwitch ? (n(), s("div", J, [
|
|
89
|
-
a("div", {
|
|
90
|
-
class: h(["switch-icon-wrapper", { active: m.value === "card" }]),
|
|
91
|
-
onClick: o[0] || (o[0] = (l) => y("card"))
|
|
92
|
-
}, [
|
|
93
|
-
i(c, { name: "icon-kapian" })
|
|
94
|
-
], 2),
|
|
95
|
-
a("div", {
|
|
96
|
-
class: h(["switch-icon-wrapper", { active: m.value === "table" }]),
|
|
97
|
-
onClick: o[1] || (o[1] = (l) => y("table"))
|
|
98
|
-
}, [
|
|
99
|
-
i(c, { name: "icon-biaoge" })
|
|
100
|
-
], 2)
|
|
101
|
-
])) : v("", !0),
|
|
102
|
-
e.collapsible ? (n(), s("div", {
|
|
103
|
-
key: 1,
|
|
104
|
-
class: h(["collapse-icon-wrapper", { collapsed: t.value }]),
|
|
105
|
-
onClick: S
|
|
106
|
-
}, [
|
|
107
|
-
i(c, { name: "icon-shaixuan" })
|
|
108
|
-
], 2)) : v("", !0),
|
|
109
|
-
e.btns && e.btns.length > 0 ? (n(), s("div", K, [
|
|
110
|
-
i(f(L), {
|
|
111
|
-
btns: e.btns || []
|
|
112
|
-
}, null, 8, ["btns"])
|
|
113
|
-
])) : v("", !0)
|
|
114
|
-
])
|
|
115
|
-
], 2),
|
|
116
|
-
e.onCollapsed ? (n(), p(f(T), {
|
|
117
|
-
key: 1,
|
|
118
|
-
list: e.children
|
|
119
|
-
}, null, 8, ["list"])) : (n(), p(C, { key: 0 }, {
|
|
120
|
-
default: B(() => [
|
|
121
|
-
z(a("div", null, [
|
|
122
|
-
i(f(T), { list: e.children }, null, 8, ["list"])
|
|
123
|
-
], 512), [
|
|
124
|
-
[D, !t.value]
|
|
125
|
-
])
|
|
126
|
-
]),
|
|
127
|
-
_: 1
|
|
128
|
-
}))
|
|
129
|
-
]);
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
}), X = /* @__PURE__ */ R(O, [["__scopeId", "data-v-c1f1135c"]]);
|
|
133
|
-
export {
|
|
134
|
-
X as default
|
|
135
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, mergeModels as s, useModel as m, resolveComponent as p, openBlock as t, createElementBlock as u, toDisplayString as i, createBlock as c, mergeProps as k } from "vue";
|
|
2
|
-
const _ = { key: 0 }, f = /* @__PURE__ */ d({
|
|
3
|
-
__name: "DatePicker",
|
|
4
|
-
props: /* @__PURE__ */ s({
|
|
5
|
-
read: { type: Boolean }
|
|
6
|
-
}, {
|
|
7
|
-
modelValue: {},
|
|
8
|
-
modelModifiers: {}
|
|
9
|
-
}),
|
|
10
|
-
emits: ["update:modelValue"],
|
|
11
|
-
setup(a) {
|
|
12
|
-
const e = m(a, "modelValue");
|
|
13
|
-
return (o, l) => {
|
|
14
|
-
const n = p("el-date-picker");
|
|
15
|
-
return o.read ? (t(), u("span", _, i(e.value || "--"), 1)) : (t(), c(n, k({ key: 1 }, o.$attrs, {
|
|
16
|
-
modelValue: e.value,
|
|
17
|
-
"onUpdate:modelValue": l[0] || (l[0] = (r) => e.value = r),
|
|
18
|
-
style: { width: "100%" }
|
|
19
|
-
}), null, 16, ["modelValue"]));
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
export {
|
|
24
|
-
f as default
|
|
25
|
-
};
|