asiaint-lowcode 3.1.156 → 3.1.158
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 +138 -138
- package/dist/lazy/{Card-C7jMQqGi.js → Card-t1mDtSuz.js} +8 -8
- package/dist/lazy/{Cascader-BF1oWwPc.js → Cascader-Oust5l0x.js} +1 -1
- package/dist/lazy/{Checkbox-ChEjYSuA.js → Checkbox-BZP7lXM3.js} +2 -2
- package/dist/lazy/{Collapse-DBrK81lt.js → Collapse-CvGb3zx6.js} +1 -1
- package/dist/lazy/{Component-Cn08AVVA.js → Component-BwaRY5e7.js} +1 -1
- package/dist/lazy/{Component-r6XWEpRu.js → Component-BzNEDTnq.js} +2 -2
- package/dist/lazy/{Component-CJAyUNFB.js → Component-C_7w1J6b.js} +2 -2
- package/dist/lazy/{Component-0j5e7Vup.js → Component-DpR49mMn.js} +2 -2
- package/dist/lazy/{Component-CAonXYK9.js → Component-oWA4pSqL.js} +1 -1
- package/dist/lazy/{CurdCard-wHWojjDx.js → CurdCard-rFcool9B.js} +2 -2
- package/dist/lazy/Custom-DIoXxGkP.js +26 -0
- package/dist/lazy/{DatePicker-SUZqJweK.js → DatePicker-CHrIeUBZ.js} +1 -1
- package/dist/lazy/{DragList-DoKGB_9l.js → DragList-CLkMkiWc.js} +13 -13
- package/dist/lazy/{FilterSearch-CI-wA_Sp.js → FilterSearch-CJA8Uzkt.js} +2 -2
- package/dist/lazy/{FloatCurd-x09jyXEZ.js → FloatCurd-YaboEKaH.js} +15 -15
- package/dist/lazy/FloatSearchCurd-BgIStWFV.js +446 -0
- package/dist/lazy/{FormList-DKKyNxiy.js → FormList-DoJa2pqm.js} +1 -1
- package/dist/lazy/{Grid-BE3HaetB.js → Grid-BMRETF7k.js} +1 -1
- package/dist/lazy/{InfiniteScroll-jjWMztHg.js → InfiniteScroll-C3CFbOdH.js} +4 -4
- package/dist/lazy/{Inline-JijXWwAv.js → Inline-fhIbkKfi.js} +3 -3
- package/dist/lazy/{JsonEdit-ZsV_3zbI.js → JsonEdit-C62be96x.js} +3 -3
- package/dist/lazy/{LogList-CqgOhizk.js → LogList-BdG9L5Hd.js} +7 -7
- package/dist/lazy/{ObjGroup-B_3w4f8g.js → ObjGroup-0R_eM8Zb.js} +1 -1
- package/dist/lazy/{OfferDetails-BfkQiaTL.js → OfferDetails-aU8IOZ5y.js} +8 -8
- package/dist/lazy/{Pagination-BguJHeMr.js → Pagination-D13SbO8F.js} +6 -6
- package/dist/lazy/{Progress-DVQ75BoF.js → Progress-8oq3iY-3.js} +15 -15
- package/dist/lazy/{Radio-CkD9cEb_.js → Radio-DdF30zOM.js} +9 -9
- package/dist/lazy/{SearchSelect-CKQa1hbX.js → SearchSelect-CPnkpIyJ.js} +6 -6
- package/dist/lazy/{Select-CD1GApkv.js → Select-CE6tGRdw.js} +2 -2
- package/dist/lazy/{Table-BfhUDRHy.js → Table-Db0UoLjG.js} +25 -25
- package/dist/lazy/{Tabs-vYXLFvWE.js → Tabs-Cbq3feWg.js} +2 -2
- package/dist/lazy/{TextArea-BoJrqnbz.js → TextArea-DSsRvDhv.js} +2 -2
- package/dist/lazy/{Wrapper-B5VnaK7J.js → Wrapper-BCpBxBME.js} +4 -4
- package/dist/lazy/{index-arMDpCoU.js → index-C_zeIIm3.js} +59 -59
- package/dist/lazy/{useSelect-CRPF8OhD.js → useSelect-CtSUK6oX.js} +1 -1
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +1 -1
- package/dist/lazy/Custom-DhLfgbGR.js +0 -26
- package/dist/lazy/FloatSearchCurd-BkmkymIZ.js +0 -423
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,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-arMDpCoU.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,423 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Ie, mergeModels as Me, useModel as le, ref as u, computed as ne, onUnmounted as oe, watch as Fe, onMounted as De, resolveComponent as b, resolveDirective as Se, withDirectives as z, openBlock as a, createElementBlock as i, createElementVNode as n, createVNode as c, withKeys as Ve, withCtx as d, createBlock as P, withModifiers as ae, Fragment as F, renderList as T, createTextVNode as A, 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-arMDpCoU.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" }, ct = ["innerHTML"], ut = ["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(N, { expose: ie }) {
|
|
38
|
-
const o = N, h = le(N, "searchData"), x = le(N, "detailInfo"), S = u(!1), { ruleModule: _, pageMethodMap: y } = Be(), $ = Ye(), j = ne(() => {
|
|
39
|
-
var w, I, L, B, Y, O, l, M, ee;
|
|
40
|
-
const e = $.schema.items, t = $.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 = u(""), ce = 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 ue(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 = u("");
|
|
73
|
-
function G() {
|
|
74
|
-
try {
|
|
75
|
-
_[o.onSearch](y), S.value = !1;
|
|
76
|
-
} catch (e) {
|
|
77
|
-
console.error(e);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
const H = u(!1);
|
|
81
|
-
async function R() {
|
|
82
|
-
try {
|
|
83
|
-
H.value = !0, await _[o.onAiSearch](y, f.value, p.value || "");
|
|
84
|
-
} catch (e) {
|
|
85
|
-
console.error(e);
|
|
86
|
-
} finally {
|
|
87
|
-
H.value = !1;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
function de(e) {
|
|
91
|
-
$.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 = u(!1), C = u(!1);
|
|
116
|
-
u([]);
|
|
117
|
-
const fe = u(""), V = u(!1), ve = u(!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 = u(null), Q = u(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 z((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
|
-
c(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: R,
|
|
208
|
-
onKeyup: Ve(R, ["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
|
-
c(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) => ue(l.value)
|
|
227
|
-
}, {
|
|
228
|
-
default: d(() => [
|
|
229
|
-
A(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(ce.value), 1),
|
|
240
|
-
c(D, {
|
|
241
|
-
name: "icon-dropdown",
|
|
242
|
-
size: 12,
|
|
243
|
-
color: "#999"
|
|
244
|
-
})
|
|
245
|
-
])
|
|
246
|
-
]),
|
|
247
|
-
_: 1
|
|
248
|
-
})) : (a(), i(F, { key: 1 }, [
|
|
249
|
-
c(D, { name: "icon-a-mobang1" }),
|
|
250
|
-
t[4] || (t[4] = n("span", { class: "prefix-text" }, "Ask AI", -1))
|
|
251
|
-
], 64))
|
|
252
|
-
]),
|
|
253
|
-
suffix: d(() => [
|
|
254
|
-
c(I, {
|
|
255
|
-
type: "primary",
|
|
256
|
-
size: "small",
|
|
257
|
-
onClick: ae(R, ["stop"]),
|
|
258
|
-
loading: H.value
|
|
259
|
-
}, {
|
|
260
|
-
default: d(() => t[5] || (t[5] = [
|
|
261
|
-
A("Go")
|
|
262
|
-
])),
|
|
263
|
-
_: 1
|
|
264
|
-
}, 8, ["loading"])
|
|
265
|
-
]),
|
|
266
|
-
_: 1
|
|
267
|
-
}, 8, ["placeholder", "modelValue"]),
|
|
268
|
-
C.value ? (a(), i("div", {
|
|
269
|
-
key: 0,
|
|
270
|
-
ref_key: "resultPanelRef",
|
|
271
|
-
ref: J,
|
|
272
|
-
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"
|
|
273
|
-
}, [
|
|
274
|
-
(!h.value || h.value.length === 0) && !V.value ? (a(), i("div", qe, [
|
|
275
|
-
c(Pe, {
|
|
276
|
-
name: "tableEmpty",
|
|
277
|
-
style: { width: 56, height: 56 }
|
|
278
|
-
}),
|
|
279
|
-
t[6] || (t[6] = n("div", { class: "flex items-center" }, [
|
|
280
|
-
n("span", null, "No data")
|
|
281
|
-
], -1))
|
|
282
|
-
])) : k("", !0),
|
|
283
|
-
V.value ? (a(), i(F, { key: 1 }, T(5, (l) => n("div", {
|
|
284
|
-
key: l,
|
|
285
|
-
class: "flex items-center py-[8px] px-[16px]"
|
|
286
|
-
}, [
|
|
287
|
-
c(B, {
|
|
288
|
-
rows: 1,
|
|
289
|
-
animated: ""
|
|
290
|
-
})
|
|
291
|
-
])), 64)) : h.value && h.value.length > 0 ? (a(), i("div", je, [
|
|
292
|
-
c(Y, {
|
|
293
|
-
class: "pt-[16px] flex-[764_1_0]",
|
|
294
|
-
"max-height": "368px",
|
|
295
|
-
"wrap-style": { minHeight: V.value ? "368px" : "234px" }
|
|
296
|
-
}, {
|
|
297
|
-
default: d(() => [
|
|
298
|
-
n("div", null, [
|
|
299
|
-
(a(!0), i(F, null, T(h.value, (l) => (a(), i("div", {
|
|
300
|
-
key: l.name,
|
|
301
|
-
class: Ee(["flex-y-center h-[52px] px-[16px] hover:bg-[#E6F0F9] gap-[8px]", { "bg-[#E6F0F9]": l.name === fe.value }]),
|
|
302
|
-
onMouseenter: (M) => me(l),
|
|
303
|
-
onClick: (M) => he(l)
|
|
304
|
-
}, [
|
|
305
|
-
n("div", null, [
|
|
306
|
-
n("div", {
|
|
307
|
-
class: "text-[#333333] text-[14px] leading-[14px] font-bold mb-[4px] whitespace-nowrap",
|
|
308
|
-
innerHTML: W(l.title)
|
|
309
|
-
}, null, 8, Ke),
|
|
310
|
-
n("div", {
|
|
311
|
-
class: "text-[#333333] text-[12px] leading-[14px] whitespace-nowrap",
|
|
312
|
-
innerHTML: W(l.content)
|
|
313
|
-
}, null, 8, Ue)
|
|
314
|
-
])
|
|
315
|
-
], 42, Ge))), 128))
|
|
316
|
-
])
|
|
317
|
-
]),
|
|
318
|
-
_: 1
|
|
319
|
-
}, 8, ["wrap-style"]),
|
|
320
|
-
x.value && x.value.title ? z((a(), i("div", We, [
|
|
321
|
-
n("div", Je, [
|
|
322
|
-
n("div", Qe, [
|
|
323
|
-
n("div", null, [
|
|
324
|
-
n("div", Xe, m(x.value.title), 1),
|
|
325
|
-
n("div", Ze, m(x.value.subTitle), 1)
|
|
326
|
-
])
|
|
327
|
-
])
|
|
328
|
-
]),
|
|
329
|
-
n("div", et, [
|
|
330
|
-
(a(!0), i(F, null, T(x.value.content, (l) => (a(), i("div", {
|
|
331
|
-
key: l.label
|
|
332
|
-
}, [
|
|
333
|
-
n("div", tt, m(l.label), 1),
|
|
334
|
-
n("div", {
|
|
335
|
-
class: "text-[#333333] text-[14px] leading-[14px] overflow-hidden text-ellipsis",
|
|
336
|
-
style: Te({ color: l.color }),
|
|
337
|
-
title: l.value ?? "--"
|
|
338
|
-
}, m(l.value || "--"), 13, lt)
|
|
339
|
-
]))), 128))
|
|
340
|
-
])
|
|
341
|
-
])), [
|
|
342
|
-
[O, ve.value]
|
|
343
|
-
]) : k("", !0)
|
|
344
|
-
])) : k("", !0)
|
|
345
|
-
], 512)) : k("", !0)
|
|
346
|
-
], 512),
|
|
347
|
-
c(I, {
|
|
348
|
-
plain: !0,
|
|
349
|
-
onClick: t[2] || (t[2] = (l) => S.value = !S.value),
|
|
350
|
-
class: "more-btn",
|
|
351
|
-
type: "primary"
|
|
352
|
-
}, {
|
|
353
|
-
default: d(() => [
|
|
354
|
-
c(D, { name: "icon-tiaojianshaixuan" }),
|
|
355
|
-
t[7] || (t[7] = n("span", null, "More", -1))
|
|
356
|
-
]),
|
|
357
|
-
_: 1
|
|
358
|
-
}),
|
|
359
|
-
z(n("div", nt, [
|
|
360
|
-
n("div", ot, [
|
|
361
|
-
n("div", at, m(e.formTitle), 1),
|
|
362
|
-
n("div", rt, [
|
|
363
|
-
c(I, {
|
|
364
|
-
type: "primary",
|
|
365
|
-
size: "small",
|
|
366
|
-
onClick: G
|
|
367
|
-
}, {
|
|
368
|
-
default: d(() => t[8] || (t[8] = [
|
|
369
|
-
A("Go")
|
|
370
|
-
])),
|
|
371
|
-
_: 1
|
|
372
|
-
}),
|
|
373
|
-
c(D, {
|
|
374
|
-
name: "icon-a-rongqi1",
|
|
375
|
-
onClick: t[3] || (t[3] = (l) => S.value = !1)
|
|
376
|
-
})
|
|
377
|
-
])
|
|
378
|
-
]),
|
|
379
|
-
n("div", st, [
|
|
380
|
-
c(Le(Ne), { list: e.children }, null, 8, ["list"])
|
|
381
|
-
])
|
|
382
|
-
], 512), [
|
|
383
|
-
[re, S.value]
|
|
384
|
-
])
|
|
385
|
-
]),
|
|
386
|
-
n("div", it, [
|
|
387
|
-
(a(!0), i(F, null, T(j.value, (l) => (a(), i("div", {
|
|
388
|
-
class: "tag",
|
|
389
|
-
key: l.name
|
|
390
|
-
}, [
|
|
391
|
-
l.iconName ? (a(), P(D, {
|
|
392
|
-
key: 0,
|
|
393
|
-
name: l.iconName
|
|
394
|
-
}, null, 8, ["name"])) : k("", !0),
|
|
395
|
-
n("span", {
|
|
396
|
-
innerHTML: l.label + ":"
|
|
397
|
-
}, null, 8, ct),
|
|
398
|
-
n("span", {
|
|
399
|
-
class: "tag-value",
|
|
400
|
-
title: l.value
|
|
401
|
-
}, m(l.value), 9, ut),
|
|
402
|
-
l.closeable ? (a(), P(D, {
|
|
403
|
-
key: 1,
|
|
404
|
-
name: "icon-a-rongqi1",
|
|
405
|
-
onClick: (M) => de(l),
|
|
406
|
-
class: "close-icon"
|
|
407
|
-
}, null, 8, ["onClick"])) : k("", !0)
|
|
408
|
-
]))), 128)),
|
|
409
|
-
j.value.length > 0 ? (a(), i("div", {
|
|
410
|
-
key: 0,
|
|
411
|
-
class: "clear-btn",
|
|
412
|
-
onClick: pe
|
|
413
|
-
}, "Clear filters")) : k("", !0)
|
|
414
|
-
])
|
|
415
|
-
], 512)), [
|
|
416
|
-
[re, !e.hidden]
|
|
417
|
-
]);
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
}), mt = /* @__PURE__ */ $e(dt, [["__scopeId", "data-v-75d8d6d0"]]);
|
|
421
|
-
export {
|
|
422
|
-
mt as default
|
|
423
|
-
};
|