aquasis-fe-components 1.0.1-u → 1.0.1-x

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.
@@ -73061,47 +73061,47 @@ const E$e = async () => {
73061
73061
  ] })
73062
73062
  ] }) })
73063
73063
  ] });
73064
- }, P$e = "1.0.1-u", { Title: I$e, Text: T$e } = Ro, D$e = () => {
73065
- var x, S;
73066
- const [e, t] = Et(!1), [n, r] = Et(!1), [a, o] = Et(0), i = Be(null), c = so(Gr.AppId), { data: l } = yI(), { data: s } = N$e({ idApp: c, lastDeployed: !1 }), d = s == null ? void 0 : s[0], f = l == null ? void 0 : l.find((L) => L.id === c);
73064
+ }, P$e = "1.0.1-x", { Title: I$e, Text: T$e } = Ro, D$e = () => {
73065
+ var S, L;
73066
+ const [e, t] = Et(!1), [n, r] = Et(!1), [a, o] = Et(0), i = Be(null), c = so(Gr.AppId), l = so(Gr.UserId), { data: s } = yI(), { data: d } = N$e({ idApp: c, lastDeployed: !0, userId: l }), f = d == null ? void 0 : d[0], m = s == null ? void 0 : s.find((E) => E.id === c);
73067
73067
  Mt(() => {
73068
- if (s != null && s.length) {
73069
- const L = s[0], E = L.readRelease;
73070
- r(E), t(!E || !(L.version === P$e && L.readRelease));
73071
- }
73072
- }, [s]);
73073
- const m = () => {
73074
- const L = s == null ? void 0 : s[0], E = L == null ? void 0 : L.readRelease, M = so(Gr.UserId);
73075
- !E && n && z$e(L == null ? void 0 : L.idRelease, M), t(!1);
73076
- }, p = () => {
73077
- var L;
73078
- return (L = i.current) == null ? void 0 : L.next();
73068
+ if (d != null && d.length) {
73069
+ const E = d[0], M = (!E.readRelease || !(E.version === P$e && E.readRelease)) && !!E.isDeployed;
73070
+ t(M);
73071
+ }
73072
+ }, [d]);
73073
+ const p = () => {
73074
+ const E = d == null ? void 0 : d[0];
73075
+ n && (E != null && E.isDeployed) && z$e(E == null ? void 0 : E.idRelease, l), t(!1);
73079
73076
  }, h = () => {
73080
- var L;
73081
- return (L = i.current) == null ? void 0 : L.prev();
73082
- }, v = (L) => o(L), g = a === 0, C = a === (((x = d == null ? void 0 : d.gaReleasePages) == null ? void 0 : x.length) ?? 0) - 1, b = (L) => r(L.target.checked), y = /* @__PURE__ */ ze.jsxs(wr, { justify: "space-between", align: "center", children: [
73083
- /* @__PURE__ */ ze.jsx(S2, { checked: n, onChange: b, children: Ft("RELEASE-NOTES.FORM.FIELDS.DO_NOT_SHOW_AGAIN") }),
73077
+ var E;
73078
+ return (E = i.current) == null ? void 0 : E.next();
73079
+ }, v = () => {
73080
+ var E;
73081
+ return (E = i.current) == null ? void 0 : E.prev();
73082
+ }, g = (E) => o(E), C = a === 0, b = a === (((S = f == null ? void 0 : f.gaReleasePages) == null ? void 0 : S.length) ?? 0) - 1, y = (E) => r(E.target.checked), x = /* @__PURE__ */ ze.jsxs(wr, { justify: "space-between", align: "center", children: [
73083
+ /* @__PURE__ */ ze.jsx(S2, { checked: n, onChange: y, children: Ft("RELEASE-NOTES.FORM.FIELDS.DO_NOT_SHOW_AGAIN") }),
73084
73084
  /* @__PURE__ */ ze.jsxs(wr, { gap: 8, children: [
73085
- !g && /* @__PURE__ */ ze.jsx(yn, { onClick: h, children: Ft("Prev") }),
73086
- !C && /* @__PURE__ */ ze.jsx(yn, { type: "primary", onClick: p, children: Ft("GENERAL.ACTIONS.NEXT") }),
73087
- C && /* @__PURE__ */ ze.jsx(yn, { type: "primary", onClick: m, children: Ft("GENERAL.ACTIONS.CLOSE") })
73085
+ !C && /* @__PURE__ */ ze.jsx(yn, { onClick: v, children: Ft("Prev") }),
73086
+ !b && /* @__PURE__ */ ze.jsx(yn, { type: "primary", onClick: h, children: Ft("GENERAL.ACTIONS.NEXT") }),
73087
+ b && /* @__PURE__ */ ze.jsx(yn, { type: "primary", onClick: p, children: Ft("GENERAL.ACTIONS.CLOSE") })
73088
73088
  ] })
73089
73089
  ] });
73090
73090
  return /* @__PURE__ */ ze.jsx(
73091
73091
  V1,
73092
73092
  {
73093
73093
  open: e,
73094
- title: Ft("RELEASE-NOTES.WHATS_NEWS", { app: f == null ? void 0 : f.appName, version: d == null ? void 0 : d.version }),
73095
- onCancel: m,
73094
+ title: Ft("RELEASE-NOTES.WHATS_NEWS", { app: m == null ? void 0 : m.appName, version: f == null ? void 0 : f.version }),
73095
+ onCancel: p,
73096
73096
  width: "60%",
73097
- footer: y,
73098
- children: /* @__PURE__ */ ze.jsx(jd, { infinite: !1, ref: i, afterChange: v, children: (S = d == null ? void 0 : d.gaReleasePages) == null ? void 0 : S.map(({ idFile: L, gaReleasePagesContent: E }, M) => /* @__PURE__ */ ze.jsx("div", { children: /* @__PURE__ */ ze.jsxs(Rr, { gutter: [24, 16], style: { marginBottom: 35 }, children: [
73099
- /* @__PURE__ */ ze.jsx(d1, { span: 8, children: /* @__PURE__ */ ze.jsx(wr, { gap: 16, justify: "space-between", vertical: !0, style: { height: "100%" }, children: E.map(({ title: w, description: N }, O) => /* @__PURE__ */ ze.jsxs(wr, { gap: 6, vertical: !0, children: [
73100
- /* @__PURE__ */ ze.jsx(I$e, { level: 4, children: w }),
73101
- /* @__PURE__ */ ze.jsx(T$e, { style: { opacity: 0.5 }, children: N })
73102
- ] }, `${M}-${O}`)) }) }),
73103
- /* @__PURE__ */ ze.jsx(d1, { span: 16, children: /* @__PURE__ */ ze.jsx(wr, { justify: "center", children: /* @__PURE__ */ ze.jsx(ba, { bordered: !0, styles: { body: { display: "flex", padding: 2 } }, children: /* @__PURE__ */ ze.jsx(Ms, { src: sE(L), style: { maxHeight: 800, borderRadius: 8 } }) }) }) })
73104
- ] }) }, M)) })
73097
+ footer: x,
73098
+ children: /* @__PURE__ */ ze.jsx(jd, { infinite: !1, ref: i, afterChange: g, children: (L = f == null ? void 0 : f.gaReleasePages) == null ? void 0 : L.map(({ idFile: E, gaReleasePagesContent: M }, w) => /* @__PURE__ */ ze.jsx("div", { children: /* @__PURE__ */ ze.jsxs(Rr, { gutter: [24, 16], style: { marginBottom: 35 }, children: [
73099
+ /* @__PURE__ */ ze.jsx(d1, { span: 8, children: /* @__PURE__ */ ze.jsx(wr, { gap: 16, justify: "space-between", vertical: !0, style: { height: "100%" }, children: M.map(({ title: N, description: O }, T) => /* @__PURE__ */ ze.jsxs(wr, { gap: 6, vertical: !0, children: [
73100
+ /* @__PURE__ */ ze.jsx(I$e, { level: 4, children: N }),
73101
+ /* @__PURE__ */ ze.jsx(T$e, { style: { opacity: 0.5 }, children: O })
73102
+ ] }, `${w}-${T}`)) }) }),
73103
+ /* @__PURE__ */ ze.jsx(d1, { span: 16, children: /* @__PURE__ */ ze.jsx(wr, { justify: "center", children: /* @__PURE__ */ ze.jsx(ba, { bordered: !0, styles: { body: { display: "flex", padding: 2 } }, children: /* @__PURE__ */ ze.jsx(Ms, { src: sE(E), style: { maxHeight: 800, borderRadius: 8 } }) }) }) })
73104
+ ] }) }, w)) })
73105
73105
  }
73106
73106
  );
73107
73107
  }, Ch = new m$e({