asiaint-lowcode 3.1.140 → 3.1.142
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.d.ts +13 -0
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +192 -192
- package/dist/lazy/{Card-8vNWeIPg.js → Card-DS0XD8tu.js} +8 -8
- package/dist/lazy/{Cascader-BMAg1b5J.js → Cascader-2xz4WYNR.js} +1 -1
- package/dist/lazy/{Checkbox-Cuy9UcGI.js → Checkbox-CARZTCib.js} +2 -2
- package/dist/lazy/{Collapse-CouIUiVy.js → Collapse-BHYYPY9J.js} +1 -1
- package/dist/lazy/{Component-Cpy05Jd8.js → Component-B6qOJZMu.js} +2 -2
- package/dist/lazy/{Component-BMbdOXWt.js → Component-BHy-gdds.js} +1 -1
- package/dist/lazy/{Component-BwpHn3oy.js → Component-CtDLAFnm.js} +2 -2
- package/dist/lazy/{Component-DnkwfLaR.js → Component-DbZK73I2.js} +1 -1
- package/dist/lazy/{Component-CKCXWIC5.js → Component-DmU2P_2K.js} +2 -2
- package/dist/lazy/{CurdCard-xK4Hi8Gc.js → CurdCard-CZ4VhPL7.js} +2 -2
- package/dist/lazy/Custom-BiCuB_-e.js +26 -0
- package/dist/lazy/{DatePicker-B8xiNGLk.js → DatePicker-D-rFup5V.js} +1 -1
- package/dist/lazy/{DragList-DSMjg9EP.js → DragList-Ii6kqkg2.js} +13 -13
- package/dist/lazy/{FilterSearch-CO5ewB-U.js → FilterSearch-DpMIShxs.js} +2 -2
- package/dist/lazy/FloatCurd-IaQW0CA2.js +239 -0
- package/dist/lazy/FloatSearchCurd-CqoJsN7c.js +424 -0
- package/dist/lazy/{FormList-U6FewtHN.js → FormList-DVAKg3Cx.js} +1 -1
- package/dist/lazy/{Grid-DMQrIKKC.js → Grid-Bw9rmwrG.js} +1 -1
- package/dist/lazy/{InfiniteScroll-DdeR7QjM.js → InfiniteScroll-Cmj0-z2l.js} +4 -4
- package/dist/lazy/{Inline-Cqpyce29.js → Inline-B7s-iBhh.js} +3 -3
- package/dist/lazy/{JsonEdit-H1bzdkYa.js → JsonEdit-DLzOazGA.js} +3 -3
- package/dist/lazy/{LogList-COGs_lbV.js → LogList-BfSA2YIW.js} +7 -7
- package/dist/lazy/{ObjGroup-Bn4_KGXB.js → ObjGroup-YJho79cG.js} +1 -1
- package/dist/lazy/{OfferDetails-Cl-uMJNA.js → OfferDetails-BVaa7boE.js} +8 -8
- package/dist/lazy/{Pagination-O4bgTguF.js → Pagination-Bni7hc5i.js} +2 -2
- package/dist/lazy/{Progress-Bn_B_wFC.js → Progress-DDOZz027.js} +15 -15
- package/dist/lazy/{Radio-BZnDoqOr.js → Radio-BkGE2l7X.js} +3 -3
- package/dist/lazy/{SearchSelect-OHMgptUr.js → SearchSelect-BDG-q3rh.js} +6 -6
- package/dist/lazy/{Select-B4nb4HrS.js → Select-DZVHbfet.js} +2 -2
- package/dist/lazy/{Table-CdihiD3I.js → Table-BYAny04Y.js} +2 -2
- package/dist/lazy/{Tabs-wokuGH0j.js → Tabs-DK2Z_4Mq.js} +2 -2
- package/dist/lazy/{TextArea-CkTQVVAo.js → TextArea-lLxe_7vc.js} +3 -3
- package/dist/lazy/{Wrapper-CKvQyMsb.js → Wrapper-ZyyGd7Sw.js} +4 -4
- package/dist/lazy/{index-CQB0z8tE.js → index-DdmJ7fxW.js} +718 -700
- package/dist/lazy/{useSelect-BTWne1vE.js → useSelect-CZU2AEMN.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +1 -1
- package/dist/lazy/Custom-BI7aGQUl.js +0 -26
- package/dist/lazy/FloatCurd-CGyphC_8.js +0 -185
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
import { defineComponent as Ie, mergeModels as Me, useModel as le, ref as c, computed as ne, onUnmounted as oe, watch as Fe, onMounted as De, resolveComponent as b, resolveDirective as Se, withDirectives as A, openBlock as a, createElementBlock as i, createElementVNode as n, createVNode as u, withKeys as Ve, withCtx as d, createBlock as P, withModifiers as ae, Fragment as F, renderList as T, createTextVNode as N, toDisplayString as m, createCommentVNode as k, normalizeClass as Ee, normalizeStyle as Te, unref as Le, vShow as re } from "vue";
|
|
2
|
+
import { c as Be, u as Ye, f as se, i as Oe, I as D, a as Pe, b as Ne, _ as $e } from "./index-DdmJ7fxW.js";
|
|
3
|
+
import { dayjs as q } from "element-plus";
|
|
4
|
+
const He = { class: "float-curd" }, Re = { class: "curd-body" }, ze = { class: "custom-prefix-text" }, Ae = { style: { "padding-right": "8px" } }, qe = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "empty-content h-[234px]"
|
|
7
|
+
}, je = {
|
|
8
|
+
key: 2,
|
|
9
|
+
class: "flex"
|
|
10
|
+
}, Ge = ["onMouseenter", "onClick"], Ke = ["innerHTML"], Ue = ["innerHTML"], We = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "flex-[500_1_0] bg-[#ffffff] border-l-solid border-l-[#E5E7EB] border-l-[1px]"
|
|
13
|
+
}, Je = { class: "bg-[#FBFBFB] py-[24px] px-[16px] border-b-solid border-b-[#E5E7EB] border-b-[1px]" }, Qe = { class: "flex-y-center gap-[8px]" }, Xe = { class: "text-[#333333] text-[18px] leading-[18px] font-bold mb-[4px]" }, Ze = { class: "text-[#333333] text-[12px] leading-[12px]" }, et = { class: "px-[16px] pt-[16px] grid grid-cols-2 gap-[16px]" }, tt = { class: "text-[#666666] text-[12px] leading-[12px] mb-[4px]" }, lt = ["title"], nt = { class: "float-form" }, ot = { class: "float-form-header" }, at = { class: "float-form-header-title" }, rt = { class: "float-form-header-btns" }, st = { class: "float-form-body" }, it = { class: "curd-footer" }, ut = ["innerHTML"], ct = ["title"], dt = /* @__PURE__ */ Ie({
|
|
14
|
+
__name: "FloatSearchCurd",
|
|
15
|
+
props: /* @__PURE__ */ Me({
|
|
16
|
+
name: {},
|
|
17
|
+
children: {},
|
|
18
|
+
formTitle: {},
|
|
19
|
+
onSearch: {},
|
|
20
|
+
onAiSearch: {},
|
|
21
|
+
onClear: {},
|
|
22
|
+
inputPlaceholder: {},
|
|
23
|
+
hidden: { type: Boolean },
|
|
24
|
+
prefixOptions: {},
|
|
25
|
+
prefixChange: {},
|
|
26
|
+
defaultPrefixValue: {},
|
|
27
|
+
onDetailInfo: {},
|
|
28
|
+
onFloatSearch: {},
|
|
29
|
+
onSelectItem: {}
|
|
30
|
+
}, {
|
|
31
|
+
searchData: {},
|
|
32
|
+
searchDataModifiers: {},
|
|
33
|
+
detailInfo: {},
|
|
34
|
+
detailInfoModifiers: {}
|
|
35
|
+
}),
|
|
36
|
+
emits: ["update:searchData", "update:detailInfo"],
|
|
37
|
+
setup($, { expose: ie }) {
|
|
38
|
+
const o = $, h = le($, "searchData"), x = le($, "detailInfo"), S = c(!1), { ruleModule: _, pageMethodMap: y } = Be(), H = Ye(), j = ne(() => {
|
|
39
|
+
var w, I, L, B, Y, O, l, M, ee;
|
|
40
|
+
const e = H.schema.items, t = H.formValues, r = se(e, o.name);
|
|
41
|
+
if (!r || !r.children)
|
|
42
|
+
return [];
|
|
43
|
+
const g = [];
|
|
44
|
+
for (const te in t) {
|
|
45
|
+
const s = se(r.children, te);
|
|
46
|
+
if (s && s.label && !s.hidden) {
|
|
47
|
+
const v = t[te];
|
|
48
|
+
if (v != null && v !== "") {
|
|
49
|
+
const E = {
|
|
50
|
+
name: s.name,
|
|
51
|
+
label: s.label,
|
|
52
|
+
value: v,
|
|
53
|
+
closeable: !s.required && !((w = s.props) != null && w.disabled) && ((I = s.props) == null ? void 0 : I.clearable) !== !1
|
|
54
|
+
};
|
|
55
|
+
s.component === "DatePicker" && (((L = s.props) == null ? void 0 : L.type) === "daterange" ? E.value = q(v[0]).format(((B = s.props) == null ? void 0 : B.valueFormat) || "YYYY-MM-DD") + " - " + q(v[1]).format(((Y = s.props) == null ? void 0 : Y.valueFormat) || "YYYY-MM-DD") : (E.iconName = "icon-rili", E.value = q(v).format(((O = s.props) == null ? void 0 : O.valueFormat) || "YYYY-MM-DD"))), s.component === "Select" && (E.value = (ee = (M = (l = s.props) == null ? void 0 : l.options) == null ? void 0 : M.find((we) => we.value === v)) == null ? void 0 : ee.label), g.push(E);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return g;
|
|
60
|
+
}), p = c(""), ue = ne(() => {
|
|
61
|
+
var e, t;
|
|
62
|
+
return !o.prefixOptions || o.prefixOptions.length === 0 || !p.value ? "" : (t = (e = o.prefixOptions) == null ? void 0 : e.find((r) => r.value === p.value)) == null ? void 0 : t.label;
|
|
63
|
+
});
|
|
64
|
+
function ce(e) {
|
|
65
|
+
p.value = e, f.value = "";
|
|
66
|
+
try {
|
|
67
|
+
_[o.prefixChange](y, e);
|
|
68
|
+
} catch (t) {
|
|
69
|
+
console.error(t);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
const f = c("");
|
|
73
|
+
function G() {
|
|
74
|
+
try {
|
|
75
|
+
_[o.onSearch](y), S.value = !1;
|
|
76
|
+
} catch (e) {
|
|
77
|
+
console.error(e);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const R = c(!1);
|
|
81
|
+
async function z() {
|
|
82
|
+
try {
|
|
83
|
+
R.value = !0, await _[o.onAiSearch](y, f.value, p.value || "");
|
|
84
|
+
} catch (e) {
|
|
85
|
+
console.error(e);
|
|
86
|
+
} finally {
|
|
87
|
+
R.value = !1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function de(e) {
|
|
91
|
+
H.setFieldValue(e.name, "", ""), G();
|
|
92
|
+
}
|
|
93
|
+
function pe() {
|
|
94
|
+
try {
|
|
95
|
+
_[o.onClear](y);
|
|
96
|
+
} catch (e) {
|
|
97
|
+
console.error(e);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
const K = {
|
|
101
|
+
type: "floatcurd"
|
|
102
|
+
};
|
|
103
|
+
if (ie(K), o.name) {
|
|
104
|
+
const e = Oe(o.name, K);
|
|
105
|
+
oe(() => {
|
|
106
|
+
e();
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
Fe(
|
|
110
|
+
() => o.defaultPrefixValue,
|
|
111
|
+
(e) => {
|
|
112
|
+
e && (p.value = e);
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
const U = c(!1), C = c(!1);
|
|
116
|
+
c([]);
|
|
117
|
+
const fe = c(""), V = c(!1), ve = c(!1);
|
|
118
|
+
function W(e) {
|
|
119
|
+
return f.value ? e ? e.replace(
|
|
120
|
+
new RegExp(f.value, "gi"),
|
|
121
|
+
(t) => `<span style="color: var(--el-color-primary)">${t}</span>`
|
|
122
|
+
) : "--" : e;
|
|
123
|
+
}
|
|
124
|
+
async function me(e) {
|
|
125
|
+
try {
|
|
126
|
+
await _[o.onDetailInfo](y, e);
|
|
127
|
+
} catch (t) {
|
|
128
|
+
console.error(t);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
async function he(e) {
|
|
132
|
+
try {
|
|
133
|
+
await _[o.onSelectItem](y, e), C.value = !1;
|
|
134
|
+
} catch (t) {
|
|
135
|
+
console.error(t);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
function xe() {
|
|
139
|
+
f.value && (C.value = !0);
|
|
140
|
+
}
|
|
141
|
+
function _e() {
|
|
142
|
+
U.value = !0;
|
|
143
|
+
}
|
|
144
|
+
function ye() {
|
|
145
|
+
U.value = !1;
|
|
146
|
+
}
|
|
147
|
+
function ge(e) {
|
|
148
|
+
e ? (C.value = !0, ke()) : (h.value = [], x.value = {
|
|
149
|
+
title: "",
|
|
150
|
+
subTitle: "",
|
|
151
|
+
content: []
|
|
152
|
+
}, C.value = !1);
|
|
153
|
+
}
|
|
154
|
+
async function be() {
|
|
155
|
+
try {
|
|
156
|
+
V.value = !0, h.value = [], x.value = {
|
|
157
|
+
title: "",
|
|
158
|
+
subTitle: "",
|
|
159
|
+
content: []
|
|
160
|
+
}, await _[o.onFloatSearch](y, f.value, p.value || "");
|
|
161
|
+
} catch (e) {
|
|
162
|
+
console.error(e);
|
|
163
|
+
} finally {
|
|
164
|
+
V.value = !1;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
let ke = Ce(be, 300);
|
|
168
|
+
function Ce(e, t = 500) {
|
|
169
|
+
let r = null;
|
|
170
|
+
return function(...g) {
|
|
171
|
+
const w = this;
|
|
172
|
+
r && clearTimeout(r), r = setTimeout(() => {
|
|
173
|
+
e.apply(w, g), r = null;
|
|
174
|
+
}, t);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
const J = c(null), Q = c(null), X = (e) => {
|
|
178
|
+
var t, r;
|
|
179
|
+
try {
|
|
180
|
+
!((t = J.value) != null && t.contains(e.target)) && !((r = Q.value) != null && r.contains(e.target)) && Z();
|
|
181
|
+
} catch {
|
|
182
|
+
Z();
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
function Z() {
|
|
186
|
+
console.log("hideSearchDialog"), C.value = !1;
|
|
187
|
+
}
|
|
188
|
+
return De(() => {
|
|
189
|
+
document.addEventListener("click", X), o.defaultPrefixValue ? p.value = o.defaultPrefixValue : o.prefixOptions && o.prefixOptions.length > 0 && (p.value = o.prefixOptions[0].value);
|
|
190
|
+
}), oe(() => {
|
|
191
|
+
document.removeEventListener("click", X);
|
|
192
|
+
}), (e, t) => {
|
|
193
|
+
const r = b("el-dropdown-item"), g = b("el-dropdown-menu"), w = b("el-dropdown"), I = b("el-button"), L = b("el-input"), B = b("el-skeleton"), Y = b("el-scrollbar"), O = Se("loading");
|
|
194
|
+
return A((a(), i("div", He, [
|
|
195
|
+
n("div", Re, [
|
|
196
|
+
n("div", {
|
|
197
|
+
class: "gradient-input-wrapper",
|
|
198
|
+
ref_key: "gradientInputWrapperRef",
|
|
199
|
+
ref: Q
|
|
200
|
+
}, [
|
|
201
|
+
u(L, {
|
|
202
|
+
class: "float-curd-ai-input",
|
|
203
|
+
placeholder: e.inputPlaceholder,
|
|
204
|
+
modelValue: f.value,
|
|
205
|
+
"onUpdate:modelValue": t[1] || (t[1] = (l) => f.value = l),
|
|
206
|
+
clearable: "",
|
|
207
|
+
onClear: z,
|
|
208
|
+
onKeyup: Ve(z, ["enter"]),
|
|
209
|
+
onInput: ge,
|
|
210
|
+
onFocus: _e,
|
|
211
|
+
onBlur: ye,
|
|
212
|
+
onClick: xe
|
|
213
|
+
}, {
|
|
214
|
+
prefix: d(() => [
|
|
215
|
+
e.prefixOptions && e.prefixOptions.length > 0 ? (a(), P(w, {
|
|
216
|
+
key: 0,
|
|
217
|
+
onClick: t[0] || (t[0] = ae(() => {
|
|
218
|
+
}, ["stop"]))
|
|
219
|
+
}, {
|
|
220
|
+
dropdown: d(() => [
|
|
221
|
+
u(g, null, {
|
|
222
|
+
default: d(() => [
|
|
223
|
+
(a(!0), i(F, null, T(e.prefixOptions, (l) => (a(), P(r, {
|
|
224
|
+
key: l.value,
|
|
225
|
+
command: l.value,
|
|
226
|
+
onClick: (M) => ce(l.value)
|
|
227
|
+
}, {
|
|
228
|
+
default: d(() => [
|
|
229
|
+
N(m(l.label), 1)
|
|
230
|
+
]),
|
|
231
|
+
_: 2
|
|
232
|
+
}, 1032, ["command", "onClick"]))), 128))
|
|
233
|
+
]),
|
|
234
|
+
_: 1
|
|
235
|
+
})
|
|
236
|
+
]),
|
|
237
|
+
default: d(() => [
|
|
238
|
+
n("span", ze, [
|
|
239
|
+
n("span", Ae, m(ue.value), 1),
|
|
240
|
+
u(D, {
|
|
241
|
+
name: "icon-dropdown",
|
|
242
|
+
size: 12,
|
|
243
|
+
color: "#999"
|
|
244
|
+
})
|
|
245
|
+
]),
|
|
246
|
+
t[4] || (t[4] = N("m' "))
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
})) : (a(), i(F, { key: 1 }, [
|
|
250
|
+
u(D, { name: "icon-a-mobang1" }),
|
|
251
|
+
t[5] || (t[5] = n("span", { class: "prefix-text" }, "Ask AI", -1))
|
|
252
|
+
], 64))
|
|
253
|
+
]),
|
|
254
|
+
suffix: d(() => [
|
|
255
|
+
u(I, {
|
|
256
|
+
type: "primary",
|
|
257
|
+
size: "small",
|
|
258
|
+
onClick: ae(z, ["stop"]),
|
|
259
|
+
loading: R.value
|
|
260
|
+
}, {
|
|
261
|
+
default: d(() => t[6] || (t[6] = [
|
|
262
|
+
N("Go")
|
|
263
|
+
])),
|
|
264
|
+
_: 1
|
|
265
|
+
}, 8, ["loading"])
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
}, 8, ["placeholder", "modelValue"]),
|
|
269
|
+
C.value ? (a(), i("div", {
|
|
270
|
+
key: 0,
|
|
271
|
+
ref_key: "resultPanelRef",
|
|
272
|
+
ref: J,
|
|
273
|
+
class: "absolute top-[32px] w-full bg-[#ffffff] shadow-[0_4px_12px_rgba(0,0,0,0.08)] rounded-bl-[8px] rounded-br-[8px] z-2002"
|
|
274
|
+
}, [
|
|
275
|
+
(!h.value || h.value.length === 0) && !V.value ? (a(), i("div", qe, [
|
|
276
|
+
u(Pe, {
|
|
277
|
+
name: "tableEmpty",
|
|
278
|
+
style: { width: 56, height: 56 }
|
|
279
|
+
}),
|
|
280
|
+
t[7] || (t[7] = n("div", { class: "flex items-center" }, [
|
|
281
|
+
n("span", null, "No data")
|
|
282
|
+
], -1))
|
|
283
|
+
])) : k("", !0),
|
|
284
|
+
V.value ? (a(), i(F, { key: 1 }, T(5, (l) => n("div", {
|
|
285
|
+
key: l,
|
|
286
|
+
class: "flex items-center py-[8px] px-[16px]"
|
|
287
|
+
}, [
|
|
288
|
+
u(B, {
|
|
289
|
+
rows: 1,
|
|
290
|
+
animated: ""
|
|
291
|
+
})
|
|
292
|
+
])), 64)) : h.value && h.value.length > 0 ? (a(), i("div", je, [
|
|
293
|
+
u(Y, {
|
|
294
|
+
class: "pt-[16px] flex-[764_1_0]",
|
|
295
|
+
"max-height": "368px",
|
|
296
|
+
"wrap-style": { minHeight: V.value ? "368px" : "234px" }
|
|
297
|
+
}, {
|
|
298
|
+
default: d(() => [
|
|
299
|
+
n("div", null, [
|
|
300
|
+
(a(!0), i(F, null, T(h.value, (l) => (a(), i("div", {
|
|
301
|
+
key: l.name,
|
|
302
|
+
class: Ee(["flex-y-center h-[52px] px-[16px] hover:bg-[#E6F0F9] gap-[8px]", { "bg-[#E6F0F9]": l.name === fe.value }]),
|
|
303
|
+
onMouseenter: (M) => me(l),
|
|
304
|
+
onClick: (M) => he(l)
|
|
305
|
+
}, [
|
|
306
|
+
n("div", null, [
|
|
307
|
+
n("div", {
|
|
308
|
+
class: "text-[#333333] text-[14px] leading-[14px] font-bold mb-[4px] whitespace-nowrap",
|
|
309
|
+
innerHTML: W(l.title)
|
|
310
|
+
}, null, 8, Ke),
|
|
311
|
+
n("div", {
|
|
312
|
+
class: "text-[#333333] text-[12px] leading-[14px] whitespace-nowrap",
|
|
313
|
+
innerHTML: W(l.content)
|
|
314
|
+
}, null, 8, Ue)
|
|
315
|
+
])
|
|
316
|
+
], 42, Ge))), 128))
|
|
317
|
+
])
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
}, 8, ["wrap-style"]),
|
|
321
|
+
x.value && x.value.title ? A((a(), i("div", We, [
|
|
322
|
+
n("div", Je, [
|
|
323
|
+
n("div", Qe, [
|
|
324
|
+
n("div", null, [
|
|
325
|
+
n("div", Xe, m(x.value.title), 1),
|
|
326
|
+
n("div", Ze, m(x.value.subTitle), 1)
|
|
327
|
+
])
|
|
328
|
+
])
|
|
329
|
+
]),
|
|
330
|
+
n("div", et, [
|
|
331
|
+
(a(!0), i(F, null, T(x.value.content, (l) => (a(), i("div", {
|
|
332
|
+
key: l.label
|
|
333
|
+
}, [
|
|
334
|
+
n("div", tt, m(l.label), 1),
|
|
335
|
+
n("div", {
|
|
336
|
+
class: "text-[#333333] text-[14px] leading-[14px] overflow-hidden text-ellipsis",
|
|
337
|
+
style: Te({ color: l.color }),
|
|
338
|
+
title: l.value ?? "--"
|
|
339
|
+
}, m(l.value || "--"), 13, lt)
|
|
340
|
+
]))), 128))
|
|
341
|
+
])
|
|
342
|
+
])), [
|
|
343
|
+
[O, ve.value]
|
|
344
|
+
]) : k("", !0)
|
|
345
|
+
])) : k("", !0)
|
|
346
|
+
], 512)) : k("", !0)
|
|
347
|
+
], 512),
|
|
348
|
+
u(I, {
|
|
349
|
+
plain: !0,
|
|
350
|
+
onClick: t[2] || (t[2] = (l) => S.value = !S.value),
|
|
351
|
+
class: "more-btn",
|
|
352
|
+
type: "primary"
|
|
353
|
+
}, {
|
|
354
|
+
default: d(() => [
|
|
355
|
+
u(D, { name: "icon-tiaojianshaixuan" }),
|
|
356
|
+
t[8] || (t[8] = n("span", null, "More", -1))
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}),
|
|
360
|
+
A(n("div", nt, [
|
|
361
|
+
n("div", ot, [
|
|
362
|
+
n("div", at, m(e.formTitle), 1),
|
|
363
|
+
n("div", rt, [
|
|
364
|
+
u(I, {
|
|
365
|
+
type: "primary",
|
|
366
|
+
size: "small",
|
|
367
|
+
onClick: G
|
|
368
|
+
}, {
|
|
369
|
+
default: d(() => t[9] || (t[9] = [
|
|
370
|
+
N("Go")
|
|
371
|
+
])),
|
|
372
|
+
_: 1
|
|
373
|
+
}),
|
|
374
|
+
u(D, {
|
|
375
|
+
name: "icon-a-rongqi1",
|
|
376
|
+
onClick: t[3] || (t[3] = (l) => S.value = !1)
|
|
377
|
+
})
|
|
378
|
+
])
|
|
379
|
+
]),
|
|
380
|
+
n("div", st, [
|
|
381
|
+
u(Le(Ne), { list: e.children }, null, 8, ["list"])
|
|
382
|
+
])
|
|
383
|
+
], 512), [
|
|
384
|
+
[re, S.value]
|
|
385
|
+
])
|
|
386
|
+
]),
|
|
387
|
+
n("div", it, [
|
|
388
|
+
(a(!0), i(F, null, T(j.value, (l) => (a(), i("div", {
|
|
389
|
+
class: "tag",
|
|
390
|
+
key: l.name
|
|
391
|
+
}, [
|
|
392
|
+
l.iconName ? (a(), P(D, {
|
|
393
|
+
key: 0,
|
|
394
|
+
name: l.iconName
|
|
395
|
+
}, null, 8, ["name"])) : k("", !0),
|
|
396
|
+
n("span", {
|
|
397
|
+
innerHTML: l.label + ":"
|
|
398
|
+
}, null, 8, ut),
|
|
399
|
+
n("span", {
|
|
400
|
+
class: "tag-value",
|
|
401
|
+
title: l.value
|
|
402
|
+
}, m(l.value), 9, ct),
|
|
403
|
+
l.closeable ? (a(), P(D, {
|
|
404
|
+
key: 1,
|
|
405
|
+
name: "icon-a-rongqi1",
|
|
406
|
+
onClick: (M) => de(l),
|
|
407
|
+
class: "close-icon"
|
|
408
|
+
}, null, 8, ["onClick"])) : k("", !0)
|
|
409
|
+
]))), 128)),
|
|
410
|
+
j.value.length > 0 ? (a(), i("div", {
|
|
411
|
+
key: 0,
|
|
412
|
+
class: "clear-btn",
|
|
413
|
+
onClick: pe
|
|
414
|
+
}, "Clear filters")) : k("", !0)
|
|
415
|
+
])
|
|
416
|
+
], 512)), [
|
|
417
|
+
[re, !e.hidden]
|
|
418
|
+
]);
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
}), mt = /* @__PURE__ */ $e(dt, [["__scopeId", "data-v-b4058587"]]);
|
|
422
|
+
export {
|
|
423
|
+
mt as default
|
|
424
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as F, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as h, unref as _, createBlock as s, Fragment as g, renderList as $, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as M, createCommentVNode as y, toDisplayString as D, createTextVNode as O, h as Q } from "vue";
|
|
2
|
-
import { u as U, l as w, e as W, F as R, a as L, h as X } from "./index-
|
|
2
|
+
import { u as U, l as w, e as W, F as R, a as L, h as X } from "./index-DdmJ7fxW.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 e, computed as o, openBlock as a, createElementBlock as d, normalizeStyle as r, createVNode as m, unref as l } from "vue";
|
|
2
|
-
import { b as g } from "./index-
|
|
2
|
+
import { b as g } from "./index-DdmJ7fxW.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const x = /* @__PURE__ */ e({
|
|
5
5
|
__name: "Grid",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s, resolveDirective as c, withDirectives as a, openBlock as d, createElementBlock as f, normalizeStyle as p, createVNode as _, unref as m } from "vue";
|
|
2
|
-
import { c as u, b as y, _ as
|
|
2
|
+
import { c as u, b as y, _ as h } from "./index-DdmJ7fxW.js";
|
|
3
3
|
import "element-plus";
|
|
4
|
-
const
|
|
4
|
+
const b = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
|
|
5
5
|
__name: "InfiniteScroll",
|
|
6
6
|
props: {
|
|
7
7
|
children: {},
|
|
@@ -27,12 +27,12 @@ const h = ["infinite-scroll-disabled"], v = /* @__PURE__ */ s({
|
|
|
27
27
|
style: p(e.style)
|
|
28
28
|
}, [
|
|
29
29
|
_(m(y), { list: e.children }, null, 8, ["list"])
|
|
30
|
-
], 12,
|
|
30
|
+
], 12, b)), [
|
|
31
31
|
[r, n]
|
|
32
32
|
]);
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
}), M = /* @__PURE__ */
|
|
35
|
+
}), M = /* @__PURE__ */ h(v, [["__scopeId", "data-v-6746ff5d"]]);
|
|
36
36
|
export {
|
|
37
37
|
M as default
|
|
38
38
|
};
|
|
@@ -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 { b as m, _ as
|
|
2
|
+
import { b as m, _ as u } from "./index-DdmJ7fxW.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-8ba696e7"]]);
|
|
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 { _ as xt, g as Nt } from "./index-
|
|
2
|
+
import { _ as xt, g as Nt } from "./index-DdmJ7fxW.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-f3803727"]]);
|
|
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-c53d52f1"]]), 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 { _ as y } from "./index-
|
|
1
|
+
import { defineComponent as p, openBlock as e, createElementBlock as o, Fragment as a, renderList as d, createElementVNode as s, normalizeStyle as i, toDisplayString as l, normalizeClass as u, createTextVNode as g, createCommentVNode as v } from "vue";
|
|
2
|
+
import { _ as y } from "./index-DdmJ7fxW.js";
|
|
3
3
|
const f = { class: "log-list" }, h = { class: "title-part" }, m = { class: "title" }, b = { class: "sub-title" }, k = { class: "content" }, C = { key: 0 }, L = /* @__PURE__ */ p({
|
|
4
4
|
__name: "LogList",
|
|
5
5
|
props: {
|
|
@@ -7,7 +7,7 @@ const f = { class: "log-list" }, h = { class: "title-part" }, m = { class: "titl
|
|
|
7
7
|
},
|
|
8
8
|
setup(x) {
|
|
9
9
|
return (_, N) => (e(), o("div", f, [
|
|
10
|
-
(e(!0), o(a, null,
|
|
10
|
+
(e(!0), o(a, null, d(_.content, (t) => {
|
|
11
11
|
var r;
|
|
12
12
|
return e(), o("div", {
|
|
13
13
|
class: "log-list-item",
|
|
@@ -15,18 +15,18 @@ const f = { class: "log-list" }, h = { class: "title-part" }, m = { class: "titl
|
|
|
15
15
|
}, [
|
|
16
16
|
s("div", {
|
|
17
17
|
class: "left-bar",
|
|
18
|
-
style:
|
|
18
|
+
style: i({ backgroundColor: t.color })
|
|
19
19
|
}, null, 4),
|
|
20
20
|
s("div", h, [
|
|
21
21
|
s("div", {
|
|
22
22
|
class: "circle",
|
|
23
|
-
style:
|
|
23
|
+
style: i({ backgroundColor: t.color })
|
|
24
24
|
}, l((r = t.title) == null ? void 0 : r[0]), 5),
|
|
25
25
|
s("div", m, l(t.title), 1),
|
|
26
26
|
s("div", b, l(t.subTitle), 1)
|
|
27
27
|
]),
|
|
28
28
|
s("div", k, [
|
|
29
|
-
(e(!0), o(a, null,
|
|
29
|
+
(e(!0), o(a, null, d(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 f = { class: "log-list" }, h = { class: "title-part" }, m = { 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-646d4f4d"]]);
|
|
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 n, unref as c, createBlock as m, Fragment as _, renderList as b, mergeProps as j } from "vue";
|
|
2
|
-
import { u as $, e as h, F as k } from "./index-
|
|
2
|
+
import { u as $, e as h, F as k } from "./index-DdmJ7fxW.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const v = { class: "vfc-ObjGroup" }, B = {
|
|
5
5
|
key: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as P, resolveComponent as S, openBlock as l, createBlock as N, withCtx as I, createVNode as k, createElementVNode as i, createElementBlock as r, Fragment as u, renderList as m, toDisplayString as v, createCommentVNode as O, ref as g, inject as L, watchEffect as $, onMounted as x, onUnmounted as z, normalizeStyle as A, unref as U } from "vue";
|
|
2
|
-
import { k as j, $ as F, a as K, _ as V } from "./index-
|
|
2
|
+
import { k as j, $ as F, a as K, _ as V } from "./index-DdmJ7fxW.js";
|
|
3
3
|
const W = { class: "content" }, q = { class: "product-list" }, G = { class: "attribute-list" }, H = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "attribute-list-item"
|
|
@@ -154,26 +154,26 @@ const W = { class: "content" }, q = { class: "product-list" }, G = { class: "att
|
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
|
-
let
|
|
158
|
-
const
|
|
157
|
+
let b = null;
|
|
158
|
+
const _ = g(), w = g(3);
|
|
159
159
|
return x(() => {
|
|
160
160
|
var t;
|
|
161
161
|
y.value = (t = a.rowBtns) == null ? void 0 : t.map((e) => ({
|
|
162
162
|
icon: e.icon && e.icon.name ? e.icon.name : "icon-tishi",
|
|
163
163
|
label: e.label,
|
|
164
164
|
onClick: e.onClick
|
|
165
|
-
})),
|
|
165
|
+
})), b = new ResizeObserver((e) => {
|
|
166
166
|
for (const o of e) {
|
|
167
167
|
const n = o.contentRect.width;
|
|
168
168
|
w.value = Math.floor(n / 330) || 1;
|
|
169
169
|
}
|
|
170
|
-
}),
|
|
170
|
+
}), b.observe(_.value);
|
|
171
171
|
}), z(() => {
|
|
172
|
-
|
|
172
|
+
b && _.value && b.unobserve(_.value);
|
|
173
173
|
}), (t, e) => (l(), r(u, null, [
|
|
174
174
|
i("div", {
|
|
175
175
|
ref_key: "cardListRef",
|
|
176
|
-
ref:
|
|
176
|
+
ref: _,
|
|
177
177
|
class: "card-list",
|
|
178
178
|
style: A({
|
|
179
179
|
"--columns": w.value,
|
|
@@ -200,7 +200,7 @@ const W = { class: "content" }, q = { class: "product-list" }, G = { class: "att
|
|
|
200
200
|
])) : O("", !0)
|
|
201
201
|
], 64));
|
|
202
202
|
}
|
|
203
|
-
}), ae = /* @__PURE__ */ V(te, [["__scopeId", "data-v-
|
|
203
|
+
}), ae = /* @__PURE__ */ V(te, [["__scopeId", "data-v-44b2ab76"]]);
|
|
204
204
|
export {
|
|
205
205
|
ae as default
|
|
206
206
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, ref as d, computed as U, onUnmounted as b, resolveComponent as C, openBlock as s, createElementBlock as S, normalizeStyle as M, createBlock as f, withCtx as L, createElementVNode as r, createVNode as j, createCommentVNode as x, createTextVNode as m, toDisplayString as h } from "vue";
|
|
2
|
-
import { c as E, i as I, _ as R } from "./index-
|
|
2
|
+
import { c as E, i as I, _ as R } from "./index-DdmJ7fxW.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const T = { class: "custom-slot" }, D = {
|
|
5
5
|
key: 0,
|
|
@@ -115,7 +115,7 @@ const T = { class: "custom-slot" }, D = {
|
|
|
115
115
|
], 4);
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
}), Q = /* @__PURE__ */ R(G, [["__scopeId", "data-v-
|
|
118
|
+
}), Q = /* @__PURE__ */ R(G, [["__scopeId", "data-v-6da42878"]]);
|
|
119
119
|
export {
|
|
120
120
|
Q as default
|
|
121
121
|
};
|