asiaint-lowcode 3.0.75 → 3.1.1
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 +3 -3
- package/dist/asiaint-lowcode.umd.cjs +141 -141
- package/dist/index.d.ts +146 -26
- package/dist/lazy/{Card-BL132uF0.js → Card-BotexRow.js} +2 -2
- package/dist/lazy/{Cascader-BNajnGXt.js → Cascader-DlPFMm4q.js} +2 -1
- package/dist/lazy/{Checkbox-CB78q85K.js → Checkbox-B3ZlaMu-.js} +8 -7
- package/dist/lazy/{Collapse-BT3Z_TeL.js → Collapse-CvvDvzUe.js} +1 -1
- package/dist/lazy/{Component-DdZRdqp7.js → Component-1ifx_71s.js} +1 -1
- package/dist/lazy/{Component-OAYlB5bp.js → Component-BFthFsDN.js} +2 -2
- package/dist/lazy/{Component-Cwe8AZcy.js → Component-BMyo9RcE.js} +1 -1
- package/dist/lazy/{Component-CVbGsSj6.js → Component-C4EAi6pq.js} +4 -4
- package/dist/lazy/{Component-Dl3PXGm5.js → Component-CJLLkcKZ.js} +1 -1
- package/dist/lazy/{Component-BNOSHXwG.js → Component-k70ODABG.js} +2 -2
- package/dist/lazy/{CurdCard-BrBulKvO.js → CurdCard-Dxlf9fsv.js} +50 -44
- package/dist/lazy/{Custom-BliwSKbp.js → Custom-DjAqb9Wc.js} +7 -7
- package/dist/lazy/{DragList-Buw-1bQc.js → DragList-BaXe5qJv.js} +35 -34
- package/dist/lazy/{FormList-DTdAAtrD.js → FormList-k6c-UNG8.js} +1 -1
- package/dist/lazy/{Grid-DUAIHsOo.js → Grid-OhcM4HDS.js} +1 -1
- package/dist/lazy/{Inline-BkAIXUU0.js → Inline-Cwpbm9wv.js} +3 -3
- package/dist/lazy/{JsonEdit-Bx4jK-K8.js → JsonEdit-CU-J4fdd.js} +3 -3
- package/dist/lazy/{LogList-DHk7eKeC.js → LogList-C6LMjMRn.js} +7 -7
- package/dist/lazy/{ObjGroup-DXJerzS2.js → ObjGroup-CgsFd4Y8.js} +1 -1
- package/dist/lazy/{OfferDetails-Fs5y40J0.js → OfferDetails-DIbdP0vj.js} +16 -14
- package/dist/lazy/{Progress-pRaKkFkw.js → Progress-VUY-tDJv.js} +5 -5
- package/dist/lazy/{Radio-C9Z-5npS.js → Radio-Bu1hE1Bk.js} +8 -7
- package/dist/lazy/{SearchSelect-BU-_DOLr.js → SearchSelect-D9K6sG_e.js} +16 -15
- package/dist/lazy/{Select-DJ6Ky5mO.js → Select-79Jg1Epf.js} +10 -9
- package/dist/lazy/Table-jTmqdEAL.js +439 -0
- package/dist/lazy/{Tabs-meM_0XCE.js → Tabs-NufO7Fxk.js} +1 -1
- package/dist/lazy/Wrapper-DMqVpwXY.js +87 -0
- package/dist/lazy/{index-2Lph8ou3.js → index-ByB0wyc-.js} +9668 -9397
- package/dist/lazy/useSelect-B3ugkvd3.js +77 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Table-BlBWSnrv.js +0 -351
- package/dist/lazy/Wrapper-DlG2aZRe.js +0 -36
- package/dist/lazy/useSelect-CmUZu1rN.js +0 -76
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { u as
|
|
1
|
+
import { defineComponent as F, inject as V, ref as w, resolveComponent as C, openBlock as a, createElementBlock as s, normalizeClass as m, normalizeStyle as j, createElementVNode as i, createBlock as r, createCommentVNode as v, toDisplayString as S, withCtx as f, Fragment as _, renderList as M, createTextVNode as A, createVNode as p, unref as B, withDirectives as O, vShow as P } from "vue";
|
|
2
|
+
import { u as U, I as u, B as q, a as $, h as G, b as H } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
const J =
|
|
4
|
+
const J = ["id"], K = { class: "left-part" }, Q = { class: "title" }, W = { class: "right-part" }, X = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "switch-panel"
|
|
7
|
-
},
|
|
7
|
+
}, Y = { key: 2 }, Z = /* @__PURE__ */ F({
|
|
8
8
|
__name: "CurdCard",
|
|
9
9
|
props: {
|
|
10
10
|
name: {},
|
|
11
11
|
children: {},
|
|
12
|
+
defaultCollapse: { type: Boolean },
|
|
12
13
|
collapsible: { type: Boolean },
|
|
13
14
|
onCollapsed: {},
|
|
14
15
|
typeSwitch: { type: Boolean },
|
|
@@ -20,22 +21,23 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
|
|
|
20
21
|
displayType: {},
|
|
21
22
|
radioList: {},
|
|
22
23
|
onRadioChange: {},
|
|
23
|
-
radioDefault: {}
|
|
24
|
+
radioDefault: {},
|
|
25
|
+
style: { type: [Boolean, null, String, Object, Array] }
|
|
24
26
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const
|
|
27
|
-
if (e &&
|
|
27
|
+
setup(R) {
|
|
28
|
+
const d = V("ruleModule", void 0), k = V("pageMethodMap", {}), n = R, g = w(n.radioDefault ?? "2"), T = (e) => {
|
|
29
|
+
if (e && d)
|
|
28
30
|
try {
|
|
29
|
-
|
|
31
|
+
d[e](k);
|
|
30
32
|
} catch (o) {
|
|
31
33
|
console.error(o);
|
|
32
34
|
}
|
|
33
35
|
}, D = (e) => {
|
|
34
|
-
n.onRadioChange &&
|
|
36
|
+
n.onRadioChange && d && d[n.onRadioChange](k, e);
|
|
35
37
|
}, L = () => {
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
38
|
+
c.value = !c.value, n.onCollapsed && d && d[n.onCollapsed](k, c.value);
|
|
39
|
+
}, c = w(n.defaultCollapse ?? !1), y = w(n.displayType || (n.typeSwitch ? "card" : "table")), N = U(), b = (e) => {
|
|
40
|
+
y.value = e;
|
|
39
41
|
const o = G(N.schema.items, n.name), h = (I) => {
|
|
40
42
|
I.forEach((t) => {
|
|
41
43
|
t.component === "Table" && t.props && (t.props.displayType = e), t.children && t.children.length > 0 && h(t.children);
|
|
@@ -43,16 +45,20 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
|
|
|
43
45
|
};
|
|
44
46
|
o && o.children && h(o.children);
|
|
45
47
|
};
|
|
46
|
-
return b(
|
|
47
|
-
const h =
|
|
48
|
-
return a(), s("div",
|
|
48
|
+
return b(y.value), (e, o) => {
|
|
49
|
+
const h = C("el-radio"), I = C("el-radio-group"), t = C("el-tooltip"), z = C("el-collapse-transition");
|
|
50
|
+
return a(), s("div", {
|
|
51
|
+
class: m(["crm-curd-card", { gridItem: e.type === "gridItem" }]),
|
|
52
|
+
style: j(e.style),
|
|
53
|
+
id: e.name
|
|
54
|
+
}, [
|
|
49
55
|
i("div", {
|
|
50
|
-
class:
|
|
56
|
+
class: m(["card-header", {
|
|
51
57
|
inline: e.type === "inline",
|
|
52
58
|
mix: e.type === "mix",
|
|
53
59
|
default: e.type === "default",
|
|
54
60
|
gridItem: e.type === "gridItem",
|
|
55
|
-
collapsedPadding:
|
|
61
|
+
collapsedPadding: c.value && e.onCollapsed
|
|
56
62
|
}])
|
|
57
63
|
}, [
|
|
58
64
|
i("div", K, [
|
|
@@ -62,8 +68,8 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
|
|
|
62
68
|
size: "large",
|
|
63
69
|
name: e.mainIcon.name,
|
|
64
70
|
color: e.mainIcon.color
|
|
65
|
-
}, null, 8, ["name", "color"])) :
|
|
66
|
-
i("span",
|
|
71
|
+
}, null, 8, ["name", "color"])) : v("", !0),
|
|
72
|
+
i("span", Q, S(e.title), 1),
|
|
67
73
|
e.radioList ? (a(), r(I, {
|
|
68
74
|
key: 1,
|
|
69
75
|
class: "ml-9",
|
|
@@ -72,19 +78,19 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
|
|
|
72
78
|
onChange: o[1] || (o[1] = (l) => D(g.value))
|
|
73
79
|
}, {
|
|
74
80
|
default: f(() => [
|
|
75
|
-
(a(!0), s(
|
|
81
|
+
(a(!0), s(_, null, M(e.radioList, (l) => (a(), r(h, {
|
|
76
82
|
value: l.value,
|
|
77
83
|
key: l.value
|
|
78
84
|
}, {
|
|
79
85
|
default: f(() => [
|
|
80
|
-
|
|
86
|
+
A(S(l.label), 1)
|
|
81
87
|
]),
|
|
82
88
|
_: 2
|
|
83
89
|
}, 1032, ["value"]))), 128))
|
|
84
90
|
]),
|
|
85
91
|
_: 1
|
|
86
|
-
}, 8, ["modelValue"])) :
|
|
87
|
-
(a(!0), s(
|
|
92
|
+
}, 8, ["modelValue"])) : v("", !0),
|
|
93
|
+
(a(!0), s(_, null, M(e.extraIcons, (l) => (a(), s(_, {
|
|
88
94
|
key: l.name
|
|
89
95
|
}, [
|
|
90
96
|
l.tips ? (a(), r(t, {
|
|
@@ -97,7 +103,7 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
|
|
|
97
103
|
class: "extra-icon",
|
|
98
104
|
name: l.name,
|
|
99
105
|
color: l.color,
|
|
100
|
-
onClick: (
|
|
106
|
+
onClick: (E) => T(l.onClick)
|
|
101
107
|
}, null, 8, ["name", "color", "onClick"])
|
|
102
108
|
]),
|
|
103
109
|
_: 2
|
|
@@ -106,56 +112,56 @@ const J = { class: "crm-curd-card" }, K = { class: "left-part" }, O = { class: "
|
|
|
106
112
|
class: "extra-icon",
|
|
107
113
|
name: l.name,
|
|
108
114
|
color: l.color,
|
|
109
|
-
onClick: (
|
|
115
|
+
onClick: (E) => T(l.onClick)
|
|
110
116
|
}, null, 8, ["name", "color", "onClick"]))
|
|
111
117
|
], 64))), 128))
|
|
112
118
|
]),
|
|
113
|
-
i("div",
|
|
114
|
-
e.typeSwitch ? (a(), s("div",
|
|
119
|
+
i("div", W, [
|
|
120
|
+
e.typeSwitch ? (a(), s("div", X, [
|
|
115
121
|
i("div", {
|
|
116
|
-
class:
|
|
122
|
+
class: m(["switch-icon-wrapper", { active: y.value === "card" }]),
|
|
117
123
|
onClick: o[2] || (o[2] = (l) => b("card"))
|
|
118
124
|
}, [
|
|
119
125
|
p(u, { name: "icon-kapian" })
|
|
120
126
|
], 2),
|
|
121
127
|
i("div", {
|
|
122
|
-
class:
|
|
128
|
+
class: m(["switch-icon-wrapper", { active: y.value === "table" }]),
|
|
123
129
|
onClick: o[3] || (o[3] = (l) => b("table"))
|
|
124
130
|
}, [
|
|
125
131
|
p(u, { name: "icon-biaoge" })
|
|
126
132
|
], 2)
|
|
127
|
-
])) :
|
|
133
|
+
])) : v("", !0),
|
|
128
134
|
e.collapsible ? (a(), s("div", {
|
|
129
135
|
key: 1,
|
|
130
|
-
class:
|
|
136
|
+
class: m(["collapse-icon-wrapper", { collapsed: c.value }]),
|
|
131
137
|
onClick: L
|
|
132
138
|
}, [
|
|
133
139
|
p(u, { name: "icon-shaixuan" })
|
|
134
|
-
], 2)) :
|
|
135
|
-
e.btns && e.btns.length > 0 ? (a(), s("div",
|
|
136
|
-
p(
|
|
140
|
+
], 2)) : v("", !0),
|
|
141
|
+
e.btns && e.btns.length > 0 ? (a(), s("div", Y, [
|
|
142
|
+
p(B(q), {
|
|
137
143
|
btns: e.btns || []
|
|
138
144
|
}, null, 8, ["btns"])
|
|
139
|
-
])) :
|
|
145
|
+
])) : v("", !0)
|
|
140
146
|
])
|
|
141
147
|
], 2),
|
|
142
|
-
e.onCollapsed ? (a(), r(
|
|
148
|
+
e.onCollapsed ? (a(), r(B($), {
|
|
143
149
|
key: 1,
|
|
144
150
|
list: e.children
|
|
145
|
-
}, null, 8, ["list"])) : (a(), r(
|
|
151
|
+
}, null, 8, ["list"])) : (a(), r(z, { key: 0 }, {
|
|
146
152
|
default: f(() => [
|
|
147
|
-
|
|
148
|
-
p(
|
|
153
|
+
O(i("div", null, [
|
|
154
|
+
p(B($), { list: e.children }, null, 8, ["list"])
|
|
149
155
|
], 512), [
|
|
150
|
-
[
|
|
156
|
+
[P, !c.value]
|
|
151
157
|
])
|
|
152
158
|
]),
|
|
153
159
|
_: 1
|
|
154
160
|
}))
|
|
155
|
-
]);
|
|
161
|
+
], 14, J);
|
|
156
162
|
};
|
|
157
163
|
}
|
|
158
|
-
}),
|
|
164
|
+
}), oe = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-66fd6437"]]);
|
|
159
165
|
export {
|
|
160
|
-
|
|
166
|
+
oe as default
|
|
161
167
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as
|
|
2
|
-
import { b as i } from "./index-
|
|
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 { b as i } from "./index-ByB0wyc-.js";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty"
|
|
@@ -12,15 +12,15 @@ const f = {
|
|
|
12
12
|
modelModifiers: {}
|
|
13
13
|
}),
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(
|
|
16
|
-
const o = p(
|
|
17
|
-
return (e, m) => e.componentName ? (t(), u(
|
|
15
|
+
setup(l) {
|
|
16
|
+
const o = p(l, "modelValue");
|
|
17
|
+
return (e, m) => e.componentName ? (t(), d(u(e.componentName), c({
|
|
18
18
|
key: 1,
|
|
19
19
|
modelValue: o.value,
|
|
20
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
20
|
+
"onUpdate:modelValue": m[0] || (m[0] = (a) => o.value = a)
|
|
21
21
|
}, e.$attrs), null, 16, ["modelValue"])) : (t(), r("span", f, "请输入全局注册得组件名"));
|
|
22
22
|
}
|
|
23
|
-
}), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-
|
|
23
|
+
}), v = /* @__PURE__ */ i(_, [["__scopeId", "data-v-2250b7d1"]]);
|
|
24
24
|
export {
|
|
25
25
|
v as default
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as X, reactive as H, ref as U, onBeforeMount as oe, onMounted as le, nextTick as f, onBeforeUnmount as ie, watch as d, provide as W, toRefs as F, openBlock as z, createElementBlock as T, normalizeStyle as re, renderSlot as V, Fragment as ne, renderList as se, createBlock as Y, mergeProps as ue, withCtx as j, withDirectives as de, createVNode as P, vShow as ce, mergeModels as me, useModel as
|
|
2
|
-
import { w as fe,
|
|
1
|
+
import { defineComponent as X, reactive as H, ref as U, onBeforeMount as oe, onMounted as le, nextTick as f, onBeforeUnmount as ie, watch as d, provide as W, toRefs as F, openBlock as z, createElementBlock as T, normalizeStyle as re, renderSlot as V, Fragment as ne, renderList as se, createBlock as Y, mergeProps as ue, withCtx as j, withDirectives as de, createVNode as P, vShow as ce, mergeModels as me, useModel as ge, onUnmounted as pe, unref as q, readonly as ye } from "vue";
|
|
2
|
+
import { w as fe, m as ve, n as he, o as B, T as we, v as xe, p as b, A as Be, q as A, x as be, L as ke, y as De, r as Ce, Y as Le, s as Se, t as O, V as ze, i as Re, a as Ne, b as Me } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const $e = /* @__PURE__ */ X({
|
|
5
5
|
__name: "grid-layout",
|
|
@@ -33,8 +33,8 @@ const $e = /* @__PURE__ */ X({
|
|
|
33
33
|
"update:layout",
|
|
34
34
|
"layout-ready"
|
|
35
35
|
],
|
|
36
|
-
setup(k, { expose: R, emit:
|
|
37
|
-
const a = k, u =
|
|
36
|
+
setup(k, { expose: R, emit: D }) {
|
|
37
|
+
const a = k, u = D, t = H({
|
|
38
38
|
width: -1,
|
|
39
39
|
mergedStyle: {},
|
|
40
40
|
lastLayoutLength: 0,
|
|
@@ -52,7 +52,7 @@ const $e = /* @__PURE__ */ X({
|
|
|
52
52
|
// store last active breakpoint
|
|
53
53
|
originalLayout: null
|
|
54
54
|
// store original Layout
|
|
55
|
-
}),
|
|
55
|
+
}), C = /* @__PURE__ */ new Map(), o = U(a.layout), s = U(), { observeResize: c, unobserveResize: w } = fe(), r = ze();
|
|
56
56
|
r.on("resizeEvent", G), r.on("dragEvent", J), oe(() => {
|
|
57
57
|
u("layout-before-mount", o.value);
|
|
58
58
|
}), le(() => {
|
|
@@ -64,11 +64,11 @@ const $e = /* @__PURE__ */ X({
|
|
|
64
64
|
}), ie(() => {
|
|
65
65
|
r.clearAll(), s.value && w(s.value);
|
|
66
66
|
});
|
|
67
|
-
function G(e, n, i,
|
|
68
|
-
I(e, n, i,
|
|
67
|
+
function G(e, n, i, p, m, g) {
|
|
68
|
+
I(e, n, i, p, m, g);
|
|
69
69
|
}
|
|
70
|
-
function J(e, n, i,
|
|
71
|
-
E(e, n, i,
|
|
70
|
+
function J(e, n, i, p, m, g) {
|
|
71
|
+
E(e, n, i, p, m, g);
|
|
72
72
|
}
|
|
73
73
|
d(
|
|
74
74
|
() => t.width,
|
|
@@ -134,13 +134,13 @@ const $e = /* @__PURE__ */ X({
|
|
|
134
134
|
})
|
|
135
135
|
), W(xe, r), R({ state: t, getItem: Z, resizeEvent: I, dragEvent: E, layoutUpdate: $ });
|
|
136
136
|
function K(e) {
|
|
137
|
-
|
|
137
|
+
C.set(e.i, e);
|
|
138
138
|
}
|
|
139
139
|
function Q(e) {
|
|
140
|
-
|
|
140
|
+
C.delete(e.i);
|
|
141
141
|
}
|
|
142
142
|
function Z(e) {
|
|
143
|
-
return
|
|
143
|
+
return C.get(e);
|
|
144
144
|
}
|
|
145
145
|
function $() {
|
|
146
146
|
if (!b(o.value) && !b(t.originalLayout)) {
|
|
@@ -172,47 +172,47 @@ const $e = /* @__PURE__ */ X({
|
|
|
172
172
|
return Be(o.value) * (a.rowHeight + e) + e + "px";
|
|
173
173
|
}
|
|
174
174
|
let M;
|
|
175
|
-
function E(e, n, i,
|
|
175
|
+
function E(e, n, i, p, m, g) {
|
|
176
176
|
let l = A(o.value, n);
|
|
177
177
|
b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" }), e === "dragstart" && !a.verticalCompact && (M = o.value.reduce(
|
|
178
|
-
(x, { i:
|
|
178
|
+
(x, { i: L, x: y, y: h }) => ({
|
|
179
179
|
...x,
|
|
180
|
-
[
|
|
180
|
+
[L]: { x: y, y: h }
|
|
181
181
|
}),
|
|
182
182
|
{}
|
|
183
|
-
)), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w =
|
|
183
|
+
)), e === "dragmove" || e === "dragstart" ? (t.placeholder.i = n, t.placeholder.x = l.x, t.placeholder.y = l.y, t.placeholder.w = g, t.placeholder.h = m, f(() => {
|
|
184
184
|
t.isDragging = !0;
|
|
185
185
|
}), r.emit("updateWidth", t.width)) : f(() => {
|
|
186
186
|
t.isDragging = !1;
|
|
187
|
-
}), o.value = be(o.value, l, i,
|
|
187
|
+
}), o.value = be(o.value, l, i, p, !0, a.preventCollision), a.restoreOnDrag ? (l.static = !0, B(o.value, a.verticalCompact, M), l.static = !1) : B(o.value, a.verticalCompact), r.emit("compact"), v(), e === "dragend" && (M = void 0, u("layout-updated", o.value));
|
|
188
188
|
}
|
|
189
|
-
function I(e, n, i,
|
|
189
|
+
function I(e, n, i, p, m, g) {
|
|
190
190
|
let l = A(o.value, n);
|
|
191
191
|
b(l) && (l = { h: 0, w: 0, x: 0, y: 0, i: "" });
|
|
192
192
|
let x;
|
|
193
193
|
if (a.preventCollision) {
|
|
194
|
-
const
|
|
194
|
+
const L = ke(o.value, { ...l, w: g, h: m }).filter(
|
|
195
195
|
(y) => y.i !== l.i
|
|
196
196
|
);
|
|
197
|
-
if (x =
|
|
197
|
+
if (x = L.length > 0, x) {
|
|
198
198
|
let y = 1 / 0, h = 1 / 0;
|
|
199
|
-
|
|
199
|
+
L.forEach((S) => {
|
|
200
200
|
S.x > l.x && (y = Math.min(y, S.x)), S.y > l.y && (h = Math.min(h, S.y));
|
|
201
201
|
}), Number.isFinite(y) && (l.w = y - l.x), Number.isFinite(h) && (l.h = h - l.y);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
x || (l.w =
|
|
204
|
+
x || (l.w = g, l.h = m), e === "resizestart" || e === "resizemove" ? (t.placeholder.i = n, t.placeholder.x = i, t.placeholder.y = p, t.placeholder.w = l.w, t.placeholder.h = l.h, f(() => {
|
|
205
205
|
t.isDragging = !0;
|
|
206
206
|
}), r.emit("updateWidth", t.width)) : e && f(() => {
|
|
207
207
|
t.isDragging = !1;
|
|
208
208
|
}), a.responsive && te(), B(o.value, a.verticalCompact), r.emit("compact"), v(), e === "resizeend" && u("layout-updated", o.value);
|
|
209
209
|
}
|
|
210
210
|
function te() {
|
|
211
|
-
const e =
|
|
211
|
+
const e = De(a.breakpoints, t.width);
|
|
212
212
|
if (e === t.lastBreakpoint)
|
|
213
213
|
return;
|
|
214
|
-
const n =
|
|
215
|
-
!b(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] =
|
|
214
|
+
const n = Ce(e, a.cols);
|
|
215
|
+
!b(t.lastBreakpoint) && !t.layouts[t.lastBreakpoint] && (t.layouts[t.lastBreakpoint] = Le(o.value));
|
|
216
216
|
const i = Se(
|
|
217
217
|
t.originalLayout,
|
|
218
218
|
t.layouts,
|
|
@@ -228,8 +228,8 @@ const $e = /* @__PURE__ */ X({
|
|
|
228
228
|
t.layouts = Object.assign({}, a.responsiveLayouts);
|
|
229
229
|
}
|
|
230
230
|
function ae(e, n) {
|
|
231
|
-
const i = new Set(n.map((l) => l.i)),
|
|
232
|
-
return m.concat(
|
|
231
|
+
const i = new Set(n.map((l) => l.i)), p = new Set(e.map((l) => l.i)), m = e.filter((l) => !i.has(l.i)), g = n.filter((l) => !p.has(l.i));
|
|
232
|
+
return m.concat(g);
|
|
233
233
|
}
|
|
234
234
|
return (e, n) => (z(), T("div", {
|
|
235
235
|
ref_key: "wrapper",
|
|
@@ -265,6 +265,7 @@ const $e = /* @__PURE__ */ X({
|
|
|
265
265
|
rowHeight: {},
|
|
266
266
|
colNum: {},
|
|
267
267
|
maxRows: {},
|
|
268
|
+
isDraggable: { type: Boolean },
|
|
268
269
|
name: {}
|
|
269
270
|
}, {
|
|
270
271
|
gridlayout: { required: !0 },
|
|
@@ -272,7 +273,7 @@ const $e = /* @__PURE__ */ X({
|
|
|
272
273
|
}),
|
|
273
274
|
emits: ["update:gridlayout"],
|
|
274
275
|
setup(k, { expose: R }) {
|
|
275
|
-
const
|
|
276
|
+
const D = k, a = ge(k, "gridlayout"), o = {
|
|
276
277
|
getLayout: () => ye(a),
|
|
277
278
|
setItemX: (s, c) => {
|
|
278
279
|
a.value[s].x = c;
|
|
@@ -282,9 +283,9 @@ const $e = /* @__PURE__ */ X({
|
|
|
282
283
|
},
|
|
283
284
|
type: "draglist"
|
|
284
285
|
};
|
|
285
|
-
if (R(o),
|
|
286
|
-
const s = Re(
|
|
287
|
-
|
|
286
|
+
if (R(o), D.name) {
|
|
287
|
+
const s = Re(D.name, o);
|
|
288
|
+
pe(() => {
|
|
288
289
|
s();
|
|
289
290
|
});
|
|
290
291
|
}
|
|
@@ -295,7 +296,7 @@ const $e = /* @__PURE__ */ X({
|
|
|
295
296
|
"row-height": s.rowHeight || 30,
|
|
296
297
|
"max-rows": s.maxRows,
|
|
297
298
|
margin: [8, 8],
|
|
298
|
-
"is-draggable":
|
|
299
|
+
"is-draggable": s.isDraggable,
|
|
299
300
|
"is-bounded": "",
|
|
300
301
|
"is-resizable": !1,
|
|
301
302
|
"vertical-compact": "",
|
|
@@ -309,9 +310,9 @@ const $e = /* @__PURE__ */ X({
|
|
|
309
310
|
}, null, 8, ["list", "gridData"])
|
|
310
311
|
]),
|
|
311
312
|
_: 1
|
|
312
|
-
}, 8, ["layout", "col-num", "row-height", "max-rows"]));
|
|
313
|
+
}, 8, ["layout", "col-num", "row-height", "max-rows", "is-draggable"]));
|
|
313
314
|
}
|
|
314
|
-
}), Ue = /* @__PURE__ */ Me(Ee, [["__scopeId", "data-v-
|
|
315
|
+
}), Ue = /* @__PURE__ */ Me(Ee, [["__scopeId", "data-v-4f8bb5d6"]]);
|
|
315
316
|
export {
|
|
316
317
|
Ue as default
|
|
317
318
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
|
|
2
|
-
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-
|
|
2
|
+
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
|
|
5
5
|
__name: "FormList",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, computed as o, openBlock as a, createElementBlock as d, normalizeStyle as r, createVNode as l, unref as m } from "vue";
|
|
2
|
-
import { a as g } from "./index-
|
|
2
|
+
import { a as g } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const x = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Grid",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, computed as o, openBlock as r, createElementBlock as i, normalizeStyle as p, createVNode as s, unref as c } from "vue";
|
|
2
|
-
import { a as m, b as
|
|
2
|
+
import { a as m, b as u } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ l({
|
|
5
5
|
__name: "Inline",
|
|
6
6
|
props: {
|
|
7
7
|
children: {},
|
|
@@ -29,7 +29,7 @@ const u = /* @__PURE__ */ l({
|
|
|
29
29
|
s(c(m), { list: a.children }, null, 8, ["list"])
|
|
30
30
|
], 4));
|
|
31
31
|
}
|
|
32
|
-
}), x = /* @__PURE__ */ f
|
|
32
|
+
}), x = /* @__PURE__ */ u(f, [["__scopeId", "data-v-d0b66bc2"]]);
|
|
33
33
|
export {
|
|
34
34
|
x as default
|
|
35
35
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
|
|
2
|
-
import { b as xt, g as Nt } from "./index-
|
|
2
|
+
import { b as xt, g as Nt } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Mt = /* @__PURE__ */ At({
|
|
5
5
|
__name: "Disabled",
|
|
@@ -12,7 +12,7 @@ const Mt = /* @__PURE__ */ At({
|
|
|
12
12
|
It(Je.$slots, "default", {}, void 0, !0)
|
|
13
13
|
], 16)) : It(Je.$slots, "default", { key: 1 }, void 0, !0);
|
|
14
14
|
}
|
|
15
|
-
}), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-
|
|
15
|
+
}), Bt = /* @__PURE__ */ xt(Mt, [["__scopeId", "data-v-353650ae"]]);
|
|
16
16
|
var kt = { exports: {} };
|
|
17
17
|
/*!
|
|
18
18
|
* jsoneditor.js
|
|
@@ -16350,7 +16350,7 @@ function Ft(je, Je, Xe, et, qe, ae) {
|
|
|
16350
16350
|
}, null, 2)
|
|
16351
16351
|
], 2);
|
|
16352
16352
|
}
|
|
16353
|
-
const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-
|
|
16353
|
+
const Ot = /* @__PURE__ */ xt(Ht, [["render", Ft], ["__scopeId", "data-v-c3373674"]]), jt = /* @__PURE__ */ At({
|
|
16354
16354
|
inheritAttrs: !1,
|
|
16355
16355
|
__name: "JsonEdit",
|
|
16356
16356
|
props: /* @__PURE__ */ Tt({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as
|
|
2
|
-
import { b as y } from "./index-
|
|
1
|
+
import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as i, createElementVNode as s, normalizeStyle as d, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
|
|
2
|
+
import { b as y } from "./index-ByB0wyc-.js";
|
|
3
3
|
const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "title" }, m = { class: "sub-title" }, k = { class: "content" }, C = { key: 0 }, L = /* @__PURE__ */ p({
|
|
4
4
|
__name: "LogList",
|
|
5
5
|
props: {
|
|
@@ -7,7 +7,7 @@ const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "titl
|
|
|
7
7
|
},
|
|
8
8
|
setup(x) {
|
|
9
9
|
return (_, N) => (e(), o("div", b, [
|
|
10
|
-
(e(!0), o(a, null,
|
|
10
|
+
(e(!0), o(a, null, i(_.content, (t) => {
|
|
11
11
|
var r;
|
|
12
12
|
return e(), o("div", {
|
|
13
13
|
class: "log-list-item",
|
|
@@ -15,18 +15,18 @@ const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "titl
|
|
|
15
15
|
}, [
|
|
16
16
|
s("div", {
|
|
17
17
|
class: "left-bar",
|
|
18
|
-
style:
|
|
18
|
+
style: d({ backgroundColor: t.color })
|
|
19
19
|
}, null, 4),
|
|
20
20
|
s("div", f, [
|
|
21
21
|
s("div", {
|
|
22
22
|
class: "circle",
|
|
23
|
-
style:
|
|
23
|
+
style: d({ backgroundColor: t.color })
|
|
24
24
|
}, l((r = t.title) == null ? void 0 : r[0]), 5),
|
|
25
25
|
s("div", h, l(t.title), 1),
|
|
26
26
|
s("div", m, l(t.subTitle), 1)
|
|
27
27
|
]),
|
|
28
28
|
s("div", k, [
|
|
29
|
-
(e(!0), o(a, null,
|
|
29
|
+
(e(!0), o(a, null, i(t.content, (n, c) => (e(), o("span", {
|
|
30
30
|
key: c,
|
|
31
31
|
class: u({ bold: n.style === "bold", normal: n.style === "normal" })
|
|
32
32
|
}, [
|
|
@@ -38,7 +38,7 @@ const b = { class: "log-list" }, f = { class: "title-part" }, h = { class: "titl
|
|
|
38
38
|
}), 128))
|
|
39
39
|
]));
|
|
40
40
|
}
|
|
41
|
-
}), B = /* @__PURE__ */ y(L, [["__scopeId", "data-v-
|
|
41
|
+
}), B = /* @__PURE__ */ y(L, [["__scopeId", "data-v-fe451915"]]);
|
|
42
42
|
export {
|
|
43
43
|
B as default
|
|
44
44
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
|
|
2
|
-
import { u as j, d as h, e as k } from "./index-
|
|
2
|
+
import { u as j, d as h, e as k } from "./index-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const v = { class: "vfc-ObjGroup" }, B = {
|
|
5
5
|
key: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as B, resolveComponent as M, openBlock as l, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as
|
|
2
|
-
import {
|
|
3
|
-
const x = { class: "content" }, K = { class: "product-list" },
|
|
1
|
+
import { defineComponent as B, resolveComponent as M, openBlock as l, createBlock as O, withCtx as E, createVNode as g, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as y, toDisplayString as b, createCommentVNode as I, ref as D, inject as N, watchEffect as A, onMounted as R, normalizeStyle as S, unref as $ } from "vue";
|
|
2
|
+
import { k as U, $ as z, _ as F, b as L } from "./index-ByB0wyc-.js";
|
|
3
|
+
const x = { class: "content" }, K = { class: "product-list" }, V = { class: "attribute-list" }, j = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "attribute-list-item"
|
|
6
6
|
}, q = { class: "product-title attribute-title" }, G = { class: "attribute-item-list" }, H = { class: "attribute-label" }, J = { class: "attribute-value" }, Q = /* @__PURE__ */ B({
|
|
@@ -28,24 +28,24 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
|
|
|
28
28
|
i("div", x, [
|
|
29
29
|
p[0] || (p[0] = i("div", { class: "product-title" }, "Product", -1)),
|
|
30
30
|
i("div", K, [
|
|
31
|
-
(l(!0), r(u, null,
|
|
31
|
+
(l(!0), r(u, null, y(a.data.product, (s) => (l(), r("div", {
|
|
32
32
|
class: "product-item",
|
|
33
33
|
key: s.label
|
|
34
|
-
},
|
|
34
|
+
}, b(s.label), 1))), 128))
|
|
35
35
|
]),
|
|
36
|
-
i("div",
|
|
37
|
-
(l(!0), r(u, null,
|
|
36
|
+
i("div", V, [
|
|
37
|
+
(l(!0), r(u, null, y(a.data.product, (s) => (l(), r(u, {
|
|
38
38
|
key: s.label
|
|
39
39
|
}, [
|
|
40
|
-
s.children.length > 0 ? (l(), r("div",
|
|
41
|
-
i("div", q,
|
|
40
|
+
s.children.length > 0 ? (l(), r("div", j, [
|
|
41
|
+
i("div", q, b(s.label), 1),
|
|
42
42
|
i("div", G, [
|
|
43
|
-
(l(!0), r(u, null,
|
|
43
|
+
(l(!0), r(u, null, y(s.children, (d) => (l(), r("div", {
|
|
44
44
|
class: "attribute-item",
|
|
45
45
|
key: d.label
|
|
46
46
|
}, [
|
|
47
|
-
i("div", H,
|
|
48
|
-
i("div", J,
|
|
47
|
+
i("div", H, b(d.label), 1),
|
|
48
|
+
i("div", J, b(d.value || "--"), 1)
|
|
49
49
|
]))), 128))
|
|
50
50
|
])
|
|
51
51
|
])) : I("", !0)
|
|
@@ -81,8 +81,10 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
|
|
|
81
81
|
hidden: { type: Boolean },
|
|
82
82
|
hiddenPagination: { type: Boolean },
|
|
83
83
|
handleCurrentChange: {},
|
|
84
|
+
selectable: {},
|
|
84
85
|
pageSizes: {},
|
|
85
86
|
pagerCount: {},
|
|
87
|
+
paginationLayout: {},
|
|
86
88
|
defaultPageSize: {},
|
|
87
89
|
typeSwitch: { type: Boolean },
|
|
88
90
|
displayType: {},
|
|
@@ -156,7 +158,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
|
|
|
156
158
|
"--gap": t.gap + "px"
|
|
157
159
|
})
|
|
158
160
|
}, [
|
|
159
|
-
(l(!0), r(u, null,
|
|
161
|
+
(l(!0), r(u, null, y(p.value, (n, o) => (l(), r("div", {
|
|
160
162
|
class: "card-list-item",
|
|
161
163
|
key: o
|
|
162
164
|
}, [
|
|
@@ -176,7 +178,7 @@ const x = { class: "content" }, K = { class: "product-list" }, L = { class: "att
|
|
|
176
178
|
])) : I("", !0)
|
|
177
179
|
], 64));
|
|
178
180
|
}
|
|
179
|
-
}), ee = /* @__PURE__ */
|
|
181
|
+
}), ee = /* @__PURE__ */ L(X, [["__scopeId", "data-v-98057b14"]]);
|
|
180
182
|
export {
|
|
181
183
|
ee as default
|
|
182
184
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, resolveComponent as m, openBlock as n, createElementBlock as s, createVNode as l, withCtx as a, Fragment as u, renderList as f, createBlock as g, createElementVNode as e, toDisplayString as r, createTextVNode as h, unref as k, createCommentVNode as N } from "vue";
|
|
2
|
-
import { I as v, _ as
|
|
3
|
-
const
|
|
2
|
+
import { I as v, _ as b, b as C } from "./index-ByB0wyc-.js";
|
|
3
|
+
const V = { class: "progress" }, y = { class: "timeline-content" }, B = { class: "timeline-content__title" }, E = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty-content"
|
|
6
6
|
}, I = /* @__PURE__ */ p({
|
|
@@ -11,7 +11,7 @@ const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
|
|
|
11
11
|
setup(w) {
|
|
12
12
|
return (o, i) => {
|
|
13
13
|
const _ = m("el-timeline-item"), c = m("el-timeline");
|
|
14
|
-
return n(), s("div",
|
|
14
|
+
return n(), s("div", V, [
|
|
15
15
|
l(c, null, {
|
|
16
16
|
default: a(() => [
|
|
17
17
|
(n(!0), s(u, null, f(o.data, (t, d) => (n(), g(_, {
|
|
@@ -39,7 +39,7 @@ const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
|
|
|
39
39
|
_: 1
|
|
40
40
|
}),
|
|
41
41
|
!o.data || o.data.length === 0 ? (n(), s("div", E, [
|
|
42
|
-
l(k(
|
|
42
|
+
l(k(b), {
|
|
43
43
|
name: "tableEmpty",
|
|
44
44
|
style: { width: 56, height: 56 }
|
|
45
45
|
}),
|
|
@@ -48,7 +48,7 @@ const b = { class: "progress" }, y = { class: "timeline-content" }, B = { class:
|
|
|
48
48
|
]);
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
}), F = /* @__PURE__ */
|
|
51
|
+
}), F = /* @__PURE__ */ C(I, [["__scopeId", "data-v-6b11ed96"]]);
|
|
52
52
|
export {
|
|
53
53
|
F as default
|
|
54
54
|
};
|