@dev-blinq/ui-systems 1.0.110 → 1.0.111

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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as Fe from "react";
2
- import mt, { useRef as ot, useState as ve, useEffect as Tt, forwardRef as bi, createElement as si, useContext as Ve, useLayoutEffect as jl, createContext as Ln, useId as No, useInsertionEffect as Vl, useMemo as dn, useCallback as $l, Children as Ed, isValidElement as Sd, Fragment as Ul, Component as wd } from "react";
2
+ import mt, { useRef as ot, useState as Ce, useEffect as Tt, forwardRef as bi, createElement as si, useContext as Ve, useLayoutEffect as jl, createContext as Ln, useId as No, useInsertionEffect as Vl, useMemo as dn, useCallback as $l, Children as Ed, isValidElement as Sd, Fragment as Ul, Component as wd } from "react";
3
3
  import { Typography as Ut, Tooltip as Hl, IconButton as nn, Tabs as Bd, Tab as Dd, Box as J, Menu as Td, MenuItem as Lo, Divider as Fd, LinearProgress as Pd, Card as Ns, Dialog as Rd, CircularProgress as kd, styled as zl, Button as Md, TextField as _d, InputAdornment as Ls, Select as Id, FormControl as Od, Checkbox as Nd, FormControlLabel as Ld, Accordion as jd, AccordionSummary as Vd, AccordionDetails as $d, Grid2 as $r, Alert as Ud, ClickAwayListener as Hd, Collapse as zd, CssBaseline as Wd } from "@mui/material";
4
4
  import { createSpacing as Kd, unstable_createGetCssVar as Gd, ThemeProvider as Yd, unstable_createCssVarsProvider as qd, StyledEngineProvider as Xd } from "@mui/system";
5
5
  import Zd, { internal_serializeStyles as cn, internal_mutateStyles as Jd } from "@mui/styled-engine";
@@ -304,7 +304,7 @@ function th() {
304
304
  var vn = D ? D.displayName || D.name : "", en = vn ? z(vn) : "";
305
305
  return typeof D == "function" && re.set(D, en), en;
306
306
  }
307
- function be(D, $, K) {
307
+ function ve(D, $, K) {
308
308
  return W(D, !1);
309
309
  }
310
310
  function ke(D) {
@@ -327,7 +327,7 @@ function th() {
327
327
  if (typeof D == "object")
328
328
  switch (D.$$typeof) {
329
329
  case u:
330
- return be(D.render);
330
+ return ve(D.render);
331
331
  case f:
332
332
  return tt(D.type, $, K);
333
333
  case d: {
@@ -989,7 +989,7 @@ $o.exports = function(t) {
989
989
  $o.exports.currencySymbolMap = ao;
990
990
  var sh = $o.exports;
991
991
  const ch = /* @__PURE__ */ jo(sh), lh = (e) => {
992
- const [t, n] = ve(""), [r, i] = ve("USD"), [a, o] = ve([]), s = mt.useRef(null);
992
+ const [t, n] = Ce(""), [r, i] = Ce("USD"), [a, o] = Ce([]), s = mt.useRef(null);
993
993
  Tt(() => {
994
994
  const l = [...new Set(Object.values(Vo).map((f) => f.currency))];
995
995
  o(l);
@@ -1515,7 +1515,7 @@ const Wh = [
1515
1515
  counterVisibility: i = !0,
1516
1516
  ...a
1517
1517
  }) => {
1518
- const [o, s] = mt.useState(""), [u, c] = ve(a.rows || 8), l = (f) => {
1518
+ const [o, s] = mt.useState(""), [u, c] = Ce(a.rows || 8), l = (f) => {
1519
1519
  c((d) => {
1520
1520
  const p = f === "down" ? d + 1 : d - 1;
1521
1521
  return p < 2 ? 2 : p;
@@ -1590,7 +1590,7 @@ const Wh = [
1590
1590
  children: n,
1591
1591
  ...r
1592
1592
  }) => {
1593
- const [i, a] = ve(r.defaultChecked || !1), o = () => {
1593
+ const [i, a] = Ce(r.defaultChecked || !1), o = () => {
1594
1594
  a(!i), r.onChange && r.onChange();
1595
1595
  };
1596
1596
  return /* @__PURE__ */ E.jsxs("label", { className: "blinq-checkbox", children: [
@@ -1614,7 +1614,7 @@ const Wh = [
1614
1614
  children: n,
1615
1615
  ...r
1616
1616
  }) => {
1617
- const [i, a] = ve(r.checked || !1), o = () => {
1617
+ const [i, a] = Ce(r.checked || !1), o = () => {
1618
1618
  a(!i), r.onChange && r.onChange();
1619
1619
  };
1620
1620
  return /* @__PURE__ */ E.jsxs("label", { className: "blinq-radio-button", children: [
@@ -2868,7 +2868,7 @@ const l1 = G(({ className: e, ...t }) => /* @__PURE__ */ E.jsx(Hl, { ...t, class
2868
2868
  }
2869
2869
  }));
2870
2870
  function su(e) {
2871
- const { placement: t = "bottom-start", enterDelay: n = 800, enterNextDelay: r = 800, textId: i, ...a } = e, [o, s] = ve(!1);
2871
+ const { placement: t = "bottom-start", enterDelay: n = 800, enterNextDelay: r = 800, textId: i, ...a } = e, [o, s] = Ce(!1);
2872
2872
  return c1(() => {
2873
2873
  if (i) {
2874
2874
  const c = document.getElementById(i), l = (c == null ? void 0 : c.scrollWidth) || 0, f = (c == null ? void 0 : c.clientWidth) || 0, d = (c == null ? void 0 : c.scrollHeight) || 0, p = (c == null ? void 0 : c.clientHeight) || 0, x = l > f || d > p;
@@ -3895,8 +3895,8 @@ function R1() {
3895
3895
  }
3896
3896
  function C(W) {
3897
3897
  if (typeof W == "object" && W !== null) {
3898
- var be = W.$$typeof;
3899
- switch (be) {
3898
+ var ve = W.$$typeof;
3899
+ switch (ve) {
3900
3900
  case t:
3901
3901
  var ke = W.type;
3902
3902
  switch (ke) {
@@ -3917,11 +3917,11 @@ function R1() {
3917
3917
  case o:
3918
3918
  return tt;
3919
3919
  default:
3920
- return be;
3920
+ return ve;
3921
3921
  }
3922
3922
  }
3923
3923
  case n:
3924
- return be;
3924
+ return ve;
3925
3925
  }
3926
3926
  }
3927
3927
  }
@@ -4146,11 +4146,11 @@ function _1() {
4146
4146
  );
4147
4147
  throw W.name = "Invariant Violation", W;
4148
4148
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
4149
- var be = z + ":" + Z;
4150
- !F[be] && // Avoid spamming the console because they are often not actionable except for lib authors
4149
+ var ve = z + ":" + Z;
4150
+ !F[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
4151
4151
  O < 3 && (a(
4152
4152
  "You are manually calling a React.PropTypes validation function for the `" + re + "` prop on `" + z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
4153
- ), F[be] = !0, O++);
4153
+ ), F[ve] = !0, O++);
4154
4154
  }
4155
4155
  }
4156
4156
  return V[Z] == null ? j ? V[Z] === null ? new h("The " + ie + " `" + re + "` is marked as required " + ("in `" + z + "`, but its value is `null`.")) : new h("The " + ie + " `" + re + "` is marked as required in " + ("`" + z + "`, but its value is `undefined`.")) : null : N(V, Z, z, ie, re);
@@ -4235,8 +4235,8 @@ function _1() {
4235
4235
  if (x(Z, N[z]))
4236
4236
  return null;
4237
4237
  var ie = JSON.stringify(N, function(Re, W) {
4238
- var be = X(W);
4239
- return be === "symbol" ? String(W) : W;
4238
+ var ve = X(W);
4239
+ return ve === "symbol" ? String(W) : W;
4240
4240
  });
4241
4241
  return new h("Invalid " + j + " `" + V + "` of value `" + String(Z) + "` " + ("supplied to `" + M + "`, expected one of " + ie + "."));
4242
4242
  }
@@ -4276,8 +4276,8 @@ function _1() {
4276
4276
  return null;
4277
4277
  W.data && r(W.data, "expectedType") && ie.push(W.data.expectedType);
4278
4278
  }
4279
- var be = ie.length > 0 ? ", expected one of type [" + ie.join(", ") + "]" : "";
4280
- return new h("Invalid " + Z + " `" + z + "` supplied to " + ("`" + V + "`" + be + "."));
4279
+ var ve = ie.length > 0 ? ", expected one of type [" + ie.join(", ") + "]" : "";
4280
+ return new h("Invalid " + Z + " `" + z + "` supplied to " + ("`" + V + "`" + ve + "."));
4281
4281
  }
4282
4282
  return v(I);
4283
4283
  }
@@ -5585,10 +5585,10 @@ function gu(e, t) {
5585
5585
  });
5586
5586
  }
5587
5587
  const Wx = 0.2, Kx = 0.14, Gx = 0.12;
5588
- function Ce(...e) {
5588
+ function be(...e) {
5589
5589
  return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Wx})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Kx})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Gx})`].join(",");
5590
5590
  }
5591
- const Yx = ["none", Ce(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Ce(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Ce(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Ce(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Ce(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Ce(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Ce(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Ce(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Ce(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Ce(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Ce(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Ce(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Ce(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Ce(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Ce(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Ce(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Ce(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Ce(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Ce(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Ce(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Ce(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Ce(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Ce(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Ce(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], qx = {
5591
+ const Yx = ["none", be(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), be(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), be(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), be(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), be(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), be(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), be(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), be(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), be(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), be(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), be(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), be(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), be(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), be(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), be(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), be(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), be(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), be(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), be(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), be(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), be(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), be(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), be(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), be(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], qx = {
5592
5592
  // This is the most common easing curve.
5593
5593
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
5594
5594
  // Objects enter the screen at full velocity from off-screen and
@@ -6395,7 +6395,7 @@ const w0 = Am(Pd)(({ theme: e }) => ({
6395
6395
  /* @__PURE__ */ E.jsx(Gr, { size: 16 }),
6396
6396
  /* @__PURE__ */ E.jsx(Gr, { size: 16 })
6397
6397
  ], F6 = ({ noDialog: e }) => {
6398
- const [t, n] = ve(0), [r, i] = ve(1), a = 4;
6398
+ const [t, n] = Ce(0), [r, i] = Ce(1), a = 4;
6399
6399
  return Tt(() => {
6400
6400
  const o = setInterval(() => {
6401
6401
  n((s) => {
@@ -6696,7 +6696,7 @@ function Km({
6696
6696
  size: A = "small",
6697
6697
  id: S
6698
6698
  }) {
6699
- const [w, T] = ve(!1), [k, m] = ve(null), [B, R] = ve(""), [P, U] = ve(!1), [H, q] = ve(""), X = (j) => {
6699
+ const [w, T] = Ce(!1), [k, m] = Ce(null), [B, R] = Ce(""), [P, U] = Ce(!1), [H, q] = Ce(""), X = (j) => {
6700
6700
  t(j.target.value);
6701
6701
  }, Q = (j, V, Z) => {
6702
6702
  d ? (r == null || r(V, V), I(!1)) : (j.stopPropagation(), m(V), R(Z));
@@ -6980,7 +6980,7 @@ const Gm = G(Nd)`
6980
6980
  }
6981
6981
  `;
6982
6982
  function P6(e) {
6983
- const { label: t, onClick: n, ...r } = e, [i, a] = ve(r.defaultChecked || !1), o = (s) => {
6983
+ const { label: t, onClick: n, ...r } = e, [i, a] = Ce(r.defaultChecked || !1), o = (s) => {
6984
6984
  a(s), n && n(s);
6985
6985
  };
6986
6986
  return /* @__PURE__ */ E.jsx(
@@ -7093,9 +7093,10 @@ const Zm = G.div`
7093
7093
  ParamErrors: r,
7094
7094
  removeParameter: i,
7095
7095
  dataSet: a,
7096
- disabledEdit: o
7096
+ disabledEdit: o,
7097
+ isMainApp: s
7097
7098
  }) => /* @__PURE__ */ E.jsxs(J, { width: "100%", display: "flex", flexDirection: "column", p: 1, children: [
7098
- a && /* @__PURE__ */ E.jsx(J, { mb: 3, mt: 2, children: /* @__PURE__ */ E.jsx(
7099
+ a && /* @__PURE__ */ E.jsx(J, { mb: "8px", mt: "4px", children: /* @__PURE__ */ E.jsx(
7099
7100
  Km,
7100
7101
  {
7101
7102
  noInlineAction: !0,
@@ -7108,24 +7109,25 @@ const Zm = G.div`
7108
7109
  id: "data-set-select-scenario"
7109
7110
  }
7110
7111
  ) }),
7111
- /* @__PURE__ */ E.jsx(Qm, { children: t.map((s, u) => /* @__PURE__ */ E.jsx(E.Fragment, { children: /* @__PURE__ */ E.jsx(
7112
+ /* @__PURE__ */ E.jsx(Qm, { children: t.map((u, c) => /* @__PURE__ */ E.jsx(E.Fragment, { children: /* @__PURE__ */ E.jsx(
7112
7113
  ig,
7113
7114
  {
7114
- ...s,
7115
- index: u,
7115
+ ...u,
7116
+ index: c,
7116
7117
  onChangeValue: n,
7117
7118
  ParamErrors: r,
7118
7119
  onDelete: i,
7119
7120
  disabledEdit: o
7120
7121
  }
7121
- ) }, u)) }),
7122
+ ) }, c)) }),
7122
7123
  /* @__PURE__ */ E.jsx(
7123
7124
  Im,
7124
7125
  {
7125
7126
  variant: "outlined",
7126
- sx: { my: 2 },
7127
+ sx: { mt: 2, mb: s ? 0 : 2 },
7127
7128
  startIcon: /* @__PURE__ */ E.jsx(Jh, {}),
7128
7129
  fullWidth: !0,
7130
+ size: "small",
7129
7131
  onClick: e,
7130
7132
  disabled: o,
7131
7133
  children: "Add Parameter"
@@ -7143,7 +7145,7 @@ const Zm = G.div`
7143
7145
  disabled: u,
7144
7146
  ParamErrors: c,
7145
7147
  disabledEdit: l
7146
- } = e, f = ot(null), [d, p] = ve(!1);
7148
+ } = e, f = ot(null), [d, p] = Ce(!1);
7147
7149
  Tt(() => {
7148
7150
  var b;
7149
7151
  (b = f.current) == null || b.scrollIntoView({ behavior: "smooth", block: "nearest" });
@@ -9139,7 +9141,7 @@ function ju() {
9139
9141
  ]);
9140
9142
  },
9141
9143
  _doProcessBlock: function(x, h) {
9142
- for (var v = this._hash.words, b = v[0], y = v[1], g = v[2], C = v[3], A = v[4], S = v[5], w = v[6], T = v[7], k = b.high, m = b.low, B = y.high, R = y.low, P = g.high, U = g.low, H = C.high, q = C.low, X = A.high, Q = A.low, te = S.high, N = S.low, F = w.high, O = w.low, I = T.high, M = T.low, j = k, V = m, Z = B, z = R, ie = P, re = U, Re = H, W = q, be = X, ke = Q, tt = te, ut = N, Zt = F, Lt = O, jt = I, Jt = M, Ze = 0; Ze < 80; Ze++) {
9144
+ for (var v = this._hash.words, b = v[0], y = v[1], g = v[2], C = v[3], A = v[4], S = v[5], w = v[6], T = v[7], k = b.high, m = b.low, B = y.high, R = y.low, P = g.high, U = g.low, H = C.high, q = C.low, X = A.high, Q = A.low, te = S.high, N = S.low, F = w.high, O = w.low, I = T.high, M = T.low, j = k, V = m, Z = B, z = R, ie = P, re = U, Re = H, W = q, ve = X, ke = Q, tt = te, ut = N, Zt = F, Lt = O, jt = I, Jt = M, Ze = 0; Ze < 80; Ze++) {
9143
9145
  var $e, yt, gn = d[Ze];
9144
9146
  if (Ze < 16)
9145
9147
  yt = gn.high = x[h + Ze * 2] | 0, $e = gn.low = x[h + Ze * 2 + 1] | 0;
@@ -9147,10 +9149,10 @@ function ju() {
9147
9149
  var Wn = d[Ze - 15], Ft = Wn.high, ft = Wn.low, $i = (Ft >>> 1 | ft << 31) ^ (Ft >>> 8 | ft << 24) ^ Ft >>> 7, Kn = (ft >>> 1 | Ft << 31) ^ (ft >>> 8 | Ft << 24) ^ (ft >>> 7 | Ft << 25), Gn = d[Ze - 2], vt = Gn.high, Qt = Gn.low, Ui = (vt >>> 19 | Qt << 13) ^ (vt << 3 | Qt >>> 29) ^ vt >>> 6, _r = (Qt >>> 19 | vt << 13) ^ (Qt << 3 | vt >>> 29) ^ (Qt >>> 6 | vt << 26), Ir = d[Ze - 7], Hi = Ir.high, zi = Ir.low, Or = d[Ze - 16], Yn = Or.high, qn = Or.low;
9148
9150
  $e = Kn + zi, yt = $i + Hi + ($e >>> 0 < Kn >>> 0 ? 1 : 0), $e = $e + _r, yt = yt + Ui + ($e >>> 0 < _r >>> 0 ? 1 : 0), $e = $e + qn, yt = yt + Yn + ($e >>> 0 < qn >>> 0 ? 1 : 0), gn.high = yt, gn.low = $e;
9149
9151
  }
9150
- var Vt = be & tt ^ ~be & Zt, yn = ke & ut ^ ~ke & Lt, Xn = j & Z ^ j & ie ^ Z & ie, Nr = V & z ^ V & re ^ z & re, Wi = (j >>> 28 | V << 4) ^ (j << 30 | V >>> 2) ^ (j << 25 | V >>> 7), Zn = (V >>> 28 | j << 4) ^ (V << 30 | j >>> 2) ^ (V << 25 | j >>> 7), Ki = (be >>> 14 | ke << 18) ^ (be >>> 18 | ke << 14) ^ (be << 23 | ke >>> 9), Lr = (ke >>> 14 | be << 18) ^ (ke >>> 18 | be << 14) ^ (ke << 23 | be >>> 9), Jn = f[Ze], Gi = Jn.high, jr = Jn.low, Ue = Jt + Lr, dt = jt + Ki + (Ue >>> 0 < Jt >>> 0 ? 1 : 0), Ue = Ue + yn, dt = dt + Vt + (Ue >>> 0 < yn >>> 0 ? 1 : 0), Ue = Ue + jr, dt = dt + Gi + (Ue >>> 0 < jr >>> 0 ? 1 : 0), Ue = Ue + $e, dt = dt + yt + (Ue >>> 0 < $e >>> 0 ? 1 : 0), Vr = Zn + Nr, Yi = Wi + Xn + (Vr >>> 0 < Zn >>> 0 ? 1 : 0);
9151
- jt = Zt, Jt = Lt, Zt = tt, Lt = ut, tt = be, ut = ke, ke = W + Ue | 0, be = Re + dt + (ke >>> 0 < W >>> 0 ? 1 : 0) | 0, Re = ie, W = re, ie = Z, re = z, Z = j, z = V, V = Ue + Vr | 0, j = dt + Yi + (V >>> 0 < Ue >>> 0 ? 1 : 0) | 0;
9152
+ var Vt = ve & tt ^ ~ve & Zt, yn = ke & ut ^ ~ke & Lt, Xn = j & Z ^ j & ie ^ Z & ie, Nr = V & z ^ V & re ^ z & re, Wi = (j >>> 28 | V << 4) ^ (j << 30 | V >>> 2) ^ (j << 25 | V >>> 7), Zn = (V >>> 28 | j << 4) ^ (V << 30 | j >>> 2) ^ (V << 25 | j >>> 7), Ki = (ve >>> 14 | ke << 18) ^ (ve >>> 18 | ke << 14) ^ (ve << 23 | ke >>> 9), Lr = (ke >>> 14 | ve << 18) ^ (ke >>> 18 | ve << 14) ^ (ke << 23 | ve >>> 9), Jn = f[Ze], Gi = Jn.high, jr = Jn.low, Ue = Jt + Lr, dt = jt + Ki + (Ue >>> 0 < Jt >>> 0 ? 1 : 0), Ue = Ue + yn, dt = dt + Vt + (Ue >>> 0 < yn >>> 0 ? 1 : 0), Ue = Ue + jr, dt = dt + Gi + (Ue >>> 0 < jr >>> 0 ? 1 : 0), Ue = Ue + $e, dt = dt + yt + (Ue >>> 0 < $e >>> 0 ? 1 : 0), Vr = Zn + Nr, Yi = Wi + Xn + (Vr >>> 0 < Zn >>> 0 ? 1 : 0);
9153
+ jt = Zt, Jt = Lt, Zt = tt, Lt = ut, tt = ve, ut = ke, ke = W + Ue | 0, ve = Re + dt + (ke >>> 0 < W >>> 0 ? 1 : 0) | 0, Re = ie, W = re, ie = Z, re = z, Z = j, z = V, V = Ue + Vr | 0, j = dt + Yi + (V >>> 0 < Ue >>> 0 ? 1 : 0) | 0;
9152
9154
  }
9153
- m = b.low = m + V, b.high = k + j + (m >>> 0 < V >>> 0 ? 1 : 0), R = y.low = R + z, y.high = B + Z + (R >>> 0 < z >>> 0 ? 1 : 0), U = g.low = U + re, g.high = P + ie + (U >>> 0 < re >>> 0 ? 1 : 0), q = C.low = q + W, C.high = H + Re + (q >>> 0 < W >>> 0 ? 1 : 0), Q = A.low = Q + ke, A.high = X + be + (Q >>> 0 < ke >>> 0 ? 1 : 0), N = S.low = N + ut, S.high = te + tt + (N >>> 0 < ut >>> 0 ? 1 : 0), O = w.low = O + Lt, w.high = F + Zt + (O >>> 0 < Lt >>> 0 ? 1 : 0), M = T.low = M + Jt, T.high = I + jt + (M >>> 0 < Jt >>> 0 ? 1 : 0);
9155
+ m = b.low = m + V, b.high = k + j + (m >>> 0 < V >>> 0 ? 1 : 0), R = y.low = R + z, y.high = B + Z + (R >>> 0 < z >>> 0 ? 1 : 0), U = g.low = U + re, g.high = P + ie + (U >>> 0 < re >>> 0 ? 1 : 0), q = C.low = q + W, C.high = H + Re + (q >>> 0 < W >>> 0 ? 1 : 0), Q = A.low = Q + ke, A.high = X + ve + (Q >>> 0 < ke >>> 0 ? 1 : 0), N = S.low = N + ut, S.high = te + tt + (N >>> 0 < ut >>> 0 ? 1 : 0), O = w.low = O + Lt, w.high = F + Zt + (O >>> 0 < Lt >>> 0 ? 1 : 0), M = T.low = M + Jt, T.high = I + jt + (M >>> 0 < Jt >>> 0 ? 1 : 0);
9154
9156
  },
9155
9157
  _doFinalize: function() {
9156
9158
  var x = this._data, h = x.words, v = this._nDataBytes * 8, b = x.sigBytes * 8;
@@ -12814,7 +12816,7 @@ function n2() {
12814
12816
  })(Nu);
12815
12817
  var r2 = Nu.exports;
12816
12818
  const Ac = /* @__PURE__ */ jo(r2), i2 = ({ data: e, action: t, project_id: n, handleCopied: r, handleTestData: i }) => {
12817
- const [a, o] = ve({}), [s, u] = ve(null), [c, l] = ve(!1);
12819
+ const [a, o] = Ce({}), [s, u] = Ce(null), [c, l] = Ce(!1);
12818
12820
  Tt(() => {
12819
12821
  let b = null;
12820
12822
  return c && (b = setTimeout(() => {
@@ -12969,25 +12971,27 @@ function R6(e) {
12969
12971
  isMainApp: f = !1,
12970
12972
  parentClassName: d,
12971
12973
  contentClassName: p,
12972
- ...x
12973
- } = e, [h, v] = ve("1"), [b, y] = ve(!1);
12974
+ expanded: x,
12975
+ setExpanded: h,
12976
+ ...v
12977
+ } = e, [b, y] = Ce("1");
12974
12978
  Tt(() => {
12975
- n && b && y(!1);
12979
+ n && x && h(!1);
12976
12980
  }, [n]);
12977
12981
  const g = (C, A) => {
12978
- v(A);
12982
+ y(A);
12979
12983
  };
12980
12984
  return /* @__PURE__ */ E.jsx(Zm, { isMainApp: f, className: d, children: /* @__PURE__ */ E.jsx(
12981
12985
  Xm,
12982
12986
  {
12983
- expanded: b,
12984
- onChange: () => y(!b),
12987
+ expanded: x,
12988
+ onChange: () => h(!x),
12985
12989
  title: /* @__PURE__ */ E.jsx(De, { value: "Data", weight: "bold" }),
12986
12990
  details: /* @__PURE__ */ E.jsxs(J, { width: "100%", px: 1, children: [
12987
12991
  /* @__PURE__ */ E.jsx(
12988
12992
  s1,
12989
12993
  {
12990
- value: h,
12994
+ value: b,
12991
12995
  tabs: [
12992
12996
  { label: "Parameters", value: "1" },
12993
12997
  { label: "Test Data", value: "2" }
@@ -12997,7 +13001,7 @@ function R6(e) {
12997
13001
  }
12998
13002
  ),
12999
13003
  /* @__PURE__ */ E.jsxs(Jm, { className: p, children: [
13000
- h === "1" && /* @__PURE__ */ E.jsx(
13004
+ b === "1" && /* @__PURE__ */ E.jsx(
13001
13005
  rg,
13002
13006
  {
13003
13007
  params: u,
@@ -13008,10 +13012,11 @@ function R6(e) {
13008
13012
  removeParameter: i,
13009
13013
  handleUpdateParam: a,
13010
13014
  dataSet: s,
13011
- disabledEdit: l
13015
+ disabledEdit: l,
13016
+ isMainApp: f
13012
13017
  }
13013
13018
  ),
13014
- h === "2" && /* @__PURE__ */ E.jsx(o2, { ...x })
13019
+ b === "2" && /* @__PURE__ */ E.jsx(o2, { ...v })
13015
13020
  ] })
13016
13021
  ] })
13017
13022
  }
@@ -13024,7 +13029,7 @@ const k6 = G(J)`
13024
13029
  `, M6 = G(J)`
13025
13030
  display: flex;
13026
13031
  flex-direction: column;
13027
- gap: 4px;
13032
+ gap: 2px;
13028
13033
  `, _6 = G(J)`
13029
13034
  height: 100%;
13030
13035
  display: flex;
@@ -13046,15 +13051,19 @@ const k6 = G(J)`
13046
13051
  flex: 1;
13047
13052
  display: flex;
13048
13053
  overflow-x: hidden;
13049
- padding: 0px 16px 16px 16px;
13054
+ padding: ${({ isMainApp: e }) => e ? "0px 16px" : "0px 16px 16px 16px"};
13050
13055
  overflow-y: auto;
13051
13056
  gap: 6px;
13052
13057
  flex-direction: column;
13058
+ p,
13059
+ span {
13060
+ font-size: 12px;
13061
+ }
13053
13062
  `, c2 = G.section`
13054
13063
  display: flex;
13055
13064
  transform: ${({ transform: e }) => e};
13056
13065
  transition: ${({ transition: e }) => e};
13057
- padding: 4px;
13066
+ padding: 2px;
13058
13067
  &:hover {
13059
13068
  background: var(--secondary-lightest);
13060
13069
  border-radius: 6px;
@@ -13066,10 +13075,11 @@ const k6 = G(J)`
13066
13075
  `, l2 = G.section`
13067
13076
  position: relative;
13068
13077
  display: flex;
13069
- align-items: flex-start;
13078
+ align-items: center;
13079
+ justify-content: center;
13070
13080
  `, u2 = G.div`
13071
- width: 18px;
13072
- height: 18px;
13081
+ width: 14px;
13082
+ height: 14px;
13073
13083
  border-radius: 50%;
13074
13084
  display: flex;
13075
13085
  justify-content: center;
@@ -13304,12 +13314,12 @@ const k6 = G(J)`
13304
13314
  openCollapse: e,
13305
13315
  arrowColor: t,
13306
13316
  ...n
13307
- }) => /* @__PURE__ */ E.jsx(l2, { children: n.noCollpase ? /* @__PURE__ */ E.jsx(Yl, { color: t, width: 18 }) : /* @__PURE__ */ E.jsx(u2, { ...n, children: /* @__PURE__ */ E.jsx(
13317
+ }) => /* @__PURE__ */ E.jsx(l2, { children: n.noCollpase ? /* @__PURE__ */ E.jsx(Yl, { color: t, width: 14 }) : /* @__PURE__ */ E.jsx(u2, { ...n, children: /* @__PURE__ */ E.jsx(
13308
13318
  Uo,
13309
13319
  {
13310
13320
  cursor: "pointer",
13311
13321
  color: t,
13312
- size: 12,
13322
+ size: 10,
13313
13323
  style: {
13314
13324
  transform: e ? "rotate(0deg)" : "rotate(-90deg)",
13315
13325
  transition: "transform 0.125s ease-in-out"
@@ -15585,7 +15595,7 @@ function Kc(e) {
15585
15595
  }), t;
15586
15596
  }
15587
15597
  const Av = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", root: u }) => {
15588
- const [c, l] = kf(o), f = dn(() => Kc(e), [e]), d = o && !c ? [] : f.map(Zr), p = ot(!0), x = ot(f), h = rs(() => /* @__PURE__ */ new Map()), [v, b] = ve(f), [y, g] = ve(f);
15598
+ const [c, l] = kf(o), f = dn(() => Kc(e), [e]), d = o && !c ? [] : f.map(Zr), p = ot(!0), x = ot(f), h = rs(() => /* @__PURE__ */ new Map()), [v, b] = Ce(f), [y, g] = Ce(f);
15589
15599
  Vu(() => {
15590
15600
  p.current = !1, x.current = f;
15591
15601
  for (let S = 0; S < y.length; S++) {
@@ -18543,7 +18553,7 @@ function d8({
18543
18553
  show: i,
18544
18554
  canClose: a = !0
18545
18555
  }) {
18546
- const [o, s] = ve({ top: 0, left: 0 }), [u, c] = ve(
18556
+ const [o, s] = Ce({ top: 0, left: 0 }), [u, c] = Ce(
18547
18557
  "bottom"
18548
18558
  ), l = e[t], f = l == null ? void 0 : l.targetRef;
18549
18559
  if (Tt(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dev-blinq/ui-systems",
3
3
  "description": "this package contains all ui components like button, input, checkbox, colors that blinq.io needs",
4
- "version": "1.0.110",
4
+ "version": "1.0.111",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",