@carto/ps-react-ui 4.3.5 → 4.3.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.
Files changed (59) hide show
  1. package/dist/components.js +2 -2
  2. package/dist/{error-B2IJ9d2h.js → error-piB8FwYO.js} +2 -2
  3. package/dist/{error-B2IJ9d2h.js.map → error-piB8FwYO.js.map} +1 -1
  4. package/dist/{lasso-tool-wFqOD6wk.js → lasso-tool-BctzdzBu.js} +185 -160
  5. package/dist/lasso-tool-BctzdzBu.js.map +1 -0
  6. package/dist/{no-data-C54XJt13.js → no-data-jdlbMef0.js} +2 -2
  7. package/dist/{no-data-C54XJt13.js.map → no-data-jdlbMef0.js.map} +1 -1
  8. package/dist/{row-DrHwXNvF.js → row-D3uVFImu.js} +2 -2
  9. package/dist/{row-DrHwXNvF.js.map → row-D3uVFImu.js.map} +1 -1
  10. package/dist/{series-D3Pc-kYX.js → series-BAImrSBo.js} +3 -3
  11. package/dist/{series-D3Pc-kYX.js.map → series-BAImrSBo.js.map} +1 -1
  12. package/dist/types/widgets/actions/index.d.ts +2 -2
  13. package/dist/types/widgets/actions/stack-toggle/stack-toggle.d.ts +3 -2
  14. package/dist/types/widgets/actions/zoom-toggle/zoom-toggle.d.ts +4 -0
  15. package/dist/types/widgets/loader/loader.d.ts +1 -1
  16. package/dist/types/widgets/loader/types.d.ts +1 -1
  17. package/dist/types/widgets/stores/index.d.ts +1 -1
  18. package/dist/types/widgets/stores/types.d.ts +15 -0
  19. package/dist/{use-widget-ref-B0aNCANx.js → use-widget-ref-B8x4sHIj.js} +2 -2
  20. package/dist/{use-widget-ref-B0aNCANx.js.map → use-widget-ref-B8x4sHIj.js.map} +1 -1
  21. package/dist/widget-store-Dn0Bnc4h.js +178 -0
  22. package/dist/widget-store-Dn0Bnc4h.js.map +1 -0
  23. package/dist/widgets/actions.js +698 -617
  24. package/dist/widgets/actions.js.map +1 -1
  25. package/dist/widgets/bar.js +2 -2
  26. package/dist/widgets/category.js +2 -2
  27. package/dist/widgets/echart.js +2 -2
  28. package/dist/widgets/error.js +1 -1
  29. package/dist/widgets/formula.js +5 -5
  30. package/dist/widgets/histogram.js +2 -2
  31. package/dist/widgets/loader.js +41 -40
  32. package/dist/widgets/loader.js.map +1 -1
  33. package/dist/widgets/markdown.js +2 -2
  34. package/dist/widgets/no-data.js +1 -1
  35. package/dist/widgets/pie.js +2 -2
  36. package/dist/widgets/range.js +2 -2
  37. package/dist/widgets/scatterplot.js +2 -2
  38. package/dist/widgets/skeleton-loader.js +1 -1
  39. package/dist/widgets/spread.js +5 -5
  40. package/dist/widgets/stores.js +1 -1
  41. package/dist/widgets/table.js +3 -3
  42. package/dist/widgets/timeseries.js +2 -2
  43. package/dist/widgets/wrapper.js +2 -2
  44. package/dist/widgets.js +4 -4
  45. package/package.json +1 -1
  46. package/src/components/lasso-tool/lasso-tool.tsx +5 -2
  47. package/src/widgets/actions/index.ts +2 -2
  48. package/src/widgets/actions/stack-toggle/stack-toggle.test.tsx +143 -9
  49. package/src/widgets/actions/stack-toggle/stack-toggle.tsx +61 -70
  50. package/src/widgets/actions/zoom-toggle/zoom-toggle.tsx +85 -53
  51. package/src/widgets/loader/loader.tsx +18 -8
  52. package/src/widgets/loader/types.ts +1 -1
  53. package/src/widgets/stores/index.ts +1 -0
  54. package/src/widgets/stores/types.ts +20 -0
  55. package/src/widgets/stores/widget-store.test.ts +141 -0
  56. package/src/widgets/stores/widget-store.ts +99 -2
  57. package/dist/lasso-tool-wFqOD6wk.js.map +0 -1
  58. package/dist/widget-store-CB6Trp_0.js +0 -131
  59. package/dist/widget-store-CB6Trp_0.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { s as ve, L as Be, a as ae } from "./lasso-tool-wFqOD6wk.js";
2
- import { D as ol, b as nl, c as il, d as sl, e as rl, f as al, S as cl } from "./lasso-tool-wFqOD6wk.js";
1
+ import { s as ve, L as Be, a as ae } from "./lasso-tool-BctzdzBu.js";
2
+ import { D as ol, b as nl, c as il, d as sl, e as rl, f as al, S as cl } from "./lasso-tool-BctzdzBu.js";
3
3
  import { jsxs as $, Fragment as ee, jsx as l } from "react/jsx-runtime";
4
4
  import { c as F } from "react/compiler-runtime";
5
5
  import { Divider as fe, Box as q, ToggleButton as ye, SvgIcon as Ie, ToggleButtonGroup as Le, Typography as Q, Button as xe, alpha as Ue, Paper as Ce, MenuItem as Te, ListItemIcon as Ve, ListItemText as Se, IconButton as re, Menu as Ze, DialogTitle as We, FormControlLabel as je, Radio as Fe, RadioGroup as Ge, FormControl as Ne, DialogContent as ze, DialogActions as He, Dialog as Xe, CircularProgress as qe, Grid as pe, Skeleton as we, Alert as Ke, ListItem as Ye, List as Qe, Drawer as Je, Popover as et, useTheme as tt, useMediaQuery as lt } from "@mui/material";
@@ -1,7 +1,7 @@
1
1
  import { jsx as d, jsxs as a } from "react/jsx-runtime";
2
2
  import { c as f } from "react/compiler-runtime";
3
3
  import { AlertTitle as m, Alert as h } from "@mui/material";
4
- import { u } from "./widget-store-CB6Trp_0.js";
4
+ import { u } from "./widget-store-Dn0Bnc4h.js";
5
5
  import { useShallow as p } from "zustand/shallow";
6
6
  function W(g) {
7
7
  const r = f(7), {
@@ -35,4 +35,4 @@ function W(g) {
35
35
  export {
36
36
  W
37
37
  };
38
- //# sourceMappingURL=error-B2IJ9d2h.js.map
38
+ //# sourceMappingURL=error-piB8FwYO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-B2IJ9d2h.js","sources":["../src/widgets/error/error.tsx"],"sourcesContent":["import { Alert, AlertTitle } from '@mui/material'\nimport { useWidgetStore } from '../stores/widget-store'\nimport { useShallow } from 'zustand/shallow'\nimport type { WidgetErrorProps } from './types'\n\nexport function WidgetError({ id, children }: WidgetErrorProps) {\n const widget = useWidgetStore(\n useShallow((state) => {\n const w = state.widgets[id]\n return {\n isLoading: w?.isLoading,\n isFetching: w?.isFetching,\n error: w?.error,\n }\n }),\n )\n\n // Don't show error during loading/fetching states\n if (widget?.isLoading || widget?.isFetching) {\n return children\n }\n\n // Show error UI if error exists\n if (widget?.error) {\n const errorTitle = widget.error.title ?? 'Error'\n const errorMessage =\n widget.error.message ??\n 'An error occurred while loading the widget. Please try again.'\n\n return (\n <Alert severity='error'>\n <AlertTitle>{errorTitle}</AlertTitle>\n {errorMessage}\n </Alert>\n )\n }\n\n // No error, render children\n return children\n}\n"],"names":["WidgetError","t0","$","_c","id","children","t1","state","w","widgets","isLoading","isFetching","error","widget","useWidgetStore","useShallow","errorTitle","title","errorMessage","message","t2","AlertTitle","t3","jsxs","Alert"],"mappings":";;;;;AAKO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAA,CAAA,GAAqB;AAAA,IAAAC,IAAAA;AAAAA,IAAAC,UAAAA;AAAAA,EAAAA,IAAAJ;AAAkC,MAAAK;AAAA,EAAAJ,SAAAE,KAE/CE,IAAAC,CAAAA,MAAA;AACT,UAAAC,IAAUD,EAAKE,QAASL,CAAE;AAAC,WACpB;AAAA,MAAAM,WACMF,GAACE;AAAAA,MAAWC,YACXH,GAACG;AAAAA,MAAYC,OAClBJ,GAACI;AAAAA,IAAAA;AAAAA,EACT,GACFV,OAAAE,GAAAF,OAAAI,KAAAA,IAAAJ,EAAA,CAAA;AARH,QAAAW,IAAeC,EACbC,EAAWT,CAOV,CACH;AAGA,MAAIO,GAAMH,aAAeG,GAAMF;AAAY,WAClCN;AAIT,MAAIQ,GAAMD,OAAO;AACf,UAAAI,IAAmBH,EAAMD,MAAMK,SAAZ,SACnBC,IACEL,EAAMD,MAAMO,WAAZ;AAC+D,QAAAC;AAAA,IAAAlB,SAAAc,KAI7DI,sBAACC,kBAAuB,GAAanB,OAAAc,GAAAd,OAAAkB,KAAAA,IAAAlB,EAAA,CAAA;AAAA,QAAAoB;AAAA,WAAApB,EAAA,CAAA,MAAAgB,KAAAhB,SAAAkB,KADvCE,IAAA,gBAAAC,EAACC,GAAA,EAAe,UAAA,SACdJ,UAAAA;AAAAA,MAAAA;AAAAA,MACCF;AAAAA,IAAAA,GACH,GAAQhB,OAAAgB,GAAAhB,OAAAkB,GAAAlB,OAAAoB,KAAAA,IAAApB,EAAA,CAAA,GAHRoB;AAAAA,EAGQ;AAEX,SAGMjB;AAAQ;"}
1
+ {"version":3,"file":"error-piB8FwYO.js","sources":["../src/widgets/error/error.tsx"],"sourcesContent":["import { Alert, AlertTitle } from '@mui/material'\nimport { useWidgetStore } from '../stores/widget-store'\nimport { useShallow } from 'zustand/shallow'\nimport type { WidgetErrorProps } from './types'\n\nexport function WidgetError({ id, children }: WidgetErrorProps) {\n const widget = useWidgetStore(\n useShallow((state) => {\n const w = state.widgets[id]\n return {\n isLoading: w?.isLoading,\n isFetching: w?.isFetching,\n error: w?.error,\n }\n }),\n )\n\n // Don't show error during loading/fetching states\n if (widget?.isLoading || widget?.isFetching) {\n return children\n }\n\n // Show error UI if error exists\n if (widget?.error) {\n const errorTitle = widget.error.title ?? 'Error'\n const errorMessage =\n widget.error.message ??\n 'An error occurred while loading the widget. Please try again.'\n\n return (\n <Alert severity='error'>\n <AlertTitle>{errorTitle}</AlertTitle>\n {errorMessage}\n </Alert>\n )\n }\n\n // No error, render children\n return children\n}\n"],"names":["WidgetError","t0","$","_c","id","children","t1","state","w","widgets","isLoading","isFetching","error","widget","useWidgetStore","useShallow","errorTitle","title","errorMessage","message","t2","AlertTitle","t3","jsxs","Alert"],"mappings":";;;;;AAKO,SAAAA,EAAAC,GAAA;AAAA,QAAAC,IAAAC,EAAA,CAAA,GAAqB;AAAA,IAAAC,IAAAA;AAAAA,IAAAC,UAAAA;AAAAA,EAAAA,IAAAJ;AAAkC,MAAAK;AAAA,EAAAJ,SAAAE,KAE/CE,IAAAC,CAAAA,MAAA;AACT,UAAAC,IAAUD,EAAKE,QAASL,CAAE;AAAC,WACpB;AAAA,MAAAM,WACMF,GAACE;AAAAA,MAAWC,YACXH,GAACG;AAAAA,MAAYC,OAClBJ,GAACI;AAAAA,IAAAA;AAAAA,EACT,GACFV,OAAAE,GAAAF,OAAAI,KAAAA,IAAAJ,EAAA,CAAA;AARH,QAAAW,IAAeC,EACbC,EAAWT,CAOV,CACH;AAGA,MAAIO,GAAMH,aAAeG,GAAMF;AAAY,WAClCN;AAIT,MAAIQ,GAAMD,OAAO;AACf,UAAAI,IAAmBH,EAAMD,MAAMK,SAAZ,SACnBC,IACEL,EAAMD,MAAMO,WAAZ;AAC+D,QAAAC;AAAA,IAAAlB,SAAAc,KAI7DI,sBAACC,kBAAuB,GAAanB,OAAAc,GAAAd,OAAAkB,KAAAA,IAAAlB,EAAA,CAAA;AAAA,QAAAoB;AAAA,WAAApB,EAAA,CAAA,MAAAgB,KAAAhB,SAAAkB,KADvCE,IAAA,gBAAAC,EAACC,GAAA,EAAe,UAAA,SACdJ,UAAAA;AAAAA,MAAAA;AAAAA,MACCF;AAAAA,IAAAA,GACH,GAAQhB,OAAAgB,GAAAhB,OAAAkB,GAAAlB,OAAAoB,KAAAA,IAAApB,EAAA,CAAA,GAHRoB;AAAAA,EAGQ;AAEX,SAGMjB;AAAQ;"}
@@ -1,46 +1,46 @@
1
- import { jsx as i, jsxs as T, Fragment as R } from "react/jsx-runtime";
2
- import { c as b } from "react/compiler-runtime";
1
+ import { jsx as i, jsxs as Z, Fragment as V } from "react/jsx-runtime";
2
+ import { c as C } from "react/compiler-runtime";
3
3
  import { ArrowDropDown as ee, MoreVertOutlined as te } from "@mui/icons-material";
4
- import { Chip as oe, Paper as le, IconButton as ie, Menu as ne, Box as re, Divider as H, MenuItem as z, ListItemIcon as ae, SvgIcon as ce, ListItemText as se, ToggleButton as de, Typography as q } from "@mui/material";
5
- import { d as N } from "./cjs-D4KH3azB.js";
4
+ import { Chip as oe, Paper as le, Menu as ie, Box as ne, Divider as X, IconButton as re, MenuItem as U, ListItemIcon as se, SvgIcon as ae, ListItemText as ce, ToggleButton as de, Typography as N } from "@mui/material";
5
+ import { d as q } from "./cjs-D4KH3azB.js";
6
6
  import { useState as ue, useMemo as J } from "react";
7
7
  import { T as K } from "./tooltip-BDnrRKrp.js";
8
8
  function ge(t) {
9
- const e = b(3);
9
+ const e = C(3);
10
10
  let l;
11
11
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.996 2.996 0 0 0 0 2H6.829a2.995 2.995 0 0 0 0-2h10.342Zm-2.463-5.707 3.998 4a3.013 3.013 0 0 0-1.414 1.414l-4-3.999a3.014 3.014 0 0 0 1.31-1.214l.106-.201ZM2.998 6.829a2.995 2.995 0 0 0 2.002 0v10.342a2.993 2.993 0 0 0-2.002 0V6.83ZM12 10a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm1.84-3.919c.464.483 1.09.81 1.79.896l-1.47 2.94a2.992 2.992 0 0 0-1.79-.894l1.47-2.942ZM16 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm9.171.998a2.994 2.994 0 0 0 0 2.002H6.829a2.995 2.995 0 0 0 0-2.002h6.342Z", fill: "currentColor" }), e[0] = l) : l = e[0];
12
12
  let o;
13
13
  return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: l }), e[1] = t, e[2] = o) : o = e[2], o;
14
14
  }
15
15
  function pe(t) {
16
- const e = b(3);
16
+ const e = C(3);
17
17
  let l;
18
18
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 18a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm16 0a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm-2.829 1a2.993 2.993 0 0 0-.17.974l-.001.052.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2h10.342ZM2.998 6.828a2.995 2.995 0 0 0 2.002 0V17.17a2.993 2.993 0 0 0-2.002 0V6.83Zm16.001 0a2.995 2.995 0 0 0 2 0V17.17a2.993 2.993 0 0 0-2 0V6.829ZM20 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4ZM4 2a2 2 0 1 1 0 4 2 2 0 0 1 0-4Zm13.171.998a2.991 2.991 0 0 0-.17.976L17 4.026l.007.183a3 3 0 0 0 .164.79H6.829a2.995 2.995 0 0 0 0-2H17.17Z", fill: "currentColor" }), e[0] = l) : l = e[0];
19
19
  let o;
20
20
  return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: l }), e[1] = t, e[2] = o) : o = e[2], o;
21
21
  }
22
22
  function he(t) {
23
- const e = b(3);
23
+ const e = C(3);
24
24
  let l;
25
25
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 6a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = l) : l = e[0];
26
26
  let o;
27
27
  return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: l }), e[1] = t, e[2] = o) : o = e[2], o;
28
28
  }
29
29
  function fe(t) {
30
- const e = b(3);
30
+ const e = C(3);
31
31
  let l;
32
32
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 3c4.935 0 9 3.736 9 9l-.002.343-.012.668c-.012.438-.033.86-.062 1.266l-.05.597C20.498 18.767 19.267 21 17 21c-1.192 0-1.971-.341-2.988-1.122l-.472-.375c-.401-.319-.64-.473-.888-.566a4.938 4.938 0 0 0-.415-.13l-.34-.085-.398-.086-.456-.086-.66-.111-1.708-.273a9.112 9.112 0 0 1-.952-.206C5.46 17.301 3 14.954 3 12.015c0-1.508.485-2.995 1.436-4.458.355.585.906 1.04 1.562 1.272C5.328 9.916 5 10.977 5 12.015c0 1.889 1.78 3.588 3.282 4.025l.085.023.345.076.517.092 1.619.257.583.1.518.098.237.05.433.103c.272.07.512.143.73.224.434.161.783.373 1.235.718l.457.362c.806.646 1.24.857 1.959.857.893 0 1.63-1.518 1.895-4.45l.045-.585c.013-.2.024-.407.033-.62l.02-.655c.005-.224.007-.454.007-.69 0-4.12-3.133-7-7-7a1 1 0 1 1 0-2ZM7 4a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z", fill: "currentColor" }), e[0] = l) : l = e[0];
33
33
  let o;
34
34
  return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: l }), e[1] = t, e[2] = o) : o = e[2], o;
35
35
  }
36
36
  function me(t) {
37
- const e = b(3);
37
+ const e = C(3);
38
38
  let l;
39
39
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ i("path", { fillRule: "evenodd", clipRule: "evenodd", d: "m10.083 19.394.057.113a1 1 0 0 0 1.72.007l2.869-4.786 4.786-2.87a1 1 0 0 0-.121-1.777l-14-6c-.83-.356-1.669.483-1.313 1.313l6.002 14ZM6.905 6.904l9.903 4.244-3.322 1.995-.102.069a1 1 0 0 0-.242.274l-1.992 3.321-4.245-9.903Z", fill: "currentColor" }), e[0] = l) : l = e[0];
40
40
  let o;
41
41
  return e[1] !== t ? (o = /* @__PURE__ */ i("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", ...t, children: l }), e[1] = t, e[2] = o) : o = e[2], o;
42
42
  }
43
- const x = {
43
+ const L = {
44
44
  action: {
45
45
  tooltip: {
46
46
  active: "Click on the map to draw your spatial filter",
@@ -76,7 +76,7 @@ const x = {
76
76
  },
77
77
  deleteAll: "Remove all"
78
78
  }
79
- }, Be = {
79
+ }, Ze = {
80
80
  polygon: {
81
81
  icon: /* @__PURE__ */ i(ge, {})
82
82
  },
@@ -92,7 +92,7 @@ const x = {
92
92
  edit: {
93
93
  icon: /* @__PURE__ */ i(me, {})
94
94
  }
95
- }, M = {
95
+ }, A = {
96
96
  container: {
97
97
  display: "flex",
98
98
  flexDirection: "row",
@@ -257,158 +257,183 @@ const x = {
257
257
  }
258
258
  };
259
259
  function ve(t) {
260
- const e = b(18), {
260
+ const e = C(18), {
261
261
  chipProps: l,
262
262
  value: o,
263
263
  labels: r,
264
- onChipToggle: c,
264
+ onChipToggle: a,
265
265
  onDelete: n
266
- } = t, s = o.visible ? "active" : "inactive", a = r?.tooltip?.[s] ?? x.chip.tooltip[s], d = l?.TooltipProps;
266
+ } = t, c = o.visible ? "active" : "inactive", s = r?.tooltip?.[c] ?? L.chip.tooltip[c], d = l?.TooltipProps;
267
267
  let u;
268
268
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
269
- ...M.chip.chip
269
+ ...A.chip.chip
270
270
  }, e[0] = u) : u = e[0];
271
271
  const p = o.visible ? "secondary" : "default";
272
272
  let g;
273
273
  e[1] !== n || e[2] !== o.id ? (g = () => n(o.id), e[1] = n, e[2] = o.id, e[3] = g) : g = e[3];
274
274
  let h;
275
- e[4] !== c || e[5] !== o.id || e[6] !== o.visible ? (h = () => c(o.id, !o.visible), e[4] = c, e[5] = o.id, e[6] = o.visible, e[7] = h) : h = e[7];
276
- const v = l?.ChipsProps;
277
- let f;
278
- e[8] !== p || e[9] !== g || e[10] !== h || e[11] !== v || e[12] !== o.label ? (f = /* @__PURE__ */ i(oe, { sx: u, color: p, size: "small", onDelete: g, label: o.label, onClick: h, ...v }), e[8] = p, e[9] = g, e[10] = h, e[11] = v, e[12] = o.label, e[13] = f) : f = e[13];
279
- let C;
280
- return e[14] !== a || e[15] !== d || e[16] !== f ? (C = /* @__PURE__ */ i(K, { title: a, placement: "bottom", ...d, children: f }), e[14] = a, e[15] = d, e[16] = f, e[17] = C) : C = e[17], C;
275
+ e[4] !== a || e[5] !== o.id || e[6] !== o.visible ? (h = () => a(o.id, !o.visible), e[4] = a, e[5] = o.id, e[6] = o.visible, e[7] = h) : h = e[7];
276
+ const f = l?.ChipsProps;
277
+ let m;
278
+ e[8] !== p || e[9] !== g || e[10] !== h || e[11] !== f || e[12] !== o.label ? (m = /* @__PURE__ */ i(oe, { sx: u, color: p, size: "small", onDelete: g, label: o.label, onClick: h, ...f }), e[8] = p, e[9] = g, e[10] = h, e[11] = f, e[12] = o.label, e[13] = m) : m = e[13];
279
+ let b;
280
+ return e[14] !== s || e[15] !== d || e[16] !== m ? (b = /* @__PURE__ */ i(K, { title: s, placement: "bottom", ...d, children: m }), e[14] = s, e[15] = d, e[16] = m, e[17] = b) : b = e[17], b;
281
281
  }
282
- function S(t) {
283
- const e = b(44), {
282
+ function D(t) {
283
+ const e = C(44), {
284
284
  enabled: l,
285
285
  values: o,
286
286
  actionProps: r,
287
- chipProps: c,
287
+ chipProps: a,
288
288
  labels: n,
289
- modes: s,
290
- modesMapping: a,
289
+ modes: c,
290
+ modesMapping: s,
291
291
  modeSelected: d,
292
292
  PaperProps: u,
293
293
  onActionToggle: p,
294
294
  onChipToggle: g,
295
295
  onDelete: h,
296
- onChangeMode: v,
297
- onAllChipToggle: f,
298
- onAllDelete: C,
299
- ChipsSlot: j,
300
- ActionSlot: W,
301
- SecondaryActionsSlot: X,
302
- OptionsSlot: U
296
+ onChangeMode: f,
297
+ onAllChipToggle: m,
298
+ onAllDelete: b,
299
+ ChipsSlot: $,
300
+ ActionSlot: x,
301
+ SecondaryActionsSlot: y,
302
+ OptionsSlot: B
303
303
  } = t;
304
- let I;
305
- e[0] !== o ? (I = o === void 0 ? [] : o, e[0] = o, e[1] = I) : I = e[1];
306
- const E = I;
307
- let y;
308
- e[2] !== u ? (y = u === void 0 ? {} : u, e[2] = u, e[3] = y) : y = e[3];
309
- let w, A;
310
- e[4] !== y ? ({
311
- sx: A,
312
- ...w
313
- } = y, e[4] = y, e[5] = w, e[6] = A) : (w = e[5], A = e[6]);
314
- const O = j === void 0 ? S.Chips : j, P = W === void 0 ? S.Action : W, k = X === void 0 ? S.SecondaryActions : X, V = U === void 0 ? S.Options : U;
315
- let G;
316
- e[7] !== w || e[8] !== r || e[9] !== c || e[10] !== l || e[11] !== n || e[12] !== d || e[13] !== s || e[14] !== a || e[15] !== p || e[16] !== f || e[17] !== C || e[18] !== v || e[19] !== g || e[20] !== h || e[21] !== E ? (G = {
304
+ let S;
305
+ e[0] !== o ? (S = o === void 0 ? [] : o, e[0] = o, e[1] = S) : S = e[1];
306
+ const T = S;
307
+ let w;
308
+ e[2] !== u ? (w = u === void 0 ? {} : u, e[2] = u, e[3] = w) : w = e[3];
309
+ let v, _;
310
+ e[4] !== w ? ({
311
+ sx: _,
312
+ ...v
313
+ } = w, e[4] = w, e[5] = v, e[6] = _) : (v = e[5], _ = e[6]);
314
+ const G = $ === void 0 ? D.Chips : $, E = x === void 0 ? D.Action : x, H = y === void 0 ? D.SecondaryActions : y, z = B === void 0 ? D.Options : B;
315
+ let j;
316
+ e[7] !== v || e[8] !== r || e[9] !== a || e[10] !== l || e[11] !== n || e[12] !== d || e[13] !== c || e[14] !== s || e[15] !== p || e[16] !== m || e[17] !== b || e[18] !== f || e[19] !== g || e[20] !== h || e[21] !== T ? (j = {
317
317
  enabled: l,
318
- values: E,
318
+ values: T,
319
319
  actionProps: r,
320
- chipProps: c,
320
+ chipProps: a,
321
321
  labels: n,
322
- modes: s,
323
- modesMapping: a,
322
+ modes: c,
323
+ modesMapping: s,
324
324
  modeSelected: d,
325
- PaperProps: w,
325
+ PaperProps: v,
326
326
  onActionToggle: p,
327
327
  onChipToggle: g,
328
328
  onDelete: h,
329
- onChangeMode: v,
330
- onAllChipToggle: f,
331
- onAllDelete: C
332
- }, e[7] = w, e[8] = r, e[9] = c, e[10] = l, e[11] = n, e[12] = d, e[13] = s, e[14] = a, e[15] = p, e[16] = f, e[17] = C, e[18] = v, e[19] = g, e[20] = h, e[21] = E, e[22] = G) : G = e[22];
333
- const m = G;
334
- let D;
335
- e[23] !== A ? (D = {
336
- ...M.container,
337
- ...A
338
- }, e[23] = A, e[24] = D) : D = e[24];
339
- let Z;
340
- e[25] !== P || e[26] !== m ? (Z = !!P && /* @__PURE__ */ i(P, { ...m }), e[25] = P, e[26] = m, e[27] = Z) : Z = e[27];
341
- let B;
342
- e[28] !== V || e[29] !== m ? (B = !!V && /* @__PURE__ */ i(Q, { children: (Y) => /* @__PURE__ */ i(V, { ...m, ...Y }) }), e[28] = V, e[29] = m, e[30] = B) : B = e[30];
343
- let L;
344
- e[31] !== O || e[32] !== m ? (L = !!O && /* @__PURE__ */ i(O, { ...m }), e[31] = O, e[32] = m, e[33] = L) : L = e[33];
345
- let _;
346
- e[34] !== k || e[35] !== m ? (_ = !!k && /* @__PURE__ */ i(k, { ...m }), e[34] = k, e[35] = m, e[36] = _) : _ = e[36];
347
- let $;
348
- return e[37] !== w || e[38] !== D || e[39] !== Z || e[40] !== B || e[41] !== L || e[42] !== _ ? ($ = /* @__PURE__ */ T(le, { sx: D, ...w, children: [
349
- Z,
350
- B,
351
- L,
352
- _
353
- ] }), e[37] = w, e[38] = D, e[39] = Z, e[40] = B, e[41] = L, e[42] = _, e[43] = $) : $ = e[43], $;
329
+ onChangeMode: f,
330
+ onAllChipToggle: m,
331
+ onAllDelete: b
332
+ }, e[7] = v, e[8] = r, e[9] = a, e[10] = l, e[11] = n, e[12] = d, e[13] = c, e[14] = s, e[15] = p, e[16] = m, e[17] = b, e[18] = f, e[19] = g, e[20] = h, e[21] = T, e[22] = j) : j = e[22];
333
+ const M = j;
334
+ let I;
335
+ e[23] !== _ ? (I = {
336
+ ...A.container,
337
+ ..._
338
+ }, e[23] = _, e[24] = I) : I = e[24];
339
+ let P;
340
+ e[25] !== E || e[26] !== M ? (P = !!E && /* @__PURE__ */ i(E, { ...M }), e[25] = E, e[26] = M, e[27] = P) : P = e[27];
341
+ let R;
342
+ e[28] !== z || e[29] !== M ? (R = !!z && /* @__PURE__ */ i(Q, { children: (Y) => /* @__PURE__ */ i(z, { ...M, ...Y }) }), e[28] = z, e[29] = M, e[30] = R) : R = e[30];
343
+ let O;
344
+ e[31] !== G || e[32] !== M ? (O = !!G && /* @__PURE__ */ i(G, { ...M }), e[31] = G, e[32] = M, e[33] = O) : O = e[33];
345
+ let k;
346
+ e[34] !== H || e[35] !== M ? (k = !!H && /* @__PURE__ */ i(H, { ...M }), e[34] = H, e[35] = M, e[36] = k) : k = e[36];
347
+ let W;
348
+ return e[37] !== v || e[38] !== I || e[39] !== P || e[40] !== R || e[41] !== O || e[42] !== k ? (W = /* @__PURE__ */ Z(le, { sx: I, ...v, children: [
349
+ P,
350
+ R,
351
+ O,
352
+ k
353
+ ] }), e[37] = v, e[38] = I, e[39] = P, e[40] = R, e[41] = O, e[42] = k, e[43] = W) : W = e[43], W;
354
354
  }
355
355
  function be(t) {
356
- const e = b(12), {
356
+ const e = C(12), {
357
357
  actionProps: l,
358
358
  labels: o,
359
359
  enabled: r,
360
- children: c,
360
+ children: a,
361
361
  onActionToggle: n
362
- } = t, s = r ? "active" : "inactive", a = o?.tooltip?.[s] ?? x.action.tooltip[s], d = l?.TooltipProps;
362
+ } = t, c = r ? "active" : "inactive", s = o?.tooltip?.[c] ?? L.action.tooltip[c], d = l?.TooltipProps;
363
363
  let u;
364
364
  e[0] !== r || e[1] !== n ? (u = () => n(!r), e[0] = r, e[1] = n, e[2] = u) : u = e[2];
365
365
  let p;
366
- e[3] !== a || e[4] !== c || e[5] !== r || e[6] !== u ? (p = /* @__PURE__ */ i(de, { value: "toggle", sx: M.actions.icon, onClick: u, "aria-label": a, selected: r, children: c }), e[3] = a, e[4] = c, e[5] = r, e[6] = u, e[7] = p) : p = e[7];
366
+ e[3] !== s || e[4] !== a || e[5] !== r || e[6] !== u ? (p = /* @__PURE__ */ i(de, { value: "toggle", sx: A.actions.icon, onClick: u, "aria-label": s, selected: r, children: a }), e[3] = s, e[4] = a, e[5] = r, e[6] = u, e[7] = p) : p = e[7];
367
367
  let g;
368
- return e[8] !== a || e[9] !== d || e[10] !== p ? (g = /* @__PURE__ */ i(K, { title: a, placement: "right", ...d, children: p }), e[8] = a, e[9] = d, e[10] = p, e[11] = g) : g = e[11], g;
368
+ return e[8] !== s || e[9] !== d || e[10] !== p ? (g = /* @__PURE__ */ i(K, { title: s, placement: "right", ...d, children: p }), e[8] = s, e[9] = d, e[10] = p, e[11] = g) : g = e[11], g;
369
369
  }
370
- function Q({
371
- TriggerProps: {
372
- Icon: t = /* @__PURE__ */ i(ee, {}),
373
- sx: e
374
- } = {},
375
- MenuProps: l,
376
- children: o
377
- }) {
378
- const [r, c] = ue(null), n = !!r, s = (d) => {
379
- c(d.currentTarget);
380
- }, a = () => {
381
- c(null);
382
- };
383
- return /* @__PURE__ */ T(R, { children: [
384
- /* @__PURE__ */ i(ie, { sx: {
385
- ...M.options.icon,
386
- ...e
387
- }, onClick: s, children: t }),
388
- /* @__PURE__ */ i(ne, { id: "lasso-menu", anchorEl: r, open: n, onClose: a, MenuListProps: {
389
- "aria-labelledby": "lasso-button",
390
- sx: M.options.menu
391
- }, ...l, children: /* @__PURE__ */ i("div", { children: o({
392
- onClose: a
393
- }) }) })
394
- ] });
370
+ function Q(t) {
371
+ const e = C(24), {
372
+ TriggerProps: l,
373
+ MenuProps: o,
374
+ children: r
375
+ } = t;
376
+ let a;
377
+ e[0] !== l ? (a = l === void 0 ? {} : l, e[0] = l, e[1] = a) : a = e[1];
378
+ const n = a, {
379
+ Icon: c,
380
+ sx: s
381
+ } = n;
382
+ let d;
383
+ e[2] !== c ? (d = c ?? /* @__PURE__ */ i(ee, {}), e[2] = c, e[3] = d) : d = e[3];
384
+ const u = d, [p, g] = ue(null), h = !!p;
385
+ let f;
386
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = (_) => {
387
+ g(_.currentTarget);
388
+ }, e[4] = f) : f = e[4];
389
+ const m = f;
390
+ let b;
391
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
392
+ g(null);
393
+ }, e[5] = b) : b = e[5];
394
+ const $ = b;
395
+ let x;
396
+ e[6] !== s ? (x = {
397
+ ...A.options.icon,
398
+ ...s
399
+ }, e[6] = s, e[7] = x) : x = e[7];
400
+ let y;
401
+ e[8] !== u || e[9] !== x ? (y = /* @__PURE__ */ i(re, { sx: x, onClick: m, children: u }), e[8] = u, e[9] = x, e[10] = y) : y = e[10];
402
+ let B;
403
+ e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = {
404
+ "aria-labelledby": "lasso-button",
405
+ sx: A.options.menu
406
+ }, e[11] = B) : B = e[11];
407
+ let S;
408
+ e[12] !== r ? (S = r({
409
+ onClose: $
410
+ }), e[12] = r, e[13] = S) : S = e[13];
411
+ let T;
412
+ e[14] !== S ? (T = /* @__PURE__ */ i("div", { children: S }), e[14] = S, e[15] = T) : T = e[15];
413
+ let w;
414
+ e[16] !== o || e[17] !== p || e[18] !== h || e[19] !== T ? (w = /* @__PURE__ */ i(ie, { id: "lasso-menu", anchorEl: p, open: h, onClose: $, MenuListProps: B, ...o, children: T }), e[16] = o, e[17] = p, e[18] = h, e[19] = T, e[20] = w) : w = e[20];
415
+ let v;
416
+ return e[21] !== w || e[22] !== y ? (v = /* @__PURE__ */ Z(V, { children: [
417
+ y,
418
+ w
419
+ ] }), e[21] = w, e[22] = y, e[23] = v) : v = e[23], v;
395
420
  }
396
421
  function we(t) {
397
- const e = b(5), {
422
+ const e = C(5), {
398
423
  data: l,
399
424
  labels: o,
400
425
  children: r
401
426
  } = t;
402
427
  if (l.length <= 1)
403
428
  return null;
404
- const c = o?.mode?.title ?? x.options.mode.title;
429
+ const a = o?.mode?.title ?? L.options.mode.title;
405
430
  let n;
406
- e[0] !== c ? (n = /* @__PURE__ */ i(q, { variant: "subtitle2", color: "text.secondary", sx: M.options.title, children: c }), e[0] = c, e[1] = n) : n = e[1];
407
- let s;
408
- return e[2] !== r || e[3] !== n ? (s = /* @__PURE__ */ T(R, { children: [
431
+ e[0] !== a ? (n = /* @__PURE__ */ i(N, { variant: "subtitle2", color: "text.secondary", sx: A.options.title, children: a }), e[0] = a, e[1] = n) : n = e[1];
432
+ let c;
433
+ return e[2] !== r || e[3] !== n ? (c = /* @__PURE__ */ Z(V, { children: [
409
434
  n,
410
435
  r
411
- ] }), e[2] = r, e[3] = n, e[4] = s) : s = e[4], s;
436
+ ] }), e[2] = r, e[3] = n, e[4] = c) : c = e[4], c;
412
437
  }
413
438
  function F({
414
439
  data: t,
@@ -417,33 +442,33 @@ function F({
417
442
  onChangeMode: o,
418
443
  onClose: r
419
444
  }) {
420
- const c = (n, s) => {
421
- n.preventDefault(), o?.(s), r();
445
+ const a = (n, c) => {
446
+ n.preventDefault(), o?.(c), r();
422
447
  };
423
448
  return t.map((n) => {
424
- const a = (l?.mode?.options ?? x.options.mode.options)[n.value];
425
- return /* @__PURE__ */ T(z, { disabled: !!n.disabled, onClick: (d) => c(d, n.value), selected: n.value === e, children: [
426
- /* @__PURE__ */ i(ae, { sx: M.options.icons, children: /* @__PURE__ */ i(ce, { children: n.icon }) }),
427
- /* @__PURE__ */ i(se, { children: a })
449
+ const s = (l?.mode?.options ?? L.options.mode.options)[n.value];
450
+ return /* @__PURE__ */ Z(U, { disabled: !!n.disabled, onClick: (d) => a(d, n.value), selected: n.value === e, children: [
451
+ /* @__PURE__ */ i(se, { sx: A.options.icons, children: /* @__PURE__ */ i(ae, { children: n.icon }) }),
452
+ /* @__PURE__ */ i(ce, { children: s })
428
453
  ] }, n.value);
429
454
  });
430
455
  }
431
456
  function Me(t) {
432
- const e = b(8), {
457
+ const e = C(8), {
433
458
  values: l,
434
459
  labels: o,
435
460
  onAllChipToggle: r,
436
- onAllDelete: c
461
+ onAllDelete: a
437
462
  } = t;
438
463
  if (!l?.length || l.length <= 1)
439
464
  return null;
440
- const s = l?.some(Ce) ? o?.actions?.toggleAll?.active ?? x.actions.toggleAll.active : o?.actions?.toggleAll?.inactive ?? x.actions.toggleAll.inactive, a = o?.actions?.deleteAll ?? x.actions.deleteAll;
465
+ const c = l?.some(Se) ? o?.actions?.toggleAll?.active ?? L.actions.toggleAll.active : o?.actions?.toggleAll?.inactive ?? L.actions.toggleAll.inactive, s = o?.actions?.deleteAll ?? L.actions.deleteAll;
441
466
  let d;
442
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ i(H, { orientation: "vertical", flexItem: !0 }), e[0] = d) : d = e[0];
467
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ i(X, { orientation: "vertical", flexItem: !0 }), e[0] = d) : d = e[0];
443
468
  let u, p;
444
469
  e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
445
470
  Icon: /* @__PURE__ */ i(te, {}),
446
- sx: M.options.more
471
+ sx: A.options.more
447
472
  }, p = {
448
473
  anchorOrigin: {
449
474
  vertical: "bottom",
@@ -455,80 +480,80 @@ function Me(t) {
455
480
  }
456
481
  }, e[1] = u, e[2] = p) : (u = e[1], p = e[2]);
457
482
  let g;
458
- return e[3] !== a || e[4] !== r || e[5] !== c || e[6] !== s ? (g = /* @__PURE__ */ T(R, { children: [
483
+ return e[3] !== s || e[4] !== r || e[5] !== a || e[6] !== c ? (g = /* @__PURE__ */ Z(V, { children: [
459
484
  d,
460
- /* @__PURE__ */ i(Q, { TriggerProps: u, MenuProps: p, children: (h) => /* @__PURE__ */ T(R, { children: [
461
- /* @__PURE__ */ i(z, { color: "inherit", onClick: () => {
485
+ /* @__PURE__ */ i(Q, { TriggerProps: u, MenuProps: p, children: (h) => /* @__PURE__ */ Z(V, { children: [
486
+ /* @__PURE__ */ i(U, { color: "inherit", onClick: () => {
462
487
  r?.(), h.onClose();
463
- }, children: s }),
464
- /* @__PURE__ */ i(H, {}),
465
- /* @__PURE__ */ i(z, { color: "error", onClick: () => {
466
- c?.(), h.onClose();
467
- }, children: /* @__PURE__ */ i(q, { variant: "body2", color: "error", children: a }) })
488
+ }, children: c }),
489
+ /* @__PURE__ */ i(X, {}),
490
+ /* @__PURE__ */ i(U, { color: "error", onClick: () => {
491
+ a?.(), h.onClose();
492
+ }, children: /* @__PURE__ */ i(N, { variant: "body2", color: "error", children: s }) })
468
493
  ] }) })
469
- ] }), e[3] = a, e[4] = r, e[5] = c, e[6] = s, e[7] = g) : g = e[7], g;
494
+ ] }), e[3] = s, e[4] = r, e[5] = a, e[6] = c, e[7] = g) : g = e[7], g;
470
495
  }
471
- function Ce(t) {
496
+ function Se(t) {
472
497
  return t.visible;
473
498
  }
474
- S.Action = function({
499
+ D.Action = function({
475
500
  modes: e,
476
501
  modesMapping: l,
477
502
  modeSelected: o,
478
503
  actionProps: r,
479
- enabled: c,
504
+ enabled: a,
480
505
  labels: n,
481
- onActionToggle: s
506
+ onActionToggle: c
482
507
  }) {
483
- const a = J(() => N(e ?? {}, l ?? {}), [e, l]), d = (h) => s?.(h), p = (o ? o in (e ?? {}) : !1) ? o : Object.keys(a)[0], g = a[p];
484
- return /* @__PURE__ */ i(be, { actionProps: r, labels: n?.action, enabled: c ?? !1, onActionToggle: d, children: g?.icon });
508
+ const s = J(() => q(e ?? {}, l ?? {}), [e, l]), d = (h) => c?.(h), p = (o ? o in (e ?? {}) : !1) ? o : Object.keys(s)[0], g = s[p];
509
+ return /* @__PURE__ */ i(be, { actionProps: r, labels: n?.action, enabled: a ?? !1, onActionToggle: d, children: g?.icon });
485
510
  };
486
- S.Chips = function({
511
+ D.Chips = function({
487
512
  values: e,
488
513
  labels: l,
489
514
  chipProps: o,
490
515
  onDelete: r,
491
- onChipToggle: c,
516
+ onChipToggle: a,
492
517
  onActionToggle: n
493
518
  }) {
494
- const s = (a) => (n?.(!1), r?.(a));
495
- return !!e?.length && /* @__PURE__ */ i(re, { sx: M.chip.container, children: e?.map((a) => /* @__PURE__ */ i(ve, { value: a, labels: l?.chip, chipProps: o, onDelete: s, onChipToggle: (d, u) => c?.(d, u) }, a.id)) });
519
+ const c = (s) => (n?.(!1), r?.(s));
520
+ return !!e?.length && /* @__PURE__ */ i(ne, { sx: A.chip.container, children: e?.map((s) => /* @__PURE__ */ i(ve, { value: s, labels: l?.chip, chipProps: o, onDelete: c, onChipToggle: (d, u) => a?.(d, u) }, s.id)) });
496
521
  };
497
- S.SecondaryActions = Me;
498
- S.Options = function({
522
+ D.SecondaryActions = Me;
523
+ D.Options = function({
499
524
  values: e,
500
525
  modes: l,
501
526
  modesMapping: o,
502
527
  modeSelected: r,
503
- labels: c,
528
+ labels: a,
504
529
  onChangeMode: n,
505
- ...s
530
+ ...c
506
531
  }) {
507
- const a = J(() => N(l ?? {}, o ?? {}), [l, o]), {
532
+ const s = J(() => q(l ?? {}, o ?? {}), [l, o]), {
508
533
  edit: d,
509
534
  ...u
510
- } = a, g = (r ? r in (l ?? {}) : !1) ? r : Object.keys(a)[0], h = Object.values(u), v = (f) => n?.(f);
511
- return /* @__PURE__ */ T(R, { children: [
512
- /* @__PURE__ */ i(we, { data: h, labels: c?.options, children: /* @__PURE__ */ i(F, { ...s, labels: c?.options, data: h, modeSelected: g, onChangeMode: v }) }),
513
- !!d && /* @__PURE__ */ T(R, { children: [
514
- /* @__PURE__ */ i(H, {}),
515
- /* @__PURE__ */ i(F, { ...s, labels: c?.options, data: [{
535
+ } = s, g = (r ? r in (l ?? {}) : !1) ? r : Object.keys(s)[0], h = Object.values(u), f = (m) => n?.(m);
536
+ return /* @__PURE__ */ Z(V, { children: [
537
+ /* @__PURE__ */ i(we, { data: h, labels: a?.options, children: /* @__PURE__ */ i(F, { ...c, labels: a?.options, data: h, modeSelected: g, onChangeMode: f }) }),
538
+ !!d && /* @__PURE__ */ Z(V, { children: [
539
+ /* @__PURE__ */ i(X, {}),
540
+ /* @__PURE__ */ i(F, { ...c, labels: a?.options, data: [{
516
541
  ...d,
517
542
  disabled: !e?.length
518
- }], modeSelected: g, onChangeMode: v })
543
+ }], modeSelected: g, onChangeMode: f })
519
544
  ] })
520
545
  ] });
521
546
  };
522
547
  export {
523
- Be as D,
548
+ Ze as D,
524
549
  ve as L,
525
550
  me as S,
526
- x as a,
551
+ L as a,
527
552
  he as b,
528
553
  fe as c,
529
554
  ge as d,
530
555
  pe as e,
531
- S as f,
532
- M as s
556
+ D as f,
557
+ A as s
533
558
  };
534
- //# sourceMappingURL=lasso-tool-wFqOD6wk.js.map
559
+ //# sourceMappingURL=lasso-tool-BctzdzBu.js.map