@hb-hellotech/hb-ui 1.3.14-beta.7 → 1.3.14-beta.8
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.d.ts +2 -0
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +256 -254
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hb_component_lib.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './hb_component_lib.css';
|
|
2
|
-
import { defineComponent as J, inject as pe, computed as E, reactive as Se, ref as O, watch as ee, onMounted as he, createElementBlock as T, openBlock as i, normalizeClass as Y, unref as y, createVNode as w, withCtx as r, createElementVNode as d, toDisplayString as L, createTextVNode as B, createBlock as P, createCommentVNode as z, Fragment as q, renderList as ie, resolveComponent as N, Transition as Dt, withDirectives as fe, mergeProps as le, createSlots as Be, renderSlot as W, vShow as At, nextTick as Le, onUnmounted as Te, useTemplateRef as Bt, provide as Ct, normalizeStyle as re, mergeModels as Ve, useModel as kt, withModifiers as
|
|
2
|
+
import { defineComponent as J, inject as pe, computed as E, reactive as Se, ref as O, watch as ee, onMounted as he, createElementBlock as T, openBlock as i, normalizeClass as Y, unref as y, createVNode as w, withCtx as r, createElementVNode as d, toDisplayString as L, createTextVNode as B, createBlock as P, createCommentVNode as z, Fragment as q, renderList as ie, resolveComponent as N, Transition as Dt, withDirectives as fe, mergeProps as le, createSlots as Be, renderSlot as W, vShow as At, nextTick as Le, onUnmounted as Te, useTemplateRef as Bt, provide as Ct, normalizeStyle as re, mergeModels as Ve, useModel as kt, withModifiers as Fe, resolveDirective as St, useAttrs as Ot, watchEffect as Tt, shallowRef as zt, resolveDynamicComponent as wt, createStaticVNode as Et, onBeforeUnmount as Ge, createApp as Pt } from "vue";
|
|
3
3
|
import $e from "vuedraggable";
|
|
4
4
|
import { Modal as je, Button as We, message as ke, Tooltip as Ie, Switch as tt, Radio as ot, RadioGroup as lt, InputNumber as at, DatePicker as nt, Checkbox as Me, CheckboxGroup as it, Select as Ye, Input as st, Col as Nt, Row as Rt, FormItem as rt, Form as ct, SelectOption as qe, Popconfirm as Re, MenuItem as dt, Menu as ut, Dropdown as ft, Popover as Ut, BackTop as xt, Spin as Vt } from "ant-design-vue";
|
|
5
5
|
import { useRoute as Qe } from "vue-router";
|
|
6
6
|
import { useI18n as de } from "vue-i18n";
|
|
7
7
|
import _e, { merge as jt } from "lodash";
|
|
8
|
-
import { CloseOutlined as Wt, QuestionCircleOutlined as Yt, SearchOutlined as De, UpCircleOutlined as qt, DownCircleOutlined as Kt, UnorderedListOutlined as Jt, DownOutlined as Ke, PlusCircleOutlined as Gt, ToTopOutlined as
|
|
9
|
-
import { useFullscreen as
|
|
8
|
+
import { CloseOutlined as Wt, QuestionCircleOutlined as Yt, SearchOutlined as De, UpCircleOutlined as qt, DownCircleOutlined as Kt, UnorderedListOutlined as Jt, DownOutlined as Ke, PlusCircleOutlined as Gt, ToTopOutlined as Ht } from "@ant-design/icons-vue";
|
|
9
|
+
import { useFullscreen as Ft, useDebounceFn as Qt, useElementBounding as Zt, useScroll as Xt, useDraggable as eo, isClient as to } from "@vueuse/core";
|
|
10
10
|
import Oe from "dayjs";
|
|
11
11
|
const oo = "hb-", Ze = (e = "") => {
|
|
12
12
|
const t = `${oo}${e}`;
|
|
@@ -43,7 +43,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
43
43
|
lan: window.localStorage.getItem("lan")
|
|
44
44
|
}), U = O(!1), x = O(600);
|
|
45
45
|
let _ = [];
|
|
46
|
-
const S = O([]), A = O([]),
|
|
46
|
+
const S = O([]), A = O([]), H = E(() => S.value.every((v) => v.isLinked || v.isFixed)), k = (v) => ({
|
|
47
47
|
...v,
|
|
48
48
|
label: I(v) || `${V(v) || ""} (${c("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,
|
|
49
49
|
key: v.key,
|
|
@@ -51,7 +51,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
51
51
|
isLinked: v?.isLinked || !1,
|
|
52
52
|
labelLanguage: v?.labelLanguage || void 0
|
|
53
53
|
}), g = (v) => {
|
|
54
|
-
const j = v.draggedContext.element,
|
|
54
|
+
const j = v.draggedContext.element, F = v.relatedContext.index;
|
|
55
55
|
if (j.isLinked || j.isFixed)
|
|
56
56
|
return !1;
|
|
57
57
|
const G = S.value.map((ae, be) => ({ item: ae, index: be })).filter(({ item: ae }) => ae.isLinked).map(({ index: ae }) => ae);
|
|
@@ -59,7 +59,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
59
59
|
return !0;
|
|
60
60
|
for (let ae = 0; ae < G.length - 1; ae++) {
|
|
61
61
|
const be = G[ae], ve = G[ae + 1];
|
|
62
|
-
if (
|
|
62
|
+
if (F > be && F < ve)
|
|
63
63
|
return !1;
|
|
64
64
|
}
|
|
65
65
|
return !0;
|
|
@@ -72,8 +72,8 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
72
72
|
} catch (G) {
|
|
73
73
|
console.warn("解析用户信息失败:", G);
|
|
74
74
|
}
|
|
75
|
-
let
|
|
76
|
-
return `searchFormConfig_${j}_${
|
|
75
|
+
let F = D?.path;
|
|
76
|
+
return `searchFormConfig_${j}_${F}`;
|
|
77
77
|
}, I = (v) => ({
|
|
78
78
|
ja_JP: () => _e.get(u, v.labelLanguage || ""),
|
|
79
79
|
en_US: () => _e.get(f, v.labelLanguage || ""),
|
|
@@ -86,10 +86,10 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
86
86
|
try {
|
|
87
87
|
const j = localStorage.getItem(s.value);
|
|
88
88
|
if (j) {
|
|
89
|
-
const
|
|
90
|
-
if (
|
|
91
|
-
_ = JSON.parse(JSON.stringify(
|
|
92
|
-
const G = _.filter((Q) => Q?.isFixed), ae = _.filter((Q) => Q?.isLinked), be =
|
|
89
|
+
const F = JSON.parse(j);
|
|
90
|
+
if (F.originalList && Array.isArray(F.originalList)) {
|
|
91
|
+
_ = JSON.parse(JSON.stringify(F.originalList));
|
|
92
|
+
const G = _.filter((Q) => Q?.isFixed), ae = _.filter((Q) => Q?.isLinked), be = F.showList.filter((Q) => !Q.isFixed && !Q.isLinked), ve = a.value && a.value > 0 ? Math.max(0, a.value - G.length - ae.length) : be.length, xe = G.map((Q) => ({
|
|
93
93
|
...k(Q)
|
|
94
94
|
})), Ee = ae.map((Q) => ({
|
|
95
95
|
...k(Q)
|
|
@@ -126,7 +126,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
126
126
|
console.warn("保存搜索配置失败:", v);
|
|
127
127
|
}
|
|
128
128
|
}, $ = E(() => {
|
|
129
|
-
const v = S.value.filter((
|
|
129
|
+
const v = S.value.filter((F) => !F.isFixed && !F.isLinked).length, j = S.value.filter((F) => F.isFixed || F.isLinked).length;
|
|
130
130
|
return v >= a.value - j;
|
|
131
131
|
});
|
|
132
132
|
ee(
|
|
@@ -135,7 +135,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
135
135
|
let j = JSON.stringify(S.value) !== JSON.stringify(v);
|
|
136
136
|
if (!j)
|
|
137
137
|
return;
|
|
138
|
-
const
|
|
138
|
+
const F = localStorage.getItem(s.value), G = JSON.parse(F || "{}");
|
|
139
139
|
if (G && G?.originalList && Array.isArray(G.originalList))
|
|
140
140
|
K(), C("confirm", S.value);
|
|
141
141
|
else if (j) {
|
|
@@ -152,17 +152,17 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
152
152
|
{ immediate: !0 }
|
|
153
153
|
);
|
|
154
154
|
const R = (v) => {
|
|
155
|
-
const j = S.value.findIndex((
|
|
155
|
+
const j = S.value.findIndex((F) => F.key === v.key);
|
|
156
156
|
j !== -1 && (S.value.splice(j, 1), A.value.push({ ...v, active: !1 }));
|
|
157
157
|
}, X = (v) => {
|
|
158
158
|
if ($.value) {
|
|
159
159
|
ke.warning(`当前已经超过${c(a.value)}个可选数量,请先删除已显示条件`);
|
|
160
160
|
return;
|
|
161
161
|
}
|
|
162
|
-
const j = A.value.findIndex((
|
|
162
|
+
const j = A.value.findIndex((F) => F.key === v.key);
|
|
163
163
|
if (j !== -1) {
|
|
164
|
-
const [
|
|
165
|
-
S.value.push({ ...
|
|
164
|
+
const [F] = A.value.splice(j, 1);
|
|
165
|
+
S.value.push({ ...F, active: !1 });
|
|
166
166
|
}
|
|
167
167
|
}, oe = () => {
|
|
168
168
|
U.value = !1;
|
|
@@ -171,10 +171,10 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
171
171
|
}, ue = () => {
|
|
172
172
|
se(), C("confirm", S.value), oe();
|
|
173
173
|
}, we = (v) => {
|
|
174
|
-
const j = A.value.findIndex((
|
|
174
|
+
const j = A.value.findIndex((F) => F.key === v.key);
|
|
175
175
|
j !== -1 && (A.value[j].active = !0);
|
|
176
176
|
}, ze = (v) => {
|
|
177
|
-
const j = A.value.findIndex((
|
|
177
|
+
const j = A.value.findIndex((F) => F.key === v.key);
|
|
178
178
|
j !== -1 && (A.value[j].active = !1);
|
|
179
179
|
};
|
|
180
180
|
return t({
|
|
@@ -185,7 +185,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
185
185
|
}, [
|
|
186
186
|
w(y(je), {
|
|
187
187
|
visible: U.value,
|
|
188
|
-
"onUpdate:visible": j[1] || (j[1] = (
|
|
188
|
+
"onUpdate:visible": j[1] || (j[1] = (F) => U.value = F),
|
|
189
189
|
width: x.value,
|
|
190
190
|
onCancel: oe,
|
|
191
191
|
onOk: ue
|
|
@@ -229,21 +229,21 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
229
229
|
}, [
|
|
230
230
|
w(y($e), {
|
|
231
231
|
modelValue: S.value,
|
|
232
|
-
"onUpdate:modelValue": j[0] || (j[0] = (
|
|
232
|
+
"onUpdate:modelValue": j[0] || (j[0] = (F) => S.value = F),
|
|
233
233
|
"item-key": "key",
|
|
234
234
|
tag: "div",
|
|
235
|
-
disabled:
|
|
235
|
+
disabled: H.value,
|
|
236
236
|
move: g
|
|
237
237
|
}, {
|
|
238
|
-
item: r(({ element:
|
|
238
|
+
item: r(({ element: F }) => [
|
|
239
239
|
d("div", {
|
|
240
|
-
class: Y([y(p).e("show__tag__item"), y(p).is("fixed",
|
|
240
|
+
class: Y([y(p).e("show__tag__item"), y(p).is("fixed", F.isFixed), y(p).is("linked", F.isLinked)])
|
|
241
241
|
}, [
|
|
242
|
-
B(L(
|
|
243
|
-
!
|
|
242
|
+
B(L(F.label) + " ", 1),
|
|
243
|
+
!F.isFixed && !F.isLinked && e.list.length > 1 ? (i(), P(y(Wt), {
|
|
244
244
|
key: 0,
|
|
245
245
|
class: Y(y(p).e("show__tag__item-close")),
|
|
246
|
-
onClick: (G) => R(
|
|
246
|
+
onClick: (G) => R(F)
|
|
247
247
|
}, null, 8, ["class", "onClick"])) : z("", !0)
|
|
248
248
|
], 2)
|
|
249
249
|
]),
|
|
@@ -264,17 +264,17 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
264
264
|
d("div", {
|
|
265
265
|
class: Y(y(p).e("unshow__tag"))
|
|
266
266
|
}, [
|
|
267
|
-
A.value.length > 0 ? (i(!0), T(q, { key: 0 }, ie(A.value, (
|
|
268
|
-
class: Y([y(p).e("unshow__tag__item"), y(p).is("fixed",
|
|
269
|
-
key:
|
|
270
|
-
onMouseenter: (G) => we(
|
|
271
|
-
onMouseleave: (G) => ze(
|
|
267
|
+
A.value.length > 0 ? (i(!0), T(q, { key: 0 }, ie(A.value, (F) => (i(), T("div", {
|
|
268
|
+
class: Y([y(p).e("unshow__tag__item"), y(p).is("fixed", F.isFixed || ""), y(p).is("linked", F.isLinked || "")]),
|
|
269
|
+
key: F.key,
|
|
270
|
+
onMouseenter: (G) => we(F),
|
|
271
|
+
onMouseleave: (G) => ze(F)
|
|
272
272
|
}, [
|
|
273
|
-
B(L(
|
|
274
|
-
|
|
273
|
+
B(L(F.label) + " ", 1),
|
|
274
|
+
F.active ? (i(), T("aside", {
|
|
275
275
|
key: 0,
|
|
276
276
|
class: Y(y(p).e("unshow__tag__item-add")),
|
|
277
|
-
onClick: (G) => X(
|
|
277
|
+
onClick: (G) => X(F)
|
|
278
278
|
}, L(v.$t("hbLibComp.hbFormItemFilterModal.add")), 11, no)) : z("", !0)
|
|
279
279
|
], 42, ao))), 128)) : (i(), T("div", {
|
|
280
280
|
key: 1,
|
|
@@ -338,7 +338,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
338
338
|
console.log(x.value);
|
|
339
339
|
const _ = E(() => l.saveKey), S = O(), A = () => {
|
|
340
340
|
c("handleSearch");
|
|
341
|
-
},
|
|
341
|
+
}, H = () => {
|
|
342
342
|
c("handleReset");
|
|
343
343
|
}, k = O(), g = () => {
|
|
344
344
|
k.value && k.value.toOpenModal();
|
|
@@ -444,20 +444,20 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
444
444
|
v.type === "input" ? (i(), P(y(st), le({
|
|
445
445
|
key: 2,
|
|
446
446
|
value: e.formData[v.key],
|
|
447
|
-
"onUpdate:value": (
|
|
447
|
+
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
448
448
|
}, { ref_for: !0 }, v.attrs), null, 16, ["value", "onUpdate:value"])) : z("", !0),
|
|
449
449
|
v.type === "select" ? (i(), P(y(Ye), le({
|
|
450
450
|
key: 3,
|
|
451
451
|
value: e.formData[v.key],
|
|
452
|
-
"onUpdate:value": (
|
|
452
|
+
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
453
453
|
}, { ref_for: !0 }, v.attrs), {
|
|
454
454
|
default: r(() => [
|
|
455
|
-
(i(!0), T(q, null, ie(v.options, (
|
|
455
|
+
(i(!0), T(q, null, ie(v.options, (F, G) => (i(), P(y(qe), {
|
|
456
456
|
key: G,
|
|
457
|
-
value:
|
|
457
|
+
value: F.value
|
|
458
458
|
}, {
|
|
459
459
|
default: r(() => [
|
|
460
|
-
B(L(
|
|
460
|
+
B(L(F.label), 1)
|
|
461
461
|
]),
|
|
462
462
|
_: 2
|
|
463
463
|
}, 1032, ["value"]))), 128))
|
|
@@ -467,15 +467,15 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
467
467
|
v.type === "checkbox" ? (i(), P(y(it), le({
|
|
468
468
|
key: 4,
|
|
469
469
|
value: e.formData[v.key],
|
|
470
|
-
"onUpdate:value": (
|
|
470
|
+
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
471
471
|
}, { ref_for: !0 }, v.attrs), {
|
|
472
472
|
default: r(() => [
|
|
473
|
-
(i(!0), T(q, null, ie(v.options, (
|
|
473
|
+
(i(!0), T(q, null, ie(v.options, (F, G) => (i(), P(y(Me), {
|
|
474
474
|
key: G,
|
|
475
|
-
value:
|
|
475
|
+
value: F.value
|
|
476
476
|
}, {
|
|
477
477
|
default: r(() => [
|
|
478
|
-
B(L(
|
|
478
|
+
B(L(F.label), 1)
|
|
479
479
|
]),
|
|
480
480
|
_: 2
|
|
481
481
|
}, 1032, ["value"]))), 128))
|
|
@@ -485,25 +485,25 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
485
485
|
v.type === "date-picker" ? (i(), P(y(nt), le({
|
|
486
486
|
key: 5,
|
|
487
487
|
value: e.formData[v.key],
|
|
488
|
-
"onUpdate:value": (
|
|
488
|
+
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
489
489
|
}, { ref_for: !0 }, v.attrs), null, 16, ["value", "onUpdate:value"])) : z("", !0),
|
|
490
490
|
v.type === "input-number" ? (i(), P(y(at), le({
|
|
491
491
|
key: 6,
|
|
492
492
|
value: e.formData[v.key],
|
|
493
|
-
"onUpdate:value": (
|
|
493
|
+
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
494
494
|
}, { ref_for: !0 }, v.attrs), null, 16, ["value", "onUpdate:value"])) : z("", !0),
|
|
495
495
|
v.type === "radio" ? (i(), P(y(lt), le({
|
|
496
496
|
key: 7,
|
|
497
497
|
value: e.formData[v.key],
|
|
498
|
-
"onUpdate:value": (
|
|
498
|
+
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
499
499
|
}, { ref_for: !0 }, v.attrs), {
|
|
500
500
|
default: r(() => [
|
|
501
|
-
(i(!0), T(q, null, ie(v.options, (
|
|
501
|
+
(i(!0), T(q, null, ie(v.options, (F, G) => (i(), P(y(ot), {
|
|
502
502
|
key: G,
|
|
503
|
-
value:
|
|
503
|
+
value: F.value
|
|
504
504
|
}, {
|
|
505
505
|
default: r(() => [
|
|
506
|
-
B(L(
|
|
506
|
+
B(L(F.label), 1)
|
|
507
507
|
]),
|
|
508
508
|
_: 2
|
|
509
509
|
}, 1032, ["value"]))), 128))
|
|
@@ -513,7 +513,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
513
513
|
v.type === "switch" ? (i(), P(y(tt), le({
|
|
514
514
|
key: 8,
|
|
515
515
|
checked: e.formData[v.key],
|
|
516
|
-
"onUpdate:checked": (
|
|
516
|
+
"onUpdate:checked": (F) => e.formData[v.key] = F
|
|
517
517
|
}, { ref_for: !0 }, v.attrs), null, 16, ["checked", "onUpdate:checked"])) : z("", !0)
|
|
518
518
|
]),
|
|
519
519
|
_: 2
|
|
@@ -551,7 +551,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
551
551
|
}),
|
|
552
552
|
w(X, {
|
|
553
553
|
type: "link",
|
|
554
|
-
onClick:
|
|
554
|
+
onClick: H
|
|
555
555
|
}, {
|
|
556
556
|
default: r(() => [
|
|
557
557
|
B(L($.$t("hbLibComp.hbListPageAct.reset")), 1)
|
|
@@ -689,7 +689,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
689
689
|
}),
|
|
690
690
|
w(X, {
|
|
691
691
|
type: "link",
|
|
692
|
-
onClick:
|
|
692
|
+
onClick: H,
|
|
693
693
|
class: "hb_list_page_button"
|
|
694
694
|
}, {
|
|
695
695
|
default: r(() => [
|
|
@@ -844,7 +844,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
844
844
|
hideDomList: {}
|
|
845
845
|
},
|
|
846
846
|
setup(e) {
|
|
847
|
-
const t = pe("globalCompConfig", {}), o = e, { isFullscreen: n, toggle: c } =
|
|
847
|
+
const t = pe("globalCompConfig", {}), o = e, { isFullscreen: n, toggle: c } = Ft(document.body);
|
|
848
848
|
ee(
|
|
849
849
|
() => n.value,
|
|
850
850
|
(l) => {
|
|
@@ -1014,7 +1014,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1014
1014
|
]);
|
|
1015
1015
|
};
|
|
1016
1016
|
}
|
|
1017
|
-
}), wo = /* @__PURE__ */ Z(To, [["__scopeId", "data-v-de62f20a"]]), xo = te(wo),
|
|
1017
|
+
}), wo = /* @__PURE__ */ Z(To, [["__scopeId", "data-v-de62f20a"]]), xo = te(wo), Ho = (e = {}) => {
|
|
1018
1018
|
const { formRef: t, offsetBottom: o = 50, minHeight: n = 300, timeOut: c = 100 } = e, f = O(0);
|
|
1019
1019
|
let u = null, b = null, l = null, a = null, m = null;
|
|
1020
1020
|
const C = () => {
|
|
@@ -1023,8 +1023,8 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1023
1023
|
Le(() => {
|
|
1024
1024
|
const S = document.querySelector(".ant-table"), A = document.querySelector(".ant-pagination");
|
|
1025
1025
|
if (S) {
|
|
1026
|
-
const
|
|
1027
|
-
let h = k -
|
|
1026
|
+
const H = Math.floor(S.getBoundingClientRect().top), k = window.innerHeight, s = (A ? A.offsetHeight + 20 : 40) + o;
|
|
1027
|
+
let h = k - H - s;
|
|
1028
1028
|
h < n && (h = n), f.value = h;
|
|
1029
1029
|
}
|
|
1030
1030
|
});
|
|
@@ -1047,8 +1047,8 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1047
1047
|
}, D = () => {
|
|
1048
1048
|
const S = document.querySelector(".hb-lib-list-page-form-box");
|
|
1049
1049
|
S && (u = new ResizeObserver(() => {
|
|
1050
|
-
document.querySelectorAll(".ant-tooltip").forEach((
|
|
1051
|
-
|
|
1050
|
+
document.querySelectorAll(".ant-tooltip").forEach((H) => {
|
|
1051
|
+
H.style.display = "none";
|
|
1052
1052
|
}), C();
|
|
1053
1053
|
}), u.observe(S));
|
|
1054
1054
|
}, M = () => {
|
|
@@ -1090,7 +1090,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1090
1090
|
tableHeight: f,
|
|
1091
1091
|
calTableHeight: C
|
|
1092
1092
|
};
|
|
1093
|
-
},
|
|
1093
|
+
}, Fo = /* @__PURE__ */ J({
|
|
1094
1094
|
name: "HbLibListPageContainer",
|
|
1095
1095
|
__name: "HbListPageContainer",
|
|
1096
1096
|
props: {
|
|
@@ -1103,9 +1103,9 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1103
1103
|
isUnFixTbHeight: { type: Boolean }
|
|
1104
1104
|
},
|
|
1105
1105
|
setup(e) {
|
|
1106
|
-
const t = pe("globalCompConfig", {}), { isFullscreen: o } =
|
|
1106
|
+
const t = pe("globalCompConfig", {}), { isFullscreen: o } = Ft(document.body), n = e, c = Bt("PageContainerRef"), f = E(() => n.offsetHeight || t.HbLibListPageContainer?.offsetHeight || 110), u = E(() => n.offsetBottom || t.HbLibListPageContainer?.offsetBottom || 20), b = E(() => n.minHeight || t.HbLibListPageContainer?.minHeight || 300), l = E(() => n.timeOut || t.HbLibListPageContainer?.timeOut || 100), a = E(() => n.isUnFixTbHeight || t.HbLibListPageContainer?.isUnFixTbHeight || !1);
|
|
1107
1107
|
console.log(n.isUnFixTbHeight);
|
|
1108
|
-
const { calTableHeight: m, tableHeight: C } =
|
|
1108
|
+
const { calTableHeight: m, tableHeight: C } = Ho({
|
|
1109
1109
|
offsetBottom: u.value,
|
|
1110
1110
|
// 底部预留空间
|
|
1111
1111
|
minHeight: b.value,
|
|
@@ -1136,7 +1136,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1136
1136
|
], 4)
|
|
1137
1137
|
], 512));
|
|
1138
1138
|
}
|
|
1139
|
-
}), $o = te(
|
|
1139
|
+
}), $o = te(Fo), Io = { style: { "font-weight": "500" } }, Mo = {
|
|
1140
1140
|
key: 0,
|
|
1141
1141
|
class: "hb-lib-search-tag__description"
|
|
1142
1142
|
}, Do = { class: "hb-lib-selector-dropdown" }, Ao = { class: "hb-lib-selector-search" }, Bo = { class: "hb-lib-selector-list" }, Oo = ["onClick"], zo = { class: "hb-lib-option-content" }, Eo = { class: "hb-lib-option-label" }, Po = {
|
|
@@ -1212,7 +1212,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1212
1212
|
g.has(k.value) ? g.delete(k.value) : g.add(k.value), b.value = Array.from(g);
|
|
1213
1213
|
} else
|
|
1214
1214
|
b.value = [k.value], _();
|
|
1215
|
-
},
|
|
1215
|
+
}, H = (k) => {
|
|
1216
1216
|
if (k.target.checked) {
|
|
1217
1217
|
const s = new Set(b.value);
|
|
1218
1218
|
a.value.forEach((h) => {
|
|
@@ -1288,13 +1288,13 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1288
1288
|
key: 0,
|
|
1289
1289
|
checked: b.value.includes(R.value),
|
|
1290
1290
|
onChange: () => A(R),
|
|
1291
|
-
onClick: g[3] || (g[3] =
|
|
1291
|
+
onClick: g[3] || (g[3] = Fe(() => {
|
|
1292
1292
|
}, ["stop"]))
|
|
1293
1293
|
}, null, 8, ["checked", "onChange"])) : (i(), P(V, {
|
|
1294
1294
|
key: 1,
|
|
1295
1295
|
checked: b.value.includes(R.value),
|
|
1296
1296
|
onChange: () => A(R),
|
|
1297
|
-
onClick: g[4] || (g[4] =
|
|
1297
|
+
onClick: g[4] || (g[4] = Fe(() => {
|
|
1298
1298
|
}, ["stop"]))
|
|
1299
1299
|
}, null, 8, ["checked", "onChange"])),
|
|
1300
1300
|
d("div", zo, [
|
|
@@ -1307,7 +1307,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1307
1307
|
w(I, {
|
|
1308
1308
|
checked: C.value,
|
|
1309
1309
|
indeterminate: p.value,
|
|
1310
|
-
onChange:
|
|
1310
|
+
onChange: H
|
|
1311
1311
|
}, {
|
|
1312
1312
|
default: r(() => [
|
|
1313
1313
|
B(L(k.$t("hbLibComp.hbFormSelectFilter.allSelect")), 1)
|
|
@@ -1393,7 +1393,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1393
1393
|
a.value = [], m.value = [];
|
|
1394
1394
|
}, A = () => {
|
|
1395
1395
|
u.value = "", S();
|
|
1396
|
-
},
|
|
1396
|
+
}, H = (s, h, I) => {
|
|
1397
1397
|
h(), p.searchText = s[0], p.searchedColumn = I;
|
|
1398
1398
|
}, k = (s, h) => {
|
|
1399
1399
|
s({ confirm: !0 }), p.searchText = "", h();
|
|
@@ -1470,7 +1470,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1470
1470
|
value: R[0],
|
|
1471
1471
|
class: "hb-lib-form-item-filter-modal-search-input",
|
|
1472
1472
|
onChange: (ue) => $(ue.target.value ? [ue.target.value] : []),
|
|
1473
|
-
onPressEnter: (ue) =>
|
|
1473
|
+
onPressEnter: (ue) => H(R, X, ce.dataIndex)
|
|
1474
1474
|
}, null, 8, ["placeholder", "value", "onChange", "onPressEnter"]),
|
|
1475
1475
|
d("section", Ko, [
|
|
1476
1476
|
w(V, {
|
|
@@ -1486,7 +1486,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1486
1486
|
w(V, {
|
|
1487
1487
|
type: "primary",
|
|
1488
1488
|
class: "hb-lib-form-item-filter-modal-button-confirm",
|
|
1489
|
-
onClick: (ue) =>
|
|
1489
|
+
onClick: (ue) => H(R, X, ce.dataIndex)
|
|
1490
1490
|
}, {
|
|
1491
1491
|
default: r(() => [
|
|
1492
1492
|
B(L(s.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
|
|
@@ -1543,7 +1543,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1543
1543
|
return o.filterPermission(x);
|
|
1544
1544
|
let _ = [], S = [];
|
|
1545
1545
|
return _ = JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH") || "[]"), !Array.isArray(_) || x.length === 0 ? (_ = [], []) : (_ = _.filter((A) => A.type != "2"), x.forEach((A) => {
|
|
1546
|
-
(!A.permissionsTag || _.findIndex((
|
|
1546
|
+
(!A.permissionsTag || _.findIndex((H) => H.action === A.permissionsTag) !== -1) && S.push(A);
|
|
1547
1547
|
}), S);
|
|
1548
1548
|
}
|
|
1549
1549
|
const C = (x) => {
|
|
@@ -1578,17 +1578,17 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1578
1578
|
}), (x, _) => {
|
|
1579
1579
|
const S = N("a-divider"), A = St("has");
|
|
1580
1580
|
return i(), T("div", Zo, [
|
|
1581
|
-
(i(!0), T(q, null, ie(l.value, (
|
|
1582
|
-
|
|
1583
|
-
|
|
1581
|
+
(i(!0), T(q, null, ie(l.value, (H, k) => (i(), T(q, { key: k }, [
|
|
1582
|
+
H.needConfirm ? (i(), T(q, { key: 0 }, [
|
|
1583
|
+
H.confirmType === "modal" ? (i(), T(q, { key: 0 }, [
|
|
1584
1584
|
fe((i(), T("a", {
|
|
1585
1585
|
href: "javascript:;",
|
|
1586
|
-
onClick: (g) => p(
|
|
1586
|
+
onClick: (g) => p(H),
|
|
1587
1587
|
class: "hb-lib-table-main-action"
|
|
1588
1588
|
}, [
|
|
1589
|
-
B(L(
|
|
1589
|
+
B(L(H.label), 1)
|
|
1590
1590
|
], 8, Xo)), [
|
|
1591
|
-
[A,
|
|
1591
|
+
[A, H.permissionsTag || null]
|
|
1592
1592
|
]),
|
|
1593
1593
|
a.value && a.value.length > 0 || k !== l.value.length - 1 ? (i(), P(S, {
|
|
1594
1594
|
key: 0,
|
|
@@ -1596,14 +1596,14 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1596
1596
|
})) : z("", !0)
|
|
1597
1597
|
], 64)) : (i(), T(q, { key: 1 }, [
|
|
1598
1598
|
w(y(Re), {
|
|
1599
|
-
title:
|
|
1600
|
-
onConfirm: (g) => C(
|
|
1599
|
+
title: H.confirmTitle,
|
|
1600
|
+
onConfirm: (g) => C(H)
|
|
1601
1601
|
}, {
|
|
1602
1602
|
default: r(() => [
|
|
1603
1603
|
fe((i(), T("a", el, [
|
|
1604
|
-
B(L(
|
|
1604
|
+
B(L(H.label), 1)
|
|
1605
1605
|
])), [
|
|
1606
|
-
[A,
|
|
1606
|
+
[A, H.permissionsTag || null]
|
|
1607
1607
|
])
|
|
1608
1608
|
]),
|
|
1609
1609
|
_: 2
|
|
@@ -1613,8 +1613,8 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1613
1613
|
type: "vertical"
|
|
1614
1614
|
})) : z("", !0)
|
|
1615
1615
|
], 64))
|
|
1616
|
-
], 64)) :
|
|
1617
|
-
W(x.$slots,
|
|
1616
|
+
], 64)) : H.slot ? (i(), T(q, { key: 1 }, [
|
|
1617
|
+
W(x.$slots, H.slot, { item: H }, void 0, !0),
|
|
1618
1618
|
a.value && a.value.length > 0 || k !== l.value.length - 1 ? (i(), P(S, {
|
|
1619
1619
|
key: 0,
|
|
1620
1620
|
type: "vertical"
|
|
@@ -1622,18 +1622,18 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1622
1622
|
], 64)) : (i(), T(q, { key: 2 }, [
|
|
1623
1623
|
fe((i(), T("a", {
|
|
1624
1624
|
href: "javascript:;",
|
|
1625
|
-
onClick: (g) => C(
|
|
1625
|
+
onClick: (g) => C(H),
|
|
1626
1626
|
class: "hb-lib-table-main-action"
|
|
1627
1627
|
}, [
|
|
1628
|
-
B(L(
|
|
1628
|
+
B(L(H.label), 1)
|
|
1629
1629
|
], 8, tl)), [
|
|
1630
|
-
[A,
|
|
1630
|
+
[A, H.permissionsTag || null]
|
|
1631
1631
|
]),
|
|
1632
1632
|
a.value && a.value.length > 0 || k !== l.value.length - 1 ? fe((i(), P(S, {
|
|
1633
1633
|
key: 0,
|
|
1634
1634
|
type: "vertical"
|
|
1635
1635
|
}, null, 512)), [
|
|
1636
|
-
[A,
|
|
1636
|
+
[A, H.permissionsTag || null]
|
|
1637
1637
|
]) : z("", !0)
|
|
1638
1638
|
], 64))
|
|
1639
1639
|
], 64))), 128)),
|
|
@@ -1641,46 +1641,46 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1641
1641
|
overlay: r(() => [
|
|
1642
1642
|
w(y(ut), null, {
|
|
1643
1643
|
default: r(() => [
|
|
1644
|
-
(i(!0), T(q, null, ie(a.value, (
|
|
1644
|
+
(i(!0), T(q, null, ie(a.value, (H, k) => fe((i(), P(y(dt), { key: k }, {
|
|
1645
1645
|
default: r(() => [
|
|
1646
|
-
|
|
1647
|
-
|
|
1646
|
+
H.needConfirm ? (i(), T(q, { key: 0 }, [
|
|
1647
|
+
H.confirmType === "modal" ? fe((i(), T("a", {
|
|
1648
1648
|
key: 0,
|
|
1649
1649
|
href: "javascript:;",
|
|
1650
|
-
onClick: (g) => p(
|
|
1650
|
+
onClick: (g) => p(H)
|
|
1651
1651
|
}, [
|
|
1652
|
-
B(L(
|
|
1652
|
+
B(L(H.label), 1)
|
|
1653
1653
|
], 8, ll)), [
|
|
1654
|
-
[A,
|
|
1654
|
+
[A, H.permissionsTag || null]
|
|
1655
1655
|
]) : fe((i(), P(y(Re), {
|
|
1656
1656
|
key: 1,
|
|
1657
|
-
title:
|
|
1658
|
-
onConfirm: (g) => C(
|
|
1657
|
+
title: H.confirmTitle,
|
|
1658
|
+
onConfirm: (g) => C(H)
|
|
1659
1659
|
}, {
|
|
1660
1660
|
default: r(() => [
|
|
1661
1661
|
fe((i(), T("a", al, [
|
|
1662
|
-
B(L(
|
|
1662
|
+
B(L(H.label), 1)
|
|
1663
1663
|
])), [
|
|
1664
|
-
[A,
|
|
1664
|
+
[A, H.permissionsTag || null]
|
|
1665
1665
|
])
|
|
1666
1666
|
]),
|
|
1667
1667
|
_: 2
|
|
1668
1668
|
}, 1032, ["title", "onConfirm"])), [
|
|
1669
|
-
[A,
|
|
1669
|
+
[A, H.permissionsTag || null]
|
|
1670
1670
|
])
|
|
1671
1671
|
], 64)) : fe((i(), T("a", {
|
|
1672
1672
|
key: 1,
|
|
1673
1673
|
href: "javascript:;",
|
|
1674
|
-
onClick: (g) => C(
|
|
1674
|
+
onClick: (g) => C(H)
|
|
1675
1675
|
}, [
|
|
1676
|
-
B(L(
|
|
1676
|
+
B(L(H.label), 1)
|
|
1677
1677
|
], 8, nl)), [
|
|
1678
|
-
[A,
|
|
1678
|
+
[A, H.permissionsTag || null]
|
|
1679
1679
|
])
|
|
1680
1680
|
]),
|
|
1681
1681
|
_: 2
|
|
1682
1682
|
}, 1024)), [
|
|
1683
|
-
[A,
|
|
1683
|
+
[A, H.permissionsTag || null]
|
|
1684
1684
|
])), 128))
|
|
1685
1685
|
]),
|
|
1686
1686
|
_: 1
|
|
@@ -1753,7 +1753,7 @@ function Je(e) {
|
|
|
1753
1753
|
var t = typeof e;
|
|
1754
1754
|
return e != null && (t == "object" || t == "function");
|
|
1755
1755
|
}
|
|
1756
|
-
var ht = NaN,
|
|
1756
|
+
var ht = NaN, Hl = /^[-+]0x[0-9a-f]+$/i, Fl = /^0b[01]+$/i, $l = /^0o[0-7]+$/i, Il = parseInt;
|
|
1757
1757
|
function mt(e) {
|
|
1758
1758
|
if (typeof e == "number")
|
|
1759
1759
|
return e;
|
|
@@ -1766,8 +1766,8 @@ function mt(e) {
|
|
|
1766
1766
|
if (typeof e != "string")
|
|
1767
1767
|
return e === 0 ? e : +e;
|
|
1768
1768
|
e = xl(e);
|
|
1769
|
-
var o =
|
|
1770
|
-
return o || $l.test(e) ? Il(e.slice(2), o ? 2 : 8) :
|
|
1769
|
+
var o = Fl.test(e);
|
|
1770
|
+
return o || $l.test(e) ? Il(e.slice(2), o ? 2 : 8) : Hl.test(e) ? ht : +e;
|
|
1771
1771
|
}
|
|
1772
1772
|
var Ue = function() {
|
|
1773
1773
|
return $t.Date.now();
|
|
@@ -1804,7 +1804,7 @@ function Bl(e, t, o) {
|
|
|
1804
1804
|
function A() {
|
|
1805
1805
|
b !== void 0 && clearTimeout(b), a = 0, n = l = c = b = void 0;
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1807
|
+
function H() {
|
|
1808
1808
|
return b === void 0 ? u : S(Ue());
|
|
1809
1809
|
}
|
|
1810
1810
|
function k() {
|
|
@@ -1817,7 +1817,7 @@ function Bl(e, t, o) {
|
|
|
1817
1817
|
}
|
|
1818
1818
|
return b === void 0 && (b = setTimeout(_, t)), u;
|
|
1819
1819
|
}
|
|
1820
|
-
return k.cancel = A, k.flush =
|
|
1820
|
+
return k.cancel = A, k.flush = H, k;
|
|
1821
1821
|
}
|
|
1822
1822
|
const Ol = {
|
|
1823
1823
|
key: 0,
|
|
@@ -1838,9 +1838,9 @@ const Ol = {
|
|
|
1838
1838
|
ee(
|
|
1839
1839
|
() => f.columns,
|
|
1840
1840
|
(_) => {
|
|
1841
|
-
const S = _.filter((
|
|
1842
|
-
u.value = S.map((
|
|
1843
|
-
let k = { ...
|
|
1841
|
+
const S = _.filter((H) => H != null && H.checked);
|
|
1842
|
+
u.value = S.map((H) => {
|
|
1843
|
+
let k = { ...H, title: H.title || H.label, align: H.align || o.listTable?.align || "center" };
|
|
1844
1844
|
k.ellipsis && !k.needTooltip && (k.needTooltip = !0);
|
|
1845
1845
|
let g = f.defaultWidth || o.listTable?.defaultColWidth || 150;
|
|
1846
1846
|
if (!k.width)
|
|
@@ -1872,7 +1872,7 @@ const Ol = {
|
|
|
1872
1872
|
_?.current && n("change", _, S, A);
|
|
1873
1873
|
}, M = (_, S = "YYYY-MM-DD HH:mm:ss") => _ ? Oe(_).format(S) : "", U = (_, S) => _ && S[_] || "", x = (_, S = o.listTable?.ellipsisNumber || 20) => _ ? _.length > S ? `${_.substring(0, S)}...` : _ : "";
|
|
1874
1874
|
return (_, S) => {
|
|
1875
|
-
const A = N("a-empty"),
|
|
1875
|
+
const A = N("a-empty"), H = N("a-tooltip"), k = N("HbLibCopy"), g = N("a-tag"), s = N("a-table");
|
|
1876
1876
|
return i(), T("div", {
|
|
1877
1877
|
class: Y(["hb-lib-list-table", { "nowrap-table": f.rowHeight }]),
|
|
1878
1878
|
style: re({ "--hb-lib-table-td-height": e.rowHeight && e.rowHeight + "px" || "" })
|
|
@@ -1921,7 +1921,7 @@ const Ol = {
|
|
|
1921
1921
|
index: V,
|
|
1922
1922
|
text: K
|
|
1923
1923
|
}, void 0, !0),
|
|
1924
|
-
h && h.needTooltip && !h.needCopy ? (i(), P(
|
|
1924
|
+
h && h.needTooltip && !h.needCopy ? (i(), P(H, {
|
|
1925
1925
|
key: 0,
|
|
1926
1926
|
placement: e.tooltipPlacement
|
|
1927
1927
|
}, {
|
|
@@ -1940,7 +1940,7 @@ const Ol = {
|
|
|
1940
1940
|
}, null, 8, ["cp-text"])
|
|
1941
1941
|
])) : z("", !0),
|
|
1942
1942
|
h && h.needTooltip && h.needCopy ? (i(), T("div", Pl, [
|
|
1943
|
-
w(
|
|
1943
|
+
w(H, { placement: e.tooltipPlacement }, {
|
|
1944
1944
|
title: r(() => [
|
|
1945
1945
|
B(L(I[h.dataIndex]), 1)
|
|
1946
1946
|
]),
|
|
@@ -2115,7 +2115,7 @@ const Ol = {
|
|
|
2115
2115
|
c.tableColumns.forEach(function(s) {
|
|
2116
2116
|
g.push(s.dataIndex);
|
|
2117
2117
|
});
|
|
2118
|
-
}, A = (g) => g.children[0].text,
|
|
2118
|
+
}, A = (g) => g.children[0].text, H = (g) => {
|
|
2119
2119
|
delete g.fixed;
|
|
2120
2120
|
const s = l.value.findIndex((h) => h.value === g.value);
|
|
2121
2121
|
if (s !== -1) {
|
|
@@ -2193,7 +2193,7 @@ const Ol = {
|
|
|
2193
2193
|
default: r(() => [
|
|
2194
2194
|
d("span", {
|
|
2195
2195
|
class: "hb-lib-table-drag-item-act-btn",
|
|
2196
|
-
onClick: (K) =>
|
|
2196
|
+
onClick: (K) => H(V)
|
|
2197
2197
|
}, [...s[2] || (s[2] = [
|
|
2198
2198
|
d("svg", {
|
|
2199
2199
|
t: "1759048615600",
|
|
@@ -2616,7 +2616,7 @@ const Ol = {
|
|
|
2616
2616
|
d("span", {
|
|
2617
2617
|
class: "hb-lib-copy-text-eyevue",
|
|
2618
2618
|
style: re({ ...l.cpStyle }),
|
|
2619
|
-
onClick:
|
|
2619
|
+
onClick: Fe(b, ["stop", "prevent"])
|
|
2620
2620
|
}, [...a[0] || (a[0] = [
|
|
2621
2621
|
d("svg", {
|
|
2622
2622
|
t: "1766643849597",
|
|
@@ -2830,7 +2830,7 @@ const Ol = {
|
|
|
2830
2830
|
default: r(() => [
|
|
2831
2831
|
d("span", {
|
|
2832
2832
|
class: "ant-dropdown-link",
|
|
2833
|
-
onClick: a[0] || (a[0] =
|
|
2833
|
+
onClick: a[0] || (a[0] = Fe(() => {
|
|
2834
2834
|
}, ["prevent"]))
|
|
2835
2835
|
}, [
|
|
2836
2836
|
B(L(n.colText) + " ", 1),
|
|
@@ -2898,7 +2898,7 @@ const Ol = {
|
|
|
2898
2898
|
W(n.$slots, "default")
|
|
2899
2899
|
]));
|
|
2900
2900
|
}
|
|
2901
|
-
}), Xe = Symbol("GLOBAL_CONFIG_KEY"),
|
|
2901
|
+
}), Xe = Symbol("GLOBAL_CONFIG_KEY"), Ha = te(xa), Fa = { class: "hb_lib_loading" }, $a = { class: "hb_lib_loading_loading_anima" }, Ia = { class: "hb_lib_loading_load_tips" }, Ma = /* @__PURE__ */ J({
|
|
2902
2902
|
name: "HbLibLoading",
|
|
2903
2903
|
__name: "loading",
|
|
2904
2904
|
props: {
|
|
@@ -2909,7 +2909,7 @@ const Ol = {
|
|
|
2909
2909
|
},
|
|
2910
2910
|
setup(e) {
|
|
2911
2911
|
const { t } = de(), o = e, n = E(() => o.loadTips || t("hbLibComp.HbLibLoading.loadingTips"));
|
|
2912
|
-
return (c, f) => (i(), T("div",
|
|
2912
|
+
return (c, f) => (i(), T("div", Fa, [
|
|
2913
2913
|
d("div", $a, [
|
|
2914
2914
|
f[0] || (f[0] = Et('<div class="cube" data-v-22f438b9><div class="side front" data-v-22f438b9></div><div class="side back" data-v-22f438b9></div><div class="side right" data-v-22f438b9></div><div class="side left" data-v-22f438b9></div><div class="side top" data-v-22f438b9></div><div class="side bottom" data-v-22f438b9></div></div>', 1)),
|
|
2915
2915
|
d("div", Ia, L(n.value), 1)
|
|
@@ -2922,8 +2922,8 @@ const Ol = {
|
|
|
2922
2922
|
HbLibFuncCompDrag: _a,
|
|
2923
2923
|
HbLibLoading: Aa,
|
|
2924
2924
|
HbLibSort: Sa,
|
|
2925
|
-
HbUiConfig:
|
|
2926
|
-
}, Symbol.toStringTag, { value: "Module" })), Oa = { class: "
|
|
2925
|
+
HbUiConfig: Ha
|
|
2926
|
+
}, Symbol.toStringTag, { value: "Module" })), Oa = { class: "hb_lib_log_modal_content" }, za = { class: "log_remark" }, Ea = /* @__PURE__ */ J({
|
|
2927
2927
|
name: "HbLibLogModal",
|
|
2928
2928
|
__name: "HbLogModal",
|
|
2929
2929
|
props: {
|
|
@@ -3007,7 +3007,7 @@ const Ol = {
|
|
|
3007
3007
|
close: p,
|
|
3008
3008
|
loading: l
|
|
3009
3009
|
}), (x, _) => {
|
|
3010
|
-
const S = N("a-tooltip"), A = N("HbLibCopy"),
|
|
3010
|
+
const S = N("a-tooltip"), A = N("HbLibCopy"), H = N("a-table"), k = N("a-button"), g = N("HbLibModal");
|
|
3011
3011
|
return i(), T(q, null, [
|
|
3012
3012
|
w(g, {
|
|
3013
3013
|
visible: e.visible,
|
|
@@ -3025,51 +3025,53 @@ const Ol = {
|
|
|
3025
3025
|
})
|
|
3026
3026
|
]),
|
|
3027
3027
|
default: r(() => [
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
s.needTooltip ? (i(),
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
_: 2
|
|
3062
|
-
}, [
|
|
3063
|
-
x.$slots.headerCell ? {
|
|
3064
|
-
name: "headerCell",
|
|
3065
|
-
fn: r(({ column: s }) => [
|
|
3066
|
-
W(x.$slots, "headerCell", { column: s }, () => [
|
|
3067
|
-
B(L(s.title), 1)
|
|
3068
|
-
], !0)
|
|
3028
|
+
d("div", Oa, [
|
|
3029
|
+
w(H, {
|
|
3030
|
+
bordered: "",
|
|
3031
|
+
rowKey: "id",
|
|
3032
|
+
columns: u.value,
|
|
3033
|
+
dataSource: a.list,
|
|
3034
|
+
pagination: a.pagination,
|
|
3035
|
+
loading: l.value,
|
|
3036
|
+
scroll: { y: e.scrollY },
|
|
3037
|
+
onChange: C
|
|
3038
|
+
}, Be({
|
|
3039
|
+
bodyCell: r(({ column: s, record: h }) => [
|
|
3040
|
+
s && s.needTooltip ? (i(), T(q, { key: 0 }, [
|
|
3041
|
+
s.needTooltip ? (i(), P(S, { key: 0 }, {
|
|
3042
|
+
title: r(() => [
|
|
3043
|
+
B(L(h[s.dataIndex]), 1)
|
|
3044
|
+
]),
|
|
3045
|
+
default: r(() => [
|
|
3046
|
+
B(" " + L(h[s.dataIndex]), 1)
|
|
3047
|
+
]),
|
|
3048
|
+
_: 2
|
|
3049
|
+
}, 1024)) : z("", !0)
|
|
3050
|
+
], 64)) : z("", !0),
|
|
3051
|
+
s && s.needCopy ? (i(), T(q, { key: 1 }, [
|
|
3052
|
+
d("div", za, L(h[s.dataIndex]), 1),
|
|
3053
|
+
w(A, {
|
|
3054
|
+
"cp-text": h[s.dataIndex],
|
|
3055
|
+
style: { position: "relative" }
|
|
3056
|
+
}, null, 8, ["cp-text"])
|
|
3057
|
+
], 64)) : z("", !0),
|
|
3058
|
+
s && s.needFormat ? (i(), T(q, { key: 2 }, [
|
|
3059
|
+
B(L(M(h[s.dataIndex], s.operateTime)), 1)
|
|
3060
|
+
], 64)) : z("", !0)
|
|
3069
3061
|
]),
|
|
3070
|
-
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3062
|
+
_: 2
|
|
3063
|
+
}, [
|
|
3064
|
+
x.$slots.headerCell ? {
|
|
3065
|
+
name: "headerCell",
|
|
3066
|
+
fn: r(({ column: s }) => [
|
|
3067
|
+
W(x.$slots, "headerCell", { column: s }, () => [
|
|
3068
|
+
B(L(s.title), 1)
|
|
3069
|
+
], !0)
|
|
3070
|
+
]),
|
|
3071
|
+
key: "0"
|
|
3072
|
+
} : void 0
|
|
3073
|
+
]), 1032, ["columns", "dataSource", "pagination", "loading", "scroll"])
|
|
3074
|
+
])
|
|
3073
3075
|
]),
|
|
3074
3076
|
_: 3
|
|
3075
3077
|
}, 8, ["visible", "title", "width", "height"]),
|
|
@@ -3084,15 +3086,15 @@ const Ol = {
|
|
|
3084
3086
|
], 64);
|
|
3085
3087
|
};
|
|
3086
3088
|
}
|
|
3087
|
-
}),
|
|
3089
|
+
}), Pa = /* @__PURE__ */ Z(Ea, [["__scopeId", "data-v-9f8979b3"]]), Na = te(Pa), Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3088
3090
|
__proto__: null,
|
|
3089
|
-
HbLibLogModal:
|
|
3091
|
+
HbLibLogModal: Na
|
|
3090
3092
|
}, Symbol.toStringTag, { value: "Module" })), ye = (e) => (e.install = (t) => {
|
|
3091
3093
|
t.component(e.name || "AnonymousComponent", e);
|
|
3092
|
-
}, e),
|
|
3094
|
+
}, e), Ua = { class: "hb_card_wrapper" }, Va = { class: "hb_card" }, ja = {
|
|
3093
3095
|
key: 0,
|
|
3094
3096
|
class: "hb_card_header"
|
|
3095
|
-
},
|
|
3097
|
+
}, Wa = { class: "hb_fix" }, Ya = { class: "hb_card_header-title" }, qa = { class: "hb_card_header-action" }, Ka = { class: "hb_card_body" }, Ja = /* @__PURE__ */ J({
|
|
3096
3098
|
name: "HbLibCard",
|
|
3097
3099
|
__name: "HbLibCard",
|
|
3098
3100
|
props: {
|
|
@@ -3126,24 +3128,24 @@ const Ol = {
|
|
|
3126
3128
|
let c = o.formItemMb || t?.HbLibCard?.formItemMb;
|
|
3127
3129
|
return c ? { "--hb-card-form-item-mb": c + "px" } : {};
|
|
3128
3130
|
});
|
|
3129
|
-
return (c, f) => (i(), T("div",
|
|
3131
|
+
return (c, f) => (i(), T("div", Ua, [
|
|
3130
3132
|
d("div", {
|
|
3131
3133
|
class: Y(e.isModal ? "modal__module-card" : "__module-card")
|
|
3132
3134
|
}, [
|
|
3133
|
-
d("div",
|
|
3134
|
-
e.cardTitle ? (i(), T("div",
|
|
3135
|
-
d("div",
|
|
3136
|
-
d("span",
|
|
3135
|
+
d("div", Va, [
|
|
3136
|
+
e.cardTitle ? (i(), T("div", ja, [
|
|
3137
|
+
d("div", Wa, [
|
|
3138
|
+
d("span", Ya, [
|
|
3137
3139
|
W(c.$slots, "cardTitle", {}, () => [
|
|
3138
3140
|
B(L(e.cardTitle), 1)
|
|
3139
3141
|
], !0)
|
|
3140
3142
|
]),
|
|
3141
|
-
d("div",
|
|
3143
|
+
d("div", qa, [
|
|
3142
3144
|
W(c.$slots, "cardAct", {}, void 0, !0)
|
|
3143
3145
|
])
|
|
3144
3146
|
])
|
|
3145
3147
|
])) : z("", !0),
|
|
3146
|
-
d("div",
|
|
3148
|
+
d("div", Ka, [
|
|
3147
3149
|
d("section", {
|
|
3148
3150
|
class: Y({
|
|
3149
3151
|
hb_card_form: e.isForm && !e.isModal,
|
|
@@ -3161,10 +3163,10 @@ const Ol = {
|
|
|
3161
3163
|
], 2)
|
|
3162
3164
|
]));
|
|
3163
3165
|
}
|
|
3164
|
-
}),
|
|
3166
|
+
}), Ga = /* @__PURE__ */ Z(Ja, [["__scopeId", "data-v-927846d4"]]), Qa = ye(Ga), Za = ["onClick"], Xa = { class: "step" }, en = {
|
|
3165
3167
|
key: 0,
|
|
3166
3168
|
class: "line"
|
|
3167
|
-
},
|
|
3169
|
+
}, tn = ["title"], on = /* @__PURE__ */ J({
|
|
3168
3170
|
name: "HbLibAnchor",
|
|
3169
3171
|
__name: "HbLibAnchor",
|
|
3170
3172
|
props: {
|
|
@@ -3207,27 +3209,27 @@ const Ol = {
|
|
|
3207
3209
|
class: Y(["anchor-item", { isActive: o.value === m.target }]),
|
|
3208
3210
|
onClick: (p) => u(m)
|
|
3209
3211
|
}, [
|
|
3210
|
-
d("div",
|
|
3211
|
-
C !== c.value.length - 1 ? (i(), T("div",
|
|
3212
|
+
d("div", Xa, [
|
|
3213
|
+
C !== c.value.length - 1 ? (i(), T("div", en)) : z("", !0),
|
|
3212
3214
|
a[0] || (a[0] = d("div", { class: "circle" }, null, -1))
|
|
3213
3215
|
]),
|
|
3214
3216
|
d("span", {
|
|
3215
3217
|
class: "title",
|
|
3216
3218
|
title: m.title
|
|
3217
|
-
}, L(m.title.length > 12 ? m.title.slice(0, 12) + "..." : m.title), 9,
|
|
3218
|
-
], 10,
|
|
3219
|
+
}, L(m.title.length > 12 ? m.title.slice(0, 12) + "..." : m.title), 9, tn)
|
|
3220
|
+
], 10, Za))), 128))
|
|
3219
3221
|
], 4));
|
|
3220
3222
|
}
|
|
3221
|
-
}),
|
|
3223
|
+
}), ln = /* @__PURE__ */ Z(on, [["__scopeId", "data-v-d51548d8"]]), an = ye(ln), nn = { class: "hb_detail_top_act_left" }, sn = {
|
|
3222
3224
|
key: 1,
|
|
3223
3225
|
class: "hb_detail_top_wrapper_sticky"
|
|
3224
|
-
},
|
|
3226
|
+
}, rn = { class: "hb_detail_top_act" }, cn = {
|
|
3225
3227
|
key: 0,
|
|
3226
3228
|
class: "hb_detail_all_info"
|
|
3227
|
-
},
|
|
3229
|
+
}, dn = { class: "hb_detail_all_info_left" }, un = { class: "hb_detail_info_title" }, fn = {
|
|
3228
3230
|
key: 0,
|
|
3229
3231
|
class: "hb_detail_info_content"
|
|
3230
|
-
},
|
|
3232
|
+
}, bn = { class: "create_by" }, pn = { class: "hb_detail_all_info_right" }, hn = { class: "hb_edit_detail_content_wrapper" }, mn = { class: "hb_detail_content" }, vn = { class: "hb-back-top-inner" }, gn = /* @__PURE__ */ J({
|
|
3231
3233
|
name: "HbLibDetailBox",
|
|
3232
3234
|
__name: "HbLibDetailBox",
|
|
3233
3235
|
props: {
|
|
@@ -3335,7 +3337,7 @@ const Ol = {
|
|
|
3335
3337
|
key: 0,
|
|
3336
3338
|
class: Y(["hb_detail_top_act_sticky", b.value ? "can_show" : ""])
|
|
3337
3339
|
}, [
|
|
3338
|
-
d("div",
|
|
3340
|
+
d("div", nn, [
|
|
3339
3341
|
w(x, { style: { color: "#ff5000" } }),
|
|
3340
3342
|
d("a", {
|
|
3341
3343
|
href: "javascript:;",
|
|
@@ -3347,8 +3349,8 @@ const Ol = {
|
|
|
3347
3349
|
]),
|
|
3348
3350
|
U[0] || (U[0] = d("div", { class: "hb_detail_top_act_right" }, null, -1))
|
|
3349
3351
|
], 2)) : z("", !0),
|
|
3350
|
-
e.needTotalInfoBox ? (i(), T("div",
|
|
3351
|
-
d("div",
|
|
3352
|
+
e.needTotalInfoBox ? (i(), T("div", sn, [
|
|
3353
|
+
d("div", rn, [
|
|
3352
3354
|
w(x),
|
|
3353
3355
|
d("a", {
|
|
3354
3356
|
href: "javascript:;",
|
|
@@ -3358,23 +3360,23 @@ const Ol = {
|
|
|
3358
3360
|
w(_, { type: "vertical" }),
|
|
3359
3361
|
d("span", null, L(e.stickyTitle), 1)
|
|
3360
3362
|
]),
|
|
3361
|
-
e.needTotalInfoBox ? (i(), T("div",
|
|
3362
|
-
d("aside",
|
|
3363
|
+
e.needTotalInfoBox ? (i(), T("div", cn, [
|
|
3364
|
+
d("aside", dn, [
|
|
3363
3365
|
W(M.$slots, "totalInfoLeft", {}, () => [
|
|
3364
|
-
d("div",
|
|
3365
|
-
e.totalInfo.totalInfoSubTitle1 ? (i(), T("div",
|
|
3366
|
-
d("span",
|
|
3366
|
+
d("div", un, L(e.totalInfo.totalInfoTitle), 1),
|
|
3367
|
+
e.totalInfo.totalInfoSubTitle1 ? (i(), T("div", fn, [
|
|
3368
|
+
d("span", bn, L(e.totalInfo.totalInfoSubTitle1) + L(e.totalInfo.totalInfoSubVal1), 1),
|
|
3367
3369
|
d("span", null, L(e.totalInfo.totalInfoSubTitle2) + L(e.totalInfo.totalInfoSubVal2), 1)
|
|
3368
3370
|
])) : z("", !0)
|
|
3369
3371
|
], !0)
|
|
3370
3372
|
]),
|
|
3371
|
-
d("aside",
|
|
3373
|
+
d("aside", pn, [
|
|
3372
3374
|
W(M.$slots, "totalInfoRight", {}, void 0, !0)
|
|
3373
3375
|
])
|
|
3374
3376
|
])) : z("", !0)
|
|
3375
3377
|
])) : z("", !0),
|
|
3376
|
-
d("div",
|
|
3377
|
-
d("div",
|
|
3378
|
+
d("div", hn, [
|
|
3379
|
+
d("div", mn, [
|
|
3378
3380
|
W(M.$slots, "detailContent", {}, void 0, !0)
|
|
3379
3381
|
])
|
|
3380
3382
|
]),
|
|
@@ -3383,8 +3385,8 @@ const Ol = {
|
|
|
3383
3385
|
style: re({ bottom: e.backTopBottom + "px" })
|
|
3384
3386
|
}, {
|
|
3385
3387
|
default: r(() => [
|
|
3386
|
-
d("div",
|
|
3387
|
-
w(y(
|
|
3388
|
+
d("div", vn, [
|
|
3389
|
+
w(y(Ht))
|
|
3388
3390
|
])
|
|
3389
3391
|
]),
|
|
3390
3392
|
_: 1
|
|
@@ -3395,7 +3397,7 @@ const Ol = {
|
|
|
3395
3397
|
}, 8, ["spinning"]);
|
|
3396
3398
|
};
|
|
3397
3399
|
}
|
|
3398
|
-
}),
|
|
3400
|
+
}), yn = /* @__PURE__ */ Z(gn, [["__scopeId", "data-v-dc66a005"]]), _n = ye(yn), Ln = /* @__PURE__ */ J({
|
|
3399
3401
|
name: "HbLibFooterBar",
|
|
3400
3402
|
__name: "HbLibFooterBar",
|
|
3401
3403
|
props: {
|
|
@@ -3508,7 +3510,7 @@ const Ol = {
|
|
|
3508
3510
|
], 4);
|
|
3509
3511
|
};
|
|
3510
3512
|
}
|
|
3511
|
-
}),
|
|
3513
|
+
}), Cn = /* @__PURE__ */ Z(Ln, [["__scopeId", "data-v-37376438"]]), kn = ye(Cn), Sn = { class: "modal__detail-content" }, Tn = /* @__PURE__ */ J({
|
|
3512
3514
|
name: "HbLibModal",
|
|
3513
3515
|
__name: "HbLibModal",
|
|
3514
3516
|
props: {
|
|
@@ -3555,7 +3557,7 @@ const Ol = {
|
|
|
3555
3557
|
overflowY: "auto",
|
|
3556
3558
|
padding: "0 6px",
|
|
3557
3559
|
...c.bodyStyle
|
|
3558
|
-
})), { x: m, y: C, isDragging: p } = eo(u), D = O(0), M = O(0), U = O(!1), x = O(0), _ = O(0), S = O(0), A = O(0),
|
|
3560
|
+
})), { x: m, y: C, isDragging: p } = eo(u), D = O(0), M = O(0), U = O(!1), x = O(0), _ = O(0), S = O(0), A = O(0), H = O({ left: 0, right: 0, top: 0, bottom: 0 });
|
|
3559
3561
|
let k = null;
|
|
3560
3562
|
ee(f, (I) => {
|
|
3561
3563
|
I || (k && clearTimeout(k), k = setTimeout(() => {
|
|
@@ -3565,13 +3567,13 @@ const Ol = {
|
|
|
3565
3567
|
if (!U.value) {
|
|
3566
3568
|
D.value = m.value, M.value = C.value;
|
|
3567
3569
|
const I = document.body.getBoundingClientRect(), V = u.value.getBoundingClientRect();
|
|
3568
|
-
|
|
3570
|
+
H.value.right = I.width - V.width, H.value.bottom = I.height - V.height, S.value = x.value, A.value = _.value;
|
|
3569
3571
|
}
|
|
3570
3572
|
U.value = !0;
|
|
3571
3573
|
}), ee(p, () => {
|
|
3572
3574
|
p || (U.value = !1);
|
|
3573
3575
|
}), Tt(() => {
|
|
3574
|
-
U.value && (x.value = S.value + Math.min(Math.max(
|
|
3576
|
+
U.value && (x.value = S.value + Math.min(Math.max(H.value.left, m.value), H.value.right) - D.value, _.value = A.value + Math.min(Math.max(H.value.top, C.value), H.value.bottom) - M.value);
|
|
3575
3577
|
});
|
|
3576
3578
|
const g = E(() => ({
|
|
3577
3579
|
transform: `translate(${x.value}px, ${_.value}px)`
|
|
@@ -3629,7 +3631,7 @@ const Ol = {
|
|
|
3629
3631
|
]),
|
|
3630
3632
|
style: re({ "--hb-detail-desc-label-width": e.descLabelWidth + "px", "--hb-detail-desc-value-width": e.descValueWidth + "px" })
|
|
3631
3633
|
}, [
|
|
3632
|
-
d("div",
|
|
3634
|
+
d("div", Sn, [
|
|
3633
3635
|
W(I.$slots, "default", {}, void 0, !0)
|
|
3634
3636
|
])
|
|
3635
3637
|
], 6)
|
|
@@ -3649,13 +3651,13 @@ const Ol = {
|
|
|
3649
3651
|
]), 1040, ["style", "bodyStyle", "visible", "wrap-style"]);
|
|
3650
3652
|
};
|
|
3651
3653
|
}
|
|
3652
|
-
}),
|
|
3654
|
+
}), wn = /* @__PURE__ */ Z(Tn, [["__scopeId", "data-v-2c15ecab"]]), xn = ye(wn), Hn = {
|
|
3653
3655
|
key: 0,
|
|
3654
3656
|
class: "hb_edit_header"
|
|
3655
|
-
}, Fn = { class: "__detail-content" },
|
|
3657
|
+
}, Fn = { class: "__detail-content" }, $n = {
|
|
3656
3658
|
key: 1,
|
|
3657
3659
|
class: "hb_edit_footer"
|
|
3658
|
-
},
|
|
3660
|
+
}, In = { class: "hb-back-top-inner" }, Mn = /* @__PURE__ */ J({
|
|
3659
3661
|
name: "HbLibUnDetailBox",
|
|
3660
3662
|
__name: "HbLibUnDetailBox",
|
|
3661
3663
|
props: {
|
|
@@ -3687,7 +3689,7 @@ const Ol = {
|
|
|
3687
3689
|
class: Y(["hb_edit_wrapper", e.formLabelWidth ? "isNeedSetLabelWidth" : ""]),
|
|
3688
3690
|
style: re({ "--hb-edit-form-label": e.formLabelWidth })
|
|
3689
3691
|
}, [
|
|
3690
|
-
c.$slots.editHeader ? (i(), T("div",
|
|
3692
|
+
c.$slots.editHeader ? (i(), T("div", Hn, [
|
|
3691
3693
|
W(c.$slots, "editHeader", {}, void 0, !0)
|
|
3692
3694
|
])) : z("", !0),
|
|
3693
3695
|
d("div", {
|
|
@@ -3697,7 +3699,7 @@ const Ol = {
|
|
|
3697
3699
|
W(c.$slots, "editContent", {}, void 0, !0)
|
|
3698
3700
|
])
|
|
3699
3701
|
], 2),
|
|
3700
|
-
c.$slots.editFooter ? (i(), T("div",
|
|
3702
|
+
c.$slots.editFooter ? (i(), T("div", $n, [
|
|
3701
3703
|
W(c.$slots, "editFooter", {}, void 0, !0)
|
|
3702
3704
|
])) : z("", !0),
|
|
3703
3705
|
w(y(xt), {
|
|
@@ -3705,8 +3707,8 @@ const Ol = {
|
|
|
3705
3707
|
style: re({ bottom: e.backTopBottom + "px" })
|
|
3706
3708
|
}, {
|
|
3707
3709
|
default: r(() => [
|
|
3708
|
-
d("div",
|
|
3709
|
-
w(y(
|
|
3710
|
+
d("div", In, [
|
|
3711
|
+
w(y(Ht))
|
|
3710
3712
|
])
|
|
3711
3713
|
]),
|
|
3712
3714
|
_: 1
|
|
@@ -3716,7 +3718,7 @@ const Ol = {
|
|
|
3716
3718
|
_: 3
|
|
3717
3719
|
}, 8, ["spinning"]));
|
|
3718
3720
|
}
|
|
3719
|
-
}),
|
|
3721
|
+
}), Dn = /* @__PURE__ */ Z(Mn, [["__scopeId", "data-v-8fa9c63b"]]), An = ye(Dn), Bn = { class: "hb_edit_header_left" }, On = { class: "hb_edit_header_title" }, zn = { class: "hb_edit_header_right" }, En = /* @__PURE__ */ J({
|
|
3720
3722
|
name: "HbLibPageHeader",
|
|
3721
3723
|
__name: "HbLibPageHeader",
|
|
3722
3724
|
props: {
|
|
@@ -3786,38 +3788,38 @@ const Ol = {
|
|
|
3786
3788
|
class: "hb_edit_header",
|
|
3787
3789
|
style: re({ top: c.value + "px", "--pageHeaderOrFonterLeft": l.value + "px" })
|
|
3788
3790
|
}, [
|
|
3789
|
-
d("aside",
|
|
3791
|
+
d("aside", Bn, [
|
|
3790
3792
|
d("a", {
|
|
3791
3793
|
href: "#",
|
|
3792
3794
|
class: "backBtn",
|
|
3793
3795
|
onClick: C
|
|
3794
3796
|
}, L(y(t)("hbLibComp.HbLibDetailBox.back")), 1),
|
|
3795
3797
|
w(M, { type: "vertical" }),
|
|
3796
|
-
d("span",
|
|
3798
|
+
d("span", On, L(f.value), 1)
|
|
3797
3799
|
]),
|
|
3798
|
-
d("aside",
|
|
3800
|
+
d("aside", zn, [
|
|
3799
3801
|
W(p.$slots, "right", {}, void 0, !0)
|
|
3800
3802
|
])
|
|
3801
3803
|
], 4);
|
|
3802
3804
|
};
|
|
3803
3805
|
}
|
|
3804
|
-
}),
|
|
3806
|
+
}), Pn = /* @__PURE__ */ Z(En, [["__scopeId", "data-v-83fcd208"]]), Nn = ye(Pn), Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3805
3807
|
__proto__: null,
|
|
3806
|
-
HbLibAnchor:
|
|
3807
|
-
HbLibCard:
|
|
3808
|
-
HbLibDetailBox:
|
|
3809
|
-
HbLibFooterBar:
|
|
3810
|
-
HbLibModal:
|
|
3811
|
-
HbLibPageHeader:
|
|
3812
|
-
HbLibUnDetailBox:
|
|
3808
|
+
HbLibAnchor: an,
|
|
3809
|
+
HbLibCard: Qa,
|
|
3810
|
+
HbLibDetailBox: _n,
|
|
3811
|
+
HbLibFooterBar: kn,
|
|
3812
|
+
HbLibModal: xn,
|
|
3813
|
+
HbLibPageHeader: Nn,
|
|
3814
|
+
HbLibUnDetailBox: An
|
|
3813
3815
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3814
3816
|
let vt = {
|
|
3815
3817
|
...Xl,
|
|
3816
3818
|
...la,
|
|
3817
3819
|
...ba,
|
|
3818
|
-
...
|
|
3820
|
+
...Ra,
|
|
3819
3821
|
...Ba,
|
|
3820
|
-
...
|
|
3822
|
+
...Rn
|
|
3821
3823
|
};
|
|
3822
3824
|
const me = /* @__PURE__ */ new Map();
|
|
3823
3825
|
let gt;
|
|
@@ -3833,7 +3835,7 @@ function yt(e, t) {
|
|
|
3833
3835
|
l || a || m || C || p || D || t.value(n, c);
|
|
3834
3836
|
};
|
|
3835
3837
|
}
|
|
3836
|
-
const
|
|
3838
|
+
const Un = {
|
|
3837
3839
|
beforeMount(e, t) {
|
|
3838
3840
|
me.has(e) || me.set(e, []), me.get(e).push({
|
|
3839
3841
|
documentHandler: yt(e, t),
|
|
@@ -3851,7 +3853,7 @@ const Rn = {
|
|
|
3851
3853
|
unmounted(e) {
|
|
3852
3854
|
me.delete(e);
|
|
3853
3855
|
}
|
|
3854
|
-
},
|
|
3856
|
+
}, Vn = {
|
|
3855
3857
|
mounted(e, t) {
|
|
3856
3858
|
const { value: o, arg: n } = t;
|
|
3857
3859
|
if (console.log(t), typeof o != "function") {
|
|
@@ -3875,7 +3877,7 @@ const Rn = {
|
|
|
3875
3877
|
cpText: t
|
|
3876
3878
|
});
|
|
3877
3879
|
o.mount(e._dynamicContainer), e._dynamicApp = o, e._dynamicPrevValue = t;
|
|
3878
|
-
},
|
|
3880
|
+
}, jn = {
|
|
3879
3881
|
mounted(e, t) {
|
|
3880
3882
|
if (!e._dynamicContainer) {
|
|
3881
3883
|
const o = document.createElement("div");
|
|
@@ -3889,21 +3891,21 @@ const Rn = {
|
|
|
3889
3891
|
unmounted(e) {
|
|
3890
3892
|
e._dynamicApp && (e._dynamicApp.unmount(), delete e._dynamicApp), e._dynamicContainer && (e._dynamicContainer.remove(), delete e._dynamicContainer), delete e._dynamicPrevValue;
|
|
3891
3893
|
}
|
|
3892
|
-
},
|
|
3893
|
-
hbLibComp:
|
|
3894
|
-
},
|
|
3895
|
-
hbLibComp:
|
|
3896
|
-
},
|
|
3897
|
-
hbLibComp:
|
|
3898
|
-
},
|
|
3899
|
-
hbLibComp:
|
|
3894
|
+
}, Wn = { cos: Un, dc: Vn, icp: jn }, Yn = { 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", overTip1: "Currently has exceeded", overTip2: "Optional quantity, please delete the displayed conditions first", title: "Custom query conditions" }, 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", reset: "reduction" }, 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" }, HbFuncCompCopy: { copy: "copy", copyFail: "Copy failed", copySuccess: "Copied successfully" }, HbLibDetailBox: { back: "return" } }, qn = {
|
|
3895
|
+
hbLibComp: Yn
|
|
3896
|
+
}, Kn = { 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: "表示される条件", overTip1: "現在は超えています", overTip2: "オプションの数量です。最初に表示されている条件を削除してください", title: "カスタムクエリ条件" }, hbFormSelectFilter: { allSelect: "すべて選択", close: "閉鎖" }, hbLibListForm: { queryCase: "クエリプラン", addScheme: "シナリオの追加", editScheme: "計画の編集" }, hbLibListTableColumsSet: { allSelect: "すべて選択", cancelFix: "固定を解除する", confirm: "もちろん", errorTip: "列を固定列位置に移動できません", fix: "修理済み", popoverTitle: "カスタム列", title: "テーブルフィールドの設定", reset: "削減" }, 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: "ファイルのアップロード" }, HbFuncCompCopy: { copy: "コピー", copyFail: "コピーに失敗しました", copySuccess: "正常にコピーされました" }, HbLibDetailBox: { back: "戻る" } }, Jn = {
|
|
3897
|
+
hbLibComp: Kn
|
|
3898
|
+
}, Gn = { hbFormItemFilterModal: { titleTip: "已显示条件", mostMore: "最多可选", mostMoreTip: "个条件,拖拽可以调整排序", notShowTip: "未显示条件", add: "添加", noData: "暂无数据", cancel: "取消", confirm: "确定", moreConditionSearch: "多项搜索", title: "自定义查询条件", overTip1: "当前已经超过", overTip2: "个可选数量,请先删除已显示条件" }, 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: "不能将列移动到固定列位置", reset: "还原" }, 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: "文件上传" }, HbFuncCompCopy: { copySuccess: "复制成功", copyFail: "复制失败", copy: "复制" }, HbLibDetailBox: { back: "返回" }, HbLibLoading: { loadingTips: "加载中...如长时间加载请重试!" } }, Qn = {
|
|
3899
|
+
hbLibComp: Gn
|
|
3900
|
+
}, Zn = { 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", overTip1: "Derzeit überschritten", overTip2: "Optionale Menge, bitte löschen Sie zuerst die angezeigten Konditionen", title: "Benutzerdefinierte Abfragebedingungen" }, 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", reset: "Reduktion" }, 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" }, HbFuncCompCopy: { copy: "Kopie", copyFail: "Der Kopiervorgang ist fehlgeschlagen", copySuccess: "Erfolgreich kopiert" }, HbLibDetailBox: { back: "zurückkehren" } }, Xn = {
|
|
3901
|
+
hbLibComp: Zn
|
|
3900
3902
|
};
|
|
3901
|
-
var
|
|
3902
|
-
function
|
|
3903
|
+
var He = { exports: {} }, ei = He.exports, Lt;
|
|
3904
|
+
function ti() {
|
|
3903
3905
|
return Lt || (Lt = 1, (function(e, t) {
|
|
3904
3906
|
(function(o, n) {
|
|
3905
3907
|
e.exports = n(Oe);
|
|
3906
|
-
})(
|
|
3908
|
+
})(ei, (function(o) {
|
|
3907
3909
|
function n(u) {
|
|
3908
3910
|
return u && typeof u == "object" && "default" in u ? u : { default: u };
|
|
3909
3911
|
}
|
|
@@ -3915,23 +3917,23 @@ function ei() {
|
|
|
3915
3917
|
} };
|
|
3916
3918
|
return c.default.locale(f, null, !0), f;
|
|
3917
3919
|
}));
|
|
3918
|
-
})(
|
|
3920
|
+
})(He)), He.exports;
|
|
3919
3921
|
}
|
|
3920
|
-
|
|
3922
|
+
ti();
|
|
3921
3923
|
Oe.locale("zh-cn");
|
|
3922
|
-
const
|
|
3923
|
-
en_US:
|
|
3924
|
-
ja_JP:
|
|
3925
|
-
zh_CN:
|
|
3926
|
-
de_DE:
|
|
3927
|
-
},
|
|
3924
|
+
const ui = {
|
|
3925
|
+
en_US: qn,
|
|
3926
|
+
ja_JP: Jn,
|
|
3927
|
+
zh_CN: Qn,
|
|
3928
|
+
de_DE: Xn
|
|
3929
|
+
}, fi = function(e, t = {}) {
|
|
3928
3930
|
e.provide("globalCompConfig", t || {}), Object.keys(vt).forEach((n) => {
|
|
3929
3931
|
e.use(vt[n]);
|
|
3930
|
-
}), Object.entries(
|
|
3932
|
+
}), Object.entries(Wn).forEach(([n, c]) => {
|
|
3931
3933
|
e.directive(n, c);
|
|
3932
3934
|
});
|
|
3933
3935
|
};
|
|
3934
3936
|
export {
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
+
fi as install,
|
|
3938
|
+
ui as locales
|
|
3937
3939
|
};
|