aquasis-fe-components 1.2.14-c → 1.2.14-e

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.
@@ -16870,9 +16870,9 @@ function NW(e, t, n, r, a, o, i) {
16870
16870
  if (fn && Qe[1] === "r" && (Ze < Ee.left || p.current.lr)) {
16871
16871
  var zt = _e;
16872
16872
  pn ? zt += te - oe : zt = Ke.x - Ae.x - Me;
16873
- var qt = Bt(zt, Ue), wn = Bt(zt, Ue, he);
16873
+ var Kt = Bt(zt, Ue), wn = Bt(zt, Ue, he);
16874
16874
  // Of course use larger one
16875
- qt > ht || qt === ht && (!ge || // Choose recommend one
16875
+ Kt > ht || Kt === ht && (!ge || // Choose recommend one
16876
16876
  wn >= Ct) ? (p.current.lr = !0, _e = zt, Me = -Me, Je.points = [m2(Qe, 1), m2(Ie, 1)]) : p.current.lr = !1;
16877
16877
  }
16878
16878
  en();
@@ -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], 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], qt = MW(ie, l, s, d), wn = ne(qt, 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);
@@ -17489,7 +17489,7 @@ var FW = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction"
17489
17489
  type: "clear",
17490
17490
  values: d
17491
17491
  }), gt("", !1, !1);
17492
- }, qt = QV(a, zt, d, I, P, y, ve, g), wn = qt.allowClear, Ln = qt.clearIcon, Tn = /* @__PURE__ */ u.createElement(_, {
17492
+ }, Kt = QV(a, zt, d, I, P, y, ve, g), wn = Kt.allowClear, Ln = Kt.clearIcon, Tn = /* @__PURE__ */ u.createElement(_, {
17493
17493
  ref: De
17494
17494
  }), tr = Z(a, o, j(j(j(j(j(j(j(j(j(j({}, "".concat(a, "-focused"), Me), "".concat(a, "-multiple"), ie), "".concat(a, "-single"), !ie), "".concat(a, "-allow-clear"), I), "".concat(a, "-show-arrow"), In), "".concat(a, "-disabled"), y), "".concat(a, "-loading"), b), "".concat(a, "-open"), _e), "".concat(a, "-customize-input"), de), "".concat(a, "-show-search"), fe)), Xn = /* @__PURE__ */ u.createElement(xC, {
17495
17495
  ref: Pe,
@@ -22256,12 +22256,12 @@ var aq = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
22256
22256
  postState: function(Lt) {
22257
22257
  return Array.isArray(Lt) ? Lt : Lt == null ? j2 : [Lt];
22258
22258
  }
22259
- }), zt = ne(vt, 2), qt = zt[0], wn = zt[1], Ln = function(Lt) {
22259
+ }), zt = ne(vt, 2), Kt = zt[0], wn = zt[1], Ln = function(Lt) {
22260
22260
  if ($) {
22261
- var it = Lt.key, ft = qt.includes(it), Ft;
22262
- I ? ft ? Ft = qt.filter(function(On) {
22261
+ var it = Lt.key, ft = Kt.includes(it), Ft;
22262
+ I ? ft ? Ft = Kt.filter(function(On) {
22263
22263
  return On !== it;
22264
- }) : Ft = [].concat(xe(qt), [it]) : Ft = [it], wn(Ft);
22264
+ }) : Ft = [].concat(xe(Kt), [it]) : Ft = [it], wn(Ft);
22265
22265
  var cn = B(B({}, Lt), {}, {
22266
22266
  selectedKeys: Ft
22267
22267
  });
@@ -22355,7 +22355,7 @@ var aq = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items
22355
22355
  activeKey: fn,
22356
22356
  onActive: vn,
22357
22357
  onInactive: In,
22358
- selectedKeys: qt,
22358
+ selectedKeys: Kt,
22359
22359
  inlineIndent: H,
22360
22360
  subMenuOpenDelay: S,
22361
22361
  subMenuCloseDelay: E,
@@ -27583,7 +27583,7 @@ function jG(e, t) {
27583
27583
  u.useEffect(function() {
27584
27584
  ue || Sn(null);
27585
27585
  }, [ue]);
27586
- var pn = u.useState(0), vn = ne(pn, 2), In = vn[0], vt = vn[1], zt = _S(X, q), qt = function(qe) {
27586
+ var pn = u.useState(0), vn = ne(pn, 2), In = vn[0], vt = vn[1], zt = _S(X, q), Kt = function(qe) {
27587
27587
  Sn(qe), bt("preset");
27588
27588
  }, wn = function(qe) {
27589
27589
  var xt = Ct(qe);
@@ -27639,7 +27639,7 @@ function jG(e, t) {
27639
27639
  onSubmit: ot,
27640
27640
  onOk: Ne,
27641
27641
  presets: zt,
27642
- onPresetHover: qt,
27642
+ onPresetHover: Kt,
27643
27643
  onPresetSubmit: wn,
27644
27644
  onNow: Ln,
27645
27645
  cellRender: wt
@@ -27960,7 +27960,7 @@ function WG(e, t) {
27960
27960
  In(ft);
27961
27961
  }, zt = function(ft) {
27962
27962
  Tt(ft), et("cell");
27963
- }, qt = function(ft) {
27963
+ }, Kt = function(ft) {
27964
27964
  Ce(!0), Ve(ft);
27965
27965
  }, wn = function(ft) {
27966
27966
  de("panel");
@@ -27977,7 +27977,7 @@ function WG(e, t) {
27977
27977
  showNow: at,
27978
27978
  showTime: I,
27979
27979
  disabledDate: S,
27980
- onFocus: qt,
27980
+ onFocus: Kt,
27981
27981
  onBlur: lt,
27982
27982
  picker: D,
27983
27983
  mode: Ie,
@@ -41129,16 +41129,16 @@ var LL = function(t) {
41129
41129
  process.env.NODE_ENV !== "production" && dt(he ? Ce : !0, "You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");
41130
41130
  var be = Math.max(1, re - (E ? 3 : 5)), Ee = Math.min(H2(void 0, K, m), re + (E ? 3 : 5));
41131
41131
  function Ne(vt, zt) {
41132
- var qt = vt || /* @__PURE__ */ ee.createElement("button", {
41132
+ var Kt = vt || /* @__PURE__ */ ee.createElement("button", {
41133
41133
  type: "button",
41134
41134
  "aria-label": zt,
41135
41135
  className: "".concat(r, "-item-link")
41136
41136
  });
41137
- return typeof vt == "function" && (qt = /* @__PURE__ */ ee.createElement(vt, B({}, t))), qt;
41137
+ return typeof vt == "function" && (Kt = /* @__PURE__ */ ee.createElement(vt, B({}, t))), Kt;
41138
41138
  }
41139
41139
  function Pe(vt) {
41140
- var zt = vt.target.value, qt = H2(void 0, K, m), wn;
41141
- return zt === "" ? wn = zt : Number.isNaN(Number(zt)) ? wn = pe : zt >= qt ? wn = qt : wn = Number(zt), wn;
41140
+ var zt = vt.target.value, Kt = H2(void 0, K, m), wn;
41141
+ return zt === "" ? wn = zt : Number.isNaN(Number(zt)) ? wn = pe : zt >= Kt ? wn = Kt : wn = Number(zt), wn;
41142
41142
  }
41143
41143
  function He(vt) {
41144
41144
  return wp(vt) && vt !== re && wp(m) && m > 0;
@@ -41165,13 +41165,13 @@ var LL = function(t) {
41165
41165
  se(Pe(vt));
41166
41166
  }
41167
41167
  function Me(vt) {
41168
- var zt = H2(vt, K, m), qt = re > zt && zt !== 0 ? zt : re;
41169
- te(vt), ge(qt), O == null || O(re, vt), ue(qt), y == null || y(qt, vt);
41168
+ var zt = H2(vt, K, m), Kt = re > zt && zt !== 0 ? zt : re;
41169
+ te(vt), ge(Kt), O == null || O(re, vt), ue(Kt), y == null || y(Kt, vt);
41170
41170
  }
41171
41171
  function se(vt) {
41172
41172
  if (He(vt) && !N) {
41173
- var zt = H2(void 0, K, m), qt = vt;
41174
- return vt > zt ? qt = zt : vt < 1 && (qt = 1), qt !== pe && ge(qt), ue(qt), y == null || y(qt, K), qt;
41173
+ var zt = H2(void 0, K, m), Kt = vt;
41174
+ return vt > zt ? Kt = zt : vt < 1 && (Kt = 1), Kt !== pe && ge(Kt), ue(Kt), y == null || y(Kt, K), Kt;
41175
41175
  }
41176
41176
  return re;
41177
41177
  }
@@ -41190,7 +41190,7 @@ var LL = function(t) {
41190
41190
  }
41191
41191
  function ut(vt, zt) {
41192
41192
  if (vt.key === "Enter" || vt.charCode === $e.ENTER || vt.keyCode === $e.ENTER) {
41193
- for (var qt = arguments.length, wn = new Array(qt > 2 ? qt - 2 : 0), Ln = 2; Ln < qt; Ln++)
41193
+ for (var Kt = arguments.length, wn = new Array(Kt > 2 ? Kt - 2 : 0), Ln = 2; Ln < Kt; Ln++)
41194
41194
  wn[Ln - 2] = arguments[Ln];
41195
41195
  zt.apply(void 0, wn);
41196
41196
  }
@@ -45565,7 +45565,7 @@ function Hre(e, t) {
45565
45565
  }, [Ue, c, ge.length]), u.useEffect(function() {
45566
45566
  fn.current = !0;
45567
45567
  }, []);
45568
- var pn = u.useState(0), vn = ne(pn, 2), In = vn[0], vt = vn[1], zt = u.useState(!0), qt = ne(zt, 2), wn = qt[0], Ln = qt[1];
45568
+ var pn = u.useState(0), vn = ne(pn, 2), In = vn[0], vt = vn[1], zt = u.useState(!0), Kt = ne(zt, 2), wn = Kt[0], Ln = Kt[1];
45569
45569
  u.useEffect(function() {
45570
45570
  (!z || !N) && (De.current instanceof Element ? vt(su(De.current).width) : vt(su(ze.current).width)), Ln(Cu("position", "sticky"));
45571
45571
  }, []), u.useEffect(function() {
@@ -69764,10 +69764,10 @@ const YNe = (e) => {
69764
69764
  setImmediate: II,
69765
69765
  asap: JNe
69766
69766
  };
69767
- function Kt(e, t, n, r, a) {
69767
+ function Ut(e, t, n, r, a) {
69768
69768
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), a && (this.response = a, this.status = a.status ? a.status : null);
69769
69769
  }
69770
- Oe.inherits(Kt, Error, {
69770
+ Oe.inherits(Ut, Error, {
69771
69771
  toJSON: function() {
69772
69772
  return {
69773
69773
  // Standard
@@ -69788,7 +69788,7 @@ Oe.inherits(Kt, Error, {
69788
69788
  };
69789
69789
  }
69790
69790
  });
69791
- const TI = Kt.prototype, DI = {};
69791
+ const TI = Ut.prototype, DI = {};
69792
69792
  [
69793
69793
  "ERR_BAD_OPTION_VALUE",
69794
69794
  "ERR_BAD_OPTION",
@@ -69806,13 +69806,13 @@ const TI = Kt.prototype, DI = {};
69806
69806
  ].forEach((e) => {
69807
69807
  DI[e] = { value: e };
69808
69808
  });
69809
- Object.defineProperties(Kt, DI);
69809
+ Object.defineProperties(Ut, DI);
69810
69810
  Object.defineProperty(TI, "isAxiosError", { value: !0 });
69811
- Kt.from = (e, t, n, r, a, o) => {
69811
+ Ut.from = (e, t, n, r, a, o) => {
69812
69812
  const i = Object.create(TI);
69813
69813
  return Oe.toFlatObject(e, i, function(l) {
69814
69814
  return l !== Error.prototype;
69815
- }, (c) => c !== "isAxiosError"), Kt.call(i, e.message, t, n, r, a), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
69815
+ }, (c) => c !== "isAxiosError"), Ut.call(i, e.message, t, n, r, a), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
69816
69816
  };
69817
69817
  const ZNe = null;
69818
69818
  function N8(e) {
@@ -69850,7 +69850,7 @@ function S3(e, t, n) {
69850
69850
  if (Oe.isDate(h))
69851
69851
  return h.toISOString();
69852
69852
  if (!l && Oe.isBlob(h))
69853
- throw new Kt("Blob is not supported. Use a Buffer instead.");
69853
+ throw new Ut("Blob is not supported. Use a Buffer instead.");
69854
69854
  return Oe.isArrayBuffer(h) || Oe.isTypedArray(h) ? l && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
69855
69855
  }
69856
69856
  function d(h, v, g) {
@@ -70096,7 +70096,7 @@ const Ac = {
70096
70096
  return JSON.parse(t);
70097
70097
  } catch (c) {
70098
70098
  if (i)
70099
- throw c.name === "SyntaxError" ? Kt.from(c, Kt.ERR_BAD_RESPONSE, this, null, this.response) : c;
70099
+ throw c.name === "SyntaxError" ? Ut.from(c, Ut.ERR_BAD_RESPONSE, this, null, this.response) : c;
70100
70100
  }
70101
70101
  }
70102
70102
  return t;
@@ -70331,16 +70331,16 @@ function BI(e) {
70331
70331
  return !!(e && e.__CANCEL__);
70332
70332
  }
70333
70333
  function Wo(e, t, n) {
70334
- Kt.call(this, e ?? "canceled", Kt.ERR_CANCELED, t, n), this.name = "CanceledError";
70334
+ Ut.call(this, e ?? "canceled", Ut.ERR_CANCELED, t, n), this.name = "CanceledError";
70335
70335
  }
70336
- Oe.inherits(Wo, Kt, {
70336
+ Oe.inherits(Wo, Ut, {
70337
70337
  __CANCEL__: !0
70338
70338
  });
70339
70339
  function HI(e, t, n) {
70340
70340
  const r = n.config.validateStatus;
70341
- !n.status || !r || r(n.status) ? e(n) : t(new Kt(
70341
+ !n.status || !r || r(n.status) ? e(n) : t(new Ut(
70342
70342
  "Request failed with status code " + n.status,
70343
- [Kt.ERR_BAD_REQUEST, Kt.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
70343
+ [Ut.ERR_BAD_REQUEST, Ut.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
70344
70344
  n.config,
70345
70345
  n.request,
70346
70346
  n
@@ -70590,15 +70590,15 @@ const WI = (e) => {
70590
70590
  "onloadend" in g ? g.onloadend = y : g.onreadystatechange = function() {
70591
70591
  !g || g.readyState !== 4 || g.status === 0 && !(g.responseURL && g.responseURL.indexOf("file:") === 0) || setTimeout(y);
70592
70592
  }, g.onabort = function() {
70593
- g && (r(new Kt("Request aborted", Kt.ECONNABORTED, e, g)), g = null);
70593
+ g && (r(new Ut("Request aborted", Ut.ECONNABORTED, e, g)), g = null);
70594
70594
  }, g.onerror = function() {
70595
- r(new Kt("Network Error", Kt.ERR_NETWORK, e, g)), g = null;
70595
+ r(new Ut("Network Error", Ut.ERR_NETWORK, e, g)), g = null;
70596
70596
  }, g.ontimeout = function() {
70597
70597
  let x = a.timeout ? "timeout of " + a.timeout + "ms exceeded" : "timeout exceeded";
70598
70598
  const S = a.transitional || FI;
70599
- a.timeoutErrorMessage && (x = a.timeoutErrorMessage), r(new Kt(
70599
+ a.timeoutErrorMessage && (x = a.timeoutErrorMessage), r(new Ut(
70600
70600
  x,
70601
- S.clarifyTimeoutError ? Kt.ETIMEDOUT : Kt.ECONNABORTED,
70601
+ S.clarifyTimeoutError ? Ut.ETIMEDOUT : Ut.ECONNABORTED,
70602
70602
  e,
70603
70603
  g
70604
70604
  )), g = null;
@@ -70609,7 +70609,7 @@ const WI = (e) => {
70609
70609
  }, a.cancelToken && a.cancelToken.subscribe(d), a.signal && (a.signal.aborted ? d() : a.signal.addEventListener("abort", d)));
70610
70610
  const b = S$e(a.url);
70611
70611
  if (b && Mr.protocols.indexOf(b) === -1) {
70612
- r(new Kt("Unsupported protocol " + b + ":", Kt.ERR_BAD_REQUEST, e));
70612
+ r(new Ut("Unsupported protocol " + b + ":", Ut.ERR_BAD_REQUEST, e));
70613
70613
  return;
70614
70614
  }
70615
70615
  g.send(o || null);
@@ -70622,11 +70622,11 @@ const WI = (e) => {
70622
70622
  if (!a) {
70623
70623
  a = !0, c();
70624
70624
  const d = s instanceof Error ? s : this.reason;
70625
- r.abort(d instanceof Kt ? d : new Wo(d instanceof Error ? d.message : d));
70625
+ r.abort(d instanceof Ut ? d : new Wo(d instanceof Error ? d.message : d));
70626
70626
  }
70627
70627
  };
70628
70628
  let i = t && setTimeout(() => {
70629
- i = null, o(new Kt(`timeout ${t} of ms exceeded`, Kt.ETIMEDOUT));
70629
+ i = null, o(new Ut(`timeout ${t} of ms exceeded`, Ut.ETIMEDOUT));
70630
70630
  }, t);
70631
70631
  const c = () => {
70632
70632
  e && (i && clearTimeout(i), i = null, e.forEach((s) => {
@@ -70716,7 +70716,7 @@ const WI = (e) => {
70716
70716
  x3 && ((e) => {
70717
70717
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
70718
70718
  !_0[t] && (_0[t] = Oe.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
70719
- throw new Kt(`Response type '${t}' is not supported`, Kt.ERR_NOT_SUPPORT, r);
70719
+ throw new Ut(`Response type '${t}' is not supported`, Ut.ERR_NOT_SUPPORT, r);
70720
70720
  });
70721
70721
  });
70722
70722
  })(new Response());
@@ -70816,11 +70816,11 @@ const A$e = async (e) => {
70816
70816
  });
70817
70817
  } catch (y) {
70818
70818
  throw v && v(), y && y.name === "TypeError" && /fetch/i.test(y.message) ? Object.assign(
70819
- new Kt("Network Error", Kt.ERR_NETWORK, e, h),
70819
+ new Ut("Network Error", Ut.ERR_NETWORK, e, h),
70820
70820
  {
70821
70821
  cause: y.cause || y
70822
70822
  }
70823
- ) : Kt.from(y, y && y.code, e, h);
70823
+ ) : Ut.from(y, y && y.code, e, h);
70824
70824
  }
70825
70825
  }), P8 = {
70826
70826
  http: ZNe,
@@ -70846,7 +70846,7 @@ const Th = (e) => `- ${e}`, F$e = (e) => Oe.isFunction(e) || e === null || e ===
70846
70846
  n = e[o];
70847
70847
  let i;
70848
70848
  if (r = n, !F$e(n) && (r = P8[(i = String(n)).toLowerCase()], r === void 0))
70849
- throw new Kt(`Unknown adapter '${i}'`);
70849
+ throw new Ut(`Unknown adapter '${i}'`);
70850
70850
  if (r)
70851
70851
  break;
70852
70852
  a[i || "#" + o] = r;
@@ -70858,7 +70858,7 @@ const Th = (e) => `- ${e}`, F$e = (e) => Oe.isFunction(e) || e === null || e ===
70858
70858
  let i = t ? o.length > 1 ? `since :
70859
70859
  ` + o.map(Th).join(`
70860
70860
  `) : " " + Th(o[0]) : "as no adapter specified";
70861
- throw new Kt(
70861
+ throw new Ut(
70862
70862
  "There is no suitable adapter to dispatch the request " + i,
70863
70863
  "ERR_NOT_SUPPORT"
70864
70864
  );
@@ -70902,9 +70902,9 @@ r7.transitional = function(t, n, r) {
70902
70902
  }
70903
70903
  return (o, i, c) => {
70904
70904
  if (t === !1)
70905
- throw new Kt(
70905
+ throw new Ut(
70906
70906
  a(i, " has been removed" + (n ? " in " + n : "")),
70907
- Kt.ERR_DEPRECATED
70907
+ Ut.ERR_DEPRECATED
70908
70908
  );
70909
70909
  return n && !Ah[i] && (Ah[i] = !0, console.warn(
70910
70910
  a(
@@ -70916,7 +70916,7 @@ r7.transitional = function(t, n, r) {
70916
70916
  };
70917
70917
  function j$e(e, t, n) {
70918
70918
  if (typeof e != "object")
70919
- throw new Kt("options must be an object", Kt.ERR_BAD_OPTION_VALUE);
70919
+ throw new Ut("options must be an object", Ut.ERR_BAD_OPTION_VALUE);
70920
70920
  const r = Object.keys(e);
70921
70921
  let a = r.length;
70922
70922
  for (; a-- > 0; ) {
@@ -70924,11 +70924,11 @@ function j$e(e, t, n) {
70924
70924
  if (i) {
70925
70925
  const c = e[o], l = c === void 0 || i(c, o, e);
70926
70926
  if (l !== !0)
70927
- throw new Kt("option " + o + " must be " + l, Kt.ERR_BAD_OPTION_VALUE);
70927
+ throw new Ut("option " + o + " must be " + l, Ut.ERR_BAD_OPTION_VALUE);
70928
70928
  continue;
70929
70929
  }
70930
70930
  if (n !== !0)
70931
- throw new Kt("Unknown option " + o, Kt.ERR_BAD_OPTION);
70931
+ throw new Ut("Unknown option " + o, Ut.ERR_BAD_OPTION);
70932
70932
  }
70933
70933
  }
70934
70934
  const R8 = {
@@ -71218,7 +71218,7 @@ Bn.CancelToken = a7;
71218
71218
  Bn.isCancel = BI;
71219
71219
  Bn.VERSION = GI;
71220
71220
  Bn.toFormData = S3;
71221
- Bn.AxiosError = Kt;
71221
+ Bn.AxiosError = Ut;
71222
71222
  Bn.Cancel = Bn.CanceledError;
71223
71223
  Bn.all = function(t) {
71224
71224
  return Promise.all(t);
@@ -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 Ut = /* @__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))(Ut || {}), 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, Ut.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, Ut.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, Ut.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,37 @@ 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(Ut.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(Ut.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[Ut.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
- Ut.ReleasePages,
73780
- o.toSpliced(s, 1, { ...d, [Ut.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: Ut.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
73791
  var v, g;
73792
- const p = (v = o == null ? void 0 : o[f]) == null ? void 0 : v[Ut.Image], h = (g = o == null ? void 0 : o[f]) == null ? void 0 : g[Ut.NoImage];
73792
+ const p = (v = o == null ? void 0 : o[f]) == null ? void 0 : v[qt.Image], h = (g = o == null ? void 0 : o[f]) == null ? void 0 : g[qt.NoImage];
73793
+ if (h) {
73794
+ const y = o == null ? void 0 : o.map((b, C) => C === f ? { ...b, [qt.Image]: void 0 } : b);
73795
+ a.setFieldValue(qt.ReleasePages, y);
73796
+ }
73793
73797
  return /* @__PURE__ */ we.jsx("div", { children: /* @__PURE__ */ we.jsxs(D1, { gutter: [8, 16], style: { marginBottom: 35 }, children: [
73794
73798
  /* @__PURE__ */ we.jsx(fr, { span: 24, children: /* @__PURE__ */ we.jsxs(D1, { gutter: 8, children: [
73795
73799
  /* @__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, Ut.Image], noStyle: !0, children: /* @__PURE__ */ we.jsx(
73800
+ !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
73801
  q5,
73798
73802
  {
73799
73803
  listType: "picture",
@@ -73801,7 +73805,7 @@ const tPe = async () => {
73801
73805
  showUploadList: !1,
73802
73806
  fileList: n,
73803
73807
  beforeUpload: Bae,
73804
- onChange: i([f, Ut.Image]),
73808
+ onChange: i([f, qt.Image]),
73805
73809
  children: p ? /* @__PURE__ */ we.jsx(Vs, { src: p, preview: !1, style: { maxHeight: 600 } }) : l
73806
73810
  }
73807
73811
  ) }) }) })
@@ -73811,15 +73815,8 @@ const tPe = async () => {
73811
73815
  /* @__PURE__ */ we.jsx(
73812
73816
  fNe,
73813
73817
  {
73814
- fieldName: [f, Ut.NoImage],
73815
- label: At("GENERAL.DO_NOT_USE_IMAGE"),
73816
- onChange: (y) => {
73817
- const b = y.target.checked, C = o == null ? void 0 : o.map((x, S) => S === f ? {
73818
- ...x,
73819
- [Ut.Image]: b ? void 0 : x[Ut.Image]
73820
- } : x);
73821
- a.setFieldValue(Ut.ReleasePages, C);
73822
- }
73818
+ fieldName: [f, qt.NoImage],
73819
+ label: At("GENERAL.DO_NOT_USE_IMAGE")
73823
73820
  }
73824
73821
  )
73825
73822
  ] }) })
@@ -73834,18 +73831,18 @@ const tPe = async () => {
73834
73831
  beforeCloseModal: a,
73835
73832
  afterSubmit: o
73836
73833
  }) => {
73837
- 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(Ut.ReleasePages, m), C = (P) => f(P), x = () => m.resetFields();
73834
+ 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();
73838
73835
  Et(() => {
73839
73836
  var _;
73840
73837
  const P = (b == null ? void 0 : b.length) - 1;
73841
73838
  (_ = v.current) == null || _.goTo(P);
73842
73839
  }, [b == null ? void 0 : b.length]), Et(() => (n && (c(!0), m.setFieldsValue({
73843
73840
  ...n,
73844
- [Ut.ReleasePages]: n[Ut.ReleasePages].map((P) => ({
73841
+ [qt.ReleasePages]: n[qt.ReleasePages].map((P) => ({
73845
73842
  ...P,
73846
- [Ut.Image]: GE(P[Ut.Image])
73843
+ [qt.Image]: GE(P[qt.Image])
73847
73844
  })),
73848
- [Ut.DeployDate]: Jn(n[Ut.DeployDate])
73845
+ [qt.DeployDate]: Jn(n[qt.DeployDate])
73849
73846
  })), () => {
73850
73847
  x();
73851
73848
  }), [n]);
@@ -73853,18 +73850,18 @@ const tPe = async () => {
73853
73850
  r ? new Promise((P) => P(r())).then(() => c(!0)) : c(!0);
73854
73851
  }, L = () => {
73855
73852
  a ? new Promise((P) => P(a())).then(() => c(!1)) : c(!1);
73856
- }, E = () => m.setFieldValue(Ut.ReleasePages, [...b, { [Ut.Fields]: [{}] }]), M = () => m.setFieldValue(
73857
- Ut.ReleasePages,
73853
+ }, E = () => m.setFieldValue(qt.ReleasePages, [...b, { [qt.Fields]: [{}] }]), M = () => m.setFieldValue(
73854
+ qt.ReleasePages,
73858
73855
  b.filter((P, _) => _ !== d)
73859
73856
  ), w = (P) => {
73860
73857
  const _ = {
73861
73858
  ...P,
73862
- [Ut.DeployDate]: Jn(P[Ut.DeployDate]).format(xD),
73863
- [Ut.ReleasePages]: P[Ut.ReleasePages].map((A, k) => ({
73859
+ [qt.DeployDate]: Jn(P[qt.DeployDate]).format(xD),
73860
+ [qt.ReleasePages]: P[qt.ReleasePages].map((A, k) => ({
73864
73861
  ...A,
73865
- [Ut.Image]: Hae(A[Ut.Image]),
73862
+ [qt.Image]: Hae(A[qt.Image]),
73866
73863
  order: k,
73867
- [Ut.Fields]: A[Ut.Fields].map((H, F) => ({ ...H, order: F }))
73864
+ [qt.Fields]: A[qt.Fields].map((H, F) => ({ ...H, order: F }))
73868
73865
  }))
73869
73866
  };
73870
73867
  rPe(_).then(() => {
@@ -73915,8 +73912,8 @@ const tPe = async () => {
73915
73912
  ] }), $ = (P) => {
73916
73913
  s(t ? P : !1);
73917
73914
  }, R = {
73918
- [Ut.ReleasePages]: [{ [Ut.Fields]: [{}] }],
73919
- [Ut.DeployDate]: Jn()
73915
+ [qt.ReleasePages]: [{ [qt.Fields]: [{}] }],
73916
+ [qt.DeployDate]: Jn()
73920
73917
  }, I = Vae(y ?? [], "appName", "id"), N = Xt(() => At(`${W1}.${n ? "UPD_RELEASE_NOTE" : "ADD_RELEASE_NOTE"}`), [p]);
73921
73918
  return /* @__PURE__ */ we.jsxs(we.Fragment, { children: [
73922
73919
  /* @__PURE__ */ we.jsx(yr, { title: t, open: l, onOpenChange: $, children: /* @__PURE__ */ we.jsx(
@@ -73935,7 +73932,7 @@ const tPe = async () => {
73935
73932
  /* @__PURE__ */ we.jsx(fr, { span: 8, children: /* @__PURE__ */ we.jsx(
73936
73933
  uNe,
73937
73934
  {
73938
- fieldName: Ut.App,
73935
+ fieldName: qt.App,
73939
73936
  label: At(`${W1}.FORM.FIELDS.APP`),
73940
73937
  placeholder: At(`${W1}.FORM.FIELDS.APP`, { context: "PLACEHOLDER" }),
73941
73938
  options: I,
@@ -73945,7 +73942,7 @@ const tPe = async () => {
73945
73942
  /* @__PURE__ */ we.jsx(fr, { span: 8, children: /* @__PURE__ */ we.jsx(
73946
73943
  Vl,
73947
73944
  {
73948
- fieldName: Ut.Version,
73945
+ fieldName: qt.Version,
73949
73946
  label: At(`${W1}.FORM.FIELDS.VERSION`),
73950
73947
  placeholder: "0.0.0",
73951
73948
  tooltip: At(`${W1}.FORM.FIELDS.VERSION`, { context: "TOOLTIP" }),
@@ -73965,7 +73962,7 @@ const tPe = async () => {
73965
73962
  /* @__PURE__ */ we.jsx(fr, { span: 8, children: /* @__PURE__ */ we.jsx(
73966
73963
  dNe,
73967
73964
  {
73968
- fieldName: Ut.DeployDate,
73965
+ fieldName: qt.DeployDate,
73969
73966
  label: At(`${W1}.FORM.FIELDS.DEPLOY_DATE`),
73970
73967
  format: SD,
73971
73968
  rules: g