@hb-hellotech/hb-ui 1.3.14-beta.9 → 1.3.15-beta.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/modal_comp/log_modal/src/type.d.ts +2 -0
- package/dist/components/business_comp/modal_comp/log_modal/src/type.d.ts.map +1 -1
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +79 -75
- package/dist/hb_component_lib.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/hb_component_lib.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
2
|
+
import { defineComponent as J, inject as pe, computed as E, reactive as Se, ref as O, watch as te, 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 ee, 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";
|
|
@@ -129,7 +129,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
129
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
|
+
te(
|
|
133
133
|
() => l.list,
|
|
134
134
|
(v) => {
|
|
135
135
|
let j = JSON.stringify(S.value) !== JSON.stringify(v);
|
|
@@ -164,12 +164,12 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
164
164
|
const [F] = A.value.splice(j, 1);
|
|
165
165
|
S.value.push({ ...F, active: !1 });
|
|
166
166
|
}
|
|
167
|
-
},
|
|
167
|
+
}, le = () => {
|
|
168
168
|
U.value = !1;
|
|
169
169
|
}, ce = () => {
|
|
170
170
|
U.value = !0;
|
|
171
171
|
}, ue = () => {
|
|
172
|
-
se(), C("confirm", S.value),
|
|
172
|
+
se(), C("confirm", S.value), le();
|
|
173
173
|
}, we = (v) => {
|
|
174
174
|
const j = A.value.findIndex((F) => F.key === v.key);
|
|
175
175
|
j !== -1 && (A.value[j].active = !0);
|
|
@@ -187,7 +187,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
187
187
|
visible: U.value,
|
|
188
188
|
"onUpdate:visible": j[1] || (j[1] = (F) => U.value = F),
|
|
189
189
|
width: x.value,
|
|
190
|
-
onCancel:
|
|
190
|
+
onCancel: le,
|
|
191
191
|
onOk: ue
|
|
192
192
|
}, {
|
|
193
193
|
title: r(() => [
|
|
@@ -196,7 +196,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
196
196
|
}, L(m.value), 3)
|
|
197
197
|
]),
|
|
198
198
|
footer: r(() => [
|
|
199
|
-
w(y(We), { onClick:
|
|
199
|
+
w(y(We), { onClick: le }, {
|
|
200
200
|
default: r(() => [
|
|
201
201
|
B(L(v.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
|
|
202
202
|
]),
|
|
@@ -292,9 +292,9 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
292
292
|
for (const [n, c] of t)
|
|
293
293
|
o[n] = c;
|
|
294
294
|
return o;
|
|
295
|
-
}, so = /* @__PURE__ */ Z(io, [["__scopeId", "data-v-93f23c9d"]]),
|
|
295
|
+
}, so = /* @__PURE__ */ Z(io, [["__scopeId", "data-v-93f23c9d"]]), oe = (e) => (e.install = (t) => {
|
|
296
296
|
t.component(e.name || "AnonymousComponent", e);
|
|
297
|
-
}, e), ro =
|
|
297
|
+
}, e), ro = oe(so), co = {
|
|
298
298
|
key: 0,
|
|
299
299
|
class: "form-footer"
|
|
300
300
|
}, uo = /* @__PURE__ */ J({
|
|
@@ -347,7 +347,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
347
347
|
}, h = ($) => {
|
|
348
348
|
c("handleSfcmConfirm", $);
|
|
349
349
|
};
|
|
350
|
-
|
|
350
|
+
te(
|
|
351
351
|
() => l.isFormExpanded,
|
|
352
352
|
($) => {
|
|
353
353
|
if ($) {
|
|
@@ -370,8 +370,8 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
370
370
|
}, K = ($) => {
|
|
371
371
|
const R = $, X = R.querySelector(".hb-lib-form--container");
|
|
372
372
|
if (X) {
|
|
373
|
-
const
|
|
374
|
-
R.style.height =
|
|
373
|
+
const le = X.offsetHeight;
|
|
374
|
+
R.style.height = le + "px", R.style.overflow = "hidden", R.offsetHeight, requestAnimationFrame(() => {
|
|
375
375
|
R.style.height = "0";
|
|
376
376
|
});
|
|
377
377
|
}
|
|
@@ -399,7 +399,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
399
399
|
Button: We,
|
|
400
400
|
Tooltip: Ie
|
|
401
401
|
}), ($, R) => {
|
|
402
|
-
const X = N("a-button"),
|
|
402
|
+
const X = N("a-button"), le = N("a-tooltip"), ce = N("a-menu-item"), ue = N("a-menu"), we = N("a-dropdown"), ze = N("HbLibFormItemFilterModal");
|
|
403
403
|
return i(), T(q, null, [
|
|
404
404
|
w(Dt, {
|
|
405
405
|
name: "form-collapse",
|
|
@@ -412,7 +412,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
412
412
|
fe(d("div", {
|
|
413
413
|
class: Y([y(b).b(), "hb-lib-list-page-form-box", "hb-form-item-ui", C.value ? "isNeedFooterCss" : ""])
|
|
414
414
|
}, [
|
|
415
|
-
w(y(ct),
|
|
415
|
+
w(y(ct), ee($.$attrs, {
|
|
416
416
|
model: e.formData,
|
|
417
417
|
ref_key: "formRef",
|
|
418
418
|
ref: S,
|
|
@@ -420,7 +420,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
420
420
|
}), {
|
|
421
421
|
default: r(() => [
|
|
422
422
|
(i(!0), T(q, null, ie(x.value, (v, j) => (i(), T(q, { key: j }, [
|
|
423
|
-
v.condition ? (i(), P(y(rt),
|
|
423
|
+
v.condition ? (i(), P(y(rt), ee({
|
|
424
424
|
key: 0,
|
|
425
425
|
ref_for: !0
|
|
426
426
|
}, v, {
|
|
@@ -441,12 +441,12 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
441
441
|
formData: e.formData,
|
|
442
442
|
item: v
|
|
443
443
|
}, void 0, !0) : z("", !0),
|
|
444
|
-
v.type === "input" ? (i(), P(y(st),
|
|
444
|
+
v.type === "input" ? (i(), P(y(st), ee({
|
|
445
445
|
key: 2,
|
|
446
446
|
value: e.formData[v.key],
|
|
447
447
|
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
448
448
|
}, { ref_for: !0 }, v.attrs), null, 16, ["value", "onUpdate:value"])) : z("", !0),
|
|
449
|
-
v.type === "select" ? (i(), P(y(Ye),
|
|
449
|
+
v.type === "select" ? (i(), P(y(Ye), ee({
|
|
450
450
|
key: 3,
|
|
451
451
|
value: e.formData[v.key],
|
|
452
452
|
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
@@ -464,7 +464,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
464
464
|
]),
|
|
465
465
|
_: 2
|
|
466
466
|
}, 1040, ["value", "onUpdate:value"])) : z("", !0),
|
|
467
|
-
v.type === "checkbox" ? (i(), P(y(it),
|
|
467
|
+
v.type === "checkbox" ? (i(), P(y(it), ee({
|
|
468
468
|
key: 4,
|
|
469
469
|
value: e.formData[v.key],
|
|
470
470
|
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
@@ -482,17 +482,17 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
482
482
|
]),
|
|
483
483
|
_: 2
|
|
484
484
|
}, 1040, ["value", "onUpdate:value"])) : z("", !0),
|
|
485
|
-
v.type === "date-picker" ? (i(), P(y(nt),
|
|
485
|
+
v.type === "date-picker" ? (i(), P(y(nt), ee({
|
|
486
486
|
key: 5,
|
|
487
487
|
value: e.formData[v.key],
|
|
488
488
|
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
489
489
|
}, { ref_for: !0 }, v.attrs), null, 16, ["value", "onUpdate:value"])) : z("", !0),
|
|
490
|
-
v.type === "input-number" ? (i(), P(y(at),
|
|
490
|
+
v.type === "input-number" ? (i(), P(y(at), ee({
|
|
491
491
|
key: 6,
|
|
492
492
|
value: e.formData[v.key],
|
|
493
493
|
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
494
494
|
}, { ref_for: !0 }, v.attrs), null, 16, ["value", "onUpdate:value"])) : z("", !0),
|
|
495
|
-
v.type === "radio" ? (i(), P(y(lt),
|
|
495
|
+
v.type === "radio" ? (i(), P(y(lt), ee({
|
|
496
496
|
key: 7,
|
|
497
497
|
value: e.formData[v.key],
|
|
498
498
|
"onUpdate:value": (F) => e.formData[v.key] = F
|
|
@@ -510,7 +510,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
510
510
|
]),
|
|
511
511
|
_: 2
|
|
512
512
|
}, 1040, ["value", "onUpdate:value"])) : z("", !0),
|
|
513
|
-
v.type === "switch" ? (i(), P(y(tt),
|
|
513
|
+
v.type === "switch" ? (i(), P(y(tt), ee({
|
|
514
514
|
key: 8,
|
|
515
515
|
checked: e.formData[v.key],
|
|
516
516
|
"onUpdate:checked": (F) => e.formData[v.key] = F
|
|
@@ -558,7 +558,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
558
558
|
]),
|
|
559
559
|
_: 1
|
|
560
560
|
}),
|
|
561
|
-
e.needFilter ? (i(), P(
|
|
561
|
+
e.needFilter ? (i(), P(le, {
|
|
562
562
|
key: 0,
|
|
563
563
|
title: $.$t("hbLibComp.hbListPageAct.selfDefine")
|
|
564
564
|
}, {
|
|
@@ -617,7 +617,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
617
617
|
})
|
|
618
618
|
]),
|
|
619
619
|
default: r(() => [
|
|
620
|
-
w(
|
|
620
|
+
w(le, {
|
|
621
621
|
title: $.$t("hbLibComp.hbLibListForm.queryCase")
|
|
622
622
|
}, {
|
|
623
623
|
default: r(() => [...R[1] || (R[1] = [
|
|
@@ -697,7 +697,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
697
697
|
]),
|
|
698
698
|
_: 1
|
|
699
699
|
}),
|
|
700
|
-
e.needFilter ? (i(), P(
|
|
700
|
+
e.needFilter ? (i(), P(le, {
|
|
701
701
|
key: 0,
|
|
702
702
|
title: $.$t("hbLibComp.hbListPageAct.selfDefine")
|
|
703
703
|
}, {
|
|
@@ -756,7 +756,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
756
756
|
})
|
|
757
757
|
]),
|
|
758
758
|
default: r(() => [
|
|
759
|
-
w(
|
|
759
|
+
w(le, {
|
|
760
760
|
title: $.$t("hbLibComp.hbLibListForm.queryCase")
|
|
761
761
|
}, {
|
|
762
762
|
default: r(() => [...R[3] || (R[3] = [
|
|
@@ -816,7 +816,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
816
816
|
], 64);
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
|
-
}), fo = /* @__PURE__ */ Z(uo, [["__scopeId", "data-v-8307bb07"]]), bo =
|
|
819
|
+
}), fo = /* @__PURE__ */ Z(uo, [["__scopeId", "data-v-8307bb07"]]), bo = oe(fo), po = { class: "hb-lib-list-page-act-box" }, ho = { class: "hb-lib-list-page-breadcrumb" }, mo = { class: "hb-lib-list-page-act" }, vo = {
|
|
820
820
|
key: 0,
|
|
821
821
|
t: "1757915338760",
|
|
822
822
|
class: "icon",
|
|
@@ -845,7 +845,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
845
845
|
},
|
|
846
846
|
setup(e) {
|
|
847
847
|
const t = pe("globalCompConfig", {}), o = e, { isFullscreen: n, toggle: c } = Ft(document.body);
|
|
848
|
-
|
|
848
|
+
te(
|
|
849
849
|
() => n.value,
|
|
850
850
|
(l) => {
|
|
851
851
|
let a = ["#globalHead", "#globalLeft", "#globalNavFrame"];
|
|
@@ -934,7 +934,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
934
934
|
]);
|
|
935
935
|
};
|
|
936
936
|
}
|
|
937
|
-
}), _o = /* @__PURE__ */ Z(yo, [["__scopeId", "data-v-c7cd0710"]]), Lo =
|
|
937
|
+
}), _o = /* @__PURE__ */ Z(yo, [["__scopeId", "data-v-c7cd0710"]]), Lo = oe(_o), Co = { class: "hb-lib-list-btns-box" }, ko = { class: "hb-lib-list-btns-left" }, So = { class: "hb-lib-list-btns-right" }, To = /* @__PURE__ */ J({
|
|
938
938
|
name: "HbLibListBtnsAct",
|
|
939
939
|
__name: "HbListBtns",
|
|
940
940
|
props: {
|
|
@@ -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 =
|
|
1017
|
+
}), wo = /* @__PURE__ */ Z(To, [["__scopeId", "data-v-de62f20a"]]), xo = oe(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 = () => {
|
|
@@ -1074,7 +1074,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1074
1074
|
}, _ = () => {
|
|
1075
1075
|
window.removeEventListener("resize", U), u && u.disconnect(), l && l.disconnect(), b && b.disconnect(), a && clearTimeout(a), m && clearTimeout(m);
|
|
1076
1076
|
};
|
|
1077
|
-
return t &&
|
|
1077
|
+
return t && te(
|
|
1078
1078
|
() => t,
|
|
1079
1079
|
() => {
|
|
1080
1080
|
setTimeout(() => {
|
|
@@ -1136,7 +1136,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1136
1136
|
], 4)
|
|
1137
1137
|
], 512));
|
|
1138
1138
|
}
|
|
1139
|
-
}), $o =
|
|
1139
|
+
}), $o = oe(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 = {
|
|
@@ -1178,13 +1178,13 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1178
1178
|
const k = a.value.filter((g) => b.value.includes(g.value)).length;
|
|
1179
1179
|
return k > 0 && k < a.value.length;
|
|
1180
1180
|
});
|
|
1181
|
-
|
|
1181
|
+
te(
|
|
1182
1182
|
() => c.value,
|
|
1183
1183
|
(k) => {
|
|
1184
1184
|
k ? b.value = Array.isArray(k) ? [...k] : [k] : b.value = [];
|
|
1185
1185
|
},
|
|
1186
1186
|
{ immediate: !0 }
|
|
1187
|
-
),
|
|
1187
|
+
), te(
|
|
1188
1188
|
() => o.searchValue,
|
|
1189
1189
|
(k) => {
|
|
1190
1190
|
o.remoteSearch && k !== void 0 && (u.value = k);
|
|
@@ -1225,7 +1225,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1225
1225
|
};
|
|
1226
1226
|
return (k, g) => {
|
|
1227
1227
|
const s = N("a-tag"), h = N("a-input"), I = N("a-checkbox"), V = N("a-radio"), K = N("a-button"), se = N("a-select");
|
|
1228
|
-
return i(), T("div",
|
|
1228
|
+
return i(), T("div", ee({
|
|
1229
1229
|
class: "hb-lib-selector-wrapper",
|
|
1230
1230
|
style: { "--prefix-width": m.value }
|
|
1231
1231
|
}, k.$attrs), [
|
|
@@ -1247,14 +1247,14 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1247
1247
|
"data-prefix": e.prefix,
|
|
1248
1248
|
style: { width: "100%" }
|
|
1249
1249
|
}, {
|
|
1250
|
-
tagRender: r(({ value: $, label: R, closable: X, option:
|
|
1250
|
+
tagRender: r(({ value: $, label: R, closable: X, option: le }) => [
|
|
1251
1251
|
w(s, {
|
|
1252
1252
|
class: "hb-lib-search-tag",
|
|
1253
1253
|
onClick: g[0] || (g[0] = () => D(!0))
|
|
1254
1254
|
}, {
|
|
1255
1255
|
default: r(() => [
|
|
1256
1256
|
d("span", Io, L(R), 1),
|
|
1257
|
-
|
|
1257
|
+
le?.description ? (i(), T("span", Mo, " (" + L(le.description) + ") ", 1)) : z("", !0)
|
|
1258
1258
|
]),
|
|
1259
1259
|
_: 2
|
|
1260
1260
|
}, 1024)
|
|
@@ -1356,7 +1356,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1356
1356
|
], 16);
|
|
1357
1357
|
};
|
|
1358
1358
|
}
|
|
1359
|
-
}), Wo = /* @__PURE__ */ Z(jo, [["__scopeId", "data-v-87177371"]]), Yo =
|
|
1359
|
+
}), Wo = /* @__PURE__ */ Z(jo, [["__scopeId", "data-v-87177371"]]), Yo = oe(Wo), qo = { class: "hb-lib-form-item-filter-modal-search" }, Ko = { class: "hb-lib-form-item-filter-modal-buttons" }, Jo = { key: 0 }, Go = /* @__PURE__ */ J({
|
|
1360
1360
|
name: "HbLibMutilpleSelectModal",
|
|
1361
1361
|
__name: "HbMutilpleSelectModal",
|
|
1362
1362
|
props: {
|
|
@@ -1461,7 +1461,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1461
1461
|
rowKey: ($) => $[e.tableKey],
|
|
1462
1462
|
scroll: { y: e.tableHeight }
|
|
1463
1463
|
}, {
|
|
1464
|
-
customFilterDropdown: r(({ setSelectedKeys: $, selectedKeys: R, confirm: X, clearFilters:
|
|
1464
|
+
customFilterDropdown: r(({ setSelectedKeys: $, selectedKeys: R, confirm: X, clearFilters: le, column: ce }) => [
|
|
1465
1465
|
d("div", qo, [
|
|
1466
1466
|
w(I, {
|
|
1467
1467
|
ref_key: "searchInput",
|
|
@@ -1476,7 +1476,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1476
1476
|
w(V, {
|
|
1477
1477
|
class: "hb-lib-form-item-filter-modal-button",
|
|
1478
1478
|
type: "ghost",
|
|
1479
|
-
onClick: (ue) => k(
|
|
1479
|
+
onClick: (ue) => k(le, X)
|
|
1480
1480
|
}, {
|
|
1481
1481
|
default: r(() => [
|
|
1482
1482
|
B(L(s.$t("hbLibComp.hbListPageAct.reset")), 1)
|
|
@@ -1503,9 +1503,9 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1503
1503
|
]),
|
|
1504
1504
|
bodyCell: r(({ text: $, column: R }) => [
|
|
1505
1505
|
p.searchText && p.searchedColumn === R.dataIndex ? (i(), T("span", Jo, [
|
|
1506
|
-
(i(!0), T(q, null, ie($.toString().split(new RegExp(`(?<=${p.searchText})|(?=${p.searchText})`, "i")), (X,
|
|
1506
|
+
(i(!0), T(q, null, ie($.toString().split(new RegExp(`(?<=${p.searchText})|(?=${p.searchText})`, "i")), (X, le) => (i(), T(q, null, [
|
|
1507
1507
|
X.toLowerCase() === p.searchText.toLowerCase() ? (i(), T("mark", {
|
|
1508
|
-
key:
|
|
1508
|
+
key: le,
|
|
1509
1509
|
class: "highlight"
|
|
1510
1510
|
}, L(X), 1)) : (i(), T(q, { key: 1 }, [
|
|
1511
1511
|
B(L(X), 1)
|
|
@@ -1521,7 +1521,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1521
1521
|
], 512);
|
|
1522
1522
|
};
|
|
1523
1523
|
}
|
|
1524
|
-
}), Qo =
|
|
1524
|
+
}), Qo = oe(Go), Zo = { class: "hb-lib-table-act-box" }, Xo = ["onClick"], el = {
|
|
1525
1525
|
href: "javascript:;",
|
|
1526
1526
|
class: "hb-lib-table-main-action"
|
|
1527
1527
|
}, tl = ["onClick"], ol = {
|
|
@@ -1709,7 +1709,7 @@ const oo = "hb-", Ze = (e = "") => {
|
|
|
1709
1709
|
]);
|
|
1710
1710
|
};
|
|
1711
1711
|
}
|
|
1712
|
-
}), rl = /* @__PURE__ */ Z(sl, [["__scopeId", "data-v-25fd055e"]]), cl =
|
|
1712
|
+
}), rl = /* @__PURE__ */ Z(sl, [["__scopeId", "data-v-25fd055e"]]), cl = oe(rl), bt = (e) => ({ tableWidth: E(() => {
|
|
1713
1713
|
const o = Array.isArray(e) ? e : e.value;
|
|
1714
1714
|
return !o || o.length === 0 ? 0 : o.map((n) => n.width && Number(n.width.toString().replace("px", "")) || 0).reduce((n, c) => n + c, 0);
|
|
1715
1715
|
}) });
|
|
@@ -1835,7 +1835,7 @@ const Ol = {
|
|
|
1835
1835
|
emits: ["change", "resizeCol"],
|
|
1836
1836
|
setup(e, { emit: t }) {
|
|
1837
1837
|
const o = pe("globalCompConfig", {}), n = t, { t: c } = de(), f = e, u = O([]), b = pe("HB_LIST_PAGE_CONTAINER"), { tableWidth: l } = bt(u), a = O(l.value), m = E(() => f.isUnFixTbHeight || o.HbLibListPageContainer?.isUnFixTbHeight || !1);
|
|
1838
|
-
|
|
1838
|
+
te(
|
|
1839
1839
|
() => f.columns,
|
|
1840
1840
|
(_) => {
|
|
1841
1841
|
const S = _.filter((H) => H != null && H.checked);
|
|
@@ -1881,7 +1881,7 @@ const Ol = {
|
|
|
1881
1881
|
W(_.$slots, "tableActLeft", {}, void 0, !0),
|
|
1882
1882
|
W(_.$slots, "tableActRight", {}, void 0, !0)
|
|
1883
1883
|
])) : z("", !0),
|
|
1884
|
-
w(s,
|
|
1884
|
+
w(s, ee(_.$attrs, {
|
|
1885
1885
|
bordered: "",
|
|
1886
1886
|
columns: u.value,
|
|
1887
1887
|
tableLayout: "fixed",
|
|
@@ -2029,7 +2029,7 @@ const Ol = {
|
|
|
2029
2029
|
], 6);
|
|
2030
2030
|
};
|
|
2031
2031
|
}
|
|
2032
|
-
}), Rl = /* @__PURE__ */ Z(Nl, [["__scopeId", "data-v-4a8b9aaa"]]), Ul =
|
|
2032
|
+
}), Rl = /* @__PURE__ */ Z(Nl, [["__scopeId", "data-v-4a8b9aaa"]]), Ul = oe(Rl), Vl = { class: "hb-lib-table-setting-box" }, jl = {
|
|
2033
2033
|
key: 0,
|
|
2034
2034
|
class: "hb-lib-table-drag-item"
|
|
2035
2035
|
}, Wl = {
|
|
@@ -2139,7 +2139,7 @@ const Ol = {
|
|
|
2139
2139
|
I.splice(K, 0, V), l.value = I;
|
|
2140
2140
|
}
|
|
2141
2141
|
};
|
|
2142
|
-
return
|
|
2142
|
+
return te(
|
|
2143
2143
|
() => c.tableColumns,
|
|
2144
2144
|
() => {
|
|
2145
2145
|
S();
|
|
@@ -2321,7 +2321,7 @@ const Ol = {
|
|
|
2321
2321
|
]);
|
|
2322
2322
|
};
|
|
2323
2323
|
}
|
|
2324
|
-
}), Ql = /* @__PURE__ */ Z(Gl, [["__scopeId", "data-v-07a63550"]]), Zl =
|
|
2324
|
+
}), Ql = /* @__PURE__ */ Z(Gl, [["__scopeId", "data-v-07a63550"]]), Zl = oe(Ql), Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2325
2325
|
__proto__: null,
|
|
2326
2326
|
HbLibFormItemFilterModal: ro,
|
|
2327
2327
|
HbLibListBtnsAct: xo,
|
|
@@ -2368,7 +2368,7 @@ const Ol = {
|
|
|
2368
2368
|
f.value?.blur?.();
|
|
2369
2369
|
},
|
|
2370
2370
|
selectRef: f
|
|
2371
|
-
}), (M, U) => (i(), P(y(Ye),
|
|
2371
|
+
}), (M, U) => (i(), P(y(Ye), ee({
|
|
2372
2372
|
ref_key: "selectRef",
|
|
2373
2373
|
ref: f,
|
|
2374
2374
|
class: "hb_lib_form_tooltip_select"
|
|
@@ -2377,7 +2377,7 @@ const Ol = {
|
|
|
2377
2377
|
"onUpdate:value": U[0] || (U[0] = (x) => u.value = x)
|
|
2378
2378
|
}), {
|
|
2379
2379
|
default: r(() => [
|
|
2380
|
-
M.$slots.default ? W(M.$slots, "default", { key: 0 }, void 0, !0) : (i(!0), T(q, { key: 1 }, ie(b.value, (x) => (i(), P(y(qe),
|
|
2380
|
+
M.$slots.default ? W(M.$slots, "default", { key: 0 }, void 0, !0) : (i(!0), T(q, { key: 1 }, ie(b.value, (x) => (i(), P(y(qe), ee({
|
|
2381
2381
|
key: m(x),
|
|
2382
2382
|
value: x.value,
|
|
2383
2383
|
disabled: x.disabled
|
|
@@ -2406,7 +2406,7 @@ const Ol = {
|
|
|
2406
2406
|
_: 3
|
|
2407
2407
|
}, 16, ["value"]));
|
|
2408
2408
|
}
|
|
2409
|
-
}), ta = /* @__PURE__ */ Z(ea, [["__scopeId", "data-v-b04f5675"]]), oa =
|
|
2409
|
+
}), ta = /* @__PURE__ */ Z(ea, [["__scopeId", "data-v-b04f5675"]]), oa = oe(ta), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2410
2410
|
__proto__: null,
|
|
2411
2411
|
HbLibFormTooltipSelect: oa
|
|
2412
2412
|
}, Symbol.toStringTag, { value: "Module" })), aa = { class: "ant-upload-drag-icon" }, na = { class: "ant-upload-text" }, ia = { style: { color: "#ff5000" } }, sa = { class: "ant-upload-hint" }, ra = {
|
|
@@ -2459,7 +2459,7 @@ const Ol = {
|
|
|
2459
2459
|
}), (p, D) => {
|
|
2460
2460
|
const M = N("a-upload-dragger"), U = N("a-form-item"), x = N("a-form"), _ = N("a-modal"), S = N("a-button");
|
|
2461
2461
|
return i(), T(q, null, [
|
|
2462
|
-
w(_,
|
|
2462
|
+
w(_, ee({
|
|
2463
2463
|
title: c.title,
|
|
2464
2464
|
visible: u.visible,
|
|
2465
2465
|
"onUpdate:visible": D[0] || (D[0] = (A) => u.visible = A),
|
|
@@ -2532,7 +2532,7 @@ const Ol = {
|
|
|
2532
2532
|
], 64);
|
|
2533
2533
|
};
|
|
2534
2534
|
}
|
|
2535
|
-
}), ua = /* @__PURE__ */ Z(da, [["__scopeId", "data-v-d61501db"]]), fa =
|
|
2535
|
+
}), ua = /* @__PURE__ */ Z(da, [["__scopeId", "data-v-d61501db"]]), fa = oe(ua), ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2536
2536
|
__proto__: null,
|
|
2537
2537
|
HbLibImportFile: fa
|
|
2538
2538
|
}, Symbol.toStringTag, { value: "Module" })), pa = {
|
|
@@ -2649,7 +2649,7 @@ const Ol = {
|
|
|
2649
2649
|
_: 1
|
|
2650
2650
|
}, 8, ["title"])) : z("", !0);
|
|
2651
2651
|
}
|
|
2652
|
-
}), ma = /* @__PURE__ */ Z(ha, [["__scopeId", "data-v-2b6710a1"]]), Mt =
|
|
2652
|
+
}), ma = /* @__PURE__ */ Z(ha, [["__scopeId", "data-v-2b6710a1"]]), Mt = oe(ma), va = {
|
|
2653
2653
|
dragList: {
|
|
2654
2654
|
type: Array,
|
|
2655
2655
|
required: !0
|
|
@@ -2695,7 +2695,7 @@ const Ol = {
|
|
|
2695
2695
|
emits: ["update:dragList", "handleDragStart", "handleDragEnd", "handleDragAdd", "handleDragRemove"],
|
|
2696
2696
|
setup(e, { emit: t }) {
|
|
2697
2697
|
const o = e, n = zt([]);
|
|
2698
|
-
|
|
2698
|
+
te(
|
|
2699
2699
|
() => o.dragList,
|
|
2700
2700
|
(m) => {
|
|
2701
2701
|
n.value = m;
|
|
@@ -2717,7 +2717,7 @@ const Ol = {
|
|
|
2717
2717
|
return (m, C) => (i(), T("div", {
|
|
2718
2718
|
class: Y(y(c).b())
|
|
2719
2719
|
}, [
|
|
2720
|
-
m.childrenType == "component" ? (i(), P(y($e),
|
|
2720
|
+
m.childrenType == "component" ? (i(), P(y($e), ee({
|
|
2721
2721
|
key: 0,
|
|
2722
2722
|
modelValue: n.value,
|
|
2723
2723
|
"onUpdate:modelValue": C[0] || (C[0] = (p) => n.value = p),
|
|
@@ -2734,7 +2734,7 @@ const Ol = {
|
|
|
2734
2734
|
(i(), P(wt(p.component)))
|
|
2735
2735
|
]),
|
|
2736
2736
|
_: 1
|
|
2737
|
-
}, 16, ["modelValue", "class", "ghost-class"])) : (i(), P(y($e),
|
|
2737
|
+
}, 16, ["modelValue", "class", "ghost-class"])) : (i(), P(y($e), ee({
|
|
2738
2738
|
key: 1,
|
|
2739
2739
|
modelValue: n.value,
|
|
2740
2740
|
"onUpdate:modelValue": C[1] || (C[1] = (p) => n.value = p),
|
|
@@ -2756,7 +2756,7 @@ const Ol = {
|
|
|
2756
2756
|
}, 16, ["modelValue", "class", "ghost-class"]))
|
|
2757
2757
|
], 2));
|
|
2758
2758
|
}
|
|
2759
|
-
}), ya = /* @__PURE__ */ Z(ga, [["__scopeId", "data-v-15b227f5"]]), _a =
|
|
2759
|
+
}), ya = /* @__PURE__ */ Z(ga, [["__scopeId", "data-v-15b227f5"]]), _a = oe(ya), La = {
|
|
2760
2760
|
triggerWay: {
|
|
2761
2761
|
type: String,
|
|
2762
2762
|
default: "click"
|
|
@@ -2779,7 +2779,7 @@ const Ol = {
|
|
|
2779
2779
|
emits: ["change"],
|
|
2780
2780
|
setup(e, { expose: t, emit: o }) {
|
|
2781
2781
|
const n = e, c = o, f = O([]), u = O("");
|
|
2782
|
-
|
|
2782
|
+
te(
|
|
2783
2783
|
() => n.menuItems,
|
|
2784
2784
|
(l) => {
|
|
2785
2785
|
let a = [];
|
|
@@ -2841,7 +2841,7 @@ const Ol = {
|
|
|
2841
2841
|
}, 8, ["trigger"]);
|
|
2842
2842
|
};
|
|
2843
2843
|
}
|
|
2844
|
-
}), ka = /* @__PURE__ */ Z(Ca, [["__scopeId", "data-v-cf0b0a0d"]]), Sa =
|
|
2844
|
+
}), ka = /* @__PURE__ */ Z(Ca, [["__scopeId", "data-v-cf0b0a0d"]]), Sa = oe(ka), Ta = {
|
|
2845
2845
|
// 图片上传组件的配置
|
|
2846
2846
|
importFile: {
|
|
2847
2847
|
isRequired: !1,
|
|
@@ -2888,7 +2888,7 @@ const Ol = {
|
|
|
2888
2888
|
setup(e) {
|
|
2889
2889
|
const t = e;
|
|
2890
2890
|
let o = null;
|
|
2891
|
-
return
|
|
2891
|
+
return te(
|
|
2892
2892
|
() => t.config,
|
|
2893
2893
|
(n) => {
|
|
2894
2894
|
o = Se(jt({}, Ta, n));
|
|
@@ -2898,7 +2898,7 @@ const Ol = {
|
|
|
2898
2898
|
W(n.$slots, "default")
|
|
2899
2899
|
]));
|
|
2900
2900
|
}
|
|
2901
|
-
}), Xe = Symbol("GLOBAL_CONFIG_KEY"), Ha =
|
|
2901
|
+
}), Xe = Symbol("GLOBAL_CONFIG_KEY"), Ha = oe(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: {
|
|
@@ -2916,7 +2916,7 @@ const Ol = {
|
|
|
2916
2916
|
])
|
|
2917
2917
|
]));
|
|
2918
2918
|
}
|
|
2919
|
-
}), Da = /* @__PURE__ */ Z(Ma, [["__scopeId", "data-v-22f438b9"]]), Aa =
|
|
2919
|
+
}), Da = /* @__PURE__ */ Z(Ma, [["__scopeId", "data-v-22f438b9"]]), Aa = oe(Da), Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2920
2920
|
__proto__: null,
|
|
2921
2921
|
HbLibCopy: Mt,
|
|
2922
2922
|
HbLibFuncCompDrag: _a,
|
|
@@ -2939,6 +2939,8 @@ const Ol = {
|
|
|
2939
2939
|
columns: { default: void 0 },
|
|
2940
2940
|
logBtnText: { default: "查看日志" },
|
|
2941
2941
|
pagination: {},
|
|
2942
|
+
modalStyle: {},
|
|
2943
|
+
bodyStyle: {},
|
|
2942
2944
|
getLogData: {}
|
|
2943
2945
|
},
|
|
2944
2946
|
emits: ["update:visible"],
|
|
@@ -2967,7 +2969,7 @@ const Ol = {
|
|
|
2967
2969
|
total: 0
|
|
2968
2970
|
}
|
|
2969
2971
|
});
|
|
2970
|
-
|
|
2972
|
+
te(
|
|
2971
2973
|
() => c.pagination,
|
|
2972
2974
|
(x) => {
|
|
2973
2975
|
x && (a.pagination = {
|
|
@@ -2998,7 +3000,7 @@ const Ol = {
|
|
|
2998
3000
|
}, D = () => {
|
|
2999
3001
|
U("update:visible", !0);
|
|
3000
3002
|
}, M = (x, _ = "YYYY-MM-DD HH:mm:ss") => x ? Oe(x).format(_) : "", U = o;
|
|
3001
|
-
return
|
|
3003
|
+
return te(
|
|
3002
3004
|
() => c.visible,
|
|
3003
3005
|
(x) => {
|
|
3004
3006
|
x && m();
|
|
@@ -3009,13 +3011,15 @@ const Ol = {
|
|
|
3009
3011
|
}), (x, _) => {
|
|
3010
3012
|
const S = N("a-tooltip"), A = N("HbLibCopy"), H = N("a-table"), k = N("a-button"), g = N("HbLibModal");
|
|
3011
3013
|
return i(), T(q, null, [
|
|
3012
|
-
w(g, {
|
|
3014
|
+
w(g, ee(x.$attrs, {
|
|
3013
3015
|
visible: e.visible,
|
|
3014
3016
|
title: b.value,
|
|
3015
3017
|
width: e.width,
|
|
3016
3018
|
height: e.height,
|
|
3019
|
+
modalStyle: e.modalStyle,
|
|
3020
|
+
bodyStyle: e.bodyStyle,
|
|
3017
3021
|
onCancel: p
|
|
3018
|
-
}, {
|
|
3022
|
+
}), {
|
|
3019
3023
|
footer: r(() => [
|
|
3020
3024
|
w(k, { onClick: p }, {
|
|
3021
3025
|
default: r(() => [
|
|
@@ -3074,7 +3078,7 @@ const Ol = {
|
|
|
3074
3078
|
])
|
|
3075
3079
|
]),
|
|
3076
3080
|
_: 3
|
|
3077
|
-
},
|
|
3081
|
+
}, 16, ["visible", "title", "width", "height", "modalStyle", "bodyStyle"]),
|
|
3078
3082
|
e.needBtn ? W(x.$slots, "default", { key: 0 }, () => [
|
|
3079
3083
|
w(k, { onClick: D }, {
|
|
3080
3084
|
default: r(() => [
|
|
@@ -3086,7 +3090,7 @@ const Ol = {
|
|
|
3086
3090
|
], 64);
|
|
3087
3091
|
};
|
|
3088
3092
|
}
|
|
3089
|
-
}), Pa = /* @__PURE__ */ Z(Ea, [["__scopeId", "data-v-
|
|
3093
|
+
}), Pa = /* @__PURE__ */ Z(Ea, [["__scopeId", "data-v-341c37f6"]]), Na = oe(Pa), Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3090
3094
|
__proto__: null,
|
|
3091
3095
|
HbLibLogModal: Na
|
|
3092
3096
|
}, Symbol.toStringTag, { value: "Module" })), ye = (e) => (e.install = (t) => {
|
|
@@ -3301,7 +3305,7 @@ const Ol = {
|
|
|
3301
3305
|
hb_need_set_desc_value_width: o.descValueWidth || n?.HbLibDetailBox?.descValueWidth
|
|
3302
3306
|
} : M;
|
|
3303
3307
|
}), u = () => document.querySelector(o.container), b = O(!1), l = O(null), { top: a } = Zt(l), m = E(u), { y: C } = Xt(m);
|
|
3304
|
-
|
|
3308
|
+
te(
|
|
3305
3309
|
C,
|
|
3306
3310
|
(M) => {
|
|
3307
3311
|
b.value = M > a.value;
|
|
@@ -3559,18 +3563,18 @@ const Ol = {
|
|
|
3559
3563
|
...c.bodyStyle
|
|
3560
3564
|
})), { 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 });
|
|
3561
3565
|
let k = null;
|
|
3562
|
-
|
|
3566
|
+
te(f, (I) => {
|
|
3563
3567
|
I || (k && clearTimeout(k), k = setTimeout(() => {
|
|
3564
3568
|
x.value = 0, _.value = 0, S.value = 0, A.value = 0;
|
|
3565
3569
|
}, 300));
|
|
3566
|
-
}),
|
|
3570
|
+
}), te([m, C], () => {
|
|
3567
3571
|
if (!U.value) {
|
|
3568
3572
|
D.value = m.value, M.value = C.value;
|
|
3569
3573
|
const I = document.body.getBoundingClientRect(), V = u.value.getBoundingClientRect();
|
|
3570
3574
|
H.value.right = I.width - V.width, H.value.bottom = I.height - V.height, S.value = x.value, A.value = _.value;
|
|
3571
3575
|
}
|
|
3572
3576
|
U.value = !0;
|
|
3573
|
-
}),
|
|
3577
|
+
}), te(p, () => {
|
|
3574
3578
|
p || (U.value = !1);
|
|
3575
3579
|
}), Tt(() => {
|
|
3576
3580
|
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);
|
|
@@ -3590,7 +3594,7 @@ const Ol = {
|
|
|
3590
3594
|
visible: f
|
|
3591
3595
|
}), (I, V) => {
|
|
3592
3596
|
const K = N("a-spin"), se = N("a-modal");
|
|
3593
|
-
return i(), P(se,
|
|
3597
|
+
return i(), P(se, ee({
|
|
3594
3598
|
style: b.value,
|
|
3595
3599
|
bodyStyle: a.value,
|
|
3596
3600
|
ref: "modalRef",
|
|
@@ -3772,7 +3776,7 @@ const Ol = {
|
|
|
3772
3776
|
});
|
|
3773
3777
|
}), Ge(() => {
|
|
3774
3778
|
window.removeEventListener("resize", b), m && m.disconnect();
|
|
3775
|
-
}),
|
|
3779
|
+
}), te(
|
|
3776
3780
|
() => o.topElements,
|
|
3777
3781
|
() => {
|
|
3778
3782
|
b();
|