@hb-hellotech/hb-ui 0.2.9 → 1.0.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.
@@ -1,8 +1,8 @@
1
1
  import './hb_component_lib.css';
2
- import { defineComponent as X, reactive as Je, ref as D, computed as W, watch as ce, createElementBlock as k, openBlock as o, normalizeClass as z, unref as n, createVNode as x, withCtx as h, createElementVNode as v, toDisplayString as L, createTextVNode as I, createBlock as B, createCommentVNode as P, Fragment as J, renderList as oe, inject as Fe, resolveComponent as j, Transition as tt, withDirectives as ie, mergeProps as te, createSlots as Ge, renderSlot as Z, vShow as lt, nextTick as be, onMounted as xe, onUnmounted as ot, useTemplateRef as at, provide as nt, normalizeStyle as he, mergeModels as Me, useModel as st, withModifiers as _e, resolveDirective as it, watchEffect as rt } from "vue";
2
+ import { defineComponent as X, reactive as Je, ref as O, computed as W, watch as ce, createElementBlock as k, openBlock as o, normalizeClass as z, unref as n, createVNode as x, withCtx as h, createElementVNode as v, toDisplayString as L, createTextVNode as I, createBlock as R, createCommentVNode as N, Fragment as J, renderList as oe, inject as Fe, resolveComponent as q, Transition as tt, withDirectives as ie, mergeProps as te, createSlots as Ge, renderSlot as Z, vShow as lt, nextTick as be, onMounted as xe, onUnmounted as ot, useTemplateRef as at, provide as nt, normalizeStyle as he, mergeModels as Me, useModel as st, withModifiers as _e, resolveDirective as it, watchEffect as rt } from "vue";
3
3
  import Qe from "vuedraggable";
4
4
  import { CloseOutlined as ct, QuestionCircleOutlined as dt, SearchOutlined as Te, UpCircleOutlined as ut, DownCircleOutlined as bt, UnorderedListOutlined as ht, DownOutlined as Ie } from "@ant-design/icons-vue";
5
- import { Modal as ke, Button as de, Tooltip as He, Switch as Ae, Radio as Oe, RadioGroup as De, InputNumber as Ne, DatePicker as Pe, Checkbox as fe, CheckboxGroup as Re, Select as Be, Input as ze, Col as pt, Row as ft, FormItem as Ee, Form as Ve, SelectOption as Ue, Popconfirm as Ce, MenuItem as Ke, Menu as Ye, Dropdown as je, Popover as mt, message as Se } from "ant-design-vue";
5
+ import { Modal as ke, Button as de, Tooltip as He, Switch as Ae, Radio as De, RadioGroup as Oe, InputNumber as Be, DatePicker as Ne, Checkbox as fe, CheckboxGroup as Pe, Select as Re, Input as ze, Col as pt, Row as ft, FormItem as Ee, Form as Ve, SelectOption as Ue, Popconfirm as Ce, MenuItem as Ke, Menu as Ye, Dropdown as qe, Popover as mt, message as Se } from "ant-design-vue";
6
6
  import { useRoute as Ze } from "vue-router";
7
7
  import { useI18n as re } from "vue-i18n";
8
8
  import Le from "lodash";
@@ -54,11 +54,11 @@ const yt = {
54
54
  setup(p, { expose: c, emit: d }) {
55
55
  const s = re().t, w = re().messages.value.en_US, m = re().messages.value.ja_JP, b = re().messages.value.zh_CN, u = p, t = d, a = me("sfcm"), _ = Ze(), A = Je({
56
56
  lan: window.localStorage.getItem("lan")
57
- }), M = D(!1), N = D(600);
57
+ }), M = O(!1), B = O(600);
58
58
  let S = [];
59
- const F = D([]), U = D([]), E = W(() => F.value.every((y) => y.isLinked || y.isFixed)), V = (y) => {
60
- const O = y.draggedContext.element, g = y.relatedContext.index;
61
- if (O.isLinked || O.isFixed)
59
+ const F = O([]), U = O([]), E = W(() => F.value.every((y) => y.isLinked || y.isFixed)), V = (y) => {
60
+ const D = y.draggedContext.element, g = y.relatedContext.index;
61
+ if (D.isLinked || D.isFixed)
62
62
  return !1;
63
63
  const Y = F.value.map((Q, ae) => ({ item: Q, index: ae })).filter(({ item: Q }) => Q.isLinked).map(({ index: Q }) => Q);
64
64
  if (Y.length === 0)
@@ -71,24 +71,24 @@ const yt = {
71
71
  return !0;
72
72
  }, $ = () => {
73
73
  const y = localStorage.getItem("pro__Login_Userinfo");
74
- let O = "anonymous";
74
+ let D = "anonymous";
75
75
  if (y)
76
76
  try {
77
- O = JSON.parse(y).value.jobNumber || "anonymous";
77
+ D = JSON.parse(y).value.jobNumber || "anonymous";
78
78
  } catch (Y) {
79
79
  console.warn("解析用户信息失败:", Y);
80
80
  }
81
81
  let g = _?.path;
82
- return `searchFormConfig_${O}_${g}`;
82
+ return `searchFormConfig_${D}_${g}`;
83
83
  }, f = (y) => ({
84
84
  ja_JP: () => Le.get(m, y.labelLanguage || ""),
85
85
  en_US: () => Le.get(w, y.labelLanguage || ""),
86
86
  zh_CN: () => Le.get(b, y.labelLanguage || "")
87
87
  })[A.lan]?.() || y.label, e = () => {
88
88
  try {
89
- const y = $(), O = localStorage.getItem(y);
90
- if (O) {
91
- const g = JSON.parse(O);
89
+ const y = $(), D = localStorage.getItem(y);
90
+ if (D) {
91
+ const g = JSON.parse(D);
92
92
  if (g.originalList && Array.isArray(g.originalList)) {
93
93
  S = JSON.parse(JSON.stringify(g.originalList));
94
94
  const Y = S.filter((T) => T?.isFixed), Q = S.filter((T) => T?.isLinked), ae = g.showList.filter((T) => !T.isFixed && !T.isLinked), ue = u.showNumber && u.showNumber > 0 ? Math.max(0, u.showNumber - Y.length - Q.length) : ae.length, ve = Y.map((T) => ({
@@ -142,14 +142,14 @@ const yt = {
142
142
  isLinked: g.isLinked,
143
143
  labelLanguage: g?.labelLanguage || void 0
144
144
  }))
145
- }, O = $();
146
- localStorage.setItem(O, JSON.stringify(y));
145
+ }, D = $();
146
+ localStorage.setItem(D, JSON.stringify(y));
147
147
  } catch (y) {
148
148
  console.warn("保存搜索配置失败:", y);
149
149
  }
150
150
  }, r = W(() => {
151
- const y = F.value.filter((g) => !g.isFixed && !g.isLinked).length, O = F.value.filter((g) => g.isFixed || g.isLinked).length;
152
- return y >= u.showNumber - O;
151
+ const y = F.value.filter((g) => !g.isFixed && !g.isLinked).length, D = F.value.filter((g) => g.isFixed || g.isLinked).length;
152
+ return y >= u.showNumber - D;
153
153
  });
154
154
  ce(
155
155
  () => u.list,
@@ -194,38 +194,38 @@ const yt = {
194
194
  { immediate: !0 }
195
195
  );
196
196
  const C = (y) => {
197
- const O = F.value.findIndex((g) => g.key === y.key);
198
- O !== -1 && (F.value.splice(O, 1), U.value.push({ ...y, active: !1 }));
197
+ const D = F.value.findIndex((g) => g.key === y.key);
198
+ D !== -1 && (F.value.splice(D, 1), U.value.push({ ...y, active: !1 }));
199
199
  }, i = (y) => {
200
200
  if (r.value)
201
201
  return;
202
- const O = U.value.findIndex((g) => g.key === y.key);
203
- if (O !== -1) {
204
- const [g] = U.value.splice(O, 1);
202
+ const D = U.value.findIndex((g) => g.key === y.key);
203
+ if (D !== -1) {
204
+ const [g] = U.value.splice(D, 1);
205
205
  F.value.push({ ...g, active: !1 });
206
206
  }
207
207
  }, K = () => {
208
208
  M.value = !1;
209
- }, R = () => {
209
+ }, P = () => {
210
210
  M.value = !0;
211
211
  }, ee = () => {
212
212
  l(), t("confirm", F.value), K();
213
213
  }, G = (y) => {
214
- const O = U.value.findIndex((g) => g.key === y.key);
215
- O !== -1 && (U.value[O].active = !0);
216
- }, q = (y) => {
217
- const O = U.value.findIndex((g) => g.key === y.key);
218
- O !== -1 && (U.value[O].active = !1);
214
+ const D = U.value.findIndex((g) => g.key === y.key);
215
+ D !== -1 && (U.value[D].active = !0);
216
+ }, j = (y) => {
217
+ const D = U.value.findIndex((g) => g.key === y.key);
218
+ D !== -1 && (U.value[D].active = !1);
219
219
  };
220
220
  return c({
221
- toOpenModal: R
222
- }), (y, O) => (o(), k("div", {
221
+ toOpenModal: P
222
+ }), (y, D) => (o(), k("div", {
223
223
  class: z(n(a).b())
224
224
  }, [
225
225
  x(n(ke), {
226
226
  visible: M.value,
227
- "onUpdate:visible": O[1] || (O[1] = (g) => M.value = g),
228
- width: N.value,
227
+ "onUpdate:visible": D[1] || (D[1] = (g) => M.value = g),
228
+ width: B.value,
229
229
  onCancel: K,
230
230
  onOk: ee
231
231
  }, {
@@ -268,7 +268,7 @@ const yt = {
268
268
  }, [
269
269
  x(n(Qe), {
270
270
  modelValue: F.value,
271
- "onUpdate:modelValue": O[0] || (O[0] = (g) => F.value = g),
271
+ "onUpdate:modelValue": D[0] || (D[0] = (g) => F.value = g),
272
272
  "item-key": "key",
273
273
  tag: "div",
274
274
  disabled: E.value,
@@ -279,11 +279,11 @@ const yt = {
279
279
  class: z([n(a).e("show__tag__item"), n(a).is("fixed", g.isFixed), n(a).is("linked", g.isLinked)])
280
280
  }, [
281
281
  I(L(g.label) + " ", 1),
282
- !g.isFixed && !g.isLinked && y.list.length > 1 ? (o(), B(n(ct), {
282
+ !g.isFixed && !g.isLinked && y.list.length > 1 ? (o(), R(n(ct), {
283
283
  key: 0,
284
284
  class: z(n(a).e("show__tag__item-close")),
285
285
  onClick: (Y) => C(g)
286
- }, null, 8, ["class", "onClick"])) : P("", !0)
286
+ }, null, 8, ["class", "onClick"])) : N("", !0)
287
287
  ], 2)
288
288
  ]),
289
289
  _: 1
@@ -307,14 +307,14 @@ const yt = {
307
307
  class: z([n(a).e("unshow__tag__item"), n(a).is("fixed", g.isFixed || ""), n(a).is("linked", g.isLinked || "")]),
308
308
  key: g.key,
309
309
  onMouseenter: (Y) => G(g),
310
- onMouseleave: (Y) => q(g)
310
+ onMouseleave: (Y) => j(g)
311
311
  }, [
312
312
  I(L(g.label) + " ", 1),
313
313
  g.active ? (o(), k("aside", {
314
314
  key: 0,
315
315
  class: z(n(a).e("unshow__tag__item-add")),
316
316
  onClick: (Y) => i(g)
317
- }, L(y.$t("hbLibComp.hbFormItemFilterModal.add")), 11, kt)) : P("", !0)
317
+ }, L(y.$t("hbLibComp.hbFormItemFilterModal.add")), 11, kt)) : N("", !0)
318
318
  ], 42, _t))), 128)) : (o(), k("div", {
319
319
  key: 1,
320
320
  class: z(n(a).e("unshow__tag__empty"))
@@ -386,11 +386,11 @@ const yt = {
386
386
  props: xt,
387
387
  emits: ["handleSearch", "handleReset", "handleSfcmConfirm", "handleOpenOrClose"],
388
388
  setup(p, { expose: c, emit: d }) {
389
- const s = d, w = Fe("HB_LIST_PAGE_CONTAINER"), m = me("form"), b = p, u = D("show"), t = W(() => (console.log(b.items), [...b.items])), a = D(), _ = () => {
389
+ const s = d, w = Fe("HB_LIST_PAGE_CONTAINER"), m = me("form"), b = p, u = O("show"), t = W(() => (console.log(b.items), [...b.items])), a = O(), _ = () => {
390
390
  s("handleSearch");
391
391
  }, A = () => {
392
392
  s("handleReset");
393
- }, M = D(), N = () => {
393
+ }, M = O(), B = () => {
394
394
  M.value && M.value.toOpenModal();
395
395
  }, S = (f) => {
396
396
  s("handleSfcmConfirm", f);
@@ -438,18 +438,18 @@ const yt = {
438
438
  Row: ft,
439
439
  Col: pt,
440
440
  Input: ze,
441
- Select: Be,
442
- CheckboxGroup: Re,
441
+ Select: Re,
442
+ CheckboxGroup: Pe,
443
443
  Checkbox: fe,
444
- DatePicker: Pe,
445
- InputNumber: Ne,
446
- RadioGroup: De,
447
- Radio: Oe,
444
+ DatePicker: Ne,
445
+ InputNumber: Be,
446
+ RadioGroup: Oe,
447
+ Radio: De,
448
448
  Switch: Ae,
449
449
  Button: de,
450
450
  Tooltip: He
451
451
  }), (f, e) => {
452
- const l = j("a-button"), r = j("a-tooltip"), C = j("HbLibFormItemFilterModal");
452
+ const l = q("a-button"), r = q("a-tooltip"), C = q("HbLibFormItemFilterModal");
453
453
  return o(), k(J, null, [
454
454
  x(tt, {
455
455
  name: "form-collapse",
@@ -469,7 +469,7 @@ const yt = {
469
469
  class: ["hb-lib-form--container", u.value == "show" ? "" : "hide"]
470
470
  }), {
471
471
  default: h(() => [
472
- (o(!0), k(J, null, oe(t.value, (i, K) => (o(), B(n(Ee), te({
472
+ (o(!0), k(J, null, oe(t.value, (i, K) => (o(), R(n(Ee), te({
473
473
  key: K,
474
474
  ref_for: !0
475
475
  }, i, {
@@ -481,86 +481,86 @@ const yt = {
481
481
  key: 0,
482
482
  formData: f.formData,
483
483
  item: i
484
- }, void 0, !0) : P("", !0),
484
+ }, void 0, !0) : N("", !0),
485
485
  i.type === "mixin" ? Z(f.$slots, i.key, {
486
486
  key: 1,
487
487
  formData: f.formData,
488
488
  item: i
489
- }, void 0, !0) : P("", !0),
490
- i.type === "input" ? (o(), B(n(ze), te({
489
+ }, void 0, !0) : N("", !0),
490
+ i.type === "input" ? (o(), R(n(ze), te({
491
491
  key: 2,
492
492
  value: f.formData[i.key],
493
- "onUpdate:value": (R) => f.formData[i.key] = R
494
- }, { ref_for: !0 }, i.attrs), null, 16, ["value", "onUpdate:value"])) : P("", !0),
495
- i.type === "select" ? (o(), B(n(Be), te({
493
+ "onUpdate:value": (P) => f.formData[i.key] = P
494
+ }, { ref_for: !0 }, i.attrs), null, 16, ["value", "onUpdate:value"])) : N("", !0),
495
+ i.type === "select" ? (o(), R(n(Re), te({
496
496
  key: 3,
497
497
  value: f.formData[i.key],
498
- "onUpdate:value": (R) => f.formData[i.key] = R
498
+ "onUpdate:value": (P) => f.formData[i.key] = P
499
499
  }, { ref_for: !0 }, i.attrs), {
500
500
  default: h(() => [
501
- (o(!0), k(J, null, oe(i.options, (R, ee) => (o(), B(n(Ue), {
501
+ (o(!0), k(J, null, oe(i.options, (P, ee) => (o(), R(n(Ue), {
502
502
  key: ee,
503
- value: R.value
503
+ value: P.value
504
504
  }, {
505
505
  default: h(() => [
506
- I(L(R.label), 1)
506
+ I(L(P.label), 1)
507
507
  ]),
508
508
  _: 2
509
509
  }, 1032, ["value"]))), 128))
510
510
  ]),
511
511
  _: 2
512
- }, 1040, ["value", "onUpdate:value"])) : P("", !0),
513
- i.type === "checkbox" ? (o(), B(n(Re), te({
512
+ }, 1040, ["value", "onUpdate:value"])) : N("", !0),
513
+ i.type === "checkbox" ? (o(), R(n(Pe), te({
514
514
  key: 4,
515
515
  value: f.formData[i.key],
516
- "onUpdate:value": (R) => f.formData[i.key] = R
516
+ "onUpdate:value": (P) => f.formData[i.key] = P
517
517
  }, { ref_for: !0 }, i.attrs), {
518
518
  default: h(() => [
519
- (o(!0), k(J, null, oe(i.options, (R, ee) => (o(), B(n(fe), {
519
+ (o(!0), k(J, null, oe(i.options, (P, ee) => (o(), R(n(fe), {
520
520
  key: ee,
521
- value: R.value
521
+ value: P.value
522
522
  }, {
523
523
  default: h(() => [
524
- I(L(R.label), 1)
524
+ I(L(P.label), 1)
525
525
  ]),
526
526
  _: 2
527
527
  }, 1032, ["value"]))), 128))
528
528
  ]),
529
529
  _: 2
530
- }, 1040, ["value", "onUpdate:value"])) : P("", !0),
531
- i.type === "date-picker" ? (o(), B(n(Pe), te({
530
+ }, 1040, ["value", "onUpdate:value"])) : N("", !0),
531
+ i.type === "date-picker" ? (o(), R(n(Ne), te({
532
532
  key: 5,
533
533
  value: f.formData[i.key],
534
- "onUpdate:value": (R) => f.formData[i.key] = R
535
- }, { ref_for: !0 }, i.attrs), null, 16, ["value", "onUpdate:value"])) : P("", !0),
536
- i.type === "input-number" ? (o(), B(n(Ne), te({
534
+ "onUpdate:value": (P) => f.formData[i.key] = P
535
+ }, { ref_for: !0 }, i.attrs), null, 16, ["value", "onUpdate:value"])) : N("", !0),
536
+ i.type === "input-number" ? (o(), R(n(Be), te({
537
537
  key: 6,
538
538
  value: f.formData[i.key],
539
- "onUpdate:value": (R) => f.formData[i.key] = R
540
- }, { ref_for: !0 }, i.attrs), null, 16, ["value", "onUpdate:value"])) : P("", !0),
541
- i.type === "radio" ? (o(), B(n(De), te({
539
+ "onUpdate:value": (P) => f.formData[i.key] = P
540
+ }, { ref_for: !0 }, i.attrs), null, 16, ["value", "onUpdate:value"])) : N("", !0),
541
+ i.type === "radio" ? (o(), R(n(Oe), te({
542
542
  key: 7,
543
543
  value: f.formData[i.key],
544
- "onUpdate:value": (R) => f.formData[i.key] = R
544
+ "onUpdate:value": (P) => f.formData[i.key] = P
545
545
  }, { ref_for: !0 }, i.attrs), {
546
546
  default: h(() => [
547
- (o(!0), k(J, null, oe(i.options, (R, ee) => (o(), B(n(Oe), {
547
+ (o(!0), k(J, null, oe(i.options, (P, ee) => (o(), R(n(De), {
548
548
  key: ee,
549
- value: R.value
549
+ value: P.value
550
550
  }, {
551
551
  default: h(() => [
552
- I(L(R.label), 1)
552
+ I(L(P.label), 1)
553
553
  ]),
554
554
  _: 2
555
555
  }, 1032, ["value"]))), 128))
556
556
  ]),
557
557
  _: 2
558
- }, 1040, ["value", "onUpdate:value"])) : P("", !0),
559
- i.type === "switch" ? (o(), B(n(Ae), te({
558
+ }, 1040, ["value", "onUpdate:value"])) : N("", !0),
559
+ i.type === "switch" ? (o(), R(n(Ae), te({
560
560
  key: 8,
561
561
  checked: f.formData[i.key],
562
- "onUpdate:checked": (R) => f.formData[i.key] = R
563
- }, { ref_for: !0 }, i.attrs), null, 16, ["checked", "onUpdate:checked"])) : P("", !0)
562
+ "onUpdate:checked": (P) => f.formData[i.key] = P
563
+ }, { ref_for: !0 }, i.attrs), null, 16, ["checked", "onUpdate:checked"])) : N("", !0)
564
564
  ]),
565
565
  _: 2
566
566
  }, [
@@ -603,14 +603,14 @@ const yt = {
603
603
  ]),
604
604
  _: 1
605
605
  }),
606
- f.needFilter ? (o(), B(r, {
606
+ f.needFilter ? (o(), R(r, {
607
607
  key: 0,
608
608
  title: f.$t("hbLibComp.hbListPageAct.selfDefine")
609
609
  }, {
610
610
  default: h(() => [
611
611
  v("span", {
612
612
  class: "hb-lib-form-svg",
613
- onClick: N
613
+ onClick: B
614
614
  }, [...e[0] || (e[0] = [
615
615
  v("svg", {
616
616
  t: "1757915025410",
@@ -631,7 +631,7 @@ const yt = {
631
631
  ])])
632
632
  ]),
633
633
  _: 1
634
- }, 8, ["title"])) : P("", !0),
634
+ }, 8, ["title"])) : N("", !0),
635
635
  Z(f.$slots, "formBtns", {}, void 0, !0)
636
636
  ])
637
637
  ]),
@@ -671,7 +671,7 @@ const yt = {
671
671
  ]),
672
672
  _: 1
673
673
  })
674
- ], !0) : P("", !0),
674
+ ], !0) : N("", !0),
675
675
  x(n(de), {
676
676
  type: "primary",
677
677
  onClick: F
@@ -682,7 +682,7 @@ const yt = {
682
682
  _: 1
683
683
  })
684
684
  ], 2)
685
- ], 2)) : P("", !0)
685
+ ], 2)) : N("", !0)
686
686
  ], 2), [
687
687
  [lt, f.isFormExpanded]
688
688
  ])
@@ -718,7 +718,7 @@ const yt = {
718
718
  type: Boolean,
719
719
  default: !0
720
720
  }
721
- }, At = { class: "hb-lib-list-page-act-box" }, Ot = { class: "hb-lib-list-page-breadcrumb" }, Dt = { class: "hb-lib-list-page-act" }, Nt = {
721
+ }, At = { class: "hb-lib-list-page-act-box" }, Dt = { class: "hb-lib-list-page-breadcrumb" }, Ot = { class: "hb-lib-list-page-act" }, Bt = {
722
722
  key: 0,
723
723
  t: "1757915338760",
724
724
  class: "icon",
@@ -728,7 +728,7 @@ const yt = {
728
728
  "p-id": "22885",
729
729
  width: "200",
730
730
  height: "200"
731
- }, Pt = {
731
+ }, Nt = {
732
732
  key: 1,
733
733
  t: "1757915360496",
734
734
  class: "icon",
@@ -738,13 +738,13 @@ const yt = {
738
738
  "p-id": "23904",
739
739
  width: "200",
740
740
  height: "200"
741
- }, Rt = /* @__PURE__ */ X({
741
+ }, Pt = /* @__PURE__ */ X({
742
742
  name: "HbLibListPageAct",
743
743
  __name: "HbListPageAct",
744
744
  props: Ht,
745
745
  emits: ["handleSearch", "handleReset", "handleSfcmConfirm", "handleOpenOrClose"],
746
746
  setup(p, { emit: c }) {
747
- const d = Fe("HB_LIST_PAGE_CONTAINER"), { isFullscreen: s, toggle: w } = vt(d.PageContainerRef), m = D(""), b = () => {
747
+ const d = Fe("HB_LIST_PAGE_CONTAINER"), { isFullscreen: s, toggle: w } = vt(d.PageContainerRef), m = O(""), b = () => {
748
748
  const u = Ze();
749
749
  let t = localStorage.getItem("BreadCrumb") || "[]", a = u?.path;
750
750
  if (t !== "[]") {
@@ -755,10 +755,10 @@ const yt = {
755
755
  return xe(() => {
756
756
  b();
757
757
  }), (u, t) => {
758
- const a = j("a-tooltip");
758
+ const a = q("a-tooltip");
759
759
  return o(), k("section", At, [
760
- v("aside", Ot, L(m.value), 1),
761
- v("aside", Dt, [
760
+ v("aside", Dt, L(m.value), 1),
761
+ v("aside", Ot, [
762
762
  x(a, {
763
763
  title: n(s) ? `${u.$t("hbLibComp.hbListPageAct.exitFullScreen")}` : `${u.$t("hbLibComp.hbListPageAct.fullScreen")}`,
764
764
  placement: "leftTop"
@@ -769,7 +769,7 @@ const yt = {
769
769
  onClick: t[0] || (t[0] = //@ts-ignore
770
770
  (..._) => n(w) && n(w)(..._))
771
771
  }, [
772
- n(s) ? (o(), k("svg", Pt, [...t[2] || (t[2] = [
772
+ n(s) ? (o(), k("svg", Nt, [...t[2] || (t[2] = [
773
773
  v("path", {
774
774
  d: "M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",
775
775
  fill: "#ff5000",
@@ -785,7 +785,7 @@ const yt = {
785
785
  fill: "#ff5000",
786
786
  "p-id": "23907"
787
787
  }, null, -1)
788
- ])])) : (o(), k("svg", Nt, [...t[1] || (t[1] = [
788
+ ])])) : (o(), k("svg", Bt, [...t[1] || (t[1] = [
789
789
  v("path", {
790
790
  d: "M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",
791
791
  fill: "#ff5000",
@@ -801,7 +801,7 @@ const yt = {
801
801
  ]);
802
802
  };
803
803
  }
804
- }), Bt = /* @__PURE__ */ ne(Rt, [["__scopeId", "data-v-a112161b"]]), zt = le(Bt), Et = {
804
+ }), Rt = /* @__PURE__ */ ne(Pt, [["__scopeId", "data-v-a112161b"]]), zt = le(Rt), Et = {
805
805
  formItems: {
806
806
  type: Array,
807
807
  default: () => []
@@ -825,20 +825,20 @@ const yt = {
825
825
  props: Et,
826
826
  emits: ["handleOpenOrClose", "handleReload"],
827
827
  setup(p, { emit: c }) {
828
- const d = c, s = D(!0), w = () => {
828
+ const d = c, s = O(!0), w = () => {
829
829
  s.value = !s.value, d("handleOpenOrClose", s.value);
830
830
  }, m = () => {
831
831
  d("handleReload");
832
832
  };
833
833
  return xe(() => {
834
834
  }), (b, u) => {
835
- const t = j("a-tooltip");
835
+ const t = q("a-tooltip");
836
836
  return o(), k("section", Vt, [
837
837
  v("aside", Ut, [
838
838
  Z(b.$slots, "btnsLeft", {}, void 0, !0)
839
839
  ]),
840
840
  v("aside", Kt, [
841
- b.needReload ? (o(), B(t, {
841
+ b.needReload ? (o(), R(t, {
842
842
  key: 0,
843
843
  title: b.$t("hbLibComp.hbListBtnsAct.reload")
844
844
  }, {
@@ -866,8 +866,8 @@ const yt = {
866
866
  ])])
867
867
  ]),
868
868
  _: 1
869
- }, 8, ["title"])) : P("", !0),
870
- b.needOpenOrClose ? (o(), B(t, {
869
+ }, 8, ["title"])) : N("", !0),
870
+ b.needOpenOrClose ? (o(), R(t, {
871
871
  key: 1,
872
872
  title: s.value ? `${b.$t("hbLibComp.hbListBtnsAct.close")}` : `${b.$t("hbLibComp.hbListBtnsAct.open")}`
873
873
  }, {
@@ -876,23 +876,23 @@ const yt = {
876
876
  class: "hb-lib-list-btns-act-open hb-lib-list-btns-item",
877
877
  onClick: w
878
878
  }, [
879
- s.value ? (o(), B(n(ut), {
879
+ s.value ? (o(), R(n(ut), {
880
880
  key: 0,
881
881
  style: { "font-size": "21px", color: "#ff5000" }
882
- })) : (o(), B(n(bt), {
882
+ })) : (o(), R(n(bt), {
883
883
  key: 1,
884
884
  style: { "font-size": "21px", color: "#ff5000" }
885
885
  }))
886
886
  ])
887
887
  ]),
888
888
  _: 1
889
- }, 8, ["title"])) : P("", !0),
889
+ }, 8, ["title"])) : N("", !0),
890
890
  Z(b.$slots, "btnsRight", {}, void 0, !0)
891
891
  ])
892
892
  ]);
893
893
  };
894
894
  }
895
- }), jt = /* @__PURE__ */ ne(Yt, [["__scopeId", "data-v-0f819b31"]]), qt = le(jt), Wt = {
895
+ }), qt = /* @__PURE__ */ ne(Yt, [["__scopeId", "data-v-0f819b31"]]), jt = le(qt), Wt = {
896
896
  tableHeight: {
897
897
  type: Number,
898
898
  default: 400
@@ -908,7 +908,7 @@ const yt = {
908
908
  type: Number
909
909
  }
910
910
  }, Jt = (p = {}) => {
911
- const { formRef: c, offsetBottom: d = 50, minHeight: s = 300 } = p, w = D(0);
911
+ const { formRef: c, offsetBottom: d = 50, minHeight: s = 300 } = p, w = O(0);
912
912
  let m = null, b = null, u = null, t = null, a = null;
913
913
  const _ = () => {
914
914
  a && clearTimeout(a), a = setTimeout(() => {
@@ -944,7 +944,7 @@ const yt = {
944
944
  $.style.display = "none";
945
945
  }), _();
946
946
  }), m.observe(E));
947
- }, N = () => {
947
+ }, B = () => {
948
948
  const E = document.querySelector(".hb-lib-list-page-form-box");
949
949
  E && (u = new MutationObserver(() => {
950
950
  setTimeout(() => {
@@ -962,7 +962,7 @@ const yt = {
962
962
  }, 100);
963
963
  }, F = () => {
964
964
  window.addEventListener("resize", S), be(() => {
965
- M(), N(), b = A();
965
+ M(), B(), b = A();
966
966
  });
967
967
  }, U = () => {
968
968
  window.removeEventListener("resize", S), m && m.disconnect(), u && u.disconnect(), b && b.disconnect(), t && clearTimeout(t), a && clearTimeout(a);
@@ -1050,7 +1050,7 @@ const yt = {
1050
1050
  }),
1051
1051
  emits: /* @__PURE__ */ Me(["update:value", "update:searchValue", "change", "confirm", "cancel", "search"], ["update:value"]),
1052
1052
  setup(p, { emit: c }) {
1053
- const d = p, s = c, w = st(p, "value"), m = D(!1), b = D(""), u = D([]), t = D(), a = W(() => {
1053
+ const d = p, s = c, w = st(p, "value"), m = O(!1), b = O(""), u = O([]), t = O(), a = W(() => {
1054
1054
  if (d.remoteSearch || !b.value) return d.options;
1055
1055
  const e = b.value.toLowerCase();
1056
1056
  return d.options.filter((l) => l.label.toLowerCase().includes(e) || l.description?.toLowerCase().includes(e));
@@ -1072,16 +1072,16 @@ const yt = {
1072
1072
  },
1073
1073
  { immediate: !0 }
1074
1074
  );
1075
- const N = (e) => {
1075
+ const B = (e) => {
1076
1076
  e && (m.value = e, S.value = [...u.value], b.value = "", setTimeout(() => {
1077
1077
  if (t.value) {
1078
1078
  const l = t.value.input || t.value.$el?.querySelector("input");
1079
1079
  l && l.focus();
1080
1080
  }
1081
1081
  }, 100));
1082
- }, S = D([]), F = () => {
1082
+ }, S = O([]), F = () => {
1083
1083
  u.value = [...S.value], m.value = !1, s("cancel");
1084
- }, U = D([]), E = () => {
1084
+ }, U = O([]), E = () => {
1085
1085
  const e = d.multiple ? u.value : u.value[0] || "", l = d.options.filter((r) => u.value.includes(r.value));
1086
1086
  U.value = l, console.log(e, l), S.value = [...u.value], w.value = e, s("update:value", e), s("change", e, l), s("confirm", e, l), m.value = !1;
1087
1087
  }, V = gt((e) => {
@@ -1105,7 +1105,7 @@ const yt = {
1105
1105
  }
1106
1106
  };
1107
1107
  return (e, l) => {
1108
- const r = j("a-tag"), C = j("a-input"), i = j("a-checkbox"), K = j("a-radio"), R = j("a-button"), ee = j("a-select");
1108
+ const r = q("a-tag"), C = q("a-input"), i = q("a-checkbox"), K = q("a-radio"), P = q("a-button"), ee = q("a-select");
1109
1109
  return o(), k("div", te({
1110
1110
  class: "hb-lib-selector-wrapper",
1111
1111
  style: { "--prefix-width": _.value }
@@ -1121,21 +1121,21 @@ const yt = {
1121
1121
  allowClear: "",
1122
1122
  maxTagCount: p.maxTagCount,
1123
1123
  options: a.value,
1124
- onDropdownVisibleChange: N,
1124
+ onDropdownVisibleChange: B,
1125
1125
  onSearch: n(V),
1126
1126
  "max-tag-text-length": p.tagTextLength,
1127
1127
  class: z({ "has-prefix": p.prefix }),
1128
1128
  "data-prefix": p.prefix,
1129
1129
  style: { width: "100%" }
1130
1130
  }, {
1131
- tagRender: h(({ value: G, label: q, closable: y, option: O }) => [
1131
+ tagRender: h(({ value: G, label: j, closable: y, option: D }) => [
1132
1132
  x(r, {
1133
1133
  class: "hb-lib-search-tag",
1134
- onClick: l[0] || (l[0] = () => N(!0))
1134
+ onClick: l[0] || (l[0] = () => B(!0))
1135
1135
  }, {
1136
1136
  default: h(() => [
1137
- v("span", Zt, L(q), 1),
1138
- O?.description ? (o(), k("span", Xt, " (" + L(O.description) + ") ", 1)) : P("", !0)
1137
+ v("span", Zt, L(j), 1),
1138
+ D?.description ? (o(), k("span", Xt, " (" + L(D.description) + ") ", 1)) : N("", !0)
1139
1139
  ]),
1140
1140
  _: 2
1141
1141
  }, 1024)
@@ -1148,10 +1148,10 @@ const yt = {
1148
1148
  ref: t,
1149
1149
  class: "hb-lib-selector-search-input",
1150
1150
  value: b.value,
1151
- "onUpdate:value": l[1] || (l[1] = (q) => b.value = q),
1151
+ "onUpdate:value": l[1] || (l[1] = (j) => b.value = j),
1152
1152
  placeholder: "请输入关键词搜索",
1153
1153
  "allow-clear": "",
1154
- onInput: l[2] || (l[2] = (q) => n(V)(q.target.value))
1154
+ onInput: l[2] || (l[2] = (j) => n(V)(j.target.value))
1155
1155
  }, {
1156
1156
  prefix: h(() => [
1157
1157
  x(n(Te))
@@ -1160,30 +1160,30 @@ const yt = {
1160
1160
  }, 8, ["value"])
1161
1161
  ]),
1162
1162
  v("div", ll, [
1163
- (o(!0), k(J, null, oe(a.value, (q) => (o(), k("div", {
1164
- key: q.value,
1165
- class: z(["hb-lib-selector-option", { selected: u.value.includes(q.value) }]),
1166
- onClick: () => $(q)
1163
+ (o(!0), k(J, null, oe(a.value, (j) => (o(), k("div", {
1164
+ key: j.value,
1165
+ class: z(["hb-lib-selector-option", { selected: u.value.includes(j.value) }]),
1166
+ onClick: () => $(j)
1167
1167
  }, [
1168
- p.multiple ? (o(), B(i, {
1168
+ p.multiple ? (o(), R(i, {
1169
1169
  key: 0,
1170
- checked: u.value.includes(q.value),
1171
- onChange: () => $(q),
1170
+ checked: u.value.includes(j.value),
1171
+ onChange: () => $(j),
1172
1172
  onClick: l[3] || (l[3] = _e(() => {
1173
1173
  }, ["stop"]))
1174
- }, null, 8, ["checked", "onChange"])) : (o(), B(K, {
1174
+ }, null, 8, ["checked", "onChange"])) : (o(), R(K, {
1175
1175
  key: 1,
1176
- checked: u.value.includes(q.value),
1177
- onChange: () => $(q),
1176
+ checked: u.value.includes(j.value),
1177
+ onChange: () => $(j),
1178
1178
  onClick: l[4] || (l[4] = _e(() => {
1179
1179
  }, ["stop"]))
1180
1180
  }, null, 8, ["checked", "onChange"])),
1181
1181
  v("div", al, [
1182
- v("div", nl, L(q.label), 1)
1182
+ v("div", nl, L(j.label), 1)
1183
1183
  ])
1184
1184
  ], 10, ol))), 128))
1185
1185
  ]),
1186
- a.value.length === 0 ? (o(), k("div", sl, L(e.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : P("", !0),
1186
+ a.value.length === 0 ? (o(), k("div", sl, L(e.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : N("", !0),
1187
1187
  p.multiple ? (o(), k("div", il, [
1188
1188
  x(i, {
1189
1189
  checked: A.value,
@@ -1196,7 +1196,7 @@ const yt = {
1196
1196
  _: 1
1197
1197
  }, 8, ["checked", "indeterminate"]),
1198
1198
  v("div", rl, [
1199
- x(R, {
1199
+ x(P, {
1200
1200
  size: "small",
1201
1201
  onClick: F
1202
1202
  }, {
@@ -1205,7 +1205,7 @@ const yt = {
1205
1205
  ]),
1206
1206
  _: 1
1207
1207
  }),
1208
- x(R, {
1208
+ x(P, {
1209
1209
  type: "primary",
1210
1210
  size: "small",
1211
1211
  onClick: E
@@ -1219,7 +1219,7 @@ const yt = {
1219
1219
  ])) : (o(), k("div", cl, [
1220
1220
  l[6] || (l[6] = v("div", null, null, -1)),
1221
1221
  v("div", dl, [
1222
- x(R, {
1222
+ x(P, {
1223
1223
  size: "small",
1224
1224
  onClick: F
1225
1225
  }, {
@@ -1277,10 +1277,10 @@ const bl = {
1277
1277
  props: bl,
1278
1278
  emits: ["handleConfirm", "handleCancel"],
1279
1279
  setup(p, { expose: c, emit: d }) {
1280
- const s = p, w = d, m = D(!1), b = D(""), u = D(), t = D(), a = D([]), _ = D([]), A = D(), M = Je({
1280
+ const s = p, w = d, m = O(!1), b = O(""), u = O(), t = O(), a = O([]), _ = O([]), A = O(), M = Je({
1281
1281
  searchText: "",
1282
1282
  searchedColumn: ""
1283
- }), N = W(() => s.tableData.map((r) => (r.id = r.id || Math.random(), r))), S = W(() => s.tableColumn.map((r) => (r.customFilterDropdown && (r.onFilter = (C, i) => i[r.dataIndex].toString().toLowerCase().includes(C.toLowerCase()), r.onFilterDropdownVisibleChange = (C) => {
1283
+ }), B = W(() => s.tableData.map((r) => (r.id = r.id || Math.random(), r))), S = W(() => s.tableColumn.map((r) => (r.customFilterDropdown && (r.onFilter = (C, i) => i[r.dataIndex].toString().toLowerCase().includes(C.toLowerCase()), r.onFilterDropdownVisibleChange = (C) => {
1284
1284
  C && setTimeout(() => {
1285
1285
  u.value?.focus();
1286
1286
  }, 100);
@@ -1310,7 +1310,7 @@ const bl = {
1310
1310
  return c({
1311
1311
  resetInputVal: $
1312
1312
  }), (r, C) => {
1313
- const i = j("a-input"), K = j("a-button"), R = j("a-table"), ee = j("a-modal");
1313
+ const i = q("a-input"), K = q("a-button"), P = q("a-table"), ee = q("a-modal");
1314
1314
  return o(), k("div", {
1315
1315
  class: "hb-lib-multipleSelectModal-box",
1316
1316
  ref_key: "hbMultipSelectModalRef",
@@ -1359,31 +1359,31 @@ const bl = {
1359
1359
  })
1360
1360
  ]),
1361
1361
  default: h(() => [
1362
- x(R, {
1362
+ x(P, {
1363
1363
  ref_key: "tableRef",
1364
1364
  ref: A,
1365
1365
  columns: S.value,
1366
- dataSource: N.value,
1366
+ dataSource: B.value,
1367
1367
  rowSelection: { selectedRowKeys: a.value, onChange: l },
1368
1368
  rowKey: (G) => G[r.tableKey],
1369
1369
  scroll: { y: r.tableHeight }
1370
1370
  }, {
1371
- customFilterDropdown: h(({ setSelectedKeys: G, selectedKeys: q, confirm: y, clearFilters: O, column: g }) => [
1371
+ customFilterDropdown: h(({ setSelectedKeys: G, selectedKeys: j, confirm: y, clearFilters: D, column: g }) => [
1372
1372
  v("div", hl, [
1373
1373
  x(i, {
1374
1374
  ref_key: "searchInput",
1375
1375
  ref: u,
1376
1376
  placeholder: `请输入${g.title}`,
1377
- value: q[0],
1377
+ value: j[0],
1378
1378
  class: "hb-lib-form-item-filter-modal-search-input",
1379
1379
  onChange: (Y) => G(Y.target.value ? [Y.target.value] : []),
1380
- onPressEnter: (Y) => f(q, y, g.dataIndex)
1380
+ onPressEnter: (Y) => f(j, y, g.dataIndex)
1381
1381
  }, null, 8, ["placeholder", "value", "onChange", "onPressEnter"]),
1382
1382
  v("section", pl, [
1383
1383
  x(K, {
1384
1384
  class: "hb-lib-form-item-filter-modal-button",
1385
1385
  type: "ghost",
1386
- onClick: (Y) => e(O, y)
1386
+ onClick: (Y) => e(D, y)
1387
1387
  }, {
1388
1388
  default: h(() => [
1389
1389
  I(L(r.$t("hbLibComp.hbListPageAct.reset")), 1)
@@ -1393,7 +1393,7 @@ const bl = {
1393
1393
  x(K, {
1394
1394
  type: "primary",
1395
1395
  class: "hb-lib-form-item-filter-modal-button-confirm",
1396
- onClick: (Y) => f(q, y, g.dataIndex)
1396
+ onClick: (Y) => f(j, y, g.dataIndex)
1397
1397
  }, {
1398
1398
  default: h(() => [
1399
1399
  I(L(r.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
@@ -1408,17 +1408,17 @@ const bl = {
1408
1408
  style: he({ color: G ? "#108ee9" : void 0 })
1409
1409
  }, null, 8, ["style"])
1410
1410
  ]),
1411
- bodyCell: h(({ text: G, column: q }) => [
1412
- M.searchText && M.searchedColumn === q.dataIndex ? (o(), k("span", fl, [
1413
- (o(!0), k(J, null, oe(G.toString().split(new RegExp(`(?<=${M.searchText})|(?=${M.searchText})`, "i")), (y, O) => (o(), k(J, null, [
1411
+ bodyCell: h(({ text: G, column: j }) => [
1412
+ M.searchText && M.searchedColumn === j.dataIndex ? (o(), k("span", fl, [
1413
+ (o(!0), k(J, null, oe(G.toString().split(new RegExp(`(?<=${M.searchText})|(?=${M.searchText})`, "i")), (y, D) => (o(), k(J, null, [
1414
1414
  y.toLowerCase() === M.searchText.toLowerCase() ? (o(), k("mark", {
1415
- key: O,
1415
+ key: D,
1416
1416
  class: "highlight"
1417
1417
  }, L(y), 1)) : (o(), k(J, { key: 1 }, [
1418
1418
  I(L(y), 1)
1419
1419
  ], 64))
1420
1420
  ], 64))), 256))
1421
- ])) : P("", !0)
1421
+ ])) : N("", !0)
1422
1422
  ]),
1423
1423
  _: 1
1424
1424
  }, 8, ["columns", "dataSource", "rowSelection", "rowKey", "scroll"])
@@ -1443,7 +1443,7 @@ const bl = {
1443
1443
  buttonDisplaysQuantity: {}
1444
1444
  },
1445
1445
  setup(p, { expose: c }) {
1446
- const d = p, { t: s } = re(), w = D(!1), m = D(!1), b = D(null), u = W(() => d.actions.filter((F) => F.condition !== void 0 ? F.condition : !0)), t = W(() => u.value.slice(0, d.buttonDisplaysQuantity)), a = W(() => u.value.slice(d.buttonDisplaysQuantity)), _ = (F) => {
1446
+ const d = p, { t: s } = re(), w = O(!1), m = O(!1), b = O(null), u = W(() => d.actions.filter((F) => F.condition !== void 0 ? F.condition : !0)), t = W(() => u.value.slice(0, d.buttonDisplaysQuantity)), a = W(() => u.value.slice(d.buttonDisplaysQuantity)), _ = (F) => {
1447
1447
  F.handler && F.handler(d.record);
1448
1448
  }, A = (F) => {
1449
1449
  b.value = F, w.value = !0;
@@ -1456,7 +1456,7 @@ const bl = {
1456
1456
  m.value = !1;
1457
1457
  }
1458
1458
  }
1459
- }, N = () => {
1459
+ }, B = () => {
1460
1460
  w.value = !1, b.value = null;
1461
1461
  }, S = W(() => b.value ? {
1462
1462
  title: b.value.confirmTitle,
@@ -1466,14 +1466,14 @@ const bl = {
1466
1466
  content: s("hbLibComp.hbTableAct.confirmContent")
1467
1467
  });
1468
1468
  return c({
1469
- ADropdown: je,
1469
+ ADropdown: qe,
1470
1470
  AMenu: Ye,
1471
1471
  AMenuItem: Ke,
1472
1472
  APopconfirm: Ce,
1473
1473
  AModal: ke,
1474
1474
  DownOutlined: Ie
1475
1475
  }), (F, U) => {
1476
- const E = j("a-divider"), V = it("has");
1476
+ const E = q("a-divider"), V = it("has");
1477
1477
  return o(), k("div", gl, [
1478
1478
  (o(!0), k(J, null, oe(t.value, ($, f) => (o(), k(J, { key: f }, [
1479
1479
  $.needConfirm ? (o(), k(J, { key: 0 }, [
@@ -1486,7 +1486,7 @@ const bl = {
1486
1486
  I(L($.label), 1)
1487
1487
  ], 8, yl)), [
1488
1488
  [V, $.permissionsTag || null]
1489
- ]) : (o(), B(n(Ce), {
1489
+ ]) : (o(), R(n(Ce), {
1490
1490
  key: 1,
1491
1491
  title: $.confirmTitle,
1492
1492
  onConfirm: (e) => _($)
@@ -1510,17 +1510,17 @@ const bl = {
1510
1510
  ], 8, Ll)), [
1511
1511
  [V, $.permissionsTag || null]
1512
1512
  ]),
1513
- a.value && a.value.length > 0 || f !== t.value.length - 1 ? (o(), B(E, {
1513
+ a.value && a.value.length > 0 || f !== t.value.length - 1 ? (o(), R(E, {
1514
1514
  key: 0,
1515
1515
  type: "vertical"
1516
- })) : P("", !0)
1516
+ })) : N("", !0)
1517
1517
  ], 64))
1518
1518
  ], 64))), 128)),
1519
- a.value && a.value.length > 0 ? (o(), B(n(je), { key: 0 }, {
1519
+ a.value && a.value.length > 0 ? (o(), R(n(qe), { key: 0 }, {
1520
1520
  overlay: h(() => [
1521
1521
  x(n(Ye), null, {
1522
1522
  default: h(() => [
1523
- (o(!0), k(J, null, oe(a.value, ($) => (o(), B(n(Ke), {
1523
+ (o(!0), k(J, null, oe(a.value, ($) => (o(), R(n(Ke), {
1524
1524
  key: $.key
1525
1525
  }, {
1526
1526
  default: h(() => [
@@ -1533,7 +1533,7 @@ const bl = {
1533
1533
  I(L($.label), 1)
1534
1534
  ], 8, kl)), [
1535
1535
  [V, $.permissionsTag || null]
1536
- ]) : (o(), B(n(Ce), {
1536
+ ]) : (o(), R(n(Ce), {
1537
1537
  key: 1,
1538
1538
  title: $.confirmTitle,
1539
1539
  onConfirm: (f) => _($)
@@ -1570,13 +1570,13 @@ const bl = {
1570
1570
  ])
1571
1571
  ]),
1572
1572
  _: 1
1573
- })) : P("", !0),
1573
+ })) : N("", !0),
1574
1574
  x(n(ke), {
1575
1575
  visible: w.value,
1576
1576
  title: S.value.title,
1577
1577
  "confirm-loading": m.value,
1578
1578
  onOk: M,
1579
- onCancel: N
1579
+ onCancel: B
1580
1580
  }, {
1581
1581
  default: h(() => [
1582
1582
  v("p", Fl, L(S.value.content), 1)
@@ -1611,12 +1611,12 @@ const bl = {
1611
1611
  }, Hl = {
1612
1612
  key: 0,
1613
1613
  class: "hb-lib-list-table-act"
1614
- }, Al = { class: "empty-container" }, Ol = /* @__PURE__ */ X({
1614
+ }, Al = { class: "empty-container" }, Dl = /* @__PURE__ */ X({
1615
1615
  name: "HbLibListTable",
1616
1616
  __name: "HbListTable",
1617
1617
  props: Il,
1618
1618
  setup(p) {
1619
- const { t: c } = re(), d = p, s = D([]), w = Fe("HB_LIST_PAGE_CONTAINER"), { tableWidth: m } = Ml(W(() => d.columns));
1619
+ const { t: c } = re(), d = p, s = O([]), w = Fe("HB_LIST_PAGE_CONTAINER"), { tableWidth: m } = Ml(W(() => d.columns));
1620
1620
  ce(
1621
1621
  () => d.columns,
1622
1622
  (t) => {
@@ -1644,7 +1644,7 @@ const bl = {
1644
1644
  }
1645
1645
  }, u = (t, a = "YYYY-MM-DD HH:mm:ss") => t ? $e(t).format(a) : "";
1646
1646
  return (t, a) => {
1647
- const _ = j("a-empty"), A = j("a-tooltip"), M = j("HbLibCopy"), N = j("a-table");
1647
+ const _ = q("a-empty"), A = q("a-tooltip"), M = q("HbLibCopy"), B = q("a-table");
1648
1648
  return o(), k("div", {
1649
1649
  class: z(["hb-lib-list-table", { "nowrap-table": d.rowHeight }]),
1650
1650
  style: he({ "--hb-lib-table-td-height": t.rowHeight && t.rowHeight + "px" || "" })
@@ -1652,8 +1652,8 @@ const bl = {
1652
1652
  t.$slots.tableActLeft ? (o(), k("section", Hl, [
1653
1653
  Z(t.$slots, "tableActLeft", {}, void 0, !0),
1654
1654
  Z(t.$slots, "tableActRight", {}, void 0, !0)
1655
- ])) : P("", !0),
1656
- x(N, te(t.$attrs, {
1655
+ ])) : N("", !0),
1656
+ x(B, te(t.$attrs, {
1657
1657
  columns: s.value,
1658
1658
  onResizeColumn: b,
1659
1659
  scroll: {
@@ -1688,7 +1688,7 @@ const bl = {
1688
1688
  index: U
1689
1689
  }, void 0, !0),
1690
1690
  S && S.needTooltip ? (o(), k(J, { key: 0 }, [
1691
- S.needTooltip ? (o(), B(A, { key: 0 }, {
1691
+ S.needTooltip ? (o(), R(A, { key: 0 }, {
1692
1692
  title: h(() => [
1693
1693
  I(L(F[S.dataIndex]), 1)
1694
1694
  ]),
@@ -1696,16 +1696,16 @@ const bl = {
1696
1696
  I(" " + L(F[S.dataIndex]), 1)
1697
1697
  ]),
1698
1698
  _: 2
1699
- }, 1024)) : P("", !0)
1700
- ], 64)) : P("", !0),
1701
- S && S.needCopy ? (o(), B(M, {
1699
+ }, 1024)) : N("", !0)
1700
+ ], 64)) : N("", !0),
1701
+ S && S.needCopy ? (o(), R(M, {
1702
1702
  key: 1,
1703
1703
  "cp-text": F[S.dataIndex],
1704
1704
  style: { position: "relative" }
1705
- }, null, 8, ["cp-text"])) : P("", !0),
1705
+ }, null, 8, ["cp-text"])) : N("", !0),
1706
1706
  S && S.needFormat ? (o(), k(J, { key: 2 }, [
1707
1707
  I(L(u(F[S.dataIndex], S.format)), 1)
1708
- ], 64)) : P("", !0)
1708
+ ], 64)) : N("", !0)
1709
1709
  ]),
1710
1710
  key: "1"
1711
1711
  } : void 0,
@@ -1723,10 +1723,10 @@ const bl = {
1723
1723
  ], 6);
1724
1724
  };
1725
1725
  }
1726
- }), Dl = /* @__PURE__ */ ne(Ol, [["__scopeId", "data-v-f27e967a"]]), Nl = le(Dl), Pl = { class: "hb-lib-table-setting-box" }, Rl = {
1726
+ }), Ol = /* @__PURE__ */ ne(Dl, [["__scopeId", "data-v-f27e967a"]]), Bl = le(Ol), Nl = { class: "hb-lib-table-setting-box" }, Pl = {
1727
1727
  key: 0,
1728
1728
  class: "hb-lib-table-drag-item"
1729
- }, Bl = {
1729
+ }, Rl = {
1730
1730
  key: 0,
1731
1731
  class: "hb-lib-table-drag-item-act"
1732
1732
  }, zl = ["onClick"], El = ["onClick"], Vl = { class: "hb-lib-table-set-btn-group" }, Ul = {
@@ -1765,11 +1765,11 @@ const bl = {
1765
1765
  },
1766
1766
  emits: ["on-get-columns", "refresh", "clearSelected"],
1767
1767
  setup(p, { emit: c }) {
1768
- const d = c, { t: s } = re(), w = p, m = D([]), b = W(() => t.value.filter((e) => e.checked));
1769
- D([]);
1770
- const u = D(!1), t = D([]), a = D(null), _ = W(() => b.value.length > 0 && b.value.length === m.value.length), A = W(() => b.value.length > 0 && b.value.length < m.value.length), M = (e) => {
1768
+ const d = c, { t: s } = re(), w = p, m = O([]), b = W(() => t.value.filter((e) => e.checked));
1769
+ O([]);
1770
+ const u = O(!1), t = O([]), a = O(null), _ = W(() => b.value.length > 0 && b.value.length === m.value.length), A = W(() => b.value.length > 0 && b.value.length < m.value.length), M = (e) => {
1771
1771
  a.value = e.oldIndex;
1772
- }, N = (e) => {
1772
+ }, B = (e) => {
1773
1773
  const l = e.newIndex;
1774
1774
  if (m.value.some((C) => C.fixed === "left" || C.fixed === "right" || C.fixed === !0)) {
1775
1775
  const C = m.value.filter((K) => K.fixed === "left").length, i = m.value.length - m.value.filter((K) => K.fixed === "right").length;
@@ -1821,8 +1821,8 @@ const bl = {
1821
1821
  }
1822
1822
  };
1823
1823
  return E(), (e, l) => {
1824
- const r = j("a-tooltip"), C = j("a-button");
1825
- return o(), k("div", Pl, [
1824
+ const r = q("a-tooltip"), C = q("a-button");
1825
+ return o(), k("div", Nl, [
1826
1826
  x(n(mt), {
1827
1827
  title: n(s)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),
1828
1828
  trigger: "click",
@@ -1841,10 +1841,10 @@ const bl = {
1841
1841
  animation: "200",
1842
1842
  handle: ".drag-handle",
1843
1843
  onStart: M,
1844
- onEnd: N
1844
+ onEnd: B
1845
1845
  }, {
1846
1846
  item: h(({ element: i }) => [
1847
- i.fixed !== "right" ? (o(), k("div", Rl, [
1847
+ i.fixed !== "right" ? (o(), k("div", Pl, [
1848
1848
  x(n(fe), {
1849
1849
  checked: i.checked,
1850
1850
  onChange: (K) => F(i, K.target.checked)
@@ -1854,11 +1854,11 @@ const bl = {
1854
1854
  ]),
1855
1855
  _: 2
1856
1856
  }, 1032, ["checked", "onChange"]),
1857
- i.checked ? (o(), k("section", Bl, [
1857
+ i.checked ? (o(), k("section", Rl, [
1858
1858
  v("span", {
1859
1859
  class: z(i.fixed ? "drag-hide" : "drag-handle")
1860
1860
  }, "⋮⋮", 2),
1861
- i.fixed ? (o(), B(r, { key: 0 }, {
1861
+ i.fixed ? (o(), R(r, { key: 0 }, {
1862
1862
  title: h(() => [
1863
1863
  I(L(n(s)("hbLibComp.hbLibListTableColumsSet.cancelFix")), 1)
1864
1864
  ]),
@@ -1886,8 +1886,8 @@ const bl = {
1886
1886
  ])], 8, zl)
1887
1887
  ]),
1888
1888
  _: 2
1889
- }, 1024)) : P("", !0),
1890
- i.fixed ? P("", !0) : (o(), B(r, { key: 1 }, {
1889
+ }, 1024)) : N("", !0),
1890
+ i.fixed ? N("", !0) : (o(), R(r, { key: 1 }, {
1891
1891
  title: h(() => [
1892
1892
  I(L(n(s)("hbLibComp.hbLibListTableColumsSet.fix")), 1)
1893
1893
  ]),
@@ -1916,8 +1916,8 @@ const bl = {
1916
1916
  ]),
1917
1917
  _: 2
1918
1918
  }, 1024))
1919
- ])) : P("", !0)
1920
- ])) : P("", !0)
1919
+ ])) : N("", !0)
1920
+ ])) : N("", !0)
1921
1921
  ]),
1922
1922
  _: 1
1923
1923
  }, 8, ["modelValue"]),
@@ -1983,7 +1983,7 @@ const bl = {
1983
1983
  ]);
1984
1984
  };
1985
1985
  }
1986
- }), Yl = /* @__PURE__ */ ne(Kl, [["__scopeId", "data-v-170e52e2"]]), jl = le(Yl), ql = {
1986
+ }), Yl = /* @__PURE__ */ ne(Kl, [["__scopeId", "data-v-170e52e2"]]), ql = le(Yl), jl = {
1987
1987
  // 如果存在cpText时,K和V无效
1988
1988
  cpText: {
1989
1989
  type: String,
@@ -2027,9 +2027,9 @@ const bl = {
2027
2027
  }, Wl = /* @__PURE__ */ X({
2028
2028
  name: "HbLibCopy",
2029
2029
  __name: "copy",
2030
- props: ql,
2030
+ props: jl,
2031
2031
  setup(p) {
2032
- const c = p, d = D();
2032
+ const c = p, d = O();
2033
2033
  rt(() => {
2034
2034
  d.value = c.data;
2035
2035
  });
@@ -2053,8 +2053,8 @@ const bl = {
2053
2053
  });
2054
2054
  };
2055
2055
  return (m, b) => {
2056
- const u = j("a-tooltip");
2057
- return s.value ? (o(), B(u, {
2056
+ const u = q("a-tooltip");
2057
+ return s.value ? (o(), R(u, {
2058
2058
  key: 0,
2059
2059
  title: m.tooltipTitle
2060
2060
  }, {
@@ -2066,22 +2066,22 @@ const bl = {
2066
2066
  }, null, 6)
2067
2067
  ]),
2068
2068
  _: 1
2069
- }, 8, ["title"])) : P("", !0);
2069
+ }, 8, ["title"])) : N("", !0);
2070
2070
  };
2071
2071
  }
2072
2072
  }), Jl = /* @__PURE__ */ ne(Wl, [["__scopeId", "data-v-69b8d557"]]), Xe = le(Jl), Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2073
2073
  __proto__: null,
2074
2074
  HbLibCopy: Xe,
2075
2075
  HbLibFormItemFilterModal: Ft,
2076
- HbLibListBtnsAct: qt,
2076
+ HbLibListBtnsAct: jt,
2077
2077
  HbLibListForm: It,
2078
2078
  HbLibListMultiSelect: we,
2079
2079
  HbLibListPageAct: zt,
2080
2080
  HbLibListPageContainer: Qt,
2081
- HbLibListTable: Nl,
2081
+ HbLibListTable: Bl,
2082
2082
  HbLibMutilpleSelectModal: vl,
2083
2083
  HbLibTableAct: $l,
2084
- HbLibTableColumnSet: jl
2084
+ HbLibTableColumnSet: ql
2085
2085
  }, Symbol.toStringTag, { value: "Module" })), Ql = {
2086
2086
  // 传进来的数据
2087
2087
  data: {
@@ -2168,15 +2168,15 @@ const bl = {
2168
2168
  __name: "tree",
2169
2169
  props: Ql,
2170
2170
  setup(p) {
2171
- const c = p, d = me("tree"), s = D([]), w = D(new Set(c.defaultExpandKeys)), m = (a) => {
2172
- const _ = (A, M = null) => A.map((N) => {
2173
- const S = N[c.childrenKey], F = {
2174
- ...N,
2175
- originData: N,
2176
- label: N[c.labelKey] || "",
2177
- key: N[c.keyKey] || "",
2171
+ const c = p, d = me("tree"), s = O([]), w = O(new Set(c.defaultExpandKeys)), m = (a) => {
2172
+ const _ = (A, M = null) => A.map((B) => {
2173
+ const S = B[c.childrenKey], F = {
2174
+ ...B,
2175
+ originData: B,
2176
+ label: B[c.labelKey] || "",
2177
+ key: B[c.keyKey] || "",
2178
2178
  children: [],
2179
- isLeaf: N.isLeaf ?? S.length === 0,
2179
+ isLeaf: B.isLeaf ?? S.length === 0,
2180
2180
  level: M ? M.level + 1 : 0,
2181
2181
  parentKey: M ? M.key : null
2182
2182
  };
@@ -2196,13 +2196,13 @@ const bl = {
2196
2196
  );
2197
2197
  const b = W(() => {
2198
2198
  const a = s.value, _ = w.value, A = [], M = [];
2199
- for (let N = a.length - 1; N >= 0; N--)
2200
- M.push(a[N]);
2199
+ for (let B = a.length - 1; B >= 0; B--)
2200
+ M.push(a[B]);
2201
2201
  for (; M.length > 0; ) {
2202
- const N = M.pop();
2203
- if (A.push(N), _.has(N.key))
2204
- for (let S = N.children.length - 1; S >= 0; S--)
2205
- M.push(N.children[S]);
2202
+ const B = M.pop();
2203
+ if (A.push(B), _.has(B.key))
2204
+ for (let S = B.children.length - 1; S >= 0; S--)
2205
+ M.push(B.children[S]);
2206
2206
  }
2207
2207
  return A;
2208
2208
  }), u = (a) => {
@@ -2213,7 +2213,7 @@ const bl = {
2213
2213
  class: z([n(d).b()]),
2214
2214
  onClick: _[0] || (_[0] = (A) => t())
2215
2215
  }, [
2216
- (o(!0), k(J, null, oe(b.value, (A) => (o(), B(Zl, {
2216
+ (o(!0), k(J, null, oe(b.value, (A) => (o(), R(Zl, {
2217
2217
  key: A.key,
2218
2218
  item: A,
2219
2219
  expandedKeys: w.value,
@@ -2233,13 +2233,15 @@ const bl = {
2233
2233
  hbLibComp: no
2234
2234
  }, io = { hbFormItemFilterModal: { titleTip: "已显示条件", mostMore: "最多可选", mostMoreTip: "个条件,拖拽可以调整排序", notShowTip: "未显示条件", add: "添加", noData: "暂无数据", cancel: "取消", confirm: "确定", moreConditionSearch: "多项搜索" }, hbFormSelectFilter: { allSelect: "全选", close: "关闭" }, hbListPageAct: { query: "查询", reset: "重置", selfDefine: "筛选查询条件", open: "展开", close: "收起", fullScreen: "全屏", exitFullScreen: "退出全屏" }, hbListBtnsAct: { reload: "刷新数据", open: "展开查询条件", close: "收起查询条件" }, hbTableAct: { more: "更多", secendConfirm: "二次确认", confirmContent: "确认内容" }, hbMultiSelectModal: { pleaseSelect: "请选择" }, hbListTable: { noData: "暂时没有数据" }, hbLibListTableColumsSet: { popoverTitle: "自定义列", title: "表格字段设置", fix: "固定", cancelFix: "取消固定", allSelect: "全选", confirm: "确定", errorTip: "不能将列移动到固定列位置" }, hbLibListForm: { queryCase: "查询方案" }, HbFileUploadModal: { fileUpload: "文件导入", confirmImport: "确认导入", cancel: "取消", maxSupport: "最多支持", dataImport: "条数据导入", placeSelect: "请选择", file: "文件", selectFile: "请选择上传的文件", dragFile: "将文件拖到此处或", clickUpload: "点击上传", onlySupport: "仅支持", downloadTemplate: "导入模板下载" }, HbLogModal: { close: "关 闭", operateLogs: "操作日志", operator: "操作人", operateTime: "操作时间", operateContent: "操作内容" } }, ro = {
2235
2235
  hbLibComp: io
2236
+ }, co = { 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" }, HbLogModal: { close: "Schließung", operateContent: "Inhalt der Operation", operateLogs: "Betriebsprotokoll", operateTime: "Betriebszeit", operator: "Operator" }, hbFormItemFilterModal: { add: "Hinzufügen zu", cancel: "Stornieren", confirm: "Sicher", moreConditionSearch: "Mehrere Suchanfragen", mostMore: "Höchstens optional", mostMoreTip: "Bedingungen anpassen, per Drag-and-Drop die Sortierung anpassen", noData: "Noch keine Daten", notShowTip: "Keine Bedingungen angezeigt", titleTip: "Bedingungen angezeigt" }, hbFormSelectFilter: { allSelect: "Alles auswählen", close: "Schließung" }, hbLibListForm: { queryCase: "Abfrageplan" }, hbLibListTableColumsSet: { allSelect: "Alles auswählen", cancelFix: "Lösen", confirm: "Sicher", errorTip: "Die Spalte kann nicht in eine feste Spaltenposition verschoben werden", fix: "behoben", popoverTitle: "Benutzerdefinierte Spalten", title: "Tabellenfeldeinstellungen" }, hbListBtnsAct: { close: "Abfragebedingungen schließen", open: "Abfragebedingungen erweitern", reload: "Daten aktualisieren" }, hbListPageAct: { close: "schließen", exitFullScreen: "Verlassen Sie den Vollbildmodus", fullScreen: "Vollbild", open: "Expandieren", query: "Abfrage", reset: "zurücksetzen", selfDefine: "Abfragebedingungen filtern" }, hbListTable: { noData: "Noch keine Daten" }, hbMultiSelectModal: { pleaseSelect: "Bitte auswählen" }, hbTableAct: { confirmContent: "Inhalt bestätigen", more: "Mehr", secendConfirm: "Zweite Bestätigung" } }, uo = {
2237
+ hbLibComp: co
2236
2238
  };
2237
- var pe = { exports: {} }, co = pe.exports, qe;
2238
- function uo() {
2239
- return qe || (qe = 1, (function(p, c) {
2239
+ var pe = { exports: {} }, bo = pe.exports, je;
2240
+ function ho() {
2241
+ return je || (je = 1, (function(p, c) {
2240
2242
  (function(d, s) {
2241
2243
  p.exports = s($e);
2242
- })(co, (function(d) {
2244
+ })(bo, (function(d) {
2243
2245
  function s(b) {
2244
2246
  return b && typeof b == "object" && "default" in b ? b : { default: b };
2245
2247
  }
@@ -2253,20 +2255,21 @@ function uo() {
2253
2255
  }));
2254
2256
  })(pe)), pe.exports;
2255
2257
  }
2256
- uo();
2258
+ ho();
2257
2259
  let We = { ...Gl, ...lo };
2258
2260
  $e.locale("zh-cn");
2259
- const _o = {
2261
+ const So = {
2260
2262
  en_US: ao,
2261
2263
  ja_JP: so,
2262
- zh_CN: ro
2263
- }, ko = function(p) {
2264
+ zh_CN: ro,
2265
+ de_DE: uo
2266
+ }, wo = function(p) {
2264
2267
  Object.keys(We).forEach((d) => {
2265
2268
  p.use(We[d]);
2266
2269
  });
2267
2270
  };
2268
2271
  export {
2269
2272
  Ft as HbLibFormItemFilterModal,
2270
- ko as install,
2271
- _o as locales
2273
+ wo as install,
2274
+ So as locales
2272
2275
  };