@hb-hellotech/hb-ui 2.9.0-beta.2 → 2.9.0-beta.4
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/App.d.ts.map +1 -1
- package/dist/components/business_comp/list_page_comp/hb_list_page_act/src/HbListPageAct.d.ts.map +1 -1
- package/dist/components/func_comp/hb_func_comp_tree/src/tree.d.ts +24 -51
- package/dist/components/func_comp/hb_func_icon/src/icon.d.ts +1 -1
- package/dist/components/func_comp/hb_func_icon/src/icon.d.ts.map +1 -1
- package/dist/components/func_comp/hb_ui_config/src/hbUiConfig.d.ts.map +1 -1
- package/dist/components/type.d.ts +1 -0
- package/dist/components/type.d.ts.map +1 -1
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.d.ts.map +1 -1
- package/dist/demo/HbLibIconBox.d.ts +4 -0
- package/dist/demo/HbLibIconBox.d.ts.map +1 -0
- package/dist/hb_component_lib.css +1 -1
- package/dist/hb_component_lib.js +317 -321
- package/dist/hb_component_lib.umd.cjs +67 -67
- package/package.json +1 -1
package/dist/hb_component_lib.js
CHANGED
|
@@ -373,7 +373,7 @@ function se(e) {
|
|
|
373
373
|
const Uo = se(Oo), Ro = {
|
|
374
374
|
key: 0,
|
|
375
375
|
class: "form-footer"
|
|
376
|
-
}, Eo = {
|
|
376
|
+
}, Eo = { class: "scheme-fontWeight" }, No = { class: "scheme-fontWeight" }, jo = { class: "hb-lib-form-svg" }, Wo = { class: "scheme-fontWeight" }, zo = { class: "scheme-fontWeight" }, Vo = /* @__PURE__ */ ae({
|
|
377
377
|
name: "HbLibListForm",
|
|
378
378
|
__name: "HbListForm",
|
|
379
379
|
props: {
|
|
@@ -687,7 +687,7 @@ const Uo = se(Oo), Ro = {
|
|
|
687
687
|
}, 1024))), 128)),
|
|
688
688
|
P(q, { key: "add" }, {
|
|
689
689
|
default: h(() => [
|
|
690
|
-
g("span",
|
|
690
|
+
g("span", Eo, k(m.$t(
|
|
691
691
|
"hbLibComp.hbLibListForm.addScheme"
|
|
692
692
|
)), 1)
|
|
693
693
|
]),
|
|
@@ -695,7 +695,7 @@ const Uo = se(Oo), Ro = {
|
|
|
695
695
|
}),
|
|
696
696
|
P(q, { key: "edit" }, {
|
|
697
697
|
default: h(() => [
|
|
698
|
-
g("span",
|
|
698
|
+
g("span", No, k(m.$t(
|
|
699
699
|
"hbLibComp.hbLibListForm.editScheme"
|
|
700
700
|
)), 1)
|
|
701
701
|
]),
|
|
@@ -710,7 +710,7 @@ const Uo = se(Oo), Ro = {
|
|
|
710
710
|
title: m.$t("hbLibComp.hbLibListForm.queryCase")
|
|
711
711
|
}, {
|
|
712
712
|
default: h(() => [
|
|
713
|
-
g("a",
|
|
713
|
+
g("a", null, [
|
|
714
714
|
P(ne, {
|
|
715
715
|
name: "icon-chaxunfangan",
|
|
716
716
|
width: l(n).HbLibListPageContainer?.listPageIcon?.width,
|
|
@@ -807,7 +807,7 @@ const Uo = se(Oo), Ro = {
|
|
|
807
807
|
}, 1024))), 128)),
|
|
808
808
|
P(q, { key: "add" }, {
|
|
809
809
|
default: h(() => [
|
|
810
|
-
g("span",
|
|
810
|
+
g("span", Wo, k(m.$t(
|
|
811
811
|
"hbLibComp.hbLibListForm.addScheme"
|
|
812
812
|
)), 1)
|
|
813
813
|
]),
|
|
@@ -815,7 +815,7 @@ const Uo = se(Oo), Ro = {
|
|
|
815
815
|
}),
|
|
816
816
|
P(q, { key: "edit" }, {
|
|
817
817
|
default: h(() => [
|
|
818
|
-
g("span",
|
|
818
|
+
g("span", zo, k(m.$t(
|
|
819
819
|
"hbLibComp.hbLibListForm.editScheme"
|
|
820
820
|
)), 1)
|
|
821
821
|
]),
|
|
@@ -830,7 +830,7 @@ const Uo = se(Oo), Ro = {
|
|
|
830
830
|
title: m.$t("hbLibComp.hbLibListForm.queryCase")
|
|
831
831
|
}, {
|
|
832
832
|
default: h(() => [
|
|
833
|
-
g("a",
|
|
833
|
+
g("a", jo, [
|
|
834
834
|
P(ne, {
|
|
835
835
|
name: "icon-chaxunfangan",
|
|
836
836
|
width: l(n).HbLibListPageContainer?.listPageIcon?.width,
|
|
@@ -867,10 +867,10 @@ const Uo = se(Oo), Ro = {
|
|
|
867
867
|
], 64);
|
|
868
868
|
};
|
|
869
869
|
}
|
|
870
|
-
}),
|
|
870
|
+
}), qo = /* @__PURE__ */ re(Vo, [["__scopeId", "data-v-6a05bade"]]), Yo = se(qo), Ko = { class: "hb-lib-list-page-breadcrumb" }, Go = {
|
|
871
871
|
key: 0,
|
|
872
872
|
class: "hb-lib-list-page-breadcrumb-item-divider"
|
|
873
|
-
},
|
|
873
|
+
}, Jo = { class: "hb-lib-list-page-act" }, Xo = /* @__PURE__ */ ae({
|
|
874
874
|
name: "HbLibListPageAct",
|
|
875
875
|
__name: "HbListPageAct",
|
|
876
876
|
props: {
|
|
@@ -963,17 +963,17 @@ const Uo = se(Oo), Ro = {
|
|
|
963
963
|
background: l(r).HbLibListPageContainer?.listPageBgColor || "var(--hb-color-bg-page)"
|
|
964
964
|
})
|
|
965
965
|
}, [
|
|
966
|
-
g("aside",
|
|
966
|
+
g("aside", Ko, [
|
|
967
967
|
(c(!0), _(ee, null, pe(f.value, (D, S) => (c(), _(ee, { key: D }, [
|
|
968
968
|
g("span", {
|
|
969
969
|
class: Z(["hb-lib-list-page-breadcrumb-item", {
|
|
970
970
|
"last-item": S === f.value.length - 1
|
|
971
971
|
}])
|
|
972
972
|
}, k(D), 3),
|
|
973
|
-
S !== f.value.length - 1 ? (c(), _("span",
|
|
973
|
+
S !== f.value.length - 1 ? (c(), _("span", Go, " / ")) : Y("", !0)
|
|
974
974
|
], 64))), 128))
|
|
975
975
|
]),
|
|
976
|
-
g("aside",
|
|
976
|
+
g("aside", Jo, [
|
|
977
977
|
l(r).HbLibListPageContainer?.listPageBtnPlacement === "top" ? (c(), _(ee, { key: 0 }, [
|
|
978
978
|
e.needReload ? (c(), j(U, {
|
|
979
979
|
key: 0,
|
|
@@ -1063,7 +1063,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1063
1063
|
], 4);
|
|
1064
1064
|
};
|
|
1065
1065
|
}
|
|
1066
|
-
}),
|
|
1066
|
+
}), Qo = /* @__PURE__ */ re(Xo, [["__scopeId", "data-v-82f846be"]]), Zo = se(Qo), en = { class: "hb-lib-list-btns-box" }, tn = { class: "hb-lib-list-btns-left" }, on = { class: "hb-lib-list-btns-right" }, nn = /* @__PURE__ */ ae({
|
|
1067
1067
|
name: "HbLibListBtnsAct",
|
|
1068
1068
|
__name: "HbListBtns",
|
|
1069
1069
|
props: {
|
|
@@ -1084,11 +1084,11 @@ const Uo = se(Oo), Ro = {
|
|
|
1084
1084
|
window.removeEventListener("keydown", r);
|
|
1085
1085
|
}), (u, d) => {
|
|
1086
1086
|
const f = J("HbLibIcon"), v = J("a-tooltip");
|
|
1087
|
-
return c(), _("section",
|
|
1088
|
-
g("aside",
|
|
1087
|
+
return c(), _("section", en, [
|
|
1088
|
+
g("aside", tn, [
|
|
1089
1089
|
Q(u.$slots, "btnsLeft", {}, void 0, !0)
|
|
1090
1090
|
]),
|
|
1091
|
-
g("aside",
|
|
1091
|
+
g("aside", on, [
|
|
1092
1092
|
l(t).HbLibListPageContainer?.listPageBtnPlacement === "middle" ? (c(), _(ee, { key: 0 }, [
|
|
1093
1093
|
e.needReload ? (c(), j(v, {
|
|
1094
1094
|
key: 0,
|
|
@@ -1147,7 +1147,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1147
1147
|
]);
|
|
1148
1148
|
};
|
|
1149
1149
|
}
|
|
1150
|
-
}),
|
|
1150
|
+
}), ln = /* @__PURE__ */ re(nn, [["__scopeId", "data-v-cb2be5bc"]]), an = se(ln), sn = (e = {}) => {
|
|
1151
1151
|
const { formRef: o, offsetBottom: t = 50, minHeight: n = 300, timeOut: a = 100 } = e, i = M(0);
|
|
1152
1152
|
let s = null, r = null, u = null, d = null, f = null;
|
|
1153
1153
|
const v = () => {
|
|
@@ -1223,7 +1223,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1223
1223
|
tableHeight: i,
|
|
1224
1224
|
calTableHeight: v
|
|
1225
1225
|
};
|
|
1226
|
-
},
|
|
1226
|
+
}, rn = /* @__PURE__ */ ae({
|
|
1227
1227
|
name: "HbLibListPageContainer",
|
|
1228
1228
|
__name: "HbListPageContainer",
|
|
1229
1229
|
props: {
|
|
@@ -1244,7 +1244,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1244
1244
|
() => n.minHeight || o.HbLibListPageContainer?.minHeight || 300
|
|
1245
1245
|
), u = x(
|
|
1246
1246
|
() => n.timeOut || o.HbLibListPageContainer?.timeOut || 100
|
|
1247
|
-
), d = x(() => n.isUnFixTbHeight || o.HbLibListPageContainer?.isUnFixTbHeight || !1), { calTableHeight: f, tableHeight: v } =
|
|
1247
|
+
), d = x(() => n.isUnFixTbHeight || o.HbLibListPageContainer?.isUnFixTbHeight || !1), { calTableHeight: f, tableHeight: v } = sn({
|
|
1248
1248
|
offsetBottom: s.value,
|
|
1249
1249
|
// 底部预留空间
|
|
1250
1250
|
minHeight: r.value,
|
|
@@ -1275,19 +1275,19 @@ const Uo = se(Oo), Ro = {
|
|
|
1275
1275
|
], 4)
|
|
1276
1276
|
], 512));
|
|
1277
1277
|
}
|
|
1278
|
-
}),
|
|
1278
|
+
}), cn = se(rn), dn = { style: { "font-weight": "500" } }, un = {
|
|
1279
1279
|
key: 0,
|
|
1280
1280
|
class: "hb-lib-search-tag__description"
|
|
1281
|
-
},
|
|
1281
|
+
}, fn = { class: "hb-lib-selector-dropdown" }, bn = { class: "hb-lib-selector-search" }, hn = { class: "hb-lib-selector-list" }, pn = ["onClick"], mn = { class: "hb-lib-option-content" }, vn = { class: "hb-lib-option-label" }, gn = {
|
|
1282
1282
|
key: 0,
|
|
1283
1283
|
class: "hb-lib-selector-empty"
|
|
1284
|
-
},
|
|
1284
|
+
}, yn = {
|
|
1285
1285
|
key: 1,
|
|
1286
1286
|
class: "hb-lib-selector-footer"
|
|
1287
|
-
},
|
|
1287
|
+
}, Ln = { class: "hb-lib-footer-buttons" }, _n = {
|
|
1288
1288
|
key: 2,
|
|
1289
1289
|
class: "hb-lib-selector-footer"
|
|
1290
|
-
},
|
|
1290
|
+
}, Cn = { class: "hb-lib-footer-buttons" }, wn = /* @__PURE__ */ ae({
|
|
1291
1291
|
name: "HbLibListMultiSelect",
|
|
1292
1292
|
__name: "HbListMultiSelect",
|
|
1293
1293
|
props: /* @__PURE__ */ dt({
|
|
@@ -1404,15 +1404,15 @@ const Uo = se(Oo), Ro = {
|
|
|
1404
1404
|
onClick: B[0] || (B[0] = () => $(!0))
|
|
1405
1405
|
}, {
|
|
1406
1406
|
default: h(() => [
|
|
1407
|
-
g("span",
|
|
1408
|
-
H?.description ? (c(), _("span",
|
|
1407
|
+
g("span", dn, k(m), 1),
|
|
1408
|
+
H?.description ? (c(), _("span", un, " (" + k(H.description) + ") ", 1)) : Y("", !0)
|
|
1409
1409
|
]),
|
|
1410
1410
|
_: 2
|
|
1411
1411
|
}, 1024)
|
|
1412
1412
|
]),
|
|
1413
1413
|
dropdownRender: h(() => [
|
|
1414
|
-
g("div",
|
|
1415
|
-
g("div",
|
|
1414
|
+
g("div", fn, [
|
|
1415
|
+
g("div", bn, [
|
|
1416
1416
|
P(T, {
|
|
1417
1417
|
ref_key: "searchInputRef",
|
|
1418
1418
|
ref: u,
|
|
@@ -1429,7 +1429,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1429
1429
|
_: 1
|
|
1430
1430
|
}, 8, ["value"])
|
|
1431
1431
|
]),
|
|
1432
|
-
g("div",
|
|
1432
|
+
g("div", hn, [
|
|
1433
1433
|
(c(!0), _(ee, null, pe(d.value, (m) => (c(), _("div", {
|
|
1434
1434
|
key: m.value,
|
|
1435
1435
|
class: Z([
|
|
@@ -1455,13 +1455,13 @@ const Uo = se(Oo), Ro = {
|
|
|
1455
1455
|
onClick: B[4] || (B[4] = Xe(() => {
|
|
1456
1456
|
}, ["stop"]))
|
|
1457
1457
|
}, null, 8, ["checked", "onChange"])),
|
|
1458
|
-
g("div",
|
|
1459
|
-
g("div",
|
|
1458
|
+
g("div", mn, [
|
|
1459
|
+
g("div", vn, k(m.label), 1)
|
|
1460
1460
|
])
|
|
1461
|
-
], 10,
|
|
1461
|
+
], 10, pn))), 128))
|
|
1462
1462
|
]),
|
|
1463
|
-
d.value.length === 0 ? (c(), _("div",
|
|
1464
|
-
e.multiple ? (c(), _("div",
|
|
1463
|
+
d.value.length === 0 ? (c(), _("div", gn, k(C.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : Y("", !0),
|
|
1464
|
+
e.multiple ? (c(), _("div", yn, [
|
|
1465
1465
|
P(I, {
|
|
1466
1466
|
checked: v.value,
|
|
1467
1467
|
indeterminate: p.value,
|
|
@@ -1472,7 +1472,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1472
1472
|
]),
|
|
1473
1473
|
_: 1
|
|
1474
1474
|
}, 8, ["checked", "indeterminate"]),
|
|
1475
|
-
g("div",
|
|
1475
|
+
g("div", Ln, [
|
|
1476
1476
|
P(b, {
|
|
1477
1477
|
size: "small",
|
|
1478
1478
|
onClick: E
|
|
@@ -1495,9 +1495,9 @@ const Uo = se(Oo), Ro = {
|
|
|
1495
1495
|
_: 1
|
|
1496
1496
|
})
|
|
1497
1497
|
])
|
|
1498
|
-
])) : (c(), _("div",
|
|
1498
|
+
])) : (c(), _("div", _n, [
|
|
1499
1499
|
B[6] || (B[6] = g("div", null, null, -1)),
|
|
1500
|
-
g("div",
|
|
1500
|
+
g("div", Cn, [
|
|
1501
1501
|
P(b, {
|
|
1502
1502
|
size: "small",
|
|
1503
1503
|
onClick: E
|
|
@@ -1516,7 +1516,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1516
1516
|
], 16);
|
|
1517
1517
|
};
|
|
1518
1518
|
}
|
|
1519
|
-
}),
|
|
1519
|
+
}), kn = /* @__PURE__ */ re(wn, [["__scopeId", "data-v-14ede517"]]), Sn = se(kn), xn = { class: "hb-lib-form-item-filter-modal-search" }, Hn = { class: "hb-lib-form-item-filter-modal-buttons" }, In = { key: 0 }, Tn = /* @__PURE__ */ ae({
|
|
1520
1520
|
name: "HbLibMutilpleSelectModal",
|
|
1521
1521
|
__name: "HbMutilpleSelectModal",
|
|
1522
1522
|
props: {
|
|
@@ -1622,7 +1622,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1622
1622
|
scroll: { y: e.tableHeight }
|
|
1623
1623
|
}, {
|
|
1624
1624
|
customFilterDropdown: h(({ setSelectedKeys: m, selectedKeys: H, confirm: W, clearFilters: ne, column: le }) => [
|
|
1625
|
-
g("div",
|
|
1625
|
+
g("div", xn, [
|
|
1626
1626
|
P(I, {
|
|
1627
1627
|
ref_key: "searchInput",
|
|
1628
1628
|
ref: r,
|
|
@@ -1632,7 +1632,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1632
1632
|
onChange: (q) => m(q.target.value ? [q.target.value] : []),
|
|
1633
1633
|
onPressEnter: (q) => R(H, W, le.dataIndex)
|
|
1634
1634
|
}, null, 8, ["placeholder", "value", "onChange", "onPressEnter"]),
|
|
1635
|
-
g("section",
|
|
1635
|
+
g("section", Hn, [
|
|
1636
1636
|
P(y, {
|
|
1637
1637
|
class: "hb-lib-form-item-filter-modal-button",
|
|
1638
1638
|
type: "ghost",
|
|
@@ -1662,7 +1662,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1662
1662
|
}, null, 8, ["style"])
|
|
1663
1663
|
]),
|
|
1664
1664
|
bodyCell: h(({ text: m, column: H }) => [
|
|
1665
|
-
p.searchText && p.searchedColumn === H.dataIndex ? (c(), _("span",
|
|
1665
|
+
p.searchText && p.searchedColumn === H.dataIndex ? (c(), _("span", In, [
|
|
1666
1666
|
(c(!0), _(ee, null, pe(m.toString().split(new RegExp(`(?<=${p.searchText})|(?=${p.searchText})`, "i")), (W, ne) => (c(), _(ee, null, [
|
|
1667
1667
|
W.toLowerCase() === p.searchText.toLowerCase() ? (c(), _("mark", {
|
|
1668
1668
|
key: ne,
|
|
@@ -1681,7 +1681,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1681
1681
|
], 512);
|
|
1682
1682
|
};
|
|
1683
1683
|
}
|
|
1684
|
-
}),
|
|
1684
|
+
}), Fn = se(Tn), $n = {
|
|
1685
1685
|
// 如果存在cpText时,K和V无效
|
|
1686
1686
|
cpText: {
|
|
1687
1687
|
type: String,
|
|
@@ -1726,10 +1726,10 @@ const Uo = se(Oo), Ro = {
|
|
|
1726
1726
|
type: String,
|
|
1727
1727
|
default: "ab"
|
|
1728
1728
|
}
|
|
1729
|
-
},
|
|
1729
|
+
}, Pn = /* @__PURE__ */ ae({
|
|
1730
1730
|
name: "HbLibCopy",
|
|
1731
1731
|
__name: "copy",
|
|
1732
|
-
props:
|
|
1732
|
+
props: $n,
|
|
1733
1733
|
setup(e) {
|
|
1734
1734
|
const o = e, t = M();
|
|
1735
1735
|
qt(() => {
|
|
@@ -1795,7 +1795,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1795
1795
|
_: 1
|
|
1796
1796
|
}, 8, ["title"])) : Y("", !0);
|
|
1797
1797
|
}
|
|
1798
|
-
}),
|
|
1798
|
+
}), Bn = /* @__PURE__ */ re(Pn, [["__scopeId", "data-v-2b6710a1"]]), Qt = se(Bn), Dn = {
|
|
1799
1799
|
dragList: {
|
|
1800
1800
|
type: Array,
|
|
1801
1801
|
required: !0
|
|
@@ -1834,10 +1834,10 @@ const Uo = se(Oo), Ro = {
|
|
|
1834
1834
|
type: String,
|
|
1835
1835
|
default: ""
|
|
1836
1836
|
}
|
|
1837
|
-
},
|
|
1837
|
+
}, An = /* @__PURE__ */ ae({
|
|
1838
1838
|
name: "HbDrag",
|
|
1839
1839
|
__name: "index",
|
|
1840
|
-
props:
|
|
1840
|
+
props: Dn,
|
|
1841
1841
|
emits: [
|
|
1842
1842
|
"update:dragList",
|
|
1843
1843
|
"handleDragStart",
|
|
@@ -1908,7 +1908,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1908
1908
|
}, 16, ["modelValue", "class", "ghost-class"]))
|
|
1909
1909
|
], 2));
|
|
1910
1910
|
}
|
|
1911
|
-
}),
|
|
1911
|
+
}), Mn = /* @__PURE__ */ re(An, [["__scopeId", "data-v-841ac118"]]), On = se(Mn), Un = {
|
|
1912
1912
|
triggerWay: {
|
|
1913
1913
|
type: String,
|
|
1914
1914
|
default: "click"
|
|
@@ -1924,10 +1924,10 @@ const Uo = se(Oo), Ro = {
|
|
|
1924
1924
|
getSort: {
|
|
1925
1925
|
type: Function
|
|
1926
1926
|
}
|
|
1927
|
-
},
|
|
1927
|
+
}, Rn = /* @__PURE__ */ ae({
|
|
1928
1928
|
name: "HbLibSort",
|
|
1929
1929
|
__name: "sort",
|
|
1930
|
-
props:
|
|
1930
|
+
props: Un,
|
|
1931
1931
|
emits: ["change"],
|
|
1932
1932
|
setup(e, { expose: o, emit: t }) {
|
|
1933
1933
|
const n = e, a = t, i = M([]), s = M("");
|
|
@@ -1993,7 +1993,7 @@ const Uo = se(Oo), Ro = {
|
|
|
1993
1993
|
}, 8, ["trigger"]);
|
|
1994
1994
|
};
|
|
1995
1995
|
}
|
|
1996
|
-
}),
|
|
1996
|
+
}), En = /* @__PURE__ */ re(Rn, [["__scopeId", "data-v-cf0b0a0d"]]), Nn = se(En), jn = {
|
|
1997
1997
|
color: {
|
|
1998
1998
|
themeColor: "#ff7333"
|
|
1999
1999
|
},
|
|
@@ -2026,7 +2026,6 @@ const Uo = se(Oo), Ro = {
|
|
|
2026
2026
|
listPageIcon: {
|
|
2027
2027
|
width: 27,
|
|
2028
2028
|
height: 27,
|
|
2029
|
-
initFillColor: "",
|
|
2030
2029
|
hoverColor: !0,
|
|
2031
2030
|
hoverBgColor: "#e8e8e8"
|
|
2032
2031
|
}
|
|
@@ -2055,7 +2054,7 @@ const Uo = se(Oo), Ro = {
|
|
|
2055
2054
|
height: 27
|
|
2056
2055
|
// 图标悬浮颜色
|
|
2057
2056
|
}
|
|
2058
|
-
},
|
|
2057
|
+
}, Wn = /* @__PURE__ */ ae({
|
|
2059
2058
|
name: "HbUiConfig",
|
|
2060
2059
|
__name: "hbUiConfig",
|
|
2061
2060
|
props: {
|
|
@@ -2070,7 +2069,7 @@ const Uo = se(Oo), Ro = {
|
|
|
2070
2069
|
(a) => {
|
|
2071
2070
|
t = Ve(
|
|
2072
2071
|
// 优先级 install > props > 默认值
|
|
2073
|
-
xe.merge({},
|
|
2072
|
+
xe.merge({}, jn, a, n)
|
|
2074
2073
|
);
|
|
2075
2074
|
},
|
|
2076
2075
|
{ deep: !0, immediate: !0 }
|
|
@@ -2083,7 +2082,7 @@ const Uo = se(Oo), Ro = {
|
|
|
2083
2082
|
Q(a.$slots, "default")
|
|
2084
2083
|
], 4));
|
|
2085
2084
|
}
|
|
2086
|
-
}),
|
|
2085
|
+
}), zn = se(Wn), Vn = { class: "hb_lib_loading" }, qn = { class: "hb_lib_loading_loading_anima" }, Yn = { class: "hb_lib_loading_load_tips" }, Kn = /* @__PURE__ */ ae({
|
|
2087
2086
|
name: "HbLibLoading",
|
|
2088
2087
|
__name: "loading",
|
|
2089
2088
|
props: {
|
|
@@ -2094,26 +2093,26 @@ const Uo = se(Oo), Ro = {
|
|
|
2094
2093
|
},
|
|
2095
2094
|
setup(e) {
|
|
2096
2095
|
const { t: o } = ye(), t = e, n = x(() => t.loadTips || o("hbLibComp.HbLibLoading.loadingTips"));
|
|
2097
|
-
return (a, i) => (c(), _("div",
|
|
2098
|
-
g("div",
|
|
2096
|
+
return (a, i) => (c(), _("div", Vn, [
|
|
2097
|
+
g("div", qn, [
|
|
2099
2098
|
i[0] || (i[0] = ho('<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)),
|
|
2100
|
-
g("div",
|
|
2099
|
+
g("div", Yn, k(n.value), 1)
|
|
2101
2100
|
])
|
|
2102
2101
|
]));
|
|
2103
2102
|
}
|
|
2104
|
-
}),
|
|
2103
|
+
}), Gn = /* @__PURE__ */ re(Kn, [["__scopeId", "data-v-22f438b9"]]), Jn = se(Gn), Xn = { class: "file-preview__body" }, Qn = {
|
|
2105
2104
|
key: 0,
|
|
2106
2105
|
class: "file-preview__placeholder"
|
|
2107
|
-
},
|
|
2106
|
+
}, Zn = {
|
|
2108
2107
|
key: 1,
|
|
2109
2108
|
class: "file-preview__placeholder"
|
|
2110
|
-
},
|
|
2109
|
+
}, el = ["src"], tl = { class: "file-preview__body" }, ol = {
|
|
2111
2110
|
key: 0,
|
|
2112
2111
|
class: "file-preview__placeholder"
|
|
2113
|
-
},
|
|
2112
|
+
}, nl = {
|
|
2114
2113
|
key: 1,
|
|
2115
2114
|
class: "file-preview__placeholder"
|
|
2116
|
-
},
|
|
2115
|
+
}, ll = ["src"], al = ["src"], il = { class: "file-preview__modal-footer" }, sl = /* @__PURE__ */ ae({
|
|
2117
2116
|
__name: "file_preview",
|
|
2118
2117
|
props: {
|
|
2119
2118
|
visible: { type: Boolean, default: !1 },
|
|
@@ -2404,7 +2403,7 @@ const Uo = se(Oo), Ro = {
|
|
|
2404
2403
|
onCancel: r
|
|
2405
2404
|
}, {
|
|
2406
2405
|
footer: h(() => [
|
|
2407
|
-
g("div",
|
|
2406
|
+
g("div", il, [
|
|
2408
2407
|
P(me, {
|
|
2409
2408
|
size: 8,
|
|
2410
2409
|
wrap: ""
|
|
@@ -2460,8 +2459,8 @@ const Uo = se(Oo), Ro = {
|
|
|
2460
2459
|
class: "file-preview",
|
|
2461
2460
|
style: de({ height: H.value })
|
|
2462
2461
|
}, [
|
|
2463
|
-
g("div",
|
|
2464
|
-
m.value ? I.value === "unknown" ? (c(), _("div",
|
|
2462
|
+
g("div", Xn, [
|
|
2463
|
+
m.value ? I.value === "unknown" ? (c(), _("div", Zn, [
|
|
2465
2464
|
Q(A.$slots, "unsupported", {}, () => [
|
|
2466
2465
|
V(k(l(i)("hbLibComp.HbFilePreview.unsupported")), 1)
|
|
2467
2466
|
], !0)
|
|
@@ -2472,7 +2471,7 @@ const Uo = se(Oo), Ro = {
|
|
|
2472
2471
|
alt: "",
|
|
2473
2472
|
onLoad: Ee,
|
|
2474
2473
|
onError: Me
|
|
2475
|
-
}, null, 40,
|
|
2474
|
+
}, null, 40, el)) : I.value === "docx" ? (c(), j(l(p), {
|
|
2476
2475
|
key: `docx-${O.value}`,
|
|
2477
2476
|
src: y.value,
|
|
2478
2477
|
class: "file-preview__office",
|
|
@@ -2502,7 +2501,7 @@ const Uo = se(Oo), Ro = {
|
|
|
2502
2501
|
style: de(W.value),
|
|
2503
2502
|
onRendered: He,
|
|
2504
2503
|
onError: Fe
|
|
2505
|
-
}, null, 8, ["src", "style"])) : Y("", !0) : (c(), _("div",
|
|
2504
|
+
}, null, 8, ["src", "style"])) : Y("", !0) : (c(), _("div", Qn, [
|
|
2506
2505
|
Q(A.$slots, "empty", {}, () => [
|
|
2507
2506
|
V(k(l(i)("hbLibComp.HbFilePreview.empty")), 1)
|
|
2508
2507
|
], !0)
|
|
@@ -2513,8 +2512,8 @@ const Uo = se(Oo), Ro = {
|
|
|
2513
2512
|
class: "file-preview",
|
|
2514
2513
|
style: de({ height: H.value })
|
|
2515
2514
|
}, [
|
|
2516
|
-
g("div",
|
|
2517
|
-
m.value ? I.value === "unknown" ? (c(), _("div",
|
|
2515
|
+
g("div", tl, [
|
|
2516
|
+
m.value ? I.value === "unknown" ? (c(), _("div", nl, [
|
|
2518
2517
|
Q(A.$slots, "unsupported", {}, () => [
|
|
2519
2518
|
V(k(l(i)("hbLibComp.HbFilePreview.unsupported")), 1)
|
|
2520
2519
|
], !0)
|
|
@@ -2525,14 +2524,14 @@ const Uo = se(Oo), Ro = {
|
|
|
2525
2524
|
alt: "",
|
|
2526
2525
|
onLoad: Ee,
|
|
2527
2526
|
onError: Me
|
|
2528
|
-
}, null, 40,
|
|
2527
|
+
}, null, 40, ll)) : (c(), _("iframe", {
|
|
2529
2528
|
key: 3,
|
|
2530
2529
|
src: b.value,
|
|
2531
2530
|
class: "file-preview-modal-body__iframe",
|
|
2532
2531
|
width: "100%",
|
|
2533
2532
|
style: { border: "none" },
|
|
2534
2533
|
referrerpolicy: "no-referrer-when-downgrade"
|
|
2535
|
-
}, null, 8,
|
|
2534
|
+
}, null, 8, al)) : (c(), _("div", ol, [
|
|
2536
2535
|
Q(A.$slots, "empty", {}, () => [
|
|
2537
2536
|
V(k(l(i)("hbLibComp.HbFilePreview.empty")), 1)
|
|
2538
2537
|
], !0)
|
|
@@ -2544,8 +2543,8 @@ const Uo = se(Oo), Ro = {
|
|
|
2544
2543
|
}, 8, ["visible", "title", "width", "centered", "destroy-on-close", "mask-closable", "keyboard"]);
|
|
2545
2544
|
};
|
|
2546
2545
|
}
|
|
2547
|
-
}),
|
|
2548
|
-
function
|
|
2546
|
+
}), rl = /* @__PURE__ */ re(sl, [["__scopeId", "data-v-513d7b3b"]]), cl = se(rl), Zt = "//at.alicdn.com/t/c/font_5174416_vythqmwzln.css", dl = "//at.alicdn.com/t/c/font_5174416_vythqmwzln.js", eo = Symbol("HB_ICON_GLOBAL_KEY"), ul = be(eo, {});
|
|
2547
|
+
function fl(e) {
|
|
2549
2548
|
return e.trim().split(/[?#]/)[0].toLowerCase().endsWith(".js");
|
|
2550
2549
|
}
|
|
2551
2550
|
function ze(e) {
|
|
@@ -2554,25 +2553,25 @@ function ze(e) {
|
|
|
2554
2553
|
o ^= e.charCodeAt(t), o = Math.imul(o, 16777619);
|
|
2555
2554
|
return (o >>> 0).toString(36);
|
|
2556
2555
|
}
|
|
2557
|
-
function
|
|
2556
|
+
function bl(e, o) {
|
|
2558
2557
|
return e === !0 ? `hb-if-${ze(o)}-` : typeof e == "string" ? e : "";
|
|
2559
2558
|
}
|
|
2560
|
-
function
|
|
2559
|
+
function hl(e, o) {
|
|
2561
2560
|
return o ? e.replace(
|
|
2562
2561
|
/<symbol\b([^>]*?)\bid\s*=\s*(["'])([^"']+)\2/gi,
|
|
2563
2562
|
(t, n, a, i) => `<symbol${n}id=${a}${o}${i}${a}`
|
|
2564
2563
|
) : e;
|
|
2565
2564
|
}
|
|
2566
|
-
function
|
|
2565
|
+
function pl(e, o = "") {
|
|
2567
2566
|
return o === "" ? `hb-iconfont-svg-${ze(e)}` : `hb-iconfont-svg-${ze(`${e}\0${o}`)}`;
|
|
2568
2567
|
}
|
|
2569
|
-
function
|
|
2568
|
+
function ml(e, o) {
|
|
2570
2569
|
return e.replace(/<svg(\b[^>]*?)>/i, (t, n) => {
|
|
2571
2570
|
const a = n.replace(/\bid\s*=\s*(["'])[^"']*\1/gi, "").trim();
|
|
2572
2571
|
return a ? `<svg id="${o}" ${a}>` : `<svg id="${o}">`;
|
|
2573
2572
|
});
|
|
2574
2573
|
}
|
|
2575
|
-
function
|
|
2574
|
+
function vl(e) {
|
|
2576
2575
|
const t = e.match(
|
|
2577
2576
|
/@font-face\s*\{[\s\S]*?font-family\s*:\s*["']([^"']+)["']/
|
|
2578
2577
|
)?.[1] ?? "", n = /\.([\w-]+)\s*:before\s*\{\s*content\s*:\s*["']\\[\da-fA-F]+["']\s*;?\s*\}/g, a = [];
|
|
@@ -2582,7 +2581,7 @@ function gl(e) {
|
|
|
2582
2581
|
const s = to(a), r = s ? a.map((u) => u.slice(s.length)) : a.slice();
|
|
2583
2582
|
return { baseClass: t, prefix: s, names: r };
|
|
2584
2583
|
}
|
|
2585
|
-
function
|
|
2584
|
+
function gl(e) {
|
|
2586
2585
|
const o = [], t = /<symbol\b[^>]*?\bid\s*=\s*["']([^"']+)["']/gi;
|
|
2587
2586
|
let n;
|
|
2588
2587
|
for (; (n = t.exec(e)) !== null; )
|
|
@@ -2600,18 +2599,18 @@ function to(e) {
|
|
|
2600
2599
|
}
|
|
2601
2600
|
return o;
|
|
2602
2601
|
}
|
|
2603
|
-
function
|
|
2602
|
+
function yl(e, o) {
|
|
2604
2603
|
if (typeof document > "u" || document.getElementById(o)) return;
|
|
2605
2604
|
const t = document.createElement("style");
|
|
2606
2605
|
t.id = o, t.textContent = e, document.head.appendChild(t);
|
|
2607
2606
|
}
|
|
2608
|
-
function
|
|
2607
|
+
function Ll(e, o, t = "") {
|
|
2609
2608
|
if (typeof document > "u") return Promise.resolve();
|
|
2610
2609
|
const n = t === "" ? `hb-iconfont-js-${ze(o)}` : `hb-iconfont-js-${ze(`${o}\0${t}`)}`;
|
|
2611
2610
|
if (document.getElementById(n)) return Promise.resolve();
|
|
2612
|
-
const a =
|
|
2611
|
+
const a = pl(o, t);
|
|
2613
2612
|
if (document.getElementById(a)) return Promise.resolve();
|
|
2614
|
-
const i =
|
|
2613
|
+
const i = ml(e, a);
|
|
2615
2614
|
return new Promise((s, r) => {
|
|
2616
2615
|
const u = new Blob([i], { type: "text/javascript" }), d = URL.createObjectURL(u), f = document.createElement("script");
|
|
2617
2616
|
f.id = n, t && f.setAttribute("data-hb-iconfont-scope", t), f.async = !0, f.onload = () => {
|
|
@@ -2627,8 +2626,8 @@ function _l(e, o, t = "") {
|
|
|
2627
2626
|
}
|
|
2628
2627
|
function Lt(e, o = "font", t) {
|
|
2629
2628
|
if (!e) {
|
|
2630
|
-
const d = o === "font" ? Zt :
|
|
2631
|
-
e =
|
|
2629
|
+
const d = o === "font" ? Zt : dl;
|
|
2630
|
+
e = ul?.cssUrl || d;
|
|
2632
2631
|
}
|
|
2633
2632
|
const n = M(""), a = M(""), i = M([]), s = M("font");
|
|
2634
2633
|
let r = 0;
|
|
@@ -2638,15 +2637,15 @@ function Lt(e, o = "font", t) {
|
|
|
2638
2637
|
n.value = "", a.value = "", i.value = [], s.value = "font";
|
|
2639
2638
|
return;
|
|
2640
2639
|
}
|
|
2641
|
-
if (o === "symbol" &&
|
|
2640
|
+
if (o === "symbol" && fl(v)) {
|
|
2642
2641
|
try {
|
|
2643
2642
|
const $ = await (await fetch(v)).text();
|
|
2644
2643
|
if (f !== r) return;
|
|
2645
|
-
const L =
|
|
2644
|
+
const L = bl(
|
|
2646
2645
|
t?.symbolIdScope,
|
|
2647
2646
|
v
|
|
2648
|
-
), E =
|
|
2649
|
-
if (await
|
|
2647
|
+
), E = hl($, L), { prefix: U, names: D } = gl(E);
|
|
2648
|
+
if (await Ll(E, v, L), f !== r) return;
|
|
2650
2649
|
s.value = "symbol", n.value = "", a.value = U, i.value = D;
|
|
2651
2650
|
} catch (p) {
|
|
2652
2651
|
console.error(
|
|
@@ -2659,8 +2658,8 @@ function Lt(e, o = "font", t) {
|
|
|
2659
2658
|
}
|
|
2660
2659
|
try {
|
|
2661
2660
|
const $ = await (await fetch(v)).text();
|
|
2662
|
-
|
|
2663
|
-
const { baseClass: L, prefix: E, names: U } =
|
|
2661
|
+
yl($, "hb-iconfont-" + v);
|
|
2662
|
+
const { baseClass: L, prefix: E, names: U } = vl($);
|
|
2664
2663
|
if (f !== r) return;
|
|
2665
2664
|
s.value = "font", n.value = L, a.value = E, i.value = U;
|
|
2666
2665
|
} catch (p) {
|
|
@@ -2677,11 +2676,11 @@ function Lt(e, o = "font", t) {
|
|
|
2677
2676
|
iconMode: s
|
|
2678
2677
|
};
|
|
2679
2678
|
}
|
|
2680
|
-
const
|
|
2679
|
+
const _l = { class: "hb-icon-list" }, Cl = ["onClick"], wl = {
|
|
2681
2680
|
key: 1,
|
|
2682
2681
|
class: "hb-icon-list__symbol",
|
|
2683
2682
|
"aria-hidden": "true"
|
|
2684
|
-
},
|
|
2683
|
+
}, kl = ["href"], Sl = { class: "hb-icon-list__name" }, xl = /* @__PURE__ */ ae({
|
|
2685
2684
|
name: "HbLibIconList",
|
|
2686
2685
|
__name: "icon_list",
|
|
2687
2686
|
props: {
|
|
@@ -2707,7 +2706,7 @@ const Cl = { class: "hb-icon-list" }, wl = ["onClick"], kl = {
|
|
|
2707
2706
|
const v = (p) => {
|
|
2708
2707
|
f.value = p, a("select", p), a("update:selected", p);
|
|
2709
2708
|
};
|
|
2710
|
-
return (p, $) => (c(), _("div",
|
|
2709
|
+
return (p, $) => (c(), _("div", _l, [
|
|
2711
2710
|
Q(p.$slots, "iconList", {
|
|
2712
2711
|
iconClasses: l(u),
|
|
2713
2712
|
iconBaseClass: l(s),
|
|
@@ -2722,17 +2721,17 @@ const Cl = { class: "hb-icon-list" }, wl = ["onClick"], kl = {
|
|
|
2722
2721
|
l(d) === "font" ? (c(), _("i", {
|
|
2723
2722
|
key: 0,
|
|
2724
2723
|
class: Z([l(s), l(r) + L])
|
|
2725
|
-
}, null, 2)) : (c(), _("svg",
|
|
2724
|
+
}, null, 2)) : (c(), _("svg", wl, [
|
|
2726
2725
|
g("use", {
|
|
2727
2726
|
href: "#" + t(l(r) + L)
|
|
2728
|
-
}, null, 8,
|
|
2727
|
+
}, null, 8, kl)
|
|
2729
2728
|
])),
|
|
2730
|
-
g("span",
|
|
2731
|
-
], 10,
|
|
2729
|
+
g("span", Sl, k(L), 1)
|
|
2730
|
+
], 10, Cl))), 128))
|
|
2732
2731
|
], !0)
|
|
2733
2732
|
]));
|
|
2734
2733
|
}
|
|
2735
|
-
}), mt = /* @__PURE__ */ re(
|
|
2734
|
+
}), mt = /* @__PURE__ */ re(xl, [["__scopeId", "data-v-35e114dd"]]), oo = mt;
|
|
2736
2735
|
oo.install = (e, o) => {
|
|
2737
2736
|
e.provide(eo, {
|
|
2738
2737
|
cssUrl: o?.cssUrl ?? Zt,
|
|
@@ -2741,7 +2740,7 @@ oo.install = (e, o) => {
|
|
|
2741
2740
|
const t = mt.name ?? "HbLibIconList";
|
|
2742
2741
|
e.component(t, mt);
|
|
2743
2742
|
};
|
|
2744
|
-
const
|
|
2743
|
+
const Hl = ["href"], Il = /* @__PURE__ */ ae({
|
|
2745
2744
|
name: "HbLibIcon",
|
|
2746
2745
|
__name: "icon",
|
|
2747
2746
|
props: {
|
|
@@ -2805,10 +2804,7 @@ const Il = ["href"], Tl = /* @__PURE__ */ ae({
|
|
|
2805
2804
|
}, [
|
|
2806
2805
|
a.value.value === "font" ? (c(), _("i", {
|
|
2807
2806
|
key: 0,
|
|
2808
|
-
class: Z(["iconfont", {
|
|
2809
|
-
...p.value,
|
|
2810
|
-
"hb-icon-hover": r.value
|
|
2811
|
-
}]),
|
|
2807
|
+
class: Z(["iconfont", [p.value, { "hb-icon-hover": r.value }]]),
|
|
2812
2808
|
style: de({ color: u.value })
|
|
2813
2809
|
}, null, 6)) : (c(), _("svg", {
|
|
2814
2810
|
key: 1,
|
|
@@ -2818,11 +2814,11 @@ const Il = ["href"], Tl = /* @__PURE__ */ ae({
|
|
|
2818
2814
|
"aria-hidden": "true",
|
|
2819
2815
|
style: de({ fill: u.value })
|
|
2820
2816
|
}, [
|
|
2821
|
-
g("use", { href: L.value }, null, 8,
|
|
2817
|
+
g("use", { href: L.value }, null, 8, Hl)
|
|
2822
2818
|
], 6))
|
|
2823
2819
|
], 6));
|
|
2824
2820
|
}
|
|
2825
|
-
}),
|
|
2821
|
+
}), Tl = /* @__PURE__ */ re(Il, [["__scopeId", "data-v-5deecfbe"]]), Re = Tl;
|
|
2826
2822
|
Re.install = (e, o) => {
|
|
2827
2823
|
const t = o?.iconURL || void 0;
|
|
2828
2824
|
if (t) {
|
|
@@ -2832,7 +2828,7 @@ Re.install = (e, o) => {
|
|
|
2832
2828
|
const n = o?.name || "HbLibIcon";
|
|
2833
2829
|
e.component(n, Re);
|
|
2834
2830
|
};
|
|
2835
|
-
const
|
|
2831
|
+
const Fl = /* @__PURE__ */ ae({
|
|
2836
2832
|
__name: "iconBox",
|
|
2837
2833
|
props: {
|
|
2838
2834
|
url: {},
|
|
@@ -2862,13 +2858,13 @@ const $l = /* @__PURE__ */ ae({
|
|
|
2862
2858
|
}
|
|
2863
2859
|
}), (u, d) => Q(u.$slots, "default");
|
|
2864
2860
|
}
|
|
2865
|
-
}),
|
|
2861
|
+
}), $l = Fl, Pl = { class: "hb-lib-table-act-box" }, Bl = ["onClick"], Dl = {
|
|
2866
2862
|
href: "javascript:;",
|
|
2867
2863
|
class: "hb-lib-table-main-action"
|
|
2868
|
-
},
|
|
2864
|
+
}, Al = ["onClick"], Ml = {
|
|
2869
2865
|
href: "javascript:;",
|
|
2870
2866
|
class: "hb-lib-table-more-action"
|
|
2871
|
-
},
|
|
2867
|
+
}, Ol = ["onClick"], Ul = { href: "javascript:;" }, Rl = ["onClick"], El = { class: "hb-lib-table-confirm-modal-content" }, Nl = /* @__PURE__ */ ae({
|
|
2872
2868
|
name: "HbLibTableAct",
|
|
2873
2869
|
__name: "HbTableAct",
|
|
2874
2870
|
props: {
|
|
@@ -2943,7 +2939,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
2943
2939
|
DownOutlined: pt
|
|
2944
2940
|
}), (R, C) => {
|
|
2945
2941
|
const B = J("a-divider"), w = Kt("has");
|
|
2946
|
-
return c(), _("div",
|
|
2942
|
+
return c(), _("div", Pl, [
|
|
2947
2943
|
(c(!0), _(ee, null, pe(p.value, (T, I) => (c(), _(ee, { key: I }, [
|
|
2948
2944
|
T.needConfirm ? (c(), _(ee, { key: 0 }, [
|
|
2949
2945
|
T.confirmType === "modal" ? (c(), _(ee, { key: 0 }, [
|
|
@@ -2958,7 +2954,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
2958
2954
|
}, null, 8, ["name"])) : (c(), _(ee, { key: 1 }, [
|
|
2959
2955
|
V(k(T.label), 1)
|
|
2960
2956
|
], 64))
|
|
2961
|
-
], 8,
|
|
2957
|
+
], 8, Bl)), [
|
|
2962
2958
|
[w, T.permissionsTag || null]
|
|
2963
2959
|
]),
|
|
2964
2960
|
$.value && $.value.length > 0 || I !== p.value.length - 1 ? (c(), j(B, {
|
|
@@ -2971,7 +2967,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
2971
2967
|
onConfirm: (y) => E(T)
|
|
2972
2968
|
}, {
|
|
2973
2969
|
default: h(() => [
|
|
2974
|
-
Se((c(), _("a",
|
|
2970
|
+
Se((c(), _("a", Dl, [
|
|
2975
2971
|
T.icon ? (c(), j(l(Re), {
|
|
2976
2972
|
key: 0,
|
|
2977
2973
|
name: T.icon
|
|
@@ -3010,7 +3006,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
3010
3006
|
spin: "",
|
|
3011
3007
|
class: "hb-lib-table-action-loading-icon"
|
|
3012
3008
|
})) : Y("", !0)
|
|
3013
|
-
], 10,
|
|
3009
|
+
], 10, Al)), [
|
|
3014
3010
|
[w, T.permissionsTag || null]
|
|
3015
3011
|
]),
|
|
3016
3012
|
$.value && $.value.length > 0 || I !== p.value.length - 1 ? Se((c(), j(B, {
|
|
@@ -3034,7 +3030,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
3034
3030
|
onClick: (y) => U(T)
|
|
3035
3031
|
}, [
|
|
3036
3032
|
V(k(T.label), 1)
|
|
3037
|
-
], 8,
|
|
3033
|
+
], 8, Ol)), [
|
|
3038
3034
|
[
|
|
3039
3035
|
w,
|
|
3040
3036
|
T.permissionsTag || null
|
|
@@ -3045,7 +3041,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
3045
3041
|
onConfirm: (y) => E(T)
|
|
3046
3042
|
}, {
|
|
3047
3043
|
default: h(() => [
|
|
3048
|
-
Se((c(), _("a",
|
|
3044
|
+
Se((c(), _("a", Ul, [
|
|
3049
3045
|
V(k(T.label), 1)
|
|
3050
3046
|
])), [
|
|
3051
3047
|
[
|
|
@@ -3080,7 +3076,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
3080
3076
|
spin: "",
|
|
3081
3077
|
class: "hb-lib-table-action-loading-icon"
|
|
3082
3078
|
})) : Y("", !0)
|
|
3083
|
-
], 10,
|
|
3079
|
+
], 10, Rl)), [
|
|
3084
3080
|
[w, T.permissionsTag || null]
|
|
3085
3081
|
])
|
|
3086
3082
|
]),
|
|
@@ -3093,7 +3089,7 @@ const $l = /* @__PURE__ */ ae({
|
|
|
3093
3089
|
})
|
|
3094
3090
|
]),
|
|
3095
3091
|
default: h(() => [
|
|
3096
|
-
g("a",
|
|
3092
|
+
g("a", Ml, [
|
|
3097
3093
|
V(k(R.$t("hbLibComp.hbTableAct.more")) + " ", 1),
|
|
3098
3094
|
P(l(pt), { style: { "font-size": "12px", "margin-left": "4px" } })
|
|
3099
3095
|
])
|
|
@@ -3108,62 +3104,62 @@ const $l = /* @__PURE__ */ ae({
|
|
|
3108
3104
|
onCancel: S
|
|
3109
3105
|
}, {
|
|
3110
3106
|
default: h(() => [
|
|
3111
|
-
g("p",
|
|
3107
|
+
g("p", El, k(N.value.content), 1)
|
|
3112
3108
|
]),
|
|
3113
3109
|
_: 1
|
|
3114
3110
|
}, 8, ["visible", "title", "confirm-loading"])
|
|
3115
3111
|
]);
|
|
3116
3112
|
};
|
|
3117
3113
|
}
|
|
3118
|
-
}),
|
|
3114
|
+
}), jl = /* @__PURE__ */ re(Nl, [["__scopeId", "data-v-940cb196"]]), Wl = se(jl), zl = (e) => ({ tableWidth: x(() => {
|
|
3119
3115
|
const t = Array.isArray(e) ? e : e.value;
|
|
3120
3116
|
return !t || t.length === 0 ? 0 : t.map((n) => n.width && Number(n.width.toString().replace("px", "")) || 0).reduce((n, a) => n + a, 0);
|
|
3121
3117
|
}) });
|
|
3122
|
-
var
|
|
3123
|
-
function
|
|
3124
|
-
var o =
|
|
3118
|
+
var Vl = typeof global == "object" && global && global.Object === Object && global, ql = typeof self == "object" && self && self.Object === Object && self, no = Vl || ql || Function("return this")(), ot = no.Symbol, lo = Object.prototype, Yl = lo.hasOwnProperty, Kl = lo.toString, je = ot ? ot.toStringTag : void 0;
|
|
3119
|
+
function Gl(e) {
|
|
3120
|
+
var o = Yl.call(e, je), t = e[je];
|
|
3125
3121
|
try {
|
|
3126
3122
|
e[je] = void 0;
|
|
3127
3123
|
var n = !0;
|
|
3128
3124
|
} catch {
|
|
3129
3125
|
}
|
|
3130
|
-
var a =
|
|
3126
|
+
var a = Kl.call(e);
|
|
3131
3127
|
return n && (o ? e[je] = t : delete e[je]), a;
|
|
3132
3128
|
}
|
|
3133
|
-
var
|
|
3134
|
-
function
|
|
3135
|
-
return
|
|
3129
|
+
var Jl = Object.prototype, Xl = Jl.toString;
|
|
3130
|
+
function Ql(e) {
|
|
3131
|
+
return Xl.call(e);
|
|
3136
3132
|
}
|
|
3137
|
-
var
|
|
3138
|
-
function
|
|
3139
|
-
return e == null ? e === void 0 ?
|
|
3133
|
+
var Zl = "[object Null]", ea = "[object Undefined]", At = ot ? ot.toStringTag : void 0;
|
|
3134
|
+
function ta(e) {
|
|
3135
|
+
return e == null ? e === void 0 ? ea : Zl : At && At in Object(e) ? Gl(e) : Ql(e);
|
|
3140
3136
|
}
|
|
3141
|
-
function
|
|
3137
|
+
function oa(e) {
|
|
3142
3138
|
return e != null && typeof e == "object";
|
|
3143
3139
|
}
|
|
3144
|
-
var
|
|
3145
|
-
function
|
|
3146
|
-
return typeof e == "symbol" ||
|
|
3140
|
+
var na = "[object Symbol]";
|
|
3141
|
+
function la(e) {
|
|
3142
|
+
return typeof e == "symbol" || oa(e) && ta(e) == na;
|
|
3147
3143
|
}
|
|
3148
|
-
var
|
|
3149
|
-
function
|
|
3150
|
-
for (var o = e.length; o-- &&
|
|
3144
|
+
var aa = /\s/;
|
|
3145
|
+
function ia(e) {
|
|
3146
|
+
for (var o = e.length; o-- && aa.test(e.charAt(o)); )
|
|
3151
3147
|
;
|
|
3152
3148
|
return o;
|
|
3153
3149
|
}
|
|
3154
|
-
var
|
|
3155
|
-
function
|
|
3156
|
-
return e && e.slice(0,
|
|
3150
|
+
var sa = /^\s+/;
|
|
3151
|
+
function ra(e) {
|
|
3152
|
+
return e && e.slice(0, ia(e) + 1).replace(sa, "");
|
|
3157
3153
|
}
|
|
3158
3154
|
function vt(e) {
|
|
3159
3155
|
var o = typeof e;
|
|
3160
3156
|
return e != null && (o == "object" || o == "function");
|
|
3161
3157
|
}
|
|
3162
|
-
var Mt = NaN,
|
|
3158
|
+
var Mt = NaN, ca = /^[-+]0x[0-9a-f]+$/i, da = /^0b[01]+$/i, ua = /^0o[0-7]+$/i, fa = parseInt;
|
|
3163
3159
|
function Ot(e) {
|
|
3164
3160
|
if (typeof e == "number")
|
|
3165
3161
|
return e;
|
|
3166
|
-
if (
|
|
3162
|
+
if (la(e))
|
|
3167
3163
|
return Mt;
|
|
3168
3164
|
if (vt(e)) {
|
|
3169
3165
|
var o = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -3171,18 +3167,18 @@ function Ot(e) {
|
|
|
3171
3167
|
}
|
|
3172
3168
|
if (typeof e != "string")
|
|
3173
3169
|
return e === 0 ? e : +e;
|
|
3174
|
-
e =
|
|
3175
|
-
var t =
|
|
3176
|
-
return t ||
|
|
3170
|
+
e = ra(e);
|
|
3171
|
+
var t = da.test(e);
|
|
3172
|
+
return t || ua.test(e) ? fa(e.slice(2), t ? 2 : 8) : ca.test(e) ? Mt : +e;
|
|
3177
3173
|
}
|
|
3178
3174
|
var rt = function() {
|
|
3179
3175
|
return no.Date.now();
|
|
3180
|
-
},
|
|
3176
|
+
}, ba = "Expected a function", ha = Math.max, pa = Math.min;
|
|
3181
3177
|
function ao(e, o, t) {
|
|
3182
3178
|
var n, a, i, s, r, u, d = 0, f = !1, v = !1, p = !0;
|
|
3183
3179
|
if (typeof e != "function")
|
|
3184
|
-
throw new TypeError(
|
|
3185
|
-
o = Ot(o) || 0, vt(t) && (f = !!t.leading, v = "maxWait" in t, i = v ?
|
|
3180
|
+
throw new TypeError(ba);
|
|
3181
|
+
o = Ot(o) || 0, vt(t) && (f = !!t.leading, v = "maxWait" in t, i = v ? ha(Ot(t.maxWait) || 0, o) : i, p = "trailing" in t ? !!t.trailing : p);
|
|
3186
3182
|
function $(B) {
|
|
3187
3183
|
var w = n, T = a;
|
|
3188
3184
|
return n = a = void 0, d = B, s = e.apply(T, w), s;
|
|
@@ -3192,7 +3188,7 @@ function ao(e, o, t) {
|
|
|
3192
3188
|
}
|
|
3193
3189
|
function E(B) {
|
|
3194
3190
|
var w = B - u, T = B - d, I = o - w;
|
|
3195
|
-
return v ?
|
|
3191
|
+
return v ? pa(I, i - T) : I;
|
|
3196
3192
|
}
|
|
3197
3193
|
function U(B) {
|
|
3198
3194
|
var w = B - u, T = B - d;
|
|
@@ -3225,16 +3221,16 @@ function ao(e, o, t) {
|
|
|
3225
3221
|
}
|
|
3226
3222
|
return C.cancel = N, C.flush = R, C;
|
|
3227
3223
|
}
|
|
3228
|
-
const
|
|
3224
|
+
const ma = { class: "hb-lib-table-setting-box" }, va = {
|
|
3229
3225
|
key: 0,
|
|
3230
3226
|
class: "hb-lib-table-drag-item"
|
|
3231
|
-
},
|
|
3227
|
+
}, ga = {
|
|
3232
3228
|
key: 0,
|
|
3233
3229
|
class: "hb-lib-table-drag-item-act"
|
|
3234
|
-
},
|
|
3230
|
+
}, ya = ["onClick"], La = ["onClick"], _a = { class: "hb-lib-table-set-btn-group" }, Ca = {
|
|
3235
3231
|
class: "select-all-container",
|
|
3236
3232
|
style: { "margin-right": "10px" }
|
|
3237
|
-
},
|
|
3233
|
+
}, wa = /* @__PURE__ */ ae({
|
|
3238
3234
|
name: "HbLibTableColumnSet",
|
|
3239
3235
|
__name: "HbTableColumnSet",
|
|
3240
3236
|
props: {
|
|
@@ -3357,7 +3353,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3357
3353
|
}
|
|
3358
3354
|
), (I, y) => {
|
|
3359
3355
|
const b = J("a-tooltip"), O = J("a-button"), m = J("HbLibIcon");
|
|
3360
|
-
return c(), _("div",
|
|
3356
|
+
return c(), _("div", ma, [
|
|
3361
3357
|
P(l(_o), {
|
|
3362
3358
|
visible: u.value,
|
|
3363
3359
|
"onUpdate:visible": y[1] || (y[1] = (H) => u.value = H),
|
|
@@ -3379,7 +3375,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3379
3375
|
onEnd: L
|
|
3380
3376
|
}, {
|
|
3381
3377
|
item: h(({ element: H }) => [
|
|
3382
|
-
H.fixed !== "right" ? (c(), _("div",
|
|
3378
|
+
H.fixed !== "right" ? (c(), _("div", va, [
|
|
3383
3379
|
P(l(et), {
|
|
3384
3380
|
checked: H.checked,
|
|
3385
3381
|
onChange: (W) => N(
|
|
@@ -3392,7 +3388,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3392
3388
|
]),
|
|
3393
3389
|
_: 2
|
|
3394
3390
|
}, 1032, ["checked", "onChange"]),
|
|
3395
|
-
H.checked ? (c(), _("section",
|
|
3391
|
+
H.checked ? (c(), _("section", ga, [
|
|
3396
3392
|
g("span", {
|
|
3397
3393
|
class: Z(
|
|
3398
3394
|
H.fixed ? "drag-hide" : "drag-handle"
|
|
@@ -3425,7 +3421,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3425
3421
|
fill: "#ff5000"
|
|
3426
3422
|
})
|
|
3427
3423
|
], -1)
|
|
3428
|
-
])], 8,
|
|
3424
|
+
])], 8, ya)
|
|
3429
3425
|
]),
|
|
3430
3426
|
_: 2
|
|
3431
3427
|
}, 1024)) : Y("", !0),
|
|
@@ -3456,7 +3452,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3456
3452
|
fill: "#ff5000"
|
|
3457
3453
|
})
|
|
3458
3454
|
], -1)
|
|
3459
|
-
])], 8,
|
|
3455
|
+
])], 8, La)
|
|
3460
3456
|
]),
|
|
3461
3457
|
_: 2
|
|
3462
3458
|
}, 1024))
|
|
@@ -3465,8 +3461,8 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3465
3461
|
]),
|
|
3466
3462
|
_: 1
|
|
3467
3463
|
}, 8, ["modelValue"]),
|
|
3468
|
-
g("div",
|
|
3469
|
-
g("div",
|
|
3464
|
+
g("div", _a, [
|
|
3465
|
+
g("div", Ca, [
|
|
3470
3466
|
P(l(et), {
|
|
3471
3467
|
checked: v.value,
|
|
3472
3468
|
indeterminate: p.value,
|
|
@@ -3522,10 +3518,10 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3522
3518
|
]);
|
|
3523
3519
|
};
|
|
3524
3520
|
}
|
|
3525
|
-
}),
|
|
3521
|
+
}), ka = /* @__PURE__ */ re(wa, [["__scopeId", "data-v-64ab7718"]]), io = se(ka), Sa = {
|
|
3526
3522
|
key: 0,
|
|
3527
3523
|
class: "hb-lib-list-table-act"
|
|
3528
|
-
},
|
|
3524
|
+
}, xa = { class: "empty-container" }, Ha = { key: 1 }, Ia = { key: 2 }, Ta = /* @__PURE__ */ ae({
|
|
3529
3525
|
name: "HbLibListTable",
|
|
3530
3526
|
__name: "HbListTable",
|
|
3531
3527
|
props: {
|
|
@@ -3542,7 +3538,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3542
3538
|
setup(e, { emit: o }) {
|
|
3543
3539
|
const t = be(ge, {}), n = o, { t: a } = ye(), i = e, s = M([]), r = be(
|
|
3544
3540
|
"HB_LIST_PAGE_CONTAINER"
|
|
3545
|
-
), u = x(() => s.value), { tableWidth: d } =
|
|
3541
|
+
), u = x(() => s.value), { tableWidth: d } = zl(u), f = M(d.value), v = M(i.columns), p = x(() => {
|
|
3546
3542
|
const b = i.columnSetLocalColumns?.length ? i.columnSetLocalColumns : i.columns;
|
|
3547
3543
|
return S(b);
|
|
3548
3544
|
}), $ = x(() => i.isUnFixTbHeight || t.HbLibListPageContainer?.isUnFixTbHeight || !1), L = (b) => {
|
|
@@ -3643,7 +3639,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3643
3639
|
"--hb-lib-table-td-height": e.rowHeight && e.rowHeight + "px" || ""
|
|
3644
3640
|
})
|
|
3645
3641
|
}, [
|
|
3646
|
-
b.$slots.tableActLeft ? (c(), _("section",
|
|
3642
|
+
b.$slots.tableActLeft ? (c(), _("section", Sa, [
|
|
3647
3643
|
Q(b.$slots, "tableActLeft", {}, void 0, !0),
|
|
3648
3644
|
Q(b.$slots, "tableActRight", {}, void 0, !0)
|
|
3649
3645
|
])) : Y("", !0),
|
|
@@ -3658,7 +3654,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3658
3654
|
onChange: w
|
|
3659
3655
|
}), We({
|
|
3660
3656
|
emptyText: h(() => [
|
|
3661
|
-
g("div",
|
|
3657
|
+
g("div", xa, [
|
|
3662
3658
|
P(m, {
|
|
3663
3659
|
description: l(a)("hbLibComp.hbListTable.noData")
|
|
3664
3660
|
}, null, 8, ["description"])
|
|
@@ -3698,14 +3694,14 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3698
3694
|
V(" " + k(ie[q.dataIndex]), 1)
|
|
3699
3695
|
]),
|
|
3700
3696
|
_: 2
|
|
3701
|
-
}, 1032, ["placement"])) : q && q.needCopy && !q.needTooltip ? (c(), _("div",
|
|
3697
|
+
}, 1032, ["placement"])) : q && q.needCopy && !q.needTooltip ? (c(), _("div", Ha, [
|
|
3702
3698
|
V(k(ie[q.dataIndex]) + " ", 1),
|
|
3703
3699
|
P(W, {
|
|
3704
3700
|
"cp-text": ie[q.dataIndex],
|
|
3705
3701
|
style: { position: "relative" }
|
|
3706
3702
|
}, null, 8, ["cp-text"])
|
|
3707
3703
|
])) : Y("", !0),
|
|
3708
|
-
q && q.needTooltip && q.needCopy ? (c(), _("div",
|
|
3704
|
+
q && q.needTooltip && q.needCopy ? (c(), _("div", Ia, [
|
|
3709
3705
|
P(H, { placement: e.tooltipPlacement }, {
|
|
3710
3706
|
title: h(() => [
|
|
3711
3707
|
V(k(ie[q.dataIndex]), 1)
|
|
@@ -3804,7 +3800,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3804
3800
|
], 6);
|
|
3805
3801
|
};
|
|
3806
3802
|
}
|
|
3807
|
-
}),
|
|
3803
|
+
}), Fa = /* @__PURE__ */ re(Ta, [["__scopeId", "data-v-82b1e383"]]), $a = se(Fa), Pa = /* @__PURE__ */ ae({
|
|
3808
3804
|
name: "HbLibFormTooltipSelect",
|
|
3809
3805
|
inheritAttrs: !1,
|
|
3810
3806
|
__name: "HbTooltipSelect",
|
|
@@ -3877,10 +3873,10 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3877
3873
|
_: 3
|
|
3878
3874
|
}, 16, ["value"]));
|
|
3879
3875
|
}
|
|
3880
|
-
}),
|
|
3876
|
+
}), Ba = /* @__PURE__ */ re(Pa, [["__scopeId", "data-v-13285691"]]), Da = se(Ba), Aa = { class: "ant-upload-drag-icon" }, Ma = { class: "ant-upload-text" }, Oa = { style: { color: "#ff5000" } }, Ua = { class: "ant-upload-hint" }, Ra = {
|
|
3881
3877
|
key: 0,
|
|
3882
3878
|
class: "hb_import_btn"
|
|
3883
|
-
},
|
|
3879
|
+
}, Ea = ["href"], Na = /* @__PURE__ */ ae({
|
|
3884
3880
|
name: "HbLibImportFile",
|
|
3885
3881
|
__name: "HbImportFile",
|
|
3886
3882
|
props: {
|
|
@@ -3960,14 +3956,14 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3960
3956
|
onRemove: r
|
|
3961
3957
|
}, {
|
|
3962
3958
|
default: h(() => [
|
|
3963
|
-
g("p",
|
|
3959
|
+
g("p", Aa, [
|
|
3964
3960
|
P(l(xo), { style: { "font-size": "37px" } })
|
|
3965
3961
|
]),
|
|
3966
|
-
g("p",
|
|
3962
|
+
g("p", Ma, [
|
|
3967
3963
|
V(k(l(t)("hbLibComp.HbImportFile.uploadText")), 1),
|
|
3968
|
-
g("span",
|
|
3964
|
+
g("span", Oa, k(l(t)("hbLibComp.HbImportFile.clickUp")), 1)
|
|
3969
3965
|
]),
|
|
3970
|
-
g("p",
|
|
3966
|
+
g("p", Ua, k(l(t)("hbLibComp.HbFileUploadModal.format")) + ": " + k(a.acceptFile), 1)
|
|
3971
3967
|
]),
|
|
3972
3968
|
_: 1
|
|
3973
3969
|
}, 8, ["max-count", "multiple", "accept", "file-list"])
|
|
@@ -3977,11 +3973,11 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
3977
3973
|
]),
|
|
3978
3974
|
_: 1
|
|
3979
3975
|
}, 8, ["model"]),
|
|
3980
|
-
a.templateUrl ? (c(), _("p",
|
|
3976
|
+
a.templateUrl ? (c(), _("p", Ra, [
|
|
3981
3977
|
g("a", {
|
|
3982
3978
|
download: "Import_number-template.xlsx",
|
|
3983
3979
|
href: a.templateUrl
|
|
3984
|
-
}, k(l(t)("hbLibComp.HbImportFile.downloadTemplate")), 9,
|
|
3980
|
+
}, k(l(t)("hbLibComp.HbImportFile.downloadTemplate")), 9, Ea)
|
|
3985
3981
|
])) : Y("", !0)
|
|
3986
3982
|
]),
|
|
3987
3983
|
_: 1
|
|
@@ -4000,7 +3996,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4000
3996
|
], 64);
|
|
4001
3997
|
};
|
|
4002
3998
|
}
|
|
4003
|
-
}),
|
|
3999
|
+
}), ja = /* @__PURE__ */ re(Na, [["__scopeId", "data-v-a11cda0f"]]), Wa = se(ja), za = { class: "hb_lib_log_modal_content" }, Va = { class: "log_remark" }, qa = /* @__PURE__ */ ae({
|
|
4004
4000
|
name: "HbLibLogModal",
|
|
4005
4001
|
__name: "HbLogModal",
|
|
4006
4002
|
props: {
|
|
@@ -4108,7 +4104,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4108
4104
|
})
|
|
4109
4105
|
]),
|
|
4110
4106
|
default: h(() => [
|
|
4111
|
-
g("div",
|
|
4107
|
+
g("div", za, [
|
|
4112
4108
|
P(B, {
|
|
4113
4109
|
bordered: "",
|
|
4114
4110
|
rowKey: "id",
|
|
@@ -4132,7 +4128,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4132
4128
|
}, 1024)) : Y("", !0)
|
|
4133
4129
|
], 64)) : Y("", !0),
|
|
4134
4130
|
I && I.needCopy ? (c(), _(ee, { key: 1 }, [
|
|
4135
|
-
g("div",
|
|
4131
|
+
g("div", Va, k(y[I.dataIndex]), 1),
|
|
4136
4132
|
P(C, {
|
|
4137
4133
|
"cp-text": y[I.dataIndex],
|
|
4138
4134
|
style: { position: "relative" }
|
|
@@ -4180,10 +4176,10 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4180
4176
|
], 64);
|
|
4181
4177
|
};
|
|
4182
4178
|
}
|
|
4183
|
-
}),
|
|
4179
|
+
}), Ya = /* @__PURE__ */ re(qa, [["__scopeId", "data-v-3ab75993"]]), Ka = se(Ya), Ga = { class: "hb_card" }, Ja = {
|
|
4184
4180
|
key: 0,
|
|
4185
4181
|
class: "hb_card_header"
|
|
4186
|
-
},
|
|
4182
|
+
}, Xa = { class: "hb_fix" }, Qa = { class: "hb_card_header-title" }, Za = { class: "hb_card_header-action" }, ei = { class: "hb_card_body" }, ti = /* @__PURE__ */ ae({
|
|
4187
4183
|
name: "HbLibCard",
|
|
4188
4184
|
__name: "HbLibCard",
|
|
4189
4185
|
props: {
|
|
@@ -4222,20 +4218,20 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4222
4218
|
g("div", {
|
|
4223
4219
|
class: Z(e.isModal ? "modal__module-card" : "__module-card")
|
|
4224
4220
|
}, [
|
|
4225
|
-
g("div",
|
|
4226
|
-
e.cardTitle ? (c(), _("div",
|
|
4227
|
-
g("div",
|
|
4228
|
-
g("span",
|
|
4221
|
+
g("div", Ga, [
|
|
4222
|
+
e.cardTitle ? (c(), _("div", Ja, [
|
|
4223
|
+
g("div", Xa, [
|
|
4224
|
+
g("span", Qa, [
|
|
4229
4225
|
Q(a.$slots, "cardTitle", {}, () => [
|
|
4230
4226
|
V(k(e.cardTitle), 1)
|
|
4231
4227
|
], !0)
|
|
4232
4228
|
]),
|
|
4233
|
-
g("div",
|
|
4229
|
+
g("div", Za, [
|
|
4234
4230
|
Q(a.$slots, "cardAct", {}, void 0, !0)
|
|
4235
4231
|
])
|
|
4236
4232
|
])
|
|
4237
4233
|
])) : Y("", !0),
|
|
4238
|
-
g("div",
|
|
4234
|
+
g("div", ei, [
|
|
4239
4235
|
g("section", {
|
|
4240
4236
|
class: Z({
|
|
4241
4237
|
hb_card_form: e.isForm && !e.isModal,
|
|
@@ -4253,10 +4249,10 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4253
4249
|
], 2)
|
|
4254
4250
|
], 16));
|
|
4255
4251
|
}
|
|
4256
|
-
}),
|
|
4252
|
+
}), oi = /* @__PURE__ */ re(ti, [["__scopeId", "data-v-220e891f"]]), ni = se(oi), li = ["onClick"], ai = { class: "step" }, ii = {
|
|
4257
4253
|
key: 0,
|
|
4258
4254
|
class: "line"
|
|
4259
|
-
},
|
|
4255
|
+
}, si = ["title"], ri = /* @__PURE__ */ ae({
|
|
4260
4256
|
name: "HbLibAnchor",
|
|
4261
4257
|
__name: "HbLibAnchor",
|
|
4262
4258
|
props: {
|
|
@@ -4299,27 +4295,27 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4299
4295
|
class: Z(["anchor-item", { isActive: t.value === f.target }]),
|
|
4300
4296
|
onClick: (p) => s(f)
|
|
4301
4297
|
}, [
|
|
4302
|
-
g("div",
|
|
4303
|
-
v !== a.value.length - 1 ? (c(), _("div",
|
|
4298
|
+
g("div", ai, [
|
|
4299
|
+
v !== a.value.length - 1 ? (c(), _("div", ii)) : Y("", !0),
|
|
4304
4300
|
d[0] || (d[0] = g("div", { class: "circle" }, null, -1))
|
|
4305
4301
|
]),
|
|
4306
4302
|
g("span", {
|
|
4307
4303
|
class: "title",
|
|
4308
4304
|
title: f.title
|
|
4309
|
-
}, k(f.title.length > 12 ? f.title.slice(0, 12) + "..." : f.title), 9,
|
|
4310
|
-
], 10,
|
|
4305
|
+
}, k(f.title.length > 12 ? f.title.slice(0, 12) + "..." : f.title), 9, si)
|
|
4306
|
+
], 10, li))), 128))
|
|
4311
4307
|
], 4));
|
|
4312
4308
|
}
|
|
4313
|
-
}),
|
|
4309
|
+
}), ci = /* @__PURE__ */ re(ri, [["__scopeId", "data-v-d51548d8"]]), di = se(ci), ui = { class: "hb_detail_top_act_left" }, fi = {
|
|
4314
4310
|
key: 1,
|
|
4315
4311
|
class: "hb_detail_top_wrapper_sticky"
|
|
4316
|
-
},
|
|
4312
|
+
}, bi = { class: "hb_detail_top_act" }, hi = {
|
|
4317
4313
|
key: 0,
|
|
4318
4314
|
class: "hb_detail_all_info"
|
|
4319
|
-
},
|
|
4315
|
+
}, pi = { class: "hb_detail_all_info_left" }, mi = { class: "hb_detail_info_title" }, vi = {
|
|
4320
4316
|
key: 0,
|
|
4321
4317
|
class: "hb_detail_info_content"
|
|
4322
|
-
},
|
|
4318
|
+
}, gi = { class: "create_by" }, yi = { class: "hb_detail_all_info_right" }, Li = { class: "hb_edit_detail_content_wrapper" }, _i = { class: "hb_detail_content" }, Ci = { class: "hb-back-top-inner" }, wi = /* @__PURE__ */ ae({
|
|
4323
4319
|
name: "HbLibDetailBox",
|
|
4324
4320
|
__name: "HbLibDetailBox",
|
|
4325
4321
|
props: {
|
|
@@ -4484,7 +4480,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4484
4480
|
}),
|
|
4485
4481
|
class: Z(["hb_detail_top_act_sticky", w.value ? "can_show" : ""])
|
|
4486
4482
|
}, [
|
|
4487
|
-
g("div",
|
|
4483
|
+
g("div", ui, [
|
|
4488
4484
|
P(ne, { style: { color: "#ff5000" } }),
|
|
4489
4485
|
g("a", {
|
|
4490
4486
|
href: "javascript:;",
|
|
@@ -4496,8 +4492,8 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4496
4492
|
]),
|
|
4497
4493
|
W[0] || (W[0] = g("div", { class: "hb_detail_top_act_right" }, null, -1))
|
|
4498
4494
|
], 6)) : Y("", !0),
|
|
4499
|
-
e.needTotalInfoBox ? (c(), _("div",
|
|
4500
|
-
g("div",
|
|
4495
|
+
e.needTotalInfoBox ? (c(), _("div", fi, [
|
|
4496
|
+
g("div", bi, [
|
|
4501
4497
|
P(ne),
|
|
4502
4498
|
g("a", {
|
|
4503
4499
|
href: "javascript:;",
|
|
@@ -4507,23 +4503,23 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4507
4503
|
P(le, { type: "vertical" }),
|
|
4508
4504
|
g("span", null, k(e.stickyTitle), 1)
|
|
4509
4505
|
]),
|
|
4510
|
-
e.needTotalInfoBox ? (c(), _("div",
|
|
4511
|
-
g("aside",
|
|
4506
|
+
e.needTotalInfoBox ? (c(), _("div", hi, [
|
|
4507
|
+
g("aside", pi, [
|
|
4512
4508
|
Q(H.$slots, "totalInfoLeft", {}, () => [
|
|
4513
|
-
g("div",
|
|
4514
|
-
e.totalInfo.totalInfoSubTitle1 ? (c(), _("div",
|
|
4515
|
-
g("span",
|
|
4509
|
+
g("div", mi, k(e.totalInfo.totalInfoTitle), 1),
|
|
4510
|
+
e.totalInfo.totalInfoSubTitle1 ? (c(), _("div", vi, [
|
|
4511
|
+
g("span", gi, k(e.totalInfo.totalInfoSubTitle1) + k(e.totalInfo.totalInfoSubVal1), 1),
|
|
4516
4512
|
g("span", null, k(e.totalInfo.totalInfoSubTitle2) + k(e.totalInfo.totalInfoSubVal2), 1)
|
|
4517
4513
|
])) : Y("", !0)
|
|
4518
4514
|
], !0)
|
|
4519
4515
|
]),
|
|
4520
|
-
g("aside",
|
|
4516
|
+
g("aside", yi, [
|
|
4521
4517
|
Q(H.$slots, "totalInfoRight", {}, void 0, !0)
|
|
4522
4518
|
])
|
|
4523
4519
|
])) : Y("", !0)
|
|
4524
4520
|
])) : Y("", !0),
|
|
4525
|
-
g("div",
|
|
4526
|
-
g("div",
|
|
4521
|
+
g("div", Li, [
|
|
4522
|
+
g("div", _i, [
|
|
4527
4523
|
Q(H.$slots, "detailContent", {}, void 0, !0)
|
|
4528
4524
|
])
|
|
4529
4525
|
]),
|
|
@@ -4532,7 +4528,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4532
4528
|
style: de({ bottom: R.value + "px" })
|
|
4533
4529
|
}, {
|
|
4534
4530
|
default: h(() => [
|
|
4535
|
-
g("div",
|
|
4531
|
+
g("div", Ci, [
|
|
4536
4532
|
P(l(Jt))
|
|
4537
4533
|
])
|
|
4538
4534
|
]),
|
|
@@ -4544,7 +4540,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4544
4540
|
}, 8, ["spinning"]);
|
|
4545
4541
|
};
|
|
4546
4542
|
}
|
|
4547
|
-
}),
|
|
4543
|
+
}), ki = /* @__PURE__ */ re(wi, [["__scopeId", "data-v-2f184a2c"]]), Si = se(ki), xi = /* @__PURE__ */ ae({
|
|
4548
4544
|
name: "HbLibFooterBar",
|
|
4549
4545
|
__name: "HbLibFooterBar",
|
|
4550
4546
|
props: {
|
|
@@ -4668,7 +4664,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4668
4664
|
], 4);
|
|
4669
4665
|
};
|
|
4670
4666
|
}
|
|
4671
|
-
}),
|
|
4667
|
+
}), Hi = /* @__PURE__ */ re(xi, [["__scopeId", "data-v-23f13fb5"]]), Ii = se(Hi), Ti = { class: "modal__detail-content" }, Fi = /* @__PURE__ */ ae({
|
|
4672
4668
|
name: "HbLibModal",
|
|
4673
4669
|
__name: "HbLibModal",
|
|
4674
4670
|
props: {
|
|
@@ -4803,7 +4799,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4803
4799
|
]),
|
|
4804
4800
|
style: de({ "--hb-detail-desc-label-width": e.descLabelWidth + "px", "--hb-detail-desc-value-width": e.descValueWidth + "px" })
|
|
4805
4801
|
}, [
|
|
4806
|
-
g("div",
|
|
4802
|
+
g("div", Ti, [
|
|
4807
4803
|
Q(y.$slots, "default", {}, void 0, !0)
|
|
4808
4804
|
])
|
|
4809
4805
|
], 6)
|
|
@@ -4823,13 +4819,13 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4823
4819
|
]), 1040, ["style", "bodyStyle", "visible", "wrap-style"]);
|
|
4824
4820
|
};
|
|
4825
4821
|
}
|
|
4826
|
-
}),
|
|
4822
|
+
}), $i = /* @__PURE__ */ re(Fi, [["__scopeId", "data-v-866a050a"]]), Pi = se($i), Bi = {
|
|
4827
4823
|
key: 0,
|
|
4828
4824
|
class: "hb_edit_header"
|
|
4829
|
-
},
|
|
4825
|
+
}, Di = { class: "__detail-content" }, Ai = {
|
|
4830
4826
|
key: 1,
|
|
4831
4827
|
class: "hb_edit_footer"
|
|
4832
|
-
},
|
|
4828
|
+
}, Mi = { class: "hb-back-top-inner" }, Oi = /* @__PURE__ */ ae({
|
|
4833
4829
|
name: "HbLibUnDetailBox",
|
|
4834
4830
|
__name: "HbLibUnDetailBox",
|
|
4835
4831
|
props: {
|
|
@@ -4860,17 +4856,17 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4860
4856
|
style: { "--hb-edit-form-label": e.formLabelWidth },
|
|
4861
4857
|
class: e.formLabelWidth ? "isNeedSetLabelWidth" : ""
|
|
4862
4858
|
}), [
|
|
4863
|
-
s.$slots.editHeader ? (c(), _("div",
|
|
4859
|
+
s.$slots.editHeader ? (c(), _("div", Bi, [
|
|
4864
4860
|
Q(s.$slots, "editHeader", {}, void 0, !0)
|
|
4865
4861
|
])) : Y("", !0),
|
|
4866
4862
|
g("div", {
|
|
4867
4863
|
class: Z(["hb_edit_detail_content_wrapper", o.value === "vertical" ? "form_vertical" : ""])
|
|
4868
4864
|
}, [
|
|
4869
|
-
g("div",
|
|
4865
|
+
g("div", Di, [
|
|
4870
4866
|
Q(s.$slots, "editContent", {}, void 0, !0)
|
|
4871
4867
|
])
|
|
4872
4868
|
], 2),
|
|
4873
|
-
s.$slots.editFooter ? (c(), _("div",
|
|
4869
|
+
s.$slots.editFooter ? (c(), _("div", Ai, [
|
|
4874
4870
|
Q(s.$slots, "editFooter", {}, void 0, !0)
|
|
4875
4871
|
])) : Y("", !0),
|
|
4876
4872
|
P(l(Gt), {
|
|
@@ -4878,7 +4874,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4878
4874
|
style: de({ bottom: i.value + "px" })
|
|
4879
4875
|
}, {
|
|
4880
4876
|
default: h(() => [
|
|
4881
|
-
g("div",
|
|
4877
|
+
g("div", Mi, [
|
|
4882
4878
|
P(l(Jt))
|
|
4883
4879
|
])
|
|
4884
4880
|
]),
|
|
@@ -4889,7 +4885,7 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4889
4885
|
_: 3
|
|
4890
4886
|
}, 8, ["spinning"]));
|
|
4891
4887
|
}
|
|
4892
|
-
}),
|
|
4888
|
+
}), Ui = /* @__PURE__ */ re(Oi, [["__scopeId", "data-v-41f1fc73"]]), Ri = se(Ui), Ei = { class: "hb_edit_header_left" }, Ni = { class: "hb_edit_header_title" }, ji = { class: "hb_edit_header_right" }, Wi = /* @__PURE__ */ ae({
|
|
4893
4889
|
name: "HbLibPageHeader",
|
|
4894
4890
|
__name: "HbLibPageHeader",
|
|
4895
4891
|
props: {
|
|
@@ -4959,52 +4955,52 @@ const va = { class: "hb-lib-table-setting-box" }, ga = {
|
|
|
4959
4955
|
class: "hb_edit_header",
|
|
4960
4956
|
style: de({ top: a.value + "px", "--pageHeaderOrFonterLeft": u.value + "px" })
|
|
4961
4957
|
}, [
|
|
4962
|
-
g("aside",
|
|
4958
|
+
g("aside", Ei, [
|
|
4963
4959
|
g("a", {
|
|
4964
4960
|
href: "#",
|
|
4965
4961
|
class: "backBtn",
|
|
4966
4962
|
onClick: v
|
|
4967
4963
|
}, k(l(o)("hbLibComp.HbLibDetailBox.back")), 1),
|
|
4968
4964
|
P(L, { type: "vertical" }),
|
|
4969
|
-
g("span",
|
|
4965
|
+
g("span", Ni, k(i.value), 1)
|
|
4970
4966
|
]),
|
|
4971
|
-
g("aside",
|
|
4967
|
+
g("aside", ji, [
|
|
4972
4968
|
Q(p.$slots, "right", {}, void 0, !0)
|
|
4973
4969
|
])
|
|
4974
4970
|
], 4);
|
|
4975
4971
|
};
|
|
4976
4972
|
}
|
|
4977
|
-
}),
|
|
4973
|
+
}), zi = /* @__PURE__ */ re(Wi, [["__scopeId", "data-v-83fcd208"]]), Vi = se(zi), qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4978
4974
|
__proto__: null,
|
|
4979
|
-
HbLibAnchor:
|
|
4980
|
-
HbLibCard:
|
|
4975
|
+
HbLibAnchor: di,
|
|
4976
|
+
HbLibCard: ni,
|
|
4981
4977
|
HbLibCopy: Qt,
|
|
4982
|
-
HbLibDetailBox:
|
|
4983
|
-
HbLibFilePreview:
|
|
4984
|
-
HbLibFooterBar:
|
|
4978
|
+
HbLibDetailBox: Si,
|
|
4979
|
+
HbLibFilePreview: cl,
|
|
4980
|
+
HbLibFooterBar: Ii,
|
|
4985
4981
|
HbLibFormItemFilterModal: Uo,
|
|
4986
|
-
HbLibFormTooltipSelect:
|
|
4987
|
-
HbLibFuncCompDrag:
|
|
4982
|
+
HbLibFormTooltipSelect: Da,
|
|
4983
|
+
HbLibFuncCompDrag: On,
|
|
4988
4984
|
HbLibIcon: Re,
|
|
4989
|
-
HbLibIconBox:
|
|
4985
|
+
HbLibIconBox: $l,
|
|
4990
4986
|
HbLibIconList: oo,
|
|
4991
|
-
HbLibImportFile:
|
|
4992
|
-
HbLibListBtnsAct:
|
|
4993
|
-
HbLibListForm:
|
|
4994
|
-
HbLibListMultiSelect:
|
|
4995
|
-
HbLibListPageAct:
|
|
4996
|
-
HbLibListPageContainer:
|
|
4997
|
-
HbLibListTable:
|
|
4998
|
-
HbLibLoading:
|
|
4999
|
-
HbLibLogModal:
|
|
5000
|
-
HbLibModal:
|
|
5001
|
-
HbLibMutilpleSelectModal:
|
|
5002
|
-
HbLibPageHeader:
|
|
5003
|
-
HbLibSort:
|
|
5004
|
-
HbLibTableAct:
|
|
4987
|
+
HbLibImportFile: Wa,
|
|
4988
|
+
HbLibListBtnsAct: an,
|
|
4989
|
+
HbLibListForm: Yo,
|
|
4990
|
+
HbLibListMultiSelect: Sn,
|
|
4991
|
+
HbLibListPageAct: Zo,
|
|
4992
|
+
HbLibListPageContainer: cn,
|
|
4993
|
+
HbLibListTable: $a,
|
|
4994
|
+
HbLibLoading: Jn,
|
|
4995
|
+
HbLibLogModal: Ka,
|
|
4996
|
+
HbLibModal: Pi,
|
|
4997
|
+
HbLibMutilpleSelectModal: Fn,
|
|
4998
|
+
HbLibPageHeader: Vi,
|
|
4999
|
+
HbLibSort: Nn,
|
|
5000
|
+
HbLibTableAct: Wl,
|
|
5005
5001
|
HbLibTableColumnSet: io,
|
|
5006
|
-
HbLibUnDetailBox:
|
|
5007
|
-
HbUiConfig:
|
|
5002
|
+
HbLibUnDetailBox: Ri,
|
|
5003
|
+
HbUiConfig: zn
|
|
5008
5004
|
}, Symbol.toStringTag, { value: "Module" })), Be = /* @__PURE__ */ new Map();
|
|
5009
5005
|
let Ut;
|
|
5010
5006
|
$o && (document.addEventListener("mousedown", (e) => Ut = e), document.addEventListener("mouseup", (e) => {
|
|
@@ -5019,7 +5015,7 @@ function Rt(e, o) {
|
|
|
5019
5015
|
u || d || f || v || p || $ || o.value(n, a);
|
|
5020
5016
|
};
|
|
5021
5017
|
}
|
|
5022
|
-
const
|
|
5018
|
+
const Yi = {
|
|
5023
5019
|
beforeMount(e, o) {
|
|
5024
5020
|
Be.has(e) || Be.set(e, []), Be.get(e).push({
|
|
5025
5021
|
documentHandler: Rt(e, o),
|
|
@@ -5037,7 +5033,7 @@ const Ki = {
|
|
|
5037
5033
|
unmounted(e) {
|
|
5038
5034
|
Be.delete(e);
|
|
5039
5035
|
}
|
|
5040
|
-
},
|
|
5036
|
+
}, Ki = {
|
|
5041
5037
|
mounted(e, o) {
|
|
5042
5038
|
const { value: t, arg: n } = o;
|
|
5043
5039
|
if (typeof t != "function") {
|
|
@@ -5061,7 +5057,7 @@ const Ki = {
|
|
|
5061
5057
|
cpText: o
|
|
5062
5058
|
});
|
|
5063
5059
|
t.mount(e._dynamicContainer), e._dynamicApp = t, e._dynamicPrevValue = o;
|
|
5064
|
-
},
|
|
5060
|
+
}, Gi = {
|
|
5065
5061
|
mounted(e, o) {
|
|
5066
5062
|
if (!e._dynamicContainer) {
|
|
5067
5063
|
const t = document.createElement("div");
|
|
@@ -5075,7 +5071,7 @@ const Ki = {
|
|
|
5075
5071
|
unmounted(e) {
|
|
5076
5072
|
e._dynamicApp && (e._dynamicApp.unmount(), delete e._dynamicApp), e._dynamicContainer && (e._dynamicContainer.remove(), delete e._dynamicContainer), delete e._dynamicPrevValue;
|
|
5077
5073
|
}
|
|
5078
|
-
},
|
|
5074
|
+
}, Ji = { cos: Yi, dc: Ki, icp: Gi }, Nt = (e) => e.downloadUrl, Xi = (e, o, t) => {
|
|
5079
5075
|
const n = (u) => u.previewUrl, a = t?.preferredIndex;
|
|
5080
5076
|
if (typeof a == "number" && a >= 0 && a < e.length) {
|
|
5081
5077
|
const u = e[a];
|
|
@@ -5129,7 +5125,7 @@ function jt(e) {
|
|
|
5129
5125
|
}, n.onerror = () => t(new Error("xhr")), n.send();
|
|
5130
5126
|
});
|
|
5131
5127
|
}
|
|
5132
|
-
async function
|
|
5128
|
+
async function Qi(e) {
|
|
5133
5129
|
const o = so(e), t = typeof document < "u" ? document.documentMode : void 0;
|
|
5134
5130
|
if (typeof t == "number" && t > 0)
|
|
5135
5131
|
return jt(o);
|
|
@@ -5143,7 +5139,7 @@ async function Zi(e) {
|
|
|
5143
5139
|
}
|
|
5144
5140
|
return jt(o);
|
|
5145
5141
|
}
|
|
5146
|
-
function
|
|
5142
|
+
function Zi(e, o) {
|
|
5147
5143
|
const t = o.trim() || "download", n = navigator;
|
|
5148
5144
|
if (typeof n.msSaveOrOpenBlob == "function") {
|
|
5149
5145
|
n.msSaveOrOpenBlob(e, t);
|
|
@@ -5157,7 +5153,7 @@ function es(e, o) {
|
|
|
5157
5153
|
URL.revokeObjectURL(a);
|
|
5158
5154
|
}
|
|
5159
5155
|
}
|
|
5160
|
-
function
|
|
5156
|
+
function es(e) {
|
|
5161
5157
|
const o = so(e), t = document.createElement("iframe");
|
|
5162
5158
|
t.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:0;height:0;border:0;", t.src = o, document.body.appendChild(t), window.setTimeout(() => {
|
|
5163
5159
|
try {
|
|
@@ -5169,14 +5165,14 @@ function ts(e) {
|
|
|
5169
5165
|
async function ct(e, o) {
|
|
5170
5166
|
const t = (o || "download").trim() || "download";
|
|
5171
5167
|
try {
|
|
5172
|
-
const n = await
|
|
5173
|
-
|
|
5168
|
+
const n = await Qi(e);
|
|
5169
|
+
Zi(n, t);
|
|
5174
5170
|
return;
|
|
5175
5171
|
} catch {
|
|
5176
|
-
|
|
5172
|
+
es(e);
|
|
5177
5173
|
}
|
|
5178
5174
|
}
|
|
5179
|
-
const
|
|
5175
|
+
const ts = 400;
|
|
5180
5176
|
function Wt(e) {
|
|
5181
5177
|
return e.previewUrl?.trim() || "";
|
|
5182
5178
|
}
|
|
@@ -5186,7 +5182,7 @@ function Ke(e) {
|
|
|
5186
5182
|
function Ge(e) {
|
|
5187
5183
|
return e.attachmentDesc?.trim() || e.fileName?.trim() || "download";
|
|
5188
5184
|
}
|
|
5189
|
-
function
|
|
5185
|
+
function _s(e) {
|
|
5190
5186
|
const { t: o } = ye(), t = M(!1), n = M(""), a = M(""), i = M(-1), s = M(-1), r = x(() => e.value.attachmentInfos ?? []), u = x(
|
|
5191
5187
|
() => r.value.reduce((y, b, O) => {
|
|
5192
5188
|
const m = Wt(b);
|
|
@@ -5250,7 +5246,7 @@ function Cs(e) {
|
|
|
5250
5246
|
De.warning(o("hbLibComp.HbFilePreview.noPreviewUrl"));
|
|
5251
5247
|
return;
|
|
5252
5248
|
}
|
|
5253
|
-
const m =
|
|
5249
|
+
const m = Xi(r.value, y, {
|
|
5254
5250
|
preferredIndex: b
|
|
5255
5251
|
});
|
|
5256
5252
|
if (m >= 0) {
|
|
@@ -5291,13 +5287,13 @@ function Cs(e) {
|
|
|
5291
5287
|
for (let b = 0; b < y.length; b++) {
|
|
5292
5288
|
const O = y[b];
|
|
5293
5289
|
await ct(Ke(O), Ge(O)), b < y.length - 1 && await new Promise(
|
|
5294
|
-
(m) => setTimeout(m,
|
|
5290
|
+
(m) => setTimeout(m, ts)
|
|
5295
5291
|
);
|
|
5296
5292
|
}
|
|
5297
5293
|
}
|
|
5298
5294
|
};
|
|
5299
5295
|
}
|
|
5300
|
-
const
|
|
5296
|
+
const Cs = (e) => {
|
|
5301
5297
|
const o = M();
|
|
5302
5298
|
o.value = e.slice();
|
|
5303
5299
|
const t = JSON.parse(JSON.stringify(o.value));
|
|
@@ -5311,7 +5307,7 @@ const ws = (e) => {
|
|
|
5311
5307
|
}), o.value = i;
|
|
5312
5308
|
}
|
|
5313
5309
|
};
|
|
5314
|
-
},
|
|
5310
|
+
}, ws = (e) => {
|
|
5315
5311
|
let o = !0;
|
|
5316
5312
|
return { start: () => {
|
|
5317
5313
|
Ie(() => {
|
|
@@ -5343,21 +5339,21 @@ const ws = (e) => {
|
|
|
5343
5339
|
}
|
|
5344
5340
|
});
|
|
5345
5341
|
} };
|
|
5346
|
-
},
|
|
5347
|
-
hbLibComp:
|
|
5348
|
-
},
|
|
5349
|
-
hbLibComp:
|
|
5350
|
-
},
|
|
5351
|
-
hbLibComp:
|
|
5352
|
-
},
|
|
5353
|
-
hbLibComp:
|
|
5342
|
+
}, os = { 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" }, HbFilePreview: { empty: "Select or provide a file to preview", unsupported: "Preview is not supported for this file type", prev: "Previous", next: "Next", download: "Download", close: "Close", modalTitle: "File Preview", fileNameFallback: "File {index}", noPreviewUrl: "No preview URL available", noDownloadUrl: "No download URL available", noDownloadableFiles: "No downloadable attachments available" }, HbFuncCompCopy: { copy: "copy", copyFail: "Copy failed", copySuccess: "Copied successfully" }, HbLibDetailBox: { back: "return" } }, ns = {
|
|
5343
|
+
hbLibComp: os
|
|
5344
|
+
}, ls = { 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: "ファイルのアップロード" }, HbFilePreview: { empty: "プレビューするファイルを選択または指定してください", unsupported: "このファイル形式のプレビューはサポートされていません", prev: "前へ", next: "次へ", download: "ダウンロード", close: "閉じる", modalTitle: "ファイルプレビュー", fileNameFallback: "ファイル {index}", noPreviewUrl: "プレビューURLがありません", noDownloadUrl: "ダウンロードURLがありません", noDownloadableFiles: "ダウンロード可能な添付ファイルがありません" }, HbFuncCompCopy: { copy: "コピー", copyFail: "コピーに失敗しました", copySuccess: "正常にコピーされました" }, HbLibDetailBox: { back: "戻る" } }, as = {
|
|
5345
|
+
hbLibComp: ls
|
|
5346
|
+
}, is = { 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: "文件上传" }, HbFilePreview: { empty: "请选择或传入要预览的文件", unsupported: "暂不支持该类型预览", prev: "上一个", next: "下一个", download: "下载", close: "关闭", modalTitle: "文件预览", fileNameFallback: "文件 {index}", noPreviewUrl: "暂无预览地址", noDownloadUrl: "暂无下载地址", noDownloadableFiles: "暂无可下载附件" }, HbFuncCompCopy: { copySuccess: "复制成功", copyFail: "复制失败", copy: "复制" }, HbLibDetailBox: { back: "返回" }, HbLibLoading: { loadingTips: "加载中...如长时间加载请重试!" } }, ss = {
|
|
5347
|
+
hbLibComp: is
|
|
5348
|
+
}, rs = { 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" }, HbFilePreview: { empty: "Bitte wählen Sie eine Datei zur Vorschau aus oder geben Sie sie an", unsupported: "Die Vorschau wird für diesen Dateityp nicht unterstützt", prev: "Zurück", next: "Weiter", download: "Herunterladen", close: "Schließen", modalTitle: "Dateivorschau", fileNameFallback: "Datei {index}", noPreviewUrl: "Keine Vorschau-URL verfügbar", noDownloadUrl: "Keine Download-URL verfügbar", noDownloadableFiles: "Keine herunterladbaren Anhänge verfügbar" }, HbFuncCompCopy: { copy: "Kopie", copyFail: "Der Kopiervorgang ist fehlgeschlagen", copySuccess: "Erfolgreich kopiert" }, HbLibDetailBox: { back: "zurückkehren" } }, cs = {
|
|
5349
|
+
hbLibComp: rs
|
|
5354
5350
|
};
|
|
5355
|
-
var Je = { exports: {} },
|
|
5356
|
-
function
|
|
5351
|
+
var Je = { exports: {} }, ds = Je.exports, zt;
|
|
5352
|
+
function us() {
|
|
5357
5353
|
return zt || (zt = 1, (function(e, o) {
|
|
5358
5354
|
(function(t, n) {
|
|
5359
5355
|
e.exports = n(lt);
|
|
5360
|
-
})(
|
|
5356
|
+
})(ds, (function(t) {
|
|
5361
5357
|
function n(s) {
|
|
5362
5358
|
return s && typeof s == "object" && "default" in s ? s : { default: s };
|
|
5363
5359
|
}
|
|
@@ -5371,63 +5367,63 @@ function fs() {
|
|
|
5371
5367
|
}));
|
|
5372
5368
|
})(Je)), Je.exports;
|
|
5373
5369
|
}
|
|
5374
|
-
|
|
5370
|
+
us();
|
|
5375
5371
|
lt.locale("zh-cn");
|
|
5376
|
-
const
|
|
5377
|
-
en_US:
|
|
5378
|
-
ja_JP:
|
|
5379
|
-
zh_CN:
|
|
5380
|
-
de_DE:
|
|
5381
|
-
},
|
|
5382
|
-
e.provide(ge, o || {}), Object.values(
|
|
5372
|
+
const ks = {
|
|
5373
|
+
en_US: ns,
|
|
5374
|
+
ja_JP: as,
|
|
5375
|
+
zh_CN: ss,
|
|
5376
|
+
de_DE: cs
|
|
5377
|
+
}, Ss = function(e, o) {
|
|
5378
|
+
e.provide(ge, o || {}), Object.values(qi).forEach((t) => {
|
|
5383
5379
|
t && typeof t.install == "function" && e.use(t);
|
|
5384
|
-
}), Object.entries(
|
|
5380
|
+
}), Object.entries(Ji).forEach(([t, n]) => {
|
|
5385
5381
|
e.directive(t, n);
|
|
5386
5382
|
});
|
|
5387
5383
|
};
|
|
5388
5384
|
export {
|
|
5389
5385
|
Zt as HB_ICON_DEFAULT_CSS_URL,
|
|
5390
|
-
|
|
5386
|
+
dl as HB_ICON_DEFAULT_SYMBOL_CSS_URL,
|
|
5391
5387
|
eo as HB_ICON_GLOBAL_KEY,
|
|
5392
|
-
|
|
5393
|
-
|
|
5388
|
+
di as HbLibAnchor,
|
|
5389
|
+
ni as HbLibCard,
|
|
5394
5390
|
Qt as HbLibCopy,
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5391
|
+
Si as HbLibDetailBox,
|
|
5392
|
+
cl as HbLibFilePreview,
|
|
5393
|
+
Ii as HbLibFooterBar,
|
|
5398
5394
|
Uo as HbLibFormItemFilterModal,
|
|
5399
|
-
|
|
5400
|
-
|
|
5395
|
+
Da as HbLibFormTooltipSelect,
|
|
5396
|
+
On as HbLibFuncCompDrag,
|
|
5401
5397
|
Re as HbLibIcon,
|
|
5402
|
-
|
|
5398
|
+
$l as HbLibIconBox,
|
|
5403
5399
|
oo as HbLibIconList,
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5400
|
+
Wa as HbLibImportFile,
|
|
5401
|
+
an as HbLibListBtnsAct,
|
|
5402
|
+
Yo as HbLibListForm,
|
|
5403
|
+
Sn as HbLibListMultiSelect,
|
|
5404
|
+
Zo as HbLibListPageAct,
|
|
5405
|
+
cn as HbLibListPageContainer,
|
|
5406
|
+
$a as HbLibListTable,
|
|
5407
|
+
Jn as HbLibLoading,
|
|
5408
|
+
Ka as HbLibLogModal,
|
|
5409
|
+
Pi as HbLibModal,
|
|
5410
|
+
Fn as HbLibMutilpleSelectModal,
|
|
5411
|
+
Vi as HbLibPageHeader,
|
|
5412
|
+
Nn as HbLibSort,
|
|
5413
|
+
Wl as HbLibTableAct,
|
|
5418
5414
|
io as HbLibTableColumnSet,
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5415
|
+
Ri as HbLibUnDetailBox,
|
|
5416
|
+
zn as HbUiConfig,
|
|
5417
|
+
ml as ensureRootSvgSpriteIdInIconfontJs,
|
|
5418
|
+
pl as getIconfontSpriteRootId,
|
|
5419
|
+
Ss as install,
|
|
5420
|
+
fl as isIconfontSymbolJsUrl,
|
|
5421
|
+
ks as locales,
|
|
5422
|
+
hl as prefixSymbolIdsInIconfontJs,
|
|
5423
|
+
sn as useCalTableHeight,
|
|
5424
|
+
zl as useCalTableWidth,
|
|
5425
|
+
_s as useFilePreview,
|
|
5430
5426
|
Lt as useIconfont,
|
|
5431
|
-
|
|
5432
|
-
|
|
5427
|
+
Cs as useListFormItem,
|
|
5428
|
+
ws as useModalDrag
|
|
5433
5429
|
};
|