@hb-hellotech/hb-ui 2.2.1 → 2.2.2

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,32 +1,32 @@
1
1
  import './hb_component_lib.css';
2
- import { defineComponent as Z, inject as be, computed as A, reactive as Se, ref as N, watch as ae, onMounted as me, createElementBlock as C, openBlock as s, normalizeClass as K, unref as S, createVNode as I, withCtx as c, createElementVNode as u, toDisplayString as x, createTextVNode as E, createBlock as z, createCommentVNode as O, Fragment as q, renderList as re, resolveComponent as V, Transition as Pt, withDirectives as fe, mergeProps as oe, createSlots as ke, renderSlot as W, vShow as Nt, nextTick as _e, onUnmounted as xe, useTemplateRef as Ut, provide as kt, normalizeStyle as ce, mergeModels as Ve, useModel as St, withModifiers as $e, resolveDirective as xt, useAttrs as zt, useSlots as Rt, onBeforeUnmount as Je, watchEffect as Tt, resolveDynamicComponent as Ft, shallowRef as Vt, createStaticVNode as Wt, createApp as jt } from "vue";
2
+ import { defineComponent as Z, inject as be, computed as D, reactive as Se, ref as N, watch as ae, onMounted as me, createElementBlock as C, openBlock as s, normalizeClass as K, unref as S, createVNode as I, withCtx as d, createElementVNode as u, toDisplayString as x, createTextVNode as E, createBlock as z, createCommentVNode as O, Fragment as q, renderList as re, resolveComponent as V, Transition as Pt, withDirectives as fe, mergeProps as le, createSlots as ke, renderSlot as W, vShow as Nt, nextTick as pe, onUnmounted as xe, useTemplateRef as Ut, provide as kt, normalizeStyle as ce, mergeModels as Ve, useModel as St, withModifiers as $e, resolveDirective as xt, useAttrs as zt, useSlots as Rt, onBeforeUnmount as Je, watchEffect as Tt, resolveDynamicComponent as Ft, shallowRef as Vt, createStaticVNode as Wt, createApp as jt } from "vue";
3
3
  import Ie from "vuedraggable";
4
- import { Modal as We, Button as je, message as ve, Tooltip as Me, Switch as tt, Radio as lt, RadioGroup as ot, InputNumber as at, DatePicker as nt, Checkbox as Ae, CheckboxGroup as it, Select as qe, Input as st, Col as qt, Row as Yt, FormItem as rt, Form as ct, SelectOption as Ye, Popconfirm as ze, MenuItem as dt, Menu as ut, Dropdown as ft, Popover as Kt, BackTop as Ht, Spin as Gt } from "ant-design-vue";
4
+ import { Modal as We, Button as je, message as ge, Tooltip as Me, Switch as tt, Radio as ot, RadioGroup as lt, InputNumber as at, DatePicker as nt, Checkbox as De, CheckboxGroup as it, Select as qe, Input as st, Col as qt, Row as Yt, FormItem as rt, Form as ct, SelectOption as Ye, Popconfirm as ze, MenuItem as dt, Menu as ut, Dropdown as ft, Popover as Kt, BackTop as Ht, Spin as Gt } from "ant-design-vue";
5
5
  import { useRoute as Xe } from "vue-router";
6
6
  import { useI18n as ue } from "vue-i18n";
7
7
  import Le, { merge as Jt } from "lodash";
8
- import { CloseOutlined as Xt, QuestionCircleOutlined as Qt, SearchOutlined as De, UpCircleOutlined as Zt, DownCircleOutlined as el, UnorderedListOutlined as tl, DownOutlined as Ke, PlusCircleOutlined as ll, ToTopOutlined as $t } from "@ant-design/icons-vue";
9
- import { useFullscreen as It, useDebounceFn as ol, useElementBounding as al, useScroll as nl, useDraggable as il, isClient as sl } from "@vueuse/core";
8
+ import { CloseOutlined as Xt, QuestionCircleOutlined as Qt, SearchOutlined as Ae, UpCircleOutlined as Zt, DownCircleOutlined as eo, UnorderedListOutlined as to, DownOutlined as Ke, PlusCircleOutlined as oo, ToTopOutlined as $t } from "@ant-design/icons-vue";
9
+ import { useFullscreen as It, useDebounceFn as lo, useElementBounding as ao, useScroll as no, useDraggable as io, isClient as so } from "@vueuse/core";
10
10
  import Oe from "dayjs";
11
- const rl = "hb-", Qe = (e = "") => {
12
- const l = `${rl}${e}`;
13
- return cl(l);
14
- }, ye = (e, l, t, o) => (l && (e += `-${l}`), t && (e += `__${t}`), o && (e += `--${o}`), e), cl = (e) => ({
11
+ const ro = "hb-", Qe = (e = "") => {
12
+ const o = `${ro}${e}`;
13
+ return co(o);
14
+ }, _e = (e, o, t, l) => (o && (e += `-${o}`), t && (e += `__${t}`), l && (e += `--${l}`), e), co = (e) => ({
15
15
  // hb-button
16
- b: (l) => l ? ye(e, l, "", "") : ye(e, "", "", ""),
16
+ b: (o) => o ? _e(e, o, "", "") : _e(e, "", "", ""),
17
17
  // hb-button__header
18
- e: (l) => l ? ye(e, "", l, "") : "",
18
+ e: (o) => o ? _e(e, "", o, "") : "",
19
19
  // hb-button--primary
20
- m: (l) => ye(e, "", "", l),
20
+ m: (o) => _e(e, "", "", o),
21
21
  // hb-button__header
22
- be: (l, t) => ye(e, l, t, ""),
22
+ be: (o, t) => _e(e, o, t, ""),
23
23
  // hb-button__header--primary
24
- em: (l, t) => ye(e, "", l, t),
24
+ em: (o, t) => _e(e, "", o, t),
25
25
  // hb-button__header--primary
26
- bem: (l, t, o) => ye(e, l, t, o),
26
+ bem: (o, t, l) => _e(e, o, t, l),
27
27
  // is-disabled
28
- is: (l, t) => t ? `is-${l}` : ""
29
- }), dl = ["onMouseenter", "onMouseleave"], ul = ["onClick"], fl = /* @__PURE__ */ Z({
28
+ is: (o, t) => t ? `is-${o}` : ""
29
+ }), uo = ["onMouseenter", "onMouseleave"], fo = ["onClick"], bo = /* @__PURE__ */ Z({
30
30
  name: "HbLibFormItemFilterModal",
31
31
  __name: "HbFormItemFilterModal",
32
32
  props: {
@@ -38,12 +38,12 @@ const rl = "hb-", Qe = (e = "") => {
38
38
  saveKey: { default: "" }
39
39
  },
40
40
  emits: ["confirm"],
41
- setup(e, { expose: l, emit: t }) {
42
- const o = be("globalCompConfig", {}), i = ue().t, r = ue().messages.value.en_US, d = ue().messages.value.ja_JP, h = ue().messages.value.zh_CN, a = e, n = A(() => a.showNumber || o.HbLibFormItemFilterModal?.defaultShowCount || 40), v = A(() => a.title || i("hbLibComp.hbFormItemFilterModal.title")), b = t, p = Qe("sfcm"), D = Xe(), M = Se({
41
+ setup(e, { expose: o, emit: t }) {
42
+ const l = be("globalCompConfig", {}), i = ue().t, r = ue().messages.value.en_US, c = ue().messages.value.ja_JP, f = ue().messages.value.zh_CN, a = e, n = D(() => a.showNumber || l.HbLibFormItemFilterModal?.defaultShowCount || 40), m = D(() => a.title || i("hbLibComp.hbFormItemFilterModal.title")), p = t, v = Qe("sfcm"), A = Xe(), M = Se({
43
43
  lan: window.localStorage.getItem("lan")
44
44
  }), R = N(!1), P = N(600);
45
- let m = [];
46
- const f = N([]), y = N([]), H = A(() => f.value.every((_) => _.isLinked || _.isFixed)), k = (_) => ({
45
+ let h = [];
46
+ const b = N([]), y = N([]), H = D(() => b.value.every((_) => _.isLinked || _.isFixed)), k = (_) => ({
47
47
  ..._,
48
48
  label: $(_) || `${U(_) || ""} (${i("hbLibComp.hbFormItemFilterModal.moreConditionSearch")})`,
49
49
  key: _.key,
@@ -54,16 +54,16 @@ const rl = "hb-", Qe = (e = "") => {
54
54
  const j = _.draggedContext.element, B = _.relatedContext.index;
55
55
  if (j.isLinked || j.isFixed)
56
56
  return !1;
57
- const ee = f.value.map((se, pe) => ({ item: se, index: pe })).filter(({ item: se }) => se.isLinked).map(({ index: se }) => se);
57
+ const ee = b.value.map((se, he) => ({ item: se, index: he })).filter(({ item: se }) => se.isLinked).map(({ index: se }) => se);
58
58
  if (ee.length === 0)
59
59
  return !0;
60
60
  for (let se = 0; se < ee.length - 1; se++) {
61
- const pe = ee[se], ge = ee[se + 1];
62
- if (B > pe && B < ge)
61
+ const he = ee[se], ye = ee[se + 1];
62
+ if (B > he && B < ye)
63
63
  return !1;
64
64
  }
65
65
  return !0;
66
- }, g = A(() => L() + "_" + a.saveKey), L = () => {
66
+ }, g = D(() => L() + "_" + a.saveKey), L = () => {
67
67
  const _ = localStorage.getItem("pro__Login_Userinfo");
68
68
  let j = "anonymous";
69
69
  if (_)
@@ -72,33 +72,33 @@ const rl = "hb-", Qe = (e = "") => {
72
72
  } catch (ee) {
73
73
  console.warn("解析用户信息失败:", ee);
74
74
  }
75
- let B = D?.path;
75
+ let B = A?.path;
76
76
  return `searchFormConfig_${j}_${B}`;
77
77
  }, $ = (_) => ({
78
- ja_JP: () => Le.get(d, _.labelLanguage || ""),
78
+ ja_JP: () => Le.get(c, _.labelLanguage || ""),
79
79
  en_US: () => Le.get(r, _.labelLanguage || ""),
80
- zh_CN: () => Le.get(h, _.labelLanguage || "")
80
+ zh_CN: () => Le.get(f, _.labelLanguage || "")
81
81
  })[M.lan]?.() || _.label, U = (_) => ({
82
- ja_JP: () => Le.get(d, _.subLabelLanguage || ""),
82
+ ja_JP: () => Le.get(c, _.subLabelLanguage || ""),
83
83
  en_US: () => Le.get(r, _.subLabelLanguage || ""),
84
- zh_CN: () => Le.get(h, _.subLabelLanguage || "")
84
+ zh_CN: () => Le.get(f, _.subLabelLanguage || "")
85
85
  })[M.lan]?.() || _.subLabel, G = () => {
86
86
  try {
87
87
  const _ = localStorage.getItem(g.value);
88
88
  if (_) {
89
89
  const j = JSON.parse(_);
90
90
  if (j.originalList && Array.isArray(j.originalList)) {
91
- m = JSON.parse(JSON.stringify(j.originalList));
92
- const B = m.filter((Y) => Y?.isFixed), ee = m.filter((Y) => Y?.isLinked), se = j.showList.filter((Y) => !Y.isFixed && !Y.isLinked), pe = n.value && n.value > 0 ? Math.max(0, n.value - B.length - ee.length) : se.length, ge = B.map((Y) => ({
91
+ h = JSON.parse(JSON.stringify(j.originalList));
92
+ const B = h.filter((Y) => Y?.isFixed), ee = h.filter((Y) => Y?.isLinked), se = j.showList.filter((Y) => !Y.isFixed && !Y.isLinked), he = n.value && n.value > 0 ? Math.max(0, n.value - B.length - ee.length) : se.length, ye = B.map((Y) => ({
93
93
  ...k(Y)
94
94
  })), Te = ee.map((Y) => ({
95
95
  ...k(Y)
96
- })), Pe = se.slice(0, pe).map((Y) => ({
96
+ })), Pe = se.slice(0, he).map((Y) => ({
97
97
  ...k(Y)
98
98
  }));
99
- f.value = [...ge, ...Te, ...Pe];
100
- const Ne = f.value.map((Y) => Y.key), Ue = m.map((Y) => Y.key).filter((Y) => !Ne.includes(Y));
101
- return y.value = m.filter((Y) => Ue.includes(Y.key)).map((Y) => ({
99
+ b.value = [...ye, ...Te, ...Pe];
100
+ const Ne = b.value.map((Y) => Y.key), Ue = h.map((Y) => Y.key).filter((Y) => !Ne.includes(Y));
101
+ return y.value = h.filter((Y) => Ue.includes(Y.key)).map((Y) => ({
102
102
  ...k(Y),
103
103
  active: !1
104
104
  })), !0;
@@ -111,8 +111,8 @@ const rl = "hb-", Qe = (e = "") => {
111
111
  }, ne = () => {
112
112
  try {
113
113
  const _ = {
114
- originalList: m,
115
- showList: f.value.map((j) => ({
114
+ originalList: h,
115
+ showList: b.value.map((j) => ({
116
116
  ...j,
117
117
  key: j.key,
118
118
  label: j.label,
@@ -125,51 +125,51 @@ const rl = "hb-", Qe = (e = "") => {
125
125
  } catch (_) {
126
126
  console.warn("保存搜索配置失败:", _);
127
127
  }
128
- }, T = A(() => {
129
- const _ = f.value.filter((B) => !B.isFixed && !B.isLinked).length, j = f.value.filter((B) => B.isFixed || B.isLinked).length;
128
+ }, T = D(() => {
129
+ const _ = b.value.filter((B) => !B.isFixed && !B.isLinked).length, j = b.value.filter((B) => B.isFixed || B.isLinked).length;
130
130
  return _ >= n.value - j;
131
131
  });
132
132
  ae(
133
133
  () => a.list,
134
134
  (_) => {
135
- let j = JSON.stringify(f.value) !== JSON.stringify(_);
135
+ let j = JSON.stringify(b.value) !== JSON.stringify(_);
136
136
  if (!j)
137
137
  return;
138
138
  const B = localStorage.getItem(g.value), ee = JSON.parse(B || "{}");
139
139
  if (ee && ee?.originalList && Array.isArray(ee.originalList))
140
- G(), b("confirm", f.value);
140
+ G(), p("confirm", b.value);
141
141
  else if (j) {
142
- m = JSON.parse(JSON.stringify(_));
143
- const se = _.filter((Y) => Y?.isFixed), pe = _.filter((Y) => Y?.isLinked), ge = _.filter((Y) => !Y?.isFixed && !Y?.isLinked), Te = n.value && n.value > 0 ? Math.max(0, n.value - se.length - pe.length) : ge.length, Pe = se.map((Y) => k(Y)), Ne = pe.map((Y) => k(Y)), et = ge.slice(0, Te).map((Y) => k(Y));
144
- f.value = [...Pe, ...Ne, ...et];
145
- const Ue = ge.slice(Te).map((Y) => ({
142
+ h = JSON.parse(JSON.stringify(_));
143
+ const se = _.filter((Y) => Y?.isFixed), he = _.filter((Y) => Y?.isLinked), ye = _.filter((Y) => !Y?.isFixed && !Y?.isLinked), Te = n.value && n.value > 0 ? Math.max(0, n.value - se.length - he.length) : ye.length, Pe = se.map((Y) => k(Y)), Ne = he.map((Y) => k(Y)), et = ye.slice(0, Te).map((Y) => k(Y));
144
+ b.value = [...Pe, ...Ne, ...et];
145
+ const Ue = ye.slice(Te).map((Y) => ({
146
146
  ...k(Y),
147
147
  active: !1
148
148
  }));
149
- y.value = Ue, b("confirm", f.value);
149
+ y.value = Ue, p("confirm", b.value);
150
150
  }
151
151
  },
152
152
  { immediate: !0 }
153
153
  );
154
154
  const F = (_) => {
155
- const j = f.value.findIndex((B) => B.key === _.key);
156
- j !== -1 && (f.value.splice(j, 1), y.value.push({ ..._, active: !1 }));
155
+ const j = b.value.findIndex((B) => B.key === _.key);
156
+ j !== -1 && (b.value.splice(j, 1), y.value.push({ ..._, active: !1 }));
157
157
  }, X = (_) => {
158
158
  if (T.value) {
159
- ve.warning(`当前已经超过${i(n.value)}个可选数量,请先删除已显示条件`);
159
+ ge.warning(`当前已经超过${i(n.value)}个可选数量,请先删除已显示条件`);
160
160
  return;
161
161
  }
162
162
  const j = y.value.findIndex((B) => B.key === _.key);
163
163
  if (j !== -1) {
164
164
  const [B] = y.value.splice(j, 1);
165
- f.value.push({ ...B, active: !1 });
165
+ b.value.push({ ...B, active: !1 });
166
166
  }
167
167
  }, J = () => {
168
168
  R.value = !1;
169
169
  }, te = () => {
170
170
  R.value = !0;
171
171
  }, ie = () => {
172
- ne(), b("confirm", f.value), J();
172
+ ne(), p("confirm", b.value), J();
173
173
  }, de = (_) => {
174
174
  const j = y.value.findIndex((B) => B.key === _.key);
175
175
  j !== -1 && (y.value[j].active = !0);
@@ -177,11 +177,11 @@ const rl = "hb-", Qe = (e = "") => {
177
177
  const j = y.value.findIndex((B) => B.key === _.key);
178
178
  j !== -1 && (y.value[j].active = !1);
179
179
  };
180
- return l({
180
+ return o({
181
181
  toOpenModal: te
182
182
  }), me(() => {
183
183
  }), (_, j) => (s(), C("div", {
184
- class: K(S(p).b())
184
+ class: K(S(v).b())
185
185
  }, [
186
186
  I(S(We), {
187
187
  visible: R.value,
@@ -190,14 +190,14 @@ const rl = "hb-", Qe = (e = "") => {
190
190
  onCancel: J,
191
191
  onOk: ie
192
192
  }, {
193
- title: c(() => [
193
+ title: d(() => [
194
194
  u("div", {
195
- class: K(S(p).e("title"))
196
- }, x(v.value), 3)
195
+ class: K(S(v).e("title"))
196
+ }, x(m.value), 3)
197
197
  ]),
198
- footer: c(() => [
198
+ footer: d(() => [
199
199
  I(S(je), { onClick: J }, {
200
- default: c(() => [
200
+ default: d(() => [
201
201
  E(x(_.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
202
202
  ]),
203
203
  _: 1
@@ -206,43 +206,43 @@ const rl = "hb-", Qe = (e = "") => {
206
206
  type: "primary",
207
207
  onClick: ie
208
208
  }, {
209
- default: c(() => [
209
+ default: d(() => [
210
210
  E(x(_.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
211
211
  ]),
212
212
  _: 1
213
213
  })
214
214
  ]),
215
- default: c(() => [
215
+ default: d(() => [
216
216
  u("section", {
217
- class: K(S(p).e("show"))
217
+ class: K(S(v).e("show"))
218
218
  }, [
219
219
  u("div", {
220
- class: K(S(p).e("show__title"))
220
+ class: K(S(v).e("show__title"))
221
221
  }, [
222
222
  u("span", {
223
- class: K(S(p).e("title__tip"))
223
+ class: K(S(v).e("title__tip"))
224
224
  }, x(_.$t("hbLibComp.hbFormItemFilterModal.titleTip")), 3),
225
225
  u("span", null, x(_.$t("hbLibComp.hbFormItemFilterModal.mostMore")) + x(n.value) + x(_.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")), 1)
226
226
  ], 2),
227
227
  u("div", {
228
- class: K(S(p).e("show__tag"))
228
+ class: K(S(v).e("show__tag"))
229
229
  }, [
230
230
  I(S(Ie), {
231
- modelValue: f.value,
232
- "onUpdate:modelValue": j[0] || (j[0] = (B) => f.value = B),
231
+ modelValue: b.value,
232
+ "onUpdate:modelValue": j[0] || (j[0] = (B) => b.value = B),
233
233
  "item-key": "key",
234
234
  tag: "div",
235
235
  disabled: H.value,
236
236
  move: w
237
237
  }, {
238
- item: c(({ element: B }) => [
238
+ item: d(({ element: B }) => [
239
239
  u("div", {
240
- class: K([S(p).e("show__tag__item"), S(p).is("fixed", B.isFixed), S(p).is("linked", B.isLinked)])
240
+ class: K([S(v).e("show__tag__item"), S(v).is("fixed", B.isFixed), S(v).is("linked", B.isLinked)])
241
241
  }, [
242
242
  E(x(B.label) + " ", 1),
243
243
  !B.isFixed && !B.isLinked && e.list.length > 1 ? (s(), z(S(Xt), {
244
244
  key: 0,
245
- class: K(S(p).e("show__tag__item-close")),
245
+ class: K(S(v).e("show__tag__item-close")),
246
246
  onClick: (ee) => F(B)
247
247
  }, null, 8, ["class", "onClick"])) : O("", !0)
248
248
  ], 2)
@@ -252,33 +252,33 @@ const rl = "hb-", Qe = (e = "") => {
252
252
  ], 2)
253
253
  ], 2),
254
254
  u("section", {
255
- class: K(S(p).e("unshow"))
255
+ class: K(S(v).e("unshow"))
256
256
  }, [
257
257
  u("div", {
258
- class: K(S(p).e("show__title"))
258
+ class: K(S(v).e("show__title"))
259
259
  }, [
260
260
  u("span", {
261
- class: K(S(p).e("title__tip"))
261
+ class: K(S(v).e("title__tip"))
262
262
  }, x(_.$t("hbLibComp.hbFormItemFilterModal.notShowTip")), 3)
263
263
  ], 2),
264
264
  u("div", {
265
- class: K(S(p).e("unshow__tag"))
265
+ class: K(S(v).e("unshow__tag"))
266
266
  }, [
267
267
  y.value.length > 0 ? (s(!0), C(q, { key: 0 }, re(y.value, (B) => (s(), C("div", {
268
268
  key: B.key,
269
- class: K([S(p).e("unshow__tag__item"), S(p).is("fixed", B.isFixed || ""), S(p).is("linked", B.isLinked || "")]),
269
+ class: K([S(v).e("unshow__tag__item"), S(v).is("fixed", B.isFixed || ""), S(v).is("linked", B.isLinked || "")]),
270
270
  onMouseenter: (ee) => de(B),
271
271
  onMouseleave: (ee) => Ee(B)
272
272
  }, [
273
273
  E(x(B.label) + " ", 1),
274
274
  B.active ? (s(), C("aside", {
275
275
  key: 0,
276
- class: K(S(p).e("unshow__tag__item-add")),
276
+ class: K(S(v).e("unshow__tag__item-add")),
277
277
  onClick: (ee) => X(B)
278
- }, x(_.$t("hbLibComp.hbFormItemFilterModal.add")), 11, ul)) : O("", !0)
279
- ], 42, dl))), 128)) : (s(), C("div", {
278
+ }, x(_.$t("hbLibComp.hbFormItemFilterModal.add")), 11, fo)) : O("", !0)
279
+ ], 42, uo))), 128)) : (s(), C("div", {
280
280
  key: 1,
281
- class: K(S(p).e("unshow__tag__empty"))
281
+ class: K(S(v).e("unshow__tag__empty"))
282
282
  }, x(_.$t("hbLibComp.hbFormItemFilterModal.noData")), 3))
283
283
  ], 2)
284
284
  ], 2)
@@ -287,23 +287,23 @@ const rl = "hb-", Qe = (e = "") => {
287
287
  }, 8, ["visible", "width"])
288
288
  ], 2));
289
289
  }
290
- }), le = (e, l) => {
290
+ }), oe = (e, o) => {
291
291
  const t = e.__vccOpts || e;
292
- for (const [o, i] of l)
293
- t[o] = i;
292
+ for (const [l, i] of o)
293
+ t[l] = i;
294
294
  return t;
295
- }, bl = /* @__PURE__ */ le(fl, [["__scopeId", "data-v-657502f3"]]);
295
+ }, mo = /* @__PURE__ */ oe(bo, [["__scopeId", "data-v-657502f3"]]);
296
296
  function Q(e) {
297
- const l = e;
298
- return l.install = (t) => {
299
- const o = e.name;
300
- t.component(o ?? "AnonymousComponent", e);
301
- }, l;
297
+ const o = e;
298
+ return o.install = (t) => {
299
+ const l = e.name;
300
+ t.component(l ?? "AnonymousComponent", e);
301
+ }, o;
302
302
  }
303
- const ml = Q(bl), pl = {
303
+ const po = Q(mo), ho = {
304
304
  key: 0,
305
305
  class: "form-footer"
306
- }, hl = { class: "scheme-fontWeight" }, vl = { class: "scheme-fontWeight" }, gl = { class: "scheme-fontWeight" }, yl = { class: "scheme-fontWeight" }, _l = /* @__PURE__ */ Z({
306
+ }, vo = { class: "scheme-fontWeight" }, go = { class: "scheme-fontWeight" }, yo = { class: "scheme-fontWeight" }, _o = { class: "scheme-fontWeight" }, Lo = /* @__PURE__ */ Z({
307
307
  name: "HbLibListForm",
308
308
  __name: "HbListForm",
309
309
  props: {
@@ -335,14 +335,14 @@ const ml = Q(bl), pl = {
335
335
  } }
336
336
  },
337
337
  emits: ["handleSearch", "handleReset", "handleSfcmConfirm", "handleMenuClick"],
338
- setup(e, { expose: l, emit: t }) {
339
- const o = be("globalCompConfig", {}), i = t, r = be("HB_LIST_PAGE_CONTAINER"), d = A(() => a.searchList || []), h = Qe("form"), a = e, n = A(() => a.showNumber || o.HbLibFormItemFilterModal?.defaultShowCount || 40), v = N("show"), b = A(() => a.needFooter || o.HbLibListForm?.needFooter), p = A(() => [...a.items]), D = (T) => T !== void 0, M = (T) => typeof T == "function", R = (T) => D(T.condition) ? M(T.condition) ? T.condition() : T.condition : !0, P = A(() => [...a.items].map((T) => ({
338
+ setup(e, { expose: o, emit: t }) {
339
+ const l = be("globalCompConfig", {}), i = t, r = be("HB_LIST_PAGE_CONTAINER"), c = D(() => a.searchList || []), f = Qe("form"), a = e, n = D(() => a.showNumber || l.HbLibFormItemFilterModal?.defaultShowCount || 40), m = N("show"), p = D(() => a.needFooter || l.HbLibListForm?.needFooter), v = D(() => [...a.items]), A = (T) => T !== void 0, M = (T) => typeof T == "function", R = (T) => A(T.condition) ? M(T.condition) ? T.condition() : T.condition : !0, P = D(() => [...a.items].map((T) => ({
340
340
  ...T,
341
341
  condition: R(T),
342
342
  label: T.label?.includes("多项搜索") ? "" : T.label
343
343
  })));
344
344
  console.log(P.value);
345
- const m = A(() => a.saveKey), f = N(), y = () => {
345
+ const h = D(() => a.saveKey), b = N(), y = () => {
346
346
  i("handleSearch");
347
347
  }, H = () => {
348
348
  i("handleReset");
@@ -370,7 +370,7 @@ const ml = Q(bl), pl = {
370
370
  F.style.height = "", F.offsetHeight;
371
371
  }, U = (T) => {
372
372
  const F = T;
373
- F.style.height = "", F.style.overflow = "", _e(() => {
373
+ F.style.height = "", F.style.overflow = "", pe(() => {
374
374
  r.calTableHeight && r.calTableHeight();
375
375
  });
376
376
  }, G = (T) => {
@@ -382,12 +382,12 @@ const ml = Q(bl), pl = {
382
382
  });
383
383
  }
384
384
  }, ne = () => {
385
- _e(() => {
385
+ pe(() => {
386
386
  r.calTableHeight && r.calTableHeight();
387
387
  });
388
388
  };
389
- return l({
390
- formRef: f,
389
+ return o({
390
+ formRef: b,
391
391
  SelectOption: Ye,
392
392
  Form: ct,
393
393
  FormItem: rt,
@@ -396,11 +396,11 @@ const ml = Q(bl), pl = {
396
396
  Input: st,
397
397
  Select: qe,
398
398
  CheckboxGroup: it,
399
- Checkbox: Ae,
399
+ Checkbox: De,
400
400
  DatePicker: nt,
401
401
  InputNumber: at,
402
- RadioGroup: ot,
403
- Radio: lt,
402
+ RadioGroup: lt,
403
+ Radio: ot,
404
404
  Switch: tt,
405
405
  Button: je,
406
406
  Tooltip: Me
@@ -414,19 +414,19 @@ const ml = Q(bl), pl = {
414
414
  onLeave: G,
415
415
  onAfterLeave: ne
416
416
  }, {
417
- default: c(() => [
417
+ default: d(() => [
418
418
  fe(u("div", {
419
- class: K([S(h).b(), "hb-lib-list-page-form-box", "hb-form-item-ui", b.value ? "isNeedFooterCss" : ""])
419
+ class: K([S(f).b(), "hb-lib-list-page-form-box", "hb-form-item-ui", p.value ? "isNeedFooterCss" : ""])
420
420
  }, [
421
- I(S(ct), oe(T.$attrs, {
421
+ I(S(ct), le(T.$attrs, {
422
422
  model: e.formData,
423
423
  ref_key: "formRef",
424
- ref: f,
425
- class: ["hb-lib-form--container", v.value == "show" ? "" : "hide"]
424
+ ref: b,
425
+ class: ["hb-lib-form--container", m.value == "show" ? "" : "hide"]
426
426
  }), {
427
- default: c(() => [
427
+ default: d(() => [
428
428
  (s(!0), C(q, null, re(P.value, (_, j) => (s(), C(q, { key: j }, [
429
- _.condition ? (s(), z(S(rt), oe({
429
+ _.condition ? (s(), z(S(rt), le({
430
430
  key: 0,
431
431
  ref_for: !0
432
432
  }, _, {
@@ -436,7 +436,7 @@ const ml = Q(bl), pl = {
436
436
  "hb_lib_form_item--needShowAll": _.showAll
437
437
  }
438
438
  }), ke({
439
- default: c(() => [
439
+ default: d(() => [
440
440
  _.type === "slot" ? W(T.$slots, _.key, {
441
441
  key: 0,
442
442
  formData: e.formData,
@@ -447,22 +447,22 @@ const ml = Q(bl), pl = {
447
447
  formData: e.formData,
448
448
  item: _
449
449
  }, void 0, !0) : O("", !0),
450
- _.type === "input" ? (s(), z(S(st), oe({
450
+ _.type === "input" ? (s(), z(S(st), le({
451
451
  key: 2,
452
452
  value: e.formData[_.key],
453
453
  "onUpdate:value": (B) => e.formData[_.key] = B
454
454
  }, { ref_for: !0 }, _.attrs), null, 16, ["value", "onUpdate:value"])) : O("", !0),
455
- _.type === "select" ? (s(), z(S(qe), oe({
455
+ _.type === "select" ? (s(), z(S(qe), le({
456
456
  key: 3,
457
457
  value: e.formData[_.key],
458
458
  "onUpdate:value": (B) => e.formData[_.key] = B
459
459
  }, { ref_for: !0 }, _.attrs), {
460
- default: c(() => [
460
+ default: d(() => [
461
461
  (s(!0), C(q, null, re(_.options, (B, ee) => (s(), z(S(Ye), {
462
462
  key: ee,
463
463
  value: B.value
464
464
  }, {
465
- default: c(() => [
465
+ default: d(() => [
466
466
  E(x(B.label), 1)
467
467
  ]),
468
468
  _: 2
@@ -470,17 +470,17 @@ const ml = Q(bl), pl = {
470
470
  ]),
471
471
  _: 2
472
472
  }, 1040, ["value", "onUpdate:value"])) : O("", !0),
473
- _.type === "checkbox" ? (s(), z(S(it), oe({
473
+ _.type === "checkbox" ? (s(), z(S(it), le({
474
474
  key: 4,
475
475
  value: e.formData[_.key],
476
476
  "onUpdate:value": (B) => e.formData[_.key] = B
477
477
  }, { ref_for: !0 }, _.attrs), {
478
- default: c(() => [
479
- (s(!0), C(q, null, re(_.options, (B, ee) => (s(), z(S(Ae), {
478
+ default: d(() => [
479
+ (s(!0), C(q, null, re(_.options, (B, ee) => (s(), z(S(De), {
480
480
  key: ee,
481
481
  value: B.value
482
482
  }, {
483
- default: c(() => [
483
+ default: d(() => [
484
484
  E(x(B.label), 1)
485
485
  ]),
486
486
  _: 2
@@ -488,27 +488,27 @@ const ml = Q(bl), pl = {
488
488
  ]),
489
489
  _: 2
490
490
  }, 1040, ["value", "onUpdate:value"])) : O("", !0),
491
- _.type === "date-picker" ? (s(), z(S(nt), oe({
491
+ _.type === "date-picker" ? (s(), z(S(nt), le({
492
492
  key: 5,
493
493
  value: e.formData[_.key],
494
494
  "onUpdate:value": (B) => e.formData[_.key] = B
495
495
  }, { ref_for: !0 }, _.attrs), null, 16, ["value", "onUpdate:value"])) : O("", !0),
496
- _.type === "input-number" ? (s(), z(S(at), oe({
496
+ _.type === "input-number" ? (s(), z(S(at), le({
497
497
  key: 6,
498
498
  value: e.formData[_.key],
499
499
  "onUpdate:value": (B) => e.formData[_.key] = B
500
500
  }, { ref_for: !0 }, _.attrs), null, 16, ["value", "onUpdate:value"])) : O("", !0),
501
- _.type === "radio" ? (s(), z(S(ot), oe({
501
+ _.type === "radio" ? (s(), z(S(lt), le({
502
502
  key: 7,
503
503
  value: e.formData[_.key],
504
504
  "onUpdate:value": (B) => e.formData[_.key] = B
505
505
  }, { ref_for: !0 }, _.attrs), {
506
- default: c(() => [
507
- (s(!0), C(q, null, re(_.options, (B, ee) => (s(), z(S(lt), {
506
+ default: d(() => [
507
+ (s(!0), C(q, null, re(_.options, (B, ee) => (s(), z(S(ot), {
508
508
  key: ee,
509
509
  value: B.value
510
510
  }, {
511
- default: c(() => [
511
+ default: d(() => [
512
512
  E(x(B.label), 1)
513
513
  ]),
514
514
  _: 2
@@ -516,7 +516,7 @@ const ml = Q(bl), pl = {
516
516
  ]),
517
517
  _: 2
518
518
  }, 1040, ["value", "onUpdate:value"])) : O("", !0),
519
- _.type === "switch" ? (s(), z(S(tt), oe({
519
+ _.type === "switch" ? (s(), z(S(tt), le({
520
520
  key: 8,
521
521
  checked: e.formData[_.key],
522
522
  "onUpdate:checked": (B) => e.formData[_.key] = B
@@ -526,12 +526,12 @@ const ml = Q(bl), pl = {
526
526
  }, [
527
527
  _.tooltip ? {
528
528
  name: "label",
529
- fn: c(() => [
529
+ fn: d(() => [
530
530
  E(x(_.label) + " ", 1),
531
531
  I(S(Me), {
532
532
  title: _.tooltip
533
533
  }, {
534
- default: c(() => [
534
+ default: d(() => [
535
535
  I(S(Qt), { style: { "margin-left": "4px", color: "#1890ff" } })
536
536
  ]),
537
537
  _: 1
@@ -541,16 +541,16 @@ const ml = Q(bl), pl = {
541
541
  } : void 0
542
542
  ]), 1040, ["name", "class"])) : O("", !0)
543
543
  ], 64))), 128)),
544
- b.value ? O("", !0) : (s(), C("section", pl, [
544
+ p.value ? O("", !0) : (s(), C("section", ho, [
545
545
  I(X, {
546
546
  type: "primary",
547
547
  onClick: y,
548
548
  class: "hb_list_page_button"
549
549
  }, {
550
- icon: c(() => [
551
- I(S(De))
550
+ icon: d(() => [
551
+ I(S(Ae))
552
552
  ]),
553
- default: c(() => [
553
+ default: d(() => [
554
554
  E(" " + x(T.$t("hbLibComp.hbListPageAct.query")), 1)
555
555
  ]),
556
556
  _: 1
@@ -559,7 +559,7 @@ const ml = Q(bl), pl = {
559
559
  type: "link",
560
560
  onClick: H
561
561
  }, {
562
- default: c(() => [
562
+ default: d(() => [
563
563
  E(x(T.$t("hbLibComp.hbListPageAct.reset")), 1)
564
564
  ]),
565
565
  _: 1
@@ -568,7 +568,7 @@ const ml = Q(bl), pl = {
568
568
  key: 0,
569
569
  title: T.$t("hbLibComp.hbListPageAct.selfDefine")
570
570
  }, {
571
- default: c(() => [
571
+ default: d(() => [
572
572
  u("span", {
573
573
  class: "hb-lib-form-svg",
574
574
  onClick: w
@@ -595,26 +595,26 @@ const ml = Q(bl), pl = {
595
595
  }, 8, ["title"])) : O("", !0),
596
596
  W(T.$slots, "formBtns", {}, () => [
597
597
  e.needSearchCase ? (s(), z(de, { key: 0 }, {
598
- overlay: c(() => [
598
+ overlay: d(() => [
599
599
  I(ie, { onClick: g }, {
600
- default: c(() => [
601
- (s(!0), C(q, null, re(d.value, (_) => (s(), z(te, {
600
+ default: d(() => [
601
+ (s(!0), C(q, null, re(c.value, (_) => (s(), z(te, {
602
602
  key: _.id
603
603
  }, {
604
- default: c(() => [
604
+ default: d(() => [
605
605
  E(x(_.title), 1)
606
606
  ]),
607
607
  _: 2
608
608
  }, 1024))), 128)),
609
609
  I(te, { key: "add" }, {
610
- default: c(() => [
611
- u("span", hl, x(T.$t("hbLibComp.hbLibListForm.addScheme")), 1)
610
+ default: d(() => [
611
+ u("span", vo, x(T.$t("hbLibComp.hbLibListForm.addScheme")), 1)
612
612
  ]),
613
613
  _: 1
614
614
  }),
615
615
  I(te, { key: "edit" }, {
616
- default: c(() => [
617
- u("span", vl, x(T.$t("hbLibComp.hbLibListForm.editScheme")), 1)
616
+ default: d(() => [
617
+ u("span", go, x(T.$t("hbLibComp.hbLibListForm.editScheme")), 1)
618
618
  ]),
619
619
  _: 1
620
620
  })
@@ -622,11 +622,11 @@ const ml = Q(bl), pl = {
622
622
  _: 1
623
623
  })
624
624
  ]),
625
- default: c(() => [
625
+ default: d(() => [
626
626
  I(J, {
627
627
  title: T.$t("hbLibComp.hbLibListForm.queryCase")
628
628
  }, {
629
- default: c(() => [...F[1] || (F[1] = [
629
+ default: d(() => [...F[1] || (F[1] = [
630
630
  u("span", { style: { width: "18px", height: "18px", cursor: "pointer" } }, [
631
631
  u("svg", {
632
632
  t: "1765936014161",
@@ -664,31 +664,31 @@ const ml = Q(bl), pl = {
664
664
  ]),
665
665
  _: 3
666
666
  }, 16, ["model", "class"]),
667
- b.value ? (s(), C("div", {
667
+ p.value ? (s(), C("div", {
668
668
  key: 0,
669
- class: K([S(h).e("footer"), "form-footer"])
669
+ class: K([S(f).e("footer"), "form-footer"])
670
670
  }, [
671
671
  u("div", {
672
- class: K(S(h).e("footer__left"))
672
+ class: K(S(f).e("footer__left"))
673
673
  }, [
674
674
  W(T.$slots, "form-footer-left", {}, void 0, !0)
675
675
  ], 2),
676
676
  u("div", {
677
- class: K(S(h).e("footer__right"))
677
+ class: K(S(f).e("footer__right"))
678
678
  }, [
679
- v.value == "show" ? W(T.$slots, "form-footer-right", {
679
+ m.value == "show" ? W(T.$slots, "form-footer-right", {
680
680
  key: 0,
681
- formRef: f.value
681
+ formRef: b.value
682
682
  }, () => [
683
683
  I(X, {
684
684
  type: "primary",
685
685
  onClick: y,
686
686
  class: "hb_list_page_button"
687
687
  }, {
688
- icon: c(() => [
689
- I(S(De))
688
+ icon: d(() => [
689
+ I(S(Ae))
690
690
  ]),
691
- default: c(() => [
691
+ default: d(() => [
692
692
  E(" " + x(T.$t("hbLibComp.hbListPageAct.query")), 1)
693
693
  ]),
694
694
  _: 1
@@ -698,7 +698,7 @@ const ml = Q(bl), pl = {
698
698
  onClick: H,
699
699
  class: "hb_list_page_button"
700
700
  }, {
701
- default: c(() => [
701
+ default: d(() => [
702
702
  E(x(T.$t("hbLibComp.hbListPageAct.reset")), 1)
703
703
  ]),
704
704
  _: 1
@@ -707,7 +707,7 @@ const ml = Q(bl), pl = {
707
707
  key: 0,
708
708
  title: T.$t("hbLibComp.hbListPageAct.selfDefine")
709
709
  }, {
710
- default: c(() => [
710
+ default: d(() => [
711
711
  u("span", {
712
712
  class: "hb-lib-form-svg",
713
713
  onClick: w
@@ -734,26 +734,26 @@ const ml = Q(bl), pl = {
734
734
  }, 8, ["title"])) : O("", !0),
735
735
  W(T.$slots, "formBtns", {}, () => [
736
736
  e.needSearchCase ? (s(), z(de, { key: 0 }, {
737
- overlay: c(() => [
737
+ overlay: d(() => [
738
738
  I(ie, { onClick: g }, {
739
- default: c(() => [
740
- (s(!0), C(q, null, re(d.value, (_) => (s(), z(te, {
739
+ default: d(() => [
740
+ (s(!0), C(q, null, re(c.value, (_) => (s(), z(te, {
741
741
  key: _.id
742
742
  }, {
743
- default: c(() => [
743
+ default: d(() => [
744
744
  E(x(_.title), 1)
745
745
  ]),
746
746
  _: 2
747
747
  }, 1024))), 128)),
748
748
  I(te, { key: "add" }, {
749
- default: c(() => [
750
- u("span", gl, x(T.$t("hbLibComp.hbLibListForm.addScheme")), 1)
749
+ default: d(() => [
750
+ u("span", yo, x(T.$t("hbLibComp.hbLibListForm.addScheme")), 1)
751
751
  ]),
752
752
  _: 1
753
753
  }),
754
754
  I(te, { key: "edit" }, {
755
- default: c(() => [
756
- u("span", yl, x(T.$t("hbLibComp.hbLibListForm.editScheme")), 1)
755
+ default: d(() => [
756
+ u("span", _o, x(T.$t("hbLibComp.hbLibListForm.editScheme")), 1)
757
757
  ]),
758
758
  _: 1
759
759
  })
@@ -761,11 +761,11 @@ const ml = Q(bl), pl = {
761
761
  _: 1
762
762
  })
763
763
  ]),
764
- default: c(() => [
764
+ default: d(() => [
765
765
  I(J, {
766
766
  title: T.$t("hbLibComp.hbLibListForm.queryCase")
767
767
  }, {
768
- default: c(() => [...F[3] || (F[3] = [
768
+ default: d(() => [...F[3] || (F[3] = [
769
769
  u("span", {
770
770
  class: "hb-lib-form-svg",
771
771
  style: { width: "18px", height: "18px", cursor: "pointer" }
@@ -813,16 +813,16 @@ const ml = Q(bl), pl = {
813
813
  }),
814
814
  I(Ee, {
815
815
  showNumber: n.value,
816
- list: p.value,
816
+ list: v.value,
817
817
  ref_key: "HbSfCmRef",
818
818
  ref: k,
819
819
  onConfirm: L,
820
- saveKey: m.value
820
+ saveKey: h.value
821
821
  }, null, 8, ["showNumber", "list", "saveKey"])
822
822
  ], 64);
823
823
  };
824
824
  }
825
- }), Ll = /* @__PURE__ */ le(_l, [["__scopeId", "data-v-f513ff59"]]), Cl = Q(Ll), wl = { class: "hb-lib-list-page-act-box" }, kl = { class: "hb-lib-list-page-breadcrumb" }, Sl = { class: "hb-lib-list-page-act" }, xl = {
825
+ }), Co = /* @__PURE__ */ oe(Lo, [["__scopeId", "data-v-f513ff59"]]), wo = Q(Co), ko = { class: "hb-lib-list-page-act-box" }, So = { class: "hb-lib-list-page-breadcrumb" }, xo = { class: "hb-lib-list-page-act" }, To = {
826
826
  key: 0,
827
827
  t: "1757915338760",
828
828
  class: "icon",
@@ -832,7 +832,7 @@ const ml = Q(bl), pl = {
832
832
  "p-id": "22885",
833
833
  width: "200",
834
834
  height: "200"
835
- }, Tl = {
835
+ }, Fo = {
836
836
  key: 1,
837
837
  t: "1757915360496",
838
838
  class: "icon",
@@ -842,7 +842,7 @@ const ml = Q(bl), pl = {
842
842
  "p-id": "23904",
843
843
  width: "200",
844
844
  height: "200"
845
- }, Fl = /* @__PURE__ */ Z({
845
+ }, Ho = /* @__PURE__ */ Z({
846
846
  name: "HbLibListPageAct",
847
847
  __name: "HbListPageAct",
848
848
  props: {
@@ -850,65 +850,65 @@ const ml = Q(bl), pl = {
850
850
  hideDomList: {}
851
851
  },
852
852
  setup(e) {
853
- const l = be("globalCompConfig", {}), t = e, { isFullscreen: o, toggle: i } = It(document.body);
853
+ const o = be("globalCompConfig", {}), t = e, { isFullscreen: l, toggle: i } = It(document.body);
854
854
  ae(
855
- () => o.value,
855
+ () => l.value,
856
856
  (a) => {
857
857
  let n = ["#globalHead", "#globalLeft", "#globalNavFrame"];
858
- Array.isArray(t.hideDomList) && t.hideDomList.length ? n = [...t.hideDomList] : l.HbLibListPageAct?.hideDomList && (n = [...l.HbLibListPageAct.hideDomList]);
859
- const v = /* @__PURE__ */ new Map();
858
+ Array.isArray(t.hideDomList) && t.hideDomList.length ? n = [...t.hideDomList] : o.HbLibListPageAct?.hideDomList && (n = [...o.HbLibListPageAct.hideDomList]);
859
+ const m = /* @__PURE__ */ new Map();
860
860
  setTimeout(a ? () => {
861
861
  if (n?.length)
862
- for (let b = 0; b < n.length; b++) {
863
- const p = document.querySelector(n[b]);
864
- p && (v.set(n[b], p.style.display), p.style.display = "none");
862
+ for (let p = 0; p < n.length; p++) {
863
+ const v = document.querySelector(n[p]);
864
+ v && (m.set(n[p], v.style.display), v.style.display = "none");
865
865
  }
866
866
  } : () => {
867
867
  if (n?.length)
868
- for (let b = 0; b < n.length; b++) {
869
- const p = document.querySelector(n[b]);
870
- if (p) {
871
- const D = v.get(n[b]);
872
- p.style.display = D || "", v.delete(n[b]);
868
+ for (let p = 0; p < n.length; p++) {
869
+ const v = document.querySelector(n[p]);
870
+ if (v) {
871
+ const A = m.get(n[p]);
872
+ v.style.display = A || "", m.delete(n[p]);
873
873
  }
874
874
  }
875
875
  }, 0);
876
876
  }
877
877
  );
878
- const r = N(""), d = () => {
878
+ const r = N(""), c = () => {
879
879
  const a = Xe();
880
- let n = localStorage.getItem(l.HbLibListPageAct?.breadCrumbListKey || "BreadCrumb") || "[]", v = a?.path;
880
+ let n = localStorage.getItem(o.HbLibListPageAct?.breadCrumbListKey || "BreadCrumb") || "[]", m = a?.path;
881
881
  if (n !== "[]") {
882
- let b = JSON.parse(n).find((p) => p.value === v);
883
- b && (r.value = b.label.replace(/-/g, " / "));
882
+ let p = JSON.parse(n).find((v) => v.value === m);
883
+ p && (r.value = p.label.replace(/-/g, " / "));
884
884
  }
885
885
  };
886
886
  me(() => {
887
- d();
887
+ c();
888
888
  });
889
- const h = (a) => {
889
+ const f = (a) => {
890
890
  a.keyCode === 192 && i();
891
891
  };
892
892
  return me(() => {
893
- window.addEventListener("keydown", h);
893
+ window.addEventListener("keydown", f);
894
894
  }), xe(() => {
895
- window.removeEventListener("keydown", h);
895
+ window.removeEventListener("keydown", f);
896
896
  }), (a, n) => {
897
- const v = V("a-tooltip");
898
- return s(), C("section", wl, [
899
- u("aside", kl, x(r.value), 1),
900
- u("aside", Sl, [
901
- I(v, {
902
- title: S(o) ? `${a.$t("hbLibComp.hbListPageAct.exitFullScreen")}` : `${a.$t("hbLibComp.hbListPageAct.fullScreen")}`,
897
+ const m = V("a-tooltip");
898
+ return s(), C("section", ko, [
899
+ u("aside", So, x(r.value), 1),
900
+ u("aside", xo, [
901
+ I(m, {
902
+ title: S(l) ? `${a.$t("hbLibComp.hbListPageAct.exitFullScreen")}` : `${a.$t("hbLibComp.hbListPageAct.fullScreen")}`,
903
903
  placement: "leftTop"
904
904
  }, {
905
- default: c(() => [
905
+ default: d(() => [
906
906
  u("span", {
907
907
  class: "hb-lib-list-page-act-svg",
908
908
  onClick: n[0] || (n[0] = //@ts-ignore
909
- (...b) => S(i) && S(i)(...b))
909
+ (...p) => S(i) && S(i)(...p))
910
910
  }, [
911
- S(o) ? (s(), C("svg", Tl, [...n[2] || (n[2] = [
911
+ S(l) ? (s(), C("svg", Fo, [...n[2] || (n[2] = [
912
912
  u("path", {
913
913
  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",
914
914
  fill: "#ff5000",
@@ -924,7 +924,7 @@ const ml = Q(bl), pl = {
924
924
  fill: "#ff5000",
925
925
  "p-id": "23907"
926
926
  }, null, -1)
927
- ])])) : (s(), C("svg", xl, [...n[1] || (n[1] = [
927
+ ])])) : (s(), C("svg", To, [...n[1] || (n[1] = [
928
928
  u("path", {
929
929
  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",
930
930
  fill: "#ff5000",
@@ -940,7 +940,7 @@ const ml = Q(bl), pl = {
940
940
  ]);
941
941
  };
942
942
  }
943
- }), Hl = /* @__PURE__ */ le(Fl, [["__scopeId", "data-v-c7cd0710"]]), $l = Q(Hl), Il = { class: "hb-lib-list-btns-box" }, Ml = { class: "hb-lib-list-btns-left" }, Al = { class: "hb-lib-list-btns-right" }, Dl = /* @__PURE__ */ Z({
943
+ }), $o = /* @__PURE__ */ oe(Ho, [["__scopeId", "data-v-c7cd0710"]]), Io = Q($o), Mo = { class: "hb-lib-list-btns-box" }, Do = { class: "hb-lib-list-btns-left" }, Ao = { class: "hb-lib-list-btns-right" }, Bo = /* @__PURE__ */ Z({
944
944
  name: "HbLibListBtnsAct",
945
945
  __name: "HbListBtns",
946
946
  props: {
@@ -948,29 +948,29 @@ const ml = Q(bl), pl = {
948
948
  needOpenOrClose: { type: Boolean, default: !0 }
949
949
  },
950
950
  emits: ["handleOpenOrClose", "handleReload"],
951
- setup(e, { emit: l }) {
952
- const t = l, o = N(!0), i = () => {
953
- o.value = !o.value, t("handleOpenOrClose", o.value);
951
+ setup(e, { emit: o }) {
952
+ const t = o, l = N(!0), i = () => {
953
+ l.value = !l.value, t("handleOpenOrClose", l.value);
954
954
  }, r = () => {
955
955
  t("handleReload");
956
- }, d = (h) => {
956
+ }, c = (f) => {
957
957
  };
958
958
  return me(() => {
959
- window.addEventListener("keydown", d);
959
+ window.addEventListener("keydown", c);
960
960
  }), xe(() => {
961
- window.removeEventListener("keydown", d);
962
- }), (h, a) => {
961
+ window.removeEventListener("keydown", c);
962
+ }), (f, a) => {
963
963
  const n = V("a-tooltip");
964
- return s(), C("section", Il, [
965
- u("aside", Ml, [
966
- W(h.$slots, "btnsLeft", {}, void 0, !0)
964
+ return s(), C("section", Mo, [
965
+ u("aside", Do, [
966
+ W(f.$slots, "btnsLeft", {}, void 0, !0)
967
967
  ]),
968
- u("aside", Al, [
968
+ u("aside", Ao, [
969
969
  e.needReload ? (s(), z(n, {
970
970
  key: 0,
971
- title: h.$t("hbLibComp.hbListBtnsAct.reload")
971
+ title: f.$t("hbLibComp.hbListBtnsAct.reload")
972
972
  }, {
973
- default: c(() => [
973
+ default: d(() => [
974
974
  u("span", {
975
975
  class: "hb-lib-list-btns-act-svg hb-lib-list-btns-item",
976
976
  onClick: r
@@ -997,17 +997,17 @@ const ml = Q(bl), pl = {
997
997
  }, 8, ["title"])) : O("", !0),
998
998
  e.needOpenOrClose ? (s(), z(n, {
999
999
  key: 1,
1000
- title: o.value ? `${h.$t("hbLibComp.hbListBtnsAct.close")}` : `${h.$t("hbLibComp.hbListBtnsAct.open")}`
1000
+ title: l.value ? `${f.$t("hbLibComp.hbListBtnsAct.close")}` : `${f.$t("hbLibComp.hbListBtnsAct.open")}`
1001
1001
  }, {
1002
- default: c(() => [
1002
+ default: d(() => [
1003
1003
  u("span", {
1004
1004
  class: "hb-lib-list-btns-act-open hb-lib-list-btns-item",
1005
1005
  onClick: i
1006
1006
  }, [
1007
- o.value ? (s(), z(S(Zt), {
1007
+ l.value ? (s(), z(S(Zt), {
1008
1008
  key: 0,
1009
1009
  style: { "font-size": "21px", color: "#ff5000" }
1010
- })) : (s(), z(S(el), {
1010
+ })) : (s(), z(S(eo), {
1011
1011
  key: 1,
1012
1012
  style: { "font-size": "21px", color: "#ff5000" }
1013
1013
  }))
@@ -1015,34 +1015,34 @@ const ml = Q(bl), pl = {
1015
1015
  ]),
1016
1016
  _: 1
1017
1017
  }, 8, ["title"])) : O("", !0),
1018
- W(h.$slots, "btnsRight", {}, void 0, !0)
1018
+ W(f.$slots, "btnsRight", {}, void 0, !0)
1019
1019
  ])
1020
1020
  ]);
1021
1021
  };
1022
1022
  }
1023
- }), Bl = /* @__PURE__ */ le(Dl, [["__scopeId", "data-v-40c1a746"]]), Ol = Q(Bl), El = (e = {}) => {
1024
- const { formRef: l, offsetBottom: t = 50, minHeight: o = 300, timeOut: i = 100 } = e, r = N(0);
1025
- let d = null, h = null, a = null, n = null, v = null;
1026
- const b = () => {
1027
- v && clearTimeout(v), v = setTimeout(() => {
1023
+ }), Oo = /* @__PURE__ */ oe(Bo, [["__scopeId", "data-v-40c1a746"]]), Eo = Q(Oo), Po = (e = {}) => {
1024
+ const { formRef: o, offsetBottom: t = 50, minHeight: l = 300, timeOut: i = 100 } = e, r = N(0);
1025
+ let c = null, f = null, a = null, n = null, m = null;
1026
+ const p = () => {
1027
+ m && clearTimeout(m), m = setTimeout(() => {
1028
1028
  requestAnimationFrame(() => {
1029
- _e(() => {
1030
- const f = document.querySelector(".ant-table"), y = document.querySelector(".ant-pagination");
1031
- if (f) {
1032
- const H = Math.floor(f.getBoundingClientRect().top), k = window.innerHeight, g = (y ? y.offsetHeight + 20 : 40) + t;
1029
+ pe(() => {
1030
+ const b = document.querySelector(".ant-table"), y = document.querySelector(".ant-pagination");
1031
+ if (b) {
1032
+ const H = Math.floor(b.getBoundingClientRect().top), k = window.innerHeight, g = (y ? y.offsetHeight + 20 : 40) + t;
1033
1033
  let L = k - H - g;
1034
- L < o && (L = o), r.value = L;
1034
+ L < l && (L = l), r.value = L;
1035
1035
  }
1036
1036
  });
1037
1037
  });
1038
1038
  }, 100);
1039
- }, p = () => {
1040
- const f = document.querySelector(".ant-pagination");
1041
- if (f) {
1039
+ }, v = () => {
1040
+ const b = document.querySelector(".ant-pagination");
1041
+ if (b) {
1042
1042
  const y = new MutationObserver(() => {
1043
- b();
1043
+ p();
1044
1044
  });
1045
- return y.observe(f, {
1045
+ return y.observe(b, {
1046
1046
  childList: !0,
1047
1047
  subtree: !0,
1048
1048
  attributes: !0,
@@ -1050,20 +1050,20 @@ const ml = Q(bl), pl = {
1050
1050
  }), y;
1051
1051
  }
1052
1052
  return null;
1053
- }, D = () => {
1054
- const f = document.querySelector(".hb-lib-list-page-form-box");
1055
- f && (d = new ResizeObserver(() => {
1053
+ }, A = () => {
1054
+ const b = document.querySelector(".hb-lib-list-page-form-box");
1055
+ b && (c = new ResizeObserver(() => {
1056
1056
  document.querySelectorAll(".ant-tooltip").forEach((H) => {
1057
1057
  H.style.display = "none";
1058
- }), b();
1059
- }), d.observe(f));
1058
+ }), p();
1059
+ }), c.observe(b));
1060
1060
  }, M = () => {
1061
- const f = document.querySelector(".hb-lib-list-page-form-box");
1062
- f && (a = new MutationObserver(() => {
1061
+ const b = document.querySelector(".hb-lib-list-page-form-box");
1062
+ b && (a = new MutationObserver(() => {
1063
1063
  setTimeout(() => {
1064
- b();
1064
+ p();
1065
1065
  }, i);
1066
- }), a.observe(f, {
1066
+ }), a.observe(b, {
1067
1067
  childList: !0,
1068
1068
  subtree: !0,
1069
1069
  attributes: !0,
@@ -1071,32 +1071,32 @@ const ml = Q(bl), pl = {
1071
1071
  }));
1072
1072
  }, R = () => {
1073
1073
  n && clearTimeout(n), n = setTimeout(() => {
1074
- b();
1074
+ p();
1075
1075
  }, i);
1076
1076
  }, P = () => {
1077
- window.addEventListener("resize", R), _e(() => {
1078
- D(), M(), h = p();
1077
+ window.addEventListener("resize", R), pe(() => {
1078
+ A(), M(), f = v();
1079
1079
  });
1080
- }, m = () => {
1081
- window.removeEventListener("resize", R), d && d.disconnect(), a && a.disconnect(), h && h.disconnect(), n && clearTimeout(n), v && clearTimeout(v);
1080
+ }, h = () => {
1081
+ window.removeEventListener("resize", R), c && c.disconnect(), a && a.disconnect(), f && f.disconnect(), n && clearTimeout(n), m && clearTimeout(m);
1082
1082
  };
1083
- return l && ae(
1084
- () => l,
1083
+ return o && ae(
1084
+ () => o,
1085
1085
  () => {
1086
1086
  setTimeout(() => {
1087
- b();
1087
+ p();
1088
1088
  }, 200);
1089
1089
  },
1090
1090
  { deep: !0 }
1091
1091
  ), me(() => {
1092
- b(), P();
1092
+ p(), P();
1093
1093
  }), xe(() => {
1094
- m();
1094
+ h();
1095
1095
  }), {
1096
1096
  tableHeight: r,
1097
- calTableHeight: b
1097
+ calTableHeight: p
1098
1098
  };
1099
- }, Pl = /* @__PURE__ */ Z({
1099
+ }, No = /* @__PURE__ */ Z({
1100
1100
  name: "HbLibListPageContainer",
1101
1101
  __name: "HbListPageContainer",
1102
1102
  props: {
@@ -1109,52 +1109,52 @@ const ml = Q(bl), pl = {
1109
1109
  isUnFixTbHeight: { type: Boolean }
1110
1110
  },
1111
1111
  setup(e) {
1112
- const l = be("globalCompConfig", {}), { isFullscreen: t } = It(document.body), o = e, i = Ut("PageContainerRef"), r = A(() => o.offsetHeight || l.HbLibListPageContainer?.offsetHeight || 110), d = A(() => o.offsetBottom || l.HbLibListPageContainer?.offsetBottom || 20), h = A(() => o.minHeight || l.HbLibListPageContainer?.minHeight || 300), a = A(() => o.timeOut || l.HbLibListPageContainer?.timeOut || 100), n = A(() => o.isUnFixTbHeight || l.HbLibListPageContainer?.isUnFixTbHeight || !1);
1113
- console.log(o.isUnFixTbHeight);
1114
- const { calTableHeight: v, tableHeight: b } = El({
1115
- offsetBottom: d.value,
1112
+ const o = be("globalCompConfig", {}), { isFullscreen: t } = It(document.body), l = e, i = Ut("PageContainerRef"), r = D(() => l.offsetHeight || o.HbLibListPageContainer?.offsetHeight || 110), c = D(() => l.offsetBottom || o.HbLibListPageContainer?.offsetBottom || 20), f = D(() => l.minHeight || o.HbLibListPageContainer?.minHeight || 300), a = D(() => l.timeOut || o.HbLibListPageContainer?.timeOut || 100), n = D(() => l.isUnFixTbHeight || o.HbLibListPageContainer?.isUnFixTbHeight || !1);
1113
+ console.log(l.isUnFixTbHeight);
1114
+ const { calTableHeight: m, tableHeight: p } = Po({
1115
+ offsetBottom: c.value,
1116
1116
  // 底部预留空间
1117
- minHeight: h.value,
1117
+ minHeight: f.value,
1118
1118
  // table最小高度 请勿随便修改!!
1119
1119
  timeOut: a.value
1120
- }), p = A(() => b.value);
1120
+ }), v = D(() => p.value);
1121
1121
  return kt("HB_LIST_PAGE_CONTAINER", {
1122
1122
  PageContainerRef: i,
1123
1123
  // 通过函数访问,
1124
- tableHeight: b,
1125
- calTableHeight: v
1126
- }), (D, M) => (s(), C("section", {
1124
+ tableHeight: p,
1125
+ calTableHeight: m
1126
+ }), (A, M) => (s(), C("section", {
1127
1127
  class: "hb-lib-list-page-container",
1128
1128
  ref_key: "PageContainerRef",
1129
1129
  ref: i
1130
1130
  }, [
1131
- W(D.$slots, "header"),
1131
+ W(A.$slots, "header"),
1132
1132
  u("section", {
1133
1133
  class: "list-page-box",
1134
1134
  style: ce(
1135
1135
  n.value ? null : {
1136
- "--hb-list-table-height": S(t) ? p.value - r.value + "px" : p.value - d.value + "px",
1137
- "--hb-list-ttable-height": e.tableData.length ? "" : S(t) ? p.value - r.value + "px" : p.value - d.value + "px"
1136
+ "--hb-list-table-height": S(t) ? v.value - r.value + "px" : v.value - c.value + "px",
1137
+ "--hb-list-ttable-height": e.tableData.length ? "" : S(t) ? v.value - r.value + "px" : v.value - c.value + "px"
1138
1138
  }
1139
1139
  )
1140
1140
  }, [
1141
- W(D.$slots, "default")
1141
+ W(A.$slots, "default")
1142
1142
  ], 4)
1143
1143
  ], 512));
1144
1144
  }
1145
- }), Nl = Q(Pl), Ul = { style: { "font-weight": "500" } }, zl = {
1145
+ }), Uo = Q(No), zo = { style: { "font-weight": "500" } }, Ro = {
1146
1146
  key: 0,
1147
1147
  class: "hb-lib-search-tag__description"
1148
- }, Rl = { class: "hb-lib-selector-dropdown" }, Vl = { class: "hb-lib-selector-search" }, Wl = { class: "hb-lib-selector-list" }, jl = ["onClick"], ql = { class: "hb-lib-option-content" }, Yl = { class: "hb-lib-option-label" }, Kl = {
1148
+ }, Vo = { class: "hb-lib-selector-dropdown" }, Wo = { class: "hb-lib-selector-search" }, jo = { class: "hb-lib-selector-list" }, qo = ["onClick"], Yo = { class: "hb-lib-option-content" }, Ko = { class: "hb-lib-option-label" }, Go = {
1149
1149
  key: 0,
1150
1150
  class: "hb-lib-selector-empty"
1151
- }, Gl = {
1151
+ }, Jo = {
1152
1152
  key: 1,
1153
1153
  class: "hb-lib-selector-footer"
1154
- }, Jl = { class: "hb-lib-footer-buttons" }, Xl = {
1154
+ }, Xo = { class: "hb-lib-footer-buttons" }, Qo = {
1155
1155
  key: 2,
1156
1156
  class: "hb-lib-selector-footer"
1157
- }, Ql = { class: "hb-lib-footer-buttons" }, Zl = /* @__PURE__ */ Z({
1157
+ }, Zo = { class: "hb-lib-footer-buttons" }, el = /* @__PURE__ */ Z({
1158
1158
  name: "HbLibListMultiSelect",
1159
1159
  __name: "HbListMultiSelect",
1160
1160
  props: /* @__PURE__ */ Ve({
@@ -1174,66 +1174,66 @@ const ml = Q(bl), pl = {
1174
1174
  valueModifiers: {}
1175
1175
  }),
1176
1176
  emits: /* @__PURE__ */ Ve(["update:value", "update:searchValue", "change", "confirm", "cancel", "search"], ["update:value"]),
1177
- setup(e, { emit: l }) {
1178
- const t = e, o = l, i = St(e, "value"), r = N(!1), d = N(""), h = N([]), a = N(), n = A(() => {
1179
- if (t.remoteSearch || !d.value) return t.options;
1180
- const k = d.value.toLowerCase();
1177
+ setup(e, { emit: o }) {
1178
+ const t = e, l = o, i = St(e, "value"), r = N(!1), c = N(""), f = N([]), a = N(), n = D(() => {
1179
+ if (t.remoteSearch || !c.value) return t.options;
1180
+ const k = c.value.toLowerCase();
1181
1181
  return t.options.filter((w) => w.label.toLowerCase().includes(k) || w.description?.toLowerCase().includes(k));
1182
- }), v = A(() => t.prefix ? `${t.prefix.length * 14 + 8}px` : "0px"), b = A(() => n.value.length === 0 ? !1 : n.value.every((k) => h.value.includes(k.value))), p = A(() => {
1182
+ }), m = D(() => t.prefix ? `${t.prefix.length * 14 + 8}px` : "0px"), p = D(() => n.value.length === 0 ? !1 : n.value.every((k) => f.value.includes(k.value))), v = D(() => {
1183
1183
  if (n.value.length === 0) return !1;
1184
- const k = n.value.filter((w) => h.value.includes(w.value)).length;
1184
+ const k = n.value.filter((w) => f.value.includes(w.value)).length;
1185
1185
  return k > 0 && k < n.value.length;
1186
1186
  });
1187
1187
  ae(
1188
1188
  () => i.value,
1189
1189
  (k) => {
1190
- k ? h.value = Array.isArray(k) ? [...k] : [k] : h.value = [];
1190
+ k ? f.value = Array.isArray(k) ? [...k] : [k] : f.value = [];
1191
1191
  },
1192
1192
  { immediate: !0 }
1193
1193
  ), ae(
1194
1194
  () => t.searchValue,
1195
1195
  (k) => {
1196
- t.remoteSearch && k !== void 0 && (d.value = k);
1196
+ t.remoteSearch && k !== void 0 && (c.value = k);
1197
1197
  },
1198
1198
  { immediate: !0 }
1199
1199
  );
1200
- const D = (k) => {
1201
- k && (r.value = k, M.value = [...h.value], d.value = "", setTimeout(() => {
1200
+ const A = (k) => {
1201
+ k && (r.value = k, M.value = [...f.value], c.value = "", setTimeout(() => {
1202
1202
  if (a.value) {
1203
1203
  const w = a.value.input || a.value.$el?.querySelector("input");
1204
1204
  w && w.focus();
1205
1205
  }
1206
1206
  }, 100));
1207
1207
  }, M = N([]), R = () => {
1208
- h.value = [...M.value], r.value = !1, o("cancel");
1209
- }, P = N([]), m = () => {
1210
- const k = t.multiple ? h.value : h.value[0] || "", w = t.options.filter((g) => h.value.includes(g.value));
1211
- P.value = w, console.log(k, w), M.value = [...h.value], i.value = k, o("update:value", k), o("change", k, w), o("confirm", k, w), r.value = !1;
1212
- }, f = ol((k) => {
1213
- const w = k !== void 0 ? k : d.value;
1214
- t.remoteSearch && (o("search", w), o("update:searchValue", w));
1208
+ f.value = [...M.value], r.value = !1, l("cancel");
1209
+ }, P = N([]), h = () => {
1210
+ const k = t.multiple ? f.value : f.value[0] || "", w = t.options.filter((g) => f.value.includes(g.value));
1211
+ P.value = w, console.log(k, w), M.value = [...f.value], i.value = k, l("update:value", k), l("change", k, w), l("confirm", k, w), r.value = !1;
1212
+ }, b = lo((k) => {
1213
+ const w = k !== void 0 ? k : c.value;
1214
+ t.remoteSearch && (l("search", w), l("update:searchValue", w));
1215
1215
  }, 300), y = (k) => {
1216
1216
  if (t.multiple) {
1217
- const w = new Set(h.value);
1218
- w.has(k.value) ? w.delete(k.value) : w.add(k.value), h.value = Array.from(w);
1217
+ const w = new Set(f.value);
1218
+ w.has(k.value) ? w.delete(k.value) : w.add(k.value), f.value = Array.from(w);
1219
1219
  } else
1220
- h.value = [k.value], m();
1220
+ f.value = [k.value], h();
1221
1221
  }, H = (k) => {
1222
1222
  if (k.target.checked) {
1223
- const g = new Set(h.value);
1223
+ const g = new Set(f.value);
1224
1224
  n.value.forEach((L) => {
1225
1225
  g.add(L.value);
1226
- }), h.value = Array.from(g);
1226
+ }), f.value = Array.from(g);
1227
1227
  } else {
1228
1228
  const g = new Set(n.value.map((L) => L.value));
1229
- h.value = h.value.filter((L) => !g.has(L));
1229
+ f.value = f.value.filter((L) => !g.has(L));
1230
1230
  }
1231
1231
  };
1232
1232
  return (k, w) => {
1233
1233
  const g = V("a-tag"), L = V("a-input"), $ = V("a-checkbox"), U = V("a-radio"), G = V("a-button"), ne = V("a-select");
1234
- return s(), C("div", oe({
1234
+ return s(), C("div", le({
1235
1235
  class: "hb-lib-selector-wrapper",
1236
- style: { "--prefix-width": v.value }
1236
+ style: { "--prefix-width": m.value }
1237
1237
  }, k.$attrs), [
1238
1238
  I(ne, {
1239
1239
  value: i.value,
@@ -1246,86 +1246,86 @@ const ml = Q(bl), pl = {
1246
1246
  allowClear: "",
1247
1247
  maxTagCount: e.maxTagCount,
1248
1248
  options: n.value,
1249
- onDropdownVisibleChange: D,
1250
- onSearch: S(f),
1249
+ onDropdownVisibleChange: A,
1250
+ onSearch: S(b),
1251
1251
  "max-tag-text-length": e.tagTextLength,
1252
1252
  class: K({ "has-prefix": e.prefix }),
1253
1253
  "data-prefix": e.prefix,
1254
1254
  style: { width: "100%" }
1255
1255
  }, {
1256
- tagRender: c(({ value: T, label: F, closable: X, option: J }) => [
1256
+ tagRender: d(({ value: T, label: F, closable: X, option: J }) => [
1257
1257
  I(g, {
1258
1258
  class: "hb-lib-search-tag",
1259
- onClick: w[0] || (w[0] = () => D(!0))
1259
+ onClick: w[0] || (w[0] = () => A(!0))
1260
1260
  }, {
1261
- default: c(() => [
1262
- u("span", Ul, x(F), 1),
1263
- J?.description ? (s(), C("span", zl, " (" + x(J.description) + ") ", 1)) : O("", !0)
1261
+ default: d(() => [
1262
+ u("span", zo, x(F), 1),
1263
+ J?.description ? (s(), C("span", Ro, " (" + x(J.description) + ") ", 1)) : O("", !0)
1264
1264
  ]),
1265
1265
  _: 2
1266
1266
  }, 1024)
1267
1267
  ]),
1268
- dropdownRender: c(({ menuNode: T }) => [
1269
- u("div", Rl, [
1270
- u("div", Vl, [
1268
+ dropdownRender: d(({ menuNode: T }) => [
1269
+ u("div", Vo, [
1270
+ u("div", Wo, [
1271
1271
  I(L, {
1272
1272
  ref_key: "searchInputRef",
1273
1273
  ref: a,
1274
1274
  class: "hb-lib-selector-search-input",
1275
- value: d.value,
1276
- "onUpdate:value": w[1] || (w[1] = (F) => d.value = F),
1275
+ value: c.value,
1276
+ "onUpdate:value": w[1] || (w[1] = (F) => c.value = F),
1277
1277
  placeholder: "请输入关键词搜索",
1278
1278
  "allow-clear": "",
1279
- onInput: w[2] || (w[2] = (F) => S(f)(F.target.value))
1279
+ onInput: w[2] || (w[2] = (F) => S(b)(F.target.value))
1280
1280
  }, {
1281
- prefix: c(() => [
1282
- I(S(De))
1281
+ prefix: d(() => [
1282
+ I(S(Ae))
1283
1283
  ]),
1284
1284
  _: 1
1285
1285
  }, 8, ["value"])
1286
1286
  ]),
1287
- u("div", Wl, [
1287
+ u("div", jo, [
1288
1288
  (s(!0), C(q, null, re(n.value, (F) => (s(), C("div", {
1289
1289
  key: F.value,
1290
- class: K(["hb-lib-selector-option", { selected: h.value.includes(F.value) }]),
1290
+ class: K(["hb-lib-selector-option", { selected: f.value.includes(F.value) }]),
1291
1291
  onClick: () => y(F)
1292
1292
  }, [
1293
1293
  e.multiple ? (s(), z($, {
1294
1294
  key: 0,
1295
- checked: h.value.includes(F.value),
1295
+ checked: f.value.includes(F.value),
1296
1296
  onChange: () => y(F),
1297
1297
  onClick: w[3] || (w[3] = $e(() => {
1298
1298
  }, ["stop"]))
1299
1299
  }, null, 8, ["checked", "onChange"])) : (s(), z(U, {
1300
1300
  key: 1,
1301
- checked: h.value.includes(F.value),
1301
+ checked: f.value.includes(F.value),
1302
1302
  onChange: () => y(F),
1303
1303
  onClick: w[4] || (w[4] = $e(() => {
1304
1304
  }, ["stop"]))
1305
1305
  }, null, 8, ["checked", "onChange"])),
1306
- u("div", ql, [
1307
- u("div", Yl, x(F.label), 1)
1306
+ u("div", Yo, [
1307
+ u("div", Ko, x(F.label), 1)
1308
1308
  ])
1309
- ], 10, jl))), 128))
1309
+ ], 10, qo))), 128))
1310
1310
  ]),
1311
- n.value.length === 0 ? (s(), C("div", Kl, x(k.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : O("", !0),
1312
- e.multiple ? (s(), C("div", Gl, [
1311
+ n.value.length === 0 ? (s(), C("div", Go, x(k.$t("hbLibComp.hbFormItemFilterModal.noData")), 1)) : O("", !0),
1312
+ e.multiple ? (s(), C("div", Jo, [
1313
1313
  I($, {
1314
- checked: b.value,
1315
- indeterminate: p.value,
1314
+ checked: p.value,
1315
+ indeterminate: v.value,
1316
1316
  onChange: H
1317
1317
  }, {
1318
- default: c(() => [
1318
+ default: d(() => [
1319
1319
  E(x(k.$t("hbLibComp.hbFormSelectFilter.allSelect")), 1)
1320
1320
  ]),
1321
1321
  _: 1
1322
1322
  }, 8, ["checked", "indeterminate"]),
1323
- u("div", Jl, [
1323
+ u("div", Xo, [
1324
1324
  I(G, {
1325
1325
  size: "small",
1326
1326
  onClick: R
1327
1327
  }, {
1328
- default: c(() => [
1328
+ default: d(() => [
1329
1329
  E(x(k.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
1330
1330
  ]),
1331
1331
  _: 1
@@ -1333,22 +1333,22 @@ const ml = Q(bl), pl = {
1333
1333
  I(G, {
1334
1334
  type: "primary",
1335
1335
  size: "small",
1336
- onClick: m
1336
+ onClick: h
1337
1337
  }, {
1338
- default: c(() => [
1338
+ default: d(() => [
1339
1339
  E(x(k.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
1340
1340
  ]),
1341
1341
  _: 1
1342
1342
  })
1343
1343
  ])
1344
- ])) : (s(), C("div", Xl, [
1344
+ ])) : (s(), C("div", Qo, [
1345
1345
  w[6] || (w[6] = u("div", null, null, -1)),
1346
- u("div", Ql, [
1346
+ u("div", Zo, [
1347
1347
  I(G, {
1348
1348
  size: "small",
1349
1349
  onClick: R
1350
1350
  }, {
1351
- default: c(() => [
1351
+ default: d(() => [
1352
1352
  E(x(k.$t("hbLibComp.hbFormSelectFilter.close")), 1)
1353
1353
  ]),
1354
1354
  _: 1
@@ -1362,7 +1362,7 @@ const ml = Q(bl), pl = {
1362
1362
  ], 16);
1363
1363
  };
1364
1364
  }
1365
- }), eo = /* @__PURE__ */ le(Zl, [["__scopeId", "data-v-87177371"]]), to = Q(eo), lo = { class: "hb-lib-form-item-filter-modal-search" }, oo = { class: "hb-lib-form-item-filter-modal-buttons" }, ao = { key: 0 }, no = /* @__PURE__ */ Z({
1365
+ }), tl = /* @__PURE__ */ oe(el, [["__scopeId", "data-v-87177371"]]), ol = Q(tl), ll = { class: "hb-lib-form-item-filter-modal-search" }, al = { class: "hb-lib-form-item-filter-modal-buttons" }, nl = { key: 0 }, il = /* @__PURE__ */ Z({
1366
1366
  name: "HbLibMutilpleSelectModal",
1367
1367
  __name: "HbMutilpleSelectModal",
1368
1368
  props: {
@@ -1375,38 +1375,38 @@ const ml = Q(bl), pl = {
1375
1375
  labelKey: { default: "label" }
1376
1376
  },
1377
1377
  emits: ["handleConfirm", "handleCancel"],
1378
- setup(e, { expose: l, emit: t }) {
1379
- const o = e, i = t, r = N(!1), d = N(""), h = N(), a = N(), n = N([]), v = N([]), b = N(), p = Se({
1378
+ setup(e, { expose: o, emit: t }) {
1379
+ const l = e, i = t, r = N(!1), c = N(""), f = N(), a = N(), n = N([]), m = N([]), p = N(), v = Se({
1380
1380
  searchText: "",
1381
1381
  searchedColumn: ""
1382
- }), D = A(() => o.tableData.map((g) => (g.id = g.id || Math.random(), g))), M = A(() => o.tableColumn.map((g) => (g.customFilterDropdown && (g.onFilter = (L, $) => $[g.dataIndex].toString().toLowerCase().includes(L.toLowerCase()), g.onFilterDropdownVisibleChange = (L) => {
1382
+ }), A = D(() => l.tableData.map((g) => (g.id = g.id || Math.random(), g))), M = D(() => l.tableColumn.map((g) => (g.customFilterDropdown && (g.onFilter = (L, $) => $[g.dataIndex].toString().toLowerCase().includes(L.toLowerCase()), g.onFilterDropdownVisibleChange = (L) => {
1383
1383
  L && setTimeout(() => {
1384
- h.value?.focus();
1384
+ f.value?.focus();
1385
1385
  }, 100);
1386
1386
  }), { ...g }))), R = () => {
1387
1387
  let g = "";
1388
- v.value.forEach((L) => {
1389
- g = g + L[o.labelKey] + ",";
1390
- }), d.value = g.substring(0, g.length - 1), r.value = !1, i("handleConfirm", v.value);
1388
+ m.value.forEach((L) => {
1389
+ g = g + L[l.labelKey] + ",";
1390
+ }), c.value = g.substring(0, g.length - 1), r.value = !1, i("handleConfirm", m.value);
1391
1391
  }, P = () => {
1392
1392
  r.value = !1;
1393
- }, m = () => {
1394
- r.value = !0, _e(() => {
1395
- const g = b.value?.$el?.querySelector(".ant-table-body");
1393
+ }, h = () => {
1394
+ r.value = !0, pe(() => {
1395
+ const g = p.value?.$el?.querySelector(".ant-table-body");
1396
1396
  g && (g.scrollTop = 0);
1397
1397
  });
1398
- }, f = () => {
1399
- n.value = [], v.value = [];
1398
+ }, b = () => {
1399
+ n.value = [], m.value = [];
1400
1400
  }, y = () => {
1401
- d.value = "", f();
1401
+ c.value = "", b();
1402
1402
  }, H = (g, L, $) => {
1403
- L(), p.searchText = g[0], p.searchedColumn = $;
1403
+ L(), v.searchText = g[0], v.searchedColumn = $;
1404
1404
  }, k = (g, L) => {
1405
- g({ confirm: !0 }), p.searchText = "", L();
1405
+ g({ confirm: !0 }), v.searchText = "", L();
1406
1406
  }, w = (g, L) => {
1407
- n.value = g, v.value = L;
1407
+ n.value = g, m.value = L;
1408
1408
  };
1409
- return l({
1409
+ return o({
1410
1410
  resetInputVal: y
1411
1411
  }), (g, L) => {
1412
1412
  const $ = V("a-input"), U = V("a-button"), G = V("a-table"), ne = V("a-modal");
@@ -1417,13 +1417,13 @@ const ml = Q(bl), pl = {
1417
1417
  }, [
1418
1418
  I($, {
1419
1419
  readonly: "",
1420
- onClick: m,
1421
- value: d.value,
1422
- "onUpdate:value": L[0] || (L[0] = (T) => d.value = T),
1420
+ onClick: h,
1421
+ value: c.value,
1422
+ "onUpdate:value": L[0] || (L[0] = (T) => c.value = T),
1423
1423
  placeholder: g.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")
1424
1424
  }, {
1425
- addonAfter: c(() => [
1426
- I(S(tl), { onClick: m })
1425
+ addonAfter: d(() => [
1426
+ I(S(to), { onClick: h })
1427
1427
  ]),
1428
1428
  _: 1
1429
1429
  }, 8, ["value", "placeholder"]),
@@ -1434,15 +1434,15 @@ const ml = Q(bl), pl = {
1434
1434
  width: e.modalWidth,
1435
1435
  class: "hb-lib-multipleSelectModal-modal"
1436
1436
  }, {
1437
- footer: c(() => [
1438
- I(U, { onClick: f }, {
1439
- default: c(() => [
1437
+ footer: d(() => [
1438
+ I(U, { onClick: b }, {
1439
+ default: d(() => [
1440
1440
  E(x(g.$t("hbLibComp.hbListPageAct.reset")), 1)
1441
1441
  ]),
1442
1442
  _: 1
1443
1443
  }),
1444
1444
  I(U, { onClick: P }, {
1445
- default: c(() => [
1445
+ default: d(() => [
1446
1446
  E(x(g.$t("hbLibComp.hbFormItemFilterModal.cancel")), 1)
1447
1447
  ]),
1448
1448
  _: 1
@@ -1451,40 +1451,40 @@ const ml = Q(bl), pl = {
1451
1451
  type: "primary",
1452
1452
  onClick: R
1453
1453
  }, {
1454
- default: c(() => [
1454
+ default: d(() => [
1455
1455
  E(x(g.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
1456
1456
  ]),
1457
1457
  _: 1
1458
1458
  })
1459
1459
  ]),
1460
- default: c(() => [
1460
+ default: d(() => [
1461
1461
  I(G, {
1462
1462
  ref_key: "tableRef",
1463
- ref: b,
1463
+ ref: p,
1464
1464
  columns: M.value,
1465
- dataSource: D.value,
1465
+ dataSource: A.value,
1466
1466
  rowSelection: { selectedRowKeys: n.value, onChange: w },
1467
1467
  rowKey: (T) => T[e.tableKey],
1468
1468
  scroll: { y: e.tableHeight }
1469
1469
  }, {
1470
- customFilterDropdown: c(({ setSelectedKeys: T, selectedKeys: F, confirm: X, clearFilters: J, column: te }) => [
1471
- u("div", lo, [
1470
+ customFilterDropdown: d(({ setSelectedKeys: T, selectedKeys: F, confirm: X, clearFilters: J, column: te }) => [
1471
+ u("div", ll, [
1472
1472
  I($, {
1473
1473
  ref_key: "searchInput",
1474
- ref: h,
1474
+ ref: f,
1475
1475
  placeholder: `请输入${te.title}`,
1476
1476
  value: F[0],
1477
1477
  class: "hb-lib-form-item-filter-modal-search-input",
1478
1478
  onChange: (ie) => T(ie.target.value ? [ie.target.value] : []),
1479
1479
  onPressEnter: (ie) => H(F, X, te.dataIndex)
1480
1480
  }, null, 8, ["placeholder", "value", "onChange", "onPressEnter"]),
1481
- u("section", oo, [
1481
+ u("section", al, [
1482
1482
  I(U, {
1483
1483
  class: "hb-lib-form-item-filter-modal-button",
1484
1484
  type: "ghost",
1485
1485
  onClick: (ie) => k(J, X)
1486
1486
  }, {
1487
- default: c(() => [
1487
+ default: d(() => [
1488
1488
  E(x(g.$t("hbLibComp.hbListPageAct.reset")), 1)
1489
1489
  ]),
1490
1490
  _: 1
@@ -1494,7 +1494,7 @@ const ml = Q(bl), pl = {
1494
1494
  class: "hb-lib-form-item-filter-modal-button-confirm",
1495
1495
  onClick: (ie) => H(F, X, te.dataIndex)
1496
1496
  }, {
1497
- default: c(() => [
1497
+ default: d(() => [
1498
1498
  E(x(g.$t("hbLibComp.hbFormItemFilterModal.confirm")), 1)
1499
1499
  ]),
1500
1500
  _: 1
@@ -1502,15 +1502,15 @@ const ml = Q(bl), pl = {
1502
1502
  ])
1503
1503
  ])
1504
1504
  ]),
1505
- customFilterIcon: c(({ filtered: T }) => [
1506
- I(S(De), {
1505
+ customFilterIcon: d(({ filtered: T }) => [
1506
+ I(S(Ae), {
1507
1507
  style: ce({ color: T ? "#108ee9" : void 0 })
1508
1508
  }, null, 8, ["style"])
1509
1509
  ]),
1510
- bodyCell: c(({ text: T, column: F }) => [
1511
- p.searchText && p.searchedColumn === F.dataIndex ? (s(), C("span", ao, [
1512
- (s(!0), C(q, null, re(T.toString().split(new RegExp(`(?<=${p.searchText})|(?=${p.searchText})`, "i")), (X, J) => (s(), C(q, null, [
1513
- X.toLowerCase() === p.searchText.toLowerCase() ? (s(), C("mark", {
1510
+ bodyCell: d(({ text: T, column: F }) => [
1511
+ v.searchText && v.searchedColumn === F.dataIndex ? (s(), C("span", nl, [
1512
+ (s(!0), C(q, null, re(T.toString().split(new RegExp(`(?<=${v.searchText})|(?=${v.searchText})`, "i")), (X, J) => (s(), C(q, null, [
1513
+ X.toLowerCase() === v.searchText.toLowerCase() ? (s(), C("mark", {
1514
1514
  key: J,
1515
1515
  class: "highlight"
1516
1516
  }, x(X), 1)) : (s(), C(q, { key: 1 }, [
@@ -1527,13 +1527,13 @@ const ml = Q(bl), pl = {
1527
1527
  ], 512);
1528
1528
  };
1529
1529
  }
1530
- }), io = Q(no), so = { class: "hb-lib-table-act-box" }, ro = ["onClick"], co = {
1530
+ }), sl = Q(il), rl = { class: "hb-lib-table-act-box" }, cl = ["onClick"], dl = {
1531
1531
  href: "javascript:;",
1532
1532
  class: "hb-lib-table-main-action"
1533
- }, uo = ["onClick"], fo = {
1533
+ }, ul = ["onClick"], fl = {
1534
1534
  href: "javascript:;",
1535
1535
  class: "hb-lib-table-more-action"
1536
- }, bo = ["onClick"], mo = { href: "javascript:;" }, po = ["onClick"], ho = { class: "hb-lib-table-confirm-modal-content" }, vo = /* @__PURE__ */ Z({
1536
+ }, bl = ["onClick"], ml = { href: "javascript:;" }, pl = ["onClick"], hl = { class: "hb-lib-table-confirm-modal-content" }, vl = /* @__PURE__ */ Z({
1537
1537
  name: "HbLibTableAct",
1538
1538
  __name: "HbTableAct",
1539
1539
  props: {
@@ -1542,71 +1542,71 @@ const ml = Q(bl), pl = {
1542
1542
  record: {},
1543
1543
  buttonDisplaysQuantity: {}
1544
1544
  },
1545
- setup(e, { expose: l }) {
1546
- const t = e, { t: o } = ue(), i = N(!1), r = N(!1), d = N(null), h = A(() => t.actions.filter((P) => P.condition !== void 0 ? P.condition : !0)), a = A(() => h.value.slice(0, t.buttonDisplaysQuantity)), n = A(() => v(h.value.slice(t.buttonDisplaysQuantity)));
1547
- function v(P) {
1545
+ setup(e, { expose: o }) {
1546
+ const t = e, { t: l } = ue(), i = N(!1), r = N(!1), c = N(null), f = D(() => t.actions.filter((P) => P.condition !== void 0 ? P.condition : !0)), a = D(() => f.value.slice(0, t.buttonDisplaysQuantity)), n = D(() => m(f.value.slice(t.buttonDisplaysQuantity)));
1547
+ function m(P) {
1548
1548
  if (t.filterPermission)
1549
1549
  return t.filterPermission(P);
1550
- let m = [], f = [];
1551
- return m = JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH") || "[]"), !Array.isArray(m) || P.length === 0 ? (m = [], []) : (m = m.filter((y) => y.type != "2"), P.forEach((y) => {
1552
- (!y.permissionsTag || m.findIndex((H) => H.action === y.permissionsTag) !== -1) && f.push(y);
1553
- }), f);
1550
+ let h = [], b = [];
1551
+ return h = JSON.parse(sessionStorage.getItem("LOGIN_USER_BUTTON_AUTH") || "[]"), !Array.isArray(h) || P.length === 0 ? (h = [], []) : (h = h.filter((y) => y.type != "2"), P.forEach((y) => {
1552
+ (!y.permissionsTag || h.findIndex((H) => H.action === y.permissionsTag) !== -1) && b.push(y);
1553
+ }), b);
1554
1554
  }
1555
- const b = (P) => {
1555
+ const p = (P) => {
1556
1556
  P.handler && P.handler(t.record);
1557
- }, p = (P) => {
1558
- d.value = P, i.value = !0;
1559
- }, D = () => {
1560
- if (d.value) {
1557
+ }, v = (P) => {
1558
+ c.value = P, i.value = !0;
1559
+ }, A = () => {
1560
+ if (c.value) {
1561
1561
  r.value = !0;
1562
1562
  try {
1563
- b(d.value), r.value = !1, i.value = !1;
1563
+ p(c.value), r.value = !1, i.value = !1;
1564
1564
  } catch {
1565
1565
  r.value = !1;
1566
1566
  }
1567
1567
  }
1568
1568
  }, M = () => {
1569
- i.value = !1, d.value = null;
1570
- }, R = A(() => d.value ? {
1571
- title: d.value.confirmTitle,
1572
- content: d.value.confirmContent || d.value.confirmTitle
1569
+ i.value = !1, c.value = null;
1570
+ }, R = D(() => c.value ? {
1571
+ title: c.value.confirmTitle,
1572
+ content: c.value.confirmContent || c.value.confirmTitle
1573
1573
  } : {
1574
- title: o("hbLibComp.hbTableAct.secendConfirm"),
1575
- content: o("hbLibComp.hbTableAct.confirmContent")
1574
+ title: l("hbLibComp.hbTableAct.secendConfirm"),
1575
+ content: l("hbLibComp.hbTableAct.confirmContent")
1576
1576
  });
1577
- return l({
1577
+ return o({
1578
1578
  ADropdown: ft,
1579
1579
  AMenu: ut,
1580
1580
  AMenuItem: dt,
1581
1581
  APopconfirm: ze,
1582
1582
  AModal: We,
1583
1583
  DownOutlined: Ke
1584
- }), (P, m) => {
1585
- const f = V("a-divider"), y = xt("has");
1586
- return s(), C("div", so, [
1584
+ }), (P, h) => {
1585
+ const b = V("a-divider"), y = xt("has");
1586
+ return s(), C("div", rl, [
1587
1587
  (s(!0), C(q, null, re(a.value, (H, k) => (s(), C(q, { key: k }, [
1588
1588
  H.needConfirm ? (s(), C(q, { key: 0 }, [
1589
1589
  H.confirmType === "modal" ? (s(), C(q, { key: 0 }, [
1590
1590
  fe((s(), C("a", {
1591
1591
  href: "javascript:;",
1592
- onClick: (w) => p(H),
1592
+ onClick: (w) => v(H),
1593
1593
  class: "hb-lib-table-main-action"
1594
1594
  }, [
1595
1595
  E(x(H.label), 1)
1596
- ], 8, ro)), [
1596
+ ], 8, cl)), [
1597
1597
  [y, H.permissionsTag || null]
1598
1598
  ]),
1599
- n.value && n.value.length > 0 || k !== a.value.length - 1 ? (s(), z(f, {
1599
+ n.value && n.value.length > 0 || k !== a.value.length - 1 ? (s(), z(b, {
1600
1600
  key: 0,
1601
1601
  type: "vertical"
1602
1602
  })) : O("", !0)
1603
1603
  ], 64)) : (s(), C(q, { key: 1 }, [
1604
1604
  I(S(ze), {
1605
1605
  title: H.confirmTitle,
1606
- onConfirm: (w) => b(H)
1606
+ onConfirm: (w) => p(H)
1607
1607
  }, {
1608
- default: c(() => [
1609
- fe((s(), C("a", co, [
1608
+ default: d(() => [
1609
+ fe((s(), C("a", dl, [
1610
1610
  E(x(H.label), 1)
1611
1611
  ])), [
1612
1612
  [y, H.permissionsTag || null]
@@ -1614,28 +1614,28 @@ const ml = Q(bl), pl = {
1614
1614
  ]),
1615
1615
  _: 2
1616
1616
  }, 1032, ["title", "onConfirm"]),
1617
- n.value && n.value.length > 0 || k !== a.value.length - 1 ? (s(), z(f, {
1617
+ n.value && n.value.length > 0 || k !== a.value.length - 1 ? (s(), z(b, {
1618
1618
  key: 0,
1619
1619
  type: "vertical"
1620
1620
  })) : O("", !0)
1621
1621
  ], 64))
1622
1622
  ], 64)) : H.slot ? (s(), C(q, { key: 1 }, [
1623
1623
  W(P.$slots, H.slot, { item: H }, void 0, !0),
1624
- n.value && n.value.length > 0 || k !== a.value.length - 1 ? (s(), z(f, {
1624
+ n.value && n.value.length > 0 || k !== a.value.length - 1 ? (s(), z(b, {
1625
1625
  key: 0,
1626
1626
  type: "vertical"
1627
1627
  })) : O("", !0)
1628
1628
  ], 64)) : (s(), C(q, { key: 2 }, [
1629
1629
  fe((s(), C("a", {
1630
1630
  href: "javascript:;",
1631
- onClick: (w) => b(H),
1631
+ onClick: (w) => p(H),
1632
1632
  class: "hb-lib-table-main-action"
1633
1633
  }, [
1634
1634
  E(x(H.label), 1)
1635
- ], 8, uo)), [
1635
+ ], 8, ul)), [
1636
1636
  [y, H.permissionsTag || null]
1637
1637
  ]),
1638
- n.value && n.value.length > 0 || k !== a.value.length - 1 ? fe((s(), z(f, {
1638
+ n.value && n.value.length > 0 || k !== a.value.length - 1 ? fe((s(), z(b, {
1639
1639
  key: 0,
1640
1640
  type: "vertical"
1641
1641
  }, null, 512)), [
@@ -1644,27 +1644,27 @@ const ml = Q(bl), pl = {
1644
1644
  ], 64))
1645
1645
  ], 64))), 128)),
1646
1646
  n.value && n.value.length > 0 ? (s(), z(S(ft), { key: 0 }, {
1647
- overlay: c(() => [
1647
+ overlay: d(() => [
1648
1648
  I(S(ut), null, {
1649
- default: c(() => [
1649
+ default: d(() => [
1650
1650
  (s(!0), C(q, null, re(n.value, (H, k) => fe((s(), z(S(dt), { key: k }, {
1651
- default: c(() => [
1651
+ default: d(() => [
1652
1652
  H.needConfirm ? (s(), C(q, { key: 0 }, [
1653
1653
  H.confirmType === "modal" ? fe((s(), C("a", {
1654
1654
  key: 0,
1655
1655
  href: "javascript:;",
1656
- onClick: (w) => p(H)
1656
+ onClick: (w) => v(H)
1657
1657
  }, [
1658
1658
  E(x(H.label), 1)
1659
- ], 8, bo)), [
1659
+ ], 8, bl)), [
1660
1660
  [y, H.permissionsTag || null]
1661
1661
  ]) : fe((s(), z(S(ze), {
1662
1662
  key: 1,
1663
1663
  title: H.confirmTitle,
1664
- onConfirm: (w) => b(H)
1664
+ onConfirm: (w) => p(H)
1665
1665
  }, {
1666
- default: c(() => [
1667
- fe((s(), C("a", mo, [
1666
+ default: d(() => [
1667
+ fe((s(), C("a", ml, [
1668
1668
  E(x(H.label), 1)
1669
1669
  ])), [
1670
1670
  [y, H.permissionsTag || null]
@@ -1677,10 +1677,10 @@ const ml = Q(bl), pl = {
1677
1677
  ], 64)) : fe((s(), C("a", {
1678
1678
  key: 1,
1679
1679
  href: "javascript:;",
1680
- onClick: (w) => b(H)
1680
+ onClick: (w) => p(H)
1681
1681
  }, [
1682
1682
  E(x(H.label), 1)
1683
- ], 8, po)), [
1683
+ ], 8, pl)), [
1684
1684
  [y, H.permissionsTag || null]
1685
1685
  ])
1686
1686
  ]),
@@ -1692,8 +1692,8 @@ const ml = Q(bl), pl = {
1692
1692
  _: 1
1693
1693
  })
1694
1694
  ]),
1695
- default: c(() => [
1696
- u("a", fo, [
1695
+ default: d(() => [
1696
+ u("a", fl, [
1697
1697
  E(x(P.$t("hbLibComp.hbTableAct.more")) + " ", 1),
1698
1698
  I(S(Ke), { style: { "font-size": "12px", "margin-left": "4px" } })
1699
1699
  ])
@@ -1704,131 +1704,131 @@ const ml = Q(bl), pl = {
1704
1704
  visible: i.value,
1705
1705
  title: R.value.title,
1706
1706
  "confirm-loading": r.value,
1707
- onOk: D,
1707
+ onOk: A,
1708
1708
  onCancel: M
1709
1709
  }, {
1710
- default: c(() => [
1711
- u("p", ho, x(R.value.content), 1)
1710
+ default: d(() => [
1711
+ u("p", hl, x(R.value.content), 1)
1712
1712
  ]),
1713
1713
  _: 1
1714
1714
  }, 8, ["visible", "title", "confirm-loading"])
1715
1715
  ]);
1716
1716
  };
1717
1717
  }
1718
- }), go = /* @__PURE__ */ le(vo, [["__scopeId", "data-v-25fd055e"]]), yo = Q(go), bt = (e) => ({ tableWidth: A(() => {
1718
+ }), gl = /* @__PURE__ */ oe(vl, [["__scopeId", "data-v-25fd055e"]]), yl = Q(gl), bt = (e) => ({ tableWidth: D(() => {
1719
1719
  const t = Array.isArray(e) ? e : e.value;
1720
- return !t || t.length === 0 ? 0 : t.map((o) => o.width && Number(o.width.toString().replace("px", "")) || 0).reduce((o, i) => o + i, 0);
1720
+ return !t || t.length === 0 ? 0 : t.map((l) => l.width && Number(l.width.toString().replace("px", "")) || 0).reduce((l, i) => l + i, 0);
1721
1721
  }) });
1722
- var _o = typeof global == "object" && global && global.Object === Object && global, Lo = typeof self == "object" && self && self.Object === Object && self, Mt = _o || Lo || Function("return this")(), Be = Mt.Symbol, At = Object.prototype, Co = At.hasOwnProperty, wo = At.toString, Ce = Be ? Be.toStringTag : void 0;
1723
- function ko(e) {
1724
- var l = Co.call(e, Ce), t = e[Ce];
1722
+ var _l = typeof global == "object" && global && global.Object === Object && global, Ll = typeof self == "object" && self && self.Object === Object && self, Mt = _l || Ll || Function("return this")(), Be = Mt.Symbol, Dt = Object.prototype, Cl = Dt.hasOwnProperty, wl = Dt.toString, Ce = Be ? Be.toStringTag : void 0;
1723
+ function kl(e) {
1724
+ var o = Cl.call(e, Ce), t = e[Ce];
1725
1725
  try {
1726
1726
  e[Ce] = void 0;
1727
- var o = !0;
1727
+ var l = !0;
1728
1728
  } catch {
1729
1729
  }
1730
- var i = wo.call(e);
1731
- return o && (l ? e[Ce] = t : delete e[Ce]), i;
1730
+ var i = wl.call(e);
1731
+ return l && (o ? e[Ce] = t : delete e[Ce]), i;
1732
1732
  }
1733
- var So = Object.prototype, xo = So.toString;
1734
- function To(e) {
1735
- return xo.call(e);
1733
+ var Sl = Object.prototype, xl = Sl.toString;
1734
+ function Tl(e) {
1735
+ return xl.call(e);
1736
1736
  }
1737
- var Fo = "[object Null]", Ho = "[object Undefined]", mt = Be ? Be.toStringTag : void 0;
1738
- function $o(e) {
1739
- return e == null ? e === void 0 ? Ho : Fo : mt && mt in Object(e) ? ko(e) : To(e);
1737
+ var Fl = "[object Null]", Hl = "[object Undefined]", mt = Be ? Be.toStringTag : void 0;
1738
+ function $l(e) {
1739
+ return e == null ? e === void 0 ? Hl : Fl : mt && mt in Object(e) ? kl(e) : Tl(e);
1740
1740
  }
1741
- function Io(e) {
1741
+ function Il(e) {
1742
1742
  return e != null && typeof e == "object";
1743
1743
  }
1744
- var Mo = "[object Symbol]";
1745
- function Ao(e) {
1746
- return typeof e == "symbol" || Io(e) && $o(e) == Mo;
1744
+ var Ml = "[object Symbol]";
1745
+ function Dl(e) {
1746
+ return typeof e == "symbol" || Il(e) && $l(e) == Ml;
1747
1747
  }
1748
- var Do = /\s/;
1749
- function Bo(e) {
1750
- for (var l = e.length; l-- && Do.test(e.charAt(l)); )
1748
+ var Al = /\s/;
1749
+ function Bl(e) {
1750
+ for (var o = e.length; o-- && Al.test(e.charAt(o)); )
1751
1751
  ;
1752
- return l;
1752
+ return o;
1753
1753
  }
1754
- var Oo = /^\s+/;
1755
- function Eo(e) {
1756
- return e && e.slice(0, Bo(e) + 1).replace(Oo, "");
1754
+ var Ol = /^\s+/;
1755
+ function El(e) {
1756
+ return e && e.slice(0, Bl(e) + 1).replace(Ol, "");
1757
1757
  }
1758
1758
  function Ge(e) {
1759
- var l = typeof e;
1760
- return e != null && (l == "object" || l == "function");
1759
+ var o = typeof e;
1760
+ return e != null && (o == "object" || o == "function");
1761
1761
  }
1762
- var pt = NaN, Po = /^[-+]0x[0-9a-f]+$/i, No = /^0b[01]+$/i, Uo = /^0o[0-7]+$/i, zo = parseInt;
1762
+ var pt = NaN, Pl = /^[-+]0x[0-9a-f]+$/i, Nl = /^0b[01]+$/i, Ul = /^0o[0-7]+$/i, zl = parseInt;
1763
1763
  function ht(e) {
1764
1764
  if (typeof e == "number")
1765
1765
  return e;
1766
- if (Ao(e))
1766
+ if (Dl(e))
1767
1767
  return pt;
1768
1768
  if (Ge(e)) {
1769
- var l = typeof e.valueOf == "function" ? e.valueOf() : e;
1770
- e = Ge(l) ? l + "" : l;
1769
+ var o = typeof e.valueOf == "function" ? e.valueOf() : e;
1770
+ e = Ge(o) ? o + "" : o;
1771
1771
  }
1772
1772
  if (typeof e != "string")
1773
1773
  return e === 0 ? e : +e;
1774
- e = Eo(e);
1775
- var t = No.test(e);
1776
- return t || Uo.test(e) ? zo(e.slice(2), t ? 2 : 8) : Po.test(e) ? pt : +e;
1774
+ e = El(e);
1775
+ var t = Nl.test(e);
1776
+ return t || Ul.test(e) ? zl(e.slice(2), t ? 2 : 8) : Pl.test(e) ? pt : +e;
1777
1777
  }
1778
1778
  var Re = function() {
1779
1779
  return Mt.Date.now();
1780
- }, Ro = "Expected a function", Vo = Math.max, Wo = Math.min;
1781
- function Dt(e, l, t) {
1782
- var o, i, r, d, h, a, n = 0, v = !1, b = !1, p = !0;
1780
+ }, Rl = "Expected a function", Vl = Math.max, Wl = Math.min;
1781
+ function At(e, o, t) {
1782
+ var l, i, r, c, f, a, n = 0, m = !1, p = !1, v = !0;
1783
1783
  if (typeof e != "function")
1784
- throw new TypeError(Ro);
1785
- l = ht(l) || 0, Ge(t) && (v = !!t.leading, b = "maxWait" in t, r = b ? Vo(ht(t.maxWait) || 0, l) : r, p = "trailing" in t ? !!t.trailing : p);
1786
- function D(w) {
1787
- var g = o, L = i;
1788
- return o = i = void 0, n = w, d = e.apply(L, g), d;
1784
+ throw new TypeError(Rl);
1785
+ o = ht(o) || 0, Ge(t) && (m = !!t.leading, p = "maxWait" in t, r = p ? Vl(ht(t.maxWait) || 0, o) : r, v = "trailing" in t ? !!t.trailing : v);
1786
+ function A(w) {
1787
+ var g = l, L = i;
1788
+ return l = i = void 0, n = w, c = e.apply(L, g), c;
1789
1789
  }
1790
1790
  function M(w) {
1791
- return n = w, h = setTimeout(m, l), v ? D(w) : d;
1791
+ return n = w, f = setTimeout(h, o), m ? A(w) : c;
1792
1792
  }
1793
1793
  function R(w) {
1794
- var g = w - a, L = w - n, $ = l - g;
1795
- return b ? Wo($, r - L) : $;
1794
+ var g = w - a, L = w - n, $ = o - g;
1795
+ return p ? Wl($, r - L) : $;
1796
1796
  }
1797
1797
  function P(w) {
1798
1798
  var g = w - a, L = w - n;
1799
- return a === void 0 || g >= l || g < 0 || b && L >= r;
1799
+ return a === void 0 || g >= o || g < 0 || p && L >= r;
1800
1800
  }
1801
- function m() {
1801
+ function h() {
1802
1802
  var w = Re();
1803
1803
  if (P(w))
1804
- return f(w);
1805
- h = setTimeout(m, R(w));
1804
+ return b(w);
1805
+ f = setTimeout(h, R(w));
1806
1806
  }
1807
- function f(w) {
1808
- return h = void 0, p && o ? D(w) : (o = i = void 0, d);
1807
+ function b(w) {
1808
+ return f = void 0, v && l ? A(w) : (l = i = void 0, c);
1809
1809
  }
1810
1810
  function y() {
1811
- h !== void 0 && clearTimeout(h), n = 0, o = a = i = h = void 0;
1811
+ f !== void 0 && clearTimeout(f), n = 0, l = a = i = f = void 0;
1812
1812
  }
1813
1813
  function H() {
1814
- return h === void 0 ? d : f(Re());
1814
+ return f === void 0 ? c : b(Re());
1815
1815
  }
1816
1816
  function k() {
1817
1817
  var w = Re(), g = P(w);
1818
- if (o = arguments, i = this, a = w, g) {
1819
- if (h === void 0)
1818
+ if (l = arguments, i = this, a = w, g) {
1819
+ if (f === void 0)
1820
1820
  return M(a);
1821
- if (b)
1822
- return clearTimeout(h), h = setTimeout(m, l), D(a);
1821
+ if (p)
1822
+ return clearTimeout(f), f = setTimeout(h, o), A(a);
1823
1823
  }
1824
- return h === void 0 && (h = setTimeout(m, l)), d;
1824
+ return f === void 0 && (f = setTimeout(h, o)), c;
1825
1825
  }
1826
1826
  return k.cancel = y, k.flush = H, k;
1827
1827
  }
1828
- const jo = {
1828
+ const jl = {
1829
1829
  key: 0,
1830
1830
  class: "hb-lib-list-table-act"
1831
- }, qo = { class: "empty-container" }, Yo = { key: 1 }, Ko = { key: 2 }, Go = /* @__PURE__ */ Z({
1831
+ }, ql = { class: "empty-container" }, Yl = { key: 1 }, Kl = { key: 2 }, Gl = /* @__PURE__ */ Z({
1832
1832
  name: "HbLibListTable",
1833
1833
  __name: "HbListTable",
1834
1834
  props: {
@@ -1839,13 +1839,13 @@ const jo = {
1839
1839
  isFixTbHeight: { type: Boolean }
1840
1840
  },
1841
1841
  emits: ["change", "resizeCol"],
1842
- setup(e, { emit: l }) {
1843
- const t = be("globalCompConfig", {}), o = l, { t: i } = ue(), r = e, d = N([]), h = be("HB_LIST_PAGE_CONTAINER"), { tableWidth: a } = bt(d), n = N(a.value), v = A(() => r.isUnFixTbHeight || t.HbLibListPageContainer?.isUnFixTbHeight || !1);
1842
+ setup(e, { emit: o }) {
1843
+ const t = be("globalCompConfig", {}), l = o, { t: i } = ue(), r = e, c = N([]), f = be("HB_LIST_PAGE_CONTAINER"), { tableWidth: a } = bt(c), n = N(a.value), m = D(() => r.isUnFixTbHeight || t.HbLibListPageContainer?.isUnFixTbHeight || !1);
1844
1844
  ae(
1845
1845
  () => r.columns,
1846
- (m) => {
1847
- const f = m.filter((H) => H != null && H.checked);
1848
- d.value = f.map((H) => {
1846
+ (h) => {
1847
+ const b = h.filter((H) => H != null && H.checked);
1848
+ c.value = b.map((H) => {
1849
1849
  let k = { ...H, title: H.title || H.label, align: H.align || t.listTable?.align || "center" };
1850
1850
  k.ellipsis && !k.needTooltip && (k.needTooltip = !0);
1851
1851
  let w = r.defaultWidth || t.listTable?.defaultColWidth || 150;
@@ -1857,7 +1857,7 @@ const jo = {
1857
1857
  }
1858
1858
  return k.resizable === void 0 && (k.resizable = !0), k;
1859
1859
  });
1860
- const { tableWidth: y } = bt(d);
1860
+ const { tableWidth: y } = bt(c);
1861
1861
  n.value = y.value;
1862
1862
  },
1863
1863
  {
@@ -1865,40 +1865,40 @@ const jo = {
1865
1865
  deep: !0
1866
1866
  }
1867
1867
  );
1868
- const b = Dt(() => {
1869
- o("resizeCol", d);
1870
- }, t.listTable?.colSaveTimeOut || 800), p = (m, f) => {
1871
- if (f) {
1872
- const y = typeof m == "string" ? parseInt(m, 10) : m;
1873
- f.width = isNaN(y) ? t.listTable?.defaultColWidth || 150 : y, _e(() => {
1874
- b();
1868
+ const p = At(() => {
1869
+ l("resizeCol", c);
1870
+ }, t.listTable?.colSaveTimeOut || 800), v = (h, b) => {
1871
+ if (b) {
1872
+ const y = typeof h == "string" ? parseInt(h, 10) : h;
1873
+ b.width = isNaN(y) ? t.listTable?.defaultColWidth || 150 : y, pe(() => {
1874
+ p();
1875
1875
  });
1876
1876
  }
1877
- }, D = (m, f, y) => {
1878
- m?.current && o("change", m, f, y);
1879
- }, M = (m, f = "YYYY-MM-DD HH:mm:ss") => m ? Oe(m).format(f) : "", R = (m, f) => m && f[m] || "", P = (m, f = t.listTable?.ellipsisNumber || 20) => m ? m.length > f ? `${m.substring(0, f)}...` : m : "";
1880
- return (m, f) => {
1877
+ }, A = (h, b, y) => {
1878
+ h?.current && l("change", h, b, y);
1879
+ }, M = (h, b = "YYYY-MM-DD HH:mm:ss") => h ? Oe(h).format(b) : "", R = (h, b) => h && b[h] || "", P = (h, b = t.listTable?.ellipsisNumber || 20) => h ? h.length > b ? `${h.substring(0, b)}...` : h : "";
1880
+ return (h, b) => {
1881
1881
  const y = V("a-empty"), H = V("a-tooltip"), k = V("HbLibCopy"), w = V("a-tag"), g = V("a-table");
1882
1882
  return s(), C("div", {
1883
1883
  class: K(["hb-lib-list-table", { "nowrap-table": r.rowHeight }]),
1884
1884
  style: ce({ "--hb-lib-table-td-height": e.rowHeight && e.rowHeight + "px" || "" })
1885
1885
  }, [
1886
- m.$slots.tableActLeft ? (s(), C("section", jo, [
1887
- W(m.$slots, "tableActLeft", {}, void 0, !0),
1888
- W(m.$slots, "tableActRight", {}, void 0, !0)
1886
+ h.$slots.tableActLeft ? (s(), C("section", jl, [
1887
+ W(h.$slots, "tableActLeft", {}, void 0, !0),
1888
+ W(h.$slots, "tableActRight", {}, void 0, !0)
1889
1889
  ])) : O("", !0),
1890
- I(g, oe(m.$attrs, {
1890
+ I(g, le(h.$attrs, {
1891
1891
  bordered: "",
1892
- columns: d.value,
1892
+ columns: c.value,
1893
1893
  tableLayout: "fixed",
1894
- onResizeColumn: p,
1895
- onChange: D,
1896
- scroll: v.value ? {
1894
+ onResizeColumn: v,
1895
+ onChange: A,
1896
+ scroll: m.value ? {
1897
1897
  x: n.value
1898
- } : { x: n.value, y: S(h).tableHeight }
1898
+ } : { x: n.value, y: S(f).tableHeight }
1899
1899
  }), ke({
1900
- emptyText: c(() => [
1901
- u("div", qo, [
1900
+ emptyText: d(() => [
1901
+ u("div", ql, [
1902
1902
  I(y, {
1903
1903
  description: S(i)("hbLibComp.hbListTable.noData")
1904
1904
  }, null, 8, ["description"])
@@ -1906,10 +1906,10 @@ const jo = {
1906
1906
  ]),
1907
1907
  _: 2
1908
1908
  }, [
1909
- m.$slots.headerCell ? {
1909
+ h.$slots.headerCell ? {
1910
1910
  name: "headerCell",
1911
- fn: c(({ column: L }) => [
1912
- W(m.$slots, "headerCell", {
1911
+ fn: d(({ column: L }) => [
1912
+ W(h.$slots, "headerCell", {
1913
1913
  column: L,
1914
1914
  title: L.title
1915
1915
  }, () => [
@@ -1918,10 +1918,10 @@ const jo = {
1918
1918
  ]),
1919
1919
  key: "0"
1920
1920
  } : void 0,
1921
- m.$slots.bodyCell ? {
1921
+ h.$slots.bodyCell ? {
1922
1922
  name: "bodyCell",
1923
- fn: c(({ column: L, record: $, index: U, text: G }) => [
1924
- W(m.$slots, "bodyCell", {
1923
+ fn: d(({ column: L, record: $, index: U, text: G }) => [
1924
+ W(h.$slots, "bodyCell", {
1925
1925
  column: L,
1926
1926
  record: $,
1927
1927
  index: U,
@@ -1931,26 +1931,26 @@ const jo = {
1931
1931
  key: 0,
1932
1932
  placement: e.tooltipPlacement
1933
1933
  }, {
1934
- title: c(() => [
1934
+ title: d(() => [
1935
1935
  E(x($[L.dataIndex]), 1)
1936
1936
  ]),
1937
- default: c(() => [
1937
+ default: d(() => [
1938
1938
  E(" " + x($[L.dataIndex]), 1)
1939
1939
  ]),
1940
1940
  _: 2
1941
- }, 1032, ["placement"])) : L && L.needCopy && !L.needTooltip ? (s(), C("div", Yo, [
1941
+ }, 1032, ["placement"])) : L && L.needCopy && !L.needTooltip ? (s(), C("div", Yl, [
1942
1942
  E(x($[L.dataIndex]) + " ", 1),
1943
1943
  I(k, {
1944
1944
  "cp-text": $[L.dataIndex],
1945
1945
  style: { position: "relative" }
1946
1946
  }, null, 8, ["cp-text"])
1947
1947
  ])) : O("", !0),
1948
- L && L.needTooltip && L.needCopy ? (s(), C("div", Ko, [
1948
+ L && L.needTooltip && L.needCopy ? (s(), C("div", Kl, [
1949
1949
  I(H, { placement: e.tooltipPlacement }, {
1950
- title: c(() => [
1950
+ title: d(() => [
1951
1951
  E(x($[L.dataIndex]), 1)
1952
1952
  ]),
1953
- default: c(() => [
1953
+ default: d(() => [
1954
1954
  E(" " + x(P($[L.dataIndex], L.strLen)), 1)
1955
1955
  ]),
1956
1956
  _: 2
@@ -1966,7 +1966,7 @@ const jo = {
1966
1966
  key: 0,
1967
1967
  color: R($[L.dataIndex], L.tags)
1968
1968
  }, {
1969
- default: c(() => [
1969
+ default: d(() => [
1970
1970
  E(x($[L.dataIndex]), 1)
1971
1971
  ]),
1972
1972
  _: 2
@@ -1975,34 +1975,34 @@ const jo = {
1975
1975
  ]),
1976
1976
  key: "1"
1977
1977
  } : void 0,
1978
- m.$slots.expandedRowRender ? {
1978
+ h.$slots.expandedRowRender ? {
1979
1979
  name: "expandedRowRender",
1980
- fn: c(({ record: L, index: $ }) => [
1981
- W(m.$slots, "expandedRowRender", {
1980
+ fn: d(({ record: L, index: $ }) => [
1981
+ W(h.$slots, "expandedRowRender", {
1982
1982
  record: L,
1983
1983
  index: $
1984
1984
  }, void 0, !0)
1985
1985
  ]),
1986
1986
  key: "2"
1987
1987
  } : void 0,
1988
- m.$slots.customFilterDropdown ? {
1988
+ h.$slots.customFilterDropdown ? {
1989
1989
  name: "customFilterDropdown",
1990
- fn: c(({ column: L }) => [
1991
- W(m.$slots, "customFilterDropdown", { column: L }, void 0, !0)
1990
+ fn: d(({ column: L }) => [
1991
+ W(h.$slots, "customFilterDropdown", { column: L }, void 0, !0)
1992
1992
  ]),
1993
1993
  key: "3"
1994
1994
  } : void 0,
1995
- m.$slots.customFilterIcon ? {
1995
+ h.$slots.customFilterIcon ? {
1996
1996
  name: "customFilterIcon",
1997
- fn: c(({ column: L }) => [
1998
- W(m.$slots, "customFilterIcon", { column: L }, void 0, !0)
1997
+ fn: d(({ column: L }) => [
1998
+ W(h.$slots, "customFilterIcon", { column: L }, void 0, !0)
1999
1999
  ]),
2000
2000
  key: "4"
2001
2001
  } : void 0,
2002
- m.$slots.expandIcon ? {
2002
+ h.$slots.expandIcon ? {
2003
2003
  name: "expandIcon",
2004
- fn: c(({ expanded: L, record: $, index: U }) => [
2005
- W(m.$slots, "expandIcon", {
2004
+ fn: d(({ expanded: L, record: $, index: U }) => [
2005
+ W(h.$slots, "expandIcon", {
2006
2006
  expanded: L,
2007
2007
  record: $,
2008
2008
  index: U
@@ -2010,24 +2010,24 @@ const jo = {
2010
2010
  ]),
2011
2011
  key: "5"
2012
2012
  } : void 0,
2013
- m.$slots.footer ? {
2013
+ h.$slots.footer ? {
2014
2014
  name: "footer",
2015
- fn: c(() => [
2016
- W(m.$slots, "footer", {}, void 0, !0)
2015
+ fn: d(() => [
2016
+ W(h.$slots, "footer", {}, void 0, !0)
2017
2017
  ]),
2018
2018
  key: "6"
2019
2019
  } : void 0,
2020
- m.$slots.summary ? {
2020
+ h.$slots.summary ? {
2021
2021
  name: "summary",
2022
- fn: c(() => [
2023
- W(m.$slots, "summary", {}, void 0, !0)
2022
+ fn: d(() => [
2023
+ W(h.$slots, "summary", {}, void 0, !0)
2024
2024
  ]),
2025
2025
  key: "7"
2026
2026
  } : void 0,
2027
- m.$slots.title ? {
2027
+ h.$slots.title ? {
2028
2028
  name: "title",
2029
- fn: c(() => [
2030
- W(m.$slots, "title", {}, void 0, !0)
2029
+ fn: d(() => [
2030
+ W(h.$slots, "title", {}, void 0, !0)
2031
2031
  ]),
2032
2032
  key: "8"
2033
2033
  } : void 0
@@ -2035,13 +2035,13 @@ const jo = {
2035
2035
  ], 6);
2036
2036
  };
2037
2037
  }
2038
- }), Jo = /* @__PURE__ */ le(Go, [["__scopeId", "data-v-4a8b9aaa"]]), Xo = Q(Jo), Qo = { class: "hb-lib-table-setting-box" }, Zo = {
2038
+ }), Jl = /* @__PURE__ */ oe(Gl, [["__scopeId", "data-v-4a8b9aaa"]]), Xl = Q(Jl), Ql = { class: "hb-lib-table-setting-box" }, Zl = {
2039
2039
  key: 0,
2040
2040
  class: "hb-lib-table-drag-item"
2041
2041
  }, ea = {
2042
2042
  key: 0,
2043
2043
  class: "hb-lib-table-drag-item-act"
2044
- }, ta = ["onClick"], la = ["onClick"], oa = { class: "hb-lib-table-set-btn-group" }, aa = {
2044
+ }, ta = ["onClick"], oa = ["onClick"], la = { class: "hb-lib-table-set-btn-group" }, aa = {
2045
2045
  class: "select-all-container",
2046
2046
  style: { "margin-right": "10px" }
2047
2047
  }, na = /* @__PURE__ */ Z({
@@ -2076,16 +2076,16 @@ const jo = {
2076
2076
  }
2077
2077
  },
2078
2078
  emits: ["on-get-columns"],
2079
- setup(e, { emit: l }) {
2080
- const t = l, { t: o } = ue(), i = e, r = N([]), d = A(() => a.value.filter((w) => w.checked));
2079
+ setup(e, { emit: o }) {
2080
+ const t = o, { t: l } = ue(), i = e, r = N([]), c = D(() => a.value.filter((w) => w.checked));
2081
2081
  N([]);
2082
- const h = N(!1), a = N([]), n = N(null), v = A(() => d.value.length > 0 && d.value.length === r.value.length), b = A(() => d.value.length > 0 && d.value.length < r.value.length), p = (w) => {
2082
+ const f = N(!1), a = N([]), n = N(null), m = D(() => c.value.length > 0 && c.value.length === r.value.length), p = D(() => c.value.length > 0 && c.value.length < r.value.length), v = (w) => {
2083
2083
  n.value = w.oldIndex;
2084
- }, D = (w) => {
2084
+ }, A = (w) => {
2085
2085
  const g = w.newIndex;
2086
2086
  if (r.value.some(($) => $.fixed === "left" || $.fixed === "right" || $.fixed === !0)) {
2087
2087
  const $ = r.value.filter((G) => G.fixed === "left").length, U = r.value.length - r.value.filter((G) => G.fixed === "right").length;
2088
- if (($ > 0 && g < $ || U < r.value.length && g >= U) && (ve.warning(o("hbLibComp.hbLibListTableColumsSet.errorTip")), n.value !== null)) {
2088
+ if (($ > 0 && g < $ || U < r.value.length && g >= U) && (ge.warning(l("hbLibComp.hbLibListTableColumsSet.errorTip")), n.value !== null)) {
2089
2089
  const G = a.value.splice(g, 1)[0];
2090
2090
  a.value.splice(n.value, 0, G);
2091
2091
  }
@@ -2108,9 +2108,9 @@ const jo = {
2108
2108
  });
2109
2109
  }, P = (w, g) => {
2110
2110
  g ? w.checked = !0 : w.checked = !1;
2111
- }, m = () => {
2112
- r.value = [...a.value], t("on-get-columns", r.value), h.value = !1;
2113
- }, f = () => {
2111
+ }, h = () => {
2112
+ r.value = [...a.value], t("on-get-columns", r.value), f.value = !1;
2113
+ }, b = () => {
2114
2114
  r.value = i.tableColumns.map((g) => ({
2115
2115
  ...g,
2116
2116
  label: g.title && g.title.tag ? y(g.title) : g.title || g.title2,
@@ -2148,7 +2148,7 @@ const jo = {
2148
2148
  return ae(
2149
2149
  () => i.tableColumns,
2150
2150
  () => {
2151
- f();
2151
+ b();
2152
2152
  },
2153
2153
  {
2154
2154
  immediate: !0,
@@ -2156,16 +2156,16 @@ const jo = {
2156
2156
  }
2157
2157
  ), (w, g) => {
2158
2158
  const L = V("a-tooltip"), $ = V("a-button");
2159
- return s(), C("div", Qo, [
2159
+ return s(), C("div", Ql, [
2160
2160
  I(S(Kt), {
2161
- title: S(o)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),
2161
+ title: S(l)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),
2162
2162
  trigger: "click",
2163
2163
  placement: "leftTop",
2164
2164
  overlayClassName: "column_setting_popover",
2165
- visible: h.value,
2166
- "onUpdate:visible": g[1] || (g[1] = (U) => h.value = U)
2165
+ visible: f.value,
2166
+ "onUpdate:visible": g[1] || (g[1] = (U) => f.value = U)
2167
2167
  }, {
2168
- content: c(() => [
2168
+ content: d(() => [
2169
2169
  I(S(Ie), {
2170
2170
  modelValue: a.value,
2171
2171
  "onUpdate:modelValue": g[0] || (g[0] = (U) => a.value = U),
@@ -2174,16 +2174,16 @@ const jo = {
2174
2174
  "ghost-class": "ghost",
2175
2175
  animation: "200",
2176
2176
  handle: ".drag-handle",
2177
- onStart: p,
2178
- onEnd: D
2177
+ onStart: v,
2178
+ onEnd: A
2179
2179
  }, {
2180
- item: c(({ element: U }) => [
2181
- U.fixed !== "right" ? (s(), C("div", Zo, [
2182
- I(S(Ae), {
2180
+ item: d(({ element: U }) => [
2181
+ U.fixed !== "right" ? (s(), C("div", Zl, [
2182
+ I(S(De), {
2183
2183
  checked: U.checked,
2184
2184
  onChange: (G) => P(U, G.target.checked)
2185
2185
  }, {
2186
- default: c(() => [
2186
+ default: d(() => [
2187
2187
  E(x(U.label), 1)
2188
2188
  ]),
2189
2189
  _: 2
@@ -2193,10 +2193,10 @@ const jo = {
2193
2193
  class: K(U.fixed ? "drag-hide" : "drag-handle")
2194
2194
  }, "⋮⋮", 2),
2195
2195
  U.fixed ? (s(), z(L, { key: 0 }, {
2196
- title: c(() => [
2197
- E(x(S(o)("hbLibComp.hbLibListTableColumsSet.cancelFix")), 1)
2196
+ title: d(() => [
2197
+ E(x(S(l)("hbLibComp.hbLibListTableColumsSet.cancelFix")), 1)
2198
2198
  ]),
2199
- default: c(() => [
2199
+ default: d(() => [
2200
2200
  u("span", {
2201
2201
  class: "hb-lib-table-drag-item-act-btn",
2202
2202
  onClick: (G) => H(U)
@@ -2222,10 +2222,10 @@ const jo = {
2222
2222
  _: 2
2223
2223
  }, 1024)) : O("", !0),
2224
2224
  U.fixed ? O("", !0) : (s(), z(L, { key: 1 }, {
2225
- title: c(() => [
2226
- E(x(S(o)("hbLibComp.hbLibListTableColumsSet.fix")), 1)
2225
+ title: d(() => [
2226
+ E(x(S(l)("hbLibComp.hbLibListTableColumsSet.fix")), 1)
2227
2227
  ]),
2228
- default: c(() => [
2228
+ default: d(() => [
2229
2229
  u("span", {
2230
2230
  class: "hb-lib-table-drag-item-act-btn",
2231
2231
  onClick: (G) => k(U)
@@ -2246,7 +2246,7 @@ const jo = {
2246
2246
  fill: "#ff5000"
2247
2247
  })
2248
2248
  ], -1)
2249
- ])], 8, la)
2249
+ ])], 8, oa)
2250
2250
  ]),
2251
2251
  _: 2
2252
2252
  }, 1024))
@@ -2255,15 +2255,15 @@ const jo = {
2255
2255
  ]),
2256
2256
  _: 1
2257
2257
  }, 8, ["modelValue"]),
2258
- u("div", oa, [
2258
+ u("div", la, [
2259
2259
  u("div", aa, [
2260
- I(S(Ae), {
2261
- checked: v.value,
2262
- indeterminate: b.value,
2260
+ I(S(De), {
2261
+ checked: m.value,
2262
+ indeterminate: p.value,
2263
2263
  onChange: M
2264
2264
  }, {
2265
- default: c(() => [
2266
- E(x(S(o)("hbLibComp.hbLibListTableColumsSet.allSelect")), 1)
2265
+ default: d(() => [
2266
+ E(x(S(l)("hbLibComp.hbLibListTableColumsSet.allSelect")), 1)
2267
2267
  ]),
2268
2268
  _: 1
2269
2269
  }, 8, ["checked", "indeterminate"])
@@ -2273,28 +2273,28 @@ const jo = {
2273
2273
  style: { "margin-right": "6px" },
2274
2274
  onClick: R
2275
2275
  }, {
2276
- default: c(() => [
2277
- E(x(S(o)("hbLibComp.hbLibListTableColumsSet.reset")), 1)
2276
+ default: d(() => [
2277
+ E(x(S(l)("hbLibComp.hbLibListTableColumsSet.reset")), 1)
2278
2278
  ]),
2279
2279
  _: 1
2280
2280
  })) : O("", !0),
2281
2281
  I($, {
2282
- onClick: m,
2282
+ onClick: h,
2283
2283
  type: "primary"
2284
2284
  }, {
2285
- default: c(() => [
2286
- E(x(S(o)("hbLibComp.hbLibListTableColumsSet.confirm")), 1)
2285
+ default: d(() => [
2286
+ E(x(S(l)("hbLibComp.hbLibListTableColumsSet.confirm")), 1)
2287
2287
  ]),
2288
2288
  _: 1
2289
2289
  })
2290
2290
  ])
2291
2291
  ]),
2292
- default: c(() => [
2292
+ default: d(() => [
2293
2293
  I(L, {
2294
- title: S(o)("hbLibComp.hbLibListTableColumsSet.title"),
2294
+ title: S(l)("hbLibComp.hbLibListTableColumsSet.title"),
2295
2295
  placement: "leftTop"
2296
2296
  }, {
2297
- default: c(() => [...g[4] || (g[4] = [
2297
+ default: d(() => [...g[4] || (g[4] = [
2298
2298
  u("span", { class: "hb-lib-table-col-set" }, [
2299
2299
  u("svg", {
2300
2300
  t: "1759041858618",
@@ -2327,7 +2327,7 @@ const jo = {
2327
2327
  ]);
2328
2328
  };
2329
2329
  }
2330
- }), ia = /* @__PURE__ */ le(na, [["__scopeId", "data-v-07a63550"]]), sa = Q(ia), ra = /* @__PURE__ */ Z({
2330
+ }), ia = /* @__PURE__ */ oe(na, [["__scopeId", "data-v-07a63550"]]), sa = Q(ia), ra = /* @__PURE__ */ Z({
2331
2331
  name: "HbLibFormTooltipSelect",
2332
2332
  inheritAttrs: !1,
2333
2333
  __name: "HbTooltipSelect",
@@ -2344,17 +2344,17 @@ const jo = {
2344
2344
  valueModifiers: {}
2345
2345
  }),
2346
2346
  emits: ["update:value"],
2347
- setup(e, { expose: l }) {
2348
- const t = e, o = zt(), i = A(() => {
2349
- const M = o, R = M.dropdownClassName;
2347
+ setup(e, { expose: o }) {
2348
+ const t = e, l = zt(), i = D(() => {
2349
+ const M = l, R = M.dropdownClassName;
2350
2350
  return {
2351
2351
  ...M,
2352
2352
  dropdownClassName: R ?? "hb_lib_form_tooltip_select__dropdown"
2353
2353
  };
2354
- }), r = N(), d = St(e, "value"), h = A(() => t.options ?? []), a = A(() => ({
2354
+ }), r = N(), c = St(e, "value"), f = D(() => t.options ?? []), a = D(() => ({
2355
2355
  maxWidth: typeof t.tooltipMaxWidth == "number" ? `${t.tooltipMaxWidth}px` : t.tooltipMaxWidth
2356
- })), n = (M) => M.tooltip ?? M.label, v = (M) => M.key ?? M.label, b = (M) => !!(t.enableTooltip && n(M));
2357
- return l({
2356
+ })), n = (M) => M.tooltip ?? M.label, m = (M) => M.key ?? M.label, p = (M) => !!(t.enableTooltip && n(M));
2357
+ return o({
2358
2358
  focus: () => {
2359
2359
  r.value?.focus?.();
2360
2360
  },
@@ -2362,28 +2362,28 @@ const jo = {
2362
2362
  r.value?.blur?.();
2363
2363
  },
2364
2364
  selectRef: r
2365
- }), (M, R) => (s(), z(S(qe), oe({
2365
+ }), (M, R) => (s(), z(S(qe), le({
2366
2366
  ref_key: "selectRef",
2367
2367
  ref: r
2368
2368
  }, i.value, {
2369
- value: d.value,
2370
- "onUpdate:value": R[0] || (R[0] = (P) => d.value = P),
2369
+ value: c.value,
2370
+ "onUpdate:value": R[0] || (R[0] = (P) => c.value = P),
2371
2371
  class: "hb_lib_form_tooltip_select"
2372
2372
  }), {
2373
- default: c(() => [
2374
- M.$slots.default ? W(M.$slots, "default", { key: 0 }, void 0, !0) : (s(!0), C(q, { key: 1 }, re(h.value, (P) => (s(), z(S(Ye), oe({
2375
- key: v(P),
2373
+ default: d(() => [
2374
+ M.$slots.default ? W(M.$slots, "default", { key: 0 }, void 0, !0) : (s(!0), C(q, { key: 1 }, re(f.value, (P) => (s(), z(S(Ye), le({
2375
+ key: m(P),
2376
2376
  value: P.value,
2377
2377
  disabled: P.disabled
2378
2378
  }, { ref_for: !0 }, P.optionProps), {
2379
- default: c(() => [
2380
- b(P) ? (s(), z(S(Me), {
2379
+ default: d(() => [
2380
+ p(P) ? (s(), z(S(Me), {
2381
2381
  key: 0,
2382
2382
  title: n(P),
2383
2383
  placement: t.tooltipPlacement,
2384
2384
  "overlay-style": a.value
2385
2385
  }, {
2386
- default: c(() => [
2386
+ default: d(() => [
2387
2387
  u("span", {
2388
2388
  class: K(["hb_lib_form_tooltip_select__option", { "is-ellipsis": t.enableEllipsis }])
2389
2389
  }, x(P.label), 3)
@@ -2400,7 +2400,7 @@ const jo = {
2400
2400
  _: 3
2401
2401
  }, 16, ["value"]));
2402
2402
  }
2403
- }), ca = /* @__PURE__ */ le(ra, [["__scopeId", "data-v-13285691"]]), da = Q(ca), ua = { class: "ant-upload-drag-icon" }, fa = { class: "ant-upload-text" }, ba = { style: { color: "#ff5000" } }, ma = { class: "ant-upload-hint" }, pa = {
2403
+ }), ca = /* @__PURE__ */ oe(ra, [["__scopeId", "data-v-13285691"]]), da = Q(ca), ua = { class: "ant-upload-drag-icon" }, fa = { class: "ant-upload-text" }, ba = { style: { color: "#ff5000" } }, ma = { class: "ant-upload-hint" }, pa = {
2404
2404
  key: 0,
2405
2405
  class: "hb_import_btn"
2406
2406
  }, ha = ["href"], va = /* @__PURE__ */ Z({
@@ -2418,73 +2418,73 @@ const jo = {
2418
2418
  beforeUpload: {},
2419
2419
  beforeSubmit: {}
2420
2420
  },
2421
- setup(e, { expose: l }) {
2422
- const { t } = ue(), o = N(), i = e, r = N(!1), d = Se({
2421
+ setup(e, { expose: o }) {
2422
+ const { t } = ue(), l = N(), i = e, r = N(!1), c = Se({
2423
2423
  fileList: [],
2424
2424
  visible: !1
2425
- }), h = (p) => {
2426
- if (p == null)
2425
+ }), f = (v) => {
2426
+ if (v == null)
2427
2427
  return;
2428
- const D = d.fileList.indexOf(p);
2429
- if (D !== -1) {
2430
- const M = d.fileList.slice();
2431
- M.splice(D, 1), d.fileList = M;
2428
+ const A = c.fileList.indexOf(v);
2429
+ if (A !== -1) {
2430
+ const M = c.fileList.slice();
2431
+ M.splice(A, 1), c.fileList = M;
2432
2432
  }
2433
2433
  }, a = () => {
2434
- d.visible = !1, d.fileList = [], r.value = !1;
2435
- }, n = (p) => (d.fileList = [p], i.beforeUpload ? i.beforeUpload(p.originFileObj) : !1), v = () => {
2436
- o.value.validateFields().then(() => {
2437
- i.beforeSubmit && (r.value = !0, i.beforeSubmit(d.fileList).then(() => {
2434
+ c.visible = !1, c.fileList = [], r.value = !1;
2435
+ }, n = (v) => (c.fileList = [v], i.beforeUpload ? i.beforeUpload(v.originFileObj) : !1), m = () => {
2436
+ l.value.validateFields().then(() => {
2437
+ i.beforeSubmit && (r.value = !0, i.beforeSubmit(c.fileList).then(() => {
2438
2438
  }).finally(() => {
2439
2439
  r.value = !1;
2440
2440
  }));
2441
2441
  });
2442
- }, b = () => {
2443
- d.visible = !0;
2442
+ }, p = () => {
2443
+ c.visible = !0;
2444
2444
  };
2445
- return l({
2445
+ return o({
2446
2446
  handleCancel: a,
2447
- openModal: b,
2447
+ openModal: p,
2448
2448
  // 注意这里如果要想直接导出的数据是响应式 只能用ref来定义
2449
2449
  confirmLoading: r
2450
- }), (p, D) => {
2451
- const M = V("a-upload-dragger"), R = V("a-form-item"), P = V("a-form"), m = V("a-modal"), f = V("a-button");
2450
+ }), (v, A) => {
2451
+ const M = V("a-upload-dragger"), R = V("a-form-item"), P = V("a-form"), h = V("a-modal"), b = V("a-button");
2452
2452
  return s(), C(q, null, [
2453
- I(m, oe({
2454
- visible: d.visible,
2455
- "onUpdate:visible": D[0] || (D[0] = (y) => d.visible = y),
2453
+ I(h, le({
2454
+ visible: c.visible,
2455
+ "onUpdate:visible": A[0] || (A[0] = (y) => c.visible = y),
2456
2456
  title: i.title,
2457
2457
  "confirm-loading": r.value
2458
- }, p.$attrs, {
2458
+ }, v.$attrs, {
2459
2459
  width: i.modalWidth,
2460
2460
  onCancel: a,
2461
- onOk: v
2461
+ onOk: m
2462
2462
  }), {
2463
- default: c(() => [
2463
+ default: d(() => [
2464
2464
  I(P, {
2465
2465
  ref_key: "modalFormRef",
2466
- ref: o,
2467
- model: d
2466
+ ref: l,
2467
+ model: c
2468
2468
  }, {
2469
- default: c(() => [
2469
+ default: d(() => [
2470
2470
  I(R, {
2471
2471
  name: "fileList",
2472
2472
  label: S(t)("hbLibComp.HbImportFile.fileLabel"),
2473
2473
  rules: [{ required: i.isRequired, message: S(t)("hbLibComp.HbImportFile.clickUp") }]
2474
2474
  }, {
2475
- default: c(() => [
2475
+ default: d(() => [
2476
2476
  I(M, {
2477
2477
  "max-count": i.maxCount,
2478
2478
  multiple: i.multiple,
2479
2479
  accept: i.acceptFile,
2480
2480
  name: "file",
2481
- "file-list": d.fileList,
2481
+ "file-list": c.fileList,
2482
2482
  "before-upload": n,
2483
- onRemove: h
2483
+ onRemove: f
2484
2484
  }, {
2485
- default: c(() => [
2485
+ default: d(() => [
2486
2486
  u("p", ua, [
2487
- I(S(ll), { style: { "font-size": "37px" } })
2487
+ I(S(oo), { style: { "font-size": "37px" } })
2488
2488
  ]),
2489
2489
  u("p", fa, [
2490
2490
  E(x(S(t)("hbLibComp.HbImportFile.uploadText")), 1),
@@ -2509,12 +2509,12 @@ const jo = {
2509
2509
  ]),
2510
2510
  _: 1
2511
2511
  }, 16, ["visible", "title", "confirm-loading", "width"]),
2512
- W(p.$slots, "btn", {}, () => [
2513
- I(f, {
2512
+ W(v.$slots, "btn", {}, () => [
2513
+ I(b, {
2514
2514
  type: "primary",
2515
- onClick: b
2515
+ onClick: p
2516
2516
  }, {
2517
- default: c(() => [
2517
+ default: d(() => [
2518
2518
  E(x(e.btnText), 1)
2519
2519
  ]),
2520
2520
  _: 1
@@ -2523,7 +2523,7 @@ const jo = {
2523
2523
  ], 64);
2524
2524
  };
2525
2525
  }
2526
- }), ga = /* @__PURE__ */ le(va, [["__scopeId", "data-v-a11cda0f"]]), ya = Q(ga), _a = { class: "hb_lib_log_modal_content" }, La = { class: "log_remark" }, Ca = /* @__PURE__ */ Z({
2526
+ }), ga = /* @__PURE__ */ oe(va, [["__scopeId", "data-v-a11cda0f"]]), ya = Q(ga), _a = { class: "hb_lib_log_modal_content" }, La = { class: "log_remark" }, Ca = /* @__PURE__ */ Z({
2527
2527
  name: "HbLibLogModal",
2528
2528
  __name: "HbLogModal",
2529
2529
  props: {
@@ -2544,20 +2544,20 @@ const jo = {
2544
2544
  getLogData: {}
2545
2545
  },
2546
2546
  emits: ["update:visible"],
2547
- setup(e, { expose: l, emit: t }) {
2548
- const { t: o } = ue(), i = Rt(), r = e, d = [
2547
+ setup(e, { expose: o, emit: t }) {
2548
+ const { t: l } = ue(), i = Rt(), r = e, c = [
2549
2549
  {
2550
- title: o("hbLibComp.HbLogModal.operator"),
2550
+ title: l("hbLibComp.HbLogModal.operator"),
2551
2551
  dataIndex: "userName",
2552
2552
  width: "15%"
2553
2553
  },
2554
2554
  {
2555
- title: o("hbLibComp.HbLogModal.operateTime"),
2555
+ title: l("hbLibComp.HbLogModal.operateTime"),
2556
2556
  dataIndex: "operateTime",
2557
2557
  width: "25%"
2558
2558
  },
2559
- { title: o("hbLibComp.HbLogModal.operateContent"), dataIndex: "remark" }
2560
- ], h = A(() => r.columns || d), a = A(() => r.title || o("hbLibComp.HbLogModal.operateLogs")), n = A(() => !!i.title), v = N(!1), b = Se({
2559
+ { title: l("hbLibComp.HbLogModal.operateContent"), dataIndex: "remark" }
2560
+ ], f = D(() => r.columns || c), a = D(() => r.title || l("hbLibComp.HbLogModal.operateLogs")), n = D(() => !!i.title), m = N(!1), p = Se({
2561
2561
  list: [],
2562
2562
  pagination: {
2563
2563
  current: 1,
@@ -2565,16 +2565,16 @@ const jo = {
2565
2565
  pageSizeOptions: ["10", "20", "50", "100"],
2566
2566
  showQuickJumper: !0,
2567
2567
  showSizeChanger: !0,
2568
- showTotal: (f, y) => y[0] + "-" + y[1] + " 总共" + f + "页",
2568
+ showTotal: (b, y) => y[0] + "-" + y[1] + " 总共" + b + "页",
2569
2569
  total: 0
2570
2570
  }
2571
2571
  });
2572
2572
  ae(
2573
2573
  () => r.pagination,
2574
- (f) => {
2575
- f && (b.pagination = {
2576
- ...b.pagination,
2577
- ...f
2574
+ (b) => {
2575
+ b && (p.pagination = {
2576
+ ...p.pagination,
2577
+ ...b
2578
2578
  });
2579
2579
  },
2580
2580
  {
@@ -2582,36 +2582,36 @@ const jo = {
2582
2582
  immediate: !0
2583
2583
  }
2584
2584
  );
2585
- const p = () => {
2586
- const f = {
2587
- pageIndex: b.pagination.current,
2588
- pageSize: b.pagination.pageSize,
2585
+ const v = () => {
2586
+ const b = {
2587
+ pageIndex: p.pagination.current,
2588
+ pageSize: p.pagination.pageSize,
2589
2589
  query: r.params
2590
2590
  };
2591
- r.getLogData && (v.value = !0, r.getLogData(f).then((y) => {
2592
- Number(y.code) == 200 ? (b.pagination.total = Number(y.data.total), b.list = y.data[r.dataStr] || []) : ve.error(y.message);
2591
+ r.getLogData && (m.value = !0, r.getLogData(b).then((y) => {
2592
+ Number(y.code) == 200 ? (p.pagination.total = Number(y.data.total), p.list = y.data[r.dataStr] || []) : ge.error(y.message);
2593
2593
  }).finally(() => {
2594
- v.value = !1;
2594
+ m.value = !1;
2595
2595
  }));
2596
- }, D = (f) => {
2597
- b.pagination.current = f.current, b.pagination.pageSize = f.pageSize, p();
2596
+ }, A = (b) => {
2597
+ p.pagination.current = b.current, p.pagination.pageSize = b.pageSize, v();
2598
2598
  }, M = () => {
2599
- b.list = [], m("update:visible", !1);
2599
+ p.list = [], h("update:visible", !1);
2600
2600
  }, R = () => {
2601
- m("update:visible", !0);
2602
- }, P = (f, y = "YYYY-MM-DD HH:mm:ss") => f ? Oe(f).format(y) : "", m = t;
2601
+ h("update:visible", !0);
2602
+ }, P = (b, y = "YYYY-MM-DD HH:mm:ss") => b ? Oe(b).format(y) : "", h = t;
2603
2603
  return ae(
2604
2604
  () => r.visible,
2605
- (f) => {
2606
- f && p();
2605
+ (b) => {
2606
+ b && v();
2607
2607
  }
2608
- ), l({
2608
+ ), o({
2609
2609
  close: M,
2610
- loading: v
2611
- }), (f, y) => {
2610
+ loading: m
2611
+ }), (b, y) => {
2612
2612
  const H = V("a-tooltip"), k = V("HbLibCopy"), w = V("a-table"), g = V("a-button"), L = V("HbLibModal");
2613
2613
  return s(), C(q, null, [
2614
- I(L, oe(f.$attrs, {
2614
+ I(L, le(b.$attrs, {
2615
2615
  visible: e.visible,
2616
2616
  title: n.value ? void 0 : a.value,
2617
2617
  width: e.width,
@@ -2620,33 +2620,33 @@ const jo = {
2620
2620
  bodyStyle: e.bodyStyle,
2621
2621
  onCancel: M
2622
2622
  }), ke({
2623
- footer: c(() => [
2623
+ footer: d(() => [
2624
2624
  I(g, { onClick: M }, {
2625
- default: c(() => [
2626
- E(x(S(o)("hbLibComp.HbLogModal.close")), 1)
2625
+ default: d(() => [
2626
+ E(x(S(l)("hbLibComp.HbLogModal.close")), 1)
2627
2627
  ]),
2628
2628
  _: 1
2629
2629
  })
2630
2630
  ]),
2631
- default: c(() => [
2631
+ default: d(() => [
2632
2632
  u("div", _a, [
2633
2633
  I(w, {
2634
2634
  bordered: "",
2635
2635
  rowKey: "id",
2636
- columns: h.value,
2637
- dataSource: b.list,
2638
- pagination: b.pagination,
2639
- loading: v.value,
2636
+ columns: f.value,
2637
+ dataSource: p.list,
2638
+ pagination: p.pagination,
2639
+ loading: m.value,
2640
2640
  scroll: { y: e.scrollY },
2641
- onChange: D
2641
+ onChange: A
2642
2642
  }, ke({
2643
- bodyCell: c(({ column: $, record: U }) => [
2643
+ bodyCell: d(({ column: $, record: U }) => [
2644
2644
  $ && $.needTooltip ? (s(), C(q, { key: 0 }, [
2645
2645
  $.needTooltip ? (s(), z(H, { key: 0 }, {
2646
- title: c(() => [
2646
+ title: d(() => [
2647
2647
  E(x(U[$.dataIndex]), 1)
2648
2648
  ]),
2649
- default: c(() => [
2649
+ default: d(() => [
2650
2650
  E(" " + x(U[$.dataIndex]), 1)
2651
2651
  ]),
2652
2652
  _: 2
@@ -2665,10 +2665,10 @@ const jo = {
2665
2665
  ]),
2666
2666
  _: 2
2667
2667
  }, [
2668
- f.$slots.headerCell ? {
2668
+ b.$slots.headerCell ? {
2669
2669
  name: "headerCell",
2670
- fn: c(({ column: $ }) => [
2671
- W(f.$slots, "headerCell", { column: $ }, () => [
2670
+ fn: d(({ column: $ }) => [
2671
+ W(b.$slots, "headerCell", { column: $ }, () => [
2672
2672
  E(x($.title), 1)
2673
2673
  ], !0)
2674
2674
  ]),
@@ -2681,15 +2681,15 @@ const jo = {
2681
2681
  }, [
2682
2682
  n.value ? {
2683
2683
  name: "title",
2684
- fn: c(() => [
2685
- W(f.$slots, "title", {}, void 0, !0)
2684
+ fn: d(() => [
2685
+ W(b.$slots, "title", {}, void 0, !0)
2686
2686
  ]),
2687
2687
  key: "0"
2688
2688
  } : void 0
2689
2689
  ]), 1040, ["visible", "title", "width", "height", "modalStyle", "bodyStyle"]),
2690
- e.needBtn ? W(f.$slots, "default", { key: 0 }, () => [
2690
+ e.needBtn ? W(b.$slots, "default", { key: 0 }, () => [
2691
2691
  I(g, { onClick: R }, {
2692
- default: c(() => [
2692
+ default: d(() => [
2693
2693
  E(x(e.logBtnText), 1)
2694
2694
  ]),
2695
2695
  _: 1
@@ -2698,7 +2698,7 @@ const jo = {
2698
2698
  ], 64);
2699
2699
  };
2700
2700
  }
2701
- }), wa = /* @__PURE__ */ le(Ca, [["__scopeId", "data-v-ac23253c"]]), ka = Q(wa), Sa = {
2701
+ }), wa = /* @__PURE__ */ oe(Ca, [["__scopeId", "data-v-ac23253c"]]), ka = Q(wa), Sa = {
2702
2702
  // 图片上传组件的配置
2703
2703
  importFile: {
2704
2704
  isRequired: !1,
@@ -2747,22 +2747,22 @@ const jo = {
2747
2747
  config: {}
2748
2748
  },
2749
2749
  setup(e) {
2750
- const l = e;
2750
+ const o = e;
2751
2751
  let t = null;
2752
2752
  return ae(
2753
- () => l.config,
2754
- (o) => {
2755
- t = Se(Jt({}, Sa, o));
2753
+ () => o.config,
2754
+ (l) => {
2755
+ t = Se(Jt({}, Sa, l));
2756
2756
  },
2757
2757
  { deep: !0, immediate: !0 }
2758
- ), kt(Ze, t), (o, i) => (s(), C("div", xa, [
2759
- W(o.$slots, "default")
2758
+ ), kt(Ze, t), (l, i) => (s(), C("div", xa, [
2759
+ W(l.$slots, "default")
2760
2760
  ]));
2761
2761
  }
2762
2762
  }), Ze = Symbol("GLOBAL_CONFIG_KEY"), Fa = Q(Ta), Ha = { class: "hb_card" }, $a = {
2763
2763
  key: 0,
2764
2764
  class: "hb_card_header"
2765
- }, Ia = { class: "hb_fix" }, Ma = { class: "hb_card_header-title" }, Aa = { class: "hb_card_header-action" }, Da = { class: "hb_card_body" }, Ba = /* @__PURE__ */ Z({
2765
+ }, Ia = { class: "hb_fix" }, Ma = { class: "hb_card_header-title" }, Da = { class: "hb_card_header-action" }, Aa = { class: "hb_card_body" }, Ba = /* @__PURE__ */ Z({
2766
2766
  name: "HbLibCard",
2767
2767
  __name: "HbLibCard",
2768
2768
  props: {
@@ -2792,11 +2792,11 @@ const jo = {
2792
2792
  }
2793
2793
  },
2794
2794
  setup(e) {
2795
- const l = be(Ze), t = e, o = A(() => {
2796
- let i = t.formItemMb || l?.HbLibCard?.formItemMb;
2795
+ const o = be(Ze), t = e, l = D(() => {
2796
+ let i = t.formItemMb || o?.HbLibCard?.formItemMb;
2797
2797
  return i ? { "--hb-card-form-item-mb": i + "px" } : {};
2798
2798
  });
2799
- return (i, r) => (s(), C("div", oe({ class: "hb_card_wrapper" }, i.$attrs), [
2799
+ return (i, r) => (s(), C("div", le({ class: "hb_card_wrapper" }, i.$attrs), [
2800
2800
  u("div", {
2801
2801
  class: K(e.isModal ? "modal__module-card" : "__module-card")
2802
2802
  }, [
@@ -2808,12 +2808,12 @@ const jo = {
2808
2808
  E(x(e.cardTitle), 1)
2809
2809
  ], !0)
2810
2810
  ]),
2811
- u("div", Aa, [
2811
+ u("div", Da, [
2812
2812
  W(i.$slots, "cardAct", {}, void 0, !0)
2813
2813
  ])
2814
2814
  ])
2815
2815
  ])) : O("", !0),
2816
- u("div", Da, [
2816
+ u("div", Aa, [
2817
2817
  u("section", {
2818
2818
  class: K({
2819
2819
  hb_card_form: e.isForm && !e.isModal,
@@ -2822,7 +2822,7 @@ const jo = {
2822
2822
  l3c: e.layout == 3,
2823
2823
  l4c: e.layout == 4
2824
2824
  }),
2825
- style: ce(o.value)
2825
+ style: ce(l.value)
2826
2826
  }, [
2827
2827
  W(i.$slots, "default", {}, void 0, !0)
2828
2828
  ], 6)
@@ -2831,7 +2831,7 @@ const jo = {
2831
2831
  ], 2)
2832
2832
  ], 16));
2833
2833
  }
2834
- }), Oa = /* @__PURE__ */ le(Ba, [["__scopeId", "data-v-4d8c1b1b"]]), Ea = Q(Oa), Pa = ["onClick"], Na = { class: "step" }, Ua = {
2834
+ }), Oa = /* @__PURE__ */ oe(Ba, [["__scopeId", "data-v-4d8c1b1b"]]), Ea = Q(Oa), Pa = ["onClick"], Na = { class: "step" }, Ua = {
2835
2835
  key: 0,
2836
2836
  class: "line"
2837
2837
  }, za = ["title"], Ra = /* @__PURE__ */ Z({
@@ -2843,52 +2843,52 @@ const jo = {
2843
2843
  containerSelector: {}
2844
2844
  },
2845
2845
  setup(e) {
2846
- const l = e, t = N(""), o = l.offsetTop ?? 160, i = A(() => l.anchors.filter((a) => typeof a.visible == "function" ? a.visible() : a.visible !== !1)), r = () => {
2847
- const a = l.containerSelector || "#subpackage_container";
2846
+ const o = e, t = N(""), l = o.offsetTop ?? 160, i = D(() => o.anchors.filter((a) => typeof a.visible == "function" ? a.visible() : a.visible !== !1)), r = () => {
2847
+ const a = o.containerSelector || "#subpackage_container";
2848
2848
  return document.querySelector(a) || window;
2849
- }, d = (a) => {
2850
- const n = r(), v = a.target.startsWith("#") || a.target.startsWith(".") ? a.target : `#${a.target}`, b = document.querySelector(v);
2851
- if (!b) return;
2852
- let p = b.offsetTop;
2853
- n instanceof HTMLElement && (p -= n.offsetTop), p -= o, n instanceof Window ? window.scrollTo({ top: p, behavior: "smooth" }) : n.scrollTo({ top: p, behavior: "smooth" }), t.value = a.target;
2854
- }, h = () => {
2849
+ }, c = (a) => {
2850
+ const n = r(), m = a.target.startsWith("#") || a.target.startsWith(".") ? a.target : `#${a.target}`, p = document.querySelector(m);
2851
+ if (!p) return;
2852
+ let v = p.offsetTop;
2853
+ n instanceof HTMLElement && (v -= n.offsetTop), v -= l, n instanceof Window ? window.scrollTo({ top: v, behavior: "smooth" }) : n.scrollTo({ top: v, behavior: "smooth" }), t.value = a.target;
2854
+ }, f = () => {
2855
2855
  const a = r();
2856
2856
  let n = 0;
2857
- a instanceof Window ? n = window.scrollY + o + 5 : n = a.scrollTop + o + 5;
2858
- let v = i.value[0]?.target || "";
2859
- for (const b of i.value) {
2860
- const p = b.target.startsWith("#") || b.target.startsWith(".") ? b.target : `#${b.target}`, D = document.querySelector(p);
2861
- if (!D) continue;
2862
- let M = D.offsetTop;
2863
- a instanceof HTMLElement && (M -= a.offsetTop), n >= M && (v = b.target);
2857
+ a instanceof Window ? n = window.scrollY + l + 5 : n = a.scrollTop + l + 5;
2858
+ let m = i.value[0]?.target || "";
2859
+ for (const p of i.value) {
2860
+ const v = p.target.startsWith("#") || p.target.startsWith(".") ? p.target : `#${p.target}`, A = document.querySelector(v);
2861
+ if (!A) continue;
2862
+ let M = A.offsetTop;
2863
+ a instanceof HTMLElement && (M -= a.offsetTop), n >= M && (m = p.target);
2864
2864
  }
2865
- t.value = v;
2865
+ t.value = m;
2866
2866
  };
2867
2867
  return me(() => {
2868
- r().addEventListener("scroll", h), h();
2868
+ r().addEventListener("scroll", f), f();
2869
2869
  }), Je(() => {
2870
- r().removeEventListener("scroll", h);
2870
+ r().removeEventListener("scroll", f);
2871
2871
  }), (a, n) => (s(), C("div", {
2872
2872
  class: "anchors",
2873
- style: ce({ top: `${S(o)}px` })
2873
+ style: ce({ top: `${S(l)}px` })
2874
2874
  }, [
2875
- (s(!0), C(q, null, re(i.value, (v, b) => (s(), C("div", {
2876
- key: v.target,
2877
- class: K(["anchor-item", { isActive: t.value === v.target }]),
2878
- onClick: (p) => d(v)
2875
+ (s(!0), C(q, null, re(i.value, (m, p) => (s(), C("div", {
2876
+ key: m.target,
2877
+ class: K(["anchor-item", { isActive: t.value === m.target }]),
2878
+ onClick: (v) => c(m)
2879
2879
  }, [
2880
2880
  u("div", Na, [
2881
- b !== i.value.length - 1 ? (s(), C("div", Ua)) : O("", !0),
2881
+ p !== i.value.length - 1 ? (s(), C("div", Ua)) : O("", !0),
2882
2882
  n[0] || (n[0] = u("div", { class: "circle" }, null, -1))
2883
2883
  ]),
2884
2884
  u("span", {
2885
2885
  class: "title",
2886
- title: v.title
2887
- }, x(v.title.length > 12 ? v.title.slice(0, 12) + "..." : v.title), 9, za)
2886
+ title: m.title
2887
+ }, x(m.title.length > 12 ? m.title.slice(0, 12) + "..." : m.title), 9, za)
2888
2888
  ], 10, Pa))), 128))
2889
2889
  ], 4));
2890
2890
  }
2891
- }), Va = /* @__PURE__ */ le(Ra, [["__scopeId", "data-v-d51548d8"]]), Wa = Q(Va), ja = { class: "hb_detail_top_act_left" }, qa = {
2891
+ }), Va = /* @__PURE__ */ oe(Ra, [["__scopeId", "data-v-d51548d8"]]), Wa = Q(Va), ja = { class: "hb_detail_top_act_left" }, qa = {
2892
2892
  key: 1,
2893
2893
  class: "hb_detail_top_wrapper_sticky"
2894
2894
  }, Ya = { class: "hb_detail_top_act" }, Ka = {
@@ -2897,7 +2897,7 @@ const jo = {
2897
2897
  }, Ga = { class: "hb_detail_all_info_left" }, Ja = { class: "hb_detail_info_title" }, Xa = {
2898
2898
  key: 0,
2899
2899
  class: "hb_detail_info_content"
2900
- }, Qa = { class: "create_by" }, Za = { class: "hb_detail_all_info_right" }, en = { class: "hb_edit_detail_content_wrapper" }, tn = { class: "hb_detail_content" }, ln = { class: "hb-back-top-inner" }, on = /* @__PURE__ */ Z({
2900
+ }, Qa = { class: "create_by" }, Za = { class: "hb_detail_all_info_right" }, en = { class: "hb_edit_detail_content_wrapper" }, tn = { class: "hb_detail_content" }, on = { class: "hb-back-top-inner" }, ln = /* @__PURE__ */ Z({
2901
2901
  name: "HbLibDetailBox",
2902
2902
  __name: "HbLibDetailBox",
2903
2903
  props: {
@@ -2959,45 +2959,45 @@ const jo = {
2959
2959
  }
2960
2960
  },
2961
2961
  setup(e) {
2962
- const { t: l } = ue(), t = e, o = be(Ze), i = () => {
2962
+ const { t: o } = ue(), t = e, l = be(Ze), i = () => {
2963
2963
  t.backFn ? t.backFn() : window.history.back();
2964
- }, r = A(() => t.backTopBottom || o?.HbLibDetailBox?.backTopBottom || 80), d = A(() => {
2964
+ }, r = D(() => t.backTopBottom || l?.HbLibDetailBox?.backTopBottom || 80), c = D(() => {
2965
2965
  const R = {};
2966
2966
  return t.needFixWidth ? {
2967
- hb_need_set_desc_label_width: t.descLabelWidth || o?.HbLibDetailBox?.descLabelWidth,
2968
- hb_need_set_desc_value_width: t.descValueWidth || o?.HbLibDetailBox?.descValueWidth
2967
+ hb_need_set_desc_label_width: t.descLabelWidth || l?.HbLibDetailBox?.descLabelWidth,
2968
+ hb_need_set_desc_value_width: t.descValueWidth || l?.HbLibDetailBox?.descValueWidth
2969
2969
  } : R;
2970
- }), h = () => document.querySelector(t.container), a = N(!1), n = N(null), { top: v } = al(n), b = A(h), { y: p } = nl(b);
2970
+ }), f = () => document.querySelector(t.container), a = N(!1), n = N(null), { top: m } = ao(n), p = D(f), { y: v } = no(p);
2971
2971
  ae(
2972
- p,
2972
+ v,
2973
2973
  (R) => {
2974
- a.value = R > v.value;
2974
+ a.value = R > m.value;
2975
2975
  },
2976
2976
  { immediate: !0 }
2977
2977
  );
2978
- const D = (R) => {
2979
- document.querySelectorAll(".hb_card_body").forEach((m) => {
2980
- m.querySelectorAll(".ant-descriptions-item-content span").forEach((y) => {
2978
+ const A = (R) => {
2979
+ document.querySelectorAll(".hb_card_body").forEach((h) => {
2980
+ h.querySelectorAll(".ant-descriptions-item-content span").forEach((y) => {
2981
2981
  y.textContent?.trim() || (y.textContent = R);
2982
2982
  });
2983
2983
  });
2984
2984
  };
2985
2985
  let M = null;
2986
2986
  return me(() => {
2987
- o?.HbLibDetailBox?.needSetDesDefault && (M = setTimeout(() => {
2988
- D(o?.HbLibDetailBox?.desDefault);
2989
- }, o?.HbLibDetailBox?.setValuetimeOut));
2987
+ l?.HbLibDetailBox?.needSetDesDefault && (M = setTimeout(() => {
2988
+ A(l?.HbLibDetailBox?.desDefault);
2989
+ }, l?.HbLibDetailBox?.setValuetimeOut));
2990
2990
  }), xe(() => {
2991
2991
  M && clearTimeout(M);
2992
2992
  }), (R, P) => {
2993
- const m = V("RollbackOutlined"), f = V("a-divider"), y = V("a-spin");
2993
+ const h = V("RollbackOutlined"), b = V("a-divider"), y = V("a-spin");
2994
2994
  return s(), z(y, { spinning: e.spinning }, {
2995
- default: c(() => [
2995
+ default: d(() => [
2996
2996
  u("div", {
2997
- class: K(["hb_detail_wrapper", d.value]),
2997
+ class: K(["hb_detail_wrapper", c.value]),
2998
2998
  style: ce({
2999
- "--hb-detail-desc-label-width": d.value?.hb_need_set_desc_label_width + "px",
3000
- "--hb-detail-desc-value-width": d.value?.hb_need_set_desc_value_width + "px"
2999
+ "--hb-detail-desc-label-width": c.value?.hb_need_set_desc_label_width + "px",
3000
+ "--hb-detail-desc-value-width": c.value?.hb_need_set_desc_value_width + "px"
3001
3001
  })
3002
3002
  }, [
3003
3003
  e.needTotalInfoBox ? (s(), C("div", {
@@ -3005,26 +3005,26 @@ const jo = {
3005
3005
  class: K(["hb_detail_top_act_sticky", a.value ? "can_show" : ""])
3006
3006
  }, [
3007
3007
  u("div", ja, [
3008
- I(m, { style: { color: "#ff5000" } }),
3008
+ I(h, { style: { color: "#ff5000" } }),
3009
3009
  u("a", {
3010
3010
  href: "javascript:;",
3011
3011
  class: "ml6",
3012
3012
  onClick: i
3013
- }, x(S(l)("hbLibComp.HbLibDetailBox.back")), 1),
3014
- I(f, { type: "vertical" }),
3013
+ }, x(S(o)("hbLibComp.HbLibDetailBox.back")), 1),
3014
+ I(b, { type: "vertical" }),
3015
3015
  u("span", null, x(e.stickyTitle), 1)
3016
3016
  ]),
3017
3017
  P[0] || (P[0] = u("div", { class: "hb_detail_top_act_right" }, null, -1))
3018
3018
  ], 2)) : O("", !0),
3019
3019
  e.needTotalInfoBox ? (s(), C("div", qa, [
3020
3020
  u("div", Ya, [
3021
- I(m),
3021
+ I(h),
3022
3022
  u("a", {
3023
3023
  href: "javascript:;",
3024
3024
  class: "ml6",
3025
3025
  onClick: i
3026
- }, x(S(l)("hbLibComp.HbLibDetailBox.back")), 1),
3027
- I(f, { type: "vertical" }),
3026
+ }, x(S(o)("hbLibComp.HbLibDetailBox.back")), 1),
3027
+ I(b, { type: "vertical" }),
3028
3028
  u("span", null, x(e.stickyTitle), 1)
3029
3029
  ]),
3030
3030
  e.needTotalInfoBox ? (s(), C("div", Ka, [
@@ -3048,11 +3048,11 @@ const jo = {
3048
3048
  ])
3049
3049
  ]),
3050
3050
  I(S(Ht), {
3051
- target: h,
3051
+ target: f,
3052
3052
  style: ce({ bottom: r.value + "px" })
3053
3053
  }, {
3054
- default: c(() => [
3055
- u("div", ln, [
3054
+ default: d(() => [
3055
+ u("div", on, [
3056
3056
  I(S($t))
3057
3057
  ])
3058
3058
  ]),
@@ -3064,7 +3064,7 @@ const jo = {
3064
3064
  }, 8, ["spinning"]);
3065
3065
  };
3066
3066
  }
3067
- }), an = /* @__PURE__ */ le(on, [["__scopeId", "data-v-f2c2c397"]]), nn = Q(an), sn = /* @__PURE__ */ Z({
3067
+ }), an = /* @__PURE__ */ oe(ln, [["__scopeId", "data-v-f2c2c397"]]), nn = Q(an), sn = /* @__PURE__ */ Z({
3068
3068
  name: "HbLibFooterBar",
3069
3069
  __name: "HbLibFooterBar",
3070
3070
  props: {
@@ -3096,7 +3096,7 @@ const jo = {
3096
3096
  }
3097
3097
  },
3098
3098
  setup(e) {
3099
- const l = e, t = (a, n = 300) => Dt(a, n), o = A(() => l.buttons.filter((n) => {
3099
+ const o = e, t = (a, n = 300) => At(a, n), l = D(() => o.buttons.filter((n) => {
3100
3100
  if (n.condition === void 0 || n.condition === null)
3101
3101
  return !0;
3102
3102
  if (typeof n.condition == "boolean")
@@ -3109,29 +3109,29 @@ const jo = {
3109
3109
  onClick: t(n.onClick, n.debounceTime || 300)
3110
3110
  }))), i = N(0), r = (a) => {
3111
3111
  let n = 0;
3112
- return (Array.isArray(a) ? a : [a]).forEach((b) => {
3113
- let p = [];
3114
- if (b.startsWith("#")) {
3115
- const D = document.getElementById(b.slice(1));
3116
- D && p.push(D);
3112
+ return (Array.isArray(a) ? a : [a]).forEach((p) => {
3113
+ let v = [];
3114
+ if (p.startsWith("#")) {
3115
+ const A = document.getElementById(p.slice(1));
3116
+ A && v.push(A);
3117
3117
  } else
3118
- p = Array.from(document.getElementsByClassName(b));
3119
- p.forEach((D) => {
3120
- n += D.offsetWidth || 0;
3118
+ v = Array.from(document.getElementsByClassName(p));
3119
+ v.forEach((A) => {
3120
+ n += A.offsetWidth || 0;
3121
3121
  });
3122
3122
  }), n;
3123
- }, d = () => {
3124
- l.leftElements && (i.value = r(l.leftElements) + 1);
3123
+ }, c = () => {
3124
+ o.leftElements && (i.value = r(o.leftElements) + 1);
3125
3125
  };
3126
- let h = null;
3126
+ let f = null;
3127
3127
  return me(() => {
3128
- const a = l.getContainer();
3128
+ const a = o.getContainer();
3129
3129
  a !== window && a instanceof HTMLElement && a.addEventListener("scroll", () => {
3130
- }), d(), h = new MutationObserver(() => {
3131
- d();
3130
+ }), c(), f = new MutationObserver(() => {
3131
+ c();
3132
3132
  });
3133
3133
  const n = document.body;
3134
- h.observe(n, {
3134
+ f.observe(n, {
3135
3135
  childList: !0,
3136
3136
  // 子节点的变动
3137
3137
  subtree: !0,
@@ -3140,19 +3140,19 @@ const jo = {
3140
3140
  // 属性的变动
3141
3141
  });
3142
3142
  }), Je(() => {
3143
- h && h.disconnect();
3143
+ f && f.disconnect();
3144
3144
  }), (a, n) => {
3145
- const v = V("a-button"), b = V("a-space"), p = V("a-affix"), D = xt("has");
3145
+ const m = V("a-button"), p = V("a-space"), v = V("a-affix"), A = xt("has");
3146
3146
  return s(), C("div", {
3147
3147
  class: "footer-affix-wrapper",
3148
3148
  style: ce({ "--pageHeaderOrFonterLeft": i.value + "px" })
3149
3149
  }, [
3150
- I(p, {
3150
+ I(v, {
3151
3151
  "offset-bottom": 0,
3152
3152
  target: e.getContainer,
3153
3153
  style: { width: "100%" }
3154
3154
  }, {
3155
- default: c(() => [
3155
+ default: d(() => [
3156
3156
  u("div", {
3157
3157
  class: K({
3158
3158
  "page-footer-bar": !0,
@@ -3160,9 +3160,9 @@ const jo = {
3160
3160
  page_footer_btn_right: e.placeRight
3161
3161
  })
3162
3162
  }, [
3163
- I(b, null, {
3164
- default: c(() => [
3165
- (s(!0), C(q, null, re(o.value, (M) => fe((s(), z(v, {
3163
+ I(p, null, {
3164
+ default: d(() => [
3165
+ (s(!0), C(q, null, re(l.value, (M) => fe((s(), z(m, {
3166
3166
  key: M.key,
3167
3167
  type: M.type || "default",
3168
3168
  danger: M.danger,
@@ -3171,12 +3171,12 @@ const jo = {
3171
3171
  onClick: M.onClick,
3172
3172
  class: "hb_list_page_button"
3173
3173
  }, {
3174
- default: c(() => [
3174
+ default: d(() => [
3175
3175
  E(x(M.label), 1)
3176
3176
  ]),
3177
3177
  _: 2
3178
3178
  }, 1032, ["type", "danger", "loading", "disabled", "onClick"])), [
3179
- [D, M.permissionsTag || null]
3179
+ [A, M.permissionsTag || null]
3180
3180
  ])), 128))
3181
3181
  ]),
3182
3182
  _: 1
@@ -3188,7 +3188,7 @@ const jo = {
3188
3188
  ], 4);
3189
3189
  };
3190
3190
  }
3191
- }), rn = /* @__PURE__ */ le(sn, [["__scopeId", "data-v-23f13fb5"]]), cn = Q(rn), dn = { class: "modal__detail-content" }, un = /* @__PURE__ */ Z({
3191
+ }), rn = /* @__PURE__ */ oe(sn, [["__scopeId", "data-v-23f13fb5"]]), cn = Q(rn), dn = { class: "modal__detail-content" }, un = /* @__PURE__ */ Z({
3192
3192
  name: "HbLibModal",
3193
3193
  __name: "HbLibModal",
3194
3194
  props: {
@@ -3235,54 +3235,54 @@ const jo = {
3235
3235
  }
3236
3236
  },
3237
3237
  emits: ["update:visible", "ok", "cancel"],
3238
- setup(e, { expose: l, emit: t }) {
3239
- const o = t, i = e, r = A({
3238
+ setup(e, { expose: o, emit: t }) {
3239
+ const l = t, i = e, r = D({
3240
3240
  get: () => i.visible,
3241
- set: (U) => o("update:visible", U)
3242
- }), d = N(null), h = A(() => ({ top: "10px", ...i.modalStyle })), a = A(() => ({ overflow: "hidden", ...i.modalStyle })), n = A(() => ({
3241
+ set: (U) => l("update:visible", U)
3242
+ }), c = N(null), f = D(() => ({ top: "10px", ...i.modalStyle })), a = D(() => ({ overflow: "hidden", ...i.modalStyle })), n = D(() => ({
3243
3243
  maxHeight: "calc(100vh - 120px)",
3244
3244
  overflowY: "auto",
3245
3245
  padding: "0 6px",
3246
3246
  ...i.bodyStyle
3247
- })), { x: v, y: b, isDragging: p } = il(d), D = N(0), M = N(0), R = N(!1), P = N(0), m = N(0), f = N(0), y = N(0), H = N({ left: 0, right: 0, top: 0, bottom: 0 });
3247
+ })), { x: m, y: p, isDragging: v } = io(c), A = N(0), M = N(0), R = N(!1), P = N(0), h = N(0), b = N(0), y = N(0), H = N({ left: 0, right: 0, top: 0, bottom: 0 });
3248
3248
  let k = null;
3249
3249
  const w = () => {
3250
- P.value = 0, m.value = 0, f.value = 0, y.value = 0, R.value = !1;
3250
+ P.value = 0, h.value = 0, b.value = 0, y.value = 0, R.value = !1;
3251
3251
  };
3252
3252
  ae(r, (U) => {
3253
3253
  U ? setTimeout(() => {
3254
3254
  w();
3255
3255
  }, 50) : (k && clearTimeout(k), k = setTimeout(() => {
3256
- P.value = 0, m.value = 0, f.value = 0, y.value = 0;
3256
+ P.value = 0, h.value = 0, b.value = 0, y.value = 0;
3257
3257
  }, 300));
3258
- }), ae([v, b], () => {
3258
+ }), ae([m, p], () => {
3259
3259
  if (!R.value) {
3260
- D.value = v.value, M.value = b.value;
3261
- const U = document.body.getBoundingClientRect(), G = d.value.getBoundingClientRect();
3262
- H.value.right = U.width - G.width, H.value.bottom = U.height - G.height, f.value = P.value, y.value = m.value;
3260
+ A.value = m.value, M.value = p.value;
3261
+ const U = document.body.getBoundingClientRect(), G = c.value.getBoundingClientRect();
3262
+ H.value.right = U.width - G.width, H.value.bottom = U.height - G.height, b.value = P.value, y.value = h.value;
3263
3263
  }
3264
3264
  R.value = !0;
3265
- }), ae(p, () => {
3266
- p || (R.value = !1);
3265
+ }), ae(v, () => {
3266
+ v || (R.value = !1);
3267
3267
  }), Tt(() => {
3268
- R.value && (P.value = f.value + Math.min(Math.max(H.value.left, v.value), H.value.right) - D.value, m.value = y.value + Math.min(Math.max(H.value.top, b.value), H.value.bottom) - M.value);
3268
+ R.value && (P.value = b.value + Math.min(Math.max(H.value.left, m.value), H.value.right) - A.value, h.value = y.value + Math.min(Math.max(H.value.top, p.value), H.value.bottom) - M.value);
3269
3269
  });
3270
- const g = A(() => ({
3271
- transform: `translate(${P.value}px, ${m.value}px)`
3270
+ const g = D(() => ({
3271
+ transform: `translate(${P.value}px, ${h.value}px)`
3272
3272
  })), L = () => {
3273
- o("cancel");
3273
+ l("cancel");
3274
3274
  }, $ = () => {
3275
- o("ok");
3275
+ l("ok");
3276
3276
  };
3277
3277
  return xe(() => {
3278
3278
  k && clearTimeout(k);
3279
- }), l({
3279
+ }), o({
3280
3280
  handleOk: $,
3281
3281
  handleCancel: L
3282
3282
  }), (U, G) => {
3283
3283
  const ne = V("a-spin"), T = V("a-modal");
3284
- return s(), z(T, oe({
3285
- style: h.value,
3284
+ return s(), z(T, le({
3285
+ style: f.value,
3286
3286
  bodyStyle: n.value,
3287
3287
  ref: "modalRef",
3288
3288
  visible: r.value,
@@ -3291,10 +3291,10 @@ const jo = {
3291
3291
  onOk: $,
3292
3292
  onCancel: L
3293
3293
  }, U.$attrs), ke({
3294
- title: c(() => [
3294
+ title: d(() => [
3295
3295
  u("div", {
3296
3296
  ref_key: "modalTitleRef",
3297
- ref: d,
3297
+ ref: c,
3298
3298
  style: { width: "100%", cursor: "move" }
3299
3299
  }, [
3300
3300
  W(U.$slots, "title", {}, () => [
@@ -3302,7 +3302,7 @@ const jo = {
3302
3302
  ], !0)
3303
3303
  ], 512)
3304
3304
  ]),
3305
- modalRender: c(({ originVNode: F }) => [
3305
+ modalRender: d(({ originVNode: F }) => [
3306
3306
  (s(), C("div", {
3307
3307
  key: r.value,
3308
3308
  style: ce(g.value)
@@ -3310,11 +3310,11 @@ const jo = {
3310
3310
  (s(), z(Ft(F)))
3311
3311
  ], 4))
3312
3312
  ]),
3313
- default: c(() => [
3313
+ default: d(() => [
3314
3314
  I(ne, {
3315
3315
  spinning: i.spinning
3316
3316
  }, {
3317
- default: c(() => [
3317
+ default: d(() => [
3318
3318
  u("div", {
3319
3319
  class: K([
3320
3320
  e.type == "detail" ? "hb_detail_modal_wrapper" : "hb_modal_wrapper",
@@ -3335,7 +3335,7 @@ const jo = {
3335
3335
  }, [
3336
3336
  U.$slots.footer ? {
3337
3337
  name: "footer",
3338
- fn: c(() => [
3338
+ fn: d(() => [
3339
3339
  W(U.$slots, "footer", {}, void 0, !0)
3340
3340
  ]),
3341
3341
  key: "0"
@@ -3343,7 +3343,7 @@ const jo = {
3343
3343
  ]), 1040, ["style", "bodyStyle", "visible", "wrap-style"]);
3344
3344
  };
3345
3345
  }
3346
- }), fn = /* @__PURE__ */ le(un, [["__scopeId", "data-v-866a050a"]]), bn = Q(fn), mn = {
3346
+ }), fn = /* @__PURE__ */ oe(un, [["__scopeId", "data-v-866a050a"]]), bn = Q(fn), mn = {
3347
3347
  key: 0,
3348
3348
  class: "hb_edit_header"
3349
3349
  }, pn = { class: "__detail-content" }, hn = {
@@ -3373,31 +3373,31 @@ const jo = {
3373
3373
  }
3374
3374
  },
3375
3375
  setup(e) {
3376
- const l = N("vertical"), t = e, o = () => document.querySelector(t.container), i = be("GLOBAL_CONFIG_KEY"), r = A(() => t.backTopBottom || i?.HbLibUnDetailBox?.backTopBottom || 80);
3377
- return (d, h) => (s(), z(S(Gt), { spinning: e.spinning }, {
3378
- default: c(() => [
3379
- u("div", oe({ class: "hb_edit_wrapper" }, d.$attrs, {
3376
+ const o = N("vertical"), t = e, l = () => document.querySelector(t.container), i = be("GLOBAL_CONFIG_KEY"), r = D(() => t.backTopBottom || i?.HbLibUnDetailBox?.backTopBottom || 80);
3377
+ return (c, f) => (s(), z(S(Gt), { spinning: e.spinning }, {
3378
+ default: d(() => [
3379
+ u("div", le({ class: "hb_edit_wrapper" }, c.$attrs, {
3380
3380
  style: { "--hb-edit-form-label": e.formLabelWidth },
3381
3381
  class: e.formLabelWidth ? "isNeedSetLabelWidth" : ""
3382
3382
  }), [
3383
- d.$slots.editHeader ? (s(), C("div", mn, [
3384
- W(d.$slots, "editHeader", {}, void 0, !0)
3383
+ c.$slots.editHeader ? (s(), C("div", mn, [
3384
+ W(c.$slots, "editHeader", {}, void 0, !0)
3385
3385
  ])) : O("", !0),
3386
3386
  u("div", {
3387
- class: K(["hb_edit_detail_content_wrapper", l.value === "vertical" ? "form_vertical" : ""])
3387
+ class: K(["hb_edit_detail_content_wrapper", o.value === "vertical" ? "form_vertical" : ""])
3388
3388
  }, [
3389
3389
  u("div", pn, [
3390
- W(d.$slots, "editContent", {}, void 0, !0)
3390
+ W(c.$slots, "editContent", {}, void 0, !0)
3391
3391
  ])
3392
3392
  ], 2),
3393
- d.$slots.editFooter ? (s(), C("div", hn, [
3394
- W(d.$slots, "editFooter", {}, void 0, !0)
3393
+ c.$slots.editFooter ? (s(), C("div", hn, [
3394
+ W(c.$slots, "editFooter", {}, void 0, !0)
3395
3395
  ])) : O("", !0),
3396
3396
  I(S(Ht), {
3397
- target: o,
3397
+ target: l,
3398
3398
  style: ce({ bottom: r.value + "px" })
3399
3399
  }, {
3400
- default: c(() => [
3400
+ default: d(() => [
3401
3401
  u("div", vn, [
3402
3402
  I(S($t))
3403
3403
  ])
@@ -3409,7 +3409,7 @@ const jo = {
3409
3409
  _: 3
3410
3410
  }, 8, ["spinning"]));
3411
3411
  }
3412
- }), yn = /* @__PURE__ */ le(gn, [["__scopeId", "data-v-41f1fc73"]]), _n = Q(yn), Ln = { class: "hb_edit_header_left" }, Cn = { class: "hb_edit_header_title" }, wn = { class: "hb_edit_header_right" }, kn = /* @__PURE__ */ Z({
3412
+ }), yn = /* @__PURE__ */ oe(gn, [["__scopeId", "data-v-41f1fc73"]]), _n = Q(yn), Ln = { class: "hb_edit_header_left" }, Cn = { class: "hb_edit_header_title" }, wn = { class: "hb_edit_header_right" }, kn = /* @__PURE__ */ Z({
3413
3413
  name: "HbLibPageHeader",
3414
3414
  __name: "HbLibPageHeader",
3415
3415
  props: {
@@ -3427,33 +3427,33 @@ const jo = {
3427
3427
  }
3428
3428
  },
3429
3429
  setup(e) {
3430
- const { t: l } = ue(), t = e, o = Xe(), i = N(0), r = A(() => o?.meta?.title || "");
3431
- function d(p, D = "offsetHeight") {
3430
+ const { t: o } = ue(), t = e, l = Xe(), i = N(0), r = D(() => l?.meta?.title || "");
3431
+ function c(v, A = "offsetHeight") {
3432
3432
  let M = 0;
3433
- return (Array.isArray(p) ? p : [p]).forEach((P) => {
3434
- let m = [];
3433
+ return (Array.isArray(v) ? v : [v]).forEach((P) => {
3434
+ let h = [];
3435
3435
  if (P.startsWith("#")) {
3436
- const f = document.getElementById(P.slice(1));
3437
- f && m.push(f);
3436
+ const b = document.getElementById(P.slice(1));
3437
+ b && h.push(b);
3438
3438
  } else
3439
- m = Array.from(document.getElementsByClassName(P));
3440
- m.forEach((f) => {
3441
- M += f[D] || 0;
3439
+ h = Array.from(document.getElementsByClassName(P));
3440
+ h.forEach((b) => {
3441
+ M += b[A] || 0;
3442
3442
  });
3443
3443
  }), M;
3444
3444
  }
3445
- const h = () => {
3446
- t.topElements && (i.value = d(t.topElements));
3445
+ const f = () => {
3446
+ t.topElements && (i.value = c(t.topElements));
3447
3447
  }, a = N(0), n = () => {
3448
- t.leftElements && (a.value = d(t.leftElements, "offsetWidth") + 1);
3448
+ t.leftElements && (a.value = c(t.leftElements, "offsetWidth") + 1);
3449
3449
  };
3450
- let v = null;
3450
+ let m = null;
3451
3451
  me(() => {
3452
- h(), n(), window.addEventListener("resize", h), v = new MutationObserver(() => {
3452
+ f(), n(), window.addEventListener("resize", f), m = new MutationObserver(() => {
3453
3453
  n();
3454
3454
  });
3455
- const p = document.body;
3456
- v.observe(p, {
3455
+ const v = document.body;
3456
+ m.observe(v, {
3457
3457
  childList: !0,
3458
3458
  // 子节点的变动
3459
3459
  subtree: !0,
@@ -3462,18 +3462,18 @@ const jo = {
3462
3462
  // 属性的变动
3463
3463
  });
3464
3464
  }), Je(() => {
3465
- window.removeEventListener("resize", h), v && v.disconnect();
3465
+ window.removeEventListener("resize", f), m && m.disconnect();
3466
3466
  }), ae(
3467
3467
  () => t.topElements,
3468
3468
  () => {
3469
- h();
3469
+ f();
3470
3470
  },
3471
3471
  { immediate: !0 }
3472
3472
  );
3473
- const b = () => {
3473
+ const p = () => {
3474
3474
  t.backFn ? t.backFn() : window.history.back();
3475
3475
  };
3476
- return (p, D) => {
3476
+ return (v, A) => {
3477
3477
  const M = V("a-divider");
3478
3478
  return s(), C("div", {
3479
3479
  class: "hb_edit_header",
@@ -3483,18 +3483,18 @@ const jo = {
3483
3483
  u("a", {
3484
3484
  href: "#",
3485
3485
  class: "backBtn",
3486
- onClick: b
3487
- }, x(S(l)("hbLibComp.HbLibDetailBox.back")), 1),
3486
+ onClick: p
3487
+ }, x(S(o)("hbLibComp.HbLibDetailBox.back")), 1),
3488
3488
  I(M, { type: "vertical" }),
3489
3489
  u("span", Cn, x(r.value), 1)
3490
3490
  ]),
3491
3491
  u("aside", wn, [
3492
- W(p.$slots, "right", {}, void 0, !0)
3492
+ W(v.$slots, "right", {}, void 0, !0)
3493
3493
  ])
3494
3494
  ], 4);
3495
3495
  };
3496
3496
  }
3497
- }), Sn = /* @__PURE__ */ le(kn, [["__scopeId", "data-v-83fcd208"]]), xn = Q(Sn), Tn = {
3497
+ }), Sn = /* @__PURE__ */ oe(kn, [["__scopeId", "data-v-83fcd208"]]), xn = Q(Sn), Tn = {
3498
3498
  // 如果存在cpText时,K和V无效
3499
3499
  cpText: {
3500
3500
  type: String,
@@ -3544,38 +3544,38 @@ const jo = {
3544
3544
  __name: "copy",
3545
3545
  props: Tn,
3546
3546
  setup(e) {
3547
- const l = e, t = N();
3547
+ const o = e, t = N();
3548
3548
  Tt(() => {
3549
- t.value = l.data;
3549
+ t.value = o.data;
3550
3550
  });
3551
- const o = A(() => l.tooltipTitle || "复制"), i = A(() => l.copySuccessTip || "复制成功"), r = A(() => l.copyFailTip || "复制失败"), d = A(() => {
3552
- if (l.cpText) return l.cpText;
3551
+ const l = D(() => o.tooltipTitle || "复制"), i = D(() => o.copySuccessTip || "复制成功"), r = D(() => o.copyFailTip || "复制失败"), c = D(() => {
3552
+ if (o.cpText) return o.cpText;
3553
3553
  let a = "";
3554
- if (l.data)
3555
- if (Array.isArray(l.data)) {
3556
- if (l.K && l.V && l.L) {
3557
- const n = l.data.find((v) => v?.[l.K] === l.V);
3558
- a = n ? n[l.L] : "";
3554
+ if (o.data)
3555
+ if (Array.isArray(o.data)) {
3556
+ if (o.K && o.V && o.L) {
3557
+ const n = o.data.find((m) => m?.[o.K] === o.V);
3558
+ a = n ? n[o.L] : "";
3559
3559
  }
3560
3560
  } else
3561
- l.K && (a = l.data[l.K]);
3561
+ o.K && (a = o.data[o.K]);
3562
3562
  return a;
3563
- }), h = () => {
3564
- navigator.clipboard.writeText(d.value).then(() => {
3565
- ve.success(i.value);
3563
+ }), f = () => {
3564
+ navigator.clipboard.writeText(c.value).then(() => {
3565
+ ge.success(i.value);
3566
3566
  }).catch(() => {
3567
- ve.error(r.value);
3567
+ ge.error(r.value);
3568
3568
  });
3569
3569
  };
3570
- return (a, n) => d.value ? (s(), z(S(Me), {
3570
+ return (a, n) => c.value ? (s(), z(S(Me), {
3571
3571
  key: 0,
3572
- title: o.value
3572
+ title: l.value
3573
3573
  }, {
3574
- default: c(() => [
3574
+ default: d(() => [
3575
3575
  u("span", {
3576
3576
  class: "hb-lib-copy-text-eyevue",
3577
3577
  style: ce({ ...a.cpStyle }),
3578
- onClick: $e(h, ["stop", "prevent"])
3578
+ onClick: $e(f, ["stop", "prevent"])
3579
3579
  }, [...n[0] || (n[0] = [
3580
3580
  u("svg", {
3581
3581
  t: "1766643849597",
@@ -3608,7 +3608,7 @@ const jo = {
3608
3608
  _: 1
3609
3609
  }, 8, ["title"])) : O("", !0);
3610
3610
  }
3611
- }), Hn = /* @__PURE__ */ le(Fn, [["__scopeId", "data-v-2b6710a1"]]), Bt = Q(Hn), $n = {
3611
+ }), Hn = /* @__PURE__ */ oe(Fn, [["__scopeId", "data-v-2b6710a1"]]), Bt = Q(Hn), $n = {
3612
3612
  dragList: {
3613
3613
  type: Array,
3614
3614
  required: !0
@@ -3652,70 +3652,70 @@ const jo = {
3652
3652
  __name: "index",
3653
3653
  props: $n,
3654
3654
  emits: ["update:dragList", "handleDragStart", "handleDragEnd", "handleDragAdd", "handleDragRemove"],
3655
- setup(e, { emit: l }) {
3656
- const t = e, o = Vt([]);
3655
+ setup(e, { emit: o }) {
3656
+ const t = e, l = Vt([]);
3657
3657
  ae(
3658
3658
  () => t.dragList,
3659
- (v) => {
3660
- o.value = v;
3659
+ (m) => {
3660
+ l.value = m;
3661
3661
  },
3662
3662
  {
3663
3663
  deep: !0,
3664
3664
  immediate: !0
3665
3665
  }
3666
3666
  );
3667
- const i = Qe("drag"), r = l, d = (v) => {
3668
- console.log("drag start", v), r("handleDragStart", v);
3669
- }, h = (v) => {
3670
- console.log("drag end", v), r("handleDragEnd", v);
3671
- }, a = (v) => {
3672
- console.log("drag add", v), r("handleDragAdd", v);
3673
- }, n = (v) => {
3674
- console.log("drag remove", v), r("handleDragRemove", v);
3667
+ const i = Qe("drag"), r = o, c = (m) => {
3668
+ console.log("drag start", m), r("handleDragStart", m);
3669
+ }, f = (m) => {
3670
+ console.log("drag end", m), r("handleDragEnd", m);
3671
+ }, a = (m) => {
3672
+ console.log("drag add", m), r("handleDragAdd", m);
3673
+ }, n = (m) => {
3674
+ console.log("drag remove", m), r("handleDragRemove", m);
3675
3675
  };
3676
- return (v, b) => (s(), C("div", {
3676
+ return (m, p) => (s(), C("div", {
3677
3677
  class: K(S(i).b())
3678
3678
  }, [
3679
- v.childrenType == "component" ? (s(), z(S(Ie), oe({
3679
+ m.childrenType == "component" ? (s(), z(S(Ie), le({
3680
3680
  key: 0,
3681
- modelValue: o.value,
3682
- "onUpdate:modelValue": b[0] || (b[0] = (p) => o.value = p),
3681
+ modelValue: l.value,
3682
+ "onUpdate:modelValue": p[0] || (p[0] = (v) => l.value = v),
3683
3683
  "item-key": "key",
3684
- class: { [v.dragClass]: v.dragClass }
3685
- }, v.$attrs, {
3686
- "ghost-class": v.ghostClass,
3687
- onStart: d,
3688
- onEnd: h,
3684
+ class: { [m.dragClass]: m.dragClass }
3685
+ }, m.$attrs, {
3686
+ "ghost-class": m.ghostClass,
3687
+ onStart: c,
3688
+ onEnd: f,
3689
3689
  onAdd: a,
3690
3690
  onRemove: n
3691
3691
  }), {
3692
- item: c(({ element: p }) => [
3693
- (s(), z(Ft(p.component)))
3692
+ item: d(({ element: v }) => [
3693
+ (s(), z(Ft(v.component)))
3694
3694
  ]),
3695
3695
  _: 1
3696
- }, 16, ["modelValue", "class", "ghost-class"])) : (s(), z(S(Ie), oe({
3696
+ }, 16, ["modelValue", "class", "ghost-class"])) : (s(), z(S(Ie), le({
3697
3697
  key: 1,
3698
- modelValue: o.value,
3699
- "onUpdate:modelValue": b[1] || (b[1] = (p) => o.value = p),
3698
+ modelValue: l.value,
3699
+ "onUpdate:modelValue": p[1] || (p[1] = (v) => l.value = v),
3700
3700
  "item-key": "id",
3701
- class: { [v.dragClass]: v.dragClass }
3702
- }, v.$attrs, {
3703
- "ghost-class": v.ghostClass,
3704
- onStart: d,
3705
- onEnd: h,
3701
+ class: { [m.dragClass]: m.dragClass }
3702
+ }, m.$attrs, {
3703
+ "ghost-class": m.ghostClass,
3704
+ onStart: c,
3705
+ onEnd: f,
3706
3706
  onAdd: a,
3707
3707
  onRemove: n
3708
3708
  }), {
3709
- item: c(({ element: p }) => [
3709
+ item: d(({ element: v }) => [
3710
3710
  u("div", null, [
3711
- W(v.$slots, "default", { item: p }, void 0, !0)
3711
+ W(m.$slots, "default", { item: v }, void 0, !0)
3712
3712
  ])
3713
3713
  ]),
3714
3714
  _: 3
3715
3715
  }, 16, ["modelValue", "class", "ghost-class"]))
3716
3716
  ], 2));
3717
3717
  }
3718
- }), Mn = /* @__PURE__ */ le(In, [["__scopeId", "data-v-15b227f5"]]), An = Q(Mn), Dn = {
3718
+ }), Mn = /* @__PURE__ */ oe(In, [["__scopeId", "data-v-15b227f5"]]), Dn = Q(Mn), An = {
3719
3719
  triggerWay: {
3720
3720
  type: String,
3721
3721
  default: "click"
@@ -3734,19 +3734,19 @@ const jo = {
3734
3734
  }, Bn = /* @__PURE__ */ Z({
3735
3735
  name: "HbLibSort",
3736
3736
  __name: "sort",
3737
- props: Dn,
3737
+ props: An,
3738
3738
  emits: ["change"],
3739
- setup(e, { expose: l, emit: t }) {
3740
- const o = e, i = t, r = N([]), d = N("");
3739
+ setup(e, { expose: o, emit: t }) {
3740
+ const l = e, i = t, r = N([]), c = N("");
3741
3741
  ae(
3742
- () => o.menuItems,
3742
+ () => l.menuItems,
3743
3743
  (a) => {
3744
3744
  let n = [];
3745
- Array.isArray(a) && a.length && a.forEach((v) => {
3745
+ Array.isArray(a) && a.length && a.forEach((m) => {
3746
3746
  n = [
3747
3747
  ...n,
3748
- { label: `${v.label}升序`, value: `${v.value}`, sort: "Asc" },
3749
- { label: `${v.label}降序`, value: `${v.value}`, sort: "Desc" }
3748
+ { label: `${m.label}升序`, value: `${m.value}`, sort: "Asc" },
3749
+ { label: `${m.label}降序`, value: `${m.value}`, sort: "Desc" }
3750
3750
  ];
3751
3751
  }), r.value = n;
3752
3752
  },
@@ -3755,30 +3755,30 @@ const jo = {
3755
3755
  immediate: !0
3756
3756
  }
3757
3757
  );
3758
- const h = (a) => {
3759
- d.value = a.value + a.sort, o.getSort && o.getSort({
3758
+ const f = (a) => {
3759
+ c.value = a.value + a.sort, l.getSort && l.getSort({
3760
3760
  orderFeild: a.value,
3761
3761
  orderBy: a.sort
3762
- }), i("change", d);
3762
+ }), i("change", c);
3763
3763
  };
3764
- return l({
3765
- currentActiveItem: d
3764
+ return o({
3765
+ currentActiveItem: c
3766
3766
  }), (a, n) => {
3767
- const v = V("a-menu-item"), b = V("a-menu"), p = V("a-dropdown");
3768
- return s(), z(p, {
3769
- trigger: [o.triggerWay]
3767
+ const m = V("a-menu-item"), p = V("a-menu"), v = V("a-dropdown");
3768
+ return s(), z(v, {
3769
+ trigger: [l.triggerWay]
3770
3770
  }, {
3771
- overlay: c(() => [
3772
- I(b, null, {
3773
- default: c(() => [
3774
- (s(!0), C(q, null, re(r.value, (D) => (s(), z(v, {
3775
- key: D.value + D.sort,
3776
- onClick: (M) => h(D)
3771
+ overlay: d(() => [
3772
+ I(p, null, {
3773
+ default: d(() => [
3774
+ (s(!0), C(q, null, re(r.value, (A) => (s(), z(m, {
3775
+ key: A.value + A.sort,
3776
+ onClick: (M) => f(A)
3777
3777
  }, {
3778
- default: c(() => [
3778
+ default: d(() => [
3779
3779
  u("span", {
3780
- class: K(d.value == D.value + D.sort ? "activted" : "")
3781
- }, x(D.label), 3)
3780
+ class: K(c.value == A.value + A.sort ? "activted" : "")
3781
+ }, x(A.label), 3)
3782
3782
  ]),
3783
3783
  _: 2
3784
3784
  }, 1032, ["onClick"]))), 128))
@@ -3786,13 +3786,13 @@ const jo = {
3786
3786
  _: 1
3787
3787
  })
3788
3788
  ]),
3789
- default: c(() => [
3789
+ default: d(() => [
3790
3790
  u("span", {
3791
3791
  class: "ant-dropdown-link",
3792
3792
  onClick: n[0] || (n[0] = $e(() => {
3793
3793
  }, ["prevent"]))
3794
3794
  }, [
3795
- E(x(o.colText) + " ", 1),
3795
+ E(x(l.colText) + " ", 1),
3796
3796
  I(S(Ke))
3797
3797
  ])
3798
3798
  ]),
@@ -3800,7 +3800,7 @@ const jo = {
3800
3800
  }, 8, ["trigger"]);
3801
3801
  };
3802
3802
  }
3803
- }), On = /* @__PURE__ */ le(Bn, [["__scopeId", "data-v-cf0b0a0d"]]), En = Q(On), Pn = { class: "hb_lib_loading" }, Nn = { class: "hb_lib_loading_loading_anima" }, Un = { class: "hb_lib_loading_load_tips" }, zn = /* @__PURE__ */ Z({
3803
+ }), On = /* @__PURE__ */ oe(Bn, [["__scopeId", "data-v-cf0b0a0d"]]), En = Q(On), Pn = { class: "hb_lib_loading" }, Nn = { class: "hb_lib_loading_loading_anima" }, Un = { class: "hb_lib_loading_load_tips" }, zn = /* @__PURE__ */ Z({
3804
3804
  name: "HbLibLoading",
3805
3805
  __name: "loading",
3806
3806
  props: {
@@ -3810,49 +3810,21 @@ const jo = {
3810
3810
  }
3811
3811
  },
3812
3812
  setup(e) {
3813
- const { t: l } = ue(), t = e, o = A(() => t.loadTips || l("hbLibComp.HbLibLoading.loadingTips"));
3813
+ const { t: o } = ue(), t = e, l = D(() => t.loadTips || o("hbLibComp.HbLibLoading.loadingTips"));
3814
3814
  return (i, r) => (s(), C("div", Pn, [
3815
3815
  u("div", Nn, [
3816
3816
  r[0] || (r[0] = Wt('<div class="cube" data-v-22f438b9><div class="side front" data-v-22f438b9></div><div class="side back" data-v-22f438b9></div><div class="side right" data-v-22f438b9></div><div class="side left" data-v-22f438b9></div><div class="side top" data-v-22f438b9></div><div class="side bottom" data-v-22f438b9></div></div>', 1)),
3817
- u("div", Un, x(o.value), 1)
3817
+ u("div", Un, x(l.value), 1)
3818
3818
  ])
3819
3819
  ]));
3820
3820
  }
3821
- }), Rn = /* @__PURE__ */ le(zn, [["__scopeId", "data-v-22f438b9"]]), Vn = Q(Rn), we = (e) => {
3822
- const t = e.trim().split(/[?#]/)[0].match(/\.([^.]+)$/);
3823
- return t ? t[1].toLowerCase() : "";
3824
- }, Wn = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "gif", "bmp", "webp", "svg"]), jn = (e) => Wn.has(we(e)), vt = (e) => e.downloadUrl, qn = (e, l, t) => {
3825
- const o = (a) => a.previewUrl, i = t?.preferredIndex;
3826
- if (typeof i == "number" && i >= 0 && i < e.length) {
3827
- const a = e[i];
3828
- if (a === l) return i;
3829
- const n = "uploadDate" in a && a.uploadDate || "", v = "uploadDate" in l && l.uploadDate || "";
3830
- if (o(a) === o(l) && (a.attachmentDesc || "") === (l.attachmentDesc || "") && n === v)
3831
- return i;
3832
- }
3833
- const r = l.attachmentId;
3834
- if (r) {
3835
- const a = e.findIndex((n) => n.attachmentId === r);
3836
- if (a >= 0) return a;
3837
- }
3838
- const d = o(l);
3839
- if (d) {
3840
- const a = e.findIndex((n) => o(n) === d);
3841
- if (a >= 0) return a;
3842
- }
3843
- const h = vt(l);
3844
- if (h) {
3845
- const a = e.findIndex((n) => vt(n) === h);
3846
- if (a >= 0) return a;
3847
- }
3848
- return e.indexOf(l);
3849
- };
3821
+ }), Rn = /* @__PURE__ */ oe(zn, [["__scopeId", "data-v-22f438b9"]]), Vn = Q(Rn);
3850
3822
  function Ot(e) {
3851
- const l = e.trim();
3823
+ const o = e.trim();
3852
3824
  try {
3853
- return new URL(l).href;
3825
+ return new URL(o).href;
3854
3826
  } catch {
3855
- const t = l.replace(/ /g, "%20");
3827
+ const t = o.replace(/ /g, "%20");
3856
3828
  try {
3857
3829
  return new URL(t).href;
3858
3830
  } catch {
@@ -3867,32 +3839,32 @@ function Et(e) {
3867
3839
  return !1;
3868
3840
  }
3869
3841
  }
3870
- function gt(e) {
3871
- return new Promise((l, t) => {
3872
- const o = new XMLHttpRequest();
3873
- o.open("GET", e, !0), o.responseType = "blob", o.withCredentials = Et(e), o.onload = () => {
3874
- o.status >= 200 && o.status < 300 ? l(o.response) : t(new Error(String(o.status)));
3875
- }, o.onerror = () => t(new Error("xhr")), o.send();
3842
+ function vt(e) {
3843
+ return new Promise((o, t) => {
3844
+ const l = new XMLHttpRequest();
3845
+ l.open("GET", e, !0), l.responseType = "blob", l.withCredentials = Et(e), l.onload = () => {
3846
+ l.status >= 200 && l.status < 300 ? o(l.response) : t(new Error(String(l.status)));
3847
+ }, l.onerror = () => t(new Error("xhr")), l.send();
3876
3848
  });
3877
3849
  }
3878
- async function Yn(e) {
3879
- const l = Ot(e), t = typeof document < "u" ? document.documentMode : void 0;
3850
+ async function Wn(e) {
3851
+ const o = Ot(e), t = typeof document < "u" ? document.documentMode : void 0;
3880
3852
  if (typeof t == "number" && t > 0)
3881
- return gt(l);
3853
+ return vt(o);
3882
3854
  if (typeof fetch == "function") {
3883
- const o = await fetch(l, {
3884
- credentials: Et(l) ? "include" : "omit",
3855
+ const l = await fetch(o, {
3856
+ credentials: Et(o) ? "include" : "omit",
3885
3857
  mode: "cors"
3886
3858
  });
3887
- if (!o.ok) throw new Error(String(o.status));
3888
- return o.blob();
3859
+ if (!l.ok) throw new Error(String(l.status));
3860
+ return l.blob();
3889
3861
  }
3890
- return gt(l);
3862
+ return vt(o);
3891
3863
  }
3892
- function Kn(e, l) {
3893
- const t = l.trim() || "download", o = navigator;
3894
- if (typeof o.msSaveOrOpenBlob == "function") {
3895
- o.msSaveOrOpenBlob(e, t);
3864
+ function jn(e, o) {
3865
+ const t = o.trim() || "download", l = navigator;
3866
+ if (typeof l.msSaveOrOpenBlob == "function") {
3867
+ l.msSaveOrOpenBlob(e, t);
3896
3868
  return;
3897
3869
  }
3898
3870
  const i = URL.createObjectURL(e);
@@ -3903,36 +3875,72 @@ function Kn(e, l) {
3903
3875
  URL.revokeObjectURL(i);
3904
3876
  }
3905
3877
  }
3906
- function Gn(e) {
3907
- const l = Ot(e), t = document.createElement("iframe");
3908
- t.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:0;height:0;border:0;", t.src = l, document.body.appendChild(t), window.setTimeout(() => {
3878
+ function qn(e) {
3879
+ const o = Ot(e), t = document.createElement("iframe");
3880
+ t.style.cssText = "position:fixed;left:-9999px;top:-9999px;width:0;height:0;border:0;", t.src = o, document.body.appendChild(t), window.setTimeout(() => {
3909
3881
  try {
3910
3882
  document.body.removeChild(t);
3911
3883
  } catch {
3912
3884
  }
3913
3885
  }, 12e4);
3914
3886
  }
3915
- async function Fe(e, l) {
3916
- const t = (l || "download").trim() || "download";
3887
+ async function Fe(e, o) {
3888
+ const t = (o || "download").trim() || "download";
3917
3889
  try {
3918
- const o = await Yn(e);
3919
- Kn(o, t);
3890
+ const l = await Wn(e);
3891
+ jn(l, t);
3920
3892
  return;
3921
3893
  } catch {
3922
- Gn(e);
3894
+ qn(e);
3923
3895
  }
3924
3896
  }
3925
- const Jn = 768;
3926
- function Xn() {
3927
- return typeof window > "u" ? !0 : window.innerWidth >= Jn;
3897
+ const Yn = 768;
3898
+ function Kn() {
3899
+ return typeof window > "u" ? !0 : window.innerWidth >= Yn;
3928
3900
  }
3929
- function yt() {
3930
- return !Xn();
3901
+ function gt() {
3902
+ return !Kn();
3931
3903
  }
3932
- const Qn = { class: "file-preview-modal-title" }, Zn = {
3904
+ const we = (e) => {
3905
+ const t = e.trim().split(/[?#]/)[0].match(/\.([^.]+)$/);
3906
+ return t ? t[1].toLowerCase() : "";
3907
+ }, Gn = /* @__PURE__ */ new Set([
3908
+ "png",
3909
+ "jpg",
3910
+ "jpeg",
3911
+ "gif",
3912
+ "bmp",
3913
+ "webp",
3914
+ "svg"
3915
+ ]), Jn = (e) => Gn.has(we(e)), yt = (e) => e.downloadUrl, Xn = (e, o, t) => {
3916
+ const l = (a) => a.previewUrl, i = t?.preferredIndex;
3917
+ if (typeof i == "number" && i >= 0 && i < e.length) {
3918
+ const a = e[i];
3919
+ if (a === o) return i;
3920
+ const n = "uploadDate" in a && a.uploadDate || "", m = "uploadDate" in o && o.uploadDate || "";
3921
+ if (l(a) === l(o) && (a.attachmentDesc || "") === (o.attachmentDesc || "") && n === m)
3922
+ return i;
3923
+ }
3924
+ const r = o.attachmentId;
3925
+ if (r) {
3926
+ const a = e.findIndex((n) => n.attachmentId === r);
3927
+ if (a >= 0) return a;
3928
+ }
3929
+ const c = l(o);
3930
+ if (c) {
3931
+ const a = e.findIndex((n) => l(n) === c);
3932
+ if (a >= 0) return a;
3933
+ }
3934
+ const f = yt(o);
3935
+ if (f) {
3936
+ const a = e.findIndex((n) => yt(n) === f);
3937
+ if (a >= 0) return a;
3938
+ }
3939
+ return e.indexOf(o);
3940
+ }, Qn = { class: "file-preview-modal-title" }, Zn = {
3933
3941
  key: 0,
3934
3942
  class: "file-preview-modal-title__tip"
3935
- }, ei = { class: "file-preview-modal-body file-preview-modal-body--fill" }, ti = ["src"], li = ["src"], oi = {
3943
+ }, ei = { class: "file-preview-modal-body file-preview-modal-body--fill" }, ti = ["src"], oi = ["src"], li = {
3936
3944
  key: 2,
3937
3945
  class: "file-preview-modal-body__pre"
3938
3946
  }, ai = ["src"], ni = ["src"], ii = {
@@ -3971,7 +3979,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
3971
3979
  needModal: { type: Boolean, default: !0 }
3972
3980
  },
3973
3981
  emits: ["closeModal", "prevAttachment", "nextAttachment"],
3974
- setup(e, { emit: l }) {
3982
+ setup(e, { emit: o }) {
3975
3983
  const t = /* @__PURE__ */ new Set([
3976
3984
  "doc",
3977
3985
  "docx",
@@ -3983,16 +3991,16 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
3983
3991
  "pptx",
3984
3992
  "pps",
3985
3993
  "ppsx"
3986
- ]), o = l, i = e, r = N(i.previewVisible);
3994
+ ]), l = o, i = e, r = N(i.previewVisible);
3987
3995
  ae(
3988
3996
  () => i.previewVisible,
3989
3997
  (T) => {
3990
3998
  r.value = T;
3991
3999
  }
3992
4000
  );
3993
- const d = A(() => i.mobile ? "100%" : "98%"), h = A(
4001
+ const c = D(() => i.mobile ? "100%" : "98%"), f = D(
3994
4002
  () => i.mobile ? { top: 0, paddingBottom: 0, maxWidth: "100vw" } : { top: "20px" }
3995
- ), a = A(() => ({
4003
+ ), a = D(() => ({
3996
4004
  height: i.mobile ? "calc(100vh - 132px)" : "calc(100vh - 150px)",
3997
4005
  padding: i.mobile ? "8px" : void 0,
3998
4006
  display: "flex",
@@ -4000,14 +4008,14 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4000
4008
  minHeight: 0,
4001
4009
  overflow: "hidden",
4002
4010
  boxSizing: "border-box"
4003
- })), n = A(() => {
4011
+ })), n = D(() => {
4004
4012
  const T = (i.fileName || "").trim(), F = (i.url || "").trim(), X = T ? we(T) : "", J = F ? we(F) : "";
4005
4013
  return J && X && J !== X ? F : X ? T : J ? F : T || F;
4006
- }), v = A(
4014
+ }), m = D(
4007
4015
  () => n.value ? we(n.value) : ""
4008
- ), b = A(
4016
+ ), p = D(
4009
4017
  () => `${i.url}\0${i.fileName || ""}`
4010
- ), p = A(() => n.value ? jn(n.value) : !1), D = A(() => {
4018
+ ), v = D(() => n.value ? Jn(n.value) : !1), A = D(() => {
4011
4019
  if (!n.value) return !1;
4012
4020
  const T = we(n.value);
4013
4021
  return [
@@ -4028,7 +4036,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4028
4036
  "rtf",
4029
4037
  "csv"
4030
4038
  ].includes(T);
4031
- }), M = A(() => {
4039
+ }), M = D(() => {
4032
4040
  const T = (i.url || "").trim();
4033
4041
  if (!T) return !1;
4034
4042
  try {
@@ -4048,12 +4056,12 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4048
4056
  "fods",
4049
4057
  "xlt",
4050
4058
  "xltm"
4051
- ]), m = A(() => !R || !i.url?.trim() || M.value ? !1 : P.has(v.value)), f = A(() => v.value === "txt"), y = A(() => !i.url?.trim() || M.value ? !1 : f.value), H = N("idle"), k = N("");
4059
+ ]), h = D(() => !R || !i.url?.trim() || M.value ? !1 : P.has(m.value)), b = D(() => m.value === "txt"), y = D(() => !i.url?.trim() || M.value ? !1 : b.value), H = N("idle"), k = N("");
4052
4060
  ae(
4053
4061
  () => ({
4054
4062
  visible: i.previewVisible,
4055
4063
  url: i.url,
4056
- isTxt: f.value
4064
+ isTxt: b.value
4057
4065
  }),
4058
4066
  async ({ visible: T, url: F, isTxt: X }) => {
4059
4067
  if (k.value = "", H.value = "idle", !(!T || !X || !(F || "").trim())) {
@@ -4072,53 +4080,53 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4072
4080
  },
4073
4081
  { flush: "post" }
4074
4082
  );
4075
- const w = A(() => !i.url?.trim() || !R || f.value ? !1 : m.value ? !0 : !D.value && !p.value), g = A(
4076
- () => t.has(v.value)
4077
- ), L = A(() => {
4083
+ const w = D(() => !i.url?.trim() || !R || b.value ? !1 : h.value ? !0 : !A.value && !v.value), g = D(
4084
+ () => t.has(m.value)
4085
+ ), L = D(() => {
4078
4086
  const T = (i.url || "").trim();
4079
- return T ? M.value || !D.value || v.value === "pdf" ? T : g.value ? `https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(T)}` : `https://docs.google.com/gview?url=${encodeURIComponent(T)}&embedded=true` : i.url;
4087
+ return T ? M.value || !A.value || m.value === "pdf" ? T : g.value ? `https://view.officeapps.live.com/op/embed.aspx?src=${encodeURIComponent(T)}` : `https://docs.google.com/gview?url=${encodeURIComponent(T)}&embedded=true` : i.url;
4080
4088
  }), $ = N("");
4081
4089
  ae(
4082
4090
  () => ({
4083
4091
  visible: i.previewVisible,
4084
4092
  src: L.value,
4085
- doc: D.value,
4093
+ doc: A.value,
4086
4094
  serverPage: M.value,
4087
- skipIframe: m.value
4095
+ skipIframe: h.value
4088
4096
  }),
4089
4097
  async ({ visible: T, src: F, doc: X, serverPage: J, skipIframe: te }) => {
4090
4098
  if ($.value = "", !T || !(X || J) || te) return;
4091
4099
  const ie = (F || "").trim();
4092
- ie && (await _e(), await new Promise((de) => requestAnimationFrame(de)), i.previewVisible && L.value === ie && ($.value = ie));
4100
+ ie && (await pe(), await new Promise((de) => requestAnimationFrame(de)), i.previewVisible && L.value === ie && ($.value = ie));
4093
4101
  },
4094
4102
  { flush: "post" }
4095
4103
  );
4096
- const U = A(() => i.url && (!p.value || !D.value)), G = async () => {
4097
- yt() ? window.open(i.url, "_blank") : await Fe(i.url, i.fileName || "file");
4104
+ const U = D(() => i.url && (!v.value || !A.value)), G = async () => {
4105
+ gt() ? window.open(i.url, "_blank") : await Fe(i.url, i.fileName || "file");
4098
4106
  }, ne = () => {
4099
- o("closeModal");
4107
+ l("closeModal");
4100
4108
  };
4101
4109
  return (T, F) => {
4102
4110
  const X = V("a-spin"), J = V("VueFilesPreview"), te = V("a-button"), ie = V("a-modal");
4103
- return e.needModal ? (s(), z(ie, oe({
4111
+ return e.needModal ? (s(), z(ie, le({
4104
4112
  key: 0,
4105
4113
  visible: r.value,
4106
4114
  "onUpdate:visible": F[2] || (F[2] = (de) => r.value = de),
4107
- width: d.value,
4115
+ width: c.value,
4108
4116
  "body-style": a.value,
4109
- style: h.value,
4117
+ style: f.value,
4110
4118
  "wrap-class-name": e.mobile ? "file-preview-modal-wrap file-preview-modal-wrap--mobile" : "file-preview-modal-wrap",
4111
4119
  "destroy-on-close": ""
4112
4120
  }, T.$attrs, { onCancel: ne }), {
4113
- title: c(() => [
4121
+ title: d(() => [
4114
4122
  u("div", Qn, [
4115
4123
  W(T.$slots, "title", {}, () => [
4116
4124
  F[5] || (F[5] = E("文件预览", -1))
4117
4125
  ], !0),
4118
- S(yt)() && e.isTitleTip ? (s(), C("span", Zn, x(e.titleTip), 1)) : O("", !0)
4126
+ S(gt)() && e.isTitleTip ? (s(), C("span", Zn, x(e.titleTip), 1)) : O("", !0)
4119
4127
  ])
4120
4128
  ]),
4121
- footer: c(() => [
4129
+ footer: d(() => [
4122
4130
  u("div", {
4123
4131
  class: K(["file-preview-modal-footer", { "file-preview-modal-footer--mobile": e.mobile }])
4124
4132
  }, [
@@ -4128,9 +4136,9 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4128
4136
  disabled: !e.hasPrevAttachment,
4129
4137
  size: e.mobile ? "large" : "middle",
4130
4138
  block: e.mobile,
4131
- onClick: F[0] || (F[0] = (de) => o("prevAttachment"))
4139
+ onClick: F[0] || (F[0] = (de) => l("prevAttachment"))
4132
4140
  }, {
4133
- default: c(() => [...F[6] || (F[6] = [
4141
+ default: d(() => [...F[6] || (F[6] = [
4134
4142
  E(" 上一个 ", -1)
4135
4143
  ])]),
4136
4144
  _: 1
@@ -4139,9 +4147,9 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4139
4147
  disabled: !e.hasNextAttachment,
4140
4148
  size: e.mobile ? "large" : "middle",
4141
4149
  block: e.mobile,
4142
- onClick: F[1] || (F[1] = (de) => o("nextAttachment"))
4150
+ onClick: F[1] || (F[1] = (de) => l("nextAttachment"))
4143
4151
  }, {
4144
- default: c(() => [...F[7] || (F[7] = [
4152
+ default: d(() => [...F[7] || (F[7] = [
4145
4153
  E(" 下一个 ", -1)
4146
4154
  ])]),
4147
4155
  _: 1
@@ -4153,7 +4161,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4153
4161
  block: e.mobile,
4154
4162
  onClick: G
4155
4163
  }, {
4156
- default: c(() => [...F[8] || (F[8] = [
4164
+ default: d(() => [...F[8] || (F[8] = [
4157
4165
  E(" 下载 ", -1)
4158
4166
  ])]),
4159
4167
  _: 1
@@ -4165,7 +4173,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4165
4173
  block: e.mobile,
4166
4174
  onClick: ne
4167
4175
  }, {
4168
- default: c(() => [...F[9] || (F[9] = [
4176
+ default: d(() => [...F[9] || (F[9] = [
4169
4177
  E(" 关闭 ", -1)
4170
4178
  ])]),
4171
4179
  _: 1
@@ -4173,11 +4181,11 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4173
4181
  ], !0)
4174
4182
  ], 2)
4175
4183
  ]),
4176
- default: c(() => [
4184
+ default: d(() => [
4177
4185
  u("div", ei, [
4178
4186
  M.value ? (s(), C(q, { key: 0 }, [
4179
4187
  $.value ? (s(), C("iframe", {
4180
- key: `${b.value}:${$.value}`,
4188
+ key: `${p.value}:${$.value}`,
4181
4189
  src: $.value,
4182
4190
  class: "file-preview-modal-body__iframe",
4183
4191
  width: "100%",
@@ -4185,7 +4193,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4185
4193
  referrerpolicy: "no-referrer-when-downgrade"
4186
4194
  }, null, 8, ti)) : O("", !0)
4187
4195
  ], 64)) : y.value ? (s(), C("div", {
4188
- key: `txt:${b.value}`,
4196
+ key: `txt:${p.value}`,
4189
4197
  class: "file-preview-modal-body__plaintext"
4190
4198
  }, [
4191
4199
  H.value === "loading" ? (s(), z(X, {
@@ -4198,27 +4206,27 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4198
4206
  width: "100%",
4199
4207
  style: { border: "none" },
4200
4208
  referrerpolicy: "no-referrer-when-downgrade"
4201
- }, null, 8, li)) : H.value === "text" ? (s(), C("pre", oi, " " + x(k.value) + `
4209
+ }, null, 8, oi)) : H.value === "text" ? (s(), C("pre", li, " " + x(k.value) + `
4202
4210
  `, 1)) : O("", !0)
4203
4211
  ])) : w.value ? (s(), z(J, {
4204
- key: `vfp:${b.value}`,
4212
+ key: `vfp:${p.value}`,
4205
4213
  url: e.url
4206
- }, null, 8, ["url"])) : D.value ? (s(), C(q, { key: 3 }, [
4214
+ }, null, 8, ["url"])) : A.value ? (s(), C(q, { key: 3 }, [
4207
4215
  $.value ? (s(), C("iframe", {
4208
- key: `${b.value}:${$.value}`,
4216
+ key: `${p.value}:${$.value}`,
4209
4217
  src: $.value,
4210
4218
  class: "file-preview-modal-body__iframe",
4211
4219
  width: "100%",
4212
4220
  style: { border: "none" },
4213
4221
  referrerpolicy: "no-referrer-when-downgrade"
4214
4222
  }, null, 8, ai)) : O("", !0)
4215
- ], 64)) : p.value ? (s(), C("img", {
4216
- key: `img:${b.value}`,
4223
+ ], 64)) : v.value ? (s(), C("img", {
4224
+ key: `img:${p.value}`,
4217
4225
  class: "file-preview-modal-body__img",
4218
4226
  src: e.url,
4219
4227
  alt: "预览"
4220
4228
  }, null, 8, ni)) : e.url ? (s(), C("div", {
4221
- key: `nop:${b.value}`,
4229
+ key: `nop:${p.value}`,
4222
4230
  class: "no-preview"
4223
4231
  }, x(R ? "当前格式暂不支持预览,请下载后查看" : "预览组件未加载,请检查依赖"), 1)) : O("", !0)
4224
4232
  ])
@@ -4228,7 +4236,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4228
4236
  u("div", si, [
4229
4237
  M.value ? (s(), C(q, { key: 0 }, [
4230
4238
  $.value ? (s(), C("iframe", {
4231
- key: `${b.value}:${$.value}`,
4239
+ key: `${p.value}:${$.value}`,
4232
4240
  src: $.value,
4233
4241
  class: "file-preview-modal-body__iframe",
4234
4242
  width: "100%",
@@ -4236,7 +4244,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4236
4244
  referrerpolicy: "no-referrer-when-downgrade"
4237
4245
  }, null, 8, ri)) : O("", !0)
4238
4246
  ], 64)) : y.value ? (s(), C("div", {
4239
- key: `txt:${b.value}`,
4247
+ key: `txt:${p.value}`,
4240
4248
  class: "file-preview-modal-body__plaintext"
4241
4249
  }, [
4242
4250
  H.value === "loading" ? (s(), z(X, {
@@ -4252,24 +4260,24 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4252
4260
  }, null, 8, ci)) : H.value === "text" ? (s(), C("pre", di, x(k.value) + `
4253
4261
  `, 1)) : O("", !0)
4254
4262
  ])) : w.value ? (s(), z(J, {
4255
- key: `vfp:${b.value}`,
4263
+ key: `vfp:${p.value}`,
4256
4264
  url: e.url
4257
- }, null, 8, ["url"])) : D.value ? (s(), C(q, { key: 3 }, [
4265
+ }, null, 8, ["url"])) : A.value ? (s(), C(q, { key: 3 }, [
4258
4266
  $.value ? (s(), C("iframe", {
4259
- key: `${b.value}:${$.value}`,
4267
+ key: `${p.value}:${$.value}`,
4260
4268
  src: $.value,
4261
4269
  class: "file-preview-modal-body__iframe",
4262
4270
  width: "100%",
4263
4271
  style: { border: "none" },
4264
4272
  referrerpolicy: "no-referrer-when-downgrade"
4265
4273
  }, null, 8, ui)) : O("", !0)
4266
- ], 64)) : p.value ? (s(), C("img", {
4267
- key: `img:${b.value}`,
4274
+ ], 64)) : v.value ? (s(), C("img", {
4275
+ key: `img:${p.value}`,
4268
4276
  class: "file-preview-modal-body__img",
4269
4277
  src: e.url,
4270
4278
  alt: "预览"
4271
4279
  }, null, 8, fi)) : e.url ? (s(), C("div", {
4272
- key: `nop:${b.value}`,
4280
+ key: `nop:${p.value}`,
4273
4281
  class: "no-preview"
4274
4282
  }, x(R ? "当前格式暂不支持预览,请下载后查看" : "预览组件未加载,请检查依赖"), 1)) : O("", !0)
4275
4283
  ]),
@@ -4282,9 +4290,9 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4282
4290
  disabled: !e.hasPrevAttachment,
4283
4291
  size: e.mobile ? "large" : "middle",
4284
4292
  block: e.mobile,
4285
- onClick: F[3] || (F[3] = (de) => o("prevAttachment"))
4293
+ onClick: F[3] || (F[3] = (de) => l("prevAttachment"))
4286
4294
  }, {
4287
- default: c(() => [...F[10] || (F[10] = [
4295
+ default: d(() => [...F[10] || (F[10] = [
4288
4296
  E(" 上一个 ", -1)
4289
4297
  ])]),
4290
4298
  _: 1
@@ -4293,9 +4301,9 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4293
4301
  disabled: !e.hasNextAttachment,
4294
4302
  size: e.mobile ? "large" : "middle",
4295
4303
  block: e.mobile,
4296
- onClick: F[4] || (F[4] = (de) => o("nextAttachment"))
4304
+ onClick: F[4] || (F[4] = (de) => l("nextAttachment"))
4297
4305
  }, {
4298
- default: c(() => [...F[11] || (F[11] = [
4306
+ default: d(() => [...F[11] || (F[11] = [
4299
4307
  E(" 下一个 ", -1)
4300
4308
  ])]),
4301
4309
  _: 1
@@ -4307,7 +4315,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4307
4315
  block: e.mobile,
4308
4316
  onClick: G
4309
4317
  }, {
4310
- default: c(() => [...F[12] || (F[12] = [
4318
+ default: d(() => [...F[12] || (F[12] = [
4311
4319
  E(" 下载 ", -1)
4312
4320
  ])]),
4313
4321
  _: 1
@@ -4319,7 +4327,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4319
4327
  block: e.mobile,
4320
4328
  onClick: ne
4321
4329
  }, {
4322
- default: c(() => [...F[13] || (F[13] = [
4330
+ default: d(() => [...F[13] || (F[13] = [
4323
4331
  E(" 关闭 ", -1)
4324
4332
  ])]),
4325
4333
  _: 1
@@ -4329,7 +4337,7 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4329
4337
  ], 64));
4330
4338
  };
4331
4339
  }
4332
- }), pi = /* @__PURE__ */ le(mi, [["__scopeId", "data-v-858e082a"]]), hi = Q(pi), vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4340
+ }), pi = /* @__PURE__ */ oe(mi, [["__scopeId", "data-v-fcdd69c0"]]), hi = Q(pi), vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4333
4341
  __proto__: null,
4334
4342
  HbLibAnchor: Wa,
4335
4343
  HbLibCard: Ea,
@@ -4337,178 +4345,224 @@ const Qn = { class: "file-preview-modal-title" }, Zn = {
4337
4345
  HbLibDetailBox: nn,
4338
4346
  HbLibFilePreview: hi,
4339
4347
  HbLibFooterBar: cn,
4340
- HbLibFormItemFilterModal: ml,
4348
+ HbLibFormItemFilterModal: po,
4341
4349
  HbLibFormTooltipSelect: da,
4342
- HbLibFuncCompDrag: An,
4350
+ HbLibFuncCompDrag: Dn,
4343
4351
  HbLibImportFile: ya,
4344
- HbLibListBtnsAct: Ol,
4345
- HbLibListForm: Cl,
4346
- HbLibListMultiSelect: to,
4347
- HbLibListPageAct: $l,
4348
- HbLibListPageContainer: Nl,
4349
- HbLibListTable: Xo,
4352
+ HbLibListBtnsAct: Eo,
4353
+ HbLibListForm: wo,
4354
+ HbLibListMultiSelect: ol,
4355
+ HbLibListPageAct: Io,
4356
+ HbLibListPageContainer: Uo,
4357
+ HbLibListTable: Xl,
4350
4358
  HbLibLoading: Vn,
4351
4359
  HbLibLogModal: ka,
4352
4360
  HbLibModal: bn,
4353
- HbLibMutilpleSelectModal: io,
4361
+ HbLibMutilpleSelectModal: sl,
4354
4362
  HbLibPageHeader: xn,
4355
4363
  HbLibSort: En,
4356
- HbLibTableAct: yo,
4364
+ HbLibTableAct: yl,
4357
4365
  HbLibTableColumnSet: sa,
4358
4366
  HbLibUnDetailBox: _n,
4359
4367
  HbUiConfig: Fa
4360
- }, Symbol.toStringTag, { value: "Module" })), he = /* @__PURE__ */ new Map();
4368
+ }, Symbol.toStringTag, { value: "Module" })), ve = /* @__PURE__ */ new Map();
4361
4369
  let _t;
4362
- sl && (document.addEventListener("mousedown", (e) => _t = e), document.addEventListener("mouseup", (e) => {
4363
- for (const l of he.values())
4364
- for (const { documentHandler: t } of l)
4370
+ so && (document.addEventListener("mousedown", (e) => _t = e), document.addEventListener("mouseup", (e) => {
4371
+ for (const o of ve.values())
4372
+ for (const { documentHandler: t } of o)
4365
4373
  t(e, _t);
4366
4374
  }));
4367
- function Lt(e, l) {
4375
+ function Lt(e, o) {
4368
4376
  let t = [];
4369
- return Array.isArray(l.arg) ? t = l.arg : l.arg instanceof HTMLElement && t.push(l.arg), function(o, i) {
4370
- const r = l.instance.popperRef, d = o.target, h = i?.target, a = !l || !l.instance, n = !d || !h, v = e.contains(d) || e.contains(h), b = e === d, p = t.length && t.some((M) => M?.contains(d)) || t.length && t.includes(h), D = r && (r.contains(d) || r.contains(h));
4371
- a || n || v || b || p || D || l.value(o, i);
4377
+ return Array.isArray(o.arg) ? t = o.arg : o.arg instanceof HTMLElement && t.push(o.arg), function(l, i) {
4378
+ const r = o.instance.popperRef, c = l.target, f = i?.target, a = !o || !o.instance, n = !c || !f, m = e.contains(c) || e.contains(f), p = e === c, v = t.length && t.some((M) => M?.contains(c)) || t.length && t.includes(f), A = r && (r.contains(c) || r.contains(f));
4379
+ a || n || m || p || v || A || o.value(l, i);
4372
4380
  };
4373
4381
  }
4374
4382
  const gi = {
4375
- beforeMount(e, l) {
4376
- he.has(e) || he.set(e, []), he.get(e).push({
4377
- documentHandler: Lt(e, l),
4378
- bindingFn: l.value
4383
+ beforeMount(e, o) {
4384
+ ve.has(e) || ve.set(e, []), ve.get(e).push({
4385
+ documentHandler: Lt(e, o),
4386
+ bindingFn: o.value
4379
4387
  });
4380
4388
  },
4381
- updated(e, l) {
4382
- he.has(e) || he.set(e, []);
4383
- const t = he.get(e), o = t.findIndex((r) => r.bindingFn === l.oldValue), i = {
4384
- documentHandler: Lt(e, l),
4385
- bindingFn: l.value
4389
+ updated(e, o) {
4390
+ ve.has(e) || ve.set(e, []);
4391
+ const t = ve.get(e), l = t.findIndex((r) => r.bindingFn === o.oldValue), i = {
4392
+ documentHandler: Lt(e, o),
4393
+ bindingFn: o.value
4386
4394
  };
4387
- o >= 0 ? t.splice(o, 1, i) : t.push(i);
4395
+ l >= 0 ? t.splice(l, 1, i) : t.push(i);
4388
4396
  },
4389
4397
  unmounted(e) {
4390
- he.delete(e);
4398
+ ve.delete(e);
4391
4399
  }
4392
4400
  }, yi = {
4393
- mounted(e, l) {
4394
- const { value: t, arg: o } = l;
4395
- if (console.log(l), typeof t != "function") {
4401
+ mounted(e, o) {
4402
+ const { value: t, arg: l } = o;
4403
+ if (console.log(o), typeof t != "function") {
4396
4404
  console.warn("[v-debounce-click] 绑定值必须是一个函数");
4397
4405
  return;
4398
4406
  }
4399
- const i = parseInt(o, 10) || 300;
4407
+ const i = parseInt(l, 10) || 300;
4400
4408
  let r;
4401
- e.__debounceHandler__ = function(...d) {
4409
+ e.__debounceHandler__ = function(...c) {
4402
4410
  r && clearTimeout(r), r = setTimeout(() => {
4403
- t(...d);
4411
+ t(...c);
4404
4412
  }, i);
4405
4413
  }, e.addEventListener("click", e.__debounceHandler__);
4406
4414
  },
4407
4415
  unmounted(e) {
4408
4416
  e.__debounceHandler__ && (e.removeEventListener("click", e.__debounceHandler__), delete e.__debounceHandler__);
4409
4417
  }
4410
- }, Ct = (e, l) => {
4418
+ }, Ct = (e, o) => {
4411
4419
  e._dynamicApp && (e._dynamicApp.unmount(), e._dynamicContainer.innerHTML = "");
4412
4420
  const t = jt(Bt, {
4413
- cpText: l
4421
+ cpText: o
4414
4422
  });
4415
- t.mount(e._dynamicContainer), e._dynamicApp = t, e._dynamicPrevValue = l;
4423
+ t.mount(e._dynamicContainer), e._dynamicApp = t, e._dynamicPrevValue = o;
4416
4424
  }, _i = {
4417
- mounted(e, l) {
4425
+ mounted(e, o) {
4418
4426
  if (!e._dynamicContainer) {
4419
4427
  const t = document.createElement("div");
4420
4428
  t.style.display = "inline-flex", t.style.alignItems = "center", t.setAttribute("data-dynamic-container", ""), e.parentNode?.insertBefore(t, e.nextSibling), e._dynamicContainer = t;
4421
4429
  }
4422
- Ct(e, l.value);
4430
+ Ct(e, o.value);
4423
4431
  },
4424
- updated(e, l) {
4425
- l.value !== e._dynamicPrevValue && Ct(e, l.value);
4432
+ updated(e, o) {
4433
+ o.value !== e._dynamicPrevValue && Ct(e, o.value);
4426
4434
  },
4427
4435
  unmounted(e) {
4428
4436
  e._dynamicApp && (e._dynamicApp.unmount(), delete e._dynamicApp), e._dynamicContainer && (e._dynamicContainer.remove(), delete e._dynamicContainer), delete e._dynamicPrevValue;
4429
4437
  }
4430
4438
  }, Li = { cos: gi, dc: yi, icp: _i };
4431
4439
  function zi(e) {
4432
- const l = N(!1), t = N(""), o = N(""), i = N(-1), r = (m) => m.previewUrl, d = A(() => {
4433
- const m = e.value.attachmentInfos, f = i.value;
4434
- if (f <= 0) return !1;
4435
- for (let y = f - 1; y >= 0; y--)
4436
- if (r(m[y])) return !0;
4440
+ const o = N(!1), t = N(""), l = N(""), i = N(-1), r = (h) => h.previewUrl, c = D(() => {
4441
+ const h = e.value.attachmentInfos, b = i.value;
4442
+ if (b <= 0) return !1;
4443
+ for (let y = b - 1; y >= 0; y--)
4444
+ if (r(h[y])) return !0;
4437
4445
  return !1;
4438
- }), h = A(() => {
4439
- const m = e.value.attachmentInfos, f = i.value;
4440
- if (f < 0 || f >= m.length - 1) return !1;
4441
- for (let y = f + 1; y < m.length; y++)
4442
- if (r(m[y])) return !0;
4446
+ }), f = D(() => {
4447
+ const h = e.value.attachmentInfos, b = i.value;
4448
+ if (b < 0 || b >= h.length - 1) return !1;
4449
+ for (let y = b + 1; y < h.length; y++)
4450
+ if (r(h[y])) return !0;
4443
4451
  return !1;
4444
- }), a = A(() => e.value.attachmentInfos.length > 1), n = (m) => {
4445
- const y = e.value.attachmentInfos[m];
4452
+ }), a = D(() => e.value.attachmentInfos.length > 1), n = (h) => {
4453
+ const y = e.value.attachmentInfos[h];
4446
4454
  if (!y) return;
4447
4455
  const H = r(y);
4448
- H && (i.value = m, t.value = H, o.value = y.attachmentDesc || "", l.value = !0);
4449
- }, v = () => {
4450
- const m = e.value.attachmentInfos, f = i.value;
4451
- for (let y = f - 1; y >= 0; y--)
4452
- if (r(m[y])) {
4456
+ H && (i.value = h, t.value = H, l.value = y.attachmentDesc || "", o.value = !0);
4457
+ }, m = () => {
4458
+ const h = e.value.attachmentInfos, b = i.value;
4459
+ for (let y = b - 1; y >= 0; y--)
4460
+ if (r(h[y])) {
4453
4461
  n(y);
4454
4462
  return;
4455
4463
  }
4456
- }, b = () => {
4457
- const m = e.value.attachmentInfos, f = i.value;
4458
- for (let y = f + 1; y < m.length; y++)
4459
- if (r(m[y])) {
4464
+ }, p = () => {
4465
+ const h = e.value.attachmentInfos, b = i.value;
4466
+ for (let y = b + 1; y < h.length; y++)
4467
+ if (r(h[y])) {
4460
4468
  n(y);
4461
4469
  return;
4462
4470
  }
4463
- }, p = () => {
4464
- l.value = !1, i.value = -1, t.value = "", o.value = "";
4465
- }, D = (m, f) => {
4466
- const y = r(m);
4471
+ }, v = () => {
4472
+ o.value = !1, i.value = -1, t.value = "", l.value = "";
4473
+ }, A = (h, b) => {
4474
+ const y = r(h);
4467
4475
  if (!y) {
4468
- ve.warning("暂无预览地址");
4476
+ ge.warning("暂无预览地址");
4469
4477
  return;
4470
4478
  }
4471
- const H = e.value.attachmentInfos, k = qn(H, m, {
4472
- preferredIndex: f
4479
+ const H = e.value.attachmentInfos, k = Xn(H, h, {
4480
+ preferredIndex: b
4473
4481
  });
4474
- k >= 0 ? n(k) : (i.value = -1, t.value = y, o.value = m.attachmentDesc || "", l.value = !0);
4475
- }, M = (m) => {
4476
- const f = m.downloadUrl;
4477
- if (!f) {
4478
- ve.warning("暂无下载地址");
4482
+ k >= 0 ? n(k) : (i.value = -1, t.value = y, l.value = h.attachmentDesc || "", o.value = !0);
4483
+ }, M = (h) => {
4484
+ const b = h.downloadUrl;
4485
+ if (!b) {
4486
+ ge.warning("暂无下载地址");
4479
4487
  return;
4480
4488
  }
4481
- const y = m.attachmentDesc?.trim() || "download";
4482
- Fe(f, y);
4489
+ const y = h.attachmentDesc?.trim() || "download";
4490
+ Fe(b, y);
4483
4491
  }, R = 400;
4484
4492
  return {
4485
- filePreviewVisible: l,
4493
+ filePreviewVisible: o,
4486
4494
  pdfPreviewUrlRef: t,
4487
- previewFileNameRef: o,
4495
+ previewFileNameRef: l,
4488
4496
  previewAttachmentIndexRef: i,
4489
- hasPrevAttachment: d,
4490
- hasNextAttachment: h,
4497
+ hasPrevAttachment: c,
4498
+ hasNextAttachment: f,
4491
4499
  showAttachmentNavBar: a,
4492
- handlePreview: D,
4500
+ handlePreview: A,
4493
4501
  handleDownload: M,
4494
- handleClosePreview: p,
4495
- goPrevAttachment: v,
4496
- goNextAttachment: b,
4502
+ handleClosePreview: v,
4503
+ goPrevAttachment: m,
4504
+ goNextAttachment: p,
4497
4505
  triggerBrowserDownload: Fe,
4498
4506
  handleBatchDownloadAttachment: async () => {
4499
- const f = e.value.attachmentInfos.filter((y) => !!y.downloadUrl?.trim());
4500
- if (f.length === 0) {
4501
- ve.warning("暂无可下载附件");
4507
+ const b = e.value.attachmentInfos.filter((y) => !!y.downloadUrl?.trim());
4508
+ if (b.length === 0) {
4509
+ ge.warning("暂无可下载附件");
4502
4510
  return;
4503
4511
  }
4504
- for (let y = 0; y < f.length; y++) {
4505
- const H = f[y], k = H.attachmentDesc?.trim() || "download";
4506
- Fe(H.downloadUrl, k), y < f.length - 1 && await new Promise((w) => setTimeout(w, R));
4512
+ for (let y = 0; y < b.length; y++) {
4513
+ const H = b[y], k = H.attachmentDesc?.trim() || "download";
4514
+ Fe(H.downloadUrl, k), y < b.length - 1 && await new Promise((w) => setTimeout(w, R));
4507
4515
  }
4508
4516
  }
4509
4517
  };
4510
4518
  }
4511
- const Ci = { HbFileUploadModal: { cancel: "Cancel", clickUpload: "Click to upload", confirmImport: "Confirm import", dataImport: "Import data", downloadTemplate: "Import template download", dragFile: "Drag files here or", file: "document", fileUpload: "File import", maxSupport: "Most supported", onlySupport: "Only supports", placeSelect: "Please select", selectFile: "Please select the file to upload", format: "Supported formats" }, HbLogModal: { close: "closure", operateContent: "Operation content", operateLogs: "Operation log", operateTime: "Operating time", operator: "operator" }, hbFormItemFilterModal: { add: "Add to", cancel: "Cancel", confirm: "Sure", moreConditionSearch: "Multiple searches", mostMore: "Optional at most", mostMoreTip: "conditions, drag and drop to adjust the sorting", noData: "No data yet", notShowTip: "No conditions shown", titleTip: "Conditions shown", overTip1: "Currently has exceeded", overTip2: "Optional quantity, please delete the displayed conditions first", title: "Custom query conditions" }, hbFormSelectFilter: { allSelect: "Select all", close: "closure" }, hbLibListForm: { queryCase: "query plan", addScheme: "Add scenario", editScheme: "Edit plan" }, hbLibListTableColumsSet: { allSelect: "Select all", cancelFix: "Unpin", confirm: "Sure", errorTip: "Cannot move column to fixed column position", fix: "fixed", popoverTitle: "Custom columns", title: "Table field settings", reset: "reduction" }, hbListBtnsAct: { close: "Close query conditions", open: "Expand query conditions", reload: "Refresh data" }, hbListPageAct: { close: "close", exitFullScreen: "Exit full screen", fullScreen: "full screen", open: "Expand", query: "Query", reset: "reset", selfDefine: "Filter query conditions" }, hbListTable: { noData: "No data yet" }, hbMultiSelectModal: { pleaseSelect: "Please select" }, hbTableAct: { confirmContent: "Confirm content", more: "More", secendConfirm: "Second confirmation" }, HbImportFile: { clickUp: "Click to upload", downloadTemplate: "Click to download template", pleaseUploadFiles: "Please upload files", uploadText: "Drag files here or", fileLabel: "document", importBtn: "File upload" }, HbFuncCompCopy: { copy: "copy", copyFail: "Copy failed", copySuccess: "Copied successfully" }, HbLibDetailBox: { back: "return" } }, wi = {
4519
+ const Ri = (e) => {
4520
+ const o = N();
4521
+ o.value = e.slice();
4522
+ const t = JSON.parse(JSON.stringify(o.value));
4523
+ return {
4524
+ formItems: o,
4525
+ DeepCloneFromItem: t,
4526
+ handleSearchCase: (i) => {
4527
+ let r = [], c = Object.keys(i);
4528
+ t.forEach((f) => {
4529
+ c.includes(f.key) && r.push(f);
4530
+ }), o.value = r;
4531
+ }
4532
+ };
4533
+ }, Vi = (e) => {
4534
+ let o = !0;
4535
+ return { start: () => {
4536
+ pe(() => {
4537
+ const r = document.querySelector(`.${e} .ant-modal`);
4538
+ if (r) {
4539
+ let c = !1, f = { x: 0, y: 0 };
4540
+ const a = r.querySelector(".ant-modal-header"), n = r.querySelector(".ant-modal-footer");
4541
+ a && (a.style.cursor = "move", n.style.cursor = "move", a.addEventListener("mousedown", (m) => {
4542
+ c = !0, f.x = m.clientX - r.offsetLeft, f.y = m.clientY - r.offsetTop, document.body.style.userSelect = "none";
4543
+ }), n.addEventListener("mousedown", (m) => {
4544
+ c = !0, f.x = m.clientX - r.offsetLeft, f.y = m.clientY - r.offsetTop, document.body.style.userSelect = "none";
4545
+ }), document.addEventListener("mousemove", (m) => {
4546
+ if (!c || !o) return;
4547
+ const p = m.clientX - f.x, v = m.clientY - f.y;
4548
+ r.style.left = `${p}px`, r.style.top = `${v}px`;
4549
+ }), document.addEventListener("mouseup", () => {
4550
+ c = !1, document.body.style.userSelect = "";
4551
+ }));
4552
+ }
4553
+ });
4554
+ }, stop: () => {
4555
+ o = !1;
4556
+ }, resetPosition: () => {
4557
+ pe(() => {
4558
+ const r = document.querySelector(`.${e} .ant-modal`);
4559
+ if (r) {
4560
+ const c = window.innerWidth, f = window.innerHeight, a = r.offsetWidth, n = r.offsetHeight, m = (c - a) / 2, p = (f - n) / 2;
4561
+ r.style.left = `${m}px`, r.style.top = `${p}px`;
4562
+ }
4563
+ });
4564
+ } };
4565
+ }, Ci = { HbFileUploadModal: { cancel: "Cancel", clickUpload: "Click to upload", confirmImport: "Confirm import", dataImport: "Import data", downloadTemplate: "Import template download", dragFile: "Drag files here or", file: "document", fileUpload: "File import", maxSupport: "Most supported", onlySupport: "Only supports", placeSelect: "Please select", selectFile: "Please select the file to upload", format: "Supported formats" }, HbLogModal: { close: "closure", operateContent: "Operation content", operateLogs: "Operation log", operateTime: "Operating time", operator: "operator" }, hbFormItemFilterModal: { add: "Add to", cancel: "Cancel", confirm: "Sure", moreConditionSearch: "Multiple searches", mostMore: "Optional at most", mostMoreTip: "conditions, drag and drop to adjust the sorting", noData: "No data yet", notShowTip: "No conditions shown", titleTip: "Conditions shown", overTip1: "Currently has exceeded", overTip2: "Optional quantity, please delete the displayed conditions first", title: "Custom query conditions" }, hbFormSelectFilter: { allSelect: "Select all", close: "closure" }, hbLibListForm: { queryCase: "query plan", addScheme: "Add scenario", editScheme: "Edit plan" }, hbLibListTableColumsSet: { allSelect: "Select all", cancelFix: "Unpin", confirm: "Sure", errorTip: "Cannot move column to fixed column position", fix: "fixed", popoverTitle: "Custom columns", title: "Table field settings", reset: "reduction" }, hbListBtnsAct: { close: "Close query conditions", open: "Expand query conditions", reload: "Refresh data" }, hbListPageAct: { close: "close", exitFullScreen: "Exit full screen", fullScreen: "full screen", open: "Expand", query: "Query", reset: "reset", selfDefine: "Filter query conditions" }, hbListTable: { noData: "No data yet" }, hbMultiSelectModal: { pleaseSelect: "Please select" }, hbTableAct: { confirmContent: "Confirm content", more: "More", secendConfirm: "Second confirmation" }, HbImportFile: { clickUp: "Click to upload", downloadTemplate: "Click to download template", pleaseUploadFiles: "Please upload files", uploadText: "Drag files here or", fileLabel: "document", importBtn: "File upload" }, HbFuncCompCopy: { copy: "copy", copyFail: "Copy failed", copySuccess: "Copied successfully" }, HbLibDetailBox: { back: "return" } }, wi = {
4512
4566
  hbLibComp: Ci
4513
4567
  }, ki = { HbFileUploadModal: { cancel: "キャンセル", clickUpload: "クリックしてアップロード", confirmImport: "インポートの確認", dataImport: "データのインポート", downloadTemplate: "インポートテンプレートのダウンロード", dragFile: "ここにファイルをドラッグするか、", file: "書類", fileUpload: "ファイルのインポート", maxSupport: "最も支持されている", onlySupport: "サポートのみ", placeSelect: "選択してください", selectFile: "アップロードするファイルを選択してください", format: "サポートされている形式" }, HbLogModal: { close: "閉鎖", operateContent: "操作内容", operateLogs: "操作ログ", operateTime: "稼働時間", operator: "オペレーター" }, hbFormItemFilterModal: { add: "に追加", cancel: "キャンセル", confirm: "もちろん", moreConditionSearch: "複数の検索", mostMore: "せいぜいオプション", mostMoreTip: "条件をドラッグアンドドロップして並べ替えを調整します", noData: "まだデータがありません", notShowTip: "条件が表示されていません", titleTip: "表示される条件", overTip1: "現在は超えています", overTip2: "オプションの数量です。最初に表示されている条件を削除してください", title: "カスタムクエリ条件" }, hbFormSelectFilter: { allSelect: "すべて選択", close: "閉鎖" }, hbLibListForm: { queryCase: "クエリプラン", addScheme: "シナリオの追加", editScheme: "計画の編集" }, hbLibListTableColumsSet: { allSelect: "すべて選択", cancelFix: "固定を解除する", confirm: "もちろん", errorTip: "列を固定列位置に移動できません", fix: "修理済み", popoverTitle: "カスタム列", title: "テーブルフィールドの設定", reset: "削減" }, hbListBtnsAct: { close: "クエリ条件を閉じる", open: "クエリ条件を拡張する", reload: "データを更新する" }, hbListPageAct: { close: "近い", exitFullScreen: "全画面表示を終了する", fullScreen: "全画面表示", open: "拡大する", query: "クエリ", reset: "リセット", selfDefine: "フィルタークエリ条件" }, hbListTable: { noData: "まだデータがありません" }, hbMultiSelectModal: { pleaseSelect: "選択してください" }, hbTableAct: { confirmContent: "内容を確認する", more: "もっと", secendConfirm: "2回目の確認" }, HbImportFile: { clickUp: "クリックしてアップロード", downloadTemplate: "クリックしてテンプレートをダウンロード", pleaseUploadFiles: "ファイルをアップロードしてください", uploadText: "ファイルをここにドラッグするか、", fileLabel: "書類", importBtn: "ファイルのアップロード" }, HbFuncCompCopy: { copy: "コピー", copyFail: "コピーに失敗しました", copySuccess: "正常にコピーされました" }, HbLibDetailBox: { back: "戻る" } }, Si = {
4514
4568
  hbLibComp: ki
@@ -4519,17 +4573,17 @@ const Ci = { HbFileUploadModal: { cancel: "Cancel", clickUpload: "Click to uploa
4519
4573
  };
4520
4574
  var He = { exports: {} }, $i = He.exports, wt;
4521
4575
  function Ii() {
4522
- return wt || (wt = 1, (function(e, l) {
4523
- (function(t, o) {
4524
- e.exports = o(Oe);
4576
+ return wt || (wt = 1, (function(e, o) {
4577
+ (function(t, l) {
4578
+ e.exports = l(Oe);
4525
4579
  })($i, (function(t) {
4526
- function o(d) {
4527
- return d && typeof d == "object" && "default" in d ? d : { default: d };
4580
+ function l(c) {
4581
+ return c && typeof c == "object" && "default" in c ? c : { default: c };
4528
4582
  }
4529
- var i = o(t), r = { name: "zh-cn", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(d, h) {
4530
- return h === "W" ? d + "周" : d + "日";
4531
- }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(d, h) {
4532
- var a = 100 * d + h;
4583
+ var i = l(t), r = { name: "zh-cn", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(c, f) {
4584
+ return f === "W" ? c + "周" : c + "日";
4585
+ }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(c, f) {
4586
+ var a = 100 * c + f;
4533
4587
  return a < 600 ? "凌晨" : a < 900 ? "早上" : a < 1100 ? "上午" : a < 1300 ? "中午" : a < 1800 ? "下午" : "晚上";
4534
4588
  } };
4535
4589
  return i.default.locale(r, null, !0), r;
@@ -4538,16 +4592,16 @@ function Ii() {
4538
4592
  }
4539
4593
  Ii();
4540
4594
  Oe.locale("zh-cn");
4541
- const Ri = {
4595
+ const Wi = {
4542
4596
  en_US: wi,
4543
4597
  ja_JP: Si,
4544
4598
  zh_CN: Ti,
4545
4599
  de_DE: Hi
4546
- }, Vi = function(e, l = {}) {
4547
- e.provide("globalCompConfig", l || {}), Object.values(vi).forEach((t) => {
4600
+ }, ji = function(e, o = {}) {
4601
+ e.provide("globalCompConfig", o || {}), Object.values(vi).forEach((t) => {
4548
4602
  t && typeof t.install == "function" && e.use(t);
4549
- }), Object.entries(Li).forEach(([t, o]) => {
4550
- e.directive(t, o);
4603
+ }), Object.entries(Li).forEach(([t, l]) => {
4604
+ e.directive(t, l);
4551
4605
  });
4552
4606
  };
4553
4607
  export {
@@ -4557,27 +4611,31 @@ export {
4557
4611
  nn as HbLibDetailBox,
4558
4612
  hi as HbLibFilePreview,
4559
4613
  cn as HbLibFooterBar,
4560
- ml as HbLibFormItemFilterModal,
4614
+ po as HbLibFormItemFilterModal,
4561
4615
  da as HbLibFormTooltipSelect,
4562
- An as HbLibFuncCompDrag,
4616
+ Dn as HbLibFuncCompDrag,
4563
4617
  ya as HbLibImportFile,
4564
- Ol as HbLibListBtnsAct,
4565
- Cl as HbLibListForm,
4566
- to as HbLibListMultiSelect,
4567
- $l as HbLibListPageAct,
4568
- Nl as HbLibListPageContainer,
4569
- Xo as HbLibListTable,
4618
+ Eo as HbLibListBtnsAct,
4619
+ wo as HbLibListForm,
4620
+ ol as HbLibListMultiSelect,
4621
+ Io as HbLibListPageAct,
4622
+ Uo as HbLibListPageContainer,
4623
+ Xl as HbLibListTable,
4570
4624
  Vn as HbLibLoading,
4571
4625
  ka as HbLibLogModal,
4572
4626
  bn as HbLibModal,
4573
- io as HbLibMutilpleSelectModal,
4627
+ sl as HbLibMutilpleSelectModal,
4574
4628
  xn as HbLibPageHeader,
4575
4629
  En as HbLibSort,
4576
- yo as HbLibTableAct,
4630
+ yl as HbLibTableAct,
4577
4631
  sa as HbLibTableColumnSet,
4578
4632
  _n as HbLibUnDetailBox,
4579
4633
  Fa as HbUiConfig,
4580
- Vi as install,
4581
- Ri as locales,
4582
- zi as useFilePreview
4634
+ ji as install,
4635
+ Wi as locales,
4636
+ Po as useCalTableHeight,
4637
+ bt as useCalTableWidth,
4638
+ zi as useFilePreview,
4639
+ Ri as useListFormItem,
4640
+ Vi as useModalDrag
4583
4641
  };