@abdellatifui/react 3.1.5 → 3.1.6

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/nextgen.d.ts CHANGED
@@ -69,6 +69,8 @@ export { Body_2 as Body }
69
69
 
70
70
  export declare const Button: default_2.MemoExoticComponent<default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>>;
71
71
 
72
+ export declare function capitalizeFirstLetter(string: any): any;
73
+
72
74
  export declare const CloseButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
73
75
 
74
76
  export declare function cn(...inputs: ClassValue[]): string;
@@ -90,6 +92,8 @@ declare type ContextMenuProps = {
90
92
  };
91
93
  };
92
94
 
95
+ export declare const convertNumberToArray: (number: any) => unknown[];
96
+
93
97
  export declare function convertTimestampToDate(timestamp: any): string;
94
98
 
95
99
  export declare const CopyButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
@@ -144,6 +148,8 @@ export declare const Frequency: ForwardRefExoticComponent<RefAttributes<unknown>
144
148
 
145
149
  export declare const GetRandomStr: (length?: number, str?: boolean) => string;
146
150
 
151
+ export declare const getWholeSpectrum: () => any[];
152
+
147
153
  export declare function Headline(props: any): JSX_2.Element;
148
154
 
149
155
  export declare const HelpPopover: (props: any) => JSX_2.Element;
package/dist/nextgen.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as E from "react";
2
2
  import Ve, { useContext as lt, useState as ne, useRef as Pe, useEffect as pe, forwardRef as Ce, createElement as me, useCallback as Ye, createContext as on, useMemo as rt, useLayoutEffect as Fc, Children as Vo, isValidElement as Bo, cloneElement as gi, Fragment as Ba, useReducer as M0, memo as en, useImperativeHandle as ps, PureComponent as $$, useId as A$, useInsertionEffect as O$, Component as j0 } from "react";
3
3
  import { cva as St } from "class-variance-authority";
4
- import { cva as gY } from "class-variance-authority";
4
+ import { cva as yY } from "class-variance-authority";
5
5
  import xt, { clsx as R$ } from "clsx";
6
6
  import { twMerge as N$ } from "tailwind-merge";
7
7
  import { Zoom as k$, Tooltip as D$, MenuItem as _$, TableContainer as M$, Paper as j$, Table as I$, TableHead as L$, TableRow as Pg, TableCell as yl, TableBody as F$, Checkbox as V$, Radio as B$ } from "@mui/material";
@@ -11398,7 +11398,13 @@ function EK(e, t, n = 1) {
11398
11398
  r.push(o);
11399
11399
  return r;
11400
11400
  }
11401
- function TK(e) {
11401
+ const TK = (e) => Array.from({ length: e }), PK = () => {
11402
+ const e = [];
11403
+ for (let t = 0; t < 768; t++)
11404
+ e.push((9127.5 + t * 0.625).toFixed(3));
11405
+ return e;
11406
+ };
11407
+ function $K(e) {
11402
11408
  return new Date(e * 1e3).toLocaleString();
11403
11409
  }
11404
11410
  const OD = (e) => {
@@ -12054,7 +12060,7 @@ const Df = 4, T_ = ({ connections: e = [], mapApi: t, options: n, selectedConn:
12054
12060
  }, ji = (e) => {
12055
12061
  const [t, n, r] = e.match(/\w\w/g).map((o) => parseInt(o, 16));
12056
12062
  return [t, n, r];
12057
- }, PK = (e, t, n, r, o, i) => ({
12063
+ }, AK = (e, t, n, r, o, i) => ({
12058
12064
  name: e,
12059
12065
  color: n,
12060
12066
  id: t,
@@ -12063,7 +12069,7 @@ const Df = 4, T_ = ({ connections: e = [], mapApi: t, options: n, selectedConn:
12063
12069
  lng: r,
12064
12070
  lat: o
12065
12071
  }
12066
- }), $K = (e, t, n, r, o, i, s) => ({
12072
+ }), OK = (e, t, n, r, o, i, s) => ({
12067
12073
  name: e,
12068
12074
  id: t,
12069
12075
  details: s || {},
@@ -12317,7 +12323,7 @@ const O_ = Ce((e, t) => {
12317
12323
  ]
12318
12324
  }
12319
12325
  ) });
12320
- }), AK = en(O_);
12326
+ }), RK = en(O_);
12321
12327
  function Q1(e, t = []) {
12322
12328
  let n = [];
12323
12329
  function r(i, s) {
@@ -12940,7 +12946,7 @@ function y2(e) {
12940
12946
  const t = E.useContext(v2);
12941
12947
  return e || t || "ltr";
12942
12948
  }
12943
- var kr = "Accordion", b2 = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Ph, x2, C2] = j_(kr), [ou, OK] = Q1(kr, [
12949
+ var kr = "Accordion", b2 = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Ph, x2, C2] = j_(kr), [ou, NK] = Q1(kr, [
12944
12950
  C2,
12945
12951
  iC
12946
12952
  ]), $h = iC(), uC = Ve.forwardRef(
@@ -13191,7 +13197,7 @@ const Nh = E.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
13191
13197
  }
13192
13198
  ));
13193
13199
  Nh.displayName = wC.displayName;
13194
- const EC = on({}), RK = (e) => {
13200
+ const EC = on({}), kK = (e) => {
13195
13201
  const {
13196
13202
  multiple: t = !1,
13197
13203
  children: n,
@@ -13220,7 +13226,7 @@ const EC = on({}), RK = (e) => {
13220
13226
  false: "border-none"
13221
13227
  }
13222
13228
  }
13223
- }), NK = (e) => {
13229
+ }), DK = (e) => {
13224
13230
  const t = br(5, !1, !1), n = Pe(), r = Pe(), {
13225
13231
  value: o = t,
13226
13232
  children: i,
@@ -18350,10 +18356,10 @@ const K5 = St(
18350
18356
  }
18351
18357
  }
18352
18358
  }
18353
- ), kK = Ce((e, t) => {
18359
+ ), _K = Ce((e, t) => {
18354
18360
  const { className: n, children: r, padding: o, style: i = {} } = e;
18355
18361
  return /* @__PURE__ */ w.jsx("div", { style: i, ref: t, className: Ee(X5({ padding: o }), n), children: r });
18356
- }), DK = Ce((e, t) => {
18362
+ }), MK = Ce((e, t) => {
18357
18363
  const { children: n } = e;
18358
18364
  return /* @__PURE__ */ w.jsx("div", { ref: t, className: "relative h-screen w-screen", children: n });
18359
18365
  }), Yh = E.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ w.jsx(
@@ -18469,7 +18475,7 @@ function rL(e, t) {
18469
18475
  return o ?? n;
18470
18476
  }, e);
18471
18477
  }
18472
- const $w = "ScrollArea", [Aw, _K] = hs($w), [oL, Sr] = Aw($w), iL = /* @__PURE__ */ Ce((e, t) => {
18478
+ const $w = "ScrollArea", [Aw, jK] = hs($w), [oL, Sr] = Aw($w), iL = /* @__PURE__ */ Ce((e, t) => {
18473
18479
  const { __scopeScrollArea: n, type: r = "hover", dir: o, scrollHideDelay: i = 600, ...s } = e, [a, l] = ne(null), [c, f] = ne(null), [d, p] = ne(null), [y, b] = ne(null), [g, v] = ne(null), [x, S] = ne(0), [A, O] = ne(0), [T, k] = ne(!1), [m, _] = ne(!1), M = un(
18474
18480
  t,
18475
18481
  (B) => l(B)
@@ -19267,7 +19273,7 @@ const RL = St(
19267
19273
  }
19268
19274
  }
19269
19275
  ) });
19270
- }), kL = "AlertDialog", [DL, MK] = hs(kL, [
19276
+ }), kL = "AlertDialog", [DL, IK] = hs(kL, [
19271
19277
  Sx
19272
19278
  ]), Qo = Sx(), _L = (e) => {
19273
19279
  const { __scopeAlertDialog: t, ...n } = e, r = Qo(t);
@@ -19449,7 +19455,7 @@ const Zh = on({}), tF = St(
19449
19455
  children: i
19450
19456
  }
19451
19457
  ) }) });
19452
- }), jK = on({}), nF = Ce((e, t) => {
19458
+ }), LK = on({}), nF = Ce((e, t) => {
19453
19459
  const {
19454
19460
  children: n,
19455
19461
  header: r,
@@ -19501,7 +19507,7 @@ const Zh = on({}), tF = St(
19501
19507
  bodyColor: "#292c2e",
19502
19508
  bodyTextColor: "#b1bdc6"
19503
19509
  };
19504
- function IK(e) {
19510
+ function FK(e) {
19505
19511
  const { sx: t } = e, [n, r] = ne([]), [o, i] = ne(xy), [s, a] = ne("small"), {
19506
19512
  header: l = "Item",
19507
19513
  value: c = "Value",
@@ -19549,7 +19555,7 @@ function aF(e) {
19549
19555
  e
19550
19556
  ]);
19551
19557
  }
19552
- const Zw = "Switch", [lF, LK] = hs(Zw), [cF, uF] = lF(Zw), fF = /* @__PURE__ */ Ce((e, t) => {
19558
+ const Zw = "Switch", [lF, VK] = hs(Zw), [cF, uF] = lF(Zw), fF = /* @__PURE__ */ Ce((e, t) => {
19553
19559
  const { __scopeSwitch: n, name: r, checked: o, defaultChecked: i, required: s, disabled: a, value: l = "on", onCheckedChange: c, ...f } = e, [d, p] = ne(null), y = un(
19554
19560
  t,
19555
19561
  (S) => p(S)
@@ -20234,7 +20240,7 @@ const _F = Ce((e, t) => {
20234
20240
  )
20235
20241
  }
20236
20242
  );
20237
- }), Ec = en(_F), FK = Ce((e, t) => {
20243
+ }), Ec = en(_F), BK = Ce((e, t) => {
20238
20244
  const { onClick: n } = e;
20239
20245
  return /* @__PURE__ */ w.jsx(
20240
20246
  _n,
@@ -20301,7 +20307,7 @@ const _F = Ce((e, t) => {
20301
20307
  ] })
20302
20308
  }
20303
20309
  );
20304
- }), VK = en(jF), cS = E.forwardRef(
20310
+ }), zK = en(jF), cS = E.forwardRef(
20305
20311
  ({ className: e, type: t, ...n }, r) => /* @__PURE__ */ w.jsx(
20306
20312
  "input",
20307
20313
  {
@@ -20918,7 +20924,7 @@ function $S(e, t, n, { discrete: r }) {
20918
20924
  const o = n.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
20919
20925
  t && o.addEventListener(e, t, { once: !0 }), r ? qF(o, i) : o.dispatchEvent(i);
20920
20926
  }
20921
- var Gf, om = "HoverCard", [AS, BK] = uS(om, [
20927
+ var Gf, om = "HoverCard", [AS, WK] = uS(om, [
20922
20928
  mS
20923
20929
  ]), wu = mS(), [v3, im] = AS(om), OS = (e) => {
20924
20930
  const {
@@ -20975,7 +20981,7 @@ var RS = "HoverCardTrigger", NS = E.forwardRef(
20975
20981
  }
20976
20982
  );
20977
20983
  NS.displayName = RS;
20978
- var y3 = "HoverCardPortal", [zK, b3] = AS(y3, {
20984
+ var y3 = "HoverCardPortal", [HK, b3] = AS(y3, {
20979
20985
  forceMount: void 0
20980
20986
  }), Tc = "HoverCardContent", kS = E.forwardRef(
20981
20987
  (e, t) => {
@@ -21249,7 +21255,7 @@ const P3 = St("overflow-visible flex pr-2 font-Roboto text-gray-500", {
21249
21255
  for (let t = 0; t < 768; t++)
21250
21256
  e.push((9127.5 + t * 0.625).toFixed(3));
21251
21257
  return e;
21252
- }, Ey = O3(), WK = Ce((e, t) => {
21258
+ }, Ey = O3(), UK = Ce((e, t) => {
21253
21259
  const { onChange: n } = e, r = t || Pe({}), [o, i] = ne({
21254
21260
  state: null,
21255
21261
  message: null
@@ -22757,7 +22763,7 @@ function pm(e = {}) {
22757
22763
  };
22758
22764
  }
22759
22765
  pm.globalOptions = void 0;
22760
- const HK = Ce((e, t) => {
22766
+ const qK = Ce((e, t) => {
22761
22767
  const { items: n, autoplay: r, delay: o } = e, i = () => r ? [pm({ delay: o || 2e3 })] : [];
22762
22768
  return /* @__PURE__ */ w.jsx("div", { ref: t, className: "w-[calc(100%-200px)] h-full flex items-center ml-20 rounded-t-xl relative", children: /* @__PURE__ */ w.jsxs(BS, { plugins: i(), className: "w-full h-full", children: [
22763
22769
  /* @__PURE__ */ w.jsx(zS, { children: n.map((s, a) => /* @__PURE__ */ w.jsxs(WS, { children: [
@@ -23126,7 +23132,7 @@ const b6 = Array(1e3).fill().map((e, t) => `Item ${t + 1}`), x6 = ({ index: e, s
23126
23132
  /* @__PURE__ */ w.jsx(jS, { value: n, type: "email" }),
23127
23133
  b6[e]
23128
23134
  ] });
23129
- }, UK = Ce((e, t) => /* @__PURE__ */ w.jsx("div", { ...e, ref: t, children: /* @__PURE__ */ w.jsx(
23135
+ }, KK = Ce((e, t) => /* @__PURE__ */ w.jsx("div", { ...e, ref: t, children: /* @__PURE__ */ w.jsx(
23130
23136
  y6,
23131
23137
  {
23132
23138
  height: 400,
@@ -26164,7 +26170,7 @@ const ym = on({}), yV = Ce((e, t) => {
26164
26170
  )
26165
26171
  }
26166
26172
  );
26167
- }), qK = en(yV);
26173
+ }), YK = en(yV);
26168
26174
  function bV(e) {
26169
26175
  const [t, n] = ne("16px"), [r, o] = ne("none"), [i, s] = ne({}), [a, l] = ne("nokia_pure_headlineregular");
26170
26176
  return pe(() => {
@@ -26182,7 +26188,7 @@ const xV = () => {
26182
26188
  Promise.all(e).then(() => {
26183
26189
  qy = !0;
26184
26190
  }).catch(console.warn);
26185
- }, KK = () => {
26191
+ }, GK = () => {
26186
26192
  const e = ["mousedown", "touchstart", "keydown"], t = () => {
26187
26193
  xV(), e.forEach((n) => {
26188
26194
  document.removeEventListener(n, t);
@@ -31217,7 +31223,7 @@ const l9 = (e) => {
31217
31223
  i && n((s) => [...s, i]);
31218
31224
  }
31219
31225
  }, [e]), [t, n];
31220
- }, Tm = on({}), GK = Ce((e, t) => {
31226
+ }, Tm = on({}), QK = Ce((e, t) => {
31221
31227
  const {
31222
31228
  dialog: n = {}
31223
31229
  } = e, [r] = l9(n);
@@ -31808,7 +31814,7 @@ function D9(e, t, n) {
31808
31814
  [t]
31809
31815
  );
31810
31816
  }
31811
- const { schedule: Rm, cancel: XK } = /* @__PURE__ */ zE(queueMicrotask, !1), Nm = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), _9 = "framerAppearId", qE = "data-" + Nm(_9), KE = on({});
31817
+ const { schedule: Rm, cancel: ZK } = /* @__PURE__ */ zE(queueMicrotask, !1), Nm = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), _9 = "framerAppearId", qE = "data-" + Nm(_9), KE = on({});
31812
31818
  function M9(e, t, n, r, o) {
31813
31819
  var i, s;
31814
31820
  const { visualElement: a } = lt(Hu), l = lt(WE), c = lt($m), f = lt(BE).reducedMotion, d = Pe(null);
@@ -36392,7 +36398,7 @@ const KU = (e, t) => Im(e) ? new qU(t) : new UU(t, {
36392
36398
  ] }) })
36393
36399
  }
36394
36400
  );
36395
- }), ZK = Ce((e, t) => {
36401
+ }), eY = Ce((e, t) => {
36396
36402
  const {
36397
36403
  item: n,
36398
36404
  duration: r = 3e3
@@ -36407,7 +36413,7 @@ const KU = (e, t) => Im(e) ? new qU(t) : new UU(t, {
36407
36413
  ));
36408
36414
  }, [n, o]), /* @__PURE__ */ w.jsx(hA, {});
36409
36415
  }), mP = on({ name: "", onChange: () => {
36410
- } }), JK = (e) => {
36416
+ } }), tY = (e) => {
36411
36417
  const t = Pe(null), n = Ei(), r = Pe(null), { name: o, onChange: i } = lt(mP), {
36412
36418
  children: s,
36413
36419
  header: a,
@@ -36508,7 +36514,7 @@ const KU = (e, t) => Im(e) ? new qU(t) : new UU(t, {
36508
36514
  ]
36509
36515
  }
36510
36516
  );
36511
- }, JU = St("relative flex space-x-1", {}), eY = Ce((e, t) => {
36517
+ }, JU = St("relative flex space-x-1", {}), nY = Ce((e, t) => {
36512
36518
  const {
36513
36519
  children: n,
36514
36520
  onChange: r = () => {
@@ -36524,7 +36530,7 @@ const KU = (e, t) => Im(e) ? new qU(t) : new UU(t, {
36524
36530
  d.preventDefault(), o(l.event, l.checked, l);
36525
36531
  };
36526
36532
  return /* @__PURE__ */ w.jsx(mP.Provider, { value: { name: a, onChange: c }, children: /* @__PURE__ */ w.jsx("div", { style: s || {}, onContextMenu: o ? f : null, id: a, className: Ee(JU(), i), name: name || a, children: n }) });
36527
- }), tY = (e) => {
36533
+ }), rY = (e) => {
36528
36534
  const {
36529
36535
  baseUrl: t = "/",
36530
36536
  token: n,
@@ -37040,7 +37046,7 @@ function Pq(e) {
37040
37046
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
37041
37047
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
37042
37048
  }
37043
- var sg = "Tabs", [$q, nY] = og(sg, [
37049
+ var sg = "Tabs", [$q, oY] = og(sg, [
37044
37050
  CP
37045
37051
  ]), $P = CP(), [Aq, ag] = $q(sg), AP = E.forwardRef(
37046
37052
  (e, t) => {
@@ -37259,7 +37265,7 @@ const Nq = St("relative w-fit data-[state=active]:font-normal text-[13px] font-R
37259
37265
  full: "w-full h-full"
37260
37266
  }
37261
37267
  }
37262
- }), rY = Ce((e, t) => {
37268
+ }), iY = Ce((e, t) => {
37263
37269
  const [n, r] = ne(void 0), o = Pe([]), i = Pe(), [s, a] = ne({ left: 0, top: 0, width: 0, opacity: 0 }), [l] = em(i || {}), c = br(8, !1, !1), {
37264
37270
  tabs: f = [],
37265
37271
  onChange: d = () => {
@@ -37351,7 +37357,7 @@ const Nq = St("relative w-fit data-[state=active]:font-normal text-[13px] font-R
37351
37357
  return A.tabs = f, A.props = e, /* @__PURE__ */ w.jsx(zP, { id: O, value: A.value, className: "m-0 p-0", children: A.content }, "__" + A.value || xv());
37352
37358
  }) }) : null
37353
37359
  ] });
37354
- }), oY = Ce((e, t) => {
37360
+ }), sY = Ce((e, t) => {
37355
37361
  const n = Ei(), [r, o] = ne(null), [i, s] = ne(null), [a, l] = ne(null), [c, f] = ne(null), {
37356
37362
  resize: d = "both"
37357
37363
  } = e, p = (b, g) => {
@@ -37411,7 +37417,7 @@ const Nq = St("relative w-fit data-[state=active]:font-normal text-[13px] font-R
37411
37417
  false: "[&_.css9231]:hidden"
37412
37418
  }
37413
37419
  }
37414
- }), iY = (e) => {
37420
+ }), aY = (e) => {
37415
37421
  const {
37416
37422
  variant: t = "primary",
37417
37423
  className: n,
@@ -37439,7 +37445,7 @@ const Nq = St("relative w-fit data-[state=active]:font-normal text-[13px] font-R
37439
37445
  secondary: "text-gray-600"
37440
37446
  }
37441
37447
  }
37442
- }), sY = (e) => {
37448
+ }), lY = (e) => {
37443
37449
  const {
37444
37450
  size: t = "m",
37445
37451
  info: n,
@@ -37491,7 +37497,7 @@ const Nq = St("relative w-fit data-[state=active]:font-normal text-[13px] font-R
37491
37497
  }
37492
37498
  )
37493
37499
  ] });
37494
- }, aY = en(Iq), lY = (e = {}) => {
37500
+ }, cY = en(Iq), uY = (e = {}) => {
37495
37501
  const [t, n] = ne(e);
37496
37502
  function r(i, s) {
37497
37503
  n((a) => ({ ...a, [i]: s }));
@@ -37500,7 +37506,7 @@ const Nq = St("relative w-fit data-[state=active]:font-normal text-[13px] font-R
37500
37506
  return t[i];
37501
37507
  }
37502
37508
  return [t, r, o, n];
37503
- }, cY = (e = {}) => {
37509
+ }, fY = (e = {}) => {
37504
37510
  const [t, n] = ne(e);
37505
37511
  function r(i, s) {
37506
37512
  n((a) => ({ ...a, [i]: s }));
@@ -37527,7 +37533,7 @@ function Lq({ dataset: e = [] }) {
37527
37533
  }
37528
37534
  }, [e]), [t, n];
37529
37535
  }
37530
- const uY = (e) => {
37536
+ const dY = (e) => {
37531
37537
  const {
37532
37538
  dataset: t = []
37533
37539
  } = e, [n, r] = Lq({ dataset: t }), [o, i] = ne([]), [s, a] = ne({}), [l, c] = ne(
@@ -37780,7 +37786,7 @@ const Xq = St(
37780
37786
  }
37781
37787
  ));
37782
37788
  KP.displayName = qP.displayName;
37783
- const YP = on({}), fY = (e) => {
37789
+ const YP = on({}), pY = (e) => {
37784
37790
  const {
37785
37791
  singleSelection: t = !0,
37786
37792
  onChange: n = () => {
@@ -37813,7 +37819,7 @@ const YP = on({}), fY = (e) => {
37813
37819
  true: "cursor-not-allowed opacity-50 hover:bg-transparent"
37814
37820
  }
37815
37821
  }
37816
- }), dY = (e) => {
37822
+ }), hY = (e) => {
37817
37823
  const t = Pe({}), n = br(8, !1, !0), {
37818
37824
  rootref: r,
37819
37825
  api_groupChange: o,
@@ -37952,80 +37958,83 @@ function eK() {
37952
37958
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
37953
37959
  return e.length !== t.length || e.some((n, r) => !Object.is(n, t[r]));
37954
37960
  }
37955
- const pY = (e) => {
37961
+ const mY = (e) => {
37956
37962
  const {
37957
37963
  children: t
37958
37964
  } = e;
37959
37965
  return /* @__PURE__ */ w.jsx(Jq, { fallbackRender: /* @__PURE__ */ w.jsx("div", { children: "Something went wrong" }), children: t });
37960
37966
  };
37961
37967
  export {
37962
- RK as AccordionGroup,
37963
- NK as AccordionItem,
37964
- GK as Alert,
37965
- jK as AppContext,
37968
+ kK as AccordionGroup,
37969
+ DK as AccordionItem,
37970
+ QK as Alert,
37971
+ LK as AppContext,
37966
37972
  Yk as AutoComplete,
37967
- kK as Body,
37973
+ _K as Body,
37968
37974
  ga as Button,
37969
37975
  rF as CloseButton,
37970
- VK as Container,
37976
+ zK as Container,
37971
37977
  Ec as ContextMenu,
37972
37978
  xw as CopyButton,
37973
- qK as DataTable,
37979
+ YK as DataTable,
37974
37980
  nF as DialogPanel,
37975
- pY as ErrorBoundry,
37976
- DK as Frame,
37977
- WK as Frequency,
37981
+ mY as ErrorBoundry,
37982
+ MK as Frame,
37983
+ UK as Frequency,
37978
37984
  xv as GetRandomStr,
37979
37985
  bV as Headline,
37980
- sY as HelpPopover,
37986
+ lY as HelpPopover,
37981
37987
  G5 as HorizontalDiv,
37982
37988
  _n as IconButton,
37983
- IK as InformationTableMui,
37989
+ FK as InformationTableMui,
37984
37990
  $1 as InlineSpinner,
37985
37991
  jS as Input,
37986
37992
  fc as Label,
37987
37993
  tD as MainHeader,
37988
- FK as MenuButton,
37994
+ BK as MenuButton,
37989
37995
  Cu as Model,
37990
37996
  Zh as ModelContext,
37991
- uY as MuiTable,
37992
- AK as NetworkMap,
37997
+ dY as MuiTable,
37998
+ RK as NetworkMap,
37993
37999
  S6 as NgFailedLegend,
37994
38000
  w6 as NgSuccessLegend,
37995
38001
  Ww as Panel,
37996
- iY as PropItem,
37997
- eY as RadioGroup,
37998
- JK as RadioItem,
38002
+ aY as PropItem,
38003
+ nY as RadioGroup,
38004
+ tY as RadioItem,
37999
38005
  SK as ScrolBarStyle,
38000
38006
  Jh as ScrollArea,
38001
38007
  Zp as Spinner,
38002
38008
  Gk as SpinnerDialog,
38003
- aY as SplitButton,
38009
+ cY as SplitButton,
38004
38010
  nD as SubHeader,
38005
38011
  Hw as SwapIconButton,
38006
38012
  yF as Switch,
38007
- rY as Tabs,
38008
- oY as TextArea,
38013
+ iY as Tabs,
38014
+ sY as TextArea,
38009
38015
  $3 as TinnyHelp,
38010
- ZK as Toast,
38011
- fY as ToggleGroup,
38012
- dY as ToggleItem,
38016
+ eY as Toast,
38017
+ pY as ToggleGroup,
38018
+ hY as ToggleItem,
38013
38019
  mh as Tooltip,
38014
- UK as VirtualContainer,
38015
- HK as Whatsnew,
38020
+ KK as VirtualContainer,
38021
+ qK as Whatsnew,
38022
+ AD as capitalizeFirstLetter,
38016
38023
  Ee as cn,
38017
- TK as convertTimestampToDate,
38018
- $K as createDefaultConnTemplate,
38019
- PK as createDefaultNodeTempate,
38020
- gY as cva,
38024
+ TK as convertNumberToArray,
38025
+ $K as convertTimestampToDate,
38026
+ OK as createDefaultConnTemplate,
38027
+ AK as createDefaultNodeTempate,
38028
+ yY as cva,
38029
+ PK as getWholeSpectrum,
38021
38030
  ji as hex2rgb,
38022
38031
  xV as loadFonts,
38023
- KK as loadFontsOnInteraction,
38032
+ GK as loadFontsOnInteraction,
38024
38033
  EK as range,
38025
- tY as useApi,
38034
+ rY as useApi,
38026
38035
  em as useBoxSize,
38027
38036
  br as useGeneratedId,
38028
38037
  Ei as useRandomId,
38029
- lY as useStore,
38030
- cY as useVariable
38038
+ uY as useStore,
38039
+ fY as useVariable
38031
38040
  };
@@ -38,7 +38,7 @@ export { Whatsnew } from './WhatsNew/Whatsnew';
38
38
  export { VirtualContainer } from './Containers/VirtualContainer';
39
39
  export { DataTable } from './Tables/NextGen';
40
40
  export { Headline } from './Paragraph/Headlines/Headline/Headline';
41
- export { useRandomId, convertTimestampToDate, GetRandomStr, range, useGeneratedId } from './utils/utils';
41
+ export { useRandomId, convertTimestampToDate, GetRandomStr, range, useGeneratedId, capitalizeFirstLetter, convertNumberToArray, getWholeSpectrum } from './utils/utils';
42
42
  export { loadFonts, loadFontsOnInteraction } from './utils/fontLoader';
43
43
  export { Alert } from './Alerts/main';
44
44
  export { Toast } from '../components/Toast/main';
@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Y,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,SAAS,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,cAAc,IAAI,QAAQ,EAAE,MAAM,4CAA4C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,8CAA8C,CAAA;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE1D,cAAc,oBAAoB,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.1.5",
4
+ "version": "3.1.6",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [