@hb-hellotech/hb-ui 2.7.2-beta.3 → 2.7.2-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.
@@ -1,14 +1,14 @@
1
1
  import './hb_component_lib.css';
2
- import { defineComponent as te, inject as fe, computed as S, reactive as Ue, ref as D, watch as ae, onMounted as we, createElementBlock as k, openBlock as c, normalizeClass as J, unref as v, createVNode as $, withCtx as p, createElementVNode as m, toDisplayString as C, createTextVNode as N, createBlock as z, createCommentVNode as V, Fragment as Q, renderList as ue, resolveComponent as j, Transition as ao, withDirectives as ye, mergeProps as se, createSlots as Oe, renderSlot as q, vShow as io, nextTick as xe, onUnmounted as Ne, useTemplateRef as so, provide as De, normalizeStyle as ce, mergeModels as lt, useModel as Nt, withModifiers as qe, resolveDirective as Rt, useAttrs as ro, useSlots as co, onBeforeUnmount as Qe, watchEffect as Et, resolveDynamicComponent as zt, shallowRef as uo, createStaticVNode as fo, defineAsyncComponent as ze, toValue as bo, createApp as po } from "vue";
2
+ import { defineComponent as te, inject as fe, computed as S, reactive as Ue, ref as D, watch as ae, onMounted as we, createElementBlock as k, openBlock as c, normalizeClass as J, unref as v, createVNode as $, withCtx as p, createElementVNode as m, toDisplayString as C, createTextVNode as N, createBlock as z, createCommentVNode as V, Fragment as Q, renderList as ue, resolveComponent as j, Transition as ao, withDirectives as ye, mergeProps as se, createSlots as Oe, renderSlot as q, vShow as io, nextTick as xe, onUnmounted as Ne, useTemplateRef as so, provide as De, normalizeStyle as ce, mergeModels as lt, useModel as Rt, withModifiers as qe, resolveDirective as Et, useAttrs as ro, useSlots as co, onBeforeUnmount as Qe, watchEffect as zt, resolveDynamicComponent as Vt, shallowRef as uo, createStaticVNode as fo, defineAsyncComponent as ze, toValue as bo, createApp as po } from "vue";
3
3
  import Ye from "vuedraggable";
4
- import { Modal as at, Button as it, message as Se, Tooltip as Ke, Switch as ht, Radio as vt, RadioGroup as gt, InputNumber as yt, DatePicker as _t, Checkbox as Ge, CheckboxGroup as Lt, Select as st, Input as Ct, Col as mo, Row as ho, FormItem as wt, Form as kt, SelectOption as rt, Popconfirm as tt, MenuItem as St, Menu as xt, Dropdown as Tt, Popover as vo, BackTop as Vt, Spin as go } from "ant-design-vue";
5
- import { useRoute as ft } from "vue-router";
4
+ import { Modal as at, Button as it, message as Se, Tooltip as Ke, Switch as vt, Radio as gt, RadioGroup as yt, InputNumber as _t, DatePicker as Lt, Checkbox as Ge, CheckboxGroup as Ct, Select as st, Input as wt, Col as mo, Row as ho, FormItem as kt, Form as St, SelectOption as rt, Popconfirm as tt, MenuItem as xt, Menu as Tt, Dropdown as Ft, Popover as vo, BackTop as Wt, Spin as go } from "ant-design-vue";
5
+ import { useRoute as bt } from "vue-router";
6
6
  import { useI18n as me } from "vue-i18n";
7
7
  import $e from "lodash";
8
- import { CloseOutlined as yo, QuestionCircleOutlined as _o, SearchOutlined as Je, UpCircleOutlined as Lo, DownCircleOutlined as Co, UnorderedListOutlined as wo, DownOutlined as ct, PlusCircleOutlined as ko, ToTopOutlined as Wt } from "@ant-design/icons-vue";
9
- import { useFullscreen as jt, useDebounceFn as So, useElementBounding as xo, useScroll as To, useDraggable as Fo, isClient as Ho } from "@vueuse/core";
8
+ import { CloseOutlined as yo, QuestionCircleOutlined as _o, SearchOutlined as Je, UpCircleOutlined as Lo, DownCircleOutlined as Co, UnorderedListOutlined as wo, DownOutlined as ct, PlusCircleOutlined as ko, ToTopOutlined as jt } from "@ant-design/icons-vue";
9
+ import { useFullscreen as qt, useDebounceFn as So, useElementBounding as xo, useScroll as To, useDraggable as Fo, isClient as Ho } from "@vueuse/core";
10
10
  import Ze from "dayjs";
11
- const $o = "hb-", bt = (e = "") => {
11
+ const $o = "hb-", pt = (e = "") => {
12
12
  const t = `${$o}${e}`;
13
13
  return Io(t);
14
14
  }, He = (e, t, o, n) => (t && (e += `-${t}`), o && (e += `__${o}`), n && (e += `--${n}`), e), Io = (e) => ({
@@ -26,7 +26,7 @@ const $o = "hb-", bt = (e = "") => {
26
26
  bem: (t, o, n) => He(e, t, o, n),
27
27
  // is-disabled
28
28
  is: (t, o) => o ? `is-${t}` : ""
29
- }), Ft = (e) => e.downloadUrl, Mo = (e, t, o) => {
29
+ }), Ht = (e) => e.downloadUrl, Mo = (e, t, o) => {
30
30
  const n = (l) => l.previewUrl, s = o?.preferredIndex;
31
31
  if (typeof s == "number" && s >= 0 && s < e.length) {
32
32
  const l = e[s];
@@ -45,13 +45,13 @@ const $o = "hb-", bt = (e = "") => {
45
45
  const l = e.findIndex((i) => n(i) === r);
46
46
  if (l >= 0) return l;
47
47
  }
48
- const d = Ft(t);
48
+ const d = Ht(t);
49
49
  if (d) {
50
- const l = e.findIndex((i) => Ft(i) === d);
50
+ const l = e.findIndex((i) => Ht(i) === d);
51
51
  if (l >= 0) return l;
52
52
  }
53
53
  return e.indexOf(t);
54
- }, Bo = (e) => e !== void 0, Do = (e) => typeof e == "function", qt = (e) => Bo(e.condition) ? Do(e.condition) ? e.condition() : e.condition : !0, Ao = ["onMouseenter", "onMouseleave"], Oo = ["onClick"], Po = /* @__PURE__ */ te({
54
+ }, Bo = (e) => e !== void 0, Do = (e) => typeof e == "function", dt = (e) => Bo(e.condition) ? Do(e.condition) ? e.condition() : e.condition : !0, Ao = ["onMouseenter", "onMouseleave"], Oo = ["onClick"], Po = /* @__PURE__ */ te({
55
55
  name: "HbLibFormItemFilterModal",
56
56
  __name: "HbFormItemFilterModal",
57
57
  props: {
@@ -64,19 +64,19 @@ const $o = "hb-", bt = (e = "") => {
64
64
  },
65
65
  emits: ["confirm"],
66
66
  setup(e, { expose: t, emit: o }) {
67
- const n = fe("globalCompConfig", {}), s = me().t, a = me().messages.value.en_US, r = me().messages.value.ja_JP, d = me().messages.value.zh_CN, l = e, i = S(() => l.showNumber || n.HbLibFormItemFilterModal?.defaultShowCount || 40), u = S(() => l.title || s("hbLibComp.hbFormItemFilterModal.title")), f = o, b = bt("sfcm"), A = ft(), H = Ue({
67
+ const n = fe("globalCompConfig", {}), s = me().t, a = me().messages.value.en_US, r = me().messages.value.ja_JP, d = me().messages.value.zh_CN, l = e, i = S(() => l.showNumber || n.HbLibFormItemFilterModal?.defaultShowCount || 40), u = S(() => l.title || s("hbLibComp.hbFormItemFilterModal.title")), f = o, b = pt("sfcm"), A = bt(), H = Ue({
68
68
  lan: window.localStorage.getItem("lan")
69
- }), E = D(!1), O = D(600);
69
+ }), E = D(!1), P = D(600);
70
70
  let y = [];
71
- const _ = D([]), T = D([]), M = S(() => _.value.every((P) => P.isLinked || P.isFixed)), L = (P) => ({
72
- ...P,
73
- label: w(P) || `${h(P) || ""} (${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,
74
- key: P.key,
75
- isFixed: P?.isFixed || !1,
76
- isLinked: P?.isLinked || !1,
77
- labelLanguage: P?.labelLanguage || void 0
78
- }), F = (P) => {
79
- const K = P.draggedContext.element, Y = P.relatedContext.index;
71
+ const _ = D([]), T = D([]), M = S(() => _.value.every((O) => O.isLinked || O.isFixed)), L = (O) => ({
72
+ ...O,
73
+ label: w(O) || `${h(O) || ""} (${s("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,
74
+ key: O.key,
75
+ isFixed: O?.isFixed || !1,
76
+ isLinked: O?.isLinked || !1,
77
+ labelLanguage: O?.labelLanguage || void 0
78
+ }), F = (O) => {
79
+ const K = O.draggedContext.element, Y = O.relatedContext.index;
80
80
  if (K.isLinked || K.isFixed)
81
81
  return !1;
82
82
  const re = _.value.map((ie, ge) => ({ item: ie, index: ge })).filter(({ item: ie }) => ie.isLinked).map(({ index: ie }) => ie);
@@ -89,29 +89,29 @@ const $o = "hb-", bt = (e = "") => {
89
89
  }
90
90
  return !0;
91
91
  }, I = S(() => g() + "_" + l.saveKey), g = () => {
92
- const P = localStorage.getItem("pro__Login_Userinfo");
92
+ const O = localStorage.getItem("pro__Login_Userinfo");
93
93
  let K = "anonymous";
94
- if (P)
94
+ if (O)
95
95
  try {
96
- K = JSON.parse(P).value.jobNumber || "anonymous";
96
+ K = JSON.parse(O).value.jobNumber || "anonymous";
97
97
  } catch (re) {
98
98
  console.warn("解析用户信息失败:", re);
99
99
  }
100
100
  let Y = A?.path;
101
101
  return `searchFormConfig_${K}_${Y}`;
102
- }, w = (P) => ({
103
- ja_JP: () => $e.get(r, P.labelLanguage || ""),
104
- en_US: () => $e.get(a, P.labelLanguage || ""),
105
- zh_CN: () => $e.get(d, P.labelLanguage || "")
106
- })[H.lan]?.() || P.label, h = (P) => ({
107
- ja_JP: () => $e.get(r, P.subLabelLanguage || ""),
108
- en_US: () => $e.get(a, P.subLabelLanguage || ""),
109
- zh_CN: () => $e.get(d, P.subLabelLanguage || "")
110
- })[H.lan]?.() || P.subLabel, x = () => {
102
+ }, w = (O) => ({
103
+ ja_JP: () => $e.get(r, O.labelLanguage || ""),
104
+ en_US: () => $e.get(a, O.labelLanguage || ""),
105
+ zh_CN: () => $e.get(d, O.labelLanguage || "")
106
+ })[H.lan]?.() || O.label, h = (O) => ({
107
+ ja_JP: () => $e.get(r, O.subLabelLanguage || ""),
108
+ en_US: () => $e.get(a, O.subLabelLanguage || ""),
109
+ zh_CN: () => $e.get(d, O.subLabelLanguage || "")
110
+ })[H.lan]?.() || O.subLabel, x = () => {
111
111
  try {
112
- const P = localStorage.getItem(I.value);
113
- if (P) {
114
- const K = JSON.parse(P);
112
+ const O = localStorage.getItem(I.value);
113
+ if (O) {
114
+ const K = JSON.parse(O);
115
115
  if (K.originalList && Array.isArray(K.originalList)) {
116
116
  y = JSON.parse(
117
117
  JSON.stringify(K.originalList)
@@ -144,13 +144,13 @@ const $o = "hb-", bt = (e = "") => {
144
144
  })), !0;
145
145
  }
146
146
  }
147
- } catch (P) {
148
- console.warn("加载保存的搜索配置失败:", P);
147
+ } catch (O) {
148
+ console.warn("加载保存的搜索配置失败:", O);
149
149
  }
150
150
  return !1;
151
151
  }, W = () => {
152
152
  try {
153
- const P = {
153
+ const O = {
154
154
  originalList: y,
155
155
  showList: _.value.map((K) => ({
156
156
  ...K,
@@ -161,30 +161,30 @@ const $o = "hb-", bt = (e = "") => {
161
161
  labelLanguage: K?.labelLanguage || void 0
162
162
  }))
163
163
  };
164
- localStorage.setItem(I.value, JSON.stringify(P));
165
- } catch (P) {
166
- console.warn("保存搜索配置失败:", P);
164
+ localStorage.setItem(I.value, JSON.stringify(O));
165
+ } catch (O) {
166
+ console.warn("保存搜索配置失败:", O);
167
167
  }
168
168
  }, U = S(() => {
169
- const P = _.value.filter(
169
+ const O = _.value.filter(
170
170
  (Y) => !Y.isFixed && !Y.isLinked
171
171
  ).length, K = _.value.filter(
172
172
  (Y) => Y.isFixed || Y.isLinked
173
173
  ).length;
174
- return P >= i.value - K;
174
+ return O >= i.value - K;
175
175
  });
176
176
  ae(
177
177
  () => l.list,
178
- (P) => {
179
- let K = JSON.stringify(_.value) !== JSON.stringify(P);
178
+ (O) => {
179
+ let K = JSON.stringify(_.value) !== JSON.stringify(O);
180
180
  if (!K)
181
181
  return;
182
182
  const Y = localStorage.getItem(I.value), re = JSON.parse(Y || "{}");
183
183
  if (re && re?.originalList && Array.isArray(re.originalList))
184
184
  x(), f("confirm", _.value);
185
185
  else if (K) {
186
- P = P.filter((G) => qt(G)), y = JSON.parse(JSON.stringify(P));
187
- const ie = P.filter((G) => G?.isFixed), ge = P.filter((G) => G?.isLinked), Ce = P.filter(
186
+ O = O.filter((G) => dt(G)), console.log("我进来了val", O), y = JSON.parse(JSON.stringify(O));
187
+ const ie = O.filter((G) => G?.isFixed), ge = O.filter((G) => G?.isLinked), Ce = O.filter(
188
188
  (G) => !G?.isFixed && !G?.isLinked
189
189
  ), Te = i.value && i.value > 0 ? Math.max(
190
190
  0,
@@ -204,12 +204,12 @@ const $o = "hb-", bt = (e = "") => {
204
204
  T.value = Be, f("confirm", _.value);
205
205
  }
206
206
  },
207
- { immediate: !0 }
207
+ { immediate: !0, deep: !0 }
208
208
  );
209
- const ee = (P) => {
210
- const K = _.value.findIndex((Y) => Y.key === P.key);
211
- K !== -1 && (_.value.splice(K, 1), T.value.push({ ...P, active: !1 }));
212
- }, de = (P) => {
209
+ const ee = (O) => {
210
+ const K = _.value.findIndex((Y) => Y.key === O.key);
211
+ K !== -1 && (_.value.splice(K, 1), T.value.push({ ...O, active: !1 }));
212
+ }, de = (O) => {
213
213
  if (U.value) {
214
214
  Se.warning(
215
215
  `当前已经超过${s(i.value)}个可选数量,请先删除已显示条件`
@@ -217,7 +217,7 @@ const $o = "hb-", bt = (e = "") => {
217
217
  return;
218
218
  }
219
219
  const K = T.value.findIndex(
220
- (Y) => Y.key === P.key
220
+ (Y) => Y.key === O.key
221
221
  );
222
222
  if (K !== -1) {
223
223
  const [Y] = T.value.splice(K, 1);
@@ -229,27 +229,27 @@ const $o = "hb-", bt = (e = "") => {
229
229
  E.value = !0;
230
230
  }, R = () => {
231
231
  W(), f("confirm", _.value), he();
232
- }, Ie = (P) => {
232
+ }, Ie = (O) => {
233
233
  const K = T.value.findIndex(
234
- (Y) => Y.key === P.key
234
+ (Y) => Y.key === O.key
235
235
  );
236
236
  K !== -1 && (T.value[K].active = !0);
237
- }, oe = (P) => {
237
+ }, oe = (O) => {
238
238
  const K = T.value.findIndex(
239
- (Y) => Y.key === P.key
239
+ (Y) => Y.key === O.key
240
240
  );
241
241
  K !== -1 && (T.value[K].active = !1);
242
242
  };
243
243
  return t({
244
244
  toOpenModal: ve
245
245
  }), we(() => {
246
- }), (P, K) => (c(), k("div", {
246
+ }), (O, K) => (c(), k("div", {
247
247
  class: J(v(b).b())
248
248
  }, [
249
249
  $(v(at), {
250
250
  visible: E.value,
251
251
  "onUpdate:visible": K[1] || (K[1] = (Y) => E.value = Y),
252
- width: O.value,
252
+ width: P.value,
253
253
  onCancel: he,
254
254
  onOk: R
255
255
  }, {
@@ -261,7 +261,7 @@ const $o = "hb-", bt = (e = "") => {
261
261
  footer: p(() => [
262
262
  $(v(it), { onClick: he }, {
263
263
  default: p(() => [
264
- N(C(P.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
264
+ N(C(O.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
265
265
  ]),
266
266
  _: 1
267
267
  }),
@@ -270,7 +270,7 @@ const $o = "hb-", bt = (e = "") => {
270
270
  onClick: R
271
271
  }, {
272
272
  default: p(() => [
273
- N(C(P.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
273
+ N(C(O.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
274
274
  ]),
275
275
  _: 1
276
276
  })
@@ -284,8 +284,8 @@ const $o = "hb-", bt = (e = "") => {
284
284
  }, [
285
285
  m("span", {
286
286
  class: J(v(b).e("title__tip"))
287
- }, C(P.$t("hbLibComp.hbFormItemFilterModal.titleTip")), 3),
288
- m("span", null, C(P.$t("hbLibComp.hbFormItemFilterModal.mostMore")) + C(i.value) + C(P.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")), 1)
287
+ }, C(O.$t("hbLibComp.hbFormItemFilterModal.titleTip")), 3),
288
+ m("span", null, C(O.$t("hbLibComp.hbFormItemFilterModal.mostMore")) + C(i.value) + C(O.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")), 1)
289
289
  ], 2),
290
290
  m("div", {
291
291
  class: J(v(b).e("show__tag"))
@@ -326,7 +326,7 @@ const $o = "hb-", bt = (e = "") => {
326
326
  }, [
327
327
  m("span", {
328
328
  class: J(v(b).e("title__tip"))
329
- }, C(P.$t("hbLibComp.hbFormItemFilterModal.notShowTip")), 3)
329
+ }, C(O.$t("hbLibComp.hbFormItemFilterModal.notShowTip")), 3)
330
330
  ], 2),
331
331
  m("div", {
332
332
  class: J(v(b).e("unshow__tag"))
@@ -346,11 +346,11 @@ const $o = "hb-", bt = (e = "") => {
346
346
  key: 0,
347
347
  class: J(v(b).e("unshow__tag__item-add")),
348
348
  onClick: (re) => de(Y)
349
- }, C(P.$t("hbLibComp.hbFormItemFilterModal.add")), 11, Oo)) : V("", !0)
349
+ }, C(O.$t("hbLibComp.hbFormItemFilterModal.add")), 11, Oo)) : V("", !0)
350
350
  ], 42, Ao))), 128)) : (c(), k("div", {
351
351
  key: 1,
352
352
  class: J(v(b).e("unshow__tag__empty"))
353
- }, C(P.$t("hbLibComp.hbFormItemFilterModal.noData")), 3))
353
+ }, C(O.$t("hbLibComp.hbFormItemFilterModal.noData")), 3))
354
354
  ], 2)
355
355
  ], 2)
356
356
  ]),
@@ -363,7 +363,7 @@ const $o = "hb-", bt = (e = "") => {
363
363
  for (const [n, s] of t)
364
364
  o[n] = s;
365
365
  return o;
366
- }, Uo = /* @__PURE__ */ le(Po, [["__scopeId", "data-v-6ef177b9"]]);
366
+ }, Uo = /* @__PURE__ */ le(Po, [["__scopeId", "data-v-bcf17975"]]);
367
367
  function ne(e) {
368
368
  const t = e;
369
369
  return t.install = (o) => {
@@ -412,11 +412,14 @@ const No = ne(Uo), Ro = {
412
412
  "handleMenuClick"
413
413
  ],
414
414
  setup(e, { expose: t, emit: o }) {
415
- const n = fe("globalCompConfig", {}), s = o, a = fe("HB_LIST_PAGE_CONTAINER"), r = S(() => l.searchList || []), d = bt("form"), l = e, i = S(() => l.showNumber || n.HbLibFormItemFilterModal?.defaultShowCount || 40), u = D("show"), f = S(() => l.needFooter || n.HbLibListForm?.needFooter), b = S(() => [...l.items]), A = S(() => [...l.items].map((h) => ({
415
+ const n = fe("globalCompConfig", {}), s = o, a = fe("HB_LIST_PAGE_CONTAINER"), r = S(() => l.searchList || []), d = pt("form"), l = e, i = S(() => l.showNumber || n.HbLibFormItemFilterModal?.defaultShowCount || 40), u = D("show"), f = S(() => l.needFooter || n.HbLibListForm?.needFooter), b = S(() => [...l.items].map((h) => ({
416
+ ...h,
417
+ condition: dt(h)
418
+ }))), A = S(() => [...l.items].map((h) => ({
416
419
  ...h,
417
- condition: qt(h),
420
+ condition: dt(h),
418
421
  label: h.label?.includes("多项搜索") ? "" : h.label
419
- }))), H = S(() => l.saveKey), E = D(), O = () => {
422
+ }))), H = S(() => l.saveKey), E = D(), P = () => {
420
423
  s("handleSearch");
421
424
  }, y = () => {
422
425
  s("handleReset");
@@ -464,19 +467,19 @@ const No = ne(Uo), Ro = {
464
467
  return t({
465
468
  formRef: E,
466
469
  SelectOption: rt,
467
- Form: kt,
468
- FormItem: wt,
470
+ Form: St,
471
+ FormItem: kt,
469
472
  Row: ho,
470
473
  Col: mo,
471
- Input: Ct,
474
+ Input: wt,
472
475
  Select: st,
473
- CheckboxGroup: Lt,
476
+ CheckboxGroup: Ct,
474
477
  Checkbox: Ge,
475
- DatePicker: _t,
476
- InputNumber: yt,
477
- RadioGroup: gt,
478
- Radio: vt,
479
- Switch: ht,
478
+ DatePicker: Lt,
479
+ InputNumber: _t,
480
+ RadioGroup: yt,
481
+ Radio: gt,
482
+ Switch: vt,
480
483
  Button: it,
481
484
  Tooltip: Ke
482
485
  }), (h, x) => {
@@ -498,7 +501,7 @@ const No = ne(Uo), Ro = {
498
501
  f.value ? "isNeedFooterCss" : ""
499
502
  ])
500
503
  }, [
501
- $(v(kt), se(h.$attrs, {
504
+ $(v(St), se(h.$attrs, {
502
505
  ref_key: "formRef",
503
506
  ref: E,
504
507
  model: e.formData,
@@ -506,7 +509,7 @@ const No = ne(Uo), Ro = {
506
509
  }), {
507
510
  default: p(() => [
508
511
  (c(!0), k(Q, null, ue(A.value, (R, Ie) => (c(), k(Q, { key: Ie }, [
509
- R.condition ? (c(), z(v(wt), se({
512
+ R.condition ? (c(), z(v(kt), se({
510
513
  key: 0,
511
514
  ref_for: !0
512
515
  }, R, {
@@ -527,7 +530,7 @@ const No = ne(Uo), Ro = {
527
530
  formData: e.formData,
528
531
  item: R
529
532
  }, void 0, !0) : V("", !0),
530
- R.type === "input" ? (c(), z(v(Ct), se({
533
+ R.type === "input" ? (c(), z(v(wt), se({
531
534
  key: 2,
532
535
  value: e.formData[R.key],
533
536
  "onUpdate:value": (oe) => e.formData[R.key] = oe
@@ -538,8 +541,8 @@ const No = ne(Uo), Ro = {
538
541
  "onUpdate:value": (oe) => e.formData[R.key] = oe
539
542
  }, { ref_for: !0 }, R.attrs), {
540
543
  default: p(() => [
541
- (c(!0), k(Q, null, ue(R.options, (oe, P) => (c(), z(v(rt), {
542
- key: P,
544
+ (c(!0), k(Q, null, ue(R.options, (oe, O) => (c(), z(v(rt), {
545
+ key: O,
543
546
  value: oe.value
544
547
  }, {
545
548
  default: p(() => [
@@ -550,14 +553,14 @@ const No = ne(Uo), Ro = {
550
553
  ]),
551
554
  _: 2
552
555
  }, 1040, ["value", "onUpdate:value"])) : V("", !0),
553
- R.type === "checkbox" ? (c(), z(v(Lt), se({
556
+ R.type === "checkbox" ? (c(), z(v(Ct), se({
554
557
  key: 4,
555
558
  value: e.formData[R.key],
556
559
  "onUpdate:value": (oe) => e.formData[R.key] = oe
557
560
  }, { ref_for: !0 }, R.attrs), {
558
561
  default: p(() => [
559
- (c(!0), k(Q, null, ue(R.options, (oe, P) => (c(), z(v(Ge), {
560
- key: P,
562
+ (c(!0), k(Q, null, ue(R.options, (oe, O) => (c(), z(v(Ge), {
563
+ key: O,
561
564
  value: oe.value
562
565
  }, {
563
566
  default: p(() => [
@@ -568,24 +571,24 @@ const No = ne(Uo), Ro = {
568
571
  ]),
569
572
  _: 2
570
573
  }, 1040, ["value", "onUpdate:value"])) : V("", !0),
571
- R.type === "date-picker" ? (c(), z(v(_t), se({
574
+ R.type === "date-picker" ? (c(), z(v(Lt), se({
572
575
  key: 5,
573
576
  value: e.formData[R.key],
574
577
  "onUpdate:value": (oe) => e.formData[R.key] = oe
575
578
  }, { ref_for: !0 }, R.attrs), null, 16, ["value", "onUpdate:value"])) : V("", !0),
576
- R.type === "input-number" ? (c(), z(v(yt), se({
579
+ R.type === "input-number" ? (c(), z(v(_t), se({
577
580
  key: 6,
578
581
  value: e.formData[R.key],
579
582
  "onUpdate:value": (oe) => e.formData[R.key] = oe
580
583
  }, { ref_for: !0 }, R.attrs), null, 16, ["value", "onUpdate:value"])) : V("", !0),
581
- R.type === "radio" ? (c(), z(v(gt), se({
584
+ R.type === "radio" ? (c(), z(v(yt), se({
582
585
  key: 7,
583
586
  value: e.formData[R.key],
584
587
  "onUpdate:value": (oe) => e.formData[R.key] = oe
585
588
  }, { ref_for: !0 }, R.attrs), {
586
589
  default: p(() => [
587
- (c(!0), k(Q, null, ue(R.options, (oe, P) => (c(), z(v(vt), {
588
- key: P,
590
+ (c(!0), k(Q, null, ue(R.options, (oe, O) => (c(), z(v(gt), {
591
+ key: O,
589
592
  value: oe.value
590
593
  }, {
591
594
  default: p(() => [
@@ -596,7 +599,7 @@ const No = ne(Uo), Ro = {
596
599
  ]),
597
600
  _: 2
598
601
  }, 1040, ["value", "onUpdate:value"])) : V("", !0),
599
- R.type === "switch" ? (c(), z(v(ht), se({
602
+ R.type === "switch" ? (c(), z(v(vt), se({
600
603
  key: 8,
601
604
  checked: e.formData[R.key],
602
605
  "onUpdate:checked": (oe) => e.formData[R.key] = oe
@@ -625,7 +628,7 @@ const No = ne(Uo), Ro = {
625
628
  $(W, {
626
629
  type: "primary",
627
630
  class: "hb_list_page_button",
628
- onClick: O
631
+ onClick: P
629
632
  }, {
630
633
  icon: p(() => [
631
634
  $(v(Je))
@@ -767,7 +770,7 @@ const No = ne(Uo), Ro = {
767
770
  $(W, {
768
771
  type: "primary",
769
772
  class: "hb_list_page_button",
770
- onClick: O
773
+ onClick: P
771
774
  }, {
772
775
  icon: p(() => [
773
776
  $(v(Je))
@@ -910,7 +913,7 @@ const No = ne(Uo), Ro = {
910
913
  ], 64);
911
914
  };
912
915
  }
913
- }), qo = /* @__PURE__ */ le(jo, [["__scopeId", "data-v-f8f28ce4"]]), Yo = ne(qo), Ko = { class: "hb-lib-list-page-act-box" }, Go = { class: "hb-lib-list-page-breadcrumb" }, Jo = { class: "hb-lib-list-page-act" }, Xo = {
916
+ }), qo = /* @__PURE__ */ le(jo, [["__scopeId", "data-v-3a948f23"]]), Yo = ne(qo), Ko = { class: "hb-lib-list-page-act-box" }, Go = { class: "hb-lib-list-page-breadcrumb" }, Jo = { class: "hb-lib-list-page-act" }, Xo = {
914
917
  key: 0,
915
918
  t: "1757915338760",
916
919
  class: "icon",
@@ -938,7 +941,7 @@ const No = ne(Uo), Ro = {
938
941
  hideDomList: {}
939
942
  },
940
943
  setup(e) {
941
- const t = fe("globalCompConfig", {}), o = e, { isFullscreen: n, toggle: s } = jt(document.body);
944
+ const t = fe("globalCompConfig", {}), o = e, { isFullscreen: n, toggle: s } = qt(document.body);
942
945
  ae(
943
946
  () => n.value,
944
947
  (l) => {
@@ -964,7 +967,7 @@ const No = ne(Uo), Ro = {
964
967
  }
965
968
  );
966
969
  const a = D(""), r = () => {
967
- const l = ft();
970
+ const l = bt();
968
971
  let i = localStorage.getItem(t.HbLibListPageAct?.breadCrumbListKey || "BreadCrumb") || "[]", u = l?.path;
969
972
  if (i !== "[]") {
970
973
  let f = JSON.parse(i).find((b) => b.value === u);
@@ -1161,7 +1164,7 @@ const No = ne(Uo), Ro = {
1161
1164
  i && clearTimeout(i), i = setTimeout(() => {
1162
1165
  f();
1163
1166
  }, s);
1164
- }, O = () => {
1167
+ }, P = () => {
1165
1168
  window.addEventListener("resize", E), xe(() => {
1166
1169
  A(), H(), d = b();
1167
1170
  });
@@ -1177,7 +1180,7 @@ const No = ne(Uo), Ro = {
1177
1180
  },
1178
1181
  { deep: !0 }
1179
1182
  ), we(() => {
1180
- f(), O();
1183
+ f(), P();
1181
1184
  }), Ne(() => {
1182
1185
  y();
1183
1186
  }), {
@@ -1197,7 +1200,7 @@ const No = ne(Uo), Ro = {
1197
1200
  isUnFixTbHeight: { type: Boolean }
1198
1201
  },
1199
1202
  setup(e) {
1200
- const t = fe("globalCompConfig", {}), { isFullscreen: o } = jt(document.body), n = e, s = so("PageContainerRef"), a = S(
1203
+ const t = fe("globalCompConfig", {}), { isFullscreen: o } = qt(document.body), n = e, s = so("PageContainerRef"), a = S(
1201
1204
  () => n.offsetHeight || t.HbLibListPageContainer?.offsetHeight || 110
1202
1205
  ), r = S(
1203
1206
  () => n.offsetBottom || t.HbLibListPageContainer?.offsetBottom || 20
@@ -1269,7 +1272,7 @@ const No = ne(Uo), Ro = {
1269
1272
  }),
1270
1273
  emits: /* @__PURE__ */ lt(["update:value", "update:searchValue", "change", "confirm", "cancel", "search"], ["update:value"]),
1271
1274
  setup(e, { emit: t }) {
1272
- const o = e, n = t, s = Nt(e, "value"), a = D(!1), r = D(""), d = D([]), l = D(), i = S(() => {
1275
+ const o = e, n = t, s = Rt(e, "value"), a = D(!1), r = D(""), d = D([]), l = D(), i = S(() => {
1273
1276
  if (o.remoteSearch || !r.value) return o.options;
1274
1277
  const L = r.value.toLowerCase();
1275
1278
  return o.options.filter(
@@ -1306,11 +1309,11 @@ const No = ne(Uo), Ro = {
1306
1309
  }, 100));
1307
1310
  }, H = D([]), E = () => {
1308
1311
  d.value = [...H.value], a.value = !1, n("cancel");
1309
- }, O = D([]), y = () => {
1312
+ }, P = D([]), y = () => {
1310
1313
  const L = o.multiple ? d.value : d.value[0] || "", F = o.options.filter(
1311
1314
  (I) => d.value.includes(I.value)
1312
1315
  );
1313
- O.value = F, H.value = [...d.value], s.value = L, n("update:value", L), n("change", L, F), n("confirm", L, F), a.value = !1;
1316
+ P.value = F, H.value = [...d.value], s.value = L, n("update:value", L), n("change", L, F), n("confirm", L, F), a.value = !1;
1314
1317
  }, _ = So((L) => {
1315
1318
  const F = L !== void 0 ? L : r.value;
1316
1319
  o.remoteSearch && (n("search", F), n("update:searchValue", F));
@@ -1503,7 +1506,7 @@ const No = ne(Uo), Ro = {
1503
1506
  u.value.forEach((g) => {
1504
1507
  I = I + g[n.labelKey] + ",";
1505
1508
  }), r.value = I.substring(0, I.length - 1), a.value = !1, s("handleConfirm", u.value);
1506
- }, O = () => {
1509
+ }, P = () => {
1507
1510
  a.value = !1;
1508
1511
  }, y = () => {
1509
1512
  a.value = !0, xe(() => {
@@ -1556,7 +1559,7 @@ const No = ne(Uo), Ro = {
1556
1559
  ]),
1557
1560
  _: 1
1558
1561
  }),
1559
- $(h, { onClick: O }, {
1562
+ $(h, { onClick: P }, {
1560
1563
  default: p(() => [
1561
1564
  N(C(I.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
1562
1565
  ]),
@@ -1658,19 +1661,19 @@ const No = ne(Uo), Ro = {
1658
1661
  buttonDisplaysQuantity: {}
1659
1662
  },
1660
1663
  setup(e, { expose: t }) {
1661
- const o = e, { t: n } = me(), s = D(!1), a = D(!1), r = D(null), d = S(() => o.actions.filter((O) => O.condition !== void 0 ? O.condition : !0)), l = S(() => d.value.slice(0, o.buttonDisplaysQuantity)), i = S(() => u(d.value.slice(o.buttonDisplaysQuantity)));
1662
- function u(O) {
1664
+ const o = e, { t: n } = me(), s = D(!1), a = D(!1), r = D(null), d = S(() => o.actions.filter((P) => P.condition !== void 0 ? P.condition : !0)), l = S(() => d.value.slice(0, o.buttonDisplaysQuantity)), i = S(() => u(d.value.slice(o.buttonDisplaysQuantity)));
1665
+ function u(P) {
1663
1666
  if (o.filterPermission)
1664
- return o.filterPermission(O);
1667
+ return o.filterPermission(P);
1665
1668
  let y = [], _ = [];
1666
- return y = JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH") || "[]"), !Array.isArray(y) || O.length === 0 ? (y = [], []) : (y = y.filter((T) => T.type != "2"), O.forEach((T) => {
1669
+ return y = JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH") || "[]"), !Array.isArray(y) || P.length === 0 ? (y = [], []) : (y = y.filter((T) => T.type != "2"), P.forEach((T) => {
1667
1670
  (!T.permissionsTag || y.findIndex((M) => M.action === T.permissionsTag) !== -1) && _.push(T);
1668
1671
  }), _);
1669
1672
  }
1670
- const f = (O) => {
1671
- O.handler && O.handler(o.record);
1672
- }, b = (O) => {
1673
- r.value = O, s.value = !0;
1673
+ const f = (P) => {
1674
+ P.handler && P.handler(o.record);
1675
+ }, b = (P) => {
1676
+ r.value = P, s.value = !0;
1674
1677
  }, A = () => {
1675
1678
  if (r.value) {
1676
1679
  a.value = !0;
@@ -1690,14 +1693,14 @@ const No = ne(Uo), Ro = {
1690
1693
  content: n("hbLibComp.hbTableAct.confirmContent")
1691
1694
  });
1692
1695
  return t({
1693
- ADropdown: Tt,
1694
- AMenu: xt,
1695
- AMenuItem: St,
1696
+ ADropdown: Ft,
1697
+ AMenu: Tt,
1698
+ AMenuItem: xt,
1696
1699
  APopconfirm: tt,
1697
1700
  AModal: at,
1698
1701
  DownOutlined: ct
1699
- }), (O, y) => {
1700
- const _ = j("a-divider"), T = Rt("has");
1702
+ }), (P, y) => {
1703
+ const _ = j("a-divider"), T = Et("has");
1701
1704
  return c(), k("div", Bn, [
1702
1705
  (c(!0), k(Q, null, ue(l.value, (M, L) => (c(), k(Q, { key: L }, [
1703
1706
  M.needConfirm ? (c(), k(Q, { key: 0 }, [
@@ -1735,7 +1738,7 @@ const No = ne(Uo), Ro = {
1735
1738
  })) : V("", !0)
1736
1739
  ], 64))
1737
1740
  ], 64)) : M.slot ? (c(), k(Q, { key: 1 }, [
1738
- q(O.$slots, M.slot, { item: M }, void 0, !0),
1741
+ q(P.$slots, M.slot, { item: M }, void 0, !0),
1739
1742
  i.value && i.value.length > 0 || L !== l.value.length - 1 ? (c(), z(_, {
1740
1743
  key: 0,
1741
1744
  type: "vertical"
@@ -1758,11 +1761,11 @@ const No = ne(Uo), Ro = {
1758
1761
  ]) : V("", !0)
1759
1762
  ], 64))
1760
1763
  ], 64))), 128)),
1761
- i.value && i.value.length > 0 ? (c(), z(v(Tt), { key: 0 }, {
1764
+ i.value && i.value.length > 0 ? (c(), z(v(Ft), { key: 0 }, {
1762
1765
  overlay: p(() => [
1763
- $(v(xt), null, {
1766
+ $(v(Tt), null, {
1764
1767
  default: p(() => [
1765
- (c(!0), k(Q, null, ue(i.value, (M, L) => ye((c(), z(v(St), { key: L }, {
1768
+ (c(!0), k(Q, null, ue(i.value, (M, L) => ye((c(), z(v(xt), { key: L }, {
1766
1769
  default: p(() => [
1767
1770
  M.needConfirm ? (c(), k(Q, { key: 0 }, [
1768
1771
  M.confirmType === "modal" ? ye((c(), k("a", {
@@ -1809,7 +1812,7 @@ const No = ne(Uo), Ro = {
1809
1812
  ]),
1810
1813
  default: p(() => [
1811
1814
  m("a", Pn, [
1812
- N(C(O.$t("hbLibComp.hbTableAct.more")) + " ", 1),
1815
+ N(C(P.$t("hbLibComp.hbTableAct.more")) + " ", 1),
1813
1816
  $(v(ct), { style: { "font-size": "12px", "margin-left": "4px" } })
1814
1817
  ])
1815
1818
  ]),
@@ -1830,7 +1833,7 @@ const No = ne(Uo), Ro = {
1830
1833
  ]);
1831
1834
  };
1832
1835
  }
1833
- }), Vn = /* @__PURE__ */ le(zn, [["__scopeId", "data-v-25fd055e"]]), Wn = ne(Vn), Ht = (e) => ({ tableWidth: S(() => {
1836
+ }), Vn = /* @__PURE__ */ le(zn, [["__scopeId", "data-v-25fd055e"]]), Wn = ne(Vn), $t = (e) => ({ tableWidth: S(() => {
1834
1837
  const o = Array.isArray(e) ? e : e.value;
1835
1838
  return !o || o.length === 0 ? 0 : o.map((n) => n.width && Number(n.width.toString().replace("px", "")) || 0).reduce((n, s) => n + s, 0);
1836
1839
  }) });
@@ -1849,9 +1852,9 @@ var Jn = Object.prototype, Xn = Jn.toString;
1849
1852
  function Qn(e) {
1850
1853
  return Xn.call(e);
1851
1854
  }
1852
- var Zn = "[object Null]", el = "[object Undefined]", $t = Xe ? Xe.toStringTag : void 0;
1855
+ var Zn = "[object Null]", el = "[object Undefined]", It = Xe ? Xe.toStringTag : void 0;
1853
1856
  function tl(e) {
1854
- return e == null ? e === void 0 ? el : Zn : $t && $t in Object(e) ? Gn(e) : Qn(e);
1857
+ return e == null ? e === void 0 ? el : Zn : It && It in Object(e) ? Gn(e) : Qn(e);
1855
1858
  }
1856
1859
  function ol(e) {
1857
1860
  return e != null && typeof e == "object";
@@ -1870,25 +1873,25 @@ var sl = /^\s+/;
1870
1873
  function rl(e) {
1871
1874
  return e && e.slice(0, il(e) + 1).replace(sl, "");
1872
1875
  }
1873
- function dt(e) {
1876
+ function ut(e) {
1874
1877
  var t = typeof e;
1875
1878
  return e != null && (t == "object" || t == "function");
1876
1879
  }
1877
- var It = NaN, cl = /^[-+]0x[0-9a-f]+$/i, dl = /^0b[01]+$/i, ul = /^0o[0-7]+$/i, fl = parseInt;
1878
- function Mt(e) {
1880
+ var Mt = NaN, cl = /^[-+]0x[0-9a-f]+$/i, dl = /^0b[01]+$/i, ul = /^0o[0-7]+$/i, fl = parseInt;
1881
+ function Bt(e) {
1879
1882
  if (typeof e == "number")
1880
1883
  return e;
1881
1884
  if (ll(e))
1882
- return It;
1883
- if (dt(e)) {
1885
+ return Mt;
1886
+ if (ut(e)) {
1884
1887
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
1885
- e = dt(t) ? t + "" : t;
1888
+ e = ut(t) ? t + "" : t;
1886
1889
  }
1887
1890
  if (typeof e != "string")
1888
1891
  return e === 0 ? e : +e;
1889
1892
  e = rl(e);
1890
1893
  var o = dl.test(e);
1891
- return o || ul.test(e) ? fl(e.slice(2), o ? 2 : 8) : cl.test(e) ? It : +e;
1894
+ return o || ul.test(e) ? fl(e.slice(2), o ? 2 : 8) : cl.test(e) ? Mt : +e;
1892
1895
  }
1893
1896
  var ot = function() {
1894
1897
  return Yt.Date.now();
@@ -1897,7 +1900,7 @@ function Gt(e, t, o) {
1897
1900
  var n, s, a, r, d, l, i = 0, u = !1, f = !1, b = !0;
1898
1901
  if (typeof e != "function")
1899
1902
  throw new TypeError(bl);
1900
- t = Mt(t) || 0, dt(o) && (u = !!o.leading, f = "maxWait" in o, a = f ? pl(Mt(o.maxWait) || 0, t) : a, b = "trailing" in o ? !!o.trailing : b);
1903
+ t = Bt(t) || 0, ut(o) && (u = !!o.leading, f = "maxWait" in o, a = f ? pl(Bt(o.maxWait) || 0, t) : a, b = "trailing" in o ? !!o.trailing : b);
1901
1904
  function A(F) {
1902
1905
  var I = n, g = s;
1903
1906
  return n = s = void 0, i = F, r = e.apply(g, I), r;
@@ -1909,13 +1912,13 @@ function Gt(e, t, o) {
1909
1912
  var I = F - l, g = F - i, w = t - I;
1910
1913
  return f ? ml(w, a - g) : w;
1911
1914
  }
1912
- function O(F) {
1915
+ function P(F) {
1913
1916
  var I = F - l, g = F - i;
1914
1917
  return l === void 0 || I >= t || I < 0 || f && g >= a;
1915
1918
  }
1916
1919
  function y() {
1917
1920
  var F = ot();
1918
- if (O(F))
1921
+ if (P(F))
1919
1922
  return _(F);
1920
1923
  d = setTimeout(y, E(F));
1921
1924
  }
@@ -1929,7 +1932,7 @@ function Gt(e, t, o) {
1929
1932
  return d === void 0 ? r : _(ot());
1930
1933
  }
1931
1934
  function L() {
1932
- var F = ot(), I = O(F);
1935
+ var F = ot(), I = P(F);
1933
1936
  if (n = arguments, s = this, l = F, I) {
1934
1937
  if (d === void 0)
1935
1938
  return H(l);
@@ -1955,7 +1958,7 @@ const hl = {
1955
1958
  },
1956
1959
  emits: ["change", "resizeCol"],
1957
1960
  setup(e, { emit: t }) {
1958
- const o = fe("globalCompConfig", {}), n = t, { t: s } = me(), a = e, r = D([]), d = fe("HB_LIST_PAGE_CONTAINER"), { tableWidth: l } = Ht(r), i = D(l.value), u = S(() => a.isUnFixTbHeight || o.HbLibListPageContainer?.isUnFixTbHeight || !1);
1961
+ const o = fe("globalCompConfig", {}), n = t, { t: s } = me(), a = e, r = D([]), d = fe("HB_LIST_PAGE_CONTAINER"), { tableWidth: l } = $t(r), i = D(l.value), u = S(() => a.isUnFixTbHeight || o.HbLibListPageContainer?.isUnFixTbHeight || !1);
1959
1962
  ae(
1960
1963
  () => a.columns,
1961
1964
  (y) => {
@@ -1978,7 +1981,7 @@ const hl = {
1978
1981
  }
1979
1982
  return L.resizable === void 0 && (L.resizable = !0), L;
1980
1983
  });
1981
- const { tableWidth: T } = Ht(r);
1984
+ const { tableWidth: T } = $t(r);
1982
1985
  i.value = T.value;
1983
1986
  },
1984
1987
  {
@@ -1997,7 +2000,7 @@ const hl = {
1997
2000
  }
1998
2001
  }, A = (y, _, T) => {
1999
2002
  y?.current && n("change", y, _, T);
2000
- }, H = (y, _ = "YYYY-MM-DD HH:mm:ss") => y ? Ze(y).format(_) : "", E = (y, _) => y && _[y] || "", O = (y, _ = o.listTable?.ellipsisNumber || 20) => y ? y.length > _ ? `${y.substring(0, _)}...` : y : "";
2003
+ }, H = (y, _ = "YYYY-MM-DD HH:mm:ss") => y ? Ze(y).format(_) : "", E = (y, _) => y && _[y] || "", P = (y, _ = o.listTable?.ellipsisNumber || 20) => y ? y.length > _ ? `${y.substring(0, _)}...` : y : "";
2001
2004
  return (y, _) => {
2002
2005
  const T = j("a-empty"), M = j("a-tooltip"), L = j("HbLibCopy"), F = j("a-tag"), I = j("a-table");
2003
2006
  return c(), k("div", {
@@ -2074,7 +2077,7 @@ const hl = {
2074
2077
  N(C(w[g.dataIndex]), 1)
2075
2078
  ]),
2076
2079
  default: p(() => [
2077
- N(" " + C(O(
2080
+ N(" " + C(P(
2078
2081
  w[g.dataIndex],
2079
2082
  g.strLen
2080
2083
  )), 1)
@@ -2239,19 +2242,19 @@ const hl = {
2239
2242
  return typeof w == "string" ? w : g.titleText || g.title2;
2240
2243
  }
2241
2244
  return g.title || g.title2;
2242
- }, O = (g) => g.map((w) => ({
2245
+ }, P = (g) => g.map((w) => ({
2243
2246
  ...w,
2244
2247
  label: E(w),
2245
2248
  value: w.dataIndex,
2246
2249
  checked: w.checked || w.checked === void 0
2247
2250
  })), y = () => {
2248
- a.value = O(s.localColumns), l.value = [...a.value];
2251
+ a.value = P(s.localColumns), l.value = [...a.value];
2249
2252
  }, _ = (g, w) => {
2250
2253
  w ? g.checked = !0 : g.checked = !1;
2251
2254
  }, T = () => {
2252
2255
  a.value = [...l.value], o("on-get-columns", a.value), d.value = !1;
2253
2256
  }, M = () => {
2254
- a.value = O(s.tableColumns), l.value = [...a.value];
2257
+ a.value = P(s.tableColumns), l.value = [...a.value];
2255
2258
  }, L = (g) => g.children[0].text, F = (g) => {
2256
2259
  delete g.fixed;
2257
2260
  const w = l.value.findIndex(
@@ -2495,7 +2498,7 @@ const hl = {
2495
2498
  ...H,
2496
2499
  dropdownClassName: E ?? "hb_lib_form_tooltip_select__dropdown"
2497
2500
  };
2498
- }), a = D(), r = Nt(e, "value"), d = S(() => o.options ?? []), l = S(() => ({
2501
+ }), a = D(), r = Rt(e, "value"), d = S(() => o.options ?? []), l = S(() => ({
2499
2502
  maxWidth: typeof o.tooltipMaxWidth == "number" ? `${o.tooltipMaxWidth}px` : o.tooltipMaxWidth
2500
2503
  })), i = (H) => H.tooltip ?? H.label, u = (H) => H.key ?? H.label, f = (H) => !!(o.enableTooltip && i(H));
2501
2504
  return t({
@@ -2511,32 +2514,32 @@ const hl = {
2511
2514
  ref: a
2512
2515
  }, s.value, {
2513
2516
  value: r.value,
2514
- "onUpdate:value": E[0] || (E[0] = (O) => r.value = O),
2517
+ "onUpdate:value": E[0] || (E[0] = (P) => r.value = P),
2515
2518
  class: "hb_lib_form_tooltip_select"
2516
2519
  }), {
2517
2520
  default: p(() => [
2518
- H.$slots.default ? q(H.$slots, "default", { key: 0 }, void 0, !0) : (c(!0), k(Q, { key: 1 }, ue(d.value, (O) => (c(), z(v(rt), se({
2519
- key: u(O),
2520
- value: O.value,
2521
- disabled: O.disabled
2522
- }, { ref_for: !0 }, O.optionProps), {
2521
+ H.$slots.default ? q(H.$slots, "default", { key: 0 }, void 0, !0) : (c(!0), k(Q, { key: 1 }, ue(d.value, (P) => (c(), z(v(rt), se({
2522
+ key: u(P),
2523
+ value: P.value,
2524
+ disabled: P.disabled
2525
+ }, { ref_for: !0 }, P.optionProps), {
2523
2526
  default: p(() => [
2524
- f(O) ? (c(), z(v(Ke), {
2527
+ f(P) ? (c(), z(v(Ke), {
2525
2528
  key: 0,
2526
- title: i(O),
2529
+ title: i(P),
2527
2530
  placement: o.tooltipPlacement,
2528
2531
  "overlay-style": l.value
2529
2532
  }, {
2530
2533
  default: p(() => [
2531
2534
  m("span", {
2532
2535
  class: J(["hb_lib_form_tooltip_select__option", { "is-ellipsis": o.enableEllipsis }])
2533
- }, C(O.label), 3)
2536
+ }, C(P.label), 3)
2534
2537
  ]),
2535
2538
  _: 2
2536
2539
  }, 1032, ["title", "placement", "overlay-style"])) : (c(), k("span", {
2537
2540
  key: 1,
2538
2541
  class: J(["hb_lib_form_tooltip_select__option", { "is-ellipsis": o.enableEllipsis }])
2539
- }, C(O.label), 3))
2542
+ }, C(P.label), 3))
2540
2543
  ]),
2541
2544
  _: 2
2542
2545
  }, 1040, ["value", "disabled"]))), 128))
@@ -2592,7 +2595,7 @@ const hl = {
2592
2595
  // 注意这里如果要想直接导出的数据是响应式 只能用ref来定义
2593
2596
  confirmLoading: a
2594
2597
  }), (b, A) => {
2595
- const H = j("a-upload-dragger"), E = j("a-form-item"), O = j("a-form"), y = j("a-modal"), _ = j("a-button");
2598
+ const H = j("a-upload-dragger"), E = j("a-form-item"), P = j("a-form"), y = j("a-modal"), _ = j("a-button");
2596
2599
  return c(), k(Q, null, [
2597
2600
  $(y, se({
2598
2601
  visible: r.visible,
@@ -2605,7 +2608,7 @@ const hl = {
2605
2608
  onOk: u
2606
2609
  }), {
2607
2610
  default: p(() => [
2608
- $(O, {
2611
+ $(P, {
2609
2612
  ref_key: "modalFormRef",
2610
2613
  ref: n,
2611
2614
  model: r
@@ -2745,7 +2748,7 @@ const hl = {
2745
2748
  f.list = [], f.pagination.current = 1, f.pagination.total = 0, y("update:visible", !1);
2746
2749
  }, E = () => {
2747
2750
  y("update:visible", !0);
2748
- }, O = (_, T = "YYYY-MM-DD HH:mm:ss") => _ ? Ze(_).format(T) : "", y = o;
2751
+ }, P = (_, T = "YYYY-MM-DD HH:mm:ss") => _ ? Ze(_).format(T) : "", y = o;
2749
2752
  return ae(
2750
2753
  () => a.visible,
2751
2754
  (_) => {
@@ -2806,7 +2809,7 @@ const hl = {
2806
2809
  }, null, 8, ["cp-text"])
2807
2810
  ], 64)) : V("", !0),
2808
2811
  w && w.needFormat ? (c(), k(Q, { key: 2 }, [
2809
- N(C(O(
2812
+ N(C(P(
2810
2813
  h[w.dataIndex],
2811
2814
  w.operateTime
2812
2815
  )), 1)
@@ -3142,7 +3145,7 @@ const hl = {
3142
3145
  }, n?.HbLibDetailBox?.setValuetimeOut));
3143
3146
  }), Ne(() => {
3144
3147
  H && clearTimeout(H);
3145
- }), (E, O) => {
3148
+ }), (E, P) => {
3146
3149
  const y = j("RollbackOutlined"), _ = j("a-divider"), T = j("a-spin");
3147
3150
  return c(), z(T, { spinning: e.spinning }, {
3148
3151
  default: p(() => [
@@ -3167,7 +3170,7 @@ const hl = {
3167
3170
  $(_, { type: "vertical" }),
3168
3171
  m("span", null, C(e.stickyTitle), 1)
3169
3172
  ]),
3170
- O[0] || (O[0] = m("div", { class: "hb_detail_top_act_right" }, null, -1))
3173
+ P[0] || (P[0] = m("div", { class: "hb_detail_top_act_right" }, null, -1))
3171
3174
  ], 2)) : V("", !0),
3172
3175
  e.needTotalInfoBox ? (c(), k("div", va, [
3173
3176
  m("div", ga, [
@@ -3200,13 +3203,13 @@ const hl = {
3200
3203
  q(E.$slots, "detailContent", {}, void 0, !0)
3201
3204
  ])
3202
3205
  ]),
3203
- $(v(Vt), {
3206
+ $(v(Wt), {
3204
3207
  target: d,
3205
3208
  style: ce({ bottom: a.value + "px" })
3206
3209
  }, {
3207
3210
  default: p(() => [
3208
3211
  m("div", Ta, [
3209
- $(v(Wt))
3212
+ $(v(jt))
3210
3213
  ])
3211
3214
  ]),
3212
3215
  _: 1
@@ -3295,7 +3298,7 @@ const hl = {
3295
3298
  }), Qe(() => {
3296
3299
  d && d.disconnect();
3297
3300
  }), (l, i) => {
3298
- const u = j("a-button"), f = j("a-space"), b = j("a-affix"), A = Rt("has");
3301
+ const u = j("a-button"), f = j("a-space"), b = j("a-affix"), A = Et("has");
3299
3302
  return c(), k("div", {
3300
3303
  class: "footer-affix-wrapper",
3301
3304
  style: ce({ "--pageHeaderOrFonterLeft": s.value + "px" })
@@ -3397,31 +3400,31 @@ const hl = {
3397
3400
  overflowY: "auto",
3398
3401
  padding: "0 6px",
3399
3402
  ...s.bodyStyle
3400
- })), { x: u, y: f, isDragging: b } = Fo(r), A = D(0), H = D(0), E = D(!1), O = D(0), y = D(0), _ = D(0), T = D(0), M = D({ left: 0, right: 0, top: 0, bottom: 0 });
3403
+ })), { x: u, y: f, isDragging: b } = Fo(r), A = D(0), H = D(0), E = D(!1), P = D(0), y = D(0), _ = D(0), T = D(0), M = D({ left: 0, right: 0, top: 0, bottom: 0 });
3401
3404
  let L = null;
3402
3405
  const F = () => {
3403
- O.value = 0, y.value = 0, _.value = 0, T.value = 0, E.value = !1;
3406
+ P.value = 0, y.value = 0, _.value = 0, T.value = 0, E.value = !1;
3404
3407
  };
3405
3408
  ae(a, (h) => {
3406
3409
  h ? setTimeout(() => {
3407
3410
  F();
3408
3411
  }, 50) : (L && clearTimeout(L), L = setTimeout(() => {
3409
- O.value = 0, y.value = 0, _.value = 0, T.value = 0;
3412
+ P.value = 0, y.value = 0, _.value = 0, T.value = 0;
3410
3413
  }, 300));
3411
3414
  }), ae([u, f], () => {
3412
3415
  if (!E.value) {
3413
3416
  A.value = u.value, H.value = f.value;
3414
3417
  const h = document.body.getBoundingClientRect(), x = r.value.getBoundingClientRect();
3415
- M.value.right = h.width - x.width, M.value.bottom = h.height - x.height, _.value = O.value, T.value = y.value;
3418
+ M.value.right = h.width - x.width, M.value.bottom = h.height - x.height, _.value = P.value, T.value = y.value;
3416
3419
  }
3417
3420
  E.value = !0;
3418
3421
  }), ae(b, () => {
3419
3422
  b || (E.value = !1);
3420
- }), Et(() => {
3421
- E.value && (O.value = _.value + Math.min(Math.max(M.value.left, u.value), M.value.right) - A.value, y.value = T.value + Math.min(Math.max(M.value.top, f.value), M.value.bottom) - H.value);
3423
+ }), zt(() => {
3424
+ E.value && (P.value = _.value + Math.min(Math.max(M.value.left, u.value), M.value.right) - A.value, y.value = T.value + Math.min(Math.max(M.value.top, f.value), M.value.bottom) - H.value);
3422
3425
  });
3423
3426
  const I = S(() => ({
3424
- transform: `translate(${O.value}px, ${y.value}px)`
3427
+ transform: `translate(${P.value}px, ${y.value}px)`
3425
3428
  })), g = () => {
3426
3429
  n("cancel");
3427
3430
  }, w = () => {
@@ -3460,7 +3463,7 @@ const hl = {
3460
3463
  key: a.value,
3461
3464
  style: ce(I.value)
3462
3465
  }, [
3463
- (c(), z(zt(ee)))
3466
+ (c(), z(Vt(ee)))
3464
3467
  ], 4))
3465
3468
  ]),
3466
3469
  default: p(() => [
@@ -3546,13 +3549,13 @@ const hl = {
3546
3549
  r.$slots.editFooter ? (c(), k("div", Ra, [
3547
3550
  q(r.$slots, "editFooter", {}, void 0, !0)
3548
3551
  ])) : V("", !0),
3549
- $(v(Vt), {
3552
+ $(v(Wt), {
3550
3553
  target: n,
3551
3554
  style: ce({ bottom: a.value + "px" })
3552
3555
  }, {
3553
3556
  default: p(() => [
3554
3557
  m("div", Ea, [
3555
- $(v(Wt))
3558
+ $(v(jt))
3556
3559
  ])
3557
3560
  ]),
3558
3561
  _: 1
@@ -3580,16 +3583,16 @@ const hl = {
3580
3583
  }
3581
3584
  },
3582
3585
  setup(e) {
3583
- const { t } = me(), o = e, n = ft(), s = D(0), a = S(() => n?.meta?.title || "");
3586
+ const { t } = me(), o = e, n = bt(), s = D(0), a = S(() => n?.meta?.title || "");
3584
3587
  function r(b, A = "offsetHeight") {
3585
3588
  let H = 0;
3586
- return (Array.isArray(b) ? b : [b]).forEach((O) => {
3589
+ return (Array.isArray(b) ? b : [b]).forEach((P) => {
3587
3590
  let y = [];
3588
- if (O.startsWith("#")) {
3589
- const _ = document.getElementById(O.slice(1));
3591
+ if (P.startsWith("#")) {
3592
+ const _ = document.getElementById(P.slice(1));
3590
3593
  _ && y.push(_);
3591
3594
  } else
3592
- y = Array.from(document.getElementsByClassName(O));
3595
+ y = Array.from(document.getElementsByClassName(P));
3593
3596
  y.forEach((_) => {
3594
3597
  H += _[A] || 0;
3595
3598
  });
@@ -3698,7 +3701,7 @@ const hl = {
3698
3701
  props: Xa,
3699
3702
  setup(e) {
3700
3703
  const t = e, o = D();
3701
- Et(() => {
3704
+ zt(() => {
3702
3705
  o.value = t.data;
3703
3706
  });
3704
3707
  const n = S(() => t.tooltipTitle || "复制"), s = S(() => t.copySuccessTip || "复制成功"), a = S(() => t.copyFailTip || "复制失败"), r = S(() => {
@@ -3823,7 +3826,7 @@ const hl = {
3823
3826
  immediate: !0
3824
3827
  }
3825
3828
  );
3826
- const s = bt("drag"), a = t, r = (u) => {
3829
+ const s = pt("drag"), a = t, r = (u) => {
3827
3830
  a("handleDragStart", u);
3828
3831
  }, d = (u) => {
3829
3832
  a("handleDragEnd", u);
@@ -3849,7 +3852,7 @@ const hl = {
3849
3852
  onRemove: i
3850
3853
  }), {
3851
3854
  item: p(({ element: b }) => [
3852
- (c(), z(zt(b.component)))
3855
+ (c(), z(Vt(b.component)))
3853
3856
  ]),
3854
3857
  _: 1
3855
3858
  }, 16, ["modelValue", "class", "ghost-class"])) : (c(), z(v(Ye), se({
@@ -4045,7 +4048,7 @@ const hl = {
4045
4048
  () => u().then((B) => B.default)
4046
4049
  ), E = ze(
4047
4050
  () => f().then((B) => B.default)
4048
- ), O = /* @__PURE__ */ new Set([
4051
+ ), P = /* @__PURE__ */ new Set([
4049
4052
  "png",
4050
4053
  "jpg",
4051
4054
  "jpeg",
@@ -4062,7 +4065,7 @@ const hl = {
4062
4065
  function _(B, X) {
4063
4066
  if (B == null || B === "") return "unknown";
4064
4067
  const Z = X && y(X) || (typeof B == "string" ? y(B) : "");
4065
- return !Z && (B instanceof ArrayBuffer || B instanceof Blob) ? "unknown" : Z === "docx" ? "docx" : Z === "xlsx" || Z === "xls" ? "excel" : Z === "pdf" ? "pdf" : Z === "pptx" ? "pptx" : O.has(Z) ? "image" : "unknown";
4068
+ return !Z && (B instanceof ArrayBuffer || B instanceof Blob) ? "unknown" : Z === "docx" ? "docx" : Z === "xlsx" || Z === "xls" ? "excel" : Z === "pdf" ? "pdf" : Z === "pptx" ? "pptx" : P.has(Z) ? "image" : "unknown";
4066
4069
  }
4067
4070
  const T = S(() => n.fileList?.length ?? 0), M = S(() => T.value > 0 && n.fileList != null), L = S(() => {
4068
4071
  if (!M.value) return 0;
@@ -4109,7 +4112,7 @@ const hl = {
4109
4112
  function oe() {
4110
4113
  R.value && s("update:fileIndex", L.value - 1);
4111
4114
  }
4112
- function P() {
4115
+ function O() {
4113
4116
  Ie.value && s("update:fileIndex", L.value + 1);
4114
4117
  }
4115
4118
  const K = S(() => {
@@ -4239,10 +4242,10 @@ const hl = {
4239
4242
  function Ee(B) {
4240
4243
  s("error", B ?? new Error("office preview error"));
4241
4244
  }
4242
- function pt() {
4245
+ function mt() {
4243
4246
  s("rendered");
4244
4247
  }
4245
- function mt(B) {
4248
+ function ht(B) {
4246
4249
  s("error", B);
4247
4250
  }
4248
4251
  return t({
@@ -4259,7 +4262,7 @@ const hl = {
4259
4262
  /** 上一个 */
4260
4263
  goPrev: oe,
4261
4264
  /** 下一个 */
4262
- goNext: P,
4265
+ goNext: O,
4263
4266
  /** 下载 */
4264
4267
  download: Me,
4265
4268
  /** 关闭 */
@@ -4299,7 +4302,7 @@ const hl = {
4299
4302
  ve.value ? (c(), z(Z, {
4300
4303
  key: 1,
4301
4304
  disabled: !Ie.value,
4302
- onClick: P
4305
+ onClick: O
4303
4306
  }, {
4304
4307
  default: p(() => [
4305
4308
  N(C(v(a)("hbLibComp.HbFilePreview.next")), 1)
@@ -4346,8 +4349,8 @@ const hl = {
4346
4349
  src: _e.value,
4347
4350
  class: "file-preview__image",
4348
4351
  alt: "",
4349
- onLoad: pt,
4350
- onError: mt
4352
+ onLoad: mt,
4353
+ onError: ht
4351
4354
  }, null, 40, vi)) : w.value === "docx" ? (c(), z(v(b), {
4352
4355
  key: `docx-${W.value}`,
4353
4356
  src: h.value,
@@ -4399,8 +4402,8 @@ const hl = {
4399
4402
  src: _e.value,
4400
4403
  class: "file-preview__image",
4401
4404
  alt: "",
4402
- onLoad: pt,
4403
- onError: mt
4405
+ onLoad: mt,
4406
+ onError: ht
4404
4407
  }, null, 40, Li)) : (c(), k("iframe", {
4405
4408
  key: 3,
4406
4409
  src: x.value,
@@ -4521,9 +4524,9 @@ function eo(e, t = "font", o) {
4521
4524
  const H = $i(
4522
4525
  o?.symbolIdScope,
4523
4526
  f
4524
- ), E = Ii(A, H), { prefix: O, names: y } = Ai(E);
4527
+ ), E = Ii(A, H), { prefix: P, names: y } = Ai(E);
4525
4528
  if (await Pi(E, f, H), u !== d) return;
4526
- r.value = "symbol", n.value = "", s.value = O, a.value = y;
4529
+ r.value = "symbol", n.value = "", s.value = P, a.value = y;
4527
4530
  } catch (b) {
4528
4531
  console.error(
4529
4532
  "[HbLibIcon] 加载 iconfont Symbol 失败:",
@@ -4536,9 +4539,9 @@ function eo(e, t = "font", o) {
4536
4539
  try {
4537
4540
  const A = await (await fetch(f)).text();
4538
4541
  Oi(A, "hb-iconfont-" + f);
4539
- const { baseClass: H, prefix: E, names: O } = Di(A);
4542
+ const { baseClass: H, prefix: E, names: P } = Di(A);
4540
4543
  if (u !== d) return;
4541
- r.value = "font", n.value = H, s.value = E, a.value = O;
4544
+ r.value = "font", n.value = H, s.value = E, a.value = P;
4542
4545
  } catch (b) {
4543
4546
  console.error(
4544
4547
  "[HbLibIcon] 加载 iconfont CSS 失败:",
@@ -4608,14 +4611,14 @@ const Ui = { class: "hb-icon-list" }, Ni = ["onClick"], Ri = {
4608
4611
  ], !0)
4609
4612
  ]));
4610
4613
  }
4611
- }), ut = /* @__PURE__ */ le(Vi, [["__scopeId", "data-v-1ac4c7e7"]]), to = ut;
4614
+ }), ft = /* @__PURE__ */ le(Vi, [["__scopeId", "data-v-1ac4c7e7"]]), to = ft;
4612
4615
  to.install = (e, t) => {
4613
4616
  e.provide(Qt, {
4614
4617
  cssUrl: t?.cssUrl ?? Xt,
4615
4618
  mode: t?.mode ?? "font"
4616
4619
  });
4617
- const o = ut.name ?? "HbLibIconList";
4618
- e.component(o, ut);
4620
+ const o = ft.name ?? "HbLibIconList";
4621
+ e.component(o, ft);
4619
4622
  };
4620
4623
  const Wi = {
4621
4624
  key: 1,
@@ -4720,13 +4723,13 @@ const Wi = {
4720
4723
  HbLibUnDetailBox: Wa,
4721
4724
  HbUiConfig: Zl
4722
4725
  }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ new Map();
4723
- let Bt;
4724
- Ho && (document.addEventListener("mousedown", (e) => Bt = e), document.addEventListener("mouseup", (e) => {
4726
+ let Dt;
4727
+ Ho && (document.addEventListener("mousedown", (e) => Dt = e), document.addEventListener("mouseup", (e) => {
4725
4728
  for (const t of ke.values())
4726
4729
  for (const { documentHandler: o } of t)
4727
- o(e, Bt);
4730
+ o(e, Dt);
4728
4731
  }));
4729
- function Dt(e, t) {
4732
+ function At(e, t) {
4730
4733
  let o = [];
4731
4734
  return Array.isArray(t.arg) ? o = t.arg : t.arg instanceof HTMLElement && o.push(t.arg), function(n, s) {
4732
4735
  const a = t.instance.popperRef, r = n.target, d = s?.target, l = !t || !t.instance, i = !r || !d, u = e.contains(r) || e.contains(d), f = e === r, b = o.length && o.some((H) => H?.contains(r)) || o.length && o.includes(d), A = a && (a.contains(r) || a.contains(d));
@@ -4736,14 +4739,14 @@ function Dt(e, t) {
4736
4739
  const Qi = {
4737
4740
  beforeMount(e, t) {
4738
4741
  ke.has(e) || ke.set(e, []), ke.get(e).push({
4739
- documentHandler: Dt(e, t),
4742
+ documentHandler: At(e, t),
4740
4743
  bindingFn: t.value
4741
4744
  });
4742
4745
  },
4743
4746
  updated(e, t) {
4744
4747
  ke.has(e) || ke.set(e, []);
4745
4748
  const o = ke.get(e), n = o.findIndex((a) => a.bindingFn === t.oldValue), s = {
4746
- documentHandler: Dt(e, t),
4749
+ documentHandler: At(e, t),
4747
4750
  bindingFn: t.value
4748
4751
  };
4749
4752
  n >= 0 ? o.splice(n, 1, s) : o.push(s);
@@ -4769,7 +4772,7 @@ const Qi = {
4769
4772
  unmounted(e) {
4770
4773
  e.__debounceHandler__ && (e.removeEventListener("click", e.__debounceHandler__), delete e.__debounceHandler__);
4771
4774
  }
4772
- }, At = (e, t) => {
4775
+ }, Ot = (e, t) => {
4773
4776
  e._dynamicApp && (e._dynamicApp.unmount(), e._dynamicContainer.innerHTML = "");
4774
4777
  const o = po(Jt, {
4775
4778
  cpText: t
@@ -4781,10 +4784,10 @@ const Qi = {
4781
4784
  const o = document.createElement("div");
4782
4785
  o.style.display = "inline-flex", o.style.alignItems = "center", o.setAttribute("data-dynamic-container", ""), e.parentNode?.insertBefore(o, e.nextSibling), e._dynamicContainer = o;
4783
4786
  }
4784
- At(e, t.value);
4787
+ Ot(e, t.value);
4785
4788
  },
4786
4789
  updated(e, t) {
4787
- t.value !== e._dynamicPrevValue && At(e, t.value);
4790
+ t.value !== e._dynamicPrevValue && Ot(e, t.value);
4788
4791
  },
4789
4792
  unmounted(e) {
4790
4793
  e._dynamicApp && (e._dynamicApp.unmount(), delete e._dynamicApp), e._dynamicContainer && (e._dynamicContainer.remove(), delete e._dynamicContainer), delete e._dynamicPrevValue;
@@ -4810,7 +4813,7 @@ function no(e) {
4810
4813
  return !1;
4811
4814
  }
4812
4815
  }
4813
- function Ot(e) {
4816
+ function Pt(e) {
4814
4817
  return new Promise((t, o) => {
4815
4818
  const n = new XMLHttpRequest();
4816
4819
  n.open("GET", e, !0), n.responseType = "blob", n.withCredentials = no(e), n.onload = () => {
@@ -4821,7 +4824,7 @@ function Ot(e) {
4821
4824
  async function os(e) {
4822
4825
  const t = oo(e), o = typeof document < "u" ? document.documentMode : void 0;
4823
4826
  if (typeof o == "number" && o > 0)
4824
- return Ot(t);
4827
+ return Pt(t);
4825
4828
  if (typeof fetch == "function") {
4826
4829
  const n = await fetch(t, {
4827
4830
  credentials: no(t) ? "include" : "omit",
@@ -4830,7 +4833,7 @@ async function os(e) {
4830
4833
  if (!n.ok) throw new Error(String(n.status));
4831
4834
  return n.blob();
4832
4835
  }
4833
- return Ot(t);
4836
+ return Pt(t);
4834
4837
  }
4835
4838
  function ns(e, t) {
4836
4839
  const o = t.trim() || "download", n = navigator;
@@ -4866,7 +4869,7 @@ async function nt(e, t) {
4866
4869
  }
4867
4870
  }
4868
4871
  const as = 400;
4869
- function Pt(e) {
4872
+ function Ut(e) {
4870
4873
  return e.previewUrl?.trim() || "";
4871
4874
  }
4872
4875
  function Ve(e) {
@@ -4878,7 +4881,7 @@ function We(e) {
4878
4881
  function Ss(e) {
4879
4882
  const { t } = me(), o = D(!1), n = D(""), s = D(""), a = D(-1), r = D(-1), d = S(() => e.value.attachmentInfos ?? []), l = S(
4880
4883
  () => d.value.reduce((h, x, W) => {
4881
- const U = Pt(x);
4884
+ const U = Ut(x);
4882
4885
  if (!U) return h;
4883
4886
  const ee = We(x);
4884
4887
  return h.push({
@@ -4905,11 +4908,11 @@ function Ss(e) {
4905
4908
  () => r.value > 0 && i.value.length > 1
4906
4909
  ), H = S(
4907
4910
  () => r.value >= 0 && r.value < i.value.length - 1
4908
- ), E = S(() => i.value.length > 1), O = (h, x, W, U) => {
4911
+ ), E = S(() => i.value.length > 1), P = (h, x, W, U) => {
4909
4912
  a.value = W, r.value = U, n.value = h, s.value = x, o.value = !0;
4910
4913
  }, y = (h) => {
4911
4914
  const x = l.value[h];
4912
- x && O(
4915
+ x && P(
4913
4916
  String(x.item.src),
4914
4917
  x.item.fileName || "",
4915
4918
  x.attachmentIndex,
@@ -4934,7 +4937,7 @@ function Ss(e) {
4934
4937
  hasNextAttachment: H,
4935
4938
  showAttachmentNavBar: E,
4936
4939
  handlePreview: (h, x) => {
4937
- const W = Pt(h);
4940
+ const W = Ut(h);
4938
4941
  if (!W) {
4939
4942
  Se.warning(t("hbLibComp.HbFilePreview.noPreviewUrl"));
4940
4943
  return;
@@ -4946,7 +4949,7 @@ function Ss(e) {
4946
4949
  _(U);
4947
4950
  return;
4948
4951
  }
4949
- O(W, We(h), -1, -1);
4952
+ P(W, We(h), -1, -1);
4950
4953
  },
4951
4954
  handleDownload: (h) => {
4952
4955
  const x = Ve(h);
@@ -5051,9 +5054,9 @@ const xs = (e) => {
5051
5054
  }, fs = { 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" } }, bs = {
5052
5055
  hbLibComp: fs
5053
5056
  };
5054
- var je = { exports: {} }, ps = je.exports, Ut;
5057
+ var je = { exports: {} }, ps = je.exports, Nt;
5055
5058
  function ms() {
5056
- return Ut || (Ut = 1, (function(e, t) {
5059
+ return Nt || (Nt = 1, (function(e, t) {
5057
5060
  (function(o, n) {
5058
5061
  e.exports = n(Ze);
5059
5062
  })(ps, (function(o) {
@@ -5124,7 +5127,7 @@ export {
5124
5127
  Fs as locales,
5125
5128
  Ii as prefixSymbolIdsInIconfontJs,
5126
5129
  cn as useCalTableHeight,
5127
- Ht as useCalTableWidth,
5130
+ $t as useCalTableWidth,
5128
5131
  Ss as useFilePreview,
5129
5132
  eo as useIconfont,
5130
5133
  xs as useListFormItem,