@dev-blinq/ui-systems 1.0.110 → 1.0.112

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,26 @@ 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
- disabledEdit: o
7120
+ disabledEdit: o,
7121
+ isMainApp: s
7120
7122
  }
7121
- ) }, u)) }),
7123
+ ) }, c)) }),
7122
7124
  /* @__PURE__ */ E.jsx(
7123
7125
  Im,
7124
7126
  {
7125
7127
  variant: "outlined",
7126
- sx: { my: 2 },
7128
+ sx: { mt: 2, mb: s ? 0 : 2 },
7127
7129
  startIcon: /* @__PURE__ */ E.jsx(Jh, {}),
7128
7130
  fullWidth: !0,
7131
+ size: "small",
7129
7132
  onClick: e,
7130
7133
  disabled: o,
7131
7134
  children: "Add Parameter"
@@ -7142,23 +7145,24 @@ const Zm = G.div`
7142
7145
  mask: s,
7143
7146
  disabled: u,
7144
7147
  ParamErrors: c,
7145
- disabledEdit: l
7146
- } = e, f = ot(null), [d, p] = ve(!1);
7148
+ disabledEdit: l,
7149
+ isMainApp: f
7150
+ } = e, d = ot(null), [p, x] = Ce(!1);
7147
7151
  Tt(() => {
7148
- var b;
7149
- (b = f.current) == null || b.scrollIntoView({ behavior: "smooth", block: "nearest" });
7152
+ var y;
7153
+ !f && ((y = d.current) == null || y.scrollIntoView({ behavior: "smooth", block: "nearest" }));
7150
7154
  }, []);
7151
- const x = () => {
7152
- p(!d);
7153
- }, h = ot(null), v = ot(null);
7154
- return /* @__PURE__ */ E.jsxs(J, { ref: f, display: "flex", width: "100%", flexDirection: "column", children: [
7155
+ const h = () => {
7156
+ x(!p);
7157
+ }, v = ot(null), b = ot(null);
7158
+ return /* @__PURE__ */ E.jsxs(J, { ref: d, display: "flex", width: "100%", flexDirection: "column", children: [
7155
7159
  /* @__PURE__ */ E.jsxs($r, { sx: { flexGrow: 1 }, container: !0, spacing: 1, children: [
7156
7160
  /* @__PURE__ */ E.jsx($r, { size: 5.4, children: /* @__PURE__ */ E.jsx(
7157
7161
  yr,
7158
7162
  {
7159
- ref: h,
7163
+ ref: v,
7160
7164
  value: t,
7161
- onChange: (b) => n == null ? void 0 : n(r, b.target.value, a || ""),
7165
+ onChange: (y) => n == null ? void 0 : n(r, y.target.value, a || ""),
7162
7166
  size: "small",
7163
7167
  noBorder: !0,
7164
7168
  error: i,
@@ -7170,14 +7174,14 @@ const Zm = G.div`
7170
7174
  /* @__PURE__ */ E.jsx($r, { size: 5.4, children: /* @__PURE__ */ E.jsx(
7171
7175
  yr,
7172
7176
  {
7173
- ref: v,
7177
+ ref: b,
7174
7178
  value: a,
7175
7179
  size: "small",
7176
- type: s && !d ? "password" : "text",
7177
- onChange: (b) => n == null ? void 0 : n(r, t, b.target.value, s),
7180
+ type: s && !p ? "password" : "text",
7181
+ onChange: (y) => n == null ? void 0 : n(r, t, y.target.value, s),
7178
7182
  noBorder: !0,
7179
7183
  placeholder: "parameter_value",
7180
- endIcon: s ? d ? /* @__PURE__ */ E.jsx(Zh, { onClick: x, size: 12 }) : /* @__PURE__ */ E.jsx(Xh, { onClick: x, size: 12 }) : "",
7184
+ endIcon: s ? p ? /* @__PURE__ */ E.jsx(Zh, { onClick: h, size: 12 }) : /* @__PURE__ */ E.jsx(Xh, { onClick: h, size: 12 }) : "",
7181
7185
  disabled: l
7182
7186
  }
7183
7187
  ) }),
@@ -9139,7 +9143,7 @@ function ju() {
9139
9143
  ]);
9140
9144
  },
9141
9145
  _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++) {
9146
+ 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
9147
  var $e, yt, gn = d[Ze];
9144
9148
  if (Ze < 16)
9145
9149
  yt = gn.high = x[h + Ze * 2] | 0, $e = gn.low = x[h + Ze * 2 + 1] | 0;
@@ -9147,10 +9151,10 @@ function ju() {
9147
9151
  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
9152
  $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
9153
  }
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;
9154
+ 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);
9155
+ 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
9156
  }
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);
9157
+ 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
9158
  },
9155
9159
  _doFinalize: function() {
9156
9160
  var x = this._data, h = x.words, v = this._nDataBytes * 8, b = x.sigBytes * 8;
@@ -12814,7 +12818,7 @@ function n2() {
12814
12818
  })(Nu);
12815
12819
  var r2 = Nu.exports;
12816
12820
  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);
12821
+ const [a, o] = Ce({}), [s, u] = Ce(null), [c, l] = Ce(!1);
12818
12822
  Tt(() => {
12819
12823
  let b = null;
12820
12824
  return c && (b = setTimeout(() => {
@@ -12969,25 +12973,27 @@ function R6(e) {
12969
12973
  isMainApp: f = !1,
12970
12974
  parentClassName: d,
12971
12975
  contentClassName: p,
12972
- ...x
12973
- } = e, [h, v] = ve("1"), [b, y] = ve(!1);
12976
+ expanded: x,
12977
+ setExpanded: h,
12978
+ ...v
12979
+ } = e, [b, y] = Ce("1");
12974
12980
  Tt(() => {
12975
- n && b && y(!1);
12981
+ n && x && h(!1);
12976
12982
  }, [n]);
12977
12983
  const g = (C, A) => {
12978
- v(A);
12984
+ y(A);
12979
12985
  };
12980
12986
  return /* @__PURE__ */ E.jsx(Zm, { isMainApp: f, className: d, children: /* @__PURE__ */ E.jsx(
12981
12987
  Xm,
12982
12988
  {
12983
- expanded: b,
12984
- onChange: () => y(!b),
12989
+ expanded: x,
12990
+ onChange: () => h(!x),
12985
12991
  title: /* @__PURE__ */ E.jsx(De, { value: "Data", weight: "bold" }),
12986
12992
  details: /* @__PURE__ */ E.jsxs(J, { width: "100%", px: 1, children: [
12987
12993
  /* @__PURE__ */ E.jsx(
12988
12994
  s1,
12989
12995
  {
12990
- value: h,
12996
+ value: b,
12991
12997
  tabs: [
12992
12998
  { label: "Parameters", value: "1" },
12993
12999
  { label: "Test Data", value: "2" }
@@ -12997,7 +13003,7 @@ function R6(e) {
12997
13003
  }
12998
13004
  ),
12999
13005
  /* @__PURE__ */ E.jsxs(Jm, { className: p, children: [
13000
- h === "1" && /* @__PURE__ */ E.jsx(
13006
+ b === "1" && /* @__PURE__ */ E.jsx(
13001
13007
  rg,
13002
13008
  {
13003
13009
  params: u,
@@ -13008,10 +13014,11 @@ function R6(e) {
13008
13014
  removeParameter: i,
13009
13015
  handleUpdateParam: a,
13010
13016
  dataSet: s,
13011
- disabledEdit: l
13017
+ disabledEdit: l,
13018
+ isMainApp: f
13012
13019
  }
13013
13020
  ),
13014
- h === "2" && /* @__PURE__ */ E.jsx(o2, { ...x })
13021
+ b === "2" && /* @__PURE__ */ E.jsx(o2, { ...v })
13015
13022
  ] })
13016
13023
  ] })
13017
13024
  }
@@ -13024,7 +13031,7 @@ const k6 = G(J)`
13024
13031
  `, M6 = G(J)`
13025
13032
  display: flex;
13026
13033
  flex-direction: column;
13027
- gap: 4px;
13034
+ gap: 2px;
13028
13035
  `, _6 = G(J)`
13029
13036
  height: 100%;
13030
13037
  display: flex;
@@ -13046,15 +13053,19 @@ const k6 = G(J)`
13046
13053
  flex: 1;
13047
13054
  display: flex;
13048
13055
  overflow-x: hidden;
13049
- padding: 0px 16px 16px 16px;
13056
+ padding: ${({ isMainApp: e }) => e ? "0px 16px" : "0px 16px 16px 16px"};
13050
13057
  overflow-y: auto;
13051
13058
  gap: 6px;
13052
13059
  flex-direction: column;
13060
+ p,
13061
+ span {
13062
+ font-size: 12px;
13063
+ }
13053
13064
  `, c2 = G.section`
13054
13065
  display: flex;
13055
13066
  transform: ${({ transform: e }) => e};
13056
13067
  transition: ${({ transition: e }) => e};
13057
- padding: 4px;
13068
+ padding: 1px;
13058
13069
  &:hover {
13059
13070
  background: var(--secondary-lightest);
13060
13071
  border-radius: 6px;
@@ -13066,10 +13077,9 @@ const k6 = G(J)`
13066
13077
  `, l2 = G.section`
13067
13078
  position: relative;
13068
13079
  display: flex;
13069
- align-items: flex-start;
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;
@@ -13086,7 +13096,7 @@ const k6 = G(J)`
13086
13096
  grid-template-columns: 1fr max-content;
13087
13097
  width: 100%;
13088
13098
  background: ${({ isDraggingNeighbouring: e }) => e ? "var(--color-primary-5)" : "inherit"};
13089
- border-radius: ${({ isDraggingNeighbouring: e }) => e ? "16px" : "0"};
13099
+ border-radius: ${({ isDraggingNeighbouring: e }) => e ? "8px" : "0"};
13090
13100
  `, N6 = G.ul`
13091
13101
  display: flex;
13092
13102
  flex-direction: column;
@@ -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.112",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",