aquasis-fe-components 1.2.14-b → 1.2.14-d

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.
@@ -1080,8 +1080,8 @@ function yD() {
1080
1080
  } finally {
1081
1081
  ae = !1, J.current = ot, W(), Error.prepareStackTrace = je;
1082
1082
  }
1083
- var Ot = ce ? ce.displayName || ce.name : "", Gt = Ot ? q(Ot) : "";
1084
- return typeof ce == "function" && Q.set(ce, Gt), Gt;
1083
+ var Ot = ce ? ce.displayName || ce.name : "", Yt = Ot ? q(Ot) : "";
1084
+ return typeof ce == "function" && Q.set(ce, Yt), Yt;
1085
1085
  }
1086
1086
  function te(ce, me, ye) {
1087
1087
  return K(ce, !1);
@@ -1407,17 +1407,17 @@ Check the top-level render call using <` + ye + ">.");
1407
1407
  Ue(bt, ce);
1408
1408
  }
1409
1409
  if (re.call(me, "key")) {
1410
- var Gt = D(ce), Tt = Object.keys(me).filter(function(pn) {
1410
+ var Yt = D(ce), Tt = Object.keys(me).filter(function(pn) {
1411
1411
  return pn !== "key";
1412
1412
  }), Sn = Tt.length > 0 ? "{key: someKey, " + Tt.join(": ..., ") + ": ...}" : "{key: someKey}";
1413
- if (!Ye[Gt + Sn]) {
1413
+ if (!Ye[Yt + Sn]) {
1414
1414
  var fn = Tt.length > 0 ? "{" + Tt.join(": ..., ") + ": ...}" : "{}";
1415
1415
  b(`A props object containing a "key" prop is being spread into JSX:
1416
1416
  let props = %s;
1417
1417
  <%s {...props} />
1418
1418
  React keys must be passed directly to JSX without using spread:
1419
1419
  let props = %s;
1420
- <%s key={someKey} {...props} />`, Sn, Gt, fn, Gt), Ye[Gt + Sn] = !0;
1420
+ <%s key={someKey} {...props} />`, Sn, Yt, fn, Yt), Ye[Yt + Sn] = !0;
1421
1421
  }
1422
1422
  }
1423
1423
  return ce === r ? Ct(et) : ht(et), et;
@@ -4165,7 +4165,7 @@ function E_(e) {
4165
4165
  function V1(e) {
4166
4166
  return !!i1.CSS_UNIT.exec(String(e));
4167
4167
  }
4168
- var qt = (
4168
+ var Gt = (
4169
4169
  /** @class */
4170
4170
  function() {
4171
4171
  function e(t, n) {
@@ -4561,7 +4561,7 @@ function Eb(e, t) {
4561
4561
  colorPrimary: l,
4562
4562
  colorBgBase: s,
4563
4563
  colorTextBase: d
4564
- } = e, f = n(l), m = n(a), p = n(o), h = n(i), v = n(c), g = r(s, d), y = e.colorLink || e.colorInfo, b = n(y), C = new qt(h[1]).mix(new qt(h[3]), 50).toHexString();
4564
+ } = e, f = n(l), m = n(a), p = n(o), h = n(i), v = n(c), g = r(s, d), y = e.colorLink || e.colorInfo, b = n(y), C = new Gt(h[1]).mix(new Gt(h[3]), 50).toHexString();
4565
4565
  return Object.assign(Object.assign({}, g), {
4566
4566
  colorPrimaryBg: f[1],
4567
4567
  colorPrimaryBgHover: f[2],
@@ -4618,7 +4618,7 @@ function Eb(e, t) {
4618
4618
  colorLinkHover: b[4],
4619
4619
  colorLink: b[6],
4620
4620
  colorLinkActive: b[7],
4621
- colorBgMask: new qt("#000").setAlpha(0.45).toRgbString(),
4621
+ colorBgMask: new Gt("#000").setAlpha(0.45).toRgbString(),
4622
4622
  colorWhite: "#fff"
4623
4623
  });
4624
4624
  }
@@ -4722,7 +4722,7 @@ function I_(e) {
4722
4722
  // 4
4723
4723
  };
4724
4724
  }
4725
- const Yr = (e, t) => new qt(e).setAlpha(t).toRgbString(), qo = (e, t) => new qt(e).darken(t).toHexString(), T_ = (e) => {
4725
+ const Yr = (e, t) => new Gt(e).setAlpha(t).toRgbString(), qo = (e, t) => new Gt(e).darken(t).toHexString(), T_ = (e) => {
4726
4726
  const t = ca(e);
4727
4727
  return {
4728
4728
  1: t[0],
@@ -4791,16 +4791,16 @@ function F_(e, t) {
4791
4791
  let l = i.clone();
4792
4792
  return l = (c == null ? void 0 : c(l)) || l, l.toRgbString();
4793
4793
  }, a = (i, c) => {
4794
- const l = new qt(i), s = ca(l.toRgbString());
4794
+ const l = new Gt(i), s = ca(l.toRgbString());
4795
4795
  n[`${c}-color`] = r(l), n[`${c}-color-disabled`] = s[1], n[`${c}-color-hover`] = s[4], n[`${c}-color-active`] = s[6], n[`${c}-color-outline`] = l.clone().setAlpha(0.2).toRgbString(), n[`${c}-color-deprecated-bg`] = s[0], n[`${c}-color-deprecated-border`] = s[2];
4796
4796
  };
4797
4797
  if (t.primaryColor) {
4798
4798
  a(t.primaryColor, "primary");
4799
- const i = new qt(t.primaryColor), c = ca(i.toRgbString());
4799
+ const i = new Gt(t.primaryColor), c = ca(i.toRgbString());
4800
4800
  c.forEach((s, d) => {
4801
4801
  n[`primary-${d + 1}`] = s;
4802
4802
  }), n["primary-color-deprecated-l-35"] = r(i, (s) => s.lighten(35)), n["primary-color-deprecated-l-20"] = r(i, (s) => s.lighten(20)), n["primary-color-deprecated-t-20"] = r(i, (s) => s.tint(20)), n["primary-color-deprecated-t-50"] = r(i, (s) => s.tint(50)), n["primary-color-deprecated-f-12"] = r(i, (s) => s.setAlpha(s.getAlpha() * 0.12));
4803
- const l = new qt(c[0]);
4803
+ const l = new Gt(c[0]);
4804
4804
  n["primary-color-active-deprecated-f-30"] = r(l, (s) => s.setAlpha(s.getAlpha() * 0.3)), n["primary-color-active-deprecated-d-02"] = r(l, (s) => s.darken(2));
4805
4805
  }
4806
4806
  return t.successColor && a(t.successColor, "success"), t.warningColor && a(t.warningColor, "warning"), t.errorColor && a(t.errorColor, "error"), t.infoColor && a(t.infoColor, "info"), `
@@ -5261,25 +5261,25 @@ function Kc(e, t) {
5261
5261
  g: r,
5262
5262
  b: a,
5263
5263
  a: o
5264
- } = new qt(e).toRgb();
5264
+ } = new Gt(e).toRgb();
5265
5265
  if (o < 1)
5266
5266
  return e;
5267
5267
  const {
5268
5268
  r: i,
5269
5269
  g: c,
5270
5270
  b: l
5271
- } = new qt(t).toRgb();
5271
+ } = new Gt(t).toRgb();
5272
5272
  for (let s = 0.01; s <= 1; s += 0.01) {
5273
5273
  const d = Math.round((n - i * (1 - s)) / s), f = Math.round((r - c * (1 - s)) / s), m = Math.round((a - l * (1 - s)) / s);
5274
5274
  if (K3(d) && K3(f) && K3(m))
5275
- return new qt({
5275
+ return new Gt({
5276
5276
  r: d,
5277
5277
  g: f,
5278
5278
  b: m,
5279
5279
  a: Math.round(s * 100) / 100
5280
5280
  }).toRgbString();
5281
5281
  }
5282
- return new qt({
5282
+ return new Gt({
5283
5283
  r: n,
5284
5284
  g: r,
5285
5285
  b: a,
@@ -5410,9 +5410,9 @@ function ld(e) {
5410
5410
  screenXXLMin: d,
5411
5411
  boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
5412
5412
  boxShadowCard: `
5413
- 0 1px 2px -2px ${new qt("rgba(0, 0, 0, 0.16)").toRgbString()},
5414
- 0 3px 6px 0 ${new qt("rgba(0, 0, 0, 0.12)").toRgbString()},
5415
- 0 5px 12px 4px ${new qt("rgba(0, 0, 0, 0.09)").toRgbString()}
5413
+ 0 1px 2px -2px ${new Gt("rgba(0, 0, 0, 0.16)").toRgbString()},
5414
+ 0 3px 6px 0 ${new Gt("rgba(0, 0, 0, 0.12)").toRgbString()},
5415
+ 0 5px 12px 4px ${new Gt("rgba(0, 0, 0, 0.09)").toRgbString()}
5416
5416
  `,
5417
5417
  boxShadowDrawerRight: `
5418
5418
  -6px 0 16px 0 rgba(0, 0, 0, 0.08),
@@ -16851,12 +16851,12 @@ function NW(e, t, n, r, a, o, i) {
16851
16851
  Ot >= Ct) ? (p.current.bt = !0, Ue = et, se = -se, Je.points = [m2(Qe, 0), m2(Ie, 0)]) : p.current.bt = !1;
16852
16852
  }
16853
16853
  if (We && Qe[0] === "b" && (je < Ee.top || p.current.tb)) {
16854
- var Gt = Ue;
16855
- Ge ? Gt += K - U : Gt = Ke.y - Ae.y - se;
16856
- var Tt = Bt(_e, Gt), Sn = Bt(_e, Gt, he);
16854
+ var Yt = Ue;
16855
+ Ge ? Yt += K - U : Yt = Ke.y - Ae.y - se;
16856
+ var Tt = Bt(_e, Yt), Sn = Bt(_e, Yt, he);
16857
16857
  // Of course use larger one
16858
16858
  Tt > ht || Tt === ht && (!ge || // Choose recommend one
16859
- Sn >= Ct) ? (p.current.tb = !0, Ue = Gt, se = -se, Je.points = [m2(Qe, 0), m2(Ie, 0)]) : p.current.tb = !1;
16859
+ Sn >= Ct) ? (p.current.tb = !0, Ue = Yt, se = -se, Je.points = [m2(Qe, 0), m2(Ie, 0)]) : p.current.tb = !1;
16860
16860
  }
16861
16861
  var fn = Re(Nt), pn = Qe[1] === Ie[1];
16862
16862
  if (fn && Qe[1] === "l" && (pt > Ee.right || p.current.rl)) {
@@ -17008,7 +17008,7 @@ function RW() {
17008
17008
  }, [at]);
17009
17009
  var ce = u.useState(null), me = ne(ce, 2), ye = me[0], Re = me[1], je = u.useState(null), ot = ne(je, 2), Ze = ot[0], pt = ot[1], We = function(Dt) {
17010
17010
  pt([Dt.clientX, Dt.clientY]);
17011
- }, Ge = NW(at, Ne, H && Ze !== null ? Ze : ke, $, I, N, V), et = ne(Ge, 11), bt = et[0], Ot = et[1], Gt = et[2], Tt = et[3], Sn = et[4], fn = et[5], pn = et[6], vn = et[7], In = et[8], vt = et[9], zt = et[10], Kt = MW(ie, l, s, d), wn = ne(Kt, 2), Ln = wn[0], Tn = wn[1], tr = Ln.has("click"), Xn = Tn.has("click") || Tn.has("contextMenu"), En = Rt(function() {
17011
+ }, Ge = NW(at, Ne, H && Ze !== null ? Ze : ke, $, I, N, V), et = ne(Ge, 11), bt = et[0], Ot = et[1], Yt = et[2], Tt = et[3], Sn = et[4], fn = et[5], pn = et[6], vn = et[7], In = et[8], vt = et[9], zt = et[10], Kt = MW(ie, l, s, d), wn = ne(Kt, 2), Ln = wn[0], Tn = wn[1], tr = Ln.has("click"), Xn = Tn.has("click") || Tn.has("contextMenu"), En = Rt(function() {
17012
17012
  gt || zt();
17013
17013
  }), kt = function() {
17014
17014
  _e.current && H && Xn && Ae(!1);
@@ -17132,7 +17132,7 @@ function RW() {
17132
17132
  arrowPos: N3,
17133
17133
  ready: bt,
17134
17134
  offsetX: Ot,
17135
- offsetY: Gt,
17135
+ offsetY: Yt,
17136
17136
  offsetR: Tt,
17137
17137
  offsetB: Sn,
17138
17138
  onAlign: En,
@@ -17450,7 +17450,7 @@ var FW = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
17450
17450
  for (var ft = arguments.length, Ft = new Array(ft > 1 ? ft - 1 : 0), cn = 1; cn < ft; cn++)
17451
17451
  Ft[cn - 1] = arguments[cn];
17452
17452
  re == null || re.apply(void 0, [wt].concat(Ft));
17453
- }, Gt = u.useState({}), Tt = ne(Gt, 2), Sn = Tt[1];
17453
+ }, Yt = u.useState({}), Tt = ne(Yt, 2), Sn = Tt[1];
17454
17454
  function fn() {
17455
17455
  Sn({});
17456
17456
  }
@@ -18035,7 +18035,7 @@ function tU(e, t) {
18035
18035
  offset: void 0
18036
18036
  };
18037
18037
  }
18038
- for (var Ge = 0, et, bt, Ot, Gt = k.length, Tt = 0; Tt < Gt; Tt += 1) {
18038
+ for (var Ge = 0, et, bt, Ot, Yt = k.length, Tt = 0; Tt < Yt; Tt += 1) {
18039
18039
  var Sn = k[Tt], fn = w(Sn), pn = $.get(fn), vn = Ge + (pn === void 0 ? i : pn);
18040
18040
  vn >= X && et === void 0 && (et = Tt, bt = Ge), vn > X + o && Ot === void 0 && (Ot = Tt), Ge = vn;
18041
18041
  }
@@ -18824,7 +18824,7 @@ function z2(e, t, n) {
18824
18824
  });
18825
18825
  }
18826
18826
  const La = (e, t) => t || e, $C = () => {
18827
- const [, e] = Gn(), n = new qt(e.colorBgBase).toHsl().l < 0.5 ? {
18827
+ const [, e] = Gn(), n = new Gt(e.colorBgBase).toHsl().l < 0.5 ? {
18828
18828
  opacity: 0.65
18829
18829
  } : {};
18830
18830
  return /* @__PURE__ */ u.createElement("svg", {
@@ -18885,9 +18885,9 @@ const OC = () => {
18885
18885
  shadowColor: i,
18886
18886
  contentColor: c
18887
18887
  } = Xt(() => ({
18888
- borderColor: new qt(t).onBackground(a).toHexShortString(),
18889
- shadowColor: new qt(n).onBackground(a).toHexShortString(),
18890
- contentColor: new qt(r).onBackground(a).toHexShortString()
18888
+ borderColor: new Gt(t).onBackground(a).toHexShortString(),
18889
+ shadowColor: new Gt(n).onBackground(a).toHexShortString(),
18890
+ contentColor: new Gt(r).onBackground(a).toHexShortString()
18891
18891
  }), [t, n, r, a]);
18892
18892
  return /* @__PURE__ */ u.createElement("svg", {
18893
18893
  width: "64",
@@ -22219,7 +22219,7 @@ var aq = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
22219
22219
  registerPath: ot,
22220
22220
  unregisterPath: Ze
22221
22221
  };
22222
- }, [ot, Ze]), Gt = u.useMemo(function() {
22222
+ }, [ot, Ze]), Yt = u.useMemo(function() {
22223
22223
  return {
22224
22224
  isSubPathKey: We
22225
22225
  };
@@ -22368,7 +22368,7 @@ var aq = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
22368
22368
  onItemClick: Tn,
22369
22369
  onOpenChange: tr
22370
22370
  }, /* @__PURE__ */ u.createElement(eS.Provider, {
22371
- value: Gt
22371
+ value: Yt
22372
22372
  }, bn), /* @__PURE__ */ u.createElement("div", {
22373
22373
  style: {
22374
22374
  display: "none"
@@ -23650,7 +23650,7 @@ const d0 = /* @__PURE__ */ u.createContext(null), dS = /* @__PURE__ */ u.forward
23650
23650
  fontSizeLG: M,
23651
23651
  colorTextLightSolid: w,
23652
23652
  colorErrorHover: z
23653
- } = e, O = (t = e.activeBarWidth) !== null && t !== void 0 ? t : 0, T = (n = e.activeBarBorderWidth) !== null && n !== void 0 ? n : p, D = (r = e.itemMarginInline) !== null && r !== void 0 ? r : e.marginXXS, $ = new qt(w).setAlpha(0.65).toRgbString();
23653
+ } = e, O = (t = e.activeBarWidth) !== null && t !== void 0 ? t : 0, T = (n = e.activeBarBorderWidth) !== null && n !== void 0 ? n : p, D = (r = e.itemMarginInline) !== null && r !== void 0 ? r : e.marginXXS, $ = new Gt(w).setAlpha(0.65).toRgbString();
23654
23654
  return {
23655
23655
  dropdownWidth: 160,
23656
23656
  zIndexPopup: e.zIndexPopupBase + 50,
@@ -23717,7 +23717,7 @@ const d0 = /* @__PURE__ */ u.createContext(null), dS = /* @__PURE__ */ u.forward
23717
23717
  collapsedIconSize: M,
23718
23718
  groupTitleFontSize: L,
23719
23719
  // Disabled
23720
- darkItemDisabledColor: new qt(w).setAlpha(0.25).toRgbString(),
23720
+ darkItemDisabledColor: new Gt(w).setAlpha(0.25).toRgbString(),
23721
23721
  // Dark
23722
23722
  darkItemColor: $,
23723
23723
  darkDangerItemColor: o,
@@ -27577,7 +27577,7 @@ function jG(e, t) {
27577
27577
  Ct(null), fe(!1, {
27578
27578
  force: !0
27579
27579
  });
27580
- }, We = u.useState(null), Ge = ne(We, 2), et = Ge[0], bt = Ge[1], Ot = u.useState(null), Gt = ne(Ot, 2), Tt = Gt[0], Sn = Gt[1], fn = u.useMemo(function() {
27580
+ }, We = u.useState(null), Ge = ne(We, 2), et = Ge[0], bt = Ge[1], Ot = u.useState(null), Yt = ne(Ot, 2), Tt = Yt[0], Sn = Yt[1], fn = u.useMemo(function() {
27581
27581
  return Tt || Pe;
27582
27582
  }, [Pe, Tt]);
27583
27583
  u.useEffect(function() {
@@ -27936,16 +27936,16 @@ function WG(e, t) {
27936
27936
  ht(null), Ce(!1, {
27937
27937
  force: !0
27938
27938
  });
27939
- }, pt = u.useState(null), We = ne(pt, 2), Ge = We[0], et = We[1], bt = u.useState(null), Ot = ne(bt, 2), Gt = Ot[0], Tt = Ot[1], Sn = u.useMemo(function() {
27940
- var it = [Gt].concat(xe(ke)).filter(function(ft) {
27939
+ }, pt = u.useState(null), We = ne(pt, 2), Ge = We[0], et = We[1], bt = u.useState(null), Ot = ne(bt, 2), Yt = Ot[0], Tt = Ot[1], Sn = u.useMemo(function() {
27940
+ var it = [Yt].concat(xe(ke)).filter(function(ft) {
27941
27941
  return ft;
27942
27942
  });
27943
27943
  return k ? it : it.slice(0, 1);
27944
- }, [ke, Gt, k]), fn = u.useMemo(function() {
27945
- return !k && Gt ? [Gt] : ke.filter(function(it) {
27944
+ }, [ke, Yt, k]), fn = u.useMemo(function() {
27945
+ return !k && Yt ? [Yt] : ke.filter(function(it) {
27946
27946
  return it;
27947
27947
  });
27948
- }, [ke, Gt, k]);
27948
+ }, [ke, Yt, k]);
27949
27949
  u.useEffect(function() {
27950
27950
  ge || Tt(null);
27951
27951
  }, [ge]);
@@ -28042,8 +28042,8 @@ function WG(e, t) {
28042
28042
  ref: re,
28043
28043
  suffixIcon: J,
28044
28044
  removeIcon: X,
28045
- activeHelp: !!Gt,
28046
- allHelp: !!Gt && Ge === "preset",
28045
+ activeHelp: !!Yt,
28046
+ allHelp: !!Yt && Ge === "preset",
28047
28047
  focused: Se,
28048
28048
  onFocus: wt,
28049
28049
  onBlur: bn,
@@ -30164,7 +30164,7 @@ const Sc = (e) => {
30164
30164
  background: h
30165
30165
  },
30166
30166
  [`&${t}-cell-week`]: {
30167
- color: new qt(I).setAlpha(0.5).toHexString()
30167
+ color: new Gt(I).setAlpha(0.5).toHexString()
30168
30168
  },
30169
30169
  [r]: {
30170
30170
  color: I
@@ -30247,7 +30247,7 @@ const Sc = (e) => {
30247
30247
  borderInlineStart: `${Y(f)} ${m} ${g}`
30248
30248
  },
30249
30249
  "&-active": {
30250
- background: new qt(k).setAlpha(0.2).toHexString()
30250
+ background: new Gt(k).setAlpha(0.2).toHexString()
30251
30251
  },
30252
30252
  "&:hover": {
30253
30253
  overflowY: "auto"
@@ -30388,8 +30388,8 @@ const Sc = (e) => {
30388
30388
  INTERNAL_FIXED_ITEM_MARGIN: Math.floor(o / 2),
30389
30389
  cellHoverBg: e.controlItemBgHover,
30390
30390
  cellActiveWithRangeBg: e.controlItemBgActive,
30391
- cellHoverWithRangeBg: new qt(e.colorPrimary).lighten(35).toHexString(),
30392
- cellRangeBorderColor: new qt(e.colorPrimary).lighten(20).toHexString(),
30391
+ cellHoverWithRangeBg: new Gt(e.colorPrimary).lighten(35).toHexString(),
30392
+ cellRangeBorderColor: new Gt(e.colorPrimary).lighten(20).toHexString(),
30393
30393
  cellBgDisabled: t,
30394
30394
  timeColumnWidth: a * 1.4,
30395
30395
  timeColumnHeight: 28 * 8,
@@ -31359,11 +31359,11 @@ var TY = function(t) {
31359
31359
  return C.forEach(function(ot) {
31360
31360
  var Ze, pt = ot.key, We = (Ze = M.current) === null || Ze === void 0 ? void 0 : Ze.querySelector('[data-node-key="'.concat(fx(pt), '"]'));
31361
31361
  if (We) {
31362
- var Ge = DY(We, je), et = ne(Ge, 4), bt = et[0], Ot = et[1], Gt = et[2], Tt = et[3];
31362
+ var Ge = DY(We, je), et = ne(Ge, 4), bt = et[0], Ot = et[1], Yt = et[2], Tt = et[3];
31363
31363
  Re.set(pt, {
31364
31364
  width: bt,
31365
31365
  height: Ot,
31366
- left: Gt,
31366
+ left: Yt,
31367
31367
  top: Tt
31368
31368
  });
31369
31369
  }
@@ -36522,7 +36522,7 @@ const JQ = (e) => {
36522
36522
  handleVisible: n,
36523
36523
  handleActiveBg: e.colorFillAlter,
36524
36524
  handleBg: e.colorBgContainer,
36525
- filledHandleBg: new qt(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),
36525
+ filledHandleBg: new Gt(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),
36526
36526
  handleHoverColor: e.colorPrimary,
36527
36527
  handleBorderColor: e.colorBorder,
36528
36528
  handleOpacity: n === !0 ? 1 : 0
@@ -40597,7 +40597,7 @@ const Vu = (e) => ({
40597
40597
  alignItems: "center",
40598
40598
  justifyContent: "center",
40599
40599
  color: i,
40600
- background: new qt("#000").setAlpha(0.5).toRgbString(),
40600
+ background: new Gt("#000").setAlpha(0.5).toRgbString(),
40601
40601
  cursor: "pointer",
40602
40602
  opacity: 0,
40603
40603
  transition: `opacity ${n}`,
@@ -40624,7 +40624,7 @@ const Vu = (e) => ({
40624
40624
  motionDurationSlow: s,
40625
40625
  iconCls: d,
40626
40626
  colorTextLightSolid: f
40627
- } = e, m = new qt(n).setAlpha(0.1), p = m.clone().setAlpha(0.2);
40627
+ } = e, m = new Gt(n).setAlpha(0.1), p = m.clone().setAlpha(0.2);
40628
40628
  return {
40629
40629
  [`${t}-footer`]: {
40630
40630
  position: "fixed",
@@ -40701,7 +40701,7 @@ const Vu = (e) => ({
40701
40701
  previewCls: a,
40702
40702
  zIndexPopup: o,
40703
40703
  motionDurationSlow: i
40704
- } = e, c = new qt(t).setAlpha(0.1), l = c.clone().setAlpha(0.2);
40704
+ } = e, c = new Gt(t).setAlpha(0.1), l = c.clone().setAlpha(0.2);
40705
40705
  return {
40706
40706
  [`${a}-switch-left, ${a}-switch-right`]: {
40707
40707
  position: "fixed",
@@ -40855,15 +40855,15 @@ const Vu = (e) => ({
40855
40855
  };
40856
40856
  }, Pee = (e) => ({
40857
40857
  zIndexPopup: e.zIndexPopupBase + 80,
40858
- previewOperationColor: new qt(e.colorTextLightSolid).setAlpha(0.65).toRgbString(),
40859
- previewOperationHoverColor: new qt(e.colorTextLightSolid).setAlpha(0.85).toRgbString(),
40860
- previewOperationColorDisabled: new qt(e.colorTextLightSolid).setAlpha(0.25).toRgbString(),
40858
+ previewOperationColor: new Gt(e.colorTextLightSolid).setAlpha(0.65).toRgbString(),
40859
+ previewOperationHoverColor: new Gt(e.colorTextLightSolid).setAlpha(0.85).toRgbString(),
40860
+ previewOperationColorDisabled: new Gt(e.colorTextLightSolid).setAlpha(0.25).toRgbString(),
40861
40861
  previewOperationSize: e.fontSizeIcon * 1.5
40862
40862
  // FIXME: fontSizeIconLG
40863
40863
  }), yL = nn("Image", (e) => {
40864
40864
  const t = `${e.componentCls}-preview`, n = jt(e, {
40865
40865
  previewCls: t,
40866
- modalMaskBg: new qt("#000").setAlpha(0.45).toRgbString(),
40866
+ modalMaskBg: new Gt("#000").setAlpha(0.45).toRgbString(),
40867
40867
  // FIXME: Shared Token
40868
40868
  imagePreviewSwitchSize: e.controlHeightLG
40869
40869
  });
@@ -41304,9 +41304,9 @@ var LL = function(t) {
41304
41304
  if (re - 1 >= je * 2 && re !== 3 && (Ke[0] = /* @__PURE__ */ ee.cloneElement(Ke[0], {
41305
41305
  className: Z("".concat(r, "-item-after-jump-prev"), Ke[0].props.className)
41306
41306
  }), Ke.unshift(Ue)), Ae - re >= je * 2 && re !== Ae - 2) {
41307
- var Gt = Ke[Ke.length - 1];
41308
- Ke[Ke.length - 1] = /* @__PURE__ */ ee.cloneElement(Gt, {
41309
- className: Z("".concat(r, "-item-before-jump-next"), Gt.props.className)
41307
+ var Yt = Ke[Ke.length - 1];
41308
+ Ke[Ke.length - 1] = /* @__PURE__ */ ee.cloneElement(Yt, {
41309
+ className: Z("".concat(r, "-item-before-jump-next"), Yt.props.className)
41310
41310
  }), Ke.push(Ye);
41311
41311
  }
41312
41312
  et !== 1 && Ke.unshift(/* @__PURE__ */ ee.createElement(Ha, le({}, ct, {
@@ -44122,7 +44122,7 @@ const ine = ["normal", "exception", "active", "success"], FL = /* @__PURE__ */ u
44122
44122
  } = h, b = Array.isArray(i) ? i[0] : i, C = typeof i == "string" || Array.isArray(i) ? i : void 0, x = u.useMemo(() => {
44123
44123
  if (b) {
44124
44124
  const _ = typeof b == "string" ? b : Object.values(b)[0];
44125
- return new qt(_).isLight();
44125
+ return new Gt(_).isLight();
44126
44126
  }
44127
44127
  return !1;
44128
44128
  }, [i]), S = u.useMemo(() => {
@@ -45543,7 +45543,7 @@ function Hre(e, t) {
45543
45543
  }
45544
45544
  Bt ? (Se(-en < L1 - f2), Ve(-en > 0)) : (Se(en > 0), Ve(en < L1 - f2));
45545
45545
  }
45546
- }), Gt = Rt(function(rt) {
45546
+ }), Yt = Rt(function(rt) {
45547
45547
  Ot(rt), L == null || L(rt);
45548
45548
  }), Tt = function() {
45549
45549
  if (Ue && De.current) {
@@ -45616,7 +45616,7 @@ function Hre(e, t) {
45616
45616
  return typeof Bt == "number" && !Number.isNaN(Bt) ? Bt : (process.env.NODE_ENV !== "production" && dt(n.columns.length === 0, "When use `components.body` with render props. Each column should have a fixed `width` value."), 0);
45617
45617
  })) : cn = /* @__PURE__ */ u.createElement("div", {
45618
45618
  style: B(B({}, Re), je),
45619
- onScroll: Gt,
45619
+ onScroll: Yt,
45620
45620
  ref: De,
45621
45621
  className: Z("".concat(r, "-body"))
45622
45622
  }, /* @__PURE__ */ u.createElement(Xn, le({
@@ -50453,7 +50453,7 @@ const kl = "ascend", k4 = "descend", M0 = (e) => typeof e.sorter == "object" &&
50453
50453
  colorIconHover: x,
50454
50454
  opacityLoading: S,
50455
50455
  controlInteractiveSize: L
50456
- } = e, E = new qt(a).onBackground(n).toHexShortString(), M = new qt(o).onBackground(n).toHexShortString(), w = new qt(t).onBackground(n).toHexShortString(), z = new qt(C), O = new qt(x), T = L / 2 - b, D = T * 2 + b * 3;
50456
+ } = e, E = new Gt(a).onBackground(n).toHexShortString(), M = new Gt(o).onBackground(n).toHexShortString(), w = new Gt(t).onBackground(n).toHexShortString(), z = new Gt(C), O = new Gt(x), T = L / 2 - b, D = T * 2 + b * 3;
50457
50457
  return {
50458
50458
  headerBg: w,
50459
50459
  headerColor: r,
@@ -50838,7 +50838,7 @@ const y2e = (e, t) => {
50838
50838
  }), Mb(Object.assign(Object.assign({}, n), {
50839
50839
  controlHeight: a
50840
50840
  })));
50841
- }, Jr = (e, t) => new qt(e).setAlpha(t).toRgbString(), ka = (e, t) => new qt(e).lighten(t).toHexString(), C2e = (e) => {
50841
+ }, Jr = (e, t) => new Gt(e).setAlpha(t).toRgbString(), ka = (e, t) => new Gt(e).lighten(t).toHexString(), C2e = (e) => {
50842
50842
  const t = ca(e, {
50843
50843
  theme: "dark"
50844
50844
  });
@@ -72267,9 +72267,9 @@ function MOe(e) {
72267
72267
  const { language: a, theme: o } = r, i = Poe();
72268
72268
  return Et(() => {
72269
72269
  i(EOe(a)), Yn.changeLanguage(a);
72270
- }, [a, r]), Et(() => {
72270
+ }, [a]), Et(() => {
72271
72271
  i(LOe(o));
72272
- }, [o, r]), /* @__PURE__ */ we.jsx(e, { ...r });
72272
+ }, [o]), /* @__PURE__ */ we.jsx(e, { ...r });
72273
72273
  };
72274
72274
  return Lv((r) => {
72275
72275
  var a, o;
@@ -73717,7 +73717,7 @@ function fT(e, t, n) {
73717
73717
  var r = Kl(e, t, n);
73718
73718
  return ePe(r, UOe);
73719
73719
  }
73720
- var Yt = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(Yt || {}), s7 = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e))(s7 || {});
73720
+ var qt = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(qt || {}), s7 = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e))(s7 || {});
73721
73721
  const tPe = async () => {
73722
73722
  const e = window.globalAuthUrl, { data: t } = await ba.get(`${e}/getApps`);
73723
73723
  return t;
@@ -73739,16 +73739,16 @@ const tPe = async () => {
73739
73739
  );
73740
73740
  }, iPe = ({ index: e }) => {
73741
73741
  const { requiredField: t } = Y5();
73742
- return /* @__PURE__ */ we.jsx(mn.List, { name: [e, Yt.Fields], children: (n, { remove: r }) => /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
73742
+ return /* @__PURE__ */ we.jsx(mn.List, { name: [e, qt.Fields], children: (n, { remove: r }) => /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
73743
73743
  /* @__PURE__ */ we.jsx(D0, { fieldName: "idReleasePage", hidden: !0 }),
73744
73744
  /* @__PURE__ */ we.jsx(d1, { gap: 16, vertical: !0, children: n.map(({ key: a, name: o, ...i }) => /* @__PURE__ */ we.jsxs(d1, { gap: 6, align: "center", children: [
73745
73745
  /* @__PURE__ */ we.jsxs(d1, { vertical: !0, gap: 2, style: { width: "100%" }, children: [
73746
- /* @__PURE__ */ we.jsx(mn.Item, { ...i, name: [o, Yt.Title], rules: t, noStyle: !0, children: /* @__PURE__ */ we.jsx(k1, { placeholder: At("RELEASE-NOTES.FORM.FIELDS.TITLE"), maxLength: 500 }) }),
73746
+ /* @__PURE__ */ we.jsx(mn.Item, { ...i, name: [o, qt.Title], rules: t, noStyle: !0, children: /* @__PURE__ */ we.jsx(k1, { placeholder: At("RELEASE-NOTES.FORM.FIELDS.TITLE"), maxLength: 500 }) }),
73747
73747
  /* @__PURE__ */ we.jsx(
73748
73748
  mn.Item,
73749
73749
  {
73750
73750
  ...i,
73751
- name: [o, Yt.Description],
73751
+ name: [o, qt.Description],
73752
73752
  rules: t,
73753
73753
  noStyle: !0,
73754
73754
  children: /* @__PURE__ */ we.jsx(L5, { autoSize: { minRows: 2 }, placeholder: At("RELEASE-NOTES.FORM.FIELDS.DESCRIPTION") })
@@ -73767,33 +73767,36 @@ const tPe = async () => {
73767
73767
  ] }, a)) })
73768
73768
  ] }) });
73769
73769
  }, cPe = Cr(({ changeSlide: e }, t) => {
73770
- const [n, r] = Mt([]), a = mn.useFormInstance(), o = mn.useWatch(Yt.ReleasePages, a), i = (s) => ({ file: d, fileList: f }) => {
73770
+ const [n, r] = Mt([]), a = mn.useFormInstance(), o = mn.useWatch(qt.ReleasePages, a), i = (s) => ({ file: d, fileList: f }) => {
73771
73771
  const m = s[0], p = s[1], h = o[m];
73772
73772
  r(f), jae(d.originFileObj, (v) => {
73773
- a.setFieldValue(Yt.ReleasePages, o.toSpliced(m, 1, { ...h, [p]: v }));
73773
+ a.setFieldValue(qt.ReleasePages, o.toSpliced(m, 1, { ...h, [p]: v }));
73774
73774
  });
73775
73775
  }, c = (s) => () => {
73776
73776
  var p;
73777
- const d = o == null ? void 0 : o[s], m = [...((p = o == null ? void 0 : o[s]) == null ? void 0 : p[Yt.Fields]) ?? [], {}];
73777
+ const d = o == null ? void 0 : o[s], m = [...((p = o == null ? void 0 : o[s]) == null ? void 0 : p[qt.Fields]) ?? [], {}];
73778
73778
  a.setFieldValue(
73779
- Yt.ReleasePages,
73780
- o.toSpliced(s, 1, { ...d, [Yt.Fields]: m })
73779
+ qt.ReleasePages,
73780
+ o.toSpliced(s, 1, { ...d, [qt.Fields]: m })
73781
73781
  );
73782
73782
  }, l = /* @__PURE__ */ we.jsx(D1, { justify: "center", align: "middle", children: /* @__PURE__ */ we.jsxs(Bs, { direction: "vertical", children: [
73783
73783
  /* @__PURE__ */ we.jsx("p", { className: "ant-upload-drag-icon", children: /* @__PURE__ */ we.jsx(I5, {}) }),
73784
73784
  /* @__PURE__ */ we.jsx("p", { className: "ant-upload-text", children: At("GENERAL.UPLOAD_LABEL") }),
73785
73785
  /* @__PURE__ */ we.jsx("p", { className: "ant-upload-hint", children: At("GENERAL.JPG_PNG_WARNING") })
73786
73786
  ] }) });
73787
- return /* @__PURE__ */ we.jsx(mn.List, { name: Yt.ReleasePages, children: (s) => /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
73787
+ return /* @__PURE__ */ we.jsx(mn.List, { name: qt.ReleasePages, children: (s) => /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
73788
73788
  /* @__PURE__ */ we.jsx(D0, { fieldName: "idRelease", hidden: !0 }),
73789
73789
  /* @__PURE__ */ we.jsx(D0, { fieldName: "idReleasePage", hidden: !0 }),
73790
73790
  /* @__PURE__ */ we.jsx(g5, { infinite: !1, ref: t, afterChange: e, children: s.map(({ key: d, name: f, ...m }) => {
73791
- var v, g;
73792
- const p = (v = o == null ? void 0 : o[f]) == null ? void 0 : v[Yt.Image], h = (g = o == null ? void 0 : o[f]) == null ? void 0 : g[Yt.NoImage];
73793
- return /* @__PURE__ */ we.jsx("div", { children: /* @__PURE__ */ we.jsxs(D1, { gutter: [8, 16], style: { marginBottom: 35 }, children: [
73791
+ var g, y;
73792
+ const p = (g = o == null ? void 0 : o[f]) == null ? void 0 : g[qt.Image], h = (y = o == null ? void 0 : o[f]) == null ? void 0 : y[qt.NoImage], v = o == null ? void 0 : o.map((b, C) => C === f ? {
73793
+ ...b,
73794
+ [qt.Image]: h ? void 0 : p
73795
+ } : b);
73796
+ return a.setFieldValue(qt.ReleasePages, v), /* @__PURE__ */ we.jsx("div", { children: /* @__PURE__ */ we.jsxs(D1, { gutter: [8, 16], style: { marginBottom: 35 }, children: [
73794
73797
  /* @__PURE__ */ we.jsx(fr, { span: 24, children: /* @__PURE__ */ we.jsxs(D1, { gutter: 8, children: [
73795
73798
  /* @__PURE__ */ we.jsx(fr, { span: h ? 24 : 12, children: /* @__PURE__ */ we.jsx(iPe, { index: f }) }),
73796
- !h && /* @__PURE__ */ we.jsx(fr, { span: 12, children: /* @__PURE__ */ we.jsx(za, { bordered: !0, styles: { body: { display: "flex", justifyContent: "center", padding: 2 } }, children: /* @__PURE__ */ we.jsx(mn.Item, { ...m, name: [f, Yt.Image], noStyle: !0, children: /* @__PURE__ */ we.jsx(
73799
+ !h && /* @__PURE__ */ we.jsx(fr, { span: 12, children: /* @__PURE__ */ we.jsx(za, { bordered: !0, styles: { body: { display: "flex", justifyContent: "center", padding: 2 } }, children: /* @__PURE__ */ we.jsx(mn.Item, { ...m, name: [f, qt.Image], noStyle: !0, children: /* @__PURE__ */ we.jsx(
73797
73800
  q5,
73798
73801
  {
73799
73802
  listType: "picture",
@@ -73801,7 +73804,7 @@ const tPe = async () => {
73801
73804
  showUploadList: !1,
73802
73805
  fileList: n,
73803
73806
  beforeUpload: Bae,
73804
- onChange: i([f, Yt.Image]),
73807
+ onChange: i([f, qt.Image]),
73805
73808
  children: p ? /* @__PURE__ */ we.jsx(Vs, { src: p, preview: !1, style: { maxHeight: 600 } }) : l
73806
73809
  }
73807
73810
  ) }) }) })
@@ -73811,7 +73814,7 @@ const tPe = async () => {
73811
73814
  /* @__PURE__ */ we.jsx(
73812
73815
  fNe,
73813
73816
  {
73814
- fieldName: [f, Yt.NoImage],
73817
+ fieldName: [f, qt.NoImage],
73815
73818
  label: At("GENERAL.DO_NOT_USE_IMAGE")
73816
73819
  }
73817
73820
  )
@@ -73827,18 +73830,18 @@ const tPe = async () => {
73827
73830
  beforeCloseModal: a,
73828
73831
  afterSubmit: o
73829
73832
  }) => {
73830
- const [i, c] = Mt(!1), [l, s] = Mt(!1), [d, f] = Mt(0), [m] = mn.useForm(), p = zc(), { getColor: h } = Toe(), v = Be(null), { requiredField: g } = Y5(), { data: y } = mT(), b = mn.useWatch(Yt.ReleasePages, m), C = (P) => f(P), x = () => m.resetFields();
73833
+ const [i, c] = Mt(!1), [l, s] = Mt(!1), [d, f] = Mt(0), [m] = mn.useForm(), p = zc(), { getColor: h } = Toe(), v = Be(null), { requiredField: g } = Y5(), { data: y } = mT(), b = mn.useWatch(qt.ReleasePages, m), C = (P) => f(P), x = () => m.resetFields();
73831
73834
  Et(() => {
73832
73835
  var _;
73833
73836
  const P = (b == null ? void 0 : b.length) - 1;
73834
73837
  (_ = v.current) == null || _.goTo(P);
73835
73838
  }, [b == null ? void 0 : b.length]), Et(() => (n && (c(!0), m.setFieldsValue({
73836
73839
  ...n,
73837
- [Yt.ReleasePages]: n[Yt.ReleasePages].map((P) => ({
73840
+ [qt.ReleasePages]: n[qt.ReleasePages].map((P) => ({
73838
73841
  ...P,
73839
- [Yt.Image]: GE(P[Yt.Image])
73842
+ [qt.Image]: GE(P[qt.Image])
73840
73843
  })),
73841
- [Yt.DeployDate]: Jn(n[Yt.DeployDate])
73844
+ [qt.DeployDate]: Jn(n[qt.DeployDate])
73842
73845
  })), () => {
73843
73846
  x();
73844
73847
  }), [n]);
@@ -73846,18 +73849,18 @@ const tPe = async () => {
73846
73849
  r ? new Promise((P) => P(r())).then(() => c(!0)) : c(!0);
73847
73850
  }, L = () => {
73848
73851
  a ? new Promise((P) => P(a())).then(() => c(!1)) : c(!1);
73849
- }, E = () => m.setFieldValue(Yt.ReleasePages, [...b, { [Yt.Fields]: [{}] }]), M = () => m.setFieldValue(
73850
- Yt.ReleasePages,
73852
+ }, E = () => m.setFieldValue(qt.ReleasePages, [...b, { [qt.Fields]: [{}] }]), M = () => m.setFieldValue(
73853
+ qt.ReleasePages,
73851
73854
  b.filter((P, _) => _ !== d)
73852
73855
  ), w = (P) => {
73853
73856
  const _ = {
73854
73857
  ...P,
73855
- [Yt.DeployDate]: Jn(P[Yt.DeployDate]).format(xD),
73856
- [Yt.ReleasePages]: P[Yt.ReleasePages].map((A, k) => ({
73858
+ [qt.DeployDate]: Jn(P[qt.DeployDate]).format(xD),
73859
+ [qt.ReleasePages]: P[qt.ReleasePages].map((A, k) => ({
73857
73860
  ...A,
73858
- [Yt.Image]: Hae(A[Yt.Image]),
73861
+ [qt.Image]: Hae(A[qt.Image]),
73859
73862
  order: k,
73860
- [Yt.Fields]: A[Yt.Fields].map((H, F) => ({ ...H, order: F }))
73863
+ [qt.Fields]: A[qt.Fields].map((H, F) => ({ ...H, order: F }))
73861
73864
  }))
73862
73865
  };
73863
73866
  rPe(_).then(() => {
@@ -73908,8 +73911,8 @@ const tPe = async () => {
73908
73911
  ] }), $ = (P) => {
73909
73912
  s(t ? P : !1);
73910
73913
  }, R = {
73911
- [Yt.ReleasePages]: [{ [Yt.Fields]: [{}] }],
73912
- [Yt.DeployDate]: Jn()
73914
+ [qt.ReleasePages]: [{ [qt.Fields]: [{}] }],
73915
+ [qt.DeployDate]: Jn()
73913
73916
  }, I = Vae(y ?? [], "appName", "id"), N = Xt(() => At(`${W1}.${n ? "UPD_RELEASE_NOTE" : "ADD_RELEASE_NOTE"}`), [p]);
73914
73917
  return /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
73915
73918
  /* @__PURE__ */ we.jsx(yr, { title: t, open: l, onOpenChange: $, children: /* @__PURE__ */ we.jsx(
@@ -73928,7 +73931,7 @@ const tPe = async () => {
73928
73931
  /* @__PURE__ */ we.jsx(fr, { span: 8, children: /* @__PURE__ */ we.jsx(
73929
73932
  uNe,
73930
73933
  {
73931
- fieldName: Yt.App,
73934
+ fieldName: qt.App,
73932
73935
  label: At(`${W1}.FORM.FIELDS.APP`),
73933
73936
  placeholder: At(`${W1}.FORM.FIELDS.APP`, { context: "PLACEHOLDER" }),
73934
73937
  options: I,
@@ -73938,7 +73941,7 @@ const tPe = async () => {
73938
73941
  /* @__PURE__ */ we.jsx(fr, { span: 8, children: /* @__PURE__ */ we.jsx(
73939
73942
  Vl,
73940
73943
  {
73941
- fieldName: Yt.Version,
73944
+ fieldName: qt.Version,
73942
73945
  label: At(`${W1}.FORM.FIELDS.VERSION`),
73943
73946
  placeholder: "0.0.0",
73944
73947
  tooltip: At(`${W1}.FORM.FIELDS.VERSION`, { context: "TOOLTIP" }),
@@ -73958,7 +73961,7 @@ const tPe = async () => {
73958
73961
  /* @__PURE__ */ we.jsx(fr, { span: 8, children: /* @__PURE__ */ we.jsx(
73959
73962
  dNe,
73960
73963
  {
73961
- fieldName: Yt.DeployDate,
73964
+ fieldName: qt.DeployDate,
73962
73965
  label: At(`${W1}.FORM.FIELDS.DEPLOY_DATE`),
73963
73966
  format: SD,
73964
73967
  rules: g