@hb-hellotech/hb-ui 1.2.9 → 1.3.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/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/src/type.d.ts +2 -0
- package/dist/components/business_comp/list_page_comp/hb_form_item_filter_modal/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_form/src/type.d.ts +8 -0
- package/dist/components/business_comp/list_page_comp/hb_list_form/src/type.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/type.d.ts +4 -0
- package/dist/components/business_comp/list_page_comp/hb_list_table/src/type.d.ts.map +1 -1
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +1461 -1402
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/hb_component_lib.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import './hb_component_lib.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { useFullscreen as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
return
|
|
14
|
-
},
|
|
2
|
+
import { defineComponent as te, reactive as _e, ref as R, computed as U, watch as se, onMounted as Le, createElementBlock as F, openBlock as o, normalizeClass as E, unref as s, createVNode as w, withCtx as l, createElementVNode as g, toDisplayString as y, createTextVNode as I, createBlock as z, createCommentVNode as B, Fragment as Y, renderList as ne, inject as ze, resolveComponent as P, Transition as at, withDirectives as be, mergeProps as ee, createSlots as tt, renderSlot as j, vShow as nt, nextTick as fe, onUnmounted as st, useTemplateRef as it, provide as rt, normalizeStyle as ke, mergeModels as $e, useModel as lt, withModifiers as Me, resolveDirective as ct, useAttrs as dt, watchEffect as ut, shallowRef as pt, resolveDynamicComponent as bt } from "vue";
|
|
3
|
+
import ye from "vuedraggable";
|
|
4
|
+
import { Modal as Ie, Button as he, Tooltip as He, Switch as Ne, Radio as Ue, RadioGroup as Ve, InputNumber as Ee, DatePicker as Ye, Checkbox as Ce, CheckboxGroup as je, Select as De, Input as qe, Col as mt, Row as ht, FormItem as Ke, Form as We, SelectOption as Ae, Popconfirm as Te, MenuItem as Je, Menu as Ge, Dropdown as Qe, Popover as ft, message as Oe } from "ant-design-vue";
|
|
5
|
+
import { useRoute as ot } from "vue-router";
|
|
6
|
+
import { useI18n as ce } from "vue-i18n";
|
|
7
|
+
import me from "lodash";
|
|
8
|
+
import { CloseOutlined as vt, QuestionCircleOutlined as gt, SearchOutlined as Be, UpCircleOutlined as yt, DownCircleOutlined as Ct, UnorderedListOutlined as _t, DownOutlined as Ze, PlusCircleOutlined as Lt } from "@ant-design/icons-vue";
|
|
9
|
+
import { useFullscreen as kt, useDebounceFn as St } from "@vueuse/core";
|
|
10
|
+
import Se from "dayjs";
|
|
11
|
+
const wt = "hb-", Re = (t = "") => {
|
|
12
|
+
const m = `${wt}${t}`;
|
|
13
|
+
return Ft(m);
|
|
14
|
+
}, pe = (t, m, r, b) => (m && (t += `-${m}`), r && (t += `__${r}`), b && (t += `--${b}`), t), Ft = (t) => ({
|
|
15
15
|
// hb-button
|
|
16
|
-
b: (
|
|
16
|
+
b: (m) => m ? pe(t, m, "", "") : pe(t, "", "", ""),
|
|
17
17
|
// hb-button__header
|
|
18
|
-
e: (
|
|
18
|
+
e: (m) => m ? pe(t, "", m, "") : "",
|
|
19
19
|
// hb-button--primary
|
|
20
|
-
m: (
|
|
20
|
+
m: (m) => pe(t, "", "", m),
|
|
21
21
|
// hb-button__header
|
|
22
|
-
be: (
|
|
22
|
+
be: (m, r) => pe(t, m, r, ""),
|
|
23
23
|
// hb-button__header--primary
|
|
24
|
-
em: (
|
|
24
|
+
em: (m, r) => pe(t, "", m, r),
|
|
25
25
|
// hb-button__header--primary
|
|
26
|
-
bem: (
|
|
26
|
+
bem: (m, r, b) => pe(t, m, r, b),
|
|
27
27
|
// is-disabled
|
|
28
|
-
is: (
|
|
29
|
-
}),
|
|
28
|
+
is: (m, r) => r ? `is-${m}` : ""
|
|
29
|
+
}), xt = ["onMouseenter", "onMouseleave"], Tt = ["onClick"], $t = /* @__PURE__ */ te({
|
|
30
30
|
name: "HbLibFormItemFilterModal",
|
|
31
31
|
__name: "HbFormItemFilterModal",
|
|
32
32
|
props: {
|
|
@@ -34,278 +34,251 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
34
34
|
afterChange: { type: Function, default: () => () => {
|
|
35
35
|
} },
|
|
36
36
|
title: { default: "自定义查询条件" },
|
|
37
|
-
showNumber: { default: 40 }
|
|
37
|
+
showNumber: { default: 40 },
|
|
38
|
+
saveKey: { default: "" }
|
|
38
39
|
},
|
|
39
40
|
emits: ["confirm"],
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
41
|
+
setup(t, { expose: m, emit: r }) {
|
|
42
|
+
const b = ce().t, C = ce().messages.value.en_US, h = ce().messages.value.ja_JP, n = ce().messages.value.zh_CN, d = t, f = r, e = Re("sfcm"), _ = ot(), O = _e({
|
|
42
43
|
lan: window.localStorage.getItem("lan")
|
|
43
|
-
}),
|
|
44
|
-
let
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
}), k = R(!1), N = R(600);
|
|
45
|
+
let H = [];
|
|
46
|
+
const M = R([]), a = R([]), S = U(() => M.value.every((c) => c.isLinked || c.isFixed)), x = (c) => ({
|
|
47
|
+
...c,
|
|
48
|
+
label: u(c) || `${p(c) || ""} (${b("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,
|
|
49
|
+
key: c.key,
|
|
50
|
+
isFixed: c?.isFixed || !1,
|
|
51
|
+
isLinked: c?.isLinked || !1,
|
|
52
|
+
labelLanguage: c?.labelLanguage || void 0
|
|
53
|
+
}), L = (c) => {
|
|
54
|
+
const D = c.draggedContext.element, A = c.relatedContext.index;
|
|
55
|
+
if (D.isLinked || D.isFixed)
|
|
48
56
|
return !1;
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
57
|
+
const G = M.value.map((Z, re) => ({ item: Z, index: re })).filter(({ item: Z }) => Z.isLinked).map(({ index: Z }) => Z);
|
|
58
|
+
if (G.length === 0)
|
|
51
59
|
return !0;
|
|
52
|
-
for (let Z = 0; Z <
|
|
53
|
-
const
|
|
54
|
-
if (
|
|
60
|
+
for (let Z = 0; Z < G.length - 1; Z++) {
|
|
61
|
+
const re = G[Z], ue = G[Z + 1];
|
|
62
|
+
if (A > re && A < ue)
|
|
55
63
|
return !1;
|
|
56
64
|
}
|
|
57
65
|
return !0;
|
|
58
|
-
},
|
|
59
|
-
const
|
|
60
|
-
let
|
|
61
|
-
if (
|
|
66
|
+
}, q = U(() => v() + "_" + d.saveKey), v = () => {
|
|
67
|
+
const c = localStorage.getItem("pro__Login_Userinfo");
|
|
68
|
+
let D = "anonymous";
|
|
69
|
+
if (c)
|
|
62
70
|
try {
|
|
63
|
-
|
|
64
|
-
} catch (
|
|
65
|
-
console.warn("解析用户信息失败:",
|
|
71
|
+
D = JSON.parse(c).value.jobNumber || "anonymous";
|
|
72
|
+
} catch (G) {
|
|
73
|
+
console.warn("解析用户信息失败:", G);
|
|
66
74
|
}
|
|
67
|
-
let
|
|
68
|
-
return `searchFormConfig_${
|
|
69
|
-
},
|
|
70
|
-
ja_JP: () =>
|
|
71
|
-
en_US: () =>
|
|
72
|
-
zh_CN: () =>
|
|
73
|
-
})[
|
|
75
|
+
let A = _?.path;
|
|
76
|
+
return `searchFormConfig_${D}_${A}`;
|
|
77
|
+
}, u = (c) => ({
|
|
78
|
+
ja_JP: () => me.get(h, c.labelLanguage || ""),
|
|
79
|
+
en_US: () => me.get(C, c.labelLanguage || ""),
|
|
80
|
+
zh_CN: () => me.get(n, c.labelLanguage || "")
|
|
81
|
+
})[O.lan]?.() || c.label, p = (c) => ({
|
|
82
|
+
ja_JP: () => me.get(h, c.subLabelLanguage || ""),
|
|
83
|
+
en_US: () => me.get(C, c.subLabelLanguage || ""),
|
|
84
|
+
zh_CN: () => me.get(n, c.subLabelLanguage || "")
|
|
85
|
+
})[O.lan]?.() || c.subLabel, i = (c) => {
|
|
74
86
|
try {
|
|
75
|
-
const
|
|
76
|
-
if (
|
|
77
|
-
const
|
|
78
|
-
if (
|
|
79
|
-
|
|
80
|
-
const
|
|
81
|
-
...
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
labelLanguage: D?.labelLanguage || void 0
|
|
87
|
-
})), Le = se.map((D) => ({
|
|
88
|
-
...D,
|
|
89
|
-
label: I(D) || `${D.subLabel || ""}${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
|
|
90
|
-
key: D.key,
|
|
91
|
-
isFixed: D?.isFixed || !1,
|
|
92
|
-
isLinked: !0,
|
|
93
|
-
labelLanguage: D?.labelLanguage || void 0
|
|
94
|
-
})), B = ce.slice(0, ye).map((D) => ({
|
|
95
|
-
...D,
|
|
96
|
-
label: I(D) || `${D.subLabel || ""}${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
|
|
97
|
-
key: D.key,
|
|
98
|
-
isFixed: D?.isFixed || !1,
|
|
99
|
-
isLinked: D?.isLinked || !1,
|
|
100
|
-
labelLanguage: D?.labelLanguage || void 0
|
|
87
|
+
const D = localStorage.getItem(q.value);
|
|
88
|
+
if (D) {
|
|
89
|
+
const A = JSON.parse(D);
|
|
90
|
+
if (A.originalList && Array.isArray(A.originalList)) {
|
|
91
|
+
H = JSON.parse(JSON.stringify(A.originalList));
|
|
92
|
+
const G = H.filter((W) => W?.isFixed), Z = H.filter((W) => W?.isLinked), re = A.showList.filter((W) => !W.isFixed && !W.isLinked), ue = d.showNumber && d.showNumber > 0 ? Math.max(0, d.showNumber - G.length - Z.length) : re.length, ve = G.map((W) => ({
|
|
93
|
+
...x(W)
|
|
94
|
+
})), we = Z.map((W) => ({
|
|
95
|
+
...x(W)
|
|
96
|
+
})), Fe = re.slice(0, ue).map((W) => ({
|
|
97
|
+
...x(W)
|
|
101
98
|
}));
|
|
102
|
-
|
|
103
|
-
const
|
|
104
|
-
return
|
|
105
|
-
...
|
|
106
|
-
|
|
107
|
-
key: D.key,
|
|
108
|
-
isFixed: D?.isFixed || !1,
|
|
109
|
-
isLinked: D?.isLinked || !1,
|
|
110
|
-
active: !1,
|
|
111
|
-
labelLanguage: D?.labelLanguage || void 0
|
|
99
|
+
console.log("我进来了这里2233"), M.value = [...ve, ...we, ...Fe];
|
|
100
|
+
const xe = M.value.map((W) => W.key), X = H.map((W) => W.key).filter((W) => !xe.includes(W));
|
|
101
|
+
return a.value = H.filter((W) => X.includes(W.key)).map((W) => ({
|
|
102
|
+
...x(W),
|
|
103
|
+
active: !1
|
|
112
104
|
})), !0;
|
|
113
105
|
}
|
|
114
106
|
}
|
|
115
|
-
} catch (
|
|
116
|
-
console.warn("加载保存的搜索配置失败:",
|
|
107
|
+
} catch (D) {
|
|
108
|
+
console.warn("加载保存的搜索配置失败:", D);
|
|
117
109
|
}
|
|
118
110
|
return !1;
|
|
119
|
-
},
|
|
111
|
+
}, T = () => {
|
|
120
112
|
try {
|
|
121
|
-
const
|
|
122
|
-
originalList:
|
|
123
|
-
showList:
|
|
124
|
-
...
|
|
125
|
-
key:
|
|
126
|
-
label:
|
|
127
|
-
isFixed:
|
|
128
|
-
isLinked:
|
|
129
|
-
labelLanguage:
|
|
113
|
+
const c = {
|
|
114
|
+
originalList: H,
|
|
115
|
+
showList: M.value.map((D) => ({
|
|
116
|
+
...D,
|
|
117
|
+
key: D.key,
|
|
118
|
+
label: D.label,
|
|
119
|
+
isFixed: D.isFixed,
|
|
120
|
+
isLinked: D.isLinked,
|
|
121
|
+
labelLanguage: D?.labelLanguage || void 0
|
|
130
122
|
}))
|
|
131
|
-
}
|
|
132
|
-
localStorage.setItem(
|
|
133
|
-
} catch (
|
|
134
|
-
console.warn("保存搜索配置失败:",
|
|
123
|
+
};
|
|
124
|
+
localStorage.setItem(q.value, JSON.stringify(c));
|
|
125
|
+
} catch (c) {
|
|
126
|
+
console.warn("保存搜索配置失败:", c);
|
|
135
127
|
}
|
|
136
|
-
},
|
|
137
|
-
const
|
|
138
|
-
return
|
|
128
|
+
}, V = U(() => {
|
|
129
|
+
const c = M.value.filter((A) => !A.isFixed && !A.isLinked).length, D = M.value.filter((A) => A.isFixed || A.isLinked).length;
|
|
130
|
+
return c >= d.showNumber - D;
|
|
139
131
|
});
|
|
140
|
-
|
|
141
|
-
() =>
|
|
142
|
-
(
|
|
143
|
-
let
|
|
144
|
-
if (!
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
...
|
|
155
|
-
|
|
156
|
-
key: B.key,
|
|
157
|
-
isFixed: B?.isFixed || !1,
|
|
158
|
-
isLinked: !0,
|
|
159
|
-
labelLanguage: B?.labelLanguage || void 0
|
|
160
|
-
})), Ce = Z.slice(0, se).map((B) => ({
|
|
161
|
-
...B,
|
|
162
|
-
label: I(B) || `${B.subLabel || ""}${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
|
|
163
|
-
key: B.key,
|
|
164
|
-
isFixed: B?.isFixed || !1,
|
|
165
|
-
isLinked: B?.isLinked || !1,
|
|
166
|
-
labelLanguage: B?.labelLanguage || void 0
|
|
167
|
-
}));
|
|
168
|
-
C.value = [...ce, ...ye, ...Ce];
|
|
169
|
-
const Le = Z.slice(se).map((B) => ({
|
|
170
|
-
...B,
|
|
171
|
-
label: I(B) || `${B.subLabel || ""}${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,
|
|
172
|
-
key: B.key,
|
|
173
|
-
isFixed: B?.isFixed || !1,
|
|
174
|
-
isLinked: B?.isLinked || !1,
|
|
175
|
-
active: !1,
|
|
176
|
-
labelLanguage: B?.labelLanguage || void 0
|
|
132
|
+
se(
|
|
133
|
+
() => d.list,
|
|
134
|
+
(c) => {
|
|
135
|
+
let D = JSON.stringify(M.value) !== JSON.stringify(c);
|
|
136
|
+
if (!D)
|
|
137
|
+
return;
|
|
138
|
+
const A = localStorage.getItem(q.value), G = JSON.parse(A || "{}");
|
|
139
|
+
if (G && G?.originalList && Array.isArray(G.originalList))
|
|
140
|
+
i(), f("confirm", M.value);
|
|
141
|
+
else if (D) {
|
|
142
|
+
H = JSON.parse(JSON.stringify(c));
|
|
143
|
+
const Z = c.filter((X) => X?.isFixed), re = c.filter((X) => X?.isLinked), ue = c.filter((X) => !X?.isFixed && !X?.isLinked), ve = d.showNumber && d.showNumber > 0 ? Math.max(0, d.showNumber - Z.length - re.length) : ue.length, we = Z.map((X) => x(X)), Fe = re.map((X) => x(X)), xe = ue.slice(0, ve).map((X) => x(X));
|
|
144
|
+
M.value = [...we, ...Fe, ...xe];
|
|
145
|
+
const Pe = ue.slice(ve).map((X) => ({
|
|
146
|
+
...x(X),
|
|
147
|
+
active: !1
|
|
177
148
|
}));
|
|
178
|
-
|
|
149
|
+
a.value = Pe;
|
|
179
150
|
}
|
|
180
151
|
},
|
|
181
152
|
{ immediate: !0 }
|
|
182
153
|
);
|
|
183
|
-
const
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
},
|
|
187
|
-
if (
|
|
154
|
+
const Q = (c) => {
|
|
155
|
+
const D = M.value.findIndex((A) => A.key === c.key);
|
|
156
|
+
D !== -1 && (M.value.splice(D, 1), a.value.push({ ...c, active: !1 }));
|
|
157
|
+
}, ie = (c) => {
|
|
158
|
+
if (V.value)
|
|
188
159
|
return;
|
|
189
|
-
const
|
|
190
|
-
if (
|
|
191
|
-
const [
|
|
192
|
-
|
|
160
|
+
const D = a.value.findIndex((A) => A.key === c.key);
|
|
161
|
+
if (D !== -1) {
|
|
162
|
+
const [A] = a.value.splice(D, 1);
|
|
163
|
+
M.value.push({ ...A, active: !1 });
|
|
193
164
|
}
|
|
194
165
|
}, J = () => {
|
|
195
|
-
|
|
196
|
-
},
|
|
197
|
-
|
|
166
|
+
k.value = !1;
|
|
167
|
+
}, K = () => {
|
|
168
|
+
k.value = !0;
|
|
198
169
|
}, oe = () => {
|
|
199
|
-
|
|
200
|
-
},
|
|
201
|
-
const
|
|
202
|
-
|
|
203
|
-
},
|
|
204
|
-
const
|
|
205
|
-
|
|
170
|
+
T(), f("confirm", M.value), J();
|
|
171
|
+
}, $ = (c) => {
|
|
172
|
+
const D = a.value.findIndex((A) => A.key === c.key);
|
|
173
|
+
D !== -1 && (a.value[D].active = !0);
|
|
174
|
+
}, de = (c) => {
|
|
175
|
+
const D = a.value.findIndex((A) => A.key === c.key);
|
|
176
|
+
D !== -1 && (a.value[D].active = !1);
|
|
206
177
|
};
|
|
207
|
-
return
|
|
208
|
-
toOpenModal:
|
|
209
|
-
}), (
|
|
210
|
-
|
|
178
|
+
return m({
|
|
179
|
+
toOpenModal: K
|
|
180
|
+
}), Le(() => {
|
|
181
|
+
console.log("我是保存的搜索条件");
|
|
182
|
+
}), (c, D) => (o(), F("div", {
|
|
183
|
+
class: E(s(e).b())
|
|
211
184
|
}, [
|
|
212
|
-
w(s(
|
|
213
|
-
visible:
|
|
214
|
-
"onUpdate:visible":
|
|
215
|
-
width:
|
|
185
|
+
w(s(Ie), {
|
|
186
|
+
visible: k.value,
|
|
187
|
+
"onUpdate:visible": D[1] || (D[1] = (A) => k.value = A),
|
|
188
|
+
width: N.value,
|
|
216
189
|
onCancel: J,
|
|
217
190
|
onOk: oe
|
|
218
191
|
}, {
|
|
219
|
-
title:
|
|
220
|
-
|
|
221
|
-
class: E(s(
|
|
222
|
-
},
|
|
192
|
+
title: l(() => [
|
|
193
|
+
g("div", {
|
|
194
|
+
class: E(s(e).e("title"))
|
|
195
|
+
}, y(t.title), 3)
|
|
223
196
|
]),
|
|
224
|
-
footer:
|
|
225
|
-
w(s(
|
|
226
|
-
default:
|
|
227
|
-
|
|
197
|
+
footer: l(() => [
|
|
198
|
+
w(s(he), { onClick: J }, {
|
|
199
|
+
default: l(() => [
|
|
200
|
+
I(y(c.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
|
|
228
201
|
]),
|
|
229
202
|
_: 1
|
|
230
203
|
}),
|
|
231
|
-
w(s(
|
|
204
|
+
w(s(he), {
|
|
232
205
|
type: "primary",
|
|
233
206
|
onClick: oe
|
|
234
207
|
}, {
|
|
235
|
-
default:
|
|
236
|
-
|
|
208
|
+
default: l(() => [
|
|
209
|
+
I(y(c.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
|
|
237
210
|
]),
|
|
238
211
|
_: 1
|
|
239
212
|
})
|
|
240
213
|
]),
|
|
241
|
-
default:
|
|
242
|
-
|
|
243
|
-
class: E(s(
|
|
214
|
+
default: l(() => [
|
|
215
|
+
g("section", {
|
|
216
|
+
class: E(s(e).e("show"))
|
|
244
217
|
}, [
|
|
245
|
-
|
|
246
|
-
class: E(s(
|
|
218
|
+
g("div", {
|
|
219
|
+
class: E(s(e).e("show__title"))
|
|
247
220
|
}, [
|
|
248
|
-
|
|
249
|
-
class: E(s(
|
|
250
|
-
},
|
|
251
|
-
|
|
221
|
+
g("span", {
|
|
222
|
+
class: E(s(e).e("title__tip"))
|
|
223
|
+
}, y(c.$t("hbLibComp.hbFormItemFilterModal.titleTip")), 3),
|
|
224
|
+
g("span", null, y(c.$t("hbLibComp.hbFormItemFilterModal.mostMore")) + y(t.showNumber) + y(c.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")), 1)
|
|
252
225
|
], 2),
|
|
253
|
-
|
|
254
|
-
class: E(s(
|
|
226
|
+
g("div", {
|
|
227
|
+
class: E(s(e).e("show__tag"))
|
|
255
228
|
}, [
|
|
256
|
-
w(s(
|
|
257
|
-
modelValue:
|
|
258
|
-
"onUpdate:modelValue":
|
|
229
|
+
w(s(ye), {
|
|
230
|
+
modelValue: M.value,
|
|
231
|
+
"onUpdate:modelValue": D[0] || (D[0] = (A) => M.value = A),
|
|
259
232
|
"item-key": "key",
|
|
260
233
|
tag: "div",
|
|
261
|
-
disabled:
|
|
262
|
-
move:
|
|
234
|
+
disabled: S.value,
|
|
235
|
+
move: L
|
|
263
236
|
}, {
|
|
264
|
-
item:
|
|
265
|
-
|
|
266
|
-
class: E([s(
|
|
237
|
+
item: l(({ element: A }) => [
|
|
238
|
+
g("div", {
|
|
239
|
+
class: E([s(e).e("show__tag__item"), s(e).is("fixed", A.isFixed), s(e).is("linked", A.isLinked)])
|
|
267
240
|
}, [
|
|
268
|
-
|
|
269
|
-
!
|
|
241
|
+
I(y(A.label) + " ", 1),
|
|
242
|
+
!A.isFixed && !A.isLinked && t.list.length > 1 ? (o(), z(s(vt), {
|
|
270
243
|
key: 0,
|
|
271
|
-
class: E(s(
|
|
272
|
-
onClick: (
|
|
273
|
-
}, null, 8, ["class", "onClick"])) :
|
|
244
|
+
class: E(s(e).e("show__tag__item-close")),
|
|
245
|
+
onClick: (G) => Q(A)
|
|
246
|
+
}, null, 8, ["class", "onClick"])) : B("", !0)
|
|
274
247
|
], 2)
|
|
275
248
|
]),
|
|
276
249
|
_: 1
|
|
277
250
|
}, 8, ["modelValue", "disabled"])
|
|
278
251
|
], 2)
|
|
279
252
|
], 2),
|
|
280
|
-
|
|
281
|
-
class: E(s(
|
|
253
|
+
g("section", {
|
|
254
|
+
class: E(s(e).e("unshow"))
|
|
282
255
|
}, [
|
|
283
|
-
|
|
284
|
-
class: E(s(
|
|
256
|
+
g("div", {
|
|
257
|
+
class: E(s(e).e("show__title"))
|
|
285
258
|
}, [
|
|
286
|
-
|
|
287
|
-
class: E(s(
|
|
288
|
-
},
|
|
259
|
+
g("span", {
|
|
260
|
+
class: E(s(e).e("title__tip"))
|
|
261
|
+
}, y(c.$t("hbLibComp.hbFormItemFilterModal.notShowTip")), 3)
|
|
289
262
|
], 2),
|
|
290
|
-
|
|
291
|
-
class: E(s(
|
|
263
|
+
g("div", {
|
|
264
|
+
class: E(s(e).e("unshow__tag"))
|
|
292
265
|
}, [
|
|
293
|
-
|
|
294
|
-
class: E([s(
|
|
295
|
-
key:
|
|
296
|
-
onMouseenter: (
|
|
297
|
-
onMouseleave: (
|
|
266
|
+
a.value.length > 0 ? (o(!0), F(Y, { key: 0 }, ne(a.value, (A) => (o(), F("div", {
|
|
267
|
+
class: E([s(e).e("unshow__tag__item"), s(e).is("fixed", A.isFixed || ""), s(e).is("linked", A.isLinked || "")]),
|
|
268
|
+
key: A.key,
|
|
269
|
+
onMouseenter: (G) => $(A),
|
|
270
|
+
onMouseleave: (G) => de(A)
|
|
298
271
|
}, [
|
|
299
|
-
|
|
300
|
-
|
|
272
|
+
I(y(A.label) + " ", 1),
|
|
273
|
+
A.active ? (o(), F("aside", {
|
|
301
274
|
key: 0,
|
|
302
|
-
class: E(s(
|
|
303
|
-
onClick: (
|
|
304
|
-
},
|
|
305
|
-
], 42,
|
|
275
|
+
class: E(s(e).e("unshow__tag__item-add")),
|
|
276
|
+
onClick: (G) => ie(A)
|
|
277
|
+
}, y(c.$t("hbLibComp.hbFormItemFilterModal.add")), 11, Tt)) : B("", !0)
|
|
278
|
+
], 42, xt))), 128)) : (o(), F("div", {
|
|
306
279
|
key: 1,
|
|
307
|
-
class: E(s(
|
|
308
|
-
},
|
|
280
|
+
class: E(s(e).e("unshow__tag__empty"))
|
|
281
|
+
}, y(c.$t("hbLibComp.hbFormItemFilterModal.noData")), 3))
|
|
309
282
|
], 2)
|
|
310
283
|
], 2)
|
|
311
284
|
]),
|
|
@@ -313,14 +286,14 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
313
286
|
}, 8, ["visible", "width"])
|
|
314
287
|
], 2));
|
|
315
288
|
}
|
|
316
|
-
}),
|
|
317
|
-
const
|
|
318
|
-
for (const [
|
|
319
|
-
|
|
320
|
-
return
|
|
321
|
-
},
|
|
322
|
-
|
|
323
|
-
},
|
|
289
|
+
}), ae = (t, m) => {
|
|
290
|
+
const r = t.__vccOpts || t;
|
|
291
|
+
for (const [b, C] of m)
|
|
292
|
+
r[b] = C;
|
|
293
|
+
return r;
|
|
294
|
+
}, Mt = /* @__PURE__ */ ae($t, [["__scopeId", "data-v-abe66e59"]]), le = (t) => (t.install = (m) => {
|
|
295
|
+
m.component(t.name || "AnonymousComponent", t);
|
|
296
|
+
}, t), It = le(Mt), Ht = { class: "form-footer" }, Dt = /* @__PURE__ */ te({
|
|
324
297
|
name: "HbLibListForm",
|
|
325
298
|
__name: "HbListForm",
|
|
326
299
|
props: {
|
|
@@ -341,201 +314,209 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
341
314
|
xl: 6
|
|
342
315
|
}
|
|
343
316
|
}) },
|
|
317
|
+
saveKey: {},
|
|
344
318
|
needFooter: { type: Boolean, default: !1 },
|
|
345
319
|
isFormExpanded: { type: Boolean, default: !0 },
|
|
346
320
|
needFilter: { type: Boolean, default: !0 },
|
|
321
|
+
needSearchCase: { type: Boolean, default: !1 },
|
|
322
|
+
searchList: {},
|
|
347
323
|
calTableHeight: { type: Function, default: () => () => {
|
|
348
324
|
} }
|
|
349
325
|
},
|
|
350
|
-
emits: ["handleSearch", "handleReset", "handleSfcmConfirm"],
|
|
351
|
-
setup(
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
326
|
+
emits: ["handleSearch", "handleReset", "handleSfcmConfirm", "handleMenuClick"],
|
|
327
|
+
setup(t, { expose: m, emit: r }) {
|
|
328
|
+
const b = r, C = ze("HB_LIST_PAGE_CONTAINER"), h = U(() => d.searchList || []), n = Re("form"), d = t, f = R("show"), e = U(() => [...d.items]), _ = U(() => [...d.items].map((i) => ({
|
|
329
|
+
...i,
|
|
330
|
+
label: i.label?.includes("多项搜索") ? "" : i.label
|
|
331
|
+
}))), O = U(() => d.saveKey), k = R(), N = () => {
|
|
332
|
+
b("handleSearch");
|
|
333
|
+
}, H = () => {
|
|
334
|
+
b("handleReset");
|
|
335
|
+
}, M = R(), a = () => {
|
|
336
|
+
M.value && M.value.toOpenModal();
|
|
337
|
+
}, S = (i) => {
|
|
338
|
+
b("handleMenuClick", i);
|
|
339
|
+
}, x = (i) => {
|
|
340
|
+
b("handleSfcmConfirm", i);
|
|
341
|
+
}, L = () => {
|
|
342
|
+
f.value = f.value === "show" ? "hide" : "show";
|
|
362
343
|
};
|
|
363
|
-
|
|
364
|
-
() =>
|
|
365
|
-
(
|
|
366
|
-
if (
|
|
367
|
-
console.log(
|
|
368
|
-
const
|
|
369
|
-
|
|
370
|
-
|
|
344
|
+
se(
|
|
345
|
+
() => d.isFormExpanded,
|
|
346
|
+
(i) => {
|
|
347
|
+
if (i) {
|
|
348
|
+
console.log(i);
|
|
349
|
+
const T = document.querySelector("#subpackage_container");
|
|
350
|
+
T instanceof HTMLElement && (T.style.overflow = "hidden", setTimeout(() => {
|
|
351
|
+
T.style.overflow = "auto";
|
|
371
352
|
}, 500));
|
|
372
353
|
}
|
|
373
354
|
}
|
|
374
355
|
);
|
|
375
|
-
const
|
|
376
|
-
const
|
|
377
|
-
|
|
378
|
-
},
|
|
379
|
-
const
|
|
380
|
-
|
|
381
|
-
|
|
356
|
+
const q = (i) => {
|
|
357
|
+
const T = i;
|
|
358
|
+
T.style.height = "", T.offsetHeight;
|
|
359
|
+
}, v = (i) => {
|
|
360
|
+
const T = i;
|
|
361
|
+
T.style.height = "", T.style.overflow = "", fe(() => {
|
|
362
|
+
C.calTableHeight && C.calTableHeight();
|
|
382
363
|
});
|
|
383
|
-
},
|
|
384
|
-
const
|
|
385
|
-
if (
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
364
|
+
}, u = (i) => {
|
|
365
|
+
const T = i, V = T.querySelector(".hb-lib-form--container");
|
|
366
|
+
if (V) {
|
|
367
|
+
const Q = V.offsetHeight;
|
|
368
|
+
T.style.height = Q + "px", T.style.overflow = "hidden", T.offsetHeight, requestAnimationFrame(() => {
|
|
369
|
+
T.style.height = "0";
|
|
389
370
|
});
|
|
390
371
|
}
|
|
391
|
-
},
|
|
392
|
-
|
|
393
|
-
|
|
372
|
+
}, p = () => {
|
|
373
|
+
fe(() => {
|
|
374
|
+
C.calTableHeight && C.calTableHeight();
|
|
394
375
|
});
|
|
395
376
|
};
|
|
396
|
-
return
|
|
397
|
-
formRef:
|
|
398
|
-
SelectOption:
|
|
399
|
-
Form:
|
|
400
|
-
FormItem:
|
|
401
|
-
Row:
|
|
402
|
-
Col:
|
|
403
|
-
Input:
|
|
404
|
-
Select:
|
|
405
|
-
CheckboxGroup:
|
|
406
|
-
Checkbox:
|
|
407
|
-
DatePicker:
|
|
408
|
-
InputNumber:
|
|
409
|
-
RadioGroup:
|
|
410
|
-
Radio:
|
|
411
|
-
Switch:
|
|
412
|
-
Button:
|
|
413
|
-
Tooltip:
|
|
414
|
-
}), (
|
|
415
|
-
const
|
|
416
|
-
return
|
|
417
|
-
w(
|
|
377
|
+
return m({
|
|
378
|
+
formRef: k,
|
|
379
|
+
SelectOption: Ae,
|
|
380
|
+
Form: We,
|
|
381
|
+
FormItem: Ke,
|
|
382
|
+
Row: ht,
|
|
383
|
+
Col: mt,
|
|
384
|
+
Input: qe,
|
|
385
|
+
Select: De,
|
|
386
|
+
CheckboxGroup: je,
|
|
387
|
+
Checkbox: Ce,
|
|
388
|
+
DatePicker: Ye,
|
|
389
|
+
InputNumber: Ee,
|
|
390
|
+
RadioGroup: Ve,
|
|
391
|
+
Radio: Ue,
|
|
392
|
+
Switch: Ne,
|
|
393
|
+
Button: he,
|
|
394
|
+
Tooltip: He
|
|
395
|
+
}), (i, T) => {
|
|
396
|
+
const V = P("a-button"), Q = P("a-tooltip"), ie = P("a-menu-item"), J = P("a-menu"), K = P("a-dropdown"), oe = P("HbLibFormItemFilterModal");
|
|
397
|
+
return o(), F(Y, null, [
|
|
398
|
+
w(at, {
|
|
418
399
|
name: "form-collapse",
|
|
419
|
-
onEnter:
|
|
420
|
-
onAfterEnter:
|
|
421
|
-
onLeave:
|
|
422
|
-
onAfterLeave:
|
|
400
|
+
onEnter: q,
|
|
401
|
+
onAfterEnter: v,
|
|
402
|
+
onLeave: u,
|
|
403
|
+
onAfterLeave: p
|
|
423
404
|
}, {
|
|
424
|
-
default:
|
|
425
|
-
|
|
426
|
-
class: E([s(
|
|
405
|
+
default: l(() => [
|
|
406
|
+
be(g("div", {
|
|
407
|
+
class: E([s(n).b(), "hb-lib-list-page-form-box hb-form-item-ui"])
|
|
427
408
|
}, [
|
|
428
|
-
w(s(
|
|
429
|
-
model:
|
|
409
|
+
w(s(We), ee(i.$attrs, {
|
|
410
|
+
model: t.formData,
|
|
430
411
|
ref_key: "formRef",
|
|
431
|
-
ref:
|
|
432
|
-
class: ["hb-lib-form--container",
|
|
412
|
+
ref: k,
|
|
413
|
+
class: ["hb-lib-form--container", f.value == "show" ? "" : "hide"]
|
|
433
414
|
}), {
|
|
434
|
-
default:
|
|
435
|
-
(
|
|
436
|
-
key:
|
|
415
|
+
default: l(() => [
|
|
416
|
+
(o(!0), F(Y, null, ne(_.value, ($, de) => (o(), z(s(Ke), ee({
|
|
417
|
+
key: de,
|
|
437
418
|
ref_for: !0
|
|
438
|
-
},
|
|
439
|
-
name:
|
|
440
|
-
class:
|
|
441
|
-
}),
|
|
442
|
-
default:
|
|
443
|
-
|
|
419
|
+
}, $, {
|
|
420
|
+
name: $.key,
|
|
421
|
+
class: $.isUnNeedBorder ? "hb-lib-form-item-border--unneed" : ""
|
|
422
|
+
}), tt({
|
|
423
|
+
default: l(() => [
|
|
424
|
+
$.type === "slot" ? j(i.$slots, $.key, {
|
|
444
425
|
key: 0,
|
|
445
|
-
formData:
|
|
446
|
-
item:
|
|
447
|
-
}, void 0, !0) :
|
|
448
|
-
|
|
426
|
+
formData: t.formData,
|
|
427
|
+
item: $
|
|
428
|
+
}, void 0, !0) : B("", !0),
|
|
429
|
+
$.type === "mixin" ? j(i.$slots, $.key, {
|
|
449
430
|
key: 1,
|
|
450
|
-
formData:
|
|
451
|
-
item:
|
|
452
|
-
}, void 0, !0) :
|
|
453
|
-
|
|
431
|
+
formData: t.formData,
|
|
432
|
+
item: $
|
|
433
|
+
}, void 0, !0) : B("", !0),
|
|
434
|
+
$.type === "input" ? (o(), z(s(qe), ee({
|
|
454
435
|
key: 2,
|
|
455
|
-
value:
|
|
456
|
-
"onUpdate:value": (
|
|
457
|
-
}, { ref_for: !0 },
|
|
458
|
-
|
|
436
|
+
value: t.formData[$.key],
|
|
437
|
+
"onUpdate:value": (c) => t.formData[$.key] = c
|
|
438
|
+
}, { ref_for: !0 }, $.attrs), null, 16, ["value", "onUpdate:value"])) : B("", !0),
|
|
439
|
+
$.type === "select" ? (o(), z(s(De), ee({
|
|
459
440
|
key: 3,
|
|
460
|
-
value:
|
|
461
|
-
"onUpdate:value": (
|
|
462
|
-
}, { ref_for: !0 },
|
|
463
|
-
default:
|
|
464
|
-
(
|
|
465
|
-
key:
|
|
466
|
-
value:
|
|
441
|
+
value: t.formData[$.key],
|
|
442
|
+
"onUpdate:value": (c) => t.formData[$.key] = c
|
|
443
|
+
}, { ref_for: !0 }, $.attrs), {
|
|
444
|
+
default: l(() => [
|
|
445
|
+
(o(!0), F(Y, null, ne($.options, (c, D) => (o(), z(s(Ae), {
|
|
446
|
+
key: D,
|
|
447
|
+
value: c.value
|
|
467
448
|
}, {
|
|
468
|
-
default:
|
|
469
|
-
|
|
449
|
+
default: l(() => [
|
|
450
|
+
I(y(c.label), 1)
|
|
470
451
|
]),
|
|
471
452
|
_: 2
|
|
472
453
|
}, 1032, ["value"]))), 128))
|
|
473
454
|
]),
|
|
474
455
|
_: 2
|
|
475
|
-
}, 1040, ["value", "onUpdate:value"])) :
|
|
476
|
-
|
|
456
|
+
}, 1040, ["value", "onUpdate:value"])) : B("", !0),
|
|
457
|
+
$.type === "checkbox" ? (o(), z(s(je), ee({
|
|
477
458
|
key: 4,
|
|
478
|
-
value:
|
|
479
|
-
"onUpdate:value": (
|
|
480
|
-
}, { ref_for: !0 },
|
|
481
|
-
default:
|
|
482
|
-
(
|
|
483
|
-
key:
|
|
484
|
-
value:
|
|
459
|
+
value: t.formData[$.key],
|
|
460
|
+
"onUpdate:value": (c) => t.formData[$.key] = c
|
|
461
|
+
}, { ref_for: !0 }, $.attrs), {
|
|
462
|
+
default: l(() => [
|
|
463
|
+
(o(!0), F(Y, null, ne($.options, (c, D) => (o(), z(s(Ce), {
|
|
464
|
+
key: D,
|
|
465
|
+
value: c.value
|
|
485
466
|
}, {
|
|
486
|
-
default:
|
|
487
|
-
|
|
467
|
+
default: l(() => [
|
|
468
|
+
I(y(c.label), 1)
|
|
488
469
|
]),
|
|
489
470
|
_: 2
|
|
490
471
|
}, 1032, ["value"]))), 128))
|
|
491
472
|
]),
|
|
492
473
|
_: 2
|
|
493
|
-
}, 1040, ["value", "onUpdate:value"])) :
|
|
494
|
-
|
|
474
|
+
}, 1040, ["value", "onUpdate:value"])) : B("", !0),
|
|
475
|
+
$.type === "date-picker" ? (o(), z(s(Ye), ee({
|
|
495
476
|
key: 5,
|
|
496
|
-
value:
|
|
497
|
-
"onUpdate:value": (
|
|
498
|
-
}, { ref_for: !0 },
|
|
499
|
-
|
|
477
|
+
value: t.formData[$.key],
|
|
478
|
+
"onUpdate:value": (c) => t.formData[$.key] = c
|
|
479
|
+
}, { ref_for: !0 }, $.attrs), null, 16, ["value", "onUpdate:value"])) : B("", !0),
|
|
480
|
+
$.type === "input-number" ? (o(), z(s(Ee), ee({
|
|
500
481
|
key: 6,
|
|
501
|
-
value:
|
|
502
|
-
"onUpdate:value": (
|
|
503
|
-
}, { ref_for: !0 },
|
|
504
|
-
|
|
482
|
+
value: t.formData[$.key],
|
|
483
|
+
"onUpdate:value": (c) => t.formData[$.key] = c
|
|
484
|
+
}, { ref_for: !0 }, $.attrs), null, 16, ["value", "onUpdate:value"])) : B("", !0),
|
|
485
|
+
$.type === "radio" ? (o(), z(s(Ve), ee({
|
|
505
486
|
key: 7,
|
|
506
|
-
value:
|
|
507
|
-
"onUpdate:value": (
|
|
508
|
-
}, { ref_for: !0 },
|
|
509
|
-
default:
|
|
510
|
-
(
|
|
511
|
-
key:
|
|
512
|
-
value:
|
|
487
|
+
value: t.formData[$.key],
|
|
488
|
+
"onUpdate:value": (c) => t.formData[$.key] = c
|
|
489
|
+
}, { ref_for: !0 }, $.attrs), {
|
|
490
|
+
default: l(() => [
|
|
491
|
+
(o(!0), F(Y, null, ne($.options, (c, D) => (o(), z(s(Ue), {
|
|
492
|
+
key: D,
|
|
493
|
+
value: c.value
|
|
513
494
|
}, {
|
|
514
|
-
default:
|
|
515
|
-
|
|
495
|
+
default: l(() => [
|
|
496
|
+
I(y(c.label), 1)
|
|
516
497
|
]),
|
|
517
498
|
_: 2
|
|
518
499
|
}, 1032, ["value"]))), 128))
|
|
519
500
|
]),
|
|
520
501
|
_: 2
|
|
521
|
-
}, 1040, ["value", "onUpdate:value"])) :
|
|
522
|
-
|
|
502
|
+
}, 1040, ["value", "onUpdate:value"])) : B("", !0),
|
|
503
|
+
$.type === "switch" ? (o(), z(s(Ne), ee({
|
|
523
504
|
key: 8,
|
|
524
|
-
checked:
|
|
525
|
-
"onUpdate:checked": (
|
|
526
|
-
}, { ref_for: !0 },
|
|
505
|
+
checked: t.formData[$.key],
|
|
506
|
+
"onUpdate:checked": (c) => t.formData[$.key] = c
|
|
507
|
+
}, { ref_for: !0 }, $.attrs), null, 16, ["checked", "onUpdate:checked"])) : B("", !0)
|
|
527
508
|
]),
|
|
528
509
|
_: 2
|
|
529
510
|
}, [
|
|
530
|
-
|
|
511
|
+
$.tooltip ? {
|
|
531
512
|
name: "label",
|
|
532
|
-
fn:
|
|
533
|
-
|
|
534
|
-
w(s(
|
|
535
|
-
title:
|
|
513
|
+
fn: l(() => [
|
|
514
|
+
I(y($.label) + " ", 1),
|
|
515
|
+
w(s(He), {
|
|
516
|
+
title: $.tooltip
|
|
536
517
|
}, {
|
|
537
|
-
default:
|
|
538
|
-
w(s(
|
|
518
|
+
default: l(() => [
|
|
519
|
+
w(s(gt), { style: { "margin-left": "4px", color: "#1890ff" } })
|
|
539
520
|
]),
|
|
540
521
|
_: 1
|
|
541
522
|
}, 8, ["title"])
|
|
@@ -543,39 +524,39 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
543
524
|
key: "0"
|
|
544
525
|
} : void 0
|
|
545
526
|
]), 1040, ["name", "class"]))), 128)),
|
|
546
|
-
|
|
547
|
-
w(
|
|
527
|
+
g("section", Ht, [
|
|
528
|
+
w(V, {
|
|
548
529
|
type: "primary",
|
|
549
|
-
onClick:
|
|
530
|
+
onClick: N,
|
|
550
531
|
class: "hb_list_page_button"
|
|
551
532
|
}, {
|
|
552
|
-
icon:
|
|
553
|
-
w(s(
|
|
533
|
+
icon: l(() => [
|
|
534
|
+
w(s(Be))
|
|
554
535
|
]),
|
|
555
|
-
default:
|
|
556
|
-
|
|
536
|
+
default: l(() => [
|
|
537
|
+
I(" " + y(i.$t("hbLibComp.hbListPageAct.query")), 1)
|
|
557
538
|
]),
|
|
558
539
|
_: 1
|
|
559
540
|
}),
|
|
560
|
-
w(
|
|
541
|
+
w(V, {
|
|
561
542
|
type: "link",
|
|
562
|
-
onClick:
|
|
543
|
+
onClick: H
|
|
563
544
|
}, {
|
|
564
|
-
default:
|
|
565
|
-
|
|
545
|
+
default: l(() => [
|
|
546
|
+
I(y(i.$t("hbLibComp.hbListPageAct.reset")), 1)
|
|
566
547
|
]),
|
|
567
548
|
_: 1
|
|
568
549
|
}),
|
|
569
|
-
|
|
550
|
+
t.needFilter ? (o(), z(Q, {
|
|
570
551
|
key: 0,
|
|
571
|
-
title:
|
|
552
|
+
title: i.$t("hbLibComp.hbListPageAct.selfDefine")
|
|
572
553
|
}, {
|
|
573
|
-
default:
|
|
574
|
-
|
|
554
|
+
default: l(() => [
|
|
555
|
+
g("span", {
|
|
575
556
|
class: "hb-lib-form-svg",
|
|
576
|
-
onClick:
|
|
577
|
-
}, [...
|
|
578
|
-
|
|
557
|
+
onClick: a
|
|
558
|
+
}, [...T[0] || (T[0] = [
|
|
559
|
+
g("svg", {
|
|
579
560
|
t: "1757915025410",
|
|
580
561
|
class: "icon",
|
|
581
562
|
viewBox: "0 0 1024 1024",
|
|
@@ -585,7 +566,7 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
585
566
|
width: "200",
|
|
586
567
|
height: "200"
|
|
587
568
|
}, [
|
|
588
|
-
|
|
569
|
+
g("path", {
|
|
589
570
|
d: "M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",
|
|
590
571
|
fill: "#ff5000",
|
|
591
572
|
"p-id": "16347"
|
|
@@ -594,74 +575,141 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
594
575
|
])])
|
|
595
576
|
]),
|
|
596
577
|
_: 1
|
|
597
|
-
}, 8, ["title"])) :
|
|
598
|
-
|
|
578
|
+
}, 8, ["title"])) : B("", !0),
|
|
579
|
+
j(i.$slots, "formBtns", {}, () => [
|
|
580
|
+
t.needSearchCase ? (o(), z(K, { key: 0 }, {
|
|
581
|
+
overlay: l(() => [
|
|
582
|
+
w(J, { onClick: S }, {
|
|
583
|
+
default: l(() => [
|
|
584
|
+
(o(!0), F(Y, null, ne(h.value, ($) => (o(), z(ie, {
|
|
585
|
+
key: $.id
|
|
586
|
+
}, {
|
|
587
|
+
default: l(() => [
|
|
588
|
+
I(y($.title), 1)
|
|
589
|
+
]),
|
|
590
|
+
_: 2
|
|
591
|
+
}, 1024))), 128)),
|
|
592
|
+
w(ie, { key: "add" }, {
|
|
593
|
+
default: l(() => [
|
|
594
|
+
I(y(i.$t("hbLibComp.hbLibListForm.addScheme")), 1)
|
|
595
|
+
]),
|
|
596
|
+
_: 1
|
|
597
|
+
}),
|
|
598
|
+
w(ie, { key: "edit" }, {
|
|
599
|
+
default: l(() => [
|
|
600
|
+
I(y(i.$t("hbLibComp.hbLibListForm.editScheme")), 1)
|
|
601
|
+
]),
|
|
602
|
+
_: 1
|
|
603
|
+
})
|
|
604
|
+
]),
|
|
605
|
+
_: 1
|
|
606
|
+
})
|
|
607
|
+
]),
|
|
608
|
+
default: l(() => [
|
|
609
|
+
w(Q, {
|
|
610
|
+
title: i.$t("hbLibComp.hbLibListForm.queryCase")
|
|
611
|
+
}, {
|
|
612
|
+
default: l(() => [...T[1] || (T[1] = [
|
|
613
|
+
g("span", { style: { width: "18px", height: "18px", cursor: "pointer" } }, [
|
|
614
|
+
g("svg", {
|
|
615
|
+
t: "1765936014161",
|
|
616
|
+
class: "icon",
|
|
617
|
+
viewBox: "0 0 1024 1024",
|
|
618
|
+
version: "1.1",
|
|
619
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
620
|
+
"p-id": "4751"
|
|
621
|
+
}, [
|
|
622
|
+
g("path", {
|
|
623
|
+
d: "M729.6 1020.16H353.28a32 32 0 0 1-32-32v-295.68H52.48a32 32 0 0 1-32-32V155.52a32 32 0 0 1 32-32h215.68a32 32 0 0 1 0 64H84.48v440.96h268.8a32 32 0 0 1 32 32v295.68h312.32V609.28a32 32 0 1 1 64 0v378.88a32 32 0 0 1-32 32z",
|
|
624
|
+
fill: "#ff5000",
|
|
625
|
+
"p-id": "4752"
|
|
626
|
+
}),
|
|
627
|
+
g("path", {
|
|
628
|
+
d: "M353.28 1020.16a32 32 0 0 1-23.68-10.24L42.24 695.04a32 32 0 1 1 47.36-43.52l288 314.88a32 32 0 0 1-23.68 53.76zM353.28 494.72H171.52a32 32 0 0 1 0-64h181.76a32 32 0 0 1 0 64zM625.92 522.24a259.2 259.2 0 0 1-183.04-442.88A259.2 259.2 0 1 1 809.6 448a256 256 0 0 1-183.68 74.24z m0-455.04a195.2 195.2 0 0 0-138.24 334.08 200.32 200.32 0 0 0 276.48 0 195.2 195.2 0 0 0-138.24-334.08z",
|
|
629
|
+
fill: "#ff5000",
|
|
630
|
+
"p-id": "4753"
|
|
631
|
+
}),
|
|
632
|
+
g("path", {
|
|
633
|
+
d: "M880.64 549.76a32 32 0 0 1-22.4-9.6L771.84 454.4a32 32 0 0 1 45.44-45.44l85.76 85.76a32 32 0 0 1-22.4 54.4z",
|
|
634
|
+
fill: "#ff5000",
|
|
635
|
+
"p-id": "4754"
|
|
636
|
+
})
|
|
637
|
+
])
|
|
638
|
+
], -1)
|
|
639
|
+
])]),
|
|
640
|
+
_: 1
|
|
641
|
+
}, 8, ["title"])
|
|
642
|
+
]),
|
|
643
|
+
_: 1
|
|
644
|
+
})) : B("", !0)
|
|
645
|
+
], !0)
|
|
599
646
|
])
|
|
600
647
|
]),
|
|
601
648
|
_: 3
|
|
602
649
|
}, 16, ["model", "class"]),
|
|
603
|
-
|
|
650
|
+
t.needFooter ? (o(), F("div", {
|
|
604
651
|
key: 0,
|
|
605
|
-
class: E(s(
|
|
652
|
+
class: E(s(n).e("footer"))
|
|
606
653
|
}, [
|
|
607
|
-
|
|
608
|
-
class: E(s(
|
|
654
|
+
g("div", {
|
|
655
|
+
class: E(s(n).e("footer__left"))
|
|
609
656
|
}, [
|
|
610
|
-
|
|
657
|
+
j(i.$slots, "form-footer-left", {}, void 0, !0)
|
|
611
658
|
], 2),
|
|
612
|
-
|
|
613
|
-
class: E(s(
|
|
659
|
+
g("div", {
|
|
660
|
+
class: E(s(n).e("footer__right"))
|
|
614
661
|
}, [
|
|
615
|
-
|
|
662
|
+
f.value == "show" ? j(i.$slots, "form-footer-right", {
|
|
616
663
|
key: 0,
|
|
617
|
-
formRef:
|
|
664
|
+
formRef: k.value
|
|
618
665
|
}, () => [
|
|
619
|
-
w(s(
|
|
666
|
+
w(s(he), {
|
|
620
667
|
type: "primary",
|
|
621
|
-
onClick:
|
|
668
|
+
onClick: H
|
|
622
669
|
}, {
|
|
623
|
-
default:
|
|
624
|
-
|
|
670
|
+
default: l(() => [
|
|
671
|
+
I(y(i.$t("hbLibComp.hbListPageAct.reset")), 1)
|
|
625
672
|
]),
|
|
626
673
|
_: 1
|
|
627
674
|
}),
|
|
628
|
-
w(s(
|
|
675
|
+
w(s(he), {
|
|
629
676
|
type: "primary",
|
|
630
|
-
onClick:
|
|
677
|
+
onClick: N
|
|
631
678
|
}, {
|
|
632
|
-
default:
|
|
633
|
-
|
|
679
|
+
default: l(() => [
|
|
680
|
+
I(y(i.$t("hbLibComp.hbListPageAct.query")), 1)
|
|
634
681
|
]),
|
|
635
682
|
_: 1
|
|
636
683
|
})
|
|
637
|
-
], !0) :
|
|
638
|
-
w(s(
|
|
684
|
+
], !0) : B("", !0),
|
|
685
|
+
w(s(he), {
|
|
639
686
|
type: "primary",
|
|
640
|
-
onClick:
|
|
687
|
+
onClick: L
|
|
641
688
|
}, {
|
|
642
|
-
default:
|
|
643
|
-
|
|
689
|
+
default: l(() => [
|
|
690
|
+
I(y(f.value == "show" ? `${i.$t("hbLibComp.hbListPageAct.close")}` : `${i.$t("hbLibComp.hbListPageAct.open")}`), 1)
|
|
644
691
|
]),
|
|
645
692
|
_: 1
|
|
646
693
|
})
|
|
647
694
|
], 2)
|
|
648
|
-
], 2)) :
|
|
695
|
+
], 2)) : B("", !0)
|
|
649
696
|
], 2), [
|
|
650
|
-
[
|
|
697
|
+
[nt, t.isFormExpanded]
|
|
651
698
|
])
|
|
652
699
|
]),
|
|
653
700
|
_: 3
|
|
654
701
|
}),
|
|
655
|
-
w(
|
|
656
|
-
list:
|
|
702
|
+
w(oe, {
|
|
703
|
+
list: e.value,
|
|
657
704
|
ref_key: "HbSfCmRef",
|
|
658
|
-
ref:
|
|
659
|
-
onConfirm:
|
|
660
|
-
|
|
705
|
+
ref: M,
|
|
706
|
+
onConfirm: x,
|
|
707
|
+
saveKey: O.value
|
|
708
|
+
}, null, 8, ["list", "saveKey"])
|
|
661
709
|
], 64);
|
|
662
710
|
};
|
|
663
711
|
}
|
|
664
|
-
}),
|
|
712
|
+
}), At = /* @__PURE__ */ ae(Dt, [["__scopeId", "data-v-04ccb514"]]), Ot = le(At), zt = { class: "hb-lib-list-page-act-box" }, Bt = { class: "hb-lib-list-page-breadcrumb" }, Rt = { class: "hb-lib-list-page-act" }, Pt = {
|
|
665
713
|
key: 0,
|
|
666
714
|
t: "1757915338760",
|
|
667
715
|
class: "icon",
|
|
@@ -671,7 +719,7 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
671
719
|
"p-id": "22885",
|
|
672
720
|
width: "200",
|
|
673
721
|
height: "200"
|
|
674
|
-
},
|
|
722
|
+
}, Nt = {
|
|
675
723
|
key: 1,
|
|
676
724
|
t: "1757915360496",
|
|
677
725
|
class: "icon",
|
|
@@ -681,56 +729,56 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
681
729
|
"p-id": "23904",
|
|
682
730
|
width: "200",
|
|
683
731
|
height: "200"
|
|
684
|
-
},
|
|
732
|
+
}, Ut = /* @__PURE__ */ te({
|
|
685
733
|
name: "HbLibListPageAct",
|
|
686
734
|
__name: "HbListPageAct",
|
|
687
735
|
props: {
|
|
688
736
|
isShowFullScreen: { type: Boolean, default: !0 }
|
|
689
737
|
},
|
|
690
|
-
setup(
|
|
691
|
-
const
|
|
692
|
-
const
|
|
693
|
-
let
|
|
694
|
-
if (
|
|
695
|
-
let
|
|
696
|
-
|
|
738
|
+
setup(t) {
|
|
739
|
+
const m = ze("HB_LIST_PAGE_CONTAINER"), { isFullscreen: r, toggle: b } = kt(m.PageContainerRef), C = R(""), h = () => {
|
|
740
|
+
const n = ot();
|
|
741
|
+
let d = localStorage.getItem("BreadCrumb") || "[]", f = n?.path;
|
|
742
|
+
if (d !== "[]") {
|
|
743
|
+
let e = JSON.parse(d).find((_) => _.value === f);
|
|
744
|
+
e && (C.value = e.label.replace(/-/g, " / "));
|
|
697
745
|
}
|
|
698
746
|
};
|
|
699
|
-
return
|
|
747
|
+
return Le(() => {
|
|
700
748
|
h();
|
|
701
|
-
}), (
|
|
702
|
-
const
|
|
703
|
-
return
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
w(
|
|
707
|
-
title: s(
|
|
749
|
+
}), (n, d) => {
|
|
750
|
+
const f = P("a-tooltip");
|
|
751
|
+
return o(), F("section", zt, [
|
|
752
|
+
g("aside", Bt, y(C.value), 1),
|
|
753
|
+
g("aside", Rt, [
|
|
754
|
+
w(f, {
|
|
755
|
+
title: s(r) ? `${n.$t("hbLibComp.hbListPageAct.exitFullScreen")}` : `${n.$t("hbLibComp.hbListPageAct.fullScreen")}`,
|
|
708
756
|
placement: "leftTop"
|
|
709
757
|
}, {
|
|
710
|
-
default:
|
|
711
|
-
|
|
758
|
+
default: l(() => [
|
|
759
|
+
g("span", {
|
|
712
760
|
class: "hb-lib-list-page-act-svg",
|
|
713
|
-
onClick:
|
|
714
|
-
(...
|
|
761
|
+
onClick: d[0] || (d[0] = //@ts-ignore
|
|
762
|
+
(...e) => s(b) && s(b)(...e))
|
|
715
763
|
}, [
|
|
716
|
-
s(
|
|
717
|
-
|
|
764
|
+
s(r) ? (o(), F("svg", Nt, [...d[2] || (d[2] = [
|
|
765
|
+
g("path", {
|
|
718
766
|
d: "M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",
|
|
719
767
|
fill: "#ff5000",
|
|
720
768
|
"p-id": "23905"
|
|
721
769
|
}, null, -1),
|
|
722
|
-
|
|
770
|
+
g("path", {
|
|
723
771
|
d: "M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",
|
|
724
772
|
fill: "#ff5000",
|
|
725
773
|
"p-id": "23906"
|
|
726
774
|
}, null, -1),
|
|
727
|
-
|
|
775
|
+
g("path", {
|
|
728
776
|
d: "M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",
|
|
729
777
|
fill: "#ff5000",
|
|
730
778
|
"p-id": "23907"
|
|
731
779
|
}, null, -1)
|
|
732
|
-
])])) : (
|
|
733
|
-
|
|
780
|
+
])])) : (o(), F("svg", Pt, [...d[1] || (d[1] = [
|
|
781
|
+
g("path", {
|
|
734
782
|
d: "M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",
|
|
735
783
|
fill: "#ff5000",
|
|
736
784
|
"p-id": "22886"
|
|
@@ -740,12 +788,12 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
740
788
|
]),
|
|
741
789
|
_: 1
|
|
742
790
|
}, 8, ["title"]),
|
|
743
|
-
|
|
791
|
+
j(n.$slots, "listAct", {}, void 0, !0)
|
|
744
792
|
])
|
|
745
793
|
]);
|
|
746
794
|
};
|
|
747
795
|
}
|
|
748
|
-
}),
|
|
796
|
+
}), Vt = /* @__PURE__ */ ae(Ut, [["__scopeId", "data-v-a7ddfc50"]]), Et = le(Vt), Yt = { class: "hb-lib-list-btns-box" }, jt = { class: "hb-lib-list-btns-left" }, qt = { class: "hb-lib-list-btns-right" }, Kt = /* @__PURE__ */ te({
|
|
749
797
|
name: "HbLibListBtnsAct",
|
|
750
798
|
__name: "HbListBtns",
|
|
751
799
|
props: {
|
|
@@ -753,30 +801,30 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
753
801
|
needOpenOrClose: { type: Boolean, default: !0 }
|
|
754
802
|
},
|
|
755
803
|
emits: ["handleOpenOrClose", "handleReload"],
|
|
756
|
-
setup(
|
|
757
|
-
const
|
|
758
|
-
|
|
804
|
+
setup(t, { emit: m }) {
|
|
805
|
+
const r = m, b = R(!0), C = () => {
|
|
806
|
+
b.value = !b.value, r("handleOpenOrClose", b.value);
|
|
759
807
|
}, h = () => {
|
|
760
|
-
|
|
808
|
+
r("handleReload");
|
|
761
809
|
};
|
|
762
|
-
return
|
|
763
|
-
}), (
|
|
764
|
-
const
|
|
765
|
-
return
|
|
766
|
-
|
|
767
|
-
|
|
810
|
+
return Le(() => {
|
|
811
|
+
}), (n, d) => {
|
|
812
|
+
const f = P("a-tooltip");
|
|
813
|
+
return o(), F("section", Yt, [
|
|
814
|
+
g("aside", jt, [
|
|
815
|
+
j(n.$slots, "btnsLeft", {}, void 0, !0)
|
|
768
816
|
]),
|
|
769
|
-
|
|
770
|
-
|
|
817
|
+
g("aside", qt, [
|
|
818
|
+
t.needReload ? (o(), z(f, {
|
|
771
819
|
key: 0,
|
|
772
|
-
title:
|
|
820
|
+
title: n.$t("hbLibComp.hbListBtnsAct.reload")
|
|
773
821
|
}, {
|
|
774
|
-
default:
|
|
775
|
-
|
|
822
|
+
default: l(() => [
|
|
823
|
+
g("span", {
|
|
776
824
|
class: "hb-lib-list-btns-act-svg hb-lib-list-btns-item",
|
|
777
825
|
onClick: h
|
|
778
|
-
}, [...
|
|
779
|
-
|
|
826
|
+
}, [...d[0] || (d[0] = [
|
|
827
|
+
g("svg", {
|
|
780
828
|
t: "1759041224819",
|
|
781
829
|
class: "icon",
|
|
782
830
|
viewBox: "0 0 1024 1024",
|
|
@@ -786,7 +834,7 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
786
834
|
width: "200",
|
|
787
835
|
height: "200"
|
|
788
836
|
}, [
|
|
789
|
-
|
|
837
|
+
g("path", {
|
|
790
838
|
d: "M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",
|
|
791
839
|
fill: "#ff5000",
|
|
792
840
|
"p-id": "4203"
|
|
@@ -795,109 +843,109 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
795
843
|
])])
|
|
796
844
|
]),
|
|
797
845
|
_: 1
|
|
798
|
-
}, 8, ["title"])) :
|
|
799
|
-
|
|
846
|
+
}, 8, ["title"])) : B("", !0),
|
|
847
|
+
t.needOpenOrClose ? (o(), z(f, {
|
|
800
848
|
key: 1,
|
|
801
|
-
title:
|
|
849
|
+
title: b.value ? `${n.$t("hbLibComp.hbListBtnsAct.close")}` : `${n.$t("hbLibComp.hbListBtnsAct.open")}`
|
|
802
850
|
}, {
|
|
803
|
-
default:
|
|
804
|
-
|
|
851
|
+
default: l(() => [
|
|
852
|
+
g("span", {
|
|
805
853
|
class: "hb-lib-list-btns-act-open hb-lib-list-btns-item",
|
|
806
|
-
onClick:
|
|
854
|
+
onClick: C
|
|
807
855
|
}, [
|
|
808
|
-
|
|
856
|
+
b.value ? (o(), z(s(yt), {
|
|
809
857
|
key: 0,
|
|
810
858
|
style: { "font-size": "21px", color: "#ff5000" }
|
|
811
|
-
})) : (
|
|
859
|
+
})) : (o(), z(s(Ct), {
|
|
812
860
|
key: 1,
|
|
813
861
|
style: { "font-size": "21px", color: "#ff5000" }
|
|
814
862
|
}))
|
|
815
863
|
])
|
|
816
864
|
]),
|
|
817
865
|
_: 1
|
|
818
|
-
}, 8, ["title"])) :
|
|
819
|
-
|
|
866
|
+
}, 8, ["title"])) : B("", !0),
|
|
867
|
+
j(n.$slots, "btnsRight", {}, void 0, !0)
|
|
820
868
|
])
|
|
821
869
|
]);
|
|
822
870
|
};
|
|
823
871
|
}
|
|
824
|
-
}),
|
|
825
|
-
const { formRef:
|
|
826
|
-
let h = null,
|
|
827
|
-
const
|
|
828
|
-
|
|
872
|
+
}), Wt = /* @__PURE__ */ ae(Kt, [["__scopeId", "data-v-da13672b"]]), Jt = le(Wt), Gt = (t = {}) => {
|
|
873
|
+
const { formRef: m, offsetBottom: r = 50, minHeight: b = 300 } = t, C = R(0);
|
|
874
|
+
let h = null, n = null, d = null, f = null, e = null;
|
|
875
|
+
const _ = () => {
|
|
876
|
+
e && clearTimeout(e), e = setTimeout(() => {
|
|
829
877
|
requestAnimationFrame(() => {
|
|
830
|
-
|
|
831
|
-
const
|
|
832
|
-
if (
|
|
833
|
-
const
|
|
834
|
-
let
|
|
835
|
-
|
|
878
|
+
fe(() => {
|
|
879
|
+
const S = document.querySelector(".ant-table"), x = document.querySelector(".ant-pagination");
|
|
880
|
+
if (S) {
|
|
881
|
+
const L = S.getBoundingClientRect().top, q = window.innerHeight, u = (x ? x.offsetHeight + 20 : 40) + r;
|
|
882
|
+
let p = q - L - u;
|
|
883
|
+
p < b && (p = b), C.value = p;
|
|
836
884
|
}
|
|
837
885
|
});
|
|
838
886
|
});
|
|
839
887
|
}, 100);
|
|
840
|
-
},
|
|
841
|
-
const
|
|
842
|
-
if (
|
|
843
|
-
const
|
|
844
|
-
|
|
888
|
+
}, O = () => {
|
|
889
|
+
const S = document.querySelector(".ant-pagination");
|
|
890
|
+
if (S) {
|
|
891
|
+
const x = new MutationObserver(() => {
|
|
892
|
+
_();
|
|
845
893
|
});
|
|
846
|
-
return
|
|
894
|
+
return x.observe(S, {
|
|
847
895
|
childList: !0,
|
|
848
896
|
subtree: !0,
|
|
849
897
|
attributes: !0,
|
|
850
898
|
attributeFilter: ["style", "class"]
|
|
851
|
-
}),
|
|
899
|
+
}), x;
|
|
852
900
|
}
|
|
853
901
|
return null;
|
|
854
|
-
},
|
|
855
|
-
const
|
|
856
|
-
|
|
857
|
-
document.querySelectorAll(".ant-tooltip").forEach((
|
|
858
|
-
|
|
859
|
-
}),
|
|
860
|
-
}), h.observe(
|
|
861
|
-
},
|
|
862
|
-
const
|
|
863
|
-
|
|
902
|
+
}, k = () => {
|
|
903
|
+
const S = document.querySelector(".hb-lib-list-page-form-box");
|
|
904
|
+
S && (h = new ResizeObserver(() => {
|
|
905
|
+
document.querySelectorAll(".ant-tooltip").forEach((L) => {
|
|
906
|
+
L.style.display = "none";
|
|
907
|
+
}), _();
|
|
908
|
+
}), h.observe(S));
|
|
909
|
+
}, N = () => {
|
|
910
|
+
const S = document.querySelector(".hb-lib-list-page-form-box");
|
|
911
|
+
S && (d = new MutationObserver(() => {
|
|
864
912
|
setTimeout(() => {
|
|
865
|
-
|
|
913
|
+
_();
|
|
866
914
|
}, 100);
|
|
867
|
-
}),
|
|
915
|
+
}), d.observe(S, {
|
|
868
916
|
childList: !0,
|
|
869
917
|
subtree: !0,
|
|
870
918
|
attributes: !0,
|
|
871
919
|
attributeFilter: ["style", "class"]
|
|
872
920
|
}));
|
|
873
|
-
},
|
|
874
|
-
|
|
875
|
-
|
|
921
|
+
}, H = () => {
|
|
922
|
+
f && clearTimeout(f), f = setTimeout(() => {
|
|
923
|
+
_();
|
|
876
924
|
}, 100);
|
|
877
|
-
},
|
|
878
|
-
window.addEventListener("resize",
|
|
879
|
-
|
|
925
|
+
}, M = () => {
|
|
926
|
+
window.addEventListener("resize", H), fe(() => {
|
|
927
|
+
k(), N(), n = O();
|
|
880
928
|
});
|
|
881
|
-
},
|
|
882
|
-
window.removeEventListener("resize",
|
|
929
|
+
}, a = () => {
|
|
930
|
+
window.removeEventListener("resize", H), h && h.disconnect(), d && d.disconnect(), n && n.disconnect(), f && clearTimeout(f), e && clearTimeout(e);
|
|
883
931
|
};
|
|
884
|
-
return
|
|
885
|
-
() =>
|
|
932
|
+
return m && se(
|
|
933
|
+
() => m,
|
|
886
934
|
() => {
|
|
887
935
|
setTimeout(() => {
|
|
888
|
-
|
|
936
|
+
_();
|
|
889
937
|
}, 200);
|
|
890
938
|
},
|
|
891
939
|
{ deep: !0 }
|
|
892
|
-
),
|
|
893
|
-
|
|
894
|
-
}),
|
|
895
|
-
|
|
940
|
+
), Le(() => {
|
|
941
|
+
_(), M();
|
|
942
|
+
}), st(() => {
|
|
943
|
+
a();
|
|
896
944
|
}), {
|
|
897
|
-
tableHeight:
|
|
898
|
-
calTableHeight:
|
|
945
|
+
tableHeight: C,
|
|
946
|
+
calTableHeight: _
|
|
899
947
|
};
|
|
900
|
-
},
|
|
948
|
+
}, Qt = /* @__PURE__ */ te({
|
|
901
949
|
name: "HbLibListPageContainer",
|
|
902
950
|
__name: "HbListPageContainer",
|
|
903
951
|
props: {
|
|
@@ -906,51 +954,51 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
906
954
|
offsetBottom: { default: 20 },
|
|
907
955
|
minHeight: {}
|
|
908
956
|
},
|
|
909
|
-
setup(
|
|
910
|
-
const
|
|
911
|
-
offsetBottom:
|
|
957
|
+
setup(t) {
|
|
958
|
+
const m = t, r = it("PageContainerRef"), { calTableHeight: b, tableHeight: C } = Gt({
|
|
959
|
+
offsetBottom: m.offsetBottom || 20,
|
|
912
960
|
// 底部预留空间
|
|
913
|
-
minHeight:
|
|
961
|
+
minHeight: m.minHeight || 300
|
|
914
962
|
// table最小高度 请勿随便修改!!
|
|
915
|
-
}), h =
|
|
916
|
-
return
|
|
917
|
-
PageContainerRef:
|
|
963
|
+
}), h = U(() => C.value);
|
|
964
|
+
return rt("HB_LIST_PAGE_CONTAINER", {
|
|
965
|
+
PageContainerRef: r,
|
|
918
966
|
// 通过函数访问,
|
|
919
|
-
tableHeight:
|
|
920
|
-
calTableHeight:
|
|
921
|
-
}), (
|
|
967
|
+
tableHeight: C,
|
|
968
|
+
calTableHeight: b
|
|
969
|
+
}), (n, d) => (o(), F("section", {
|
|
922
970
|
class: "hb-lib-list-page-container",
|
|
923
971
|
ref_key: "PageContainerRef",
|
|
924
|
-
ref:
|
|
972
|
+
ref: r
|
|
925
973
|
}, [
|
|
926
|
-
|
|
927
|
-
|
|
974
|
+
j(n.$slots, "header"),
|
|
975
|
+
g("section", {
|
|
928
976
|
class: "list-page-box",
|
|
929
|
-
style:
|
|
930
|
-
"--hb-list-table-height": h.value -
|
|
931
|
-
"--hb-list-ttable-height":
|
|
977
|
+
style: ke({
|
|
978
|
+
"--hb-list-table-height": h.value - m.offsetBottom + "px",
|
|
979
|
+
"--hb-list-ttable-height": t.tabelData.length ? "" : h.value - m.offsetBottom + "px"
|
|
932
980
|
})
|
|
933
981
|
}, [
|
|
934
|
-
|
|
982
|
+
j(n.$slots, "default")
|
|
935
983
|
], 4)
|
|
936
984
|
], 512));
|
|
937
985
|
}
|
|
938
|
-
}),
|
|
986
|
+
}), Zt = le(Qt), Xt = { style: { "font-weight": "500" } }, el = {
|
|
939
987
|
key: 0,
|
|
940
988
|
class: "hb-lib-search-tag__description"
|
|
941
|
-
},
|
|
989
|
+
}, tl = { class: "hb-lib-selector-dropdown" }, ll = { class: "hb-lib-selector-search" }, ol = { class: "hb-lib-selector-list" }, al = ["onClick"], nl = { class: "hb-lib-option-content" }, sl = { class: "hb-lib-option-label" }, il = {
|
|
942
990
|
key: 0,
|
|
943
991
|
class: "hb-lib-selector-empty"
|
|
944
|
-
},
|
|
992
|
+
}, rl = {
|
|
945
993
|
key: 1,
|
|
946
994
|
class: "hb-lib-selector-footer"
|
|
947
|
-
},
|
|
995
|
+
}, cl = { class: "hb-lib-footer-buttons" }, dl = {
|
|
948
996
|
key: 2,
|
|
949
997
|
class: "hb-lib-selector-footer"
|
|
950
|
-
},
|
|
998
|
+
}, ul = { class: "hb-lib-footer-buttons" }, pl = /* @__PURE__ */ te({
|
|
951
999
|
name: "HbLibListMultiSelect",
|
|
952
1000
|
__name: "HbListMultiSelect",
|
|
953
|
-
props: /* @__PURE__ */
|
|
1001
|
+
props: /* @__PURE__ */ $e({
|
|
954
1002
|
placeholder: { default: "点击选择" },
|
|
955
1003
|
searchPlaceholder: { default: "搜索选项" },
|
|
956
1004
|
width: { default: 600 },
|
|
@@ -966,183 +1014,183 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
966
1014
|
value: {},
|
|
967
1015
|
valueModifiers: {}
|
|
968
1016
|
}),
|
|
969
|
-
emits: /* @__PURE__ */
|
|
970
|
-
setup(
|
|
971
|
-
const
|
|
972
|
-
if (
|
|
973
|
-
const
|
|
974
|
-
return
|
|
975
|
-
}),
|
|
976
|
-
if (
|
|
977
|
-
const
|
|
978
|
-
return
|
|
1017
|
+
emits: /* @__PURE__ */ $e(["update:value", "update:searchValue", "change", "confirm", "cancel", "search"], ["update:value"]),
|
|
1018
|
+
setup(t, { emit: m }) {
|
|
1019
|
+
const r = t, b = m, C = lt(t, "value"), h = R(!1), n = R(""), d = R([]), f = R(), e = U(() => {
|
|
1020
|
+
if (r.remoteSearch || !n.value) return r.options;
|
|
1021
|
+
const v = n.value.toLowerCase();
|
|
1022
|
+
return r.options.filter((u) => u.label.toLowerCase().includes(v) || u.description?.toLowerCase().includes(v));
|
|
1023
|
+
}), _ = U(() => r.prefix ? `${r.prefix.length * 14 + 8}px` : "0px"), O = U(() => e.value.length === 0 ? !1 : e.value.every((v) => d.value.includes(v.value))), k = U(() => {
|
|
1024
|
+
if (e.value.length === 0) return !1;
|
|
1025
|
+
const v = e.value.filter((u) => d.value.includes(u.value)).length;
|
|
1026
|
+
return v > 0 && v < e.value.length;
|
|
979
1027
|
});
|
|
980
|
-
|
|
981
|
-
() =>
|
|
982
|
-
(
|
|
983
|
-
|
|
1028
|
+
se(
|
|
1029
|
+
() => C.value,
|
|
1030
|
+
(v) => {
|
|
1031
|
+
v ? d.value = Array.isArray(v) ? [...v] : [v] : d.value = [];
|
|
984
1032
|
},
|
|
985
1033
|
{ immediate: !0 }
|
|
986
|
-
),
|
|
987
|
-
() =>
|
|
988
|
-
(
|
|
989
|
-
|
|
1034
|
+
), se(
|
|
1035
|
+
() => r.searchValue,
|
|
1036
|
+
(v) => {
|
|
1037
|
+
r.remoteSearch && v !== void 0 && (n.value = v);
|
|
990
1038
|
},
|
|
991
1039
|
{ immediate: !0 }
|
|
992
1040
|
);
|
|
993
|
-
const
|
|
994
|
-
|
|
995
|
-
if (
|
|
996
|
-
const
|
|
997
|
-
|
|
1041
|
+
const N = (v) => {
|
|
1042
|
+
v && (h.value = v, H.value = [...d.value], n.value = "", setTimeout(() => {
|
|
1043
|
+
if (f.value) {
|
|
1044
|
+
const u = f.value.input || f.value.$el?.querySelector("input");
|
|
1045
|
+
u && u.focus();
|
|
998
1046
|
}
|
|
999
1047
|
}, 100));
|
|
1000
|
-
},
|
|
1001
|
-
|
|
1002
|
-
},
|
|
1003
|
-
const
|
|
1004
|
-
|
|
1005
|
-
},
|
|
1006
|
-
const
|
|
1007
|
-
|
|
1008
|
-
}, 300),
|
|
1009
|
-
if (
|
|
1010
|
-
const
|
|
1011
|
-
|
|
1048
|
+
}, H = R([]), M = () => {
|
|
1049
|
+
d.value = [...H.value], h.value = !1, b("cancel");
|
|
1050
|
+
}, a = R([]), S = () => {
|
|
1051
|
+
const v = r.multiple ? d.value : d.value[0] || "", u = r.options.filter((p) => d.value.includes(p.value));
|
|
1052
|
+
a.value = u, console.log(v, u), H.value = [...d.value], C.value = v, b("update:value", v), b("change", v, u), b("confirm", v, u), h.value = !1;
|
|
1053
|
+
}, x = St((v) => {
|
|
1054
|
+
const u = v !== void 0 ? v : n.value;
|
|
1055
|
+
r.remoteSearch && (b("search", u), b("update:searchValue", u));
|
|
1056
|
+
}, 300), L = (v) => {
|
|
1057
|
+
if (r.multiple) {
|
|
1058
|
+
const u = new Set(d.value);
|
|
1059
|
+
u.has(v.value) ? u.delete(v.value) : u.add(v.value), d.value = Array.from(u);
|
|
1012
1060
|
} else
|
|
1013
|
-
|
|
1014
|
-
},
|
|
1015
|
-
if (
|
|
1016
|
-
const
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
}),
|
|
1061
|
+
d.value = [v.value], S();
|
|
1062
|
+
}, q = (v) => {
|
|
1063
|
+
if (v.target.checked) {
|
|
1064
|
+
const p = new Set(d.value);
|
|
1065
|
+
e.value.forEach((i) => {
|
|
1066
|
+
p.add(i.value);
|
|
1067
|
+
}), d.value = Array.from(p);
|
|
1020
1068
|
} else {
|
|
1021
|
-
const
|
|
1022
|
-
|
|
1069
|
+
const p = new Set(e.value.map((i) => i.value));
|
|
1070
|
+
d.value = d.value.filter((i) => !p.has(i));
|
|
1023
1071
|
}
|
|
1024
1072
|
};
|
|
1025
|
-
return (
|
|
1026
|
-
const
|
|
1027
|
-
return
|
|
1073
|
+
return (v, u) => {
|
|
1074
|
+
const p = P("a-tag"), i = P("a-input"), T = P("a-checkbox"), V = P("a-radio"), Q = P("a-button"), ie = P("a-select");
|
|
1075
|
+
return o(), F("div", ee({
|
|
1028
1076
|
class: "hb-lib-selector-wrapper",
|
|
1029
|
-
style: { "--prefix-width":
|
|
1030
|
-
},
|
|
1031
|
-
w(
|
|
1032
|
-
value:
|
|
1033
|
-
"onUpdate:value":
|
|
1034
|
-
mode:
|
|
1035
|
-
placeholder:
|
|
1077
|
+
style: { "--prefix-width": _.value }
|
|
1078
|
+
}, v.$attrs), [
|
|
1079
|
+
w(ie, {
|
|
1080
|
+
value: C.value,
|
|
1081
|
+
"onUpdate:value": u[5] || (u[5] = (J) => C.value = J),
|
|
1082
|
+
mode: t.multiple ? "multiple" : void 0,
|
|
1083
|
+
placeholder: t.placeholder,
|
|
1036
1084
|
"show-search": !0,
|
|
1037
1085
|
"filter-option": !1,
|
|
1038
1086
|
open: h.value,
|
|
1039
1087
|
allowClear: "",
|
|
1040
|
-
maxTagCount:
|
|
1041
|
-
options:
|
|
1042
|
-
onDropdownVisibleChange:
|
|
1043
|
-
onSearch: s(
|
|
1044
|
-
"max-tag-text-length":
|
|
1045
|
-
class: E({ "has-prefix":
|
|
1046
|
-
"data-prefix":
|
|
1088
|
+
maxTagCount: t.maxTagCount,
|
|
1089
|
+
options: e.value,
|
|
1090
|
+
onDropdownVisibleChange: N,
|
|
1091
|
+
onSearch: s(x),
|
|
1092
|
+
"max-tag-text-length": t.tagTextLength,
|
|
1093
|
+
class: E({ "has-prefix": t.prefix }),
|
|
1094
|
+
"data-prefix": t.prefix,
|
|
1047
1095
|
style: { width: "100%" }
|
|
1048
1096
|
}, {
|
|
1049
|
-
tagRender:
|
|
1050
|
-
w(
|
|
1097
|
+
tagRender: l(({ value: J, label: K, closable: oe, option: $ }) => [
|
|
1098
|
+
w(p, {
|
|
1051
1099
|
class: "hb-lib-search-tag",
|
|
1052
|
-
onClick:
|
|
1100
|
+
onClick: u[0] || (u[0] = () => N(!0))
|
|
1053
1101
|
}, {
|
|
1054
|
-
default:
|
|
1055
|
-
|
|
1056
|
-
|
|
1102
|
+
default: l(() => [
|
|
1103
|
+
g("span", Xt, y(K), 1),
|
|
1104
|
+
$?.description ? (o(), F("span", el, " (" + y($.description) + ") ", 1)) : B("", !0)
|
|
1057
1105
|
]),
|
|
1058
1106
|
_: 2
|
|
1059
1107
|
}, 1024)
|
|
1060
1108
|
]),
|
|
1061
|
-
dropdownRender:
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
w(
|
|
1109
|
+
dropdownRender: l(({ menuNode: J }) => [
|
|
1110
|
+
g("div", tl, [
|
|
1111
|
+
g("div", ll, [
|
|
1112
|
+
w(i, {
|
|
1065
1113
|
ref_key: "searchInputRef",
|
|
1066
|
-
ref:
|
|
1114
|
+
ref: f,
|
|
1067
1115
|
class: "hb-lib-selector-search-input",
|
|
1068
|
-
value:
|
|
1069
|
-
"onUpdate:value":
|
|
1116
|
+
value: n.value,
|
|
1117
|
+
"onUpdate:value": u[1] || (u[1] = (K) => n.value = K),
|
|
1070
1118
|
placeholder: "请输入关键词搜索",
|
|
1071
1119
|
"allow-clear": "",
|
|
1072
|
-
onInput:
|
|
1120
|
+
onInput: u[2] || (u[2] = (K) => s(x)(K.target.value))
|
|
1073
1121
|
}, {
|
|
1074
|
-
prefix:
|
|
1075
|
-
w(s(
|
|
1122
|
+
prefix: l(() => [
|
|
1123
|
+
w(s(Be))
|
|
1076
1124
|
]),
|
|
1077
1125
|
_: 1
|
|
1078
1126
|
}, 8, ["value"])
|
|
1079
1127
|
]),
|
|
1080
|
-
|
|
1081
|
-
(
|
|
1082
|
-
key:
|
|
1083
|
-
class: E(["hb-lib-selector-option", { selected:
|
|
1084
|
-
onClick: () =>
|
|
1128
|
+
g("div", ol, [
|
|
1129
|
+
(o(!0), F(Y, null, ne(e.value, (K) => (o(), F("div", {
|
|
1130
|
+
key: K.value,
|
|
1131
|
+
class: E(["hb-lib-selector-option", { selected: d.value.includes(K.value) }]),
|
|
1132
|
+
onClick: () => L(K)
|
|
1085
1133
|
}, [
|
|
1086
|
-
|
|
1134
|
+
t.multiple ? (o(), z(T, {
|
|
1087
1135
|
key: 0,
|
|
1088
|
-
checked:
|
|
1089
|
-
onChange: () =>
|
|
1090
|
-
onClick:
|
|
1136
|
+
checked: d.value.includes(K.value),
|
|
1137
|
+
onChange: () => L(K),
|
|
1138
|
+
onClick: u[3] || (u[3] = Me(() => {
|
|
1091
1139
|
}, ["stop"]))
|
|
1092
|
-
}, null, 8, ["checked", "onChange"])) : (
|
|
1140
|
+
}, null, 8, ["checked", "onChange"])) : (o(), z(V, {
|
|
1093
1141
|
key: 1,
|
|
1094
|
-
checked:
|
|
1095
|
-
onChange: () =>
|
|
1096
|
-
onClick:
|
|
1142
|
+
checked: d.value.includes(K.value),
|
|
1143
|
+
onChange: () => L(K),
|
|
1144
|
+
onClick: u[4] || (u[4] = Me(() => {
|
|
1097
1145
|
}, ["stop"]))
|
|
1098
1146
|
}, null, 8, ["checked", "onChange"])),
|
|
1099
|
-
|
|
1100
|
-
|
|
1147
|
+
g("div", nl, [
|
|
1148
|
+
g("div", sl, y(K.label), 1)
|
|
1101
1149
|
])
|
|
1102
|
-
], 10,
|
|
1150
|
+
], 10, al))), 128))
|
|
1103
1151
|
]),
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
w(
|
|
1107
|
-
checked:
|
|
1108
|
-
indeterminate:
|
|
1109
|
-
onChange:
|
|
1152
|
+
e.value.length === 0 ? (o(), F("div", il, y(v.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : B("", !0),
|
|
1153
|
+
t.multiple ? (o(), F("div", rl, [
|
|
1154
|
+
w(T, {
|
|
1155
|
+
checked: O.value,
|
|
1156
|
+
indeterminate: k.value,
|
|
1157
|
+
onChange: q
|
|
1110
1158
|
}, {
|
|
1111
|
-
default:
|
|
1112
|
-
|
|
1159
|
+
default: l(() => [
|
|
1160
|
+
I(y(v.$t("hbLibComp.hbFormSelectFilter.allSelect")), 1)
|
|
1113
1161
|
]),
|
|
1114
1162
|
_: 1
|
|
1115
1163
|
}, 8, ["checked", "indeterminate"]),
|
|
1116
|
-
|
|
1117
|
-
w(
|
|
1164
|
+
g("div", cl, [
|
|
1165
|
+
w(Q, {
|
|
1118
1166
|
size: "small",
|
|
1119
|
-
onClick:
|
|
1167
|
+
onClick: M
|
|
1120
1168
|
}, {
|
|
1121
|
-
default:
|
|
1122
|
-
|
|
1169
|
+
default: l(() => [
|
|
1170
|
+
I(y(v.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
|
|
1123
1171
|
]),
|
|
1124
1172
|
_: 1
|
|
1125
1173
|
}),
|
|
1126
|
-
w(
|
|
1174
|
+
w(Q, {
|
|
1127
1175
|
type: "primary",
|
|
1128
1176
|
size: "small",
|
|
1129
|
-
onClick:
|
|
1177
|
+
onClick: S
|
|
1130
1178
|
}, {
|
|
1131
|
-
default:
|
|
1132
|
-
|
|
1179
|
+
default: l(() => [
|
|
1180
|
+
I(y(v.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
|
|
1133
1181
|
]),
|
|
1134
1182
|
_: 1
|
|
1135
1183
|
})
|
|
1136
1184
|
])
|
|
1137
|
-
])) : (
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
w(
|
|
1185
|
+
])) : (o(), F("div", dl, [
|
|
1186
|
+
u[6] || (u[6] = g("div", null, null, -1)),
|
|
1187
|
+
g("div", ul, [
|
|
1188
|
+
w(Q, {
|
|
1141
1189
|
size: "small",
|
|
1142
|
-
onClick:
|
|
1190
|
+
onClick: M
|
|
1143
1191
|
}, {
|
|
1144
|
-
default:
|
|
1145
|
-
|
|
1192
|
+
default: l(() => [
|
|
1193
|
+
I(y(v.$t("hbLibComp.hbFormSelectFilter.close")), 1)
|
|
1146
1194
|
]),
|
|
1147
1195
|
_: 1
|
|
1148
1196
|
})
|
|
@@ -1155,7 +1203,7 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1155
1203
|
], 16);
|
|
1156
1204
|
};
|
|
1157
1205
|
}
|
|
1158
|
-
}),
|
|
1206
|
+
}), bl = /* @__PURE__ */ ae(pl, [["__scopeId", "data-v-87177371"]]), ml = le(bl), hl = { class: "hb-lib-form-item-filter-modal-search" }, fl = { class: "hb-lib-form-item-filter-modal-buttons" }, vl = { key: 0 }, gl = /* @__PURE__ */ te({
|
|
1159
1207
|
name: "HbLibMutilpleSelectModal",
|
|
1160
1208
|
__name: "HbMutilpleSelectModal",
|
|
1161
1209
|
props: {
|
|
@@ -1168,149 +1216,149 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1168
1216
|
labelKey: { default: "label" }
|
|
1169
1217
|
},
|
|
1170
1218
|
emits: ["handleConfirm", "handleCancel"],
|
|
1171
|
-
setup(
|
|
1172
|
-
const
|
|
1219
|
+
setup(t, { expose: m, emit: r }) {
|
|
1220
|
+
const b = t, C = r, h = R(!1), n = R(""), d = R(), f = R(), e = R([]), _ = R([]), O = R(), k = _e({
|
|
1173
1221
|
searchText: "",
|
|
1174
1222
|
searchedColumn: ""
|
|
1175
|
-
}),
|
|
1176
|
-
|
|
1177
|
-
|
|
1223
|
+
}), N = U(() => b.tableData.map((p) => (p.id = p.id || Math.random(), p))), H = U(() => b.tableColumn.map((p) => (p.customFilterDropdown && (p.onFilter = (i, T) => T[p.dataIndex].toString().toLowerCase().includes(i.toLowerCase()), p.onFilterDropdownVisibleChange = (i) => {
|
|
1224
|
+
i && setTimeout(() => {
|
|
1225
|
+
d.value?.focus();
|
|
1178
1226
|
}, 100);
|
|
1179
|
-
}), { ...
|
|
1180
|
-
let
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
}),
|
|
1184
|
-
},
|
|
1227
|
+
}), { ...p }))), M = () => {
|
|
1228
|
+
let p = "";
|
|
1229
|
+
_.value.forEach((i) => {
|
|
1230
|
+
p = p + i[b.labelKey] + ",";
|
|
1231
|
+
}), n.value = p.substring(0, p.length - 1), h.value = !1, C("handleConfirm", _.value);
|
|
1232
|
+
}, a = () => {
|
|
1185
1233
|
h.value = !1;
|
|
1186
|
-
},
|
|
1187
|
-
h.value = !0,
|
|
1188
|
-
const
|
|
1189
|
-
|
|
1234
|
+
}, S = () => {
|
|
1235
|
+
h.value = !0, fe(() => {
|
|
1236
|
+
const p = O.value?.$el?.querySelector(".ant-table-body");
|
|
1237
|
+
p && (p.scrollTop = 0);
|
|
1190
1238
|
});
|
|
1191
|
-
},
|
|
1192
|
-
|
|
1193
|
-
},
|
|
1194
|
-
|
|
1195
|
-
},
|
|
1196
|
-
|
|
1197
|
-
},
|
|
1198
|
-
|
|
1199
|
-
},
|
|
1200
|
-
|
|
1239
|
+
}, x = () => {
|
|
1240
|
+
e.value = [], _.value = [];
|
|
1241
|
+
}, L = () => {
|
|
1242
|
+
n.value = "", x();
|
|
1243
|
+
}, q = (p, i, T) => {
|
|
1244
|
+
i(), k.searchText = p[0], k.searchedColumn = T;
|
|
1245
|
+
}, v = (p, i) => {
|
|
1246
|
+
p({ confirm: !0 }), k.searchText = "", i();
|
|
1247
|
+
}, u = (p, i) => {
|
|
1248
|
+
e.value = p, _.value = i;
|
|
1201
1249
|
};
|
|
1202
|
-
return
|
|
1203
|
-
resetInputVal:
|
|
1204
|
-
}), (
|
|
1205
|
-
const
|
|
1206
|
-
return
|
|
1250
|
+
return m({
|
|
1251
|
+
resetInputVal: L
|
|
1252
|
+
}), (p, i) => {
|
|
1253
|
+
const T = P("a-input"), V = P("a-button"), Q = P("a-table"), ie = P("a-modal");
|
|
1254
|
+
return o(), F("div", {
|
|
1207
1255
|
class: "hb-lib-multipleSelectModal-box",
|
|
1208
1256
|
ref_key: "hbMultipSelectModalRef",
|
|
1209
|
-
ref:
|
|
1257
|
+
ref: f
|
|
1210
1258
|
}, [
|
|
1211
|
-
w(
|
|
1259
|
+
w(T, {
|
|
1212
1260
|
readonly: "",
|
|
1213
|
-
onClick:
|
|
1214
|
-
value:
|
|
1215
|
-
"onUpdate:value":
|
|
1216
|
-
placeholder:
|
|
1261
|
+
onClick: S,
|
|
1262
|
+
value: n.value,
|
|
1263
|
+
"onUpdate:value": i[0] || (i[0] = (J) => n.value = J),
|
|
1264
|
+
placeholder: p.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")
|
|
1217
1265
|
}, {
|
|
1218
|
-
addonAfter:
|
|
1219
|
-
w(s(
|
|
1266
|
+
addonAfter: l(() => [
|
|
1267
|
+
w(s(_t), { onClick: S })
|
|
1220
1268
|
]),
|
|
1221
1269
|
_: 1
|
|
1222
1270
|
}, 8, ["value", "placeholder"]),
|
|
1223
|
-
w(
|
|
1271
|
+
w(ie, {
|
|
1224
1272
|
visible: h.value,
|
|
1225
|
-
"onUpdate:visible":
|
|
1226
|
-
title:
|
|
1227
|
-
width:
|
|
1273
|
+
"onUpdate:visible": i[1] || (i[1] = (J) => h.value = J),
|
|
1274
|
+
title: t.modelTitle,
|
|
1275
|
+
width: t.modalWidth,
|
|
1228
1276
|
class: "hb-lib-multipleSelectModal-modal"
|
|
1229
1277
|
}, {
|
|
1230
|
-
footer:
|
|
1231
|
-
w(
|
|
1232
|
-
default:
|
|
1233
|
-
|
|
1278
|
+
footer: l(() => [
|
|
1279
|
+
w(V, { onClick: x }, {
|
|
1280
|
+
default: l(() => [
|
|
1281
|
+
I(y(p.$t("hbLibComp.hbListPageAct.reset")), 1)
|
|
1234
1282
|
]),
|
|
1235
1283
|
_: 1
|
|
1236
1284
|
}),
|
|
1237
|
-
w(
|
|
1238
|
-
default:
|
|
1239
|
-
|
|
1285
|
+
w(V, { onClick: a }, {
|
|
1286
|
+
default: l(() => [
|
|
1287
|
+
I(y(p.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
|
|
1240
1288
|
]),
|
|
1241
1289
|
_: 1
|
|
1242
1290
|
}),
|
|
1243
|
-
w(
|
|
1291
|
+
w(V, {
|
|
1244
1292
|
type: "primary",
|
|
1245
|
-
onClick:
|
|
1293
|
+
onClick: M
|
|
1246
1294
|
}, {
|
|
1247
|
-
default:
|
|
1248
|
-
|
|
1295
|
+
default: l(() => [
|
|
1296
|
+
I(y(p.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
|
|
1249
1297
|
]),
|
|
1250
1298
|
_: 1
|
|
1251
1299
|
})
|
|
1252
1300
|
]),
|
|
1253
|
-
default:
|
|
1254
|
-
w(
|
|
1301
|
+
default: l(() => [
|
|
1302
|
+
w(Q, {
|
|
1255
1303
|
ref_key: "tableRef",
|
|
1256
|
-
ref:
|
|
1257
|
-
columns:
|
|
1258
|
-
dataSource:
|
|
1259
|
-
rowSelection: { selectedRowKeys:
|
|
1260
|
-
rowKey: (
|
|
1261
|
-
scroll: { y:
|
|
1304
|
+
ref: O,
|
|
1305
|
+
columns: H.value,
|
|
1306
|
+
dataSource: N.value,
|
|
1307
|
+
rowSelection: { selectedRowKeys: e.value, onChange: u },
|
|
1308
|
+
rowKey: (J) => J[t.tableKey],
|
|
1309
|
+
scroll: { y: t.tableHeight }
|
|
1262
1310
|
}, {
|
|
1263
|
-
customFilterDropdown:
|
|
1264
|
-
|
|
1265
|
-
w(
|
|
1311
|
+
customFilterDropdown: l(({ setSelectedKeys: J, selectedKeys: K, confirm: oe, clearFilters: $, column: de }) => [
|
|
1312
|
+
g("div", hl, [
|
|
1313
|
+
w(T, {
|
|
1266
1314
|
ref_key: "searchInput",
|
|
1267
|
-
ref:
|
|
1268
|
-
placeholder: `请输入${
|
|
1269
|
-
value:
|
|
1315
|
+
ref: d,
|
|
1316
|
+
placeholder: `请输入${de.title}`,
|
|
1317
|
+
value: K[0],
|
|
1270
1318
|
class: "hb-lib-form-item-filter-modal-search-input",
|
|
1271
|
-
onChange: (
|
|
1272
|
-
onPressEnter: (
|
|
1319
|
+
onChange: (c) => J(c.target.value ? [c.target.value] : []),
|
|
1320
|
+
onPressEnter: (c) => q(K, oe, de.dataIndex)
|
|
1273
1321
|
}, null, 8, ["placeholder", "value", "onChange", "onPressEnter"]),
|
|
1274
|
-
|
|
1275
|
-
w(
|
|
1322
|
+
g("section", fl, [
|
|
1323
|
+
w(V, {
|
|
1276
1324
|
class: "hb-lib-form-item-filter-modal-button",
|
|
1277
1325
|
type: "ghost",
|
|
1278
|
-
onClick: (
|
|
1326
|
+
onClick: (c) => v($, oe)
|
|
1279
1327
|
}, {
|
|
1280
|
-
default:
|
|
1281
|
-
|
|
1328
|
+
default: l(() => [
|
|
1329
|
+
I(y(p.$t("hbLibComp.hbListPageAct.reset")), 1)
|
|
1282
1330
|
]),
|
|
1283
1331
|
_: 1
|
|
1284
1332
|
}, 8, ["onClick"]),
|
|
1285
|
-
w(
|
|
1333
|
+
w(V, {
|
|
1286
1334
|
type: "primary",
|
|
1287
1335
|
class: "hb-lib-form-item-filter-modal-button-confirm",
|
|
1288
|
-
onClick: (
|
|
1336
|
+
onClick: (c) => q(K, oe, de.dataIndex)
|
|
1289
1337
|
}, {
|
|
1290
|
-
default:
|
|
1291
|
-
|
|
1338
|
+
default: l(() => [
|
|
1339
|
+
I(y(p.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
|
|
1292
1340
|
]),
|
|
1293
1341
|
_: 1
|
|
1294
1342
|
}, 8, ["onClick"])
|
|
1295
1343
|
])
|
|
1296
1344
|
])
|
|
1297
1345
|
]),
|
|
1298
|
-
customFilterIcon:
|
|
1299
|
-
w(s(
|
|
1300
|
-
style:
|
|
1346
|
+
customFilterIcon: l(({ filtered: J }) => [
|
|
1347
|
+
w(s(Be), {
|
|
1348
|
+
style: ke({ color: J ? "#108ee9" : void 0 })
|
|
1301
1349
|
}, null, 8, ["style"])
|
|
1302
1350
|
]),
|
|
1303
|
-
bodyCell:
|
|
1304
|
-
|
|
1305
|
-
(
|
|
1306
|
-
|
|
1307
|
-
key:
|
|
1351
|
+
bodyCell: l(({ text: J, column: K }) => [
|
|
1352
|
+
k.searchText && k.searchedColumn === K.dataIndex ? (o(), F("span", vl, [
|
|
1353
|
+
(o(!0), F(Y, null, ne(J.toString().split(new RegExp(`(?<=${k.searchText})|(?=${k.searchText})`, "i")), (oe, $) => (o(), F(Y, null, [
|
|
1354
|
+
oe.toLowerCase() === k.searchText.toLowerCase() ? (o(), F("mark", {
|
|
1355
|
+
key: $,
|
|
1308
1356
|
class: "highlight"
|
|
1309
|
-
},
|
|
1310
|
-
|
|
1357
|
+
}, y(oe), 1)) : (o(), F(Y, { key: 1 }, [
|
|
1358
|
+
I(y(oe), 1)
|
|
1311
1359
|
], 64))
|
|
1312
1360
|
], 64))), 256))
|
|
1313
|
-
])) :
|
|
1361
|
+
])) : B("", !0)
|
|
1314
1362
|
]),
|
|
1315
1363
|
_: 1
|
|
1316
1364
|
}, 8, ["columns", "dataSource", "rowSelection", "rowKey", "scroll"])
|
|
@@ -1320,13 +1368,13 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1320
1368
|
], 512);
|
|
1321
1369
|
};
|
|
1322
1370
|
}
|
|
1323
|
-
}),
|
|
1371
|
+
}), yl = le(gl), Cl = { class: "hb-lib-table-act-box" }, _l = ["onClick"], Ll = {
|
|
1324
1372
|
href: "javascript:;",
|
|
1325
1373
|
class: "hb-lib-table-main-action"
|
|
1326
|
-
},
|
|
1374
|
+
}, kl = ["onClick"], Sl = {
|
|
1327
1375
|
href: "javascript:;",
|
|
1328
1376
|
class: "hb-lib-table-more-action"
|
|
1329
|
-
},
|
|
1377
|
+
}, wl = ["onClick"], Fl = { href: "javascript:;" }, xl = ["onClick"], Tl = { class: "hb-lib-table-confirm-modal-content" }, $l = /* @__PURE__ */ te({
|
|
1330
1378
|
name: "HbLibTableAct",
|
|
1331
1379
|
__name: "HbTableAct",
|
|
1332
1380
|
props: {
|
|
@@ -1334,129 +1382,129 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1334
1382
|
record: {},
|
|
1335
1383
|
buttonDisplaysQuantity: {}
|
|
1336
1384
|
},
|
|
1337
|
-
setup(
|
|
1338
|
-
const
|
|
1339
|
-
|
|
1340
|
-
},
|
|
1341
|
-
|
|
1342
|
-
},
|
|
1343
|
-
if (
|
|
1385
|
+
setup(t, { expose: m }) {
|
|
1386
|
+
const r = t, { t: b } = ce(), C = R(!1), h = R(!1), n = R(null), d = U(() => r.actions.filter((M) => M.condition !== void 0 ? M.condition : !0)), f = U(() => d.value.slice(0, r.buttonDisplaysQuantity)), e = U(() => d.value.slice(r.buttonDisplaysQuantity)), _ = (M) => {
|
|
1387
|
+
M.handler && M.handler(r.record);
|
|
1388
|
+
}, O = (M) => {
|
|
1389
|
+
n.value = M, C.value = !0;
|
|
1390
|
+
}, k = () => {
|
|
1391
|
+
if (n.value) {
|
|
1344
1392
|
h.value = !0;
|
|
1345
1393
|
try {
|
|
1346
|
-
|
|
1394
|
+
_(n.value), h.value = !1, C.value = !1;
|
|
1347
1395
|
} catch {
|
|
1348
1396
|
h.value = !1;
|
|
1349
1397
|
}
|
|
1350
1398
|
}
|
|
1351
|
-
},
|
|
1352
|
-
|
|
1353
|
-
},
|
|
1354
|
-
title:
|
|
1355
|
-
content:
|
|
1399
|
+
}, N = () => {
|
|
1400
|
+
C.value = !1, n.value = null;
|
|
1401
|
+
}, H = U(() => n.value ? {
|
|
1402
|
+
title: n.value.confirmTitle,
|
|
1403
|
+
content: n.value.confirmContent || n.value.confirmTitle
|
|
1356
1404
|
} : {
|
|
1357
|
-
title:
|
|
1358
|
-
content:
|
|
1405
|
+
title: b("hbLibComp.hbTableAct.secendConfirm"),
|
|
1406
|
+
content: b("hbLibComp.hbTableAct.confirmContent")
|
|
1359
1407
|
});
|
|
1360
|
-
return
|
|
1361
|
-
ADropdown:
|
|
1362
|
-
AMenu:
|
|
1363
|
-
AMenuItem:
|
|
1364
|
-
APopconfirm:
|
|
1365
|
-
AModal:
|
|
1366
|
-
DownOutlined:
|
|
1367
|
-
}), (
|
|
1368
|
-
const
|
|
1369
|
-
return
|
|
1370
|
-
(
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1408
|
+
return m({
|
|
1409
|
+
ADropdown: Qe,
|
|
1410
|
+
AMenu: Ge,
|
|
1411
|
+
AMenuItem: Je,
|
|
1412
|
+
APopconfirm: Te,
|
|
1413
|
+
AModal: Ie,
|
|
1414
|
+
DownOutlined: Ze
|
|
1415
|
+
}), (M, a) => {
|
|
1416
|
+
const S = P("a-divider"), x = ct("has");
|
|
1417
|
+
return o(), F("div", Cl, [
|
|
1418
|
+
(o(!0), F(Y, null, ne(f.value, (L, q) => (o(), F(Y, { key: q }, [
|
|
1419
|
+
L.needConfirm ? (o(), F(Y, { key: 0 }, [
|
|
1420
|
+
L.confirmType === "modal" ? (o(), F(Y, { key: 0 }, [
|
|
1421
|
+
be((o(), F("a", {
|
|
1374
1422
|
href: "javascript:;",
|
|
1375
|
-
onClick: (
|
|
1423
|
+
onClick: (v) => O(L),
|
|
1376
1424
|
class: "hb-lib-table-main-action"
|
|
1377
1425
|
}, [
|
|
1378
|
-
|
|
1379
|
-
], 8,
|
|
1380
|
-
[
|
|
1426
|
+
I(y(L.label), 1)
|
|
1427
|
+
], 8, _l)), [
|
|
1428
|
+
[x, L.permissionsTag || null]
|
|
1381
1429
|
]),
|
|
1382
|
-
|
|
1430
|
+
e.value && e.value.length > 0 || q !== f.value.length - 1 ? (o(), z(S, {
|
|
1383
1431
|
key: 0,
|
|
1384
1432
|
type: "vertical"
|
|
1385
|
-
})) :
|
|
1386
|
-
], 64)) : (
|
|
1387
|
-
w(s(
|
|
1388
|
-
title:
|
|
1389
|
-
onConfirm: (
|
|
1433
|
+
})) : B("", !0)
|
|
1434
|
+
], 64)) : (o(), F(Y, { key: 1 }, [
|
|
1435
|
+
w(s(Te), {
|
|
1436
|
+
title: L.confirmTitle,
|
|
1437
|
+
onConfirm: (v) => _(L)
|
|
1390
1438
|
}, {
|
|
1391
|
-
default:
|
|
1392
|
-
|
|
1393
|
-
|
|
1439
|
+
default: l(() => [
|
|
1440
|
+
be((o(), F("a", Ll, [
|
|
1441
|
+
I(y(L.label), 1)
|
|
1394
1442
|
])), [
|
|
1395
|
-
[
|
|
1443
|
+
[x, L.permissionsTag || null]
|
|
1396
1444
|
])
|
|
1397
1445
|
]),
|
|
1398
1446
|
_: 2
|
|
1399
1447
|
}, 1032, ["title", "onConfirm"]),
|
|
1400
|
-
|
|
1448
|
+
e.value && e.value.length > 0 || q !== f.value.length - 1 ? (o(), z(S, {
|
|
1401
1449
|
key: 0,
|
|
1402
1450
|
type: "vertical"
|
|
1403
|
-
})) :
|
|
1451
|
+
})) : B("", !0)
|
|
1404
1452
|
], 64))
|
|
1405
|
-
], 64)) : (
|
|
1406
|
-
|
|
1453
|
+
], 64)) : (o(), F(Y, { key: 1 }, [
|
|
1454
|
+
be((o(), F("a", {
|
|
1407
1455
|
href: "javascript:;",
|
|
1408
|
-
onClick: (
|
|
1456
|
+
onClick: (v) => _(L),
|
|
1409
1457
|
class: "hb-lib-table-main-action"
|
|
1410
1458
|
}, [
|
|
1411
|
-
|
|
1412
|
-
], 8,
|
|
1413
|
-
[
|
|
1459
|
+
I(y(L.label), 1)
|
|
1460
|
+
], 8, kl)), [
|
|
1461
|
+
[x, L.permissionsTag || null]
|
|
1414
1462
|
]),
|
|
1415
|
-
|
|
1463
|
+
e.value && e.value.length > 0 || q !== f.value.length - 1 ? (o(), z(S, {
|
|
1416
1464
|
key: 0,
|
|
1417
1465
|
type: "vertical"
|
|
1418
|
-
})) :
|
|
1466
|
+
})) : B("", !0)
|
|
1419
1467
|
], 64))
|
|
1420
1468
|
], 64))), 128)),
|
|
1421
|
-
|
|
1422
|
-
overlay:
|
|
1423
|
-
w(s(
|
|
1424
|
-
default:
|
|
1425
|
-
(
|
|
1426
|
-
key:
|
|
1469
|
+
e.value && e.value.length > 0 ? (o(), z(s(Qe), { key: 0 }, {
|
|
1470
|
+
overlay: l(() => [
|
|
1471
|
+
w(s(Ge), null, {
|
|
1472
|
+
default: l(() => [
|
|
1473
|
+
(o(!0), F(Y, null, ne(e.value, (L) => (o(), z(s(Je), {
|
|
1474
|
+
key: L.key
|
|
1427
1475
|
}, {
|
|
1428
|
-
default:
|
|
1429
|
-
|
|
1430
|
-
|
|
1476
|
+
default: l(() => [
|
|
1477
|
+
L.needConfirm ? (o(), F(Y, { key: 0 }, [
|
|
1478
|
+
L.confirmType === "modal" ? be((o(), F("a", {
|
|
1431
1479
|
key: 0,
|
|
1432
1480
|
href: "javascript:;",
|
|
1433
|
-
onClick: (
|
|
1481
|
+
onClick: (q) => O(L)
|
|
1434
1482
|
}, [
|
|
1435
|
-
|
|
1436
|
-
], 8,
|
|
1437
|
-
[
|
|
1438
|
-
]) : (
|
|
1483
|
+
I(y(L.label), 1)
|
|
1484
|
+
], 8, wl)), [
|
|
1485
|
+
[x, L.permissionsTag || null]
|
|
1486
|
+
]) : (o(), z(s(Te), {
|
|
1439
1487
|
key: 1,
|
|
1440
|
-
title:
|
|
1441
|
-
onConfirm: (
|
|
1488
|
+
title: L.confirmTitle,
|
|
1489
|
+
onConfirm: (q) => _(L)
|
|
1442
1490
|
}, {
|
|
1443
|
-
default:
|
|
1444
|
-
|
|
1445
|
-
|
|
1491
|
+
default: l(() => [
|
|
1492
|
+
be((o(), F("a", Fl, [
|
|
1493
|
+
I(y(L.label), 1)
|
|
1446
1494
|
])), [
|
|
1447
|
-
[
|
|
1495
|
+
[x, L.permissionsTag || null]
|
|
1448
1496
|
])
|
|
1449
1497
|
]),
|
|
1450
1498
|
_: 2
|
|
1451
1499
|
}, 1032, ["title", "onConfirm"]))
|
|
1452
|
-
], 64)) :
|
|
1500
|
+
], 64)) : be((o(), F("a", {
|
|
1453
1501
|
key: 1,
|
|
1454
1502
|
href: "javascript:;",
|
|
1455
|
-
onClick: (
|
|
1503
|
+
onClick: (q) => _(L)
|
|
1456
1504
|
}, [
|
|
1457
|
-
|
|
1458
|
-
], 8,
|
|
1459
|
-
[
|
|
1505
|
+
I(y(L.label), 1)
|
|
1506
|
+
], 8, xl)), [
|
|
1507
|
+
[x, L.permissionsTag || null]
|
|
1460
1508
|
])
|
|
1461
1509
|
]),
|
|
1462
1510
|
_: 2
|
|
@@ -1465,36 +1513,36 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1465
1513
|
_: 1
|
|
1466
1514
|
})
|
|
1467
1515
|
]),
|
|
1468
|
-
default:
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
w(s(
|
|
1516
|
+
default: l(() => [
|
|
1517
|
+
g("a", Sl, [
|
|
1518
|
+
I(y(M.$t("hbLibComp.hbTableAct.more")) + " ", 1),
|
|
1519
|
+
w(s(Ze), { style: { "font-size": "12px", "margin-left": "4px" } })
|
|
1472
1520
|
])
|
|
1473
1521
|
]),
|
|
1474
1522
|
_: 1
|
|
1475
|
-
})) :
|
|
1476
|
-
w(s(
|
|
1477
|
-
visible:
|
|
1478
|
-
title:
|
|
1523
|
+
})) : B("", !0),
|
|
1524
|
+
w(s(Ie), {
|
|
1525
|
+
visible: C.value,
|
|
1526
|
+
title: H.value.title,
|
|
1479
1527
|
"confirm-loading": h.value,
|
|
1480
|
-
onOk:
|
|
1481
|
-
onCancel:
|
|
1528
|
+
onOk: k,
|
|
1529
|
+
onCancel: N
|
|
1482
1530
|
}, {
|
|
1483
|
-
default:
|
|
1484
|
-
|
|
1531
|
+
default: l(() => [
|
|
1532
|
+
g("p", Tl, y(H.value.content), 1)
|
|
1485
1533
|
]),
|
|
1486
1534
|
_: 1
|
|
1487
1535
|
}, 8, ["visible", "title", "confirm-loading"])
|
|
1488
1536
|
]);
|
|
1489
1537
|
};
|
|
1490
1538
|
}
|
|
1491
|
-
}),
|
|
1492
|
-
const
|
|
1493
|
-
return !
|
|
1494
|
-
}) }),
|
|
1539
|
+
}), Ml = /* @__PURE__ */ ae($l, [["__scopeId", "data-v-a96574fa"]]), Il = le(Ml), Hl = (t) => ({ tableWidth: U(() => {
|
|
1540
|
+
const r = Array.isArray(t) ? t : t.value;
|
|
1541
|
+
return !r || r.length === 0 ? 0 : r.map((b) => b.width && Number(b.width.toString().replace("px", "")) || 0).reduce((b, C) => b + C, 0);
|
|
1542
|
+
}) }), Dl = {
|
|
1495
1543
|
key: 0,
|
|
1496
1544
|
class: "hb-lib-list-table-act"
|
|
1497
|
-
},
|
|
1545
|
+
}, Al = { class: "empty-container" }, Ol = /* @__PURE__ */ te({
|
|
1498
1546
|
name: "HbLibListTable",
|
|
1499
1547
|
__name: "HbListTable",
|
|
1500
1548
|
props: {
|
|
@@ -1503,21 +1551,21 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1503
1551
|
defaultWidth: { default: () => 150 },
|
|
1504
1552
|
tooltipPlacement: { default: () => "topLeft" }
|
|
1505
1553
|
},
|
|
1506
|
-
setup(
|
|
1507
|
-
const { t:
|
|
1508
|
-
|
|
1509
|
-
() =>
|
|
1510
|
-
(
|
|
1511
|
-
const
|
|
1512
|
-
|
|
1513
|
-
let
|
|
1514
|
-
if (
|
|
1515
|
-
|
|
1516
|
-
else if (typeof
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1554
|
+
setup(t) {
|
|
1555
|
+
const { t: m } = ce(), r = t, b = R([]), C = ze("HB_LIST_PAGE_CONTAINER"), { tableWidth: h } = Hl(U(() => r.columns));
|
|
1556
|
+
se(
|
|
1557
|
+
() => r.columns,
|
|
1558
|
+
(e) => {
|
|
1559
|
+
const _ = e.filter((O) => O != null && O.checked);
|
|
1560
|
+
b.value = _.map((O) => {
|
|
1561
|
+
let k = { ...O, title: O.title || O.label };
|
|
1562
|
+
if (k.ellipsis && !k.needTooltip && (k.needTooltip = !0), !k.width)
|
|
1563
|
+
k.width = r.defaultWidth;
|
|
1564
|
+
else if (typeof k.width == "string") {
|
|
1565
|
+
const N = parseInt(k.width, 10);
|
|
1566
|
+
k.width = isNaN(N) ? r.defaultWidth : N;
|
|
1519
1567
|
}
|
|
1520
|
-
return
|
|
1568
|
+
return k.resizable === void 0 && (k.resizable = !0), k;
|
|
1521
1569
|
});
|
|
1522
1570
|
},
|
|
1523
1571
|
{
|
|
@@ -1525,173 +1573,184 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1525
1573
|
deep: !0
|
|
1526
1574
|
}
|
|
1527
1575
|
);
|
|
1528
|
-
const
|
|
1529
|
-
if (
|
|
1530
|
-
const
|
|
1531
|
-
|
|
1576
|
+
const n = (e, _) => {
|
|
1577
|
+
if (_) {
|
|
1578
|
+
const O = typeof e == "string" ? parseInt(e, 10) : e;
|
|
1579
|
+
_.width = isNaN(O) ? 150 : O;
|
|
1532
1580
|
}
|
|
1533
|
-
},
|
|
1534
|
-
return (
|
|
1535
|
-
const
|
|
1536
|
-
return
|
|
1537
|
-
class: E(["hb-lib-list-table", { "nowrap-table":
|
|
1538
|
-
style:
|
|
1581
|
+
}, d = (e, _ = "YYYY-MM-DD HH:mm:ss") => e ? Se(e).format(_) : "", f = (e, _) => e && _[e] || "";
|
|
1582
|
+
return (e, _) => {
|
|
1583
|
+
const O = P("a-empty"), k = P("a-tooltip"), N = P("HbLibCopy"), H = P("a-tag"), M = P("a-table");
|
|
1584
|
+
return o(), F("div", {
|
|
1585
|
+
class: E(["hb-lib-list-table", { "nowrap-table": r.rowHeight }]),
|
|
1586
|
+
style: ke({ "--hb-lib-table-td-height": t.rowHeight && t.rowHeight + "px" || "" })
|
|
1539
1587
|
}, [
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
])) :
|
|
1544
|
-
w(
|
|
1588
|
+
e.$slots.tableActLeft ? (o(), F("section", Dl, [
|
|
1589
|
+
j(e.$slots, "tableActLeft", {}, void 0, !0),
|
|
1590
|
+
j(e.$slots, "tableActRight", {}, void 0, !0)
|
|
1591
|
+
])) : B("", !0),
|
|
1592
|
+
w(M, ee(e.$attrs, {
|
|
1545
1593
|
bordered: "",
|
|
1546
|
-
columns:
|
|
1547
|
-
onResizeColumn:
|
|
1594
|
+
columns: b.value,
|
|
1595
|
+
onResizeColumn: n,
|
|
1548
1596
|
scroll: {
|
|
1549
1597
|
x: s(h),
|
|
1550
|
-
y: s(
|
|
1598
|
+
y: s(C).tableHeight
|
|
1551
1599
|
}
|
|
1552
|
-
}),
|
|
1553
|
-
emptyText:
|
|
1554
|
-
|
|
1555
|
-
w(
|
|
1556
|
-
description: s(
|
|
1600
|
+
}), tt({
|
|
1601
|
+
emptyText: l(() => [
|
|
1602
|
+
g("div", Al, [
|
|
1603
|
+
w(O, {
|
|
1604
|
+
description: s(m)("hbLibComp.hbListTable.noData")
|
|
1557
1605
|
}, null, 8, ["description"])
|
|
1558
1606
|
])
|
|
1559
1607
|
]),
|
|
1560
1608
|
_: 2
|
|
1561
1609
|
}, [
|
|
1562
|
-
|
|
1610
|
+
e.$slots.headerCell ? {
|
|
1563
1611
|
name: "headerCell",
|
|
1564
|
-
fn:
|
|
1565
|
-
|
|
1566
|
-
|
|
1612
|
+
fn: l(({ column: a }) => [
|
|
1613
|
+
j(e.$slots, "headerCell", { column: a }, () => [
|
|
1614
|
+
I(y(a.title), 1)
|
|
1567
1615
|
], !0)
|
|
1568
1616
|
]),
|
|
1569
1617
|
key: "0"
|
|
1570
1618
|
} : void 0,
|
|
1571
|
-
|
|
1619
|
+
e.$slots.bodyCell ? {
|
|
1572
1620
|
name: "bodyCell",
|
|
1573
|
-
fn:
|
|
1574
|
-
|
|
1575
|
-
column:
|
|
1576
|
-
record:
|
|
1577
|
-
index:
|
|
1578
|
-
text:
|
|
1621
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1622
|
+
j(e.$slots, "bodyCell", {
|
|
1623
|
+
column: a,
|
|
1624
|
+
record: S,
|
|
1625
|
+
index: x,
|
|
1626
|
+
text: L
|
|
1579
1627
|
}, void 0, !0),
|
|
1580
|
-
|
|
1628
|
+
a && a.needTooltip ? (o(), z(k, {
|
|
1581
1629
|
key: 0,
|
|
1582
|
-
placement:
|
|
1630
|
+
placement: t.tooltipPlacement
|
|
1583
1631
|
}, {
|
|
1584
|
-
title:
|
|
1585
|
-
|
|
1632
|
+
title: l(() => [
|
|
1633
|
+
I(y(S[a.dataIndex]), 1)
|
|
1586
1634
|
]),
|
|
1587
|
-
default:
|
|
1588
|
-
|
|
1635
|
+
default: l(() => [
|
|
1636
|
+
I(" " + y(S[a.dataIndex]), 1)
|
|
1589
1637
|
]),
|
|
1590
1638
|
_: 2
|
|
1591
|
-
}, 1032, ["placement"])) :
|
|
1592
|
-
|
|
1639
|
+
}, 1032, ["placement"])) : B("", !0),
|
|
1640
|
+
a && a.needCopy ? (o(), z(N, {
|
|
1593
1641
|
key: 1,
|
|
1594
|
-
"cp-text":
|
|
1642
|
+
"cp-text": S[a.dataIndex],
|
|
1595
1643
|
style: { position: "relative" }
|
|
1596
|
-
}, null, 8, ["cp-text"])) :
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
], 64)) :
|
|
1644
|
+
}, null, 8, ["cp-text"])) : B("", !0),
|
|
1645
|
+
a && a.needFormat ? (o(), F(Y, { key: 2 }, [
|
|
1646
|
+
I(y(d(S[a.dataIndex], a.format)), 1)
|
|
1647
|
+
], 64)) : B("", !0),
|
|
1648
|
+
a && a.tags ? (o(), F(Y, { key: 3 }, [
|
|
1649
|
+
f(S[a.dataIndex], a.tags) ? (o(), z(H, {
|
|
1650
|
+
key: 0,
|
|
1651
|
+
color: f(S[a.dataIndex], a.tags)
|
|
1652
|
+
}, {
|
|
1653
|
+
default: l(() => [
|
|
1654
|
+
I(y(S[a.dataIndex]), 1)
|
|
1655
|
+
]),
|
|
1656
|
+
_: 2
|
|
1657
|
+
}, 1032, ["color"])) : B("", !0)
|
|
1658
|
+
], 64)) : B("", !0)
|
|
1600
1659
|
]),
|
|
1601
1660
|
key: "1"
|
|
1602
1661
|
} : void 0,
|
|
1603
|
-
|
|
1662
|
+
e.$slots.expandedRowRender ? {
|
|
1604
1663
|
name: "expandedRowRender",
|
|
1605
|
-
fn:
|
|
1606
|
-
|
|
1607
|
-
record:
|
|
1608
|
-
column:
|
|
1609
|
-
index:
|
|
1610
|
-
text:
|
|
1664
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1665
|
+
j(e.$slots, "expandedRowRender", {
|
|
1666
|
+
record: S,
|
|
1667
|
+
column: a,
|
|
1668
|
+
index: x,
|
|
1669
|
+
text: L
|
|
1611
1670
|
}, void 0, !0)
|
|
1612
1671
|
]),
|
|
1613
1672
|
key: "2"
|
|
1614
1673
|
} : void 0,
|
|
1615
|
-
|
|
1674
|
+
e.$slots.customFilterDropdown ? {
|
|
1616
1675
|
name: "customFilterDropdown",
|
|
1617
|
-
fn:
|
|
1618
|
-
|
|
1619
|
-
record:
|
|
1620
|
-
column:
|
|
1621
|
-
index:
|
|
1622
|
-
text:
|
|
1676
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1677
|
+
j(e.$slots, "customFilterDropdown", {
|
|
1678
|
+
record: S,
|
|
1679
|
+
column: a,
|
|
1680
|
+
index: x,
|
|
1681
|
+
text: L
|
|
1623
1682
|
}, void 0, !0)
|
|
1624
1683
|
]),
|
|
1625
1684
|
key: "3"
|
|
1626
1685
|
} : void 0,
|
|
1627
|
-
|
|
1686
|
+
e.$slots.customFilterIcon ? {
|
|
1628
1687
|
name: "customFilterIcon",
|
|
1629
|
-
fn:
|
|
1630
|
-
|
|
1631
|
-
record:
|
|
1632
|
-
column:
|
|
1633
|
-
index:
|
|
1634
|
-
text:
|
|
1688
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1689
|
+
j(e.$slots, "customFilterIcon", {
|
|
1690
|
+
record: S,
|
|
1691
|
+
column: a,
|
|
1692
|
+
index: x,
|
|
1693
|
+
text: L
|
|
1635
1694
|
}, void 0, !0)
|
|
1636
1695
|
]),
|
|
1637
1696
|
key: "4"
|
|
1638
1697
|
} : void 0,
|
|
1639
|
-
|
|
1698
|
+
e.$slots.expandIcon ? {
|
|
1640
1699
|
name: "expandIcon",
|
|
1641
|
-
fn:
|
|
1642
|
-
|
|
1643
|
-
record:
|
|
1644
|
-
column:
|
|
1645
|
-
index:
|
|
1646
|
-
text:
|
|
1700
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1701
|
+
j(e.$slots, "expandIcon", {
|
|
1702
|
+
record: S,
|
|
1703
|
+
column: a,
|
|
1704
|
+
index: x,
|
|
1705
|
+
text: L
|
|
1647
1706
|
}, void 0, !0)
|
|
1648
1707
|
]),
|
|
1649
1708
|
key: "5"
|
|
1650
1709
|
} : void 0,
|
|
1651
|
-
|
|
1710
|
+
e.$slots.footer ? {
|
|
1652
1711
|
name: "footer",
|
|
1653
|
-
fn:
|
|
1654
|
-
|
|
1655
|
-
record:
|
|
1656
|
-
column:
|
|
1657
|
-
index:
|
|
1658
|
-
text:
|
|
1712
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1713
|
+
j(e.$slots, "footer", {
|
|
1714
|
+
record: S,
|
|
1715
|
+
column: a,
|
|
1716
|
+
index: x,
|
|
1717
|
+
text: L
|
|
1659
1718
|
}, void 0, !0)
|
|
1660
1719
|
]),
|
|
1661
1720
|
key: "6"
|
|
1662
1721
|
} : void 0,
|
|
1663
|
-
|
|
1722
|
+
e.$slots.headerCell ? {
|
|
1664
1723
|
name: "headerCell",
|
|
1665
|
-
fn:
|
|
1666
|
-
|
|
1667
|
-
record:
|
|
1668
|
-
column:
|
|
1669
|
-
index:
|
|
1670
|
-
text:
|
|
1724
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1725
|
+
j(e.$slots, "headerCell", {
|
|
1726
|
+
record: S,
|
|
1727
|
+
column: a,
|
|
1728
|
+
index: x,
|
|
1729
|
+
text: L
|
|
1671
1730
|
}, void 0, !0)
|
|
1672
1731
|
]),
|
|
1673
1732
|
key: "7"
|
|
1674
1733
|
} : void 0,
|
|
1675
|
-
|
|
1734
|
+
e.$slots.summary ? {
|
|
1676
1735
|
name: "summary",
|
|
1677
|
-
fn:
|
|
1678
|
-
|
|
1679
|
-
record:
|
|
1680
|
-
column:
|
|
1681
|
-
index:
|
|
1682
|
-
text:
|
|
1736
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1737
|
+
j(e.$slots, "summary", {
|
|
1738
|
+
record: S,
|
|
1739
|
+
column: a,
|
|
1740
|
+
index: x,
|
|
1741
|
+
text: L
|
|
1683
1742
|
}, void 0, !0)
|
|
1684
1743
|
]),
|
|
1685
1744
|
key: "8"
|
|
1686
1745
|
} : void 0,
|
|
1687
|
-
|
|
1746
|
+
e.$slots.title ? {
|
|
1688
1747
|
name: "title",
|
|
1689
|
-
fn:
|
|
1690
|
-
|
|
1691
|
-
record:
|
|
1692
|
-
column:
|
|
1693
|
-
index:
|
|
1694
|
-
text:
|
|
1748
|
+
fn: l(({ column: a, record: S, index: x, text: L }) => [
|
|
1749
|
+
j(e.$slots, "title", {
|
|
1750
|
+
record: S,
|
|
1751
|
+
column: a,
|
|
1752
|
+
index: x,
|
|
1753
|
+
text: L
|
|
1695
1754
|
}, void 0, !0)
|
|
1696
1755
|
]),
|
|
1697
1756
|
key: "9"
|
|
@@ -1700,16 +1759,16 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1700
1759
|
], 6);
|
|
1701
1760
|
};
|
|
1702
1761
|
}
|
|
1703
|
-
}),
|
|
1762
|
+
}), zl = /* @__PURE__ */ ae(Ol, [["__scopeId", "data-v-f3061eae"]]), Bl = le(zl), Rl = { class: "hb-lib-table-setting-box" }, Pl = {
|
|
1704
1763
|
key: 0,
|
|
1705
1764
|
class: "hb-lib-table-drag-item"
|
|
1706
|
-
},
|
|
1765
|
+
}, Nl = {
|
|
1707
1766
|
key: 0,
|
|
1708
1767
|
class: "hb-lib-table-drag-item-act"
|
|
1709
|
-
},
|
|
1768
|
+
}, Ul = ["onClick"], Vl = ["onClick"], El = { class: "hb-lib-table-set-btn-group" }, Yl = {
|
|
1710
1769
|
class: "select-all-container",
|
|
1711
1770
|
style: { "margin-right": "10px" }
|
|
1712
|
-
},
|
|
1771
|
+
}, jl = /* @__PURE__ */ te({
|
|
1713
1772
|
name: "HbLibTableColumnSet",
|
|
1714
1773
|
__name: "HbTableColumnSet",
|
|
1715
1774
|
props: {
|
|
@@ -1741,119 +1800,119 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1741
1800
|
}
|
|
1742
1801
|
},
|
|
1743
1802
|
emits: ["on-get-columns"],
|
|
1744
|
-
setup(
|
|
1745
|
-
const
|
|
1746
|
-
|
|
1747
|
-
const
|
|
1748
|
-
|
|
1749
|
-
},
|
|
1750
|
-
const
|
|
1751
|
-
if (h.value.some((
|
|
1752
|
-
const
|
|
1753
|
-
if ((
|
|
1754
|
-
const
|
|
1755
|
-
|
|
1803
|
+
setup(t, { emit: m }) {
|
|
1804
|
+
const r = m, { t: b } = ce(), C = t, h = R([]), n = U(() => f.value.filter((v) => v.checked));
|
|
1805
|
+
R([]);
|
|
1806
|
+
const d = R(!1), f = R([]), e = R(null), _ = U(() => n.value.length > 0 && n.value.length === h.value.length), O = U(() => n.value.length > 0 && n.value.length < h.value.length), k = (v) => {
|
|
1807
|
+
e.value = v.oldIndex;
|
|
1808
|
+
}, N = (v) => {
|
|
1809
|
+
const u = v.newIndex;
|
|
1810
|
+
if (h.value.some((i) => i.fixed === "left" || i.fixed === "right" || i.fixed === !0)) {
|
|
1811
|
+
const i = h.value.filter((V) => V.fixed === "left").length, T = h.value.length - h.value.filter((V) => V.fixed === "right").length;
|
|
1812
|
+
if ((i > 0 && u < i || T < h.value.length && u >= T) && (Oe.warning(b("hbLibComp.hbLibListTableColumsSet.errorTip")), e.value !== null)) {
|
|
1813
|
+
const V = f.value.splice(u, 1)[0];
|
|
1814
|
+
f.value.splice(e.value, 0, V);
|
|
1756
1815
|
}
|
|
1757
1816
|
}
|
|
1758
|
-
|
|
1759
|
-
},
|
|
1760
|
-
|
|
1761
|
-
},
|
|
1762
|
-
|
|
1763
|
-
},
|
|
1764
|
-
h.value = [...
|
|
1765
|
-
},
|
|
1766
|
-
h.value =
|
|
1767
|
-
...
|
|
1768
|
-
label:
|
|
1769
|
-
value:
|
|
1770
|
-
checked:
|
|
1771
|
-
})),
|
|
1772
|
-
let
|
|
1773
|
-
|
|
1774
|
-
|
|
1817
|
+
e.value = null;
|
|
1818
|
+
}, H = (v) => {
|
|
1819
|
+
v.target.checked ? f.value.forEach((p) => p.checked = !0) : f.value.forEach((p) => p.checked = !1);
|
|
1820
|
+
}, M = (v, u) => {
|
|
1821
|
+
u ? v.checked = !0 : v.checked = !1;
|
|
1822
|
+
}, a = () => {
|
|
1823
|
+
h.value = [...f.value], r("on-get-columns", h.value), d.value = !1;
|
|
1824
|
+
}, S = () => {
|
|
1825
|
+
h.value = C.tableColumns.map((u) => ({
|
|
1826
|
+
...u,
|
|
1827
|
+
label: u.title && u.title.tag ? x(u.title) : u.title || u.title2,
|
|
1828
|
+
value: u.dataIndex,
|
|
1829
|
+
checked: u.checked || u.checked === void 0
|
|
1830
|
+
})), f.value = [...h.value];
|
|
1831
|
+
let v = [];
|
|
1832
|
+
C.tableColumns.forEach(function(u) {
|
|
1833
|
+
v.push(u.dataIndex);
|
|
1775
1834
|
});
|
|
1776
|
-
},
|
|
1777
|
-
delete
|
|
1778
|
-
const
|
|
1779
|
-
if (
|
|
1780
|
-
let
|
|
1781
|
-
for (let
|
|
1782
|
-
|
|
1783
|
-
if (
|
|
1784
|
-
const
|
|
1785
|
-
|
|
1835
|
+
}, x = (v) => v.children[0].text, L = (v) => {
|
|
1836
|
+
delete v.fixed;
|
|
1837
|
+
const u = f.value.findIndex((p) => p.value === v.value);
|
|
1838
|
+
if (u !== -1) {
|
|
1839
|
+
let p = -1;
|
|
1840
|
+
for (let i = 0; i < f.value.length; i++)
|
|
1841
|
+
f.value[i].fixed === "left" && (p = i);
|
|
1842
|
+
if (p !== -1 && u !== p + 1) {
|
|
1843
|
+
const i = [...f.value], [T] = i.splice(u, 1);
|
|
1844
|
+
i.splice(p + 1, 0, T), f.value = i;
|
|
1786
1845
|
}
|
|
1787
1846
|
}
|
|
1788
|
-
},
|
|
1789
|
-
const
|
|
1790
|
-
if (
|
|
1791
|
-
let
|
|
1792
|
-
for (let
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1847
|
+
}, q = (v) => {
|
|
1848
|
+
const u = f.value.findIndex((p) => p.value === v.value);
|
|
1849
|
+
if (u !== -1) {
|
|
1850
|
+
let p = -1;
|
|
1851
|
+
for (let Q = 0; Q < f.value.length; Q++)
|
|
1852
|
+
f.value[Q].fixed === "left" && (p = Q);
|
|
1853
|
+
const i = [...f.value], [T] = i.splice(u, 1);
|
|
1854
|
+
T.fixed = "left";
|
|
1855
|
+
const V = p === -1 ? 0 : p + 1;
|
|
1856
|
+
i.splice(V, 0, T), f.value = i;
|
|
1798
1857
|
}
|
|
1799
1858
|
};
|
|
1800
|
-
return
|
|
1801
|
-
() =>
|
|
1859
|
+
return se(
|
|
1860
|
+
() => C.tableColumns,
|
|
1802
1861
|
() => {
|
|
1803
|
-
|
|
1862
|
+
S();
|
|
1804
1863
|
},
|
|
1805
1864
|
{
|
|
1806
1865
|
immediate: !0,
|
|
1807
1866
|
deep: !0
|
|
1808
1867
|
}
|
|
1809
|
-
), (
|
|
1810
|
-
const
|
|
1811
|
-
return
|
|
1812
|
-
w(s(
|
|
1813
|
-
title: s(
|
|
1868
|
+
), (v, u) => {
|
|
1869
|
+
const p = P("a-tooltip"), i = P("a-button");
|
|
1870
|
+
return o(), F("div", Rl, [
|
|
1871
|
+
w(s(ft), {
|
|
1872
|
+
title: s(b)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),
|
|
1814
1873
|
trigger: "click",
|
|
1815
1874
|
placement: "leftTop",
|
|
1816
|
-
overlayClassName: "
|
|
1817
|
-
visible:
|
|
1818
|
-
"onUpdate:visible":
|
|
1875
|
+
overlayClassName: "column_setting_popover",
|
|
1876
|
+
visible: d.value,
|
|
1877
|
+
"onUpdate:visible": u[1] || (u[1] = (T) => d.value = T)
|
|
1819
1878
|
}, {
|
|
1820
|
-
content:
|
|
1821
|
-
w(s(
|
|
1822
|
-
modelValue:
|
|
1823
|
-
"onUpdate:modelValue":
|
|
1879
|
+
content: l(() => [
|
|
1880
|
+
w(s(ye), {
|
|
1881
|
+
modelValue: f.value,
|
|
1882
|
+
"onUpdate:modelValue": u[0] || (u[0] = (T) => f.value = T),
|
|
1824
1883
|
"item-key": "value",
|
|
1825
1884
|
class: "hb-lib-table-set-drag",
|
|
1826
1885
|
"ghost-class": "ghost",
|
|
1827
1886
|
animation: "200",
|
|
1828
1887
|
handle: ".drag-handle",
|
|
1829
|
-
onStart:
|
|
1830
|
-
onEnd:
|
|
1888
|
+
onStart: k,
|
|
1889
|
+
onEnd: N
|
|
1831
1890
|
}, {
|
|
1832
|
-
item:
|
|
1833
|
-
|
|
1834
|
-
w(s(
|
|
1835
|
-
checked:
|
|
1836
|
-
onChange: (
|
|
1891
|
+
item: l(({ element: T }) => [
|
|
1892
|
+
T.fixed !== "right" ? (o(), F("div", Pl, [
|
|
1893
|
+
w(s(Ce), {
|
|
1894
|
+
checked: T.checked,
|
|
1895
|
+
onChange: (V) => M(T, V.target.checked)
|
|
1837
1896
|
}, {
|
|
1838
|
-
default:
|
|
1839
|
-
|
|
1897
|
+
default: l(() => [
|
|
1898
|
+
I(y(T.label), 1)
|
|
1840
1899
|
]),
|
|
1841
1900
|
_: 2
|
|
1842
1901
|
}, 1032, ["checked", "onChange"]),
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
class: E(
|
|
1902
|
+
T.checked ? (o(), F("section", Nl, [
|
|
1903
|
+
g("span", {
|
|
1904
|
+
class: E(T.fixed ? "drag-hide" : "drag-handle")
|
|
1846
1905
|
}, "⋮⋮", 2),
|
|
1847
|
-
|
|
1848
|
-
title:
|
|
1849
|
-
|
|
1906
|
+
T.fixed ? (o(), z(p, { key: 0 }, {
|
|
1907
|
+
title: l(() => [
|
|
1908
|
+
I(y(s(b)("hbLibComp.hbLibListTableColumsSet.cancelFix")), 1)
|
|
1850
1909
|
]),
|
|
1851
|
-
default:
|
|
1852
|
-
|
|
1910
|
+
default: l(() => [
|
|
1911
|
+
g("span", {
|
|
1853
1912
|
class: "hb-lib-table-drag-item-act-btn",
|
|
1854
|
-
onClick: (
|
|
1855
|
-
}, [...
|
|
1856
|
-
|
|
1913
|
+
onClick: (V) => L(T)
|
|
1914
|
+
}, [...u[2] || (u[2] = [
|
|
1915
|
+
g("svg", {
|
|
1857
1916
|
t: "1759048615600",
|
|
1858
1917
|
class: "icon",
|
|
1859
1918
|
viewBox: "0 0 1024 1024",
|
|
@@ -1863,26 +1922,26 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1863
1922
|
width: "200",
|
|
1864
1923
|
height: "200"
|
|
1865
1924
|
}, [
|
|
1866
|
-
|
|
1925
|
+
g("path", {
|
|
1867
1926
|
d: "M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z",
|
|
1868
1927
|
"p-id": "7284",
|
|
1869
1928
|
fill: "#ff5000"
|
|
1870
1929
|
})
|
|
1871
1930
|
], -1)
|
|
1872
|
-
])], 8,
|
|
1931
|
+
])], 8, Ul)
|
|
1873
1932
|
]),
|
|
1874
1933
|
_: 2
|
|
1875
|
-
}, 1024)) :
|
|
1876
|
-
|
|
1877
|
-
title:
|
|
1878
|
-
|
|
1934
|
+
}, 1024)) : B("", !0),
|
|
1935
|
+
T.fixed ? B("", !0) : (o(), z(p, { key: 1 }, {
|
|
1936
|
+
title: l(() => [
|
|
1937
|
+
I(y(s(b)("hbLibComp.hbLibListTableColumsSet.fix")), 1)
|
|
1879
1938
|
]),
|
|
1880
|
-
default:
|
|
1881
|
-
|
|
1939
|
+
default: l(() => [
|
|
1940
|
+
g("span", {
|
|
1882
1941
|
class: "hb-lib-table-drag-item-act-btn",
|
|
1883
|
-
onClick: (
|
|
1884
|
-
}, [...
|
|
1885
|
-
|
|
1942
|
+
onClick: (V) => q(T)
|
|
1943
|
+
}, [...u[3] || (u[3] = [
|
|
1944
|
+
g("svg", {
|
|
1886
1945
|
t: "1759048735643",
|
|
1887
1946
|
class: "icon",
|
|
1888
1947
|
viewBox: "0 0 1024 1024",
|
|
@@ -1892,53 +1951,53 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1892
1951
|
width: "200",
|
|
1893
1952
|
height: "200"
|
|
1894
1953
|
}, [
|
|
1895
|
-
|
|
1954
|
+
g("path", {
|
|
1896
1955
|
d: "M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z",
|
|
1897
1956
|
"p-id": "7482",
|
|
1898
1957
|
fill: "#ff5000"
|
|
1899
1958
|
})
|
|
1900
1959
|
], -1)
|
|
1901
|
-
])], 8,
|
|
1960
|
+
])], 8, Vl)
|
|
1902
1961
|
]),
|
|
1903
1962
|
_: 2
|
|
1904
1963
|
}, 1024))
|
|
1905
|
-
])) :
|
|
1906
|
-
])) :
|
|
1964
|
+
])) : B("", !0)
|
|
1965
|
+
])) : B("", !0)
|
|
1907
1966
|
]),
|
|
1908
1967
|
_: 1
|
|
1909
1968
|
}, 8, ["modelValue"]),
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
w(s(
|
|
1913
|
-
checked:
|
|
1914
|
-
indeterminate:
|
|
1915
|
-
onChange:
|
|
1969
|
+
g("div", El, [
|
|
1970
|
+
g("div", Yl, [
|
|
1971
|
+
w(s(Ce), {
|
|
1972
|
+
checked: _.value,
|
|
1973
|
+
indeterminate: O.value,
|
|
1974
|
+
onChange: H
|
|
1916
1975
|
}, {
|
|
1917
|
-
default:
|
|
1918
|
-
|
|
1976
|
+
default: l(() => [
|
|
1977
|
+
I(y(s(b)("hbLibComp.hbLibListTableColumsSet.allSelect")), 1)
|
|
1919
1978
|
]),
|
|
1920
1979
|
_: 1
|
|
1921
1980
|
}, 8, ["checked", "indeterminate"])
|
|
1922
1981
|
]),
|
|
1923
|
-
w(
|
|
1924
|
-
onClick:
|
|
1982
|
+
w(i, {
|
|
1983
|
+
onClick: a,
|
|
1925
1984
|
type: "primary"
|
|
1926
1985
|
}, {
|
|
1927
|
-
default:
|
|
1928
|
-
|
|
1986
|
+
default: l(() => [
|
|
1987
|
+
I(y(s(b)("hbLibComp.hbLibListTableColumsSet.confirm")), 1)
|
|
1929
1988
|
]),
|
|
1930
1989
|
_: 1
|
|
1931
1990
|
})
|
|
1932
1991
|
])
|
|
1933
1992
|
]),
|
|
1934
|
-
default:
|
|
1935
|
-
w(
|
|
1936
|
-
title: s(
|
|
1993
|
+
default: l(() => [
|
|
1994
|
+
w(p, {
|
|
1995
|
+
title: s(b)("hbLibComp.hbLibListTableColumsSet.title"),
|
|
1937
1996
|
placement: "leftTop"
|
|
1938
1997
|
}, {
|
|
1939
|
-
default:
|
|
1940
|
-
|
|
1941
|
-
|
|
1998
|
+
default: l(() => [...u[4] || (u[4] = [
|
|
1999
|
+
g("span", { class: "hb-lib-table-col-set" }, [
|
|
2000
|
+
g("svg", {
|
|
1942
2001
|
t: "1759041858618",
|
|
1943
2002
|
class: "icon",
|
|
1944
2003
|
viewBox: "0 0 1024 1024",
|
|
@@ -1948,12 +2007,12 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1948
2007
|
width: "200",
|
|
1949
2008
|
height: "200"
|
|
1950
2009
|
}, [
|
|
1951
|
-
|
|
2010
|
+
g("path", {
|
|
1952
2011
|
d: "M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z",
|
|
1953
2012
|
"p-id": "5220",
|
|
1954
2013
|
fill: "#ff5000"
|
|
1955
2014
|
}),
|
|
1956
|
-
|
|
2015
|
+
g("path", {
|
|
1957
2016
|
d: "M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z",
|
|
1958
2017
|
"p-id": "5221",
|
|
1959
2018
|
fill: "#ff5000"
|
|
@@ -1969,23 +2028,23 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1969
2028
|
]);
|
|
1970
2029
|
};
|
|
1971
2030
|
}
|
|
1972
|
-
}),
|
|
2031
|
+
}), ql = /* @__PURE__ */ ae(jl, [["__scopeId", "data-v-772844f6"]]), Kl = le(ql), Wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1973
2032
|
__proto__: null,
|
|
1974
|
-
HbLibFormItemFilterModal:
|
|
1975
|
-
HbLibListBtnsAct:
|
|
1976
|
-
HbLibListForm:
|
|
1977
|
-
HbLibListMultiSelect:
|
|
1978
|
-
HbLibListPageAct:
|
|
1979
|
-
HbLibListPageContainer:
|
|
1980
|
-
HbLibListTable:
|
|
1981
|
-
HbLibMutilpleSelectModal:
|
|
1982
|
-
HbLibTableAct:
|
|
1983
|
-
HbLibTableColumnSet:
|
|
1984
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2033
|
+
HbLibFormItemFilterModal: It,
|
|
2034
|
+
HbLibListBtnsAct: Jt,
|
|
2035
|
+
HbLibListForm: Ot,
|
|
2036
|
+
HbLibListMultiSelect: ml,
|
|
2037
|
+
HbLibListPageAct: Et,
|
|
2038
|
+
HbLibListPageContainer: Zt,
|
|
2039
|
+
HbLibListTable: Bl,
|
|
2040
|
+
HbLibMutilpleSelectModal: yl,
|
|
2041
|
+
HbLibTableAct: Il,
|
|
2042
|
+
HbLibTableColumnSet: Kl
|
|
2043
|
+
}, Symbol.toStringTag, { value: "Module" })), Jl = /* @__PURE__ */ te({
|
|
1985
2044
|
name: "HbLibFormTooltipSelect",
|
|
1986
2045
|
inheritAttrs: !1,
|
|
1987
2046
|
__name: "HbTooltipSelect",
|
|
1988
|
-
props: /* @__PURE__ */
|
|
2047
|
+
props: /* @__PURE__ */ $e({
|
|
1989
2048
|
options: { default: () => [] },
|
|
1990
2049
|
tooltipPlacement: { default: "right" },
|
|
1991
2050
|
tooltipMaxWidth: { default: 280 },
|
|
@@ -1998,17 +2057,17 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
1998
2057
|
valueModifiers: {}
|
|
1999
2058
|
}),
|
|
2000
2059
|
emits: ["update:value"],
|
|
2001
|
-
setup(
|
|
2002
|
-
const
|
|
2003
|
-
const
|
|
2060
|
+
setup(t, { expose: m }) {
|
|
2061
|
+
const r = t, b = dt(), C = U(() => {
|
|
2062
|
+
const H = b, M = H.dropdownClassName;
|
|
2004
2063
|
return {
|
|
2005
|
-
...
|
|
2006
|
-
dropdownClassName:
|
|
2064
|
+
...H,
|
|
2065
|
+
dropdownClassName: M ?? "hb_lib_form_tooltip_select__dropdown"
|
|
2007
2066
|
};
|
|
2008
|
-
}), h =
|
|
2009
|
-
maxWidth: typeof
|
|
2010
|
-
})),
|
|
2011
|
-
return
|
|
2067
|
+
}), h = R(), n = lt(t, "value"), d = U(() => r.options ?? []), f = U(() => ({
|
|
2068
|
+
maxWidth: typeof r.tooltipMaxWidth == "number" ? `${r.tooltipMaxWidth}px` : r.tooltipMaxWidth
|
|
2069
|
+
})), e = (H) => H.tooltip ?? H.label, _ = (H) => H.key ?? H.label, O = (H) => !!(r.enableTooltip && e(H));
|
|
2070
|
+
return m({
|
|
2012
2071
|
focus: () => {
|
|
2013
2072
|
h.value?.focus?.();
|
|
2014
2073
|
},
|
|
@@ -2016,37 +2075,37 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2016
2075
|
h.value?.blur?.();
|
|
2017
2076
|
},
|
|
2018
2077
|
selectRef: h
|
|
2019
|
-
}), (
|
|
2078
|
+
}), (H, M) => (o(), z(s(De), ee({
|
|
2020
2079
|
ref_key: "selectRef",
|
|
2021
2080
|
ref: h,
|
|
2022
2081
|
class: "hb_lib_form_tooltip_select"
|
|
2023
|
-
},
|
|
2024
|
-
value:
|
|
2025
|
-
"onUpdate:value":
|
|
2082
|
+
}, C.value, {
|
|
2083
|
+
value: n.value,
|
|
2084
|
+
"onUpdate:value": M[0] || (M[0] = (a) => n.value = a)
|
|
2026
2085
|
}), {
|
|
2027
|
-
default:
|
|
2028
|
-
|
|
2029
|
-
key:
|
|
2030
|
-
value:
|
|
2031
|
-
disabled:
|
|
2032
|
-
}, { ref_for: !0 },
|
|
2033
|
-
default:
|
|
2034
|
-
|
|
2086
|
+
default: l(() => [
|
|
2087
|
+
H.$slots.default ? j(H.$slots, "default", { key: 0 }, void 0, !0) : (o(!0), F(Y, { key: 1 }, ne(d.value, (a) => (o(), z(s(Ae), ee({
|
|
2088
|
+
key: _(a),
|
|
2089
|
+
value: a.value,
|
|
2090
|
+
disabled: a.disabled
|
|
2091
|
+
}, { ref_for: !0 }, a.optionProps), {
|
|
2092
|
+
default: l(() => [
|
|
2093
|
+
O(a) ? (o(), z(s(He), {
|
|
2035
2094
|
key: 0,
|
|
2036
|
-
title: a
|
|
2037
|
-
placement:
|
|
2038
|
-
overlayStyle:
|
|
2095
|
+
title: e(a),
|
|
2096
|
+
placement: r.tooltipPlacement,
|
|
2097
|
+
overlayStyle: f.value
|
|
2039
2098
|
}, {
|
|
2040
|
-
default:
|
|
2041
|
-
|
|
2042
|
-
class: E(["hb_lib_form_tooltip_select__option", { "is-ellipsis":
|
|
2043
|
-
},
|
|
2099
|
+
default: l(() => [
|
|
2100
|
+
g("span", {
|
|
2101
|
+
class: E(["hb_lib_form_tooltip_select__option", { "is-ellipsis": r.enableEllipsis }])
|
|
2102
|
+
}, y(a.label), 3)
|
|
2044
2103
|
]),
|
|
2045
2104
|
_: 2
|
|
2046
|
-
}, 1032, ["title", "placement", "overlayStyle"])) : (
|
|
2105
|
+
}, 1032, ["title", "placement", "overlayStyle"])) : (o(), F("span", {
|
|
2047
2106
|
key: 1,
|
|
2048
|
-
class: E(["hb_lib_form_tooltip_select__option", { "is-ellipsis":
|
|
2049
|
-
},
|
|
2107
|
+
class: E(["hb_lib_form_tooltip_select__option", { "is-ellipsis": r.enableEllipsis }])
|
|
2108
|
+
}, y(a.label), 3))
|
|
2050
2109
|
]),
|
|
2051
2110
|
_: 2
|
|
2052
2111
|
}, 1040, ["value", "disabled"]))), 128))
|
|
@@ -2054,13 +2113,13 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2054
2113
|
_: 3
|
|
2055
2114
|
}, 16, ["value"]));
|
|
2056
2115
|
}
|
|
2057
|
-
}),
|
|
2116
|
+
}), Gl = /* @__PURE__ */ ae(Jl, [["__scopeId", "data-v-b04f5675"]]), Ql = le(Gl), Zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2058
2117
|
__proto__: null,
|
|
2059
|
-
HbLibFormTooltipSelect:
|
|
2060
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2118
|
+
HbLibFormTooltipSelect: Ql
|
|
2119
|
+
}, Symbol.toStringTag, { value: "Module" })), Xl = { class: "ant-upload-drag-icon" }, eo = { class: "ant-upload-text" }, to = { style: { color: "#ff5000" } }, lo = { class: "ant-upload-hint" }, oo = {
|
|
2061
2120
|
key: 0,
|
|
2062
2121
|
class: "hb_import_btn"
|
|
2063
|
-
},
|
|
2122
|
+
}, ao = ["href"], no = /* @__PURE__ */ te({
|
|
2064
2123
|
name: "HbLibImportFile",
|
|
2065
2124
|
__name: "HbImportFile",
|
|
2066
2125
|
props: {
|
|
@@ -2075,79 +2134,79 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2075
2134
|
beforeUpload: {},
|
|
2076
2135
|
beforeSubmit: {}
|
|
2077
2136
|
},
|
|
2078
|
-
setup(
|
|
2079
|
-
const { t:
|
|
2137
|
+
setup(t, { expose: m }) {
|
|
2138
|
+
const { t: r } = ce(), b = R(), C = t, h = R(!1), n = _e({
|
|
2080
2139
|
fileList: [],
|
|
2081
2140
|
visible: !1
|
|
2082
|
-
}),
|
|
2083
|
-
if (
|
|
2141
|
+
}), d = (k) => {
|
|
2142
|
+
if (k == null)
|
|
2084
2143
|
return;
|
|
2085
|
-
const
|
|
2086
|
-
if (
|
|
2087
|
-
const
|
|
2088
|
-
|
|
2144
|
+
const N = n.fileList.indexOf(k);
|
|
2145
|
+
if (N !== -1) {
|
|
2146
|
+
const H = n.fileList.slice();
|
|
2147
|
+
H.splice(N, 1), n.fileList = H;
|
|
2089
2148
|
}
|
|
2090
|
-
},
|
|
2091
|
-
|
|
2092
|
-
},
|
|
2093
|
-
|
|
2094
|
-
|
|
2149
|
+
}, f = () => {
|
|
2150
|
+
n.visible = !1, n.fileList = [], h.value = !1;
|
|
2151
|
+
}, e = (k) => (n.fileList = [k], C.beforeUpload ? C.beforeUpload(k) : !1), _ = () => {
|
|
2152
|
+
b.value.validateFields().then(() => {
|
|
2153
|
+
C.beforeSubmit && (h.value = !0, C.beforeSubmit(n.fileList).then((k) => {
|
|
2095
2154
|
}).finally(() => {
|
|
2096
2155
|
h.value = !1;
|
|
2097
2156
|
}));
|
|
2098
2157
|
});
|
|
2099
|
-
},
|
|
2100
|
-
|
|
2158
|
+
}, O = () => {
|
|
2159
|
+
n.visible = !0;
|
|
2101
2160
|
};
|
|
2102
|
-
return
|
|
2103
|
-
handleCancel:
|
|
2104
|
-
openModal:
|
|
2161
|
+
return m({
|
|
2162
|
+
handleCancel: f,
|
|
2163
|
+
openModal: O,
|
|
2105
2164
|
// 注意这里如果要想直接导出的数据是响应式 只能用ref来定义
|
|
2106
2165
|
confirmLoading: h
|
|
2107
|
-
}), (
|
|
2108
|
-
const
|
|
2109
|
-
return
|
|
2110
|
-
w(
|
|
2111
|
-
title:
|
|
2112
|
-
visible:
|
|
2113
|
-
"onUpdate:visible":
|
|
2166
|
+
}), (k, N) => {
|
|
2167
|
+
const H = P("a-upload-dragger"), M = P("a-form-item"), a = P("a-form"), S = P("a-modal"), x = P("a-button");
|
|
2168
|
+
return o(), F(Y, null, [
|
|
2169
|
+
w(S, ee({
|
|
2170
|
+
title: C.title,
|
|
2171
|
+
visible: n.visible,
|
|
2172
|
+
"onUpdate:visible": N[0] || (N[0] = (L) => n.visible = L),
|
|
2114
2173
|
"confirm-loading": h.value
|
|
2115
|
-
},
|
|
2116
|
-
onCancel:
|
|
2117
|
-
onOk:
|
|
2118
|
-
width:
|
|
2174
|
+
}, k.$attrs, {
|
|
2175
|
+
onCancel: f,
|
|
2176
|
+
onOk: _,
|
|
2177
|
+
width: C.modalWidth
|
|
2119
2178
|
}), {
|
|
2120
|
-
default:
|
|
2121
|
-
w(
|
|
2179
|
+
default: l(() => [
|
|
2180
|
+
w(a, {
|
|
2122
2181
|
ref_key: "modalFormRef",
|
|
2123
|
-
ref:
|
|
2124
|
-
model:
|
|
2182
|
+
ref: b,
|
|
2183
|
+
model: n
|
|
2125
2184
|
}, {
|
|
2126
|
-
default:
|
|
2127
|
-
w(
|
|
2185
|
+
default: l(() => [
|
|
2186
|
+
w(M, {
|
|
2128
2187
|
name: "fileList",
|
|
2129
|
-
label: s(
|
|
2130
|
-
rules: [{ required:
|
|
2188
|
+
label: s(r)("hbLibComp.HbImportFile.fileLabel"),
|
|
2189
|
+
rules: [{ required: C.isRequired, message: s(r)("hbLibComp.HbImportFile.clickUp") }]
|
|
2131
2190
|
}, {
|
|
2132
|
-
default:
|
|
2133
|
-
w(
|
|
2134
|
-
maxCount:
|
|
2135
|
-
multiple:
|
|
2136
|
-
accept:
|
|
2191
|
+
default: l(() => [
|
|
2192
|
+
w(H, {
|
|
2193
|
+
maxCount: C.maxCount,
|
|
2194
|
+
multiple: C.multiple,
|
|
2195
|
+
accept: C.acceptFile,
|
|
2137
2196
|
name: "file",
|
|
2138
|
-
fileList:
|
|
2139
|
-
onRemove:
|
|
2140
|
-
beforeUpload:
|
|
2197
|
+
fileList: n.fileList,
|
|
2198
|
+
onRemove: d,
|
|
2199
|
+
beforeUpload: e
|
|
2141
2200
|
}, {
|
|
2142
|
-
default:
|
|
2143
|
-
|
|
2144
|
-
w(s(
|
|
2201
|
+
default: l(() => [
|
|
2202
|
+
g("p", Xl, [
|
|
2203
|
+
w(s(Lt), { style: { "font-size": "37px" } })
|
|
2145
2204
|
]),
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2205
|
+
g("p", eo, [
|
|
2206
|
+
I(y(s(r)("hbLibComp.HbImportFile.uploadText")), 1),
|
|
2207
|
+
g("span", to, y(s(r)("hbLibComp.HbImportFile.clickUp")), 1)
|
|
2149
2208
|
]),
|
|
2150
|
-
|
|
2209
|
+
g("p", lo, y(s(r)("hbLibComp.HbFileUploadModal.format")) + ": " + y(C.acceptFile), 1)
|
|
2151
2210
|
]),
|
|
2152
2211
|
_: 1
|
|
2153
2212
|
}, 8, ["maxCount", "multiple", "accept", "fileList"])
|
|
@@ -2157,22 +2216,22 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2157
2216
|
]),
|
|
2158
2217
|
_: 1
|
|
2159
2218
|
}, 8, ["model"]),
|
|
2160
|
-
|
|
2161
|
-
|
|
2219
|
+
C.templateUrl ? (o(), F("p", oo, [
|
|
2220
|
+
g("a", {
|
|
2162
2221
|
download: "Import_number-template.xlsx",
|
|
2163
|
-
href:
|
|
2164
|
-
},
|
|
2165
|
-
])) :
|
|
2222
|
+
href: C.templateUrl
|
|
2223
|
+
}, y(s(r)("hbLibComp.HbImportFile.downloadTemplate")), 9, ao)
|
|
2224
|
+
])) : B("", !0)
|
|
2166
2225
|
]),
|
|
2167
2226
|
_: 1
|
|
2168
2227
|
}, 16, ["title", "visible", "confirm-loading", "width"]),
|
|
2169
|
-
|
|
2170
|
-
w(
|
|
2171
|
-
onClick:
|
|
2228
|
+
j(k.$slots, "default", {}, () => [
|
|
2229
|
+
w(x, {
|
|
2230
|
+
onClick: O,
|
|
2172
2231
|
type: "primary"
|
|
2173
2232
|
}, {
|
|
2174
|
-
default:
|
|
2175
|
-
|
|
2233
|
+
default: l(() => [
|
|
2234
|
+
I(y(t.btnText), 1)
|
|
2176
2235
|
]),
|
|
2177
2236
|
_: 1
|
|
2178
2237
|
})
|
|
@@ -2180,10 +2239,10 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2180
2239
|
], 64);
|
|
2181
2240
|
};
|
|
2182
2241
|
}
|
|
2183
|
-
}),
|
|
2242
|
+
}), so = /* @__PURE__ */ ae(no, [["__scopeId", "data-v-47fe70d9"]]), io = le(so), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2184
2243
|
__proto__: null,
|
|
2185
|
-
HbLibImportFile:
|
|
2186
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2244
|
+
HbLibImportFile: io
|
|
2245
|
+
}, Symbol.toStringTag, { value: "Module" })), co = {
|
|
2187
2246
|
// 如果存在cpText时,K和V无效
|
|
2188
2247
|
cpText: {
|
|
2189
2248
|
type: String,
|
|
@@ -2224,52 +2283,52 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2224
2283
|
type: String,
|
|
2225
2284
|
default: "ab"
|
|
2226
2285
|
}
|
|
2227
|
-
},
|
|
2286
|
+
}, uo = /* @__PURE__ */ te({
|
|
2228
2287
|
name: "HbLibCopy",
|
|
2229
2288
|
__name: "copy",
|
|
2230
|
-
props:
|
|
2231
|
-
setup(
|
|
2232
|
-
const
|
|
2233
|
-
|
|
2234
|
-
|
|
2289
|
+
props: co,
|
|
2290
|
+
setup(t) {
|
|
2291
|
+
const m = t, r = R();
|
|
2292
|
+
ut(() => {
|
|
2293
|
+
r.value = m.data;
|
|
2235
2294
|
});
|
|
2236
|
-
const
|
|
2237
|
-
if (
|
|
2295
|
+
const b = U(() => {
|
|
2296
|
+
if (m.cpText) return m.cpText;
|
|
2238
2297
|
let h = "";
|
|
2239
|
-
if (
|
|
2240
|
-
if (Array.isArray(
|
|
2241
|
-
if (
|
|
2242
|
-
const
|
|
2243
|
-
h =
|
|
2298
|
+
if (m.data)
|
|
2299
|
+
if (Array.isArray(m.data)) {
|
|
2300
|
+
if (m.K && m.V && m.L) {
|
|
2301
|
+
const n = m.data.find((d) => d?.[m.K] === m.V);
|
|
2302
|
+
h = n ? n[m.L] : "";
|
|
2244
2303
|
}
|
|
2245
2304
|
} else
|
|
2246
|
-
|
|
2305
|
+
m.K && (h = m.data[m.K]);
|
|
2247
2306
|
return h;
|
|
2248
|
-
}),
|
|
2249
|
-
navigator.clipboard.writeText(
|
|
2250
|
-
|
|
2307
|
+
}), C = () => {
|
|
2308
|
+
navigator.clipboard.writeText(b.value).then(() => {
|
|
2309
|
+
Oe.success(m.copySuccessTip);
|
|
2251
2310
|
}).catch(() => {
|
|
2252
|
-
|
|
2311
|
+
Oe.error("复制失败");
|
|
2253
2312
|
});
|
|
2254
2313
|
};
|
|
2255
|
-
return (h,
|
|
2256
|
-
const
|
|
2257
|
-
return
|
|
2314
|
+
return (h, n) => {
|
|
2315
|
+
const d = P("a-tooltip");
|
|
2316
|
+
return b.value ? (o(), z(d, {
|
|
2258
2317
|
key: 0,
|
|
2259
2318
|
title: h.tooltipTitle
|
|
2260
2319
|
}, {
|
|
2261
|
-
default:
|
|
2262
|
-
|
|
2320
|
+
default: l(() => [
|
|
2321
|
+
g("i", {
|
|
2263
2322
|
class: E(["hb-lib-copy-text-eyevue icon strongQ strong-copy", h.classType == "ab" ? "ab" : "normal"]),
|
|
2264
|
-
style:
|
|
2265
|
-
onClick:
|
|
2323
|
+
style: ke({ ...h.cpStyle }),
|
|
2324
|
+
onClick: Me(C, ["stop", "prevent"])
|
|
2266
2325
|
}, null, 6)
|
|
2267
2326
|
]),
|
|
2268
2327
|
_: 1
|
|
2269
|
-
}, 8, ["title"])) :
|
|
2328
|
+
}, 8, ["title"])) : B("", !0);
|
|
2270
2329
|
};
|
|
2271
2330
|
}
|
|
2272
|
-
}),
|
|
2331
|
+
}), po = /* @__PURE__ */ ae(uo, [["__scopeId", "data-v-d5ca4420"]]), bo = le(po), mo = {
|
|
2273
2332
|
dragList: {
|
|
2274
2333
|
type: Array,
|
|
2275
2334
|
required: !0
|
|
@@ -2308,79 +2367,79 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2308
2367
|
type: String,
|
|
2309
2368
|
default: ""
|
|
2310
2369
|
}
|
|
2311
|
-
},
|
|
2370
|
+
}, ho = /* @__PURE__ */ te({
|
|
2312
2371
|
name: "HbDrag",
|
|
2313
2372
|
__name: "index",
|
|
2314
|
-
props:
|
|
2373
|
+
props: mo,
|
|
2315
2374
|
emits: ["update:dragList", "handleDragStart", "handleDragEnd", "handleDragAdd", "handleDragRemove"],
|
|
2316
|
-
setup(
|
|
2317
|
-
const
|
|
2318
|
-
|
|
2319
|
-
() =>
|
|
2320
|
-
(
|
|
2321
|
-
|
|
2375
|
+
setup(t, { emit: m }) {
|
|
2376
|
+
const r = t, b = pt([]);
|
|
2377
|
+
se(
|
|
2378
|
+
() => r.dragList,
|
|
2379
|
+
(_) => {
|
|
2380
|
+
b.value = _;
|
|
2322
2381
|
},
|
|
2323
2382
|
{
|
|
2324
2383
|
deep: !0,
|
|
2325
2384
|
immediate: !0
|
|
2326
2385
|
}
|
|
2327
2386
|
);
|
|
2328
|
-
const
|
|
2329
|
-
console.log("drag start",
|
|
2330
|
-
},
|
|
2331
|
-
console.log("drag end",
|
|
2332
|
-
},
|
|
2333
|
-
console.log("drag add",
|
|
2334
|
-
},
|
|
2335
|
-
console.log("drag remove",
|
|
2387
|
+
const C = Re("drag"), h = m, n = (_) => {
|
|
2388
|
+
console.log("drag start", _), h("handleDragStart", _);
|
|
2389
|
+
}, d = (_) => {
|
|
2390
|
+
console.log("drag end", _), h("handleDragEnd", _);
|
|
2391
|
+
}, f = (_) => {
|
|
2392
|
+
console.log("drag add", _), h("handleDragAdd", _);
|
|
2393
|
+
}, e = (_) => {
|
|
2394
|
+
console.log("drag remove", _), h("handleDragRemove", _);
|
|
2336
2395
|
};
|
|
2337
|
-
return (
|
|
2338
|
-
class: E(s(
|
|
2396
|
+
return (_, O) => (o(), F("div", {
|
|
2397
|
+
class: E(s(C).b())
|
|
2339
2398
|
}, [
|
|
2340
|
-
|
|
2399
|
+
_.childrenType == "component" ? (o(), z(s(ye), ee({
|
|
2341
2400
|
key: 0,
|
|
2342
|
-
modelValue:
|
|
2343
|
-
"onUpdate:modelValue":
|
|
2401
|
+
modelValue: b.value,
|
|
2402
|
+
"onUpdate:modelValue": O[0] || (O[0] = (k) => b.value = k),
|
|
2344
2403
|
"item-key": "key",
|
|
2345
|
-
class: { [
|
|
2346
|
-
},
|
|
2347
|
-
"ghost-class":
|
|
2348
|
-
onStart:
|
|
2349
|
-
onEnd:
|
|
2350
|
-
onAdd:
|
|
2351
|
-
onRemove:
|
|
2404
|
+
class: { [_.dragClass]: _.dragClass }
|
|
2405
|
+
}, _.$attrs, {
|
|
2406
|
+
"ghost-class": _.ghostClass,
|
|
2407
|
+
onStart: n,
|
|
2408
|
+
onEnd: d,
|
|
2409
|
+
onAdd: f,
|
|
2410
|
+
onRemove: e
|
|
2352
2411
|
}), {
|
|
2353
|
-
item:
|
|
2354
|
-
(
|
|
2412
|
+
item: l(({ element: k }) => [
|
|
2413
|
+
(o(), z(bt(k.component)))
|
|
2355
2414
|
]),
|
|
2356
2415
|
_: 1
|
|
2357
|
-
}, 16, ["modelValue", "class", "ghost-class"])) : (
|
|
2416
|
+
}, 16, ["modelValue", "class", "ghost-class"])) : (o(), z(s(ye), ee({
|
|
2358
2417
|
key: 1,
|
|
2359
|
-
modelValue:
|
|
2360
|
-
"onUpdate:modelValue":
|
|
2418
|
+
modelValue: b.value,
|
|
2419
|
+
"onUpdate:modelValue": O[1] || (O[1] = (k) => b.value = k),
|
|
2361
2420
|
"item-key": "id",
|
|
2362
|
-
class: { [
|
|
2363
|
-
},
|
|
2364
|
-
"ghost-class":
|
|
2365
|
-
onStart:
|
|
2366
|
-
onEnd:
|
|
2367
|
-
onAdd:
|
|
2368
|
-
onRemove:
|
|
2421
|
+
class: { [_.dragClass]: _.dragClass }
|
|
2422
|
+
}, _.$attrs, {
|
|
2423
|
+
"ghost-class": _.ghostClass,
|
|
2424
|
+
onStart: n,
|
|
2425
|
+
onEnd: d,
|
|
2426
|
+
onAdd: f,
|
|
2427
|
+
onRemove: e
|
|
2369
2428
|
}), {
|
|
2370
|
-
item:
|
|
2371
|
-
|
|
2372
|
-
|
|
2429
|
+
item: l(({ element: k }) => [
|
|
2430
|
+
g("div", null, [
|
|
2431
|
+
j(_.$slots, "default", { item: k }, void 0, !0)
|
|
2373
2432
|
])
|
|
2374
2433
|
]),
|
|
2375
2434
|
_: 3
|
|
2376
2435
|
}, 16, ["modelValue", "class", "ghost-class"]))
|
|
2377
2436
|
], 2));
|
|
2378
2437
|
}
|
|
2379
|
-
}),
|
|
2438
|
+
}), fo = /* @__PURE__ */ ae(ho, [["__scopeId", "data-v-15b227f5"]]), vo = le(fo), go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2380
2439
|
__proto__: null,
|
|
2381
|
-
HbLibFuncCompCopy:
|
|
2382
|
-
HbLibFuncCompDrag:
|
|
2383
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2440
|
+
HbLibFuncCompCopy: bo,
|
|
2441
|
+
HbLibFuncCompDrag: vo
|
|
2442
|
+
}, Symbol.toStringTag, { value: "Module" })), yo = { class: "log_remark" }, Co = /* @__PURE__ */ te({
|
|
2384
2443
|
name: "HbLibLogModal",
|
|
2385
2444
|
__name: "HbLogModal",
|
|
2386
2445
|
props: {
|
|
@@ -2396,20 +2455,20 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2396
2455
|
getLogData: {}
|
|
2397
2456
|
},
|
|
2398
2457
|
emits: ["update:visible"],
|
|
2399
|
-
setup(
|
|
2400
|
-
const { t:
|
|
2458
|
+
setup(t, { expose: m, emit: r }) {
|
|
2459
|
+
const { t: b } = ce(), C = t, h = [
|
|
2401
2460
|
{
|
|
2402
|
-
title:
|
|
2461
|
+
title: b("hbLibComp.HbLogModal.operator"),
|
|
2403
2462
|
dataIndex: "userName",
|
|
2404
2463
|
width: "15%"
|
|
2405
2464
|
},
|
|
2406
2465
|
{
|
|
2407
|
-
title:
|
|
2466
|
+
title: b("hbLibComp.HbLogModal.operateTime"),
|
|
2408
2467
|
dataIndex: "operateTime",
|
|
2409
2468
|
width: "25%"
|
|
2410
2469
|
},
|
|
2411
|
-
{ title:
|
|
2412
|
-
],
|
|
2470
|
+
{ title: b("hbLibComp.HbLogModal.operateContent"), dataIndex: "remark" }
|
|
2471
|
+
], n = U(() => C.columns || h), d = U(() => C.title || b("hbLibComp.HbLogModal.operateLogs")), f = R(!1), e = _e({
|
|
2413
2472
|
list: [],
|
|
2414
2473
|
pagination: {
|
|
2415
2474
|
current: 1,
|
|
@@ -2417,16 +2476,16 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2417
2476
|
pageSizeOptions: ["10", "20", "50", "100"],
|
|
2418
2477
|
showQuickJumper: !0,
|
|
2419
2478
|
showSizeChanger: !0,
|
|
2420
|
-
showTotal: (
|
|
2479
|
+
showTotal: (a, S) => S[0] + "-" + S[1] + " 总共" + a + "页",
|
|
2421
2480
|
total: 0
|
|
2422
2481
|
}
|
|
2423
2482
|
});
|
|
2424
|
-
|
|
2425
|
-
() =>
|
|
2426
|
-
(
|
|
2427
|
-
|
|
2428
|
-
...
|
|
2429
|
-
...
|
|
2483
|
+
se(
|
|
2484
|
+
() => C.pagination,
|
|
2485
|
+
(a) => {
|
|
2486
|
+
a && (e.pagination = {
|
|
2487
|
+
...e.pagination,
|
|
2488
|
+
...a
|
|
2430
2489
|
});
|
|
2431
2490
|
},
|
|
2432
2491
|
{
|
|
@@ -2434,91 +2493,91 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2434
2493
|
immediate: !0
|
|
2435
2494
|
}
|
|
2436
2495
|
);
|
|
2437
|
-
const
|
|
2438
|
-
const
|
|
2439
|
-
pageIndex:
|
|
2440
|
-
pageSize:
|
|
2441
|
-
query:
|
|
2496
|
+
const _ = (a = 1) => {
|
|
2497
|
+
const S = {
|
|
2498
|
+
pageIndex: a,
|
|
2499
|
+
pageSize: e.pagination.pageSize,
|
|
2500
|
+
query: C.params
|
|
2442
2501
|
};
|
|
2443
|
-
|
|
2444
|
-
Number(
|
|
2502
|
+
C.getLogData && (f.value = !0, C.getLogData(S).then((x) => {
|
|
2503
|
+
Number(x.code) == 200 && (e.pagination.current = a, e.pagination.total = Number(x.data.total), e.list = x.data.records || []);
|
|
2445
2504
|
}).finally(() => {
|
|
2446
|
-
|
|
2505
|
+
f.value = !1;
|
|
2447
2506
|
}));
|
|
2448
|
-
},
|
|
2449
|
-
|
|
2450
|
-
},
|
|
2451
|
-
|
|
2452
|
-
},
|
|
2453
|
-
|
|
2454
|
-
},
|
|
2455
|
-
return
|
|
2456
|
-
() =>
|
|
2457
|
-
(
|
|
2458
|
-
|
|
2507
|
+
}, O = (a) => {
|
|
2508
|
+
e.pagination.current = a.current, e.pagination.pageSize = a.pageSize, _();
|
|
2509
|
+
}, k = () => {
|
|
2510
|
+
e.list = [], M("update:visible", !1);
|
|
2511
|
+
}, N = () => {
|
|
2512
|
+
M("update:visible", !0);
|
|
2513
|
+
}, H = (a, S = "YYYY-MM-DD HH:mm:ss") => a ? Se(a).format(S) : "", M = r;
|
|
2514
|
+
return se(
|
|
2515
|
+
() => C.visible,
|
|
2516
|
+
(a) => {
|
|
2517
|
+
a && _();
|
|
2459
2518
|
}
|
|
2460
|
-
),
|
|
2461
|
-
close:
|
|
2462
|
-
loading:
|
|
2463
|
-
}), (
|
|
2464
|
-
const
|
|
2465
|
-
return
|
|
2466
|
-
w(
|
|
2467
|
-
visible:
|
|
2468
|
-
title:
|
|
2469
|
-
width:
|
|
2470
|
-
onCancel:
|
|
2519
|
+
), m({
|
|
2520
|
+
close: k,
|
|
2521
|
+
loading: f
|
|
2522
|
+
}), (a, S) => {
|
|
2523
|
+
const x = P("a-tooltip"), L = P("HbLibCopy"), q = P("a-table"), v = P("a-button"), u = P("a-modal");
|
|
2524
|
+
return o(), F(Y, null, [
|
|
2525
|
+
w(u, {
|
|
2526
|
+
visible: t.visible,
|
|
2527
|
+
title: d.value,
|
|
2528
|
+
width: t.width,
|
|
2529
|
+
onCancel: k
|
|
2471
2530
|
}, {
|
|
2472
|
-
footer:
|
|
2473
|
-
w(
|
|
2474
|
-
default:
|
|
2475
|
-
|
|
2531
|
+
footer: l(() => [
|
|
2532
|
+
w(v, { onClick: k }, {
|
|
2533
|
+
default: l(() => [
|
|
2534
|
+
I(y(s(b)("hbLibComp.HbLogModal.close")), 1)
|
|
2476
2535
|
]),
|
|
2477
2536
|
_: 1
|
|
2478
2537
|
})
|
|
2479
2538
|
]),
|
|
2480
|
-
default:
|
|
2481
|
-
w(
|
|
2539
|
+
default: l(() => [
|
|
2540
|
+
w(q, {
|
|
2482
2541
|
bordered: "",
|
|
2483
2542
|
rowKey: "id",
|
|
2484
|
-
columns:
|
|
2485
|
-
dataSource:
|
|
2486
|
-
pagination:
|
|
2487
|
-
loading:
|
|
2488
|
-
onChange:
|
|
2543
|
+
columns: n.value,
|
|
2544
|
+
dataSource: e.list,
|
|
2545
|
+
pagination: e.pagination,
|
|
2546
|
+
loading: f.value,
|
|
2547
|
+
onChange: O
|
|
2489
2548
|
}, {
|
|
2490
|
-
bodyCell:
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
title:
|
|
2494
|
-
|
|
2549
|
+
bodyCell: l(({ column: p, record: i }) => [
|
|
2550
|
+
p && p.needTooltip ? (o(), F(Y, { key: 0 }, [
|
|
2551
|
+
p.needTooltip ? (o(), z(x, { key: 0 }, {
|
|
2552
|
+
title: l(() => [
|
|
2553
|
+
I(y(i[p.dataIndex]), 1)
|
|
2495
2554
|
]),
|
|
2496
|
-
default:
|
|
2497
|
-
|
|
2555
|
+
default: l(() => [
|
|
2556
|
+
I(" " + y(i[p.dataIndex]), 1)
|
|
2498
2557
|
]),
|
|
2499
2558
|
_: 2
|
|
2500
|
-
}, 1024)) :
|
|
2501
|
-
], 64)) :
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
w(
|
|
2505
|
-
"cp-text":
|
|
2559
|
+
}, 1024)) : B("", !0)
|
|
2560
|
+
], 64)) : B("", !0),
|
|
2561
|
+
p && p.needCopy ? (o(), F(Y, { key: 1 }, [
|
|
2562
|
+
g("div", yo, y(i[p.dataIndex]), 1),
|
|
2563
|
+
w(L, {
|
|
2564
|
+
"cp-text": i[p.dataIndex],
|
|
2506
2565
|
style: { position: "relative" }
|
|
2507
2566
|
}, null, 8, ["cp-text"])
|
|
2508
|
-
], 64)) :
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
], 64)) :
|
|
2567
|
+
], 64)) : B("", !0),
|
|
2568
|
+
p && p.needFormat ? (o(), F(Y, { key: 2 }, [
|
|
2569
|
+
I(y(H(i[p.dataIndex], p.operateTime)), 1)
|
|
2570
|
+
], 64)) : B("", !0)
|
|
2512
2571
|
]),
|
|
2513
2572
|
_: 1
|
|
2514
2573
|
}, 8, ["columns", "dataSource", "pagination", "loading"])
|
|
2515
2574
|
]),
|
|
2516
2575
|
_: 1
|
|
2517
2576
|
}, 8, ["visible", "title", "width"]),
|
|
2518
|
-
|
|
2519
|
-
w(
|
|
2520
|
-
default:
|
|
2521
|
-
|
|
2577
|
+
j(a.$slots, "default", {}, () => [
|
|
2578
|
+
w(v, { onClick: N }, {
|
|
2579
|
+
default: l(() => [
|
|
2580
|
+
I(y(t.logBtnText), 1)
|
|
2522
2581
|
]),
|
|
2523
2582
|
_: 1
|
|
2524
2583
|
})
|
|
@@ -2526,58 +2585,58 @@ const _t = "hb-", Ae = (e = "") => {
|
|
|
2526
2585
|
], 64);
|
|
2527
2586
|
};
|
|
2528
2587
|
}
|
|
2529
|
-
}),
|
|
2588
|
+
}), _o = /* @__PURE__ */ ae(Co, [["__scopeId", "data-v-cee51270"]]), Lo = le(_o), ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2530
2589
|
__proto__: null,
|
|
2531
|
-
HbLibLogModal:
|
|
2590
|
+
HbLibLogModal: Lo
|
|
2532
2591
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2533
|
-
let
|
|
2534
|
-
...
|
|
2535
|
-
...
|
|
2536
|
-
...
|
|
2537
|
-
...
|
|
2538
|
-
...
|
|
2592
|
+
let Xe = {
|
|
2593
|
+
...Wl,
|
|
2594
|
+
...Zl,
|
|
2595
|
+
...ro,
|
|
2596
|
+
...ko,
|
|
2597
|
+
...go
|
|
2539
2598
|
};
|
|
2540
|
-
const
|
|
2541
|
-
hbLibComp:
|
|
2542
|
-
},
|
|
2543
|
-
hbLibComp: ko
|
|
2544
|
-
}, Fo = { hbFormItemFilterModal: { titleTip: "已显示条件", mostMore: "最多可选", mostMoreTip: "个条件,拖拽可以调整排序", notShowTip: "未显示条件", add: "添加", noData: "暂无数据", cancel: "取消", confirm: "确定", moreConditionSearch: "多项搜索" }, hbFormSelectFilter: { allSelect: "全选", close: "关闭" }, hbListPageAct: { query: "查询", reset: "重置", selfDefine: "筛选查询条件", open: "展开", close: "收起", fullScreen: "全屏", exitFullScreen: "退出全屏" }, hbListBtnsAct: { reload: "刷新数据", open: "展开查询条件", close: "收起查询条件" }, hbTableAct: { more: "更多", secendConfirm: "二次确认", confirmContent: "确认内容" }, hbMultiSelectModal: { pleaseSelect: "请选择" }, hbListTable: { noData: "暂时没有数据" }, hbLibListTableColumsSet: { popoverTitle: "自定义列", title: "表格字段设置", fix: "固定", cancelFix: "取消固定", allSelect: "全选", confirm: "确定", errorTip: "不能将列移动到固定列位置" }, hbLibListForm: { queryCase: "查询方案" }, HbFileUploadModal: { fileUpload: "文件导入", confirmImport: "确认导入", cancel: "取消", maxSupport: "最多支持", dataImport: "条数据导入", placeSelect: "请选择", file: "文件", selectFile: "请选择上传的文件", dragFile: "将文件拖到此处或", clickUpload: "点击上传", onlySupport: "仅支持", downloadTemplate: "导入模板下载", format: "支持格式" }, HbLogModal: { close: "关 闭", operateLogs: "操作日志", operator: "操作人", operateTime: "操作时间", operateContent: "操作内容" }, HbImportFile: { uploadText: "将文件拖到此处或", clickUp: "请上传文件", downloadTemplate: "点击下载模板", pleaseUploadFiles: "请上传文件", fileLabel: "文件", importBtn: "文件上传" } }, wo = {
|
|
2599
|
+
const So = { HbFileUploadModal: { cancel: "Cancel", clickUpload: "Click to upload", confirmImport: "Confirm import", dataImport: "Import data", downloadTemplate: "Import template download", dragFile: "Drag files here or", file: "document", fileUpload: "File import", maxSupport: "Most supported", onlySupport: "Only supports", placeSelect: "Please select", selectFile: "Please select the file to upload", format: "Supported formats" }, HbLogModal: { close: "closure", operateContent: "Operation content", operateLogs: "Operation log", operateTime: "Operating time", operator: "operator" }, hbFormItemFilterModal: { add: "Add to", cancel: "Cancel", confirm: "Sure", moreConditionSearch: "Multiple searches", mostMore: "Optional at most", mostMoreTip: "conditions, drag and drop to adjust the sorting", noData: "No data yet", notShowTip: "No conditions shown", titleTip: "Conditions shown" }, hbFormSelectFilter: { allSelect: "Select all", close: "closure" }, hbLibListForm: { queryCase: "query plan", addScheme: "Add scenario", editScheme: "Edit plan" }, hbLibListTableColumsSet: { allSelect: "Select all", cancelFix: "Unpin", confirm: "Sure", errorTip: "Cannot move column to fixed column position", fix: "fixed", popoverTitle: "Custom columns", title: "Table field settings" }, hbListBtnsAct: { close: "Close query conditions", open: "Expand query conditions", reload: "Refresh data" }, hbListPageAct: { close: "close", exitFullScreen: "Exit full screen", fullScreen: "full screen", open: "Expand", query: "Query", reset: "reset", selfDefine: "Filter query conditions" }, hbListTable: { noData: "No data yet" }, hbMultiSelectModal: { pleaseSelect: "Please select" }, hbTableAct: { confirmContent: "Confirm content", more: "More", secendConfirm: "Second confirmation" }, HbImportFile: { clickUp: "Click to upload", downloadTemplate: "Click to download template", pleaseUploadFiles: "Please upload files", uploadText: "Drag files here or", fileLabel: "document", importBtn: "File upload" } }, wo = {
|
|
2600
|
+
hbLibComp: So
|
|
2601
|
+
}, Fo = { HbFileUploadModal: { cancel: "キャンセル", clickUpload: "クリックしてアップロード", confirmImport: "インポートの確認", dataImport: "データのインポート", downloadTemplate: "インポートテンプレートのダウンロード", dragFile: "ここにファイルをドラッグするか、", file: "書類", fileUpload: "ファイルのインポート", maxSupport: "最も支持されている", onlySupport: "サポートのみ", placeSelect: "選択してください", selectFile: "アップロードするファイルを選択してください", format: "サポートされている形式" }, HbLogModal: { close: "閉鎖", operateContent: "操作内容", operateLogs: "操作ログ", operateTime: "稼働時間", operator: "オペレーター" }, hbFormItemFilterModal: { add: "に追加", cancel: "キャンセル", confirm: "もちろん", moreConditionSearch: "複数の検索", mostMore: "せいぜいオプション", mostMoreTip: "条件をドラッグアンドドロップして並べ替えを調整します", noData: "まだデータがありません", notShowTip: "条件が表示されていません", titleTip: "表示される条件" }, hbFormSelectFilter: { allSelect: "すべて選択", close: "閉鎖" }, hbLibListForm: { queryCase: "クエリプラン", addScheme: "シナリオの追加", editScheme: "計画の編集" }, hbLibListTableColumsSet: { allSelect: "すべて選択", cancelFix: "固定を解除する", confirm: "もちろん", errorTip: "列を固定列位置に移動できません", fix: "修理済み", popoverTitle: "カスタム列", title: "テーブルフィールドの設定" }, hbListBtnsAct: { close: "クエリ条件を閉じる", open: "クエリ条件を拡張する", reload: "データを更新する" }, hbListPageAct: { close: "近い", exitFullScreen: "全画面表示を終了する", fullScreen: "全画面表示", open: "拡大する", query: "クエリ", reset: "リセット", selfDefine: "フィルタークエリ条件" }, hbListTable: { noData: "まだデータがありません" }, hbMultiSelectModal: { pleaseSelect: "選択してください" }, hbTableAct: { confirmContent: "内容を確認する", more: "もっと", secendConfirm: "2回目の確認" }, HbImportFile: { clickUp: "クリックしてアップロード", downloadTemplate: "クリックしてテンプレートをダウンロード", pleaseUploadFiles: "ファイルをアップロードしてください", uploadText: "ファイルをここにドラッグするか、", fileLabel: "書類", importBtn: "ファイルのアップロード" } }, xo = {
|
|
2545
2602
|
hbLibComp: Fo
|
|
2546
|
-
},
|
|
2547
|
-
hbLibComp:
|
|
2603
|
+
}, To = { hbFormItemFilterModal: { titleTip: "已显示条件", mostMore: "最多可选", mostMoreTip: "个条件,拖拽可以调整排序", notShowTip: "未显示条件", add: "添加", noData: "暂无数据", cancel: "取消", confirm: "确定", moreConditionSearch: "多项搜索" }, hbFormSelectFilter: { allSelect: "全选", close: "关闭" }, hbListPageAct: { query: "查询", reset: "重置", selfDefine: "筛选查询条件", open: "展开", close: "收起", fullScreen: "全屏", exitFullScreen: "退出全屏" }, hbListBtnsAct: { reload: "刷新数据", open: "展开查询条件", close: "收起查询条件" }, hbTableAct: { more: "更多", secendConfirm: "二次确认", confirmContent: "确认内容" }, hbMultiSelectModal: { pleaseSelect: "请选择" }, hbListTable: { noData: "暂时没有数据" }, hbLibListTableColumsSet: { popoverTitle: "自定义列", title: "表格字段设置", fix: "固定", cancelFix: "取消固定", allSelect: "全选", confirm: "确定", errorTip: "不能将列移动到固定列位置" }, hbLibListForm: { queryCase: "查询方案", addScheme: "添加方案", editScheme: "编辑方案" }, HbFileUploadModal: { fileUpload: "文件导入", confirmImport: "确认导入", cancel: "取消", maxSupport: "最多支持", dataImport: "条数据导入", placeSelect: "请选择", file: "文件", selectFile: "请选择上传的文件", dragFile: "将文件拖到此处或", clickUpload: "点击上传", onlySupport: "仅支持", downloadTemplate: "导入模板下载", format: "支持格式" }, HbLogModal: { close: "关 闭", operateLogs: "操作日志", operator: "操作人", operateTime: "操作时间", operateContent: "操作内容" }, HbImportFile: { uploadText: "将文件拖到此处或", clickUp: "请上传文件", downloadTemplate: "点击下载模板", pleaseUploadFiles: "请上传文件", fileLabel: "文件", importBtn: "文件上传" } }, $o = {
|
|
2604
|
+
hbLibComp: To
|
|
2605
|
+
}, Mo = { HbFileUploadModal: { cancel: "Stornieren", clickUpload: "Klicken Sie zum Hochladen", confirmImport: "Bestätigen Sie den Import", dataImport: "Daten importieren", downloadTemplate: "Importvorlage herunterladen", dragFile: "Ziehen Sie Dateien hierher oder", file: "dokumentieren", fileUpload: "Dateiimport", maxSupport: "Am meisten unterstützt", onlySupport: "Unterstützt nur", placeSelect: "Bitte auswählen", selectFile: "Bitte wählen Sie die hochzuladende Datei aus", format: "Unterstützte Formate" }, HbLogModal: { close: "Schließung", operateContent: "Inhalt der Operation", operateLogs: "Betriebsprotokoll", operateTime: "Betriebszeit", operator: "Operator" }, hbFormItemFilterModal: { add: "Hinzufügen zu", cancel: "Stornieren", confirm: "Sicher", moreConditionSearch: "Mehrere Suchanfragen", mostMore: "Höchstens optional", mostMoreTip: "Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen", noData: "Noch keine Daten", notShowTip: "Keine Bedingungen angezeigt", titleTip: "Bedingungen angezeigt" }, hbFormSelectFilter: { allSelect: "Alles auswählen", close: "Schließung" }, hbLibListForm: { queryCase: "Abfrageplan", addScheme: "Szenario hinzufügen", editScheme: "Plan bearbeiten" }, hbLibListTableColumsSet: { allSelect: "Alles auswählen", cancelFix: "Lösen", confirm: "Sicher", errorTip: "Die Spalte kann nicht in eine feste Spaltenposition verschoben werden", fix: "behoben", popoverTitle: "Benutzerdefinierte Spalten", title: "Tabellenfeldeinstellungen" }, hbListBtnsAct: { close: "Abfragebedingungen schließen", open: "Abfragebedingungen erweitern", reload: "Daten aktualisieren" }, hbListPageAct: { close: "schließen", exitFullScreen: "Verlassen Sie den Vollbildmodus", fullScreen: "Vollbild", open: "Expandieren", query: "Abfrage", reset: "zurücksetzen", selfDefine: "Abfragebedingungen filtern" }, hbListTable: { noData: "Noch keine Daten" }, hbMultiSelectModal: { pleaseSelect: "Bitte auswählen" }, hbTableAct: { confirmContent: "Inhalt bestätigen", more: "Mehr", secendConfirm: "Zweite Bestätigung" }, HbImportFile: { clickUp: "Klicken Sie zum Hochladen", downloadTemplate: "Klicken Sie hier, um die Vorlage herunterzuladen", pleaseUploadFiles: "Bitte laden Sie Dateien hoch", uploadText: "Ziehen Sie Dateien hierher oder", fileLabel: "dokumentieren", importBtn: "Datei-Upload" } }, Io = {
|
|
2606
|
+
hbLibComp: Mo
|
|
2548
2607
|
};
|
|
2549
|
-
var
|
|
2550
|
-
function
|
|
2551
|
-
return
|
|
2552
|
-
(function(
|
|
2553
|
-
|
|
2554
|
-
})(
|
|
2555
|
-
function
|
|
2556
|
-
return
|
|
2608
|
+
var ge = { exports: {} }, Ho = ge.exports, et;
|
|
2609
|
+
function Do() {
|
|
2610
|
+
return et || (et = 1, (function(t, m) {
|
|
2611
|
+
(function(r, b) {
|
|
2612
|
+
t.exports = b(Se);
|
|
2613
|
+
})(Ho, (function(r) {
|
|
2614
|
+
function b(n) {
|
|
2615
|
+
return n && typeof n == "object" && "default" in n ? n : { default: n };
|
|
2557
2616
|
}
|
|
2558
|
-
var
|
|
2559
|
-
return
|
|
2560
|
-
}, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(
|
|
2561
|
-
var
|
|
2562
|
-
return
|
|
2617
|
+
var C = b(r), h = { name: "zh-cn", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(n, d) {
|
|
2618
|
+
return d === "W" ? n + "周" : n + "日";
|
|
2619
|
+
}, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(n, d) {
|
|
2620
|
+
var f = 100 * n + d;
|
|
2621
|
+
return f < 600 ? "凌晨" : f < 900 ? "早上" : f < 1100 ? "上午" : f < 1300 ? "中午" : f < 1800 ? "下午" : "晚上";
|
|
2563
2622
|
} };
|
|
2564
|
-
return
|
|
2623
|
+
return C.default.locale(h, null, !0), h;
|
|
2565
2624
|
}));
|
|
2566
|
-
})(
|
|
2625
|
+
})(ge)), ge.exports;
|
|
2567
2626
|
}
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
const
|
|
2571
|
-
en_US:
|
|
2572
|
-
ja_JP:
|
|
2573
|
-
zh_CN:
|
|
2574
|
-
de_DE:
|
|
2575
|
-
},
|
|
2576
|
-
Object.keys(
|
|
2577
|
-
|
|
2627
|
+
Do();
|
|
2628
|
+
Se.locale("zh-cn");
|
|
2629
|
+
const Eo = {
|
|
2630
|
+
en_US: wo,
|
|
2631
|
+
ja_JP: xo,
|
|
2632
|
+
zh_CN: $o,
|
|
2633
|
+
de_DE: Io
|
|
2634
|
+
}, Yo = function(t) {
|
|
2635
|
+
Object.keys(Xe).forEach((r) => {
|
|
2636
|
+
t.use(Xe[r]);
|
|
2578
2637
|
});
|
|
2579
2638
|
};
|
|
2580
2639
|
export {
|
|
2581
|
-
|
|
2582
|
-
|
|
2640
|
+
Yo as install,
|
|
2641
|
+
Eo as locales
|
|
2583
2642
|
};
|