bi-components-library 1.3.2-next.45 → 1.3.2-next.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -564,11 +564,11 @@ const { Option: L0 } = Pl, P0 = ({
564
564
  const T = te(o);
565
565
  T.current = o;
566
566
  const _ = te(!1), S = ze(() => e.map((L) => {
567
- const { sortable: E, render: B, ...q } = L;
567
+ const { sortable: E, render: B, ...$ } = L;
568
568
  return {
569
- ...q,
569
+ ...$,
570
570
  sorter: E ? !0 : void 0,
571
- render: B || (($) => $)
571
+ render: B || ((q) => q)
572
572
  };
573
573
  }), [e]), k = V(async (L = {}) => {
574
574
  if (t) {
@@ -582,10 +582,10 @@ const { Option: L0 } = Pl, P0 = ({
582
582
  searchParams: { ...b, ...T.current },
583
583
  ...L
584
584
  }, B = await t(E);
585
- B.success && (d(B.data), g((q) => ({
586
- ...q,
585
+ B.success && (d(B.data), g(($) => ({
586
+ ...$,
587
587
  total: B.total,
588
- current: E.page || q.current
588
+ current: E.page || $.current
589
589
  })));
590
590
  } catch (E) {
591
591
  console.error("加载数据失败:", E);
@@ -600,15 +600,15 @@ const { Option: L0 } = Pl, P0 = ({
600
600
  }, [R]), F = V(() => {
601
601
  k();
602
602
  }, [k]), z = V((L, E, B) => {
603
- const q = {
603
+ const $ = {
604
604
  current: L.current || 1,
605
605
  pageSize: L.pageSize || a,
606
606
  total: L.total || 0
607
- }, $ = {
607
+ }, q = {
608
608
  field: B?.field,
609
609
  order: B?.order
610
610
  };
611
- g(q), N($);
611
+ g($), N(q);
612
612
  }, [a]);
613
613
  return be(() => {
614
614
  const L = Object.keys(o).length > 0;
@@ -2095,12 +2095,12 @@ function t1() {
2095
2095
  var L = w(), E = S(r);
2096
2096
  if (E) {
2097
2097
  if (D(), !S(l)) return _("property missing ':'");
2098
- var B = S(a), q = L({
2098
+ var B = S(a), $ = L({
2099
2099
  type: h,
2100
2100
  property: g(E[0].replace(e, d)),
2101
2101
  value: B ? g(B[0].replace(e, d)) : d
2102
2102
  });
2103
- return S(i), q;
2103
+ return S(i), $;
2104
2104
  }
2105
2105
  }
2106
2106
  function z() {
@@ -3900,7 +3900,7 @@ function Ng(e, t, n) {
3900
3900
  return M === null || ue(M) ? F(M) : Ie(M) ? (e.consume(M), D) : n(M);
3901
3901
  }
3902
3902
  function F(M) {
3903
- return M === 45 && l === 2 ? (e.consume(M), B) : M === 60 && l === 1 ? (e.consume(M), q) : M === 62 && l === 4 ? (e.consume(M), ae) : M === 63 && l === 3 ? (e.consume(M), C) : M === 93 && l === 5 ? (e.consume(M), Q) : ue(M) && (l === 6 || l === 7) ? (e.exit("htmlFlowData"), e.check(Sg, fe, z)(M)) : M === null || ue(M) ? (e.exit("htmlFlowData"), z(M)) : (e.consume(M), F);
3903
+ return M === 45 && l === 2 ? (e.consume(M), B) : M === 60 && l === 1 ? (e.consume(M), $) : M === 62 && l === 4 ? (e.consume(M), ae) : M === 63 && l === 3 ? (e.consume(M), C) : M === 93 && l === 5 ? (e.consume(M), Q) : ue(M) && (l === 6 || l === 7) ? (e.exit("htmlFlowData"), e.check(Sg, fe, z)(M)) : M === null || ue(M) ? (e.exit("htmlFlowData"), z(M)) : (e.consume(M), F);
3904
3904
  }
3905
3905
  function z(M) {
3906
3906
  return e.check(kg, L, fe)(M);
@@ -3914,15 +3914,15 @@ function Ng(e, t, n) {
3914
3914
  function B(M) {
3915
3915
  return M === 45 ? (e.consume(M), C) : F(M);
3916
3916
  }
3917
- function q(M) {
3918
- return M === 47 ? (e.consume(M), i = "", $) : F(M);
3919
- }
3920
3917
  function $(M) {
3918
+ return M === 47 ? (e.consume(M), i = "", q) : F(M);
3919
+ }
3920
+ function q(M) {
3921
3921
  if (M === 62) {
3922
3922
  const ge = i.toLowerCase();
3923
3923
  return ic.includes(ge) ? (e.consume(M), ae) : F(M);
3924
3924
  }
3925
- return Qt(M) && i.length < 8 ? (e.consume(M), i += String.fromCharCode(M), $) : F(M);
3925
+ return Qt(M) && i.length < 8 ? (e.consume(M), i += String.fromCharCode(M), q) : F(M);
3926
3926
  }
3927
3927
  function Q(M) {
3928
3928
  return M === 93 ? (e.consume(M), C) : F(M);
@@ -3974,7 +3974,7 @@ function Og(e, t, n) {
3974
3974
  return C === 45 ? (e.consume(C), h) : n(C);
3975
3975
  }
3976
3976
  function d(C) {
3977
- return C === null ? n(C) : C === 45 ? (e.consume(C), f) : ue(C) ? (i = d, q(C)) : (e.consume(C), d);
3977
+ return C === null ? n(C) : C === 45 ? (e.consume(C), f) : ue(C) ? (i = d, $(C)) : (e.consume(C), d);
3978
3978
  }
3979
3979
  function f(C) {
3980
3980
  return C === 45 ? (e.consume(C), h) : d(C);
@@ -3987,7 +3987,7 @@ function Og(e, t, n) {
3987
3987
  return C === ae.charCodeAt(a++) ? (e.consume(C), a === ae.length ? g : m) : n(C);
3988
3988
  }
3989
3989
  function g(C) {
3990
- return C === null ? n(C) : C === 93 ? (e.consume(C), b) : ue(C) ? (i = g, q(C)) : (e.consume(C), g);
3990
+ return C === null ? n(C) : C === 93 ? (e.consume(C), b) : ue(C) ? (i = g, $(C)) : (e.consume(C), g);
3991
3991
  }
3992
3992
  function b(C) {
3993
3993
  return C === 93 ? (e.consume(C), y) : g(C);
@@ -3996,10 +3996,10 @@ function Og(e, t, n) {
3996
3996
  return C === 62 ? B(C) : C === 93 ? (e.consume(C), y) : g(C);
3997
3997
  }
3998
3998
  function I(C) {
3999
- return C === null || C === 62 ? B(C) : ue(C) ? (i = I, q(C)) : (e.consume(C), I);
3999
+ return C === null || C === 62 ? B(C) : ue(C) ? (i = I, $(C)) : (e.consume(C), I);
4000
4000
  }
4001
4001
  function N(C) {
4002
- return C === null ? n(C) : C === 63 ? (e.consume(C), R) : ue(C) ? (i = N, q(C)) : (e.consume(C), N);
4002
+ return C === null ? n(C) : C === 63 ? (e.consume(C), R) : ue(C) ? (i = N, $(C)) : (e.consume(C), N);
4003
4003
  }
4004
4004
  function R(C) {
4005
4005
  return C === 62 ? B(C) : N(C);
@@ -4011,25 +4011,25 @@ function Og(e, t, n) {
4011
4011
  return C === 45 || Ot(C) ? (e.consume(C), T) : _(C);
4012
4012
  }
4013
4013
  function _(C) {
4014
- return ue(C) ? (i = _, q(C)) : Ie(C) ? (e.consume(C), _) : B(C);
4014
+ return ue(C) ? (i = _, $(C)) : Ie(C) ? (e.consume(C), _) : B(C);
4015
4015
  }
4016
4016
  function S(C) {
4017
4017
  return C === 45 || Ot(C) ? (e.consume(C), S) : C === 47 || C === 62 || $e(C) ? k(C) : n(C);
4018
4018
  }
4019
4019
  function k(C) {
4020
- return C === 47 ? (e.consume(C), B) : C === 58 || C === 95 || Qt(C) ? (e.consume(C), P) : ue(C) ? (i = k, q(C)) : Ie(C) ? (e.consume(C), k) : B(C);
4020
+ return C === 47 ? (e.consume(C), B) : C === 58 || C === 95 || Qt(C) ? (e.consume(C), P) : ue(C) ? (i = k, $(C)) : Ie(C) ? (e.consume(C), k) : B(C);
4021
4021
  }
4022
4022
  function P(C) {
4023
4023
  return C === 45 || C === 46 || C === 58 || C === 95 || Ot(C) ? (e.consume(C), P) : D(C);
4024
4024
  }
4025
4025
  function D(C) {
4026
- return C === 61 ? (e.consume(C), F) : ue(C) ? (i = D, q(C)) : Ie(C) ? (e.consume(C), D) : k(C);
4026
+ return C === 61 ? (e.consume(C), F) : ue(C) ? (i = D, $(C)) : Ie(C) ? (e.consume(C), D) : k(C);
4027
4027
  }
4028
4028
  function F(C) {
4029
- return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? n(C) : C === 34 || C === 39 ? (e.consume(C), l = C, z) : ue(C) ? (i = F, q(C)) : Ie(C) ? (e.consume(C), F) : (e.consume(C), L);
4029
+ return C === null || C === 60 || C === 61 || C === 62 || C === 96 ? n(C) : C === 34 || C === 39 ? (e.consume(C), l = C, z) : ue(C) ? (i = F, $(C)) : Ie(C) ? (e.consume(C), F) : (e.consume(C), L);
4030
4030
  }
4031
4031
  function z(C) {
4032
- return C === l ? (e.consume(C), l = void 0, E) : C === null ? n(C) : ue(C) ? (i = z, q(C)) : (e.consume(C), z);
4032
+ return C === l ? (e.consume(C), l = void 0, E) : C === null ? n(C) : ue(C) ? (i = z, $(C)) : (e.consume(C), z);
4033
4033
  }
4034
4034
  function L(C) {
4035
4035
  return C === null || C === 34 || C === 39 || C === 60 || C === 61 || C === 96 ? n(C) : C === 47 || C === 62 || $e(C) ? k(C) : (e.consume(C), L);
@@ -4040,10 +4040,10 @@ function Og(e, t, n) {
4040
4040
  function B(C) {
4041
4041
  return C === 62 ? (e.consume(C), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(C);
4042
4042
  }
4043
- function q(C) {
4044
- return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), $;
4045
- }
4046
4043
  function $(C) {
4044
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), q;
4045
+ }
4046
+ function q(C) {
4047
4047
  return Ie(C) ? Oe(e, Q, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(C) : Q(C);
4048
4048
  }
4049
4049
  function Q(C) {
@@ -4668,7 +4668,7 @@ function vv(e, t, n) {
4668
4668
  function _(D, F) {
4669
4669
  return z;
4670
4670
  function z(L, E, B) {
4671
- let q, $, Q, C;
4671
+ let $, q, Q, C;
4672
4672
  return Array.isArray(L) ? (
4673
4673
  /* c8 ignore next 1 */
4674
4674
  fe(L)
@@ -4692,7 +4692,7 @@ function vv(e, t, n) {
4692
4692
  }
4693
4693
  }
4694
4694
  function fe(we) {
4695
- return q = we, $ = 0, we.length === 0 ? B : M(we[$]);
4695
+ return $ = we, q = 0, we.length === 0 ? B : M(we[q]);
4696
4696
  }
4697
4697
  function M(we) {
4698
4698
  return ce;
@@ -4712,7 +4712,7 @@ function vv(e, t, n) {
4712
4712
  return D(Q, C), E;
4713
4713
  }
4714
4714
  function pe(we) {
4715
- return C.restore(), ++$ < q.length ? M(q[$]) : B;
4715
+ return C.restore(), ++q < $.length ? M($[q]) : B;
4716
4716
  }
4717
4717
  }
4718
4718
  }
@@ -4946,9 +4946,9 @@ function wv(e) {
4946
4946
  htmlFlowData: P,
4947
4947
  htmlText: o(L),
4948
4948
  htmlTextData: P,
4949
- image: o(q),
4949
+ image: o($),
4950
4950
  label: Q,
4951
- labelText: $,
4951
+ labelText: q,
4952
4952
  lineEnding: D,
4953
4953
  link: o(B),
4954
4954
  listItem: o(),
@@ -5209,7 +5209,7 @@ function wv(e) {
5209
5209
  delete j.identifier, delete j.label;
5210
5210
  this.data.referenceType = void 0;
5211
5211
  }
5212
- function q() {
5212
+ function $() {
5213
5213
  const j = this.stack[this.stack.length - 1];
5214
5214
  if (this.data.inReference) {
5215
5215
  const ee = this.data.referenceType || "shortcut";
@@ -5218,7 +5218,7 @@ function wv(e) {
5218
5218
  delete j.identifier, delete j.label;
5219
5219
  this.data.referenceType = void 0;
5220
5220
  }
5221
- function $(j) {
5221
+ function q(j) {
5222
5222
  const ee = this.sliceSerialize(j), me = this.stack[this.stack.length - 2];
5223
5223
  me.label = kv(ee), me.identifier = Nr(ee).toLowerCase();
5224
5224
  }
@@ -15425,9 +15425,9 @@ const gx = {
15425
15425
  (k) => {
15426
15426
  const P = m.current;
15427
15427
  if (!P) return;
15428
- const D = window.getComputedStyle(P), F = Number.parseFloat(D.lineHeight) || 22, z = Number.parseFloat(D.paddingTop) || 0, L = Number.parseFloat(D.paddingBottom) || 0, E = F + z + L, B = P.offsetHeight > E + 1, q = i.includes(`
15428
+ const D = window.getComputedStyle(P), F = Number.parseFloat(D.lineHeight) || 22, z = Number.parseFloat(D.paddingTop) || 0, L = Number.parseFloat(D.paddingBottom) || 0, E = F + z + L, B = P.offsetHeight > E + 1, $ = i.includes(`
15429
15429
  `) || B;
15430
- k ? q && y(($) => $ || !0) : y(($) => $ === q ? $ : q);
15430
+ k ? $ && y((q) => q || !0) : y((q) => q === $ ? q : $);
15431
15431
  },
15432
15432
  [i]
15433
15433
  );
@@ -15644,17 +15644,17 @@ const Wo = {
15644
15644
  const h = f.querySelector(".ant-select-selection-item"), m = f.querySelector(".ant-select-selection-placeholder"), g = h || m, b = (g?.textContent || "").trim() || s, y = f.querySelector(".ant-select-selector"), I = g || y || f, N = window.getComputedStyle(I), R = g ? N.fontSize : "16px", w = N.fontFamily || "sans-serif", T = N.fontWeight || "400", S = `${N.fontStyle || "normal"} ${T} ${R} ${w}`, P = document.createElement("canvas").getContext("2d"), D = P ? Math.ceil((P.font = S, P.measureText(b).width || 0)) : 0;
15645
15645
  let F = 0;
15646
15646
  if (y) {
15647
- const $ = window.getComputedStyle(y);
15648
- F = (Number.parseFloat($.paddingLeft) || 0) + (Number.parseFloat($.paddingRight) || 0);
15647
+ const q = window.getComputedStyle(y);
15648
+ F = (Number.parseFloat(q.paddingLeft) || 0) + (Number.parseFloat(q.paddingRight) || 0);
15649
15649
  }
15650
15650
  const z = f.querySelector(".ant-select-arrow"), L = z ? Math.ceil(z.getBoundingClientRect().width) : 12, E = f.querySelector(".ant-select-clear");
15651
15651
  let B = 0;
15652
15652
  if (E) {
15653
- const $ = window.getComputedStyle(E);
15654
- $.display !== "none" && $.visibility !== "hidden" && (B = Math.ceil(E.getBoundingClientRect().width));
15653
+ const q = window.getComputedStyle(E);
15654
+ q.display !== "none" && q.visibility !== "hidden" && (B = Math.ceil(E.getBoundingClientRect().width));
15655
15655
  }
15656
- const q = Math.max(36, D + F + L + B + 6);
15657
- u(($) => $ === q ? $ : q);
15656
+ const $ = Math.max(36, D + F + L + B + 6);
15657
+ u((q) => q === $ ? q : $);
15658
15658
  }, [s]);
15659
15659
  return We(() => {
15660
15660
  const f = window.requestAnimationFrame(() => d()), h = window.setTimeout(() => d(), 60);
@@ -15753,7 +15753,7 @@ const mp = ye.memo(
15753
15753
  }, [s, u, a]), w = V(() => {
15754
15754
  const S = m.current;
15755
15755
  if (!S) return;
15756
- const k = S.querySelector(".ant-select-selection-item"), P = S.querySelector(".ant-select-selection-placeholder"), D = k || P, F = (D?.textContent || "").trim() || R(), z = S.querySelector(".ant-select-selector"), L = D || z || S, E = window.getComputedStyle(L), B = D ? E.fontSize : "16px", q = E.fontFamily || "sans-serif", $ = E.fontWeight || "400", C = `${E.fontStyle || "normal"} ${$} ${B} ${q}`, fe = document.createElement("canvas").getContext("2d"), M = fe ? Math.ceil((fe.font = C, fe.measureText(F).width || 0)) : 0;
15756
+ const k = S.querySelector(".ant-select-selection-item"), P = S.querySelector(".ant-select-selection-placeholder"), D = k || P, F = (D?.textContent || "").trim() || R(), z = S.querySelector(".ant-select-selector"), L = D || z || S, E = window.getComputedStyle(L), B = D ? E.fontSize : "16px", $ = E.fontFamily || "sans-serif", q = E.fontWeight || "400", C = `${E.fontStyle || "normal"} ${q} ${B} ${$}`, fe = document.createElement("canvas").getContext("2d"), M = fe ? Math.ceil((fe.font = C, fe.measureText(F).width || 0)) : 0;
15757
15757
  let ge = 0;
15758
15758
  if (z) {
15759
15759
  const Ae = window.getComputedStyle(z);
@@ -15949,15 +15949,15 @@ function gp() {
15949
15949
  var E = ["th", "st", "nd", "rd"], B = L % 100;
15950
15950
  return "[" + L + (E[(B - 20) % 10] || E[B] || E[0]) + "]";
15951
15951
  } }, N = function(L, E, B) {
15952
- var q = String(L);
15953
- return !q || q.length >= E ? L : "" + Array(E + 1 - q.length).join(B) + L;
15952
+ var $ = String(L);
15953
+ return !$ || $.length >= E ? L : "" + Array(E + 1 - $.length).join(B) + L;
15954
15954
  }, R = { s: N, z: function(L) {
15955
- var E = -L.utcOffset(), B = Math.abs(E), q = Math.floor(B / 60), $ = B % 60;
15956
- return (E <= 0 ? "+" : "-") + N(q, 2, "0") + ":" + N($, 2, "0");
15955
+ var E = -L.utcOffset(), B = Math.abs(E), $ = Math.floor(B / 60), q = B % 60;
15956
+ return (E <= 0 ? "+" : "-") + N($, 2, "0") + ":" + N(q, 2, "0");
15957
15957
  }, m: function L(E, B) {
15958
15958
  if (E.date() < B.date()) return -L(B, E);
15959
- var q = 12 * (B.year() - E.year()) + (B.month() - E.month()), $ = E.clone().add(q, d), Q = B - $ < 0, C = E.clone().add(q + (Q ? -1 : 1), d);
15960
- return +(-(q + (B - $) / (Q ? $ - C : C - $)) || 0);
15959
+ var $ = 12 * (B.year() - E.year()) + (B.month() - E.month()), q = E.clone().add($, d), Q = B - q < 0, C = E.clone().add($ + (Q ? -1 : 1), d);
15960
+ return +(-($ + (B - q) / (Q ? q - C : C - q)) || 0);
15961
15961
  }, a: function(L) {
15962
15962
  return L < 0 ? Math.ceil(L) || 0 : Math.floor(L);
15963
15963
  }, p: function(L) {
@@ -15968,19 +15968,19 @@ function gp() {
15968
15968
  T[w] = I;
15969
15969
  var _ = "$isDayjsObject", S = function(L) {
15970
15970
  return L instanceof F || !(!L || !L[_]);
15971
- }, k = function L(E, B, q) {
15972
- var $;
15971
+ }, k = function L(E, B, $) {
15972
+ var q;
15973
15973
  if (!E) return w;
15974
15974
  if (typeof E == "string") {
15975
15975
  var Q = E.toLowerCase();
15976
- T[Q] && ($ = Q), B && (T[Q] = B, $ = Q);
15976
+ T[Q] && (q = Q), B && (T[Q] = B, q = Q);
15977
15977
  var C = E.split("-");
15978
- if (!$ && C.length > 1) return L(C[0]);
15978
+ if (!q && C.length > 1) return L(C[0]);
15979
15979
  } else {
15980
15980
  var ae = E.name;
15981
- T[ae] = E, $ = ae;
15981
+ T[ae] = E, q = ae;
15982
15982
  }
15983
- return !q && $ && (w = $), $ || !q && w;
15983
+ return !$ && q && (w = q), q || !$ && w;
15984
15984
  }, P = function(L, E) {
15985
15985
  if (S(L)) return L.clone();
15986
15986
  var B = typeof E == "object" ? E : {};
@@ -15995,19 +15995,19 @@ function gp() {
15995
15995
  }
15996
15996
  var E = L.prototype;
15997
15997
  return E.parse = function(B) {
15998
- this.$d = function(q) {
15999
- var $ = q.date, Q = q.utc;
16000
- if ($ === null) return /* @__PURE__ */ new Date(NaN);
16001
- if (D.u($)) return /* @__PURE__ */ new Date();
16002
- if ($ instanceof Date) return new Date($);
16003
- if (typeof $ == "string" && !/Z$/i.test($)) {
16004
- var C = $.match(b);
15998
+ this.$d = function($) {
15999
+ var q = $.date, Q = $.utc;
16000
+ if (q === null) return /* @__PURE__ */ new Date(NaN);
16001
+ if (D.u(q)) return /* @__PURE__ */ new Date();
16002
+ if (q instanceof Date) return new Date(q);
16003
+ if (typeof q == "string" && !/Z$/i.test(q)) {
16004
+ var C = q.match(b);
16005
16005
  if (C) {
16006
16006
  var ae = C[2] - 1 || 0, fe = (C[7] || "0").substring(0, 3);
16007
16007
  return Q ? new Date(Date.UTC(C[1], ae, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, fe)) : new Date(C[1], ae, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, fe);
16008
16008
  }
16009
16009
  }
16010
- return new Date($);
16010
+ return new Date(q);
16011
16011
  }(B), this.init();
16012
16012
  }, E.init = function() {
16013
16013
  var B = this.$d;
@@ -16016,25 +16016,25 @@ function gp() {
16016
16016
  return D;
16017
16017
  }, E.isValid = function() {
16018
16018
  return this.$d.toString() !== g;
16019
- }, E.isSame = function(B, q) {
16020
- var $ = P(B);
16021
- return this.startOf(q) <= $ && $ <= this.endOf(q);
16022
- }, E.isAfter = function(B, q) {
16023
- return P(B) < this.startOf(q);
16024
- }, E.isBefore = function(B, q) {
16025
- return this.endOf(q) < P(B);
16026
- }, E.$g = function(B, q, $) {
16027
- return D.u(B) ? this[q] : this.set($, B);
16019
+ }, E.isSame = function(B, $) {
16020
+ var q = P(B);
16021
+ return this.startOf($) <= q && q <= this.endOf($);
16022
+ }, E.isAfter = function(B, $) {
16023
+ return P(B) < this.startOf($);
16024
+ }, E.isBefore = function(B, $) {
16025
+ return this.endOf($) < P(B);
16026
+ }, E.$g = function(B, $, q) {
16027
+ return D.u(B) ? this[$] : this.set(q, B);
16028
16028
  }, E.unix = function() {
16029
16029
  return Math.floor(this.valueOf() / 1e3);
16030
16030
  }, E.valueOf = function() {
16031
16031
  return this.$d.getTime();
16032
- }, E.startOf = function(B, q) {
16033
- var $ = this, Q = !!D.u(q) || q, C = D.p(B), ae = function(Le, Ae) {
16034
- var Xe = D.w($.$u ? Date.UTC($.$y, Ae, Le) : new Date($.$y, Ae, Le), $);
16032
+ }, E.startOf = function(B, $) {
16033
+ var q = this, Q = !!D.u($) || $, C = D.p(B), ae = function(Le, Ae) {
16034
+ var Xe = D.w(q.$u ? Date.UTC(q.$y, Ae, Le) : new Date(q.$y, Ae, Le), q);
16035
16035
  return Q ? Xe : Xe.endOf(u);
16036
16036
  }, fe = function(Le, Ae) {
16037
- return D.w($.toDate()[Le].apply($.toDate("s"), (Q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ae)), $);
16037
+ return D.w(q.toDate()[Le].apply(q.toDate("s"), (Q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ae)), q);
16038
16038
  }, M = this.$W, ge = this.$M, pe = this.$D, we = "set" + (this.$u ? "UTC" : "");
16039
16039
  switch (C) {
16040
16040
  case h:
@@ -16058,21 +16058,21 @@ function gp() {
16058
16058
  }
16059
16059
  }, E.endOf = function(B) {
16060
16060
  return this.startOf(B, !1);
16061
- }, E.$set = function(B, q) {
16062
- var $, Q = D.p(B), C = "set" + (this.$u ? "UTC" : ""), ae = ($ = {}, $[u] = C + "Date", $[m] = C + "Date", $[d] = C + "Month", $[h] = C + "FullYear", $[o] = C + "Hours", $[s] = C + "Minutes", $[i] = C + "Seconds", $[a] = C + "Milliseconds", $)[Q], fe = Q === u ? this.$D + (q - this.$W) : q;
16061
+ }, E.$set = function(B, $) {
16062
+ var q, Q = D.p(B), C = "set" + (this.$u ? "UTC" : ""), ae = (q = {}, q[u] = C + "Date", q[m] = C + "Date", q[d] = C + "Month", q[h] = C + "FullYear", q[o] = C + "Hours", q[s] = C + "Minutes", q[i] = C + "Seconds", q[a] = C + "Milliseconds", q)[Q], fe = Q === u ? this.$D + ($ - this.$W) : $;
16063
16063
  if (Q === d || Q === h) {
16064
16064
  var M = this.clone().set(m, 1);
16065
16065
  M.$d[ae](fe), M.init(), this.$d = M.set(m, Math.min(this.$D, M.daysInMonth())).$d;
16066
16066
  } else ae && this.$d[ae](fe);
16067
16067
  return this.init(), this;
16068
- }, E.set = function(B, q) {
16069
- return this.clone().$set(B, q);
16068
+ }, E.set = function(B, $) {
16069
+ return this.clone().$set(B, $);
16070
16070
  }, E.get = function(B) {
16071
16071
  return this[D.p(B)]();
16072
- }, E.add = function(B, q) {
16073
- var $, Q = this;
16072
+ }, E.add = function(B, $) {
16073
+ var q, Q = this;
16074
16074
  B = Number(B);
16075
- var C = D.p(q), ae = function(ge) {
16075
+ var C = D.p($), ae = function(ge) {
16076
16076
  var pe = P(Q);
16077
16077
  return D.w(pe.date(pe.date() + Math.round(ge * B)), Q);
16078
16078
  };
@@ -16080,15 +16080,15 @@ function gp() {
16080
16080
  if (C === h) return this.set(h, this.$y + B);
16081
16081
  if (C === u) return ae(1);
16082
16082
  if (C === c) return ae(7);
16083
- var fe = ($ = {}, $[s] = r, $[o] = l, $[i] = n, $)[C] || 1, M = this.$d.getTime() + B * fe;
16083
+ var fe = (q = {}, q[s] = r, q[o] = l, q[i] = n, q)[C] || 1, M = this.$d.getTime() + B * fe;
16084
16084
  return D.w(M, this);
16085
- }, E.subtract = function(B, q) {
16086
- return this.add(-1 * B, q);
16085
+ }, E.subtract = function(B, $) {
16086
+ return this.add(-1 * B, $);
16087
16087
  }, E.format = function(B) {
16088
- var q = this, $ = this.$locale();
16089
- if (!this.isValid()) return $.invalidDate || g;
16090
- var Q = B || "YYYY-MM-DDTHH:mm:ssZ", C = D.z(this), ae = this.$H, fe = this.$m, M = this.$M, ge = $.weekdays, pe = $.months, we = $.meridiem, ce = function(Ae, Xe, Dt, nn) {
16091
- return Ae && (Ae[Xe] || Ae(q, Q)) || Dt[Xe].slice(0, nn);
16088
+ var $ = this, q = this.$locale();
16089
+ if (!this.isValid()) return q.invalidDate || g;
16090
+ var Q = B || "YYYY-MM-DDTHH:mm:ssZ", C = D.z(this), ae = this.$H, fe = this.$m, M = this.$M, ge = q.weekdays, pe = q.months, we = q.meridiem, ce = function(Ae, Xe, Dt, nn) {
16091
+ return Ae && (Ae[Xe] || Ae($, Q)) || Dt[Xe].slice(0, nn);
16092
16092
  }, _e = function(Ae) {
16093
16093
  return D.s(ae % 12 || 12, Ae, "0");
16094
16094
  }, Le = we || function(Ae, Xe, Dt) {
@@ -16099,29 +16099,29 @@ function gp() {
16099
16099
  return Xe || function(Dt) {
16100
16100
  switch (Dt) {
16101
16101
  case "YY":
16102
- return String(q.$y).slice(-2);
16102
+ return String($.$y).slice(-2);
16103
16103
  case "YYYY":
16104
- return D.s(q.$y, 4, "0");
16104
+ return D.s($.$y, 4, "0");
16105
16105
  case "M":
16106
16106
  return M + 1;
16107
16107
  case "MM":
16108
16108
  return D.s(M + 1, 2, "0");
16109
16109
  case "MMM":
16110
- return ce($.monthsShort, M, pe, 3);
16110
+ return ce(q.monthsShort, M, pe, 3);
16111
16111
  case "MMMM":
16112
16112
  return ce(pe, M);
16113
16113
  case "D":
16114
- return q.$D;
16114
+ return $.$D;
16115
16115
  case "DD":
16116
- return D.s(q.$D, 2, "0");
16116
+ return D.s($.$D, 2, "0");
16117
16117
  case "d":
16118
- return String(q.$W);
16118
+ return String($.$W);
16119
16119
  case "dd":
16120
- return ce($.weekdaysMin, q.$W, ge, 2);
16120
+ return ce(q.weekdaysMin, $.$W, ge, 2);
16121
16121
  case "ddd":
16122
- return ce($.weekdaysShort, q.$W, ge, 3);
16122
+ return ce(q.weekdaysShort, $.$W, ge, 3);
16123
16123
  case "dddd":
16124
- return ge[q.$W];
16124
+ return ge[$.$W];
16125
16125
  case "H":
16126
16126
  return String(ae);
16127
16127
  case "HH":
@@ -16139,11 +16139,11 @@ function gp() {
16139
16139
  case "mm":
16140
16140
  return D.s(fe, 2, "0");
16141
16141
  case "s":
16142
- return String(q.$s);
16142
+ return String($.$s);
16143
16143
  case "ss":
16144
- return D.s(q.$s, 2, "0");
16144
+ return D.s($.$s, 2, "0");
16145
16145
  case "SSS":
16146
- return D.s(q.$ms, 3, "0");
16146
+ return D.s($.$ms, 3, "0");
16147
16147
  case "Z":
16148
16148
  return C;
16149
16149
  }
@@ -16152,8 +16152,8 @@ function gp() {
16152
16152
  });
16153
16153
  }, E.utcOffset = function() {
16154
16154
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
16155
- }, E.diff = function(B, q, $) {
16156
- var Q, C = this, ae = D.p(q), fe = P(B), M = (fe.utcOffset() - this.utcOffset()) * r, ge = this - fe, pe = function() {
16155
+ }, E.diff = function(B, $, q) {
16156
+ var Q, C = this, ae = D.p($), fe = P(B), M = (fe.utcOffset() - this.utcOffset()) * r, ge = this - fe, pe = function() {
16157
16157
  return D.m(C, fe);
16158
16158
  };
16159
16159
  switch (ae) {
@@ -16184,15 +16184,15 @@ function gp() {
16184
16184
  default:
16185
16185
  Q = ge;
16186
16186
  }
16187
- return $ ? Q : D.a(Q);
16187
+ return q ? Q : D.a(Q);
16188
16188
  }, E.daysInMonth = function() {
16189
16189
  return this.endOf(d).$D;
16190
16190
  }, E.$locale = function() {
16191
16191
  return T[this.$L];
16192
- }, E.locale = function(B, q) {
16192
+ }, E.locale = function(B, $) {
16193
16193
  if (!B) return this.$L;
16194
- var $ = this.clone(), Q = k(B, q, !0);
16195
- return Q && ($.$L = Q), $;
16194
+ var q = this.clone(), Q = k(B, $, !0);
16195
+ return Q && (q.$L = Q), q;
16196
16196
  }, E.clone = function() {
16197
16197
  return D.w(this.$d, this);
16198
16198
  }, E.toDate = function() {
@@ -22201,13 +22201,13 @@ const Hx = [
22201
22201
  }, [o, a, i]), R = V(() => {
22202
22202
  const w = m.current;
22203
22203
  if (!w) return;
22204
- const T = N(), _ = w.querySelector(".ant-select-selector"), S = w.querySelector(".ant-select-selection-item") || w.querySelector(".ant-select-selection-placeholder"), k = S || _ || w, P = window.getComputedStyle(k), D = S ? P.fontSize : "16px", F = P.fontFamily || "sans-serif", z = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${z} ${D} ${F}`, q = document.createElement("canvas").getContext("2d"), $ = q ? Math.ceil((q.font = E, q.measureText(T).width || 0)) : 0;
22204
+ const T = N(), _ = w.querySelector(".ant-select-selector"), S = w.querySelector(".ant-select-selection-item") || w.querySelector(".ant-select-selection-placeholder"), k = S || _ || w, P = window.getComputedStyle(k), D = S ? P.fontSize : "16px", F = P.fontFamily || "sans-serif", z = P.fontWeight || "400", E = `${P.fontStyle || "normal"} ${z} ${D} ${F}`, $ = document.createElement("canvas").getContext("2d"), q = $ ? Math.ceil(($.font = E, $.measureText(T).width || 0)) : 0;
22205
22205
  let Q = 0;
22206
22206
  if (_) {
22207
22207
  const fe = window.getComputedStyle(_);
22208
22208
  Q = (Number.parseFloat(fe.paddingLeft) || 0) + (Number.parseFloat(fe.paddingRight) || 0);
22209
22209
  }
22210
- const ae = Math.max(80, $ + Q + 16 + 10);
22210
+ const ae = Math.max(80, q + Q + 16 + 10);
22211
22211
  h((fe) => fe === ae ? fe : ae);
22212
22212
  }, [N]);
22213
22213
  return We(() => {
@@ -22668,7 +22668,7 @@ const Cp = ({
22668
22668
  const Q = document.fonts;
22669
22669
  Q?.ready && Q.ready.then(B);
22670
22670
  }, [z, B]);
22671
- const q = L > 0 ? Math.max(40, L + 2) : 40, $ = [
22671
+ const $ = L > 0 ? Math.max(40, L + 2) : 40, q = [
22672
22672
  "variable-chip",
22673
22673
  R ? "rte-report-name-chip" : "",
22674
22674
  _ ? "rte-variable-with-icon" : ""
@@ -22677,7 +22677,7 @@ const Cp = ({
22677
22677
  "span",
22678
22678
  {
22679
22679
  ref: I,
22680
- className: $,
22680
+ className: q,
22681
22681
  "data-type": m === "multi-variable-select" ? "multi-variable-select" : "variable",
22682
22682
  "data-key": N,
22683
22683
  "data-multi-key": e,
@@ -22760,7 +22760,7 @@ const Cp = ({
22760
22760
  placeholder: r,
22761
22761
  style: {
22762
22762
  ...qx,
22763
- width: q
22763
+ width: $
22764
22764
  }
22765
22765
  }
22766
22766
  ),
@@ -22902,24 +22902,24 @@ const jx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Gx = (e) => jx.test(e), Kx
22902
22902
  const f = te(null), h = te(null), m = fr(), [g, b] = J(!1), y = t != null, I = Sp(t), [N, R] = J(!1), w = V(() => {
22903
22903
  a || f.current?.click();
22904
22904
  }, [a]), T = V(
22905
- ($) => {
22906
- const Q = $.target.files;
22907
- Q && Q.length > 0 && u(e, Q), $.target.value = "";
22905
+ (q) => {
22906
+ const Q = q.target.files;
22907
+ Q && Q.length > 0 && u(e, Q), q.target.value = "";
22908
22908
  },
22909
22909
  [u, e]
22910
22910
  ), _ = V(() => {
22911
22911
  a || h.current?.click();
22912
22912
  }, [a]), S = V(
22913
- ($) => {
22914
- const Q = $.target.files;
22915
- Q && Q.length > 0 && c(e, Q), $.target.value = "";
22913
+ (q) => {
22914
+ const Q = q.target.files;
22915
+ Q && Q.length > 0 && c(e, Q), q.target.value = "";
22916
22916
  },
22917
22917
  [c, e]
22918
22918
  ), k = V(() => {
22919
22919
  a || b(!0);
22920
22920
  }, [a]), P = V(
22921
- ($) => {
22922
- $.stopPropagation(), !a && d(e);
22921
+ (q) => {
22922
+ q.stopPropagation(), !a && d(e);
22923
22923
  },
22924
22924
  [d, e, a]
22925
22925
  ), D = y ? typeof t == "string" ? decodeURIComponent(t.split("/").pop()?.split("?")[0] || "file") : t.name : null, F = (y ? D : n) ?? "", z = y && (typeof t == "string" && Gx(t) || typeof t == "object" && t !== null && Kx(t)), L = z ? /* @__PURE__ */ v("img", { className: "upload-icon-img upload-icon-preview", src: I, alt: "preview" }) : y ? /* @__PURE__ */ v("i", { className: "iconfont icon-exlwenjian" }) : /* @__PURE__ */ v("i", { className: "iconfont icon-shangchuan1" }), E = /* @__PURE__ */ v("span", { className: "upload-label", "data-file-name": F, children: F }), B = /* @__PURE__ */ Y("span", { className: `upload-inner-wrapper${y ? " has-file" : ""}`, children: [
@@ -22938,8 +22938,8 @@ const jx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Gx = (e) => jx.test(e), Kx
22938
22938
  "data-tooltip": l,
22939
22939
  onMouseEnter: () => R(!0),
22940
22940
  onMouseLeave: () => R(!1),
22941
- onClick: ($) => {
22942
- $.stopPropagation(), $.preventDefault();
22941
+ onClick: (q) => {
22942
+ q.stopPropagation(), q.preventDefault();
22943
22943
  }
22944
22944
  }
22945
22945
  ),
@@ -22955,7 +22955,7 @@ const jx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Gx = (e) => jx.test(e), Kx
22955
22955
  ] });
22956
22956
  if (y) {
22957
22957
  if (z) {
22958
- const $ = /* @__PURE__ */ Y(
22958
+ const q = /* @__PURE__ */ Y(
22959
22959
  "span",
22960
22960
  {
22961
22961
  className: `upload-chip${s ? " upload-chip-batch" : ""}`,
@@ -22996,7 +22996,7 @@ const jx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Gx = (e) => jx.test(e), Kx
22996
22996
  borderRadius: 4,
22997
22997
  boxShadow: "0 2px 12px 0 rgba(153, 153, 153, 0.25)"
22998
22998
  },
22999
- children: $
22999
+ children: q
23000
23000
  }
23001
23001
  );
23002
23002
  }
@@ -23026,7 +23026,7 @@ const jx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Gx = (e) => jx.test(e), Kx
23026
23026
  }
23027
23027
  );
23028
23028
  }
23029
- const q = /* @__PURE__ */ Y(
23029
+ const $ = /* @__PURE__ */ Y(
23030
23030
  "button",
23031
23031
  {
23032
23032
  type: "button",
@@ -23053,7 +23053,7 @@ const jx = /\.(png|jpe?g|gif|webp|bmp|svg)(\?.*)?$/i, Gx = (e) => jx.test(e), Kx
23053
23053
  ]
23054
23054
  }
23055
23055
  );
23056
- return l ? /* @__PURE__ */ v(_a, { title: l, open: N, trigger: [], children: q }) : q;
23056
+ return l ? /* @__PURE__ */ v(_a, { title: l, open: N, trigger: [], children: $ }) : $;
23057
23057
  }
23058
23058
  );
23059
23059
  xa.displayName = "UploadChip";
@@ -23103,14 +23103,14 @@ const eS = (e = Date.now()) => e - ad < Zx ? !1 : (ad = e, !0), tS = 32, nS = (e
23103
23103
  const z = g(F);
23104
23104
  if (z.length === 0) return;
23105
23105
  const L = e.key, E = e.maxCount ?? 0, B = (() => {
23106
- const $ = D.match(/-(\d+)$/);
23107
- return $ ? Number.parseInt($[1], 10) : 0;
23106
+ const q = D.match(/-(\d+)$/);
23107
+ return q ? Number.parseInt(q[1], 10) : 0;
23108
23108
  })();
23109
- let q = Math.max(0, Math.min(B, E - 1));
23110
- for (const $ of z) {
23111
- for (; q < E && t[`${L}-${q}`] != null; ) q += 1;
23112
- if (q >= E) break;
23113
- n(`${L}-${q}`, $), q += 1;
23109
+ let $ = Math.max(0, Math.min(B, E - 1));
23110
+ for (const q of z) {
23111
+ for (; $ < E && t[`${L}-${$}`] != null; ) $ += 1;
23112
+ if ($ >= E) break;
23113
+ n(`${L}-${$}`, q), $ += 1;
23114
23114
  }
23115
23115
  },
23116
23116
  [t, e.key, e.maxCount, n, g]
@@ -23124,8 +23124,8 @@ const eS = (e = Date.now()) => e - ad < Zx ? !1 : (ad = e, !0), tS = 32, nS = (e
23124
23124
  for (let E = 0; E < z; E += 1) {
23125
23125
  const B = `${F}-${E}`;
23126
23126
  if (B === D) continue;
23127
- const q = t[B];
23128
- q != null && L.push(q);
23127
+ const $ = t[B];
23128
+ $ != null && L.push($);
23129
23129
  }
23130
23130
  for (let E = 0; E < z; E += 1)
23131
23131
  n(`${F}-${E}`, E < L.length ? L[E] : null);
@@ -23156,14 +23156,14 @@ const eS = (e = Date.now()) => e - ad < Zx ? !1 : (ad = e, !0), tS = 32, nS = (e
23156
23156
  onReplace: b,
23157
23157
  onRemove: I
23158
23158
  }
23159
- ), q = E ? /* @__PURE__ */ v(
23159
+ ), $ = E ? /* @__PURE__ */ v(
23160
23160
  "span",
23161
23161
  {
23162
23162
  className: "exclusion-wrapper upload-hint",
23163
23163
  "data-group": e.exclusionGroup,
23164
23164
  children: L
23165
23165
  }
23166
- ) : null, $ = f && d ? /* @__PURE__ */ v(Jn, { data: d, hidden: z }) : null;
23166
+ ) : null, q = f && d ? /* @__PURE__ */ v(Jn, { data: d, hidden: z }) : null;
23167
23167
  return e.required ? /* @__PURE__ */ Y("span", { className: l ? "rte-upload-error" : void 0, children: [
23168
23168
  /* @__PURE__ */ Y(
23169
23169
  "span",
@@ -23176,12 +23176,12 @@ const eS = (e = Date.now()) => e - ad < Zx ? !1 : (ad = e, !0), tS = 32, nS = (e
23176
23176
  ]
23177
23177
  }
23178
23178
  ),
23179
- $,
23180
- q
23179
+ q,
23180
+ $
23181
23181
  ] }) : /* @__PURE__ */ Y("span", { className: l ? "rte-upload-error" : void 0, children: [
23182
23182
  B,
23183
- $,
23184
- q
23183
+ q,
23184
+ $
23185
23185
  ] });
23186
23186
  }
23187
23187
  const T = e.minCount ?? 1, _ = e.maxCount ?? 0, S = Math.min(
@@ -23456,12 +23456,12 @@ const id = 2 * Math.PI * 6.5, Ap = "data:image/svg+xml,%3Csvg xmlns='http://www.
23456
23456
  r(e.key, fe), L(fe);
23457
23457
  },
23458
23458
  [a, e.key, r, L]
23459
- ), q = V(
23459
+ ), $ = V(
23460
23460
  (C) => {
23461
23461
  C.stopPropagation(), y.current += 1, r(e.key, ""), l?.(e.key, ""), h(""), u("idle");
23462
23462
  },
23463
23463
  [e.key, r, l]
23464
- ), $ = (C) => {
23464
+ ), q = (C) => {
23465
23465
  const ae = k && S ? /* @__PURE__ */ v(Jn, { data: S, hidden: D }) : null;
23466
23466
  return e.required ? /* @__PURE__ */ Y(ot, { children: [
23467
23467
  /* @__PURE__ */ Y(
@@ -23509,13 +23509,13 @@ const id = 2 * Math.PI * 6.5, Ap = "data:image/svg+xml,%3Csvg xmlns='http://www.
23509
23509
  /* @__PURE__ */ v(Np, {})
23510
23510
  ] }),
23511
23511
  /* @__PURE__ */ v("span", { className: "video-label", "data-file-name": C, children: C }),
23512
- /* @__PURE__ */ v("span", { className: "video-remove-btn rte-video-remove", title: "移除视频", onClick: q, children: "×" })
23512
+ /* @__PURE__ */ v("span", { className: "video-remove-btn rte-video-remove", title: "移除视频", onClick: $, children: "×" })
23513
23513
  ] })
23514
23514
  }
23515
23515
  );
23516
- return $(/* @__PURE__ */ v(_p, { videoUrl: Q, children: ae }));
23516
+ return q(/* @__PURE__ */ v(_p, { videoUrl: Q, children: ae }));
23517
23517
  }
23518
- return $(
23518
+ return q(
23519
23519
  o === "loading" ? /* @__PURE__ */ v(
23520
23520
  "span",
23521
23521
  {
@@ -23642,7 +23642,7 @@ const dS = (e) => e ? typeof e == "string" ? e : JSON.stringify(e) : "", fS = 10
23642
23642
  const E = await iS(L).catch(() => "");
23643
23643
  E && g(E);
23644
23644
  try {
23645
- const B = await a(L, (q) => h(q));
23645
+ const B = await a(L, ($) => h($));
23646
23646
  r(e.key, B.videoUrl), l?.(e.key, B.thumbnail || E || ""), d("idle"), g("");
23647
23647
  } catch (B) {
23648
23648
  d("error"), N(B instanceof Error ? B.message : "上传失败"), g("");
@@ -24016,13 +24016,13 @@ const pS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24016
24016
  };
24017
24017
  return document.addEventListener("rte-report-dropdown-opening", Te), () => document.removeEventListener("rte-report-dropdown-opening", Te);
24018
24018
  }, [k]);
24019
- const q = [
24019
+ const $ = [
24020
24020
  "variable-chip",
24021
24021
  "rte-report-url",
24022
24022
  g ? "rte-report-name-chip" : "",
24023
24023
  d ? "rte-report-url-error" : "",
24024
24024
  R ? "rte-variable-with-icon" : ""
24025
- ].filter(Boolean).join(" "), $ = te(null), Q = te(null), [C, ae] = J("bottomLeft"), fe = V(() => {
24025
+ ].filter(Boolean).join(" "), q = te(null), Q = te(null), [C, ae] = J("bottomLeft"), fe = V(() => {
24026
24026
  const Te = Q.current;
24027
24027
  if (!Te) return;
24028
24028
  const Re = Te.getBoundingClientRect(), rn = 236, Qe = window.innerHeight - Re.bottom;
@@ -24049,7 +24049,7 @@ const pS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24049
24049
  const ge = I ? /* @__PURE__ */ v(
24050
24050
  "span",
24051
24051
  {
24052
- ref: $,
24052
+ ref: q,
24053
24053
  className: [
24054
24054
  "rte-report-dropdown-host",
24055
24055
  g ? "rte-report-dropdown-host-quiet" : ""
@@ -24102,7 +24102,7 @@ const pS = "https://sealseek-public-read.oss-cn-hangzhou.aliyuncs.com/file/websi
24102
24102
  "span",
24103
24103
  {
24104
24104
  ref: Q,
24105
- className: q,
24105
+ className: $,
24106
24106
  "data-type": "report-url",
24107
24107
  "data-key": e.key,
24108
24108
  "data-placeholder": e.placeholder ?? "",
@@ -36953,8 +36953,8 @@ function D6() {
36953
36953
  var E = T, B = _;
36954
36954
  if (r(E, F))
36955
36955
  return B;
36956
- var q = h(F);
36957
- return m !== void 0 && m(B, q) ? B : (T = F, _ = q, q);
36956
+ var $ = h(F);
36957
+ return m !== void 0 && m(B, $) ? B : (T = F, _ = $, $);
36958
36958
  }, k = f === void 0 ? null : f, P = function() {
36959
36959
  return S(d());
36960
36960
  }, D = k === null ? void 0 : function() {
@@ -39771,15 +39771,21 @@ const ba = 8, O_ = () => /* @__PURE__ */ v(
39771
39771
  const [o, u] = J(!1), [c, d] = J(null), f = te(null), h = te(null), m = fr(), g = V(() => (f.current?.closest(".rich-text-editor") ?? f.current)?.getBoundingClientRect() ?? null, []), b = V(() => {
39772
39772
  const w = g();
39773
39773
  if (!w) return;
39774
- const T = Math.max(0, window.innerHeight - w.bottom - ba * 2), _ = Math.max(0, w.top - ba * 2), S = h.current?.scrollHeight ?? 0, k = S > T && _ > T, P = k ? _ : T, D = Math.min(S || P, P), F = k ? w.top - ba - D : w.bottom + ba, L = (h.current?.offsetParent ?? m)?.getBoundingClientRect(), E = L?.left ?? 0, B = L?.top ?? 0;
39775
- d({ left: w.left - E, top: F - B, width: w.width, maxHeight: P });
39774
+ const T = Math.max(0, window.innerHeight - w.bottom - ba * 2), _ = Math.max(0, w.top - ba * 2), k = (h.current?.scrollHeight ?? 0) > T && _ > T, P = k ? _ : T, F = (h.current?.offsetParent ?? m)?.getBoundingClientRect(), z = F?.left ?? 0, L = F?.top ?? 0, E = w.left - z;
39775
+ if (k) {
39776
+ const $ = (F?.height ?? window.innerHeight) - (w.top - ba - L);
39777
+ d({ left: E, bottom: $, width: w.width, maxHeight: P });
39778
+ } else
39779
+ d({ left: E, top: w.bottom + ba - L, width: w.width, maxHeight: P });
39776
39780
  }, [g, m]);
39777
39781
  We(() => {
39778
39782
  if (!o) return;
39779
39783
  b();
39780
39784
  const w = requestAnimationFrame(b);
39781
- return window.addEventListener("scroll", b, !0), window.addEventListener("resize", b), () => {
39782
- cancelAnimationFrame(w), window.removeEventListener("scroll", b, !0), window.removeEventListener("resize", b);
39785
+ window.addEventListener("scroll", b, !0), window.addEventListener("resize", b);
39786
+ const T = h.current ? new ResizeObserver(b) : null;
39787
+ return T && h.current && T.observe(h.current), () => {
39788
+ cancelAnimationFrame(w), window.removeEventListener("scroll", b, !0), window.removeEventListener("resize", b), T?.disconnect();
39783
39789
  };
39784
39790
  }, [o, b]), be(() => {
39785
39791
  if (!o) return;
@@ -39822,7 +39828,9 @@ const ba = 8, O_ = () => /* @__PURE__ */ v(
39822
39828
  style: {
39823
39829
  position: "fixed",
39824
39830
  left: c?.left ?? 0,
39825
- top: c?.top ?? 0,
39831
+ // top / bottom 二选一:朝下设 top、朝上设 bottom(面板底边锚定,撑高方向朝上不漂移)
39832
+ top: c?.top,
39833
+ bottom: c?.bottom,
39826
39834
  width: c?.width,
39827
39835
  // 抬高层级,压在编辑器内其他浮层/内容之上(与 antd select/datepicker 等下拉同级 9999)
39828
39836
  zIndex: 9999,
@@ -40123,8 +40131,8 @@ const Rf = 9999, V_ = ({ messageRef: e }) => {
40123
40131
  onAgentExit: L,
40124
40132
  onSkillAction: E,
40125
40133
  onSkillCardClick: B,
40126
- onSkillHeaderAction: q,
40127
- skillListFetch: $,
40134
+ onSkillHeaderAction: $,
40135
+ skillListFetch: q,
40128
40136
  showCreateSkill: Q,
40129
40137
  loading: C,
40130
40138
  hideButtons: ae,
@@ -40736,8 +40744,8 @@ const Rf = 9999, V_ = ({ messageRef: e }) => {
40736
40744
  onSkillSelect: Vb,
40737
40745
  onSkillCardClick: B,
40738
40746
  onSkillAction: E,
40739
- skillListFetch: $,
40740
- onSkillHeaderAction: q,
40747
+ skillListFetch: q,
40748
+ onSkillHeaderAction: $,
40741
40749
  showCreateSkill: zb,
40742
40750
  onSend: Ri,
40743
40751
  padding: fe
@@ -41086,10 +41094,10 @@ const j_ = ({
41086
41094
  const _ = V((L, E) => {
41087
41095
  let B = 0;
41088
41096
  b(!0);
41089
- const q = () => {
41090
- B < L.length ? (o(L.slice(0, B + 1)), B++, I.current = window.setTimeout(q, n)) : (b(!1), E?.());
41097
+ const $ = () => {
41098
+ B < L.length ? (o(L.slice(0, B + 1)), B++, I.current = window.setTimeout($, n)) : (b(!1), E?.());
41091
41099
  };
41092
- q();
41100
+ $();
41093
41101
  }, [n]), S = V((L) => {
41094
41102
  let E = T.current.length;
41095
41103
  const B = () => {
@@ -41264,14 +41272,14 @@ const G_ = ({
41264
41272
  be(() => {
41265
41273
  F.current = e, z.current = b, L.current = R, E.current = m;
41266
41274
  });
41267
- const q = V((ce, _e) => {
41275
+ const $ = V((ce, _e) => {
41268
41276
  let Le = 0;
41269
41277
  _(!0);
41270
41278
  const Ae = () => {
41271
41279
  Le < ce.length ? (g(ce.slice(0, Le + 1)), Le++, D.current = window.setTimeout(Ae, n)) : (_(!1), _e?.());
41272
41280
  };
41273
41281
  Ae();
41274
- }, [n]), $ = V((ce) => {
41282
+ }, [n]), q = V((ce) => {
41275
41283
  let _e = E.current.length;
41276
41284
  const Le = () => {
41277
41285
  _e > 0 ? (g(E.current.slice(0, _e - 1)), _e--, D.current = window.setTimeout(Le, n / 2)) : ce?.();
@@ -41281,18 +41289,18 @@ const G_ = ({
41281
41289
  if (F.current.length === 0 || L.current) return;
41282
41290
  N(!0);
41283
41291
  const ce = F.current[z.current];
41284
- E.current ? $(() => {
41285
- q(ce, () => {
41292
+ E.current ? q(() => {
41293
+ $(ce, () => {
41286
41294
  P.current = window.setTimeout(() => {
41287
41295
  y((_e) => (_e + 1) % F.current.length), N(!1);
41288
41296
  }, 2e3);
41289
41297
  });
41290
- }) : q(ce, () => {
41298
+ }) : $(ce, () => {
41291
41299
  P.current = window.setTimeout(() => {
41292
41300
  y((_e) => (_e + 1) % F.current.length), N(!1);
41293
41301
  }, 2e3);
41294
41302
  });
41295
- }, [$, q]);
41303
+ }, [q, $]);
41296
41304
  be(() => (r && e.length > 0 && !R && Q(), () => {
41297
41305
  P.current && window.clearTimeout(P.current), D.current && window.clearTimeout(D.current);
41298
41306
  }), [b, R, r, e.length, Q]), be(() => {
@@ -41554,8 +41562,8 @@ const Bb = ({
41554
41562
  b.current && (b.current.play(), I(!0), c?.());
41555
41563
  }, [c]), S = V(() => {
41556
41564
  b.current && (b.current.pause(), I(!1), d?.());
41557
- }, [d]), k = V((q) => {
41558
- q.stopPropagation(), y ? S() : _();
41565
+ }, [d]), k = V(($) => {
41566
+ $.stopPropagation(), y ? S() : _();
41559
41567
  }, [y, _, S]), P = V(() => {
41560
41568
  R(!0), s && !y && _();
41561
41569
  }, [s, y, _]), D = V(() => {
@@ -41568,8 +41576,8 @@ const Bb = ({
41568
41576
  I(!1), d?.();
41569
41577
  }, [d]), E = V(() => {
41570
41578
  I(!1), f?.();
41571
- }, [f]), B = V((q) => {
41572
- o?.(q);
41579
+ }, [f]), B = V(($) => {
41580
+ o?.($);
41573
41581
  }, [o]);
41574
41582
  return /* @__PURE__ */ v(
41575
41583
  go,