@kingsimba/nc-ui 0.1.46 → 0.1.47

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.js CHANGED
@@ -2,8 +2,8 @@ var ht = Object.defineProperty;
2
2
  var mt = (e, t, n) => t in e ? ht(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var se = (e, t, n) => mt(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { jsx as s, jsxs as A, Fragment as Pe } from "react/jsx-runtime";
5
- import { d as Le, E as gt, R as bt, T as vt, j as wt, V as yt, b as xt, a as kt, c as Nt } from "./GeneratedIcons-CWnbr7Cm.js";
6
- import ze, { useState as E, useRef as Y, useEffect as V, useMemo as $e, createContext as ge, useContext as ae, Children as At, isValidElement as St, forwardRef as Ct, useImperativeHandle as Mt, useCallback as X, Suspense as $t } from "react";
5
+ import { d as Le, E as gt, R as bt, V as vt, k as wt, Y as yt, b as xt, a as kt, c as Nt } from "./GeneratedIcons-eOaZDTB3.js";
6
+ import ze, { useState as E, useRef as j, useEffect as V, useMemo as $e, createContext as ge, useContext as ae, Children as At, isValidElement as St, forwardRef as Ct, useImperativeHandle as Mt, useCallback as X, Suspense as $t } from "react";
7
7
  import { createPortal as Ae } from "react-dom";
8
8
  import { useTranslation as oe } from "react-i18next";
9
9
  import It from "i18next";
@@ -266,7 +266,7 @@ function Jn({ checked: e, onChange: t, disabled: n, label: r, size: o = "default
266
266
  );
267
267
  }
268
268
  function Pt({ option: e, onChange: t, selected: n, highlighted: r, small: o, renderOption: i, index: a }) {
269
- const c = Y(null), { t: l } = oe(), u = e.disabled === !0;
269
+ const c = j(null), { t: l } = oe(), u = e.disabled === !0;
270
270
  return V(() => {
271
271
  r && c.current && c.current.scrollIntoView({ block: "nearest" });
272
272
  }, [r]), /* @__PURE__ */ s(
@@ -392,9 +392,9 @@ function Qn({
392
392
  style: v,
393
393
  className: y
394
394
  }) {
395
- const [h, f] = E(!1), [m, N] = E(""), [C, P] = E(-1), B = Y(null), S = Y(null), L = Y(null), x = g === "small", { t: M } = oe(), z = !!o, F = w || z, [I, T] = E([]), [H, q] = E(() => {
395
+ const [h, f] = E(!1), [m, N] = E(""), [C, P] = E(-1), B = j(null), S = j(null), L = j(null), x = g === "small", { t: M } = oe(), z = !!o, F = w || z, [I, T] = E([]), [H, q] = E(() => {
396
396
  if (r && e) {
397
- const R = r.find((j) => j.value === e);
397
+ const R = r.find((Y) => Y.value === e);
398
398
  return R ? R.label : "";
399
399
  }
400
400
  return o && e ? e : "";
@@ -405,11 +405,11 @@ function Qn({
405
405
  return;
406
406
  }
407
407
  if (r) {
408
- const R = r.find((j) => j.value === e);
408
+ const R = r.find((Y) => Y.value === e);
409
409
  R && q(R.label);
410
410
  } else o && q(e);
411
411
  }, [e, r, o]);
412
- const O = (R, j = !1) => {
412
+ const O = (R, Y = !1) => {
413
413
  if (!o) return;
414
414
  L.current && clearTimeout(L.current);
415
415
  const W = async () => {
@@ -420,29 +420,29 @@ function Qn({
420
420
  T([]);
421
421
  }
422
422
  };
423
- j ? W() : L.current = setTimeout(W, 200);
423
+ Y ? W() : L.current = setTimeout(W, 200);
424
424
  }, _ = $e(() => {
425
425
  if (z) return I;
426
426
  const R = m.toLowerCase();
427
- return F ? (r || []).filter((j) => j.label.toLowerCase().includes(R)) : r || [];
427
+ return F ? (r || []).filter((Y) => Y.label.toLowerCase().includes(R)) : r || [];
428
428
  }, [r, m, F, z, I]);
429
429
  V(() => {
430
430
  h && P(-1);
431
431
  }, [h, _]), V(() => {
432
432
  if (!p && !e && r && r.length > 0 && t) {
433
- const R = r.find((j) => j.default) || r[0];
433
+ const R = r.find((Y) => Y.default) || r[0];
434
434
  t(R.value);
435
435
  }
436
436
  }, [p, e, r, t]), V(() => {
437
- function R(j) {
437
+ function R(Y) {
438
438
  var W;
439
- j.target instanceof Node && B.current && ((W = B.current.parentElement) != null && W.contains(j.target) || f(!1));
439
+ Y.target instanceof Node && B.current && ((W = B.current.parentElement) != null && W.contains(Y.target) || f(!1));
440
440
  }
441
441
  return document.addEventListener("mousedown", R), () => document.removeEventListener("mousedown", R);
442
442
  }, []);
443
- const D = c ?? (r ? r.find((R) => R.value === e) : e ? { label: H, value: e } : void 0), J = D && p, le = !l && !J, pe = `nc-align-${b}`, ve = !(h && F) && !!D, de = (R, j, W = !1) => {
443
+ const D = c ?? (r ? r.find((R) => R.value === e) : e ? { label: H, value: e } : void 0), J = D && p, le = !l && !J, pe = `nc-align-${b}`, ve = !(h && F) && !!D, de = (R, Y, W = !1) => {
444
444
  var U;
445
- q(j), t == null || t(R), f(!1), N(""), W && ((U = B.current) == null || U.blur());
445
+ q(Y), t == null || t(R), f(!1), N(""), W && ((U = B.current) == null || U.blur());
446
446
  }, we = () => {
447
447
  t == null || t(void 0), N(""), f(!1);
448
448
  }, ye = (R) => {
@@ -450,7 +450,7 @@ function Qn({
450
450
  (R.key === "ArrowDown" || R.key === "ArrowUp") && (f(!0), R.preventDefault());
451
451
  return;
452
452
  }
453
- const j = (W, U) => {
453
+ const Y = (W, U) => {
454
454
  if (U === 1) {
455
455
  for (let G = W; G < _.length; G++)
456
456
  if (!_[G].disabled) return G;
@@ -468,13 +468,13 @@ function Qn({
468
468
  case "ArrowDown":
469
469
  R.preventDefault(), P((W) => {
470
470
  const U = W + 1, G = U >= _.length ? 0 : U;
471
- return j(G, 1);
471
+ return Y(G, 1);
472
472
  });
473
473
  break;
474
474
  case "ArrowUp":
475
475
  R.preventDefault(), P((W) => {
476
476
  const U = W - 1, G = U < 0 ? _.length - 1 : U;
477
- return j(G, -1);
477
+ return Y(G, -1);
478
478
  });
479
479
  break;
480
480
  case "Enter":
@@ -494,8 +494,8 @@ function Qn({
494
494
  style: { position: "relative", display: "flex", alignItems: "center" },
495
495
  onMouseDown: (R) => {
496
496
  if (l || F && R.target === B.current) return;
497
- const j = !h;
498
- if (f((W) => (!W && F && D && N(D.label), !W)), z && j) {
497
+ const Y = !h;
498
+ if (f((W) => (!W && F && D && N(D.label), !W)), z && Y) {
499
499
  const W = F && D ? D.label : "";
500
500
  T([]), setTimeout(() => O(W, !0), 0);
501
501
  }
@@ -516,14 +516,14 @@ function Qn({
516
516
  f(!0);
517
517
  const R = D ? D.label : "";
518
518
  D && (N(R), setTimeout(() => {
519
- var j;
520
- return (j = B.current) == null ? void 0 : j.select();
519
+ var Y;
520
+ return (Y = B.current) == null ? void 0 : Y.select();
521
521
  }, 0)), z && (T([]), O(R, !0));
522
522
  }
523
523
  },
524
524
  onChange: (R) => {
525
- const j = R.target.value;
526
- F && (N(j), z && O(j));
525
+ const Y = R.target.value;
526
+ F && (N(Y), z && O(Y));
527
527
  },
528
528
  onKeyDown: ye,
529
529
  value: h && F ? m : (D == null ? void 0 : D.label) || "",
@@ -650,7 +650,7 @@ function rr({
650
650
  anchor: o,
651
651
  preferredDirection: i = "down"
652
652
  }) {
653
- const a = Y(null), [c, l] = E({ top: 0, left: 0 }), u = o || (r == null ? void 0 : r.current);
653
+ const a = j(null), [c, l] = E({ top: 0, left: 0 }), u = o || (r == null ? void 0 : r.current);
654
654
  if (V(() => {
655
655
  if (!e || !u || !a.current) return;
656
656
  const d = u.getBoundingClientRect(), g = a.current.getBoundingClientRect(), k = window.innerHeight, b = window.innerWidth, v = d.bottom + 8, y = v + g.height <= k - 8;
@@ -761,7 +761,7 @@ function or({
761
761
  className: v = "",
762
762
  onContentHeightChange: y
763
763
  }) {
764
- const h = Y(null), f = Y(null), { t: m } = oe(), N = { close: t }, C = (S) => {
764
+ const h = j(null), f = j(null), { t: m } = oe(), N = { close: t }, C = (S) => {
765
765
  d && S.target === S.currentTarget && t();
766
766
  };
767
767
  if (V(() => {
@@ -915,7 +915,7 @@ function sr({
915
915
  validator: f,
916
916
  showErrorMessage: m = !0
917
917
  }) {
918
- const N = Y(null), C = Y(null), P = Y(!1), [B, S] = E(!1), [L, x] = E(!1), [M, z] = E(!1), F = e !== void 0, [I, T] = E(t), H = F ? e : I, [q, O] = E(H), _ = f ? f(H) : null, D = !!_, J = !y && g === "plain", le = J && L, pe = le ? q : H;
918
+ const N = j(null), C = j(null), P = j(!1), [B, S] = E(!1), [L, x] = E(!1), [M, z] = E(!1), F = e !== void 0, [I, T] = E(t), H = F ? e : I, [q, O] = E(H), _ = f ? f(H) : null, D = !!_, J = !y && g === "plain", le = J && L, pe = le ? q : H;
919
919
  V(() => {
920
920
  le || O(H);
921
921
  }, [H, le]);
@@ -930,12 +930,12 @@ function sr({
930
930
  }, G = () => {
931
931
  O(H);
932
932
  }, ft = () => {
933
- var Q, ee, Ye;
933
+ var Q, ee, je;
934
934
  if (J) {
935
935
  O(""), i == null || i(), (Q = N.current) == null || Q.focus();
936
936
  return;
937
937
  }
938
- F || T(""), n == null || n(""), i == null || i(), y ? (ee = C.current) == null || ee.focus() : (Ye = N.current) == null || Ye.focus();
938
+ F || T(""), n == null || n(""), i == null || i(), y ? (ee = C.current) == null || ee.focus() : (je = N.current) == null || je.focus();
939
939
  }, He = (Q) => {
940
940
  if (J && Q.key === "Escape") {
941
941
  Q.preventDefault(), P.current = !0, G(), Q.currentTarget.blur();
@@ -960,7 +960,7 @@ function sr({
960
960
  return;
961
961
  }
962
962
  J && U(), x(!1);
963
- }, je = `nc-input ${d === "small" ? "nc-small " : ""}${!y && g === "plain" ? "nc-plain " : ""}${D ? "nc-error " : ""}${w}`;
963
+ }, Ye = `nc-input ${d === "small" ? "nc-small " : ""}${!y && g === "plain" ? "nc-plain " : ""}${D ? "nc-error " : ""}${w}`;
964
964
  return /* @__PURE__ */ A(
965
965
  "div",
966
966
  {
@@ -976,7 +976,7 @@ function sr({
976
976
  "textarea",
977
977
  {
978
978
  ref: C,
979
- className: je,
979
+ className: Ye,
980
980
  placeholder: a,
981
981
  value: pe,
982
982
  onChange: Ve,
@@ -998,7 +998,7 @@ function sr({
998
998
  {
999
999
  ref: N,
1000
1000
  type: ve && B ? "text" : p,
1001
- className: je,
1001
+ className: Ye,
1002
1002
  placeholder: a,
1003
1003
  value: pe,
1004
1004
  onChange: Ve,
@@ -1074,7 +1074,7 @@ function cr({ title: e, titleTools: t, children: n, style: r }) {
1074
1074
  ] });
1075
1075
  }
1076
1076
  function ar({ values: e, onChange: t, options: n, placeholder: r = "Select…", label: o }) {
1077
- const [i, a] = E(!1), [c, l] = E(""), u = Y(null), p = $e(() => n.filter((d) => d.label.toLowerCase().includes(c.toLowerCase())), [n, c]);
1077
+ const [i, a] = E(!1), [c, l] = E(""), u = j(null), p = $e(() => n.filter((d) => d.label.toLowerCase().includes(c.toLowerCase())), [n, c]);
1078
1078
  V(() => {
1079
1079
  function d(g) {
1080
1080
  !(g.target instanceof Node) || !u.current || u.current.contains(g.target) || a(!1);
@@ -1167,7 +1167,7 @@ function lr({
1167
1167
  disabled: i = !1,
1168
1168
  size: a = "default"
1169
1169
  }) {
1170
- const [c, l] = E(!1), [u, p] = E(""), [w, d] = E(""), [g, k] = E({ top: 0, left: 0, width: 0, right: void 0 }), b = Y(null), v = Y(null);
1170
+ const [c, l] = E(!1), [u, p] = E(""), [w, d] = E(""), [g, k] = E({ top: 0, left: 0, width: 0, right: void 0 }), b = j(null), v = j(null);
1171
1171
  V(() => {
1172
1172
  if (c && b.current) {
1173
1173
  const x = b.current.getBoundingClientRect(), z = Math.max(x.width, 400);
@@ -1280,7 +1280,7 @@ function lr({
1280
1280
  }
1281
1281
  const Vt = 5, Ft = 3;
1282
1282
  function dr({ value: e, onChange: t, min: n, max: r, step: o = 1, label: i, disabled: a, className: c = "", style: l, size: u = "default" }) {
1283
- const p = u === "small", w = (String(o).split(".")[1] || "").length, d = Y(null), g = Y(!1), k = Y(null), [b, v] = E(!1), [y, h] = E(() => String(e)), f = (I) => parseFloat(I.toFixed(w)), m = (I) => {
1283
+ const p = u === "small", w = (String(o).split(".")[1] || "").length, d = j(null), g = j(!1), k = j(null), [b, v] = E(!1), [y, h] = E(() => String(e)), f = (I) => parseFloat(I.toFixed(w)), m = (I) => {
1284
1284
  const T = f(I);
1285
1285
  h(String(T)), t(T);
1286
1286
  }, N = () => {
@@ -1444,12 +1444,12 @@ function ur({
1444
1444
  ] });
1445
1445
  }
1446
1446
  const Ot = ({ size: e = 24, className: t, style: n }) => /* @__PURE__ */ s("svg", { width: e, height: e, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", className: t, style: n, children: /* @__PURE__ */ s("polyline", { points: "18 15 12 9 6 15" }) });
1447
- function jt({ children: e, className: t = "", style: n }) {
1447
+ function Yt({ children: e, className: t = "", style: n }) {
1448
1448
  return /* @__PURE__ */ s("div", { className: `nc-tab-panel ${t}`, style: n, children: e });
1449
1449
  }
1450
1450
  function pr({ active: e, children: t, keepMounted: n = !1, className: r = "", style: o }) {
1451
1451
  const i = At.toArray(t).filter(
1452
- (c) => St(c) && (c.type === jt || c.type.displayName === "TabPanel")
1452
+ (c) => St(c) && (c.type === Yt || c.type.displayName === "TabPanel")
1453
1453
  );
1454
1454
  if (n)
1455
1455
  return /* @__PURE__ */ s("div", { className: `nc-tab-panels ${r}`, style: o, children: i.map((c) => {
@@ -1469,7 +1469,7 @@ function pr({ active: e, children: t, keepMounted: n = !1, className: r = "", st
1469
1469
  return /* @__PURE__ */ s("div", { className: `nc-tab-panels ${r}`, style: o, children: a });
1470
1470
  }
1471
1471
  function fr({ tabs: e, active: t, onChange: n, onClose: r, permanentTabs: o, className: i, toolbar: a, multiline: c, orientation: l = "horizontal", style: u }) {
1472
- const p = Y(null), [w, d] = E(!1), [g, k] = E(!1), b = l === "verticalLeft" || l === "verticalRight", v = Y(!1), y = Y(0), h = Y(0), f = Y(!1);
1472
+ const p = j(null), [w, d] = E(!1), [g, k] = E(!1), b = l === "verticalLeft" || l === "verticalRight", v = j(!1), y = j(0), h = j(0), f = j(!1);
1473
1473
  V(() => {
1474
1474
  const S = () => {
1475
1475
  if (p.current)
@@ -1632,7 +1632,7 @@ const _e = [
1632
1632
  "var(--nc-csv-col-8)",
1633
1633
  "var(--nc-csv-col-9)"
1634
1634
  ];
1635
- function Yt(e, t) {
1635
+ function jt(e, t) {
1636
1636
  const r = e.slice(0, t).split(`
1637
1637
  `), o = r.length, a = r[o - 1].split(" "), c = a.length, l = a[c - 1].length + 1;
1638
1638
  return { line: o, column: c, character: l, offset: t };
@@ -1659,7 +1659,7 @@ function Kt(e, t) {
1659
1659
  }
1660
1660
  const mr = Ct(
1661
1661
  function({ value: t, onChange: n, placeholder: r, className: o, style: i, showLineNumbers: a = !1, onCursorChange: c, highlightLine: l }, u) {
1662
- const p = Y(null), w = Y(null), d = Y(null);
1662
+ const p = j(null), w = j(null), d = j(null);
1663
1663
  Mt(u, () => ({
1664
1664
  goToLine(h) {
1665
1665
  const f = p.current;
@@ -1680,7 +1680,7 @@ const mr = Ct(
1680
1680
  }), [t]);
1681
1681
  const g = X(() => {
1682
1682
  if (!c || !p.current) return;
1683
- const h = Yt(t, p.current.selectionStart);
1683
+ const h = jt(t, p.current.selectionStart);
1684
1684
  c(h);
1685
1685
  }, [c, t]), k = X(() => {
1686
1686
  const h = p.current;
@@ -1862,7 +1862,7 @@ function Xt({ notification: e }) {
1862
1862
  );
1863
1863
  }
1864
1864
  function gr() {
1865
- const [e, t] = E([]), [n, r] = E(/* @__PURE__ */ new Map()), [o, i] = E(/* @__PURE__ */ new Set()), a = Y(null), c = Y([]);
1865
+ const [e, t] = E([]), [n, r] = E(/* @__PURE__ */ new Map()), [o, i] = E(/* @__PURE__ */ new Set()), a = j(null), c = j([]);
1866
1866
  return V(() => _t((u) => {
1867
1867
  const p = new Set(c.current.map((d) => d.id)), w = u.filter((d) => !p.has(d.id)).map((d) => d.id);
1868
1868
  w.length > 0 ? (t(u), i(new Set(w)), requestAnimationFrame(() => {
@@ -4852,7 +4852,7 @@ export {
4852
4852
  dr as NumberInput,
4853
4853
  Zn as RefreshButton,
4854
4854
  ur as Slider,
4855
- jt as TabPanel,
4855
+ Yt as TabPanel,
4856
4856
  pr as TabPanels,
4857
4857
  fr as Tabs,
4858
4858
  hr as Toggle,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kingsimba/nc-ui",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -1 +0,0 @@
1
- "use strict";const n=require("react/jsx-runtime");function s({size:o=24,color:r="currentColor",strokeWidth:e=2,className:t,style:i}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:e,strokeLinecap:"round",strokeLinejoin:"round",className:t,style:i,children:[n.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function c({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M18 13v5a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h7"}),n.jsx("polyline",{points:"17 4 20 4 20 7"}),n.jsx("line",{x1:"13",y1:"11",x2:"20",y2:"4"})]})}function h({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"3",y:"4",width:"18",height:"14",rx:"2"}),n.jsx("line",{x1:"8",y1:"21",x2:"16",y2:"21"}),n.jsx("line",{x1:"12",y1:"18",x2:"12",y2:"21"}),n.jsx("line",{x1:"7",y1:"11",x2:"17",y2:"11"})]})}function d({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}),n.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function l({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M1.5 9a15.5 15.5 0 0 1 21 0"}),n.jsx("path",{d:"M5 12.5a10 10 0 0 1 14 0"}),n.jsx("path",{d:"M8.5 16a5 5 0 0 1 7 0"}),n.jsx("circle",{cx:"12",cy:"20",r:"1.5",fill:"currentColor"})]})}function x({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function u({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"5",y:"11",width:"14",height:"10",rx:"2"}),n.jsx("path",{d:"M8 11V7a4 4 0 0 1 7.83-1"})]})}function a({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"9 18 15 12 9 6"})})}function j({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"15 18 9 12 15 6"})})}function k({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("polyline",{points:"6 9 12 15 18 9"})})}function p({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M20 4v4.44h-4.44"}),n.jsx("path",{d:"M4 12A8 8 0 0 1 17.33 6.04L20 8.44"}),n.jsx("path",{d:"M4 20v-4.44h4.44"}),n.jsx("path",{d:"M20 12A8 8 0 0 1 6.67 17.96L4 15.56"})]})}function L({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 12A8 8 0 1 0 12 4A8.67 8.67 0 0 0 6.01 6.44L4 8.44"}),n.jsx("path",{d:"M4 4v4.44h4.44"})]})}function v({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-2.1 -2.1 28.2 28.2",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M11 4H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-6"}),n.jsx("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})}function w({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("polyline",{points:"3 6 5 6 21 6"}),n.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),n.jsx("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),n.jsx("line",{x1:"14",y1:"11",x2:"14",y2:"17"})]})}function f({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 4h5l2 2h9a1 1 0 0 1 1 1v2H3V5a1 1 0 0 1 1-1z"}),n.jsx("path",{d:"M2 9h20l-2 11H4L2 9z"}),n.jsx("path",{d:"M8 14h8",strokeDasharray:"2 2",opacity:"0.5"})]})}function g({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),n.jsx("circle",{cx:"12",cy:"8",r:"1.2",fill:"currentColor",stroke:"none"})]})}function I({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"10"}),n.jsx("path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"}),n.jsx("circle",{cx:"12",cy:"17",r:"1.2",fill:"currentColor",stroke:"none"})]})}function M({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83"}),n.jsx("path",{d:"M22 12A10 10 0 0 0 12 2v10z"})]})}function y({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M12 2v10"}),n.jsx("path",{d:"M18.4 6.6a9 9 0 1 1-12.77.04"})]})}function C({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"-1.5 -1.5 27 27",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"}),n.jsx("circle",{cx:"12",cy:"13",r:"4"})]})}function A({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function B({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})}function W({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"9.5",cy:"4",r:"2",opacity:"0.5"}),n.jsx("circle",{cx:"9.5",cy:"4",r:"3.5",opacity:"0.3"}),n.jsx("path",{d:"M8 13V5.5a1.5 1.5 0 0 1 3 0V12"}),n.jsx("path",{d:"M11 11.5v-2a1.5 1.5 0 0 1 3 0v2.5"}),n.jsx("path",{d:"M14 10.5a1.5 1.5 0 0 1 3 0v1.5"}),n.jsx("path",{d:"M17 11.5a1.5 1.5 0 0 1 3 0v4.5a6 6 0 0 1-6 6h-2h.2a6 6 0 0 1-5-2.7l-.2-.3c-.3-.5-1.4-2.4-3.2-6.3l-.5-.8a.6.6 0 0 1 .5-.8h2.5"})]})}function V({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"5",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"19",r:"2"})]})}function H({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("circle",{cx:"5",cy:"12",r:"2"}),n.jsx("circle",{cx:"12",cy:"12",r:"2"}),n.jsx("circle",{cx:"19",cy:"12",r:"2"})]})}function P({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4 6h16"}),n.jsx("path",{d:"M4 12h16"}),n.jsx("path",{d:"M4 18h16"})]})}function S({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}),n.jsx("line",{x1:"4",y1:"4",x2:"20",y2:"20"})]})}function Z({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"11",cy:"11",r:"8"}),n.jsx("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}function F({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"8.8",y:"8.8",width:"11.2",height:"11.2",rx:"1.6"}),n.jsx("path",{d:"M5.6 15.2c-.88 0-1.6-.72-1.6-1.6V5.6c0-.88.72-1.6 1.6-1.6h8c.88 0 1.6.72 1.6 1.6"})]})}function m({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M3 21h18"}),n.jsx("path",{d:"M12 3v14"}),n.jsx("path",{d:"M7 12l5 5 5-5"})]})}function E({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M5.33 3H18.67A1.5 1.5 0 0 1 19.79 5.5L14.4 11.6V21L9.6 18.6V11.6L4.21 5.5A1.5 1.5 0 0 1 5.33 3Z"})})}function D({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("circle",{cx:"12",cy:"12",r:"4.5"}),n.jsx("path",{d:"M12 4.5V2"}),n.jsx("path",{d:"M19.5 12H22"}),n.jsx("path",{d:"M12 19.5V22"}),n.jsx("path",{d:"M4.5 12H2"}),n.jsx("path",{d:"M17.3 6.7 19.07 4.93"}),n.jsx("path",{d:"M6.7 6.7 4.93 4.93"}),n.jsx("path",{d:"M6.7 17.3 4.93 19.07"}),n.jsx("path",{d:"M17.3 17.3 19.07 19.07"})]})}function R({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M12 3.5a6.01 6.01 0 0 0 8.5 8.5 8.5 8.5 0 1 1-8.5-8.5Z"})})}function b({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Z"}),n.jsx("path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"}),n.jsx("path",{d:"M7 3v4a1 1 0 0 0 1 1h7"})]})}function Q({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M10.092 3.25c.485-2 3.33-2 3.815 0a1.963 1.963 0 002.93 1.214c1.757-1.071 3.77.941 2.699 2.699a1.963 1.963 0 001.213 2.929c2 .485 2 3.33 0 3.815a1.963 1.963 0 00-1.214 2.93c1.071 1.757-.941 3.77-2.699 2.699a1.963 1.963 0 00-2.929 1.213c-.485 2-3.33 2-3.815 0a1.963 1.963 0 00-2.93-1.214c-1.757 1.071-3.77-.941-2.699-2.699a1.963 1.963 0 00-1.213-2.929c-2-.485-2-3.33 0-3.815a1.963 1.963 0 001.214-2.93c-1.071-1.757.941-3.77 2.699-2.699 1.134.692 2.615.08 2.929-1.213z"}),n.jsx("path",{d:"M15.417 12a3.417 3.417 0 11-6.833 0 3.417 3.417 0 016.833 0z"})]})}function T({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2"}),n.jsx("path",{d:"m8.5 9.5 2.5 2.5-2.5 2.5"}),n.jsx("path",{d:"M13.5 14.5h2.5"})]})}function U({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M13.43 3.37A1.55 1.55 0 0 0 10.57 3.37L8.58 8.15L3.44 8.56A1.55 1.55 0 0 0 2.54 11.29L6.47 14.65L5.27 19.67A1.55 1.55 0 0 0 7.58 21.36L12 18.66L16.42 21.36A1.55 1.55 0 0 0 18.73 19.67L17.53 14.65L21.46 11.29A1.55 1.55 0 0 0 20.56 8.56L15.42 8.15Z"})})}function q({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M4.79 4.8A1.92 1.95 0 0 1 7.71 3.14L19.18 10.34A1.92 1.95 0 0 1 19.18 13.66L7.71 20.86A1.92 1.95 0 0 1 4.79 19.2Z"})})}function G({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:[n.jsx("path",{d:"M4.85 4.8A1.9 1.95 0 0 1 6.75 2.85L7.63 2.85A1.9 1.95 0 0 1 9.53 4.8L9.53 19.2A1.9 1.95 0 0 1 7.63 21.15L6.75 21.15A1.9 1.95 0 0 1 4.85 19.2Z"}),n.jsx("path",{d:"M14.47 4.8A1.9 1.95 0 0 1 16.37 2.85L17.25 2.85A1.9 1.95 0 0 1 19.15 4.8L19.15 19.2A1.9 1.95 0 0 1 17.25 21.15L16.37 21.15A1.9 1.95 0 0 1 14.47 19.2Z"})]})}function J({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:r,style:e,children:n.jsx("path",{d:"M4.85 6.75A1.9 1.9 0 0 1 6.75 4.85L17.25 4.85A1.9 1.9 0 0 1 19.15 6.75L19.15 17.25A1.9 1.9 0 0 1 17.25 19.15L6.75 19.15A1.9 1.9 0 0 1 4.85 17.25Z"})})}function K({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:n.jsx("path",{d:"M4 4A2 2 0 0 1 7.05 2.3L20.05 10.3A2 2 0 0 1 20.05 13.7L7.05 21.7A2 2 0 0 1 4 20Z"})})}function N({size:o=24,className:r,style:e}){return n.jsxs("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:[n.jsx("path",{d:"M4 4A2 2 0 0 1 6 2L7 2A2 2 0 0 1 9 4L9 20A2 2 0 0 1 7 22L6 22A2 2 0 0 1 4 20Z"}),n.jsx("path",{d:"M15 4A2 2 0 0 1 17 2L18 2A2 2 0 0 1 20 4L20 20A2 2 0 0 1 18 22L17 22A2 2 0 0 1 15 20Z"})]})}function O({size:o=24,className:r,style:e}){return n.jsx("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"currentColor",className:r,style:e,children:n.jsx("path",{d:"M4 6A2 2 0 0 1 6 4L18 4A2 2 0 0 1 20 6L20 18A2 2 0 0 1 18 20L6 20A2 2 0 0 1 4 18Z"})})}exports.CameraIcon=C;exports.ChevronDownIcon=k;exports.ChevronLeftIcon=j;exports.ChevronRightIcon=a;exports.CloseIcon=s;exports.ConsoleIcon=T;exports.CopyIcon=F;exports.DoubleClickIcon=W;exports.DownloadIcon=m;exports.EditIcon=v;exports.EmptyFolderIcon=f;exports.ExternalLinkIcon=c;exports.EyeHiddenIcon=S;exports.FilterIcon=E;exports.HideAppsIcon=h;exports.InfoIcon=g;exports.LockIcon=x;exports.MenuIcon=P;exports.MinusIcon=B;exports.MoonIcon=R;exports.MoreHorizontalIcon=H;exports.MoreIcon=V;exports.PauseFilledIcon=N;exports.PauseIcon=G;exports.PieChartIcon=M;exports.PlayFilledIcon=K;exports.PlayIcon=q;exports.PlusIcon=A;exports.PowerIcon=y;exports.QuestionIcon=I;exports.RefreshIcon=p;exports.RevertIcon=L;exports.SaveIcon=b;exports.SearchIcon=Z;exports.SettingsIcon=Q;exports.StarIcon=U;exports.StopFilledIcon=O;exports.StopIcon=J;exports.SunIcon=D;exports.TrashIcon=w;exports.UnlockIcon=u;exports.ViewIcon=d;exports.WifiIcon=l;