@raystack/apsara 0.10.8 → 0.10.10

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.cjs CHANGED
@@ -1830,64 +1830,45 @@ const cva = (base, config)=>{
1830
1830
  };
1831
1831
  };
1832
1832
 
1833
- var styles$v = {"box":"box-module_box__ETj3v"};
1833
+ var styles$w = {"box":"box-module_box__ETj3v"};
1834
1834
 
1835
- const box = cva(styles$v.box);
1835
+ const box = cva(styles$w.box);
1836
1836
  function Box({ children, className, ...props }) {
1837
1837
  return (jsxRuntimeExports.jsx("div", { className: box({ className }), ...props, children: children }));
1838
1838
  }
1839
1839
 
1840
- var styles$u = {"avatar":"avatar-module_avatar__jlJnk","avatar-sm":"avatar-module_avatar-sm__Zy-le","avatar-md":"avatar-module_avatar-md__rdYft","avatar-lg":"avatar-module_avatar-lg__mwC4c","avatar-xl":"avatar-module_avatar-xl__kXQGp","avatar-square":"avatar-module_avatar-square__vypF7","avatar-circle":"avatar-module_avatar-circle__XP6E3","avatar-disabled":"avatar-module_avatar-disabled__rsBE6","imageWrapper":"avatar-module_imageWrapper__dhsku","image":"avatar-module_image__P6Pav","fallback":"avatar-module_fallback__NzNwU","fallback-sm":"avatar-module_fallback-sm__Y7quI","fallback-md":"avatar-module_fallback-md__laH7u","fallback-lg":"avatar-module_fallback-lg__-gtU4"};
1840
+ var styles$v = {"avatar":"avatar-module_avatar__jlJnk","avatar-square":"avatar-module_avatar-square__vypF7","avatar-circle":"avatar-module_avatar-circle__XP6E3","avatar-disabled":"avatar-module_avatar-disabled__rsBE6","imageWrapper":"avatar-module_imageWrapper__dhsku","image":"avatar-module_image__P6Pav","fallback":"avatar-module_fallback__NzNwU"};
1841
1841
 
1842
- const avatar = cva(styles$u.avatar, {
1842
+ const avatar = cva(styles$v.avatar, {
1843
1843
  variants: {
1844
- size: {
1845
- small: styles$u["avatar-sm"],
1846
- medium: styles$u["avatar-md"],
1847
- large: styles$u["avatar-lg"],
1848
- "extra-large": styles$u["avatar-xl"],
1849
- },
1850
1844
  shape: {
1851
- square: styles$u["avatar-square"],
1852
- circle: styles$u["avatar-circle"],
1845
+ square: styles$v["avatar-square"],
1846
+ circle: styles$v["avatar-circle"],
1853
1847
  },
1854
1848
  disabled: {
1855
- true: styles$u["avatar-disabled"],
1849
+ true: styles$v["avatar-disabled"],
1856
1850
  },
1857
1851
  },
1858
1852
  defaultVariants: {
1859
- size: "medium",
1860
1853
  shape: "circle",
1861
1854
  },
1862
1855
  });
1863
- const image$1 = cva(styles$u.image);
1864
- const AvatarRoot = React.forwardRef(({ className, alt, src, fallback, size, shape, style, ...props }, ref) => (jsxRuntimeExports.jsx(Box, { className: styles$u.imageWrapper, style: style, children: jsxRuntimeExports.jsxs($cddcb0b647441e34$export$be92b6f5f03c0fe9, { ref: ref, className: avatar({ size, shape, className }), ...props, children: [jsxRuntimeExports.jsx(AvatarImage, { alt: alt, src: src }), jsxRuntimeExports.jsx(AvatarFallback, { size: size, children: fallback })] }) })));
1856
+ const image$1 = cva(styles$v.image);
1857
+ const AvatarRoot = React.forwardRef(({ className, alt, src, fallback, shape, style, imageProps, ...props }, ref) => (jsxRuntimeExports.jsx(Box, { className: styles$v.imageWrapper, style: style, children: jsxRuntimeExports.jsxs($cddcb0b647441e34$export$be92b6f5f03c0fe9, { ref: ref, className: avatar({ shape, className }), style: imageProps, ...props, children: [jsxRuntimeExports.jsx(AvatarImage, { alt: alt, src: src }), jsxRuntimeExports.jsx(AvatarFallback, { children: fallback })] }) })));
1865
1858
  AvatarRoot.displayName = $cddcb0b647441e34$export$be92b6f5f03c0fe9.displayName;
1866
1859
  const AvatarImage = React.forwardRef(({ className, sizes, ...props }, ref) => (jsxRuntimeExports.jsx($cddcb0b647441e34$export$3e431a229df88919, { ref: ref, className: image$1({ className }), ...props })));
1867
1860
  AvatarImage.displayName = $cddcb0b647441e34$export$3e431a229df88919.displayName;
1868
- const fallback = cva(styles$u.fallback, {
1869
- variants: {
1870
- size: {
1871
- small: styles$u["fallback-sm"],
1872
- medium: styles$u["fallback-md"],
1873
- large: styles$u["fallback-lg"],
1874
- "extra-large": styles$u["fallback-xl"],
1875
- },
1876
- },
1877
- defaultVariants: {
1878
- size: "small",
1879
- },
1880
- });
1881
- const AvatarFallback = React.forwardRef(({ className, size, ...props }, ref) => (jsxRuntimeExports.jsx($cddcb0b647441e34$export$fb8d7f40caaeea67, { ref: ref, className: fallback({ size, className }), ...props })));
1861
+ const fallback = cva(styles$v.fallback);
1862
+ const AvatarFallback = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($cddcb0b647441e34$export$fb8d7f40caaeea67, { ref: ref, className: fallback({ className }), ...props })));
1882
1863
  AvatarFallback.displayName = $cddcb0b647441e34$export$fb8d7f40caaeea67.displayName;
1883
1864
  const Avatar = Object.assign(AvatarRoot, {
1884
1865
  Image: AvatarImage,
1885
1866
  Fallback: AvatarFallback,
1886
1867
  });
1887
1868
 
1888
- var styles$t = {"badge":"badge-module_badge__NAloH"};
1869
+ var styles$u = {"badge":"badge-module_badge__NAloH"};
1889
1870
 
1890
- const badge = cva(styles$t.badge, {
1871
+ const badge = cva(styles$u.badge, {
1891
1872
  variants: {
1892
1873
  color: {},
1893
1874
  },
@@ -1898,14 +1879,14 @@ const Badge = (props, ref) => {
1898
1879
  };
1899
1880
  var badge$1 = React.forwardRef(Badge);
1900
1881
 
1901
- var styles$s = {"body":"body-module_body__0sfEI","body-small":"body-module_body-small__CjW1C","body-medium":"body-module_body-medium__XVmQw","body-large":"body-module_body-large__KqAga"};
1882
+ var styles$t = {"body":"body-module_body__0sfEI","body-small":"body-module_body-small__CjW1C","body-medium":"body-module_body-medium__XVmQw","body-large":"body-module_body-large__KqAga"};
1902
1883
 
1903
- const body$1 = cva(styles$s.body, {
1884
+ const body$1 = cva(styles$t.body, {
1904
1885
  variants: {
1905
1886
  size: {
1906
- small: styles$s["body-small"],
1907
- medium: styles$s["body-medium"],
1908
- large: styles$s["body-large"],
1887
+ small: styles$t["body-small"],
1888
+ medium: styles$t["body-medium"],
1889
+ large: styles$t["body-large"],
1909
1890
  },
1910
1891
  },
1911
1892
  defaultVariants: {
@@ -1916,21 +1897,21 @@ function Body({ children, className, size, ...props }) {
1916
1897
  return (jsxRuntimeExports.jsx("span", { className: body$1({ size, className }), ...props, children: children }));
1917
1898
  }
1918
1899
 
1919
- var styles$r = {"button":"button-module_button__9VQ21","button-small":"button-module_button-small__RR1mh","button-medium":"button-module_button-medium__79Bf1","button-large":"button-module_button-large__BQy6w","button-round":"button-module_button-round__Gd30S","button-primary":"button-module_button-primary__R0k9n","button-outline":"button-module_button-outline__MN25q","button-secondary":"button-module_button-secondary__zDkNV","button-ghost":"button-module_button-ghost__KcZUm","button-danger":"button-module_button-danger__dnB-7"};
1900
+ var styles$s = {"button":"button-module_button__9VQ21","button-small":"button-module_button-small__RR1mh","button-medium":"button-module_button-medium__79Bf1","button-large":"button-module_button-large__BQy6w","button-round":"button-module_button-round__Gd30S","button-primary":"button-module_button-primary__R0k9n","button-outline":"button-module_button-outline__MN25q","button-secondary":"button-module_button-secondary__zDkNV","button-ghost":"button-module_button-ghost__KcZUm","button-danger":"button-module_button-danger__dnB-7"};
1920
1901
 
1921
- const button = cva(styles$r.button, {
1902
+ const button = cva(styles$s.button, {
1922
1903
  variants: {
1923
1904
  variant: {
1924
- primary: styles$r["button-primary"],
1925
- outline: styles$r["button-outline"],
1926
- secondary: styles$r["button-secondary"],
1927
- ghost: styles$r["button-ghost"],
1928
- danger: styles$r["button-danger"],
1905
+ primary: styles$s["button-primary"],
1906
+ outline: styles$s["button-outline"],
1907
+ secondary: styles$s["button-secondary"],
1908
+ ghost: styles$s["button-ghost"],
1909
+ danger: styles$s["button-danger"],
1929
1910
  },
1930
1911
  size: {
1931
- small: styles$r["button-small"],
1932
- medium: styles$r["button-medium"],
1933
- large: styles$r["button-large"],
1912
+ small: styles$s["button-small"],
1913
+ medium: styles$s["button-medium"],
1914
+ large: styles$s["button-large"],
1934
1915
  },
1935
1916
  },
1936
1917
  });
@@ -2490,6 +2471,72 @@ var Cross2Icon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
2490
2471
  }));
2491
2472
  });
2492
2473
 
2474
+ var _excluded$20 = ["color"];
2475
+ var ExclamationTriangleIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
2476
+ var _ref$color = _ref.color,
2477
+ color = _ref$color === void 0 ? 'currentColor' : _ref$color,
2478
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$20);
2479
+
2480
+ return React.createElement("svg", Object.assign({
2481
+ width: "15",
2482
+ height: "15",
2483
+ viewBox: "0 0 15 15",
2484
+ fill: "none",
2485
+ xmlns: "http://www.w3.org/2000/svg"
2486
+ }, props, {
2487
+ ref: forwardedRef
2488
+ }), React.createElement("path", {
2489
+ d: "M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",
2490
+ fill: color,
2491
+ fillRule: "evenodd",
2492
+ clipRule: "evenodd"
2493
+ }));
2494
+ });
2495
+
2496
+ var _excluded$29 = ["color"];
2497
+ var FileIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
2498
+ var _ref$color = _ref.color,
2499
+ color = _ref$color === void 0 ? 'currentColor' : _ref$color,
2500
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$29);
2501
+
2502
+ return React.createElement("svg", Object.assign({
2503
+ width: "15",
2504
+ height: "15",
2505
+ viewBox: "0 0 15 15",
2506
+ fill: "none",
2507
+ xmlns: "http://www.w3.org/2000/svg"
2508
+ }, props, {
2509
+ ref: forwardedRef
2510
+ }), React.createElement("path", {
2511
+ d: "M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z",
2512
+ fill: color,
2513
+ fillRule: "evenodd",
2514
+ clipRule: "evenodd"
2515
+ }));
2516
+ });
2517
+
2518
+ var _excluded$2c = ["color"];
2519
+ var FileTextIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
2520
+ var _ref$color = _ref.color,
2521
+ color = _ref$color === void 0 ? 'currentColor' : _ref$color,
2522
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$2c);
2523
+
2524
+ return React.createElement("svg", Object.assign({
2525
+ width: "15",
2526
+ height: "15",
2527
+ viewBox: "0 0 15 15",
2528
+ fill: "none",
2529
+ xmlns: "http://www.w3.org/2000/svg"
2530
+ }, props, {
2531
+ ref: forwardedRef
2532
+ }), React.createElement("path", {
2533
+ d: "M3 2.5C3 2.22386 3.22386 2 3.5 2H9.08579C9.21839 2 9.34557 2.05268 9.43934 2.14645L11.8536 4.56066C11.9473 4.65443 12 4.78161 12 4.91421V12.5C12 12.7761 11.7761 13 11.5 13H3.5C3.22386 13 3 12.7761 3 12.5V2.5ZM3.5 1C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V4.91421C13 4.51639 12.842 4.13486 12.5607 3.85355L10.1464 1.43934C9.86514 1.15804 9.48361 1 9.08579 1H3.5ZM4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5H7.5C7.77614 5 8 4.77614 8 4.5C8 4.22386 7.77614 4 7.5 4H4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H10.5C10.7761 11 11 10.7761 11 10.5C11 10.2239 10.7761 10 10.5 10H4.5Z",
2534
+ fill: color,
2535
+ fillRule: "evenodd",
2536
+ clipRule: "evenodd"
2537
+ }));
2538
+ });
2539
+
2493
2540
  var _excluded$33 = ["color"];
2494
2541
  var MagnifyingGlassIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
2495
2542
  var _ref$color = _ref.color,
@@ -2578,40 +2625,40 @@ var SunIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
2578
2625
  }));
2579
2626
  });
2580
2627
 
2581
- var styles$q = {"flex":"flex-module_flex__tfvHj","direction-row":"flex-module_direction-row__ZZCCO","direction-column":"flex-module_direction-column__MZhja","direction-rowReverse":"flex-module_direction-rowReverse__cODeQ","direction-columnReverse":"flex-module_direction-columnReverse__uxwTT","align-start":"flex-module_align-start__d1cB2","align-center":"flex-module_align-center__zZ1E6","align-end":"flex-module_align-end__z2g3F","align-stretch":"flex-module_align-stretch__X-Zb0","align-baseline":"flex-module_align-baseline__UImQH","justify-start":"flex-module_justify-start__4eduw","justify-center":"flex-module_justify-center__BMDDv","justify-end":"flex-module_justify-end__pWfzn","justify-between":"flex-module_justify-between__9NSwF","wrap-noWrap":"flex-module_wrap-noWrap__Ly8Pu","wrap-wrap":"flex-module_wrap-wrap__5WZOm","wrap-wrapReverse":"flex-module_wrap-wrapReverse__6u3Es","gap-xs":"flex-module_gap-xs__3h3LG","gap-sm":"flex-module_gap-sm__UMdVH","gap-md":"flex-module_gap-md__sfd7f","gap-lg":"flex-module_gap-lg__LAcQC","gap-xl":"flex-module_gap-xl__3-8uA"};
2628
+ var styles$r = {"flex":"flex-module_flex__tfvHj","direction-row":"flex-module_direction-row__ZZCCO","direction-column":"flex-module_direction-column__MZhja","direction-rowReverse":"flex-module_direction-rowReverse__cODeQ","direction-columnReverse":"flex-module_direction-columnReverse__uxwTT","align-start":"flex-module_align-start__d1cB2","align-center":"flex-module_align-center__zZ1E6","align-end":"flex-module_align-end__z2g3F","align-stretch":"flex-module_align-stretch__X-Zb0","align-baseline":"flex-module_align-baseline__UImQH","justify-start":"flex-module_justify-start__4eduw","justify-center":"flex-module_justify-center__BMDDv","justify-end":"flex-module_justify-end__pWfzn","justify-between":"flex-module_justify-between__9NSwF","wrap-noWrap":"flex-module_wrap-noWrap__Ly8Pu","wrap-wrap":"flex-module_wrap-wrap__5WZOm","wrap-wrapReverse":"flex-module_wrap-wrapReverse__6u3Es","gap-xs":"flex-module_gap-xs__3h3LG","gap-sm":"flex-module_gap-sm__UMdVH","gap-md":"flex-module_gap-md__sfd7f","gap-lg":"flex-module_gap-lg__LAcQC","gap-xl":"flex-module_gap-xl__3-8uA"};
2582
2629
 
2583
- const flex = cva(styles$q.flex, {
2630
+ const flex = cva(styles$r.flex, {
2584
2631
  variants: {
2585
2632
  direction: {
2586
- row: styles$q["direction-row"],
2587
- column: styles$q["direction-column"],
2588
- rowReverse: styles$q["direction-rowReverse"],
2589
- columnReverse: styles$q["direction-columnReverse"],
2633
+ row: styles$r["direction-row"],
2634
+ column: styles$r["direction-column"],
2635
+ rowReverse: styles$r["direction-rowReverse"],
2636
+ columnReverse: styles$r["direction-columnReverse"],
2590
2637
  },
2591
2638
  align: {
2592
- start: styles$q["align-start"],
2593
- center: styles$q["align-center"],
2594
- end: styles$q["align-end"],
2595
- stretch: styles$q["align-stretch"],
2596
- baseline: styles$q["align-baseline"],
2639
+ start: styles$r["align-start"],
2640
+ center: styles$r["align-center"],
2641
+ end: styles$r["align-end"],
2642
+ stretch: styles$r["align-stretch"],
2643
+ baseline: styles$r["align-baseline"],
2597
2644
  },
2598
2645
  justify: {
2599
- start: styles$q["justify-start"],
2600
- center: styles$q["justify-center"],
2601
- end: styles$q["justify-end"],
2602
- between: styles$q["justify-between"],
2646
+ start: styles$r["justify-start"],
2647
+ center: styles$r["justify-center"],
2648
+ end: styles$r["justify-end"],
2649
+ between: styles$r["justify-between"],
2603
2650
  },
2604
2651
  wrap: {
2605
- noWrap: styles$q["wrap-noWrap"],
2606
- wrap: styles$q["wrap-wrap"],
2607
- wrapReverse: styles$q["wrap-wrapReverse"],
2652
+ noWrap: styles$r["wrap-noWrap"],
2653
+ wrap: styles$r["wrap-wrap"],
2654
+ wrapReverse: styles$r["wrap-wrapReverse"],
2608
2655
  },
2609
2656
  gap: {
2610
- "extra-small": styles$q["gap-xs"],
2611
- small: styles$q["gap-sm"],
2612
- medium: styles$q["gap-md"],
2613
- large: styles$q["gap-lg"],
2614
- "extra-large": styles$q["gap-xl"],
2657
+ "extra-small": styles$r["gap-xs"],
2658
+ small: styles$r["gap-sm"],
2659
+ medium: styles$r["gap-md"],
2660
+ large: styles$r["gap-lg"],
2661
+ "extra-large": styles$r["gap-xl"],
2615
2662
  },
2616
2663
  },
2617
2664
  defaultVariants: {
@@ -2625,14 +2672,14 @@ function Flex({ children, direction, align, justify, wrap, gap, className, ...pr
2625
2672
  return (jsxRuntimeExports.jsx("div", { className: flex({ direction, align, justify, wrap, gap, className }), ...props, children: children }));
2626
2673
  }
2627
2674
 
2628
- var styles$p = {"label":"label-module_label__hM2lk","label-small":"label-module_label-small__se5gE","label-medium":"label-module_label-medium__Z4Tcb","label-large":"label-module_label-large__ba4Jb"};
2675
+ var styles$q = {"label":"label-module_label__hM2lk","label-small":"label-module_label-small__se5gE","label-medium":"label-module_label-medium__Z4Tcb","label-large":"label-module_label-large__ba4Jb"};
2629
2676
 
2630
- const label$2 = cva(styles$p.label, {
2677
+ const label$2 = cva(styles$q.label, {
2631
2678
  variants: {
2632
2679
  size: {
2633
- small: styles$p["label-small"],
2634
- medium: styles$p["label-medium"],
2635
- large: styles$p["label-large"],
2680
+ small: styles$q["label-small"],
2681
+ medium: styles$q["label-medium"],
2682
+ large: styles$q["label-large"],
2636
2683
  },
2637
2684
  },
2638
2685
  defaultVariants: {
@@ -2643,13 +2690,13 @@ function Label({ children, className, size, ...props }) {
2643
2690
  return (jsxRuntimeExports.jsx("label", { className: label$2({ size, className }), ...props, children: children }));
2644
2691
  }
2645
2692
 
2646
- var styles$o = {"checkbox":"checkbox-module_checkbox__QdlAc","checkbox-sm":"checkbox-module_checkbox-sm__tVhlX","checkbox-md":"checkbox-module_checkbox-md__G04e5","indicator":"checkbox-module_indicator__oGvoN"};
2693
+ var styles$p = {"checkbox":"checkbox-module_checkbox__QdlAc","checkbox-sm":"checkbox-module_checkbox-sm__tVhlX","checkbox-md":"checkbox-module_checkbox-md__G04e5","indicator":"checkbox-module_indicator__oGvoN"};
2647
2694
 
2648
- const checkbox = cva(styles$o.checkbox, {
2695
+ const checkbox = cva(styles$p.checkbox, {
2649
2696
  variants: {
2650
2697
  size: {
2651
- small: styles$o["checkbox-sm"],
2652
- medium: styles$o["checkbox-md"],
2698
+ small: styles$p["checkbox-sm"],
2699
+ medium: styles$p["checkbox-md"],
2653
2700
  },
2654
2701
  },
2655
2702
  defaultVariants: {
@@ -2657,7 +2704,7 @@ const checkbox = cva(styles$o.checkbox, {
2657
2704
  },
2658
2705
  });
2659
2706
  const Checkbox = React.forwardRef(({ className, size, children, ...props }, forwardedRef) => (jsxRuntimeExports.jsxs(Flex, { gap: "small", children: [jsxRuntimeExports.jsx($e698a72e93240346$export$be92b6f5f03c0fe9, { ...props, ref: forwardedRef, className: checkbox({ size, className }), children: jsxRuntimeExports.jsx(CheckboxIndicator, { children: jsxRuntimeExports.jsx(CheckIcon, {}) }) }), jsxRuntimeExports.jsx(Label, { children: children })] })));
2660
- const indicator$1 = cva(styles$o.indicator);
2707
+ const indicator$1 = cva(styles$p.indicator);
2661
2708
  const CheckboxIndicator = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($e698a72e93240346$export$adb584737d712b70, { ref: ref, className: indicator$1({ className }), ...props })));
2662
2709
  CheckboxIndicator.displayName = $e698a72e93240346$export$adb584737d712b70.displayName;
2663
2710
 
@@ -4802,7 +4849,7 @@ var le = /*@__PURE__*/getDefaultExportFromCjs(commandScore_1);
4802
4849
 
4803
4850
  var ue='[cmdk-list-sizer=""]',M='[cmdk-group=""]',N='[cmdk-group-items=""]',de='[cmdk-group-heading=""]',ee='[cmdk-item=""]',Z=`${ee}:not([aria-disabled="true"])`,z="cmdk-item-select",S="data-value",fe=(n,a)=>le(n,a),te=React__namespace.createContext(void 0),k=()=>React__namespace.useContext(te),re=React__namespace.createContext(void 0),U=()=>React__namespace.useContext(re),ne=React__namespace.createContext(void 0),oe=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(null),o=x(()=>({search:"",value:"",filtered:{count:0,items:new Map,groups:new Set}})),u=x(()=>new Set),l=x(()=>new Map),p=x(()=>new Map),f=x(()=>new Set),d=ae(n),{label:v,children:E,value:R,onValueChange:w,filter:O,shouldFilter:ie,...D}=n,F=React__namespace.useId(),g=React__namespace.useId(),A=React__namespace.useId(),y=ye();L(()=>{if(R!==void 0){let e=R.trim().toLowerCase();o.current.value=e,y(6,W),h.emit();}},[R]);let h=React__namespace.useMemo(()=>({subscribe:e=>(f.current.add(e),()=>f.current.delete(e)),snapshot:()=>o.current,setState:(e,c,i)=>{var s,m,b;if(!Object.is(o.current[e],c)){if(o.current[e]=c,e==="search")j(),G(),y(1,V);else if(e==="value")if(((s=d.current)==null?void 0:s.value)!==void 0){(b=(m=d.current).onValueChange)==null||b.call(m,c);return}else i||y(5,W);h.emit();}},emit:()=>{f.current.forEach(e=>e());}}),[]),K=React__namespace.useMemo(()=>({value:(e,c)=>{c!==p.current.get(e)&&(p.current.set(e,c),o.current.filtered.items.set(e,B(c)),y(2,()=>{G(),h.emit();}));},item:(e,c)=>(u.current.add(e),c&&(l.current.has(c)?l.current.get(c).add(e):l.current.set(c,new Set([e]))),y(3,()=>{j(),G(),o.current.value||V(),h.emit();}),()=>{p.current.delete(e),u.current.delete(e),o.current.filtered.items.delete(e),y(4,()=>{j(),V(),h.emit();});}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{p.current.delete(e),l.current.delete(e);}),filter:()=>d.current.shouldFilter,label:v||n["aria-label"],listId:F,inputId:A,labelId:g}),[]);function B(e){var i;let c=((i=d.current)==null?void 0:i.filter)??fe;return e?c(e,o.current.search):0}function G(){if(!r.current||!o.current.search||d.current.shouldFilter===!1)return;let e=o.current.filtered.items,c=[];o.current.filtered.groups.forEach(s=>{let m=l.current.get(s),b=0;m.forEach(P=>{let ce=e.get(P);b=Math.max(ce,b);}),c.push([s,b]);});let i=r.current.querySelector(ue);I().sort((s,m)=>{let b=s.getAttribute(S),P=m.getAttribute(S);return (e.get(P)??0)-(e.get(b)??0)}).forEach(s=>{let m=s.closest(N);m?m.appendChild(s.parentElement===m?s:s.closest(`${N} > *`)):i.appendChild(s.parentElement===i?s:s.closest(`${N} > *`));}),c.sort((s,m)=>m[1]-s[1]).forEach(s=>{let m=r.current.querySelector(`${M}[${S}="${s[0]}"]`);m==null||m.parentElement.appendChild(m);});}function V(){let e=I().find(i=>!i.ariaDisabled),c=e==null?void 0:e.getAttribute(S);h.setState("value",c||void 0);}function j(){if(!o.current.search||d.current.shouldFilter===!1){o.current.filtered.count=u.current.size;return}o.current.filtered.groups=new Set;let e=0;for(let c of u.current){let i=p.current.get(c),s=B(i);o.current.filtered.items.set(c,s),s>0&&e++;}for(let[c,i]of l.current)for(let s of i)if(o.current.filtered.items.get(s)>0){o.current.filtered.groups.add(c);break}o.current.filtered.count=e;}function W(){var c,i,s;let e=_();e&&(((c=e.parentElement)==null?void 0:c.firstChild)===e&&((s=(i=e.closest(M))==null?void 0:i.querySelector(de))==null||s.scrollIntoView({block:"nearest"})),e.scrollIntoView({block:"nearest"}));}function _(){return r.current.querySelector(`${ee}[aria-selected="true"]`)}function I(){return Array.from(r.current.querySelectorAll(Z))}function q(e){let i=I()[e];i&&h.setState("value",i.getAttribute(S));}function $(e){var b;let c=_(),i=I(),s=i.findIndex(P=>P===c),m=i[s+e];(b=d.current)!=null&&b.loop&&(m=s+e<0?i[i.length-1]:s+e===i.length?i[0]:i[s+e]),m&&h.setState("value",m.getAttribute(S));}function J(e){let c=_(),i=c==null?void 0:c.closest(M),s;for(;i&&!s;)i=e>0?Se(i,M):Ce(i,M),s=i==null?void 0:i.querySelector(Z);s?h.setState("value",s.getAttribute(S)):$(e);}let Q=()=>q(I().length-1),X=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?J(1):$(1);},Y=e=>{e.preventDefault(),e.metaKey?q(0):e.altKey?J(-1):$(-1);};return React__namespace.createElement("div",{ref:H([r,a]),...D,"cmdk-root":"",onKeyDown:e=>{var c;if((c=D.onKeyDown)==null||c.call(D,e),!e.defaultPrevented)switch(e.key){case"n":case"j":{e.ctrlKey&&X(e);break}case"ArrowDown":{X(e);break}case"p":case"k":{e.ctrlKey&&Y(e);break}case"ArrowUp":{Y(e);break}case"Home":{e.preventDefault(),q(0);break}case"End":{e.preventDefault(),Q();break}case"Enter":{e.preventDefault();let i=_();if(i){let s=new Event(z);i.dispatchEvent(s);}}}}},React__namespace.createElement("label",{"cmdk-label":"",htmlFor:K.inputId,id:K.labelId,style:xe},v),React__namespace.createElement(re.Provider,{value:h},React__namespace.createElement(te.Provider,{value:K},E)))}),me=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useId(),o=React__namespace.useRef(null),u=React__namespace.useContext(ne),l=k(),p=ae(n);L(()=>l.item(r,u),[]);let f=se(r,o,[n.value,n.children,o]),d=U(),v=T(g=>g.value&&g.value===f.current),E=T(g=>l.filter()===!1?!0:g.search?g.filtered.items.get(r)>0:!0);React__namespace.useEffect(()=>{let g=o.current;if(!(!g||n.disabled))return g.addEventListener(z,R),()=>g.removeEventListener(z,R)},[E,n.onSelect,n.disabled]);function R(){var g,A;(A=(g=p.current).onSelect)==null||A.call(g,f.current);}function w(){d.setState("value",f.current,!0);}if(!E)return null;let{disabled:O,value:ie,onSelect:D,...F}=n;return React__namespace.createElement("div",{ref:H([o,a]),...F,"cmdk-item":"",role:"option","aria-disabled":O||void 0,"aria-selected":v||void 0,"data-selected":v||void 0,onPointerMove:O?void 0:w,onClick:O?void 0:R},n.children)}),pe=React__namespace.forwardRef((n,a)=>{let{heading:r,children:o,...u}=n,l=React__namespace.useId(),p=React__namespace.useRef(null),f=React__namespace.useRef(null),d=React__namespace.useId(),v=k(),E=T(w=>v.filter()===!1?!0:w.search?w.filtered.groups.has(l):!0);L(()=>v.group(l),[]),se(l,p,[n.value,n.heading,f]);let R=React__namespace.createElement(ne.Provider,{value:l},o);return React__namespace.createElement("div",{ref:H([p,a]),...u,"cmdk-group":"",role:"presentation",hidden:E?void 0:!0},r&&React__namespace.createElement("div",{ref:f,"cmdk-group-heading":"","aria-hidden":!0,id:d},r),React__namespace.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?d:void 0},R))}),ge=React__namespace.forwardRef((n,a)=>{let{alwaysRender:r,...o}=n,u=React__namespace.useRef(null),l=T(p=>!p.search);return !r&&!l?null:React__namespace.createElement("div",{ref:H([u,a]),...o,"cmdk-separator":"",role:"separator"})}),ve=React__namespace.forwardRef((n,a)=>{let{onValueChange:r,...o}=n,u=n.value!=null,l=U(),p=T(d=>d.search),f=k();return React__namespace.useEffect(()=>{n.value!=null&&l.setState("search",n.value);},[n.value]),React__namespace.createElement("input",{ref:a,...o,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":f.listId,"aria-labelledby":f.labelId,id:f.inputId,type:"text",value:u?n.value:p,onChange:d=>{u||l.setState("search",d.target.value),r==null||r(d.target.value);}})}),Re=React__namespace.forwardRef((n,a)=>{let{children:r,...o}=n,u=React__namespace.useRef(null),l=React__namespace.useRef(null),p=k();return React__namespace.useEffect(()=>{if(l.current&&u.current){let f=l.current,d=u.current,v,E=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let R=f.getBoundingClientRect().height;d.style.setProperty("--cmdk-list-height",R.toFixed(1)+"px");});});return E.observe(f),()=>{cancelAnimationFrame(v),E.unobserve(f);}}},[]),React__namespace.createElement("div",{ref:H([u,a]),...o,"cmdk-list":"",role:"listbox","aria-label":"Suggestions",id:p.listId,"aria-labelledby":p.inputId},React__namespace.createElement("div",{ref:l,"cmdk-list-sizer":""},r))}),be=React__namespace.forwardRef((n,a)=>{let{open:r,onOpenChange:o,container:u,...l}=n;return React__namespace.createElement($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9$1,{open:r,onOpenChange:o},React__namespace.createElement($5d3850c4d0b4e6c7$export$602eac185826482c$1,{container:u},React__namespace.createElement($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff$1,{"cmdk-overlay":""}),React__namespace.createElement($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2$1,{"aria-label":n.label,"cmdk-dialog":""},React__namespace.createElement(oe,{ref:a,...l}))))}),he=React__namespace.forwardRef((n,a)=>{let r=React__namespace.useRef(!0),o=T(u=>u.filtered.count===0);return React__namespace.useEffect(()=>{r.current=!1;},[]),r.current||!o?null:React__namespace.createElement("div",{ref:a,...n,"cmdk-empty":"",role:"presentation"})}),Ee=React__namespace.forwardRef((n,a)=>{let{progress:r,children:o,...u}=n;return React__namespace.createElement("div",{ref:a,...u,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Loading..."},React__namespace.createElement("div",{"aria-hidden":!0},o))}),Le=Object.assign(oe,{List:Re,Item:me,Input:ve,Group:pe,Separator:ge,Dialog:be,Empty:he,Loading:Ee});function Se(n,a){let r=n.nextElementSibling;for(;r;){if(r.matches(a))return r;r=r.nextElementSibling;}}function Ce(n,a){let r=n.previousElementSibling;for(;r;){if(r.matches(a))return r;r=r.previousElementSibling;}}function ae(n){let a=React__namespace.useRef(n);return L(()=>{a.current=n;}),a}var L=typeof window>"u"?React__namespace.useEffect:React__namespace.useLayoutEffect;function x(n){let a=React__namespace.useRef();return a.current===void 0&&(a.current=n()),a}function H(n){return a=>{n.forEach(r=>{typeof r=="function"?r(a):r!=null&&(r.current=a);});}}function T(n){let a=U(),r=()=>n(a.snapshot());return React__namespace.useSyncExternalStore(a.subscribe,r,r)}function se(n,a,r){let o=React__namespace.useRef(),u=k();return L(()=>{var p;let l=(()=>{var f;for(let d of r){if(typeof d=="string")return d.trim().toLowerCase();if(typeof d=="object"&&"current"in d&&d.current)return (f=d.current.textContent)==null?void 0:f.trim().toLowerCase()}})();u.value(n,l),(p=a.current)==null||p.setAttribute(S,l),o.current=l;}),o}var ye=()=>{let[n,a]=React__namespace.useState(),r=x(()=>new Map);return L(()=>{r.current.forEach(o=>o()),r.current=new Map;},[n]),(o,u)=>{r.current.set(o,u),a({});}},xe={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};
4804
4851
 
4805
- var styles$n = {"command":"command-module_command__uWauu","inputWrapper":"command-module_inputWrapper__3p35Y","inputIcon":"command-module_inputIcon__A5omD","input":"command-module_input__l18cJ","list":"command-module_list__R5zPY","empty":"command-module_empty__had3w","group":"command-module_group__eVKQy","item":"command-module_item__J5y6v","separator":"command-module_separator__etEyE"};
4852
+ var styles$o = {"command":"command-module_command__uWauu","inputWrapper":"command-module_inputWrapper__3p35Y","inputIcon":"command-module_inputIcon__A5omD","input":"command-module_input__l18cJ","list":"command-module_list__R5zPY","empty":"command-module_empty__had3w","group":"command-module_group__eVKQy","item":"command-module_item__J5y6v","separator":"command-module_separator__etEyE"};
4806
4853
 
4807
4854
  const $1746a345f3d73bb7$var$useReactId = React__namespace['useId'.toString()] || (()=>undefined
4808
4855
  );
@@ -5927,16 +5974,16 @@ const $5d3850c4d0b4e6c7$export$f99233281efd08a0 = $5d3850c4d0b4e6c7$export$16f76
5927
5974
  const $5d3850c4d0b4e6c7$export$393edc798c47379d = $5d3850c4d0b4e6c7$export$94e94c2ec2c954d5;
5928
5975
  const $5d3850c4d0b4e6c7$export$f39c2d165cd861fe = $5d3850c4d0b4e6c7$export$fba2fb7cd781b7ac;
5929
5976
 
5930
- var styles$m = {"dialogContent":"dialog-module_dialogContent__bljTL","overlay":"dialog-module_overlay__t-jUE","close":"dialog-module_close__n9JNt"};
5977
+ var styles$n = {"dialogContent":"dialog-module_dialogContent__bljTL","overlay":"dialog-module_overlay__t-jUE","close":"dialog-module_close__n9JNt"};
5931
5978
 
5932
- const dialogContent = cva(styles$m.dialogContent);
5979
+ const dialogContent = cva(styles$n.dialogContent);
5933
5980
  const DialogContent = React.forwardRef(({ className, children, close, ...props }, forwardedRef) => {
5934
5981
  return (jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$602eac185826482c, { children: [jsxRuntimeExports.jsx(Overlay$1, {}), jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: dialogContent({ className }), children: [children, close && (jsxRuntimeExports.jsx(CloseButton$1, { children: jsxRuntimeExports.jsx(Cross1Icon, {}) }))] })] }));
5935
5982
  });
5936
- const overlay$1 = cva(styles$m.overlay);
5983
+ const overlay$1 = cva(styles$n.overlay);
5937
5984
  const Overlay$1 = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay$1({ className }), ...props })));
5938
5985
  Overlay$1.displayName = $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff.displayName;
5939
- const close$1 = cva(styles$m.close);
5986
+ const close$1 = cva(styles$n.close);
5940
5987
  function CloseButton$1({ children, className, ...props }) {
5941
5988
  return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { className: close$1({ className }), ...props, children: children }));
5942
5989
  }
@@ -5948,30 +5995,30 @@ const Dialog = Object.assign($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, {
5948
5995
  Description: $5d3850c4d0b4e6c7$export$393edc798c47379d,
5949
5996
  });
5950
5997
 
5951
- const command = cva(styles$n.command);
5998
+ const command = cva(styles$o.command);
5952
5999
  const CommandRoot = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Le, { ref: ref, className: command({ className }), ...props })));
5953
6000
  CommandRoot.displayName = Le.displayName;
5954
6001
  const CommandDialog = ({ children, ...props }) => {
5955
- return (jsxRuntimeExports.jsx(Dialog, { ...props, children: jsxRuntimeExports.jsx(Dialog.Content, { style: { overflow: "hidden", padding: "0" }, children: jsxRuntimeExports.jsx(Command, { className: styles$n.dialogcommand, children: children }) }) }));
6002
+ return (jsxRuntimeExports.jsx(Dialog, { ...props, children: jsxRuntimeExports.jsx(Dialog.Content, { style: { overflow: "hidden", padding: "0" }, children: jsxRuntimeExports.jsx(Command, { className: styles$o.dialogcommand, children: children }) }) }));
5956
6003
  };
5957
- const input = cva(styles$n.input);
5958
- const CommandInput = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsxs(Flex, { align: "center", gap: "small", "cmdk-input-wrapper": "", className: styles$n.inputWrapper, children: [jsxRuntimeExports.jsx(MagnifyingGlassIcon, { className: styles$n.inputIcon, width: 16, height: 16 }), jsxRuntimeExports.jsx(Le.Input, { ref: ref, className: input({ className }), ...props })] })));
6004
+ const input = cva(styles$o.input);
6005
+ const CommandInput = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsxs(Flex, { align: "center", gap: "small", "cmdk-input-wrapper": "", className: styles$o.inputWrapper, children: [jsxRuntimeExports.jsx(MagnifyingGlassIcon, { className: styles$o.inputIcon, width: 16, height: 16 }), jsxRuntimeExports.jsx(Le.Input, { ref: ref, className: input({ className }), ...props })] })));
5959
6006
  CommandInput.displayName = Le.Input.displayName;
5960
- const list = cva(styles$n.list);
6007
+ const list = cva(styles$o.list);
5961
6008
  const CommandList = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Le.List, { ref: ref, className: list({ className }), ...props })));
5962
6009
  CommandList.displayName = Le.List.displayName;
5963
- const CommandEmpty = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx(Le.Empty, { ref: ref, className: styles$n.empty, ...props })));
6010
+ const CommandEmpty = React.forwardRef((props, ref) => (jsxRuntimeExports.jsx(Le.Empty, { ref: ref, className: styles$o.empty, ...props })));
5964
6011
  CommandEmpty.displayName = Le.Empty.displayName;
5965
- const group = cva(styles$n.group);
6012
+ const group = cva(styles$o.group);
5966
6013
  const CommandGroup = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Le.Group, { ref: ref, className: group({ className }), ...props })));
5967
6014
  CommandGroup.displayName = Le.Group.displayName;
5968
- const separator$3 = cva(styles$n.separator);
6015
+ const separator$3 = cva(styles$o.separator);
5969
6016
  const CommandSeparator = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Le.Separator, { ref: ref, className: separator$3({ className }), ...props })));
5970
6017
  CommandSeparator.displayName = Le.Separator.displayName;
5971
- const item = cva(styles$n.item);
6018
+ const item = cva(styles$o.item);
5972
6019
  const CommandItem = React.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx(Le.Item, { ref: ref, className: item({ className }), ...props })));
5973
6020
  CommandItem.displayName = Le.Item.displayName;
5974
- const shortcut = cva(styles$n.shortcut);
6021
+ const shortcut = cva(styles$o.shortcut);
5975
6022
  const CommandShortcut = ({ className, ...props }) => {
5976
6023
  return jsxRuntimeExports.jsx("span", { className: shortcut({ className }), ...props });
5977
6024
  };
@@ -5987,15 +6034,15 @@ const Command = Object.assign(CommandRoot, {
5987
6034
  Separator: CommandSeparator,
5988
6035
  });
5989
6036
 
5990
- var styles$l = {"container":"container-module_container__gisZb","container-small":"container-module_container-small__gfmeG","container-medium":"container-module_container-medium__sA5rc","container-large":"container-module_container-large__bk-Wg","container-none":"container-module_container-none__hVnHU"};
6037
+ var styles$m = {"container":"container-module_container__gisZb","container-small":"container-module_container-small__gfmeG","container-medium":"container-module_container-medium__sA5rc","container-large":"container-module_container-large__bk-Wg","container-none":"container-module_container-none__hVnHU"};
5991
6038
 
5992
- const container = cva(styles$l.container, {
6039
+ const container = cva(styles$m.container, {
5993
6040
  variants: {
5994
6041
  size: {
5995
- small: styles$l["container-small"],
5996
- medium: styles$l["container-medium"],
5997
- large: styles$l["container-large"],
5998
- none: styles$l["container-none"],
6042
+ small: styles$m["container-small"],
6043
+ medium: styles$m["container-medium"],
6044
+ large: styles$m["container-large"],
6045
+ none: styles$m["container-none"],
5999
6046
  },
6000
6047
  },
6001
6048
  defaultVariants: {
@@ -6006,14 +6053,14 @@ function Container({ children, size, className, ...props }) {
6006
6053
  return (jsxRuntimeExports.jsx("div", { className: container({ size, className }), ...props, children: children }));
6007
6054
  }
6008
6055
 
6009
- var styles$k = {"display":"display-module_display__fImHP","display-small":"display-module_display-small__n9Y4F","display-medium":"display-module_display-medium__p8Iyc","display-large":"display-module_display-large__3LvKv"};
6056
+ var styles$l = {"display":"display-module_display__fImHP","display-small":"display-module_display-small__n9Y4F","display-medium":"display-module_display-medium__p8Iyc","display-large":"display-module_display-large__3LvKv"};
6010
6057
 
6011
- const display = cva(styles$k.display, {
6058
+ const display = cva(styles$l.display, {
6012
6059
  variants: {
6013
6060
  size: {
6014
- small: styles$k["display-small"],
6015
- medium: styles$k["display-medium"],
6016
- large: styles$k["display-large"],
6061
+ small: styles$l["display-small"],
6062
+ medium: styles$l["display-medium"],
6063
+ large: styles$l["display-large"],
6017
6064
  },
6018
6065
  },
6019
6066
  defaultVariants: {
@@ -9085,21 +9132,21 @@ const $d08ef79370b62062$export$b04be29aa201d4f5 = $d08ef79370b62062$export$76e48
9085
9132
  const $d08ef79370b62062$export$6d08773d2e66f8f2 = $d08ef79370b62062$export$ed97964d1871885d;
9086
9133
  const $d08ef79370b62062$export$1ff3c3f08ae963c0 = $d08ef79370b62062$export$da160178fd3bc7e9;
9087
9134
 
9088
- var styles$j = {"content":"dropdown-menu-module_content__-LWeL","menuitem":"dropdown-menu-module_menuitem__IuV4n","label":"dropdown-menu-module_label__2h-4H","separator":"dropdown-menu-module_separator__0-EoW","menugroup":"dropdown-menu-module_menugroup__AmbLX"};
9135
+ var styles$k = {"content":"dropdown-menu-module_content__-LWeL","menuitem":"dropdown-menu-module_menuitem__IuV4n","label":"dropdown-menu-module_label__2h-4H","separator":"dropdown-menu-module_separator__0-EoW","menugroup":"dropdown-menu-module_menugroup__AmbLX"};
9089
9136
 
9090
- const content$2 = cva(styles$j.content);
9137
+ const content$2 = cva(styles$k.content);
9091
9138
  const DropdownMenuContent = React__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => (jsxRuntimeExports.jsx($d08ef79370b62062$export$602eac185826482c, { children: jsxRuntimeExports.jsx($d08ef79370b62062$export$7c6e2c02157bb7d2, { ref: ref, sideOffset: sideOffset, className: content$2({ className }), ...props }) })));
9092
9139
  DropdownMenuContent.displayName = $d08ef79370b62062$export$7c6e2c02157bb7d2.displayName;
9093
- const menuitem$1 = cva(styles$j.menuitem);
9140
+ const menuitem$1 = cva(styles$k.menuitem);
9094
9141
  const DropdownMenuItem = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($d08ef79370b62062$export$6d08773d2e66f8f2, { ref: ref, className: menuitem$1({ className }), ...props })));
9095
9142
  DropdownMenuItem.displayName = $d08ef79370b62062$export$6d08773d2e66f8f2.displayName;
9096
- const label$1 = cva(styles$j.label);
9143
+ const label$1 = cva(styles$k.label);
9097
9144
  const DropdownMenuLabel = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($d08ef79370b62062$export$b04be29aa201d4f5, { ref: ref, className: label$1({ className }), ...props })));
9098
9145
  DropdownMenuLabel.displayName = $d08ef79370b62062$export$b04be29aa201d4f5.displayName;
9099
- const separator$2 = cva(styles$j.separator);
9146
+ const separator$2 = cva(styles$k.separator);
9100
9147
  const DropdownMenuSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($d08ef79370b62062$export$1ff3c3f08ae963c0, { ref: ref, className: separator$2({ className }), ...props })));
9101
9148
  DropdownMenuSeparator.displayName = $d08ef79370b62062$export$1ff3c3f08ae963c0.displayName;
9102
- const menugroup = cva(styles$j.menugroup);
9149
+ const menugroup = cva(styles$k.menugroup);
9103
9150
  const DropdownMenuGroup = React__namespace.forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($d08ef79370b62062$export$eb2fcfdbd7ba97d4, { ref: ref, className: menugroup({ className }), ...props })));
9104
9151
  DropdownMenuGroup.displayName = $d08ef79370b62062$export$eb2fcfdbd7ba97d4.displayName;
9105
9152
  const DropdownMenu = Object.assign($d08ef79370b62062$export$be92b6f5f03c0fe9, {
@@ -9111,63 +9158,130 @@ const DropdownMenu = Object.assign($d08ef79370b62062$export$be92b6f5f03c0fe9, {
9111
9158
  Separator: DropdownMenuSeparator,
9112
9159
  });
9113
9160
 
9114
- var styles$i = {"emptystate":"emptystate-module_emptystate__5wz7s"};
9161
+ var styles$j = {"emptystate":"emptystate-module_emptystate__5wz7s"};
9115
9162
 
9116
- const emptystate = cva(styles$i.emptystate);
9163
+ const emptystate = cva(styles$j.emptystate);
9117
9164
  function EmptyState({ children, className, ...props }) {
9118
9165
  return (jsxRuntimeExports.jsx("div", { className: emptystate({ className }), ...props, children: children }));
9119
9166
  }
9120
9167
 
9121
- var styles$h = {"grid":"grid-module_grid__UQeew","align-start":"grid-module_align-start__Z7pvl","align-center":"grid-module_align-center__Rwlbt","align-end":"grid-module_align-end__nuXn1","align-stretch":"grid-module_align-stretch__6SP1w","align-baseline":"grid-module_align-baseline__ajEPv","justify-start":"grid-module_justify-start__hRYMn","justify-center":"grid-module_justify-center__zQ7Ym","justify-end":"grid-module_justify-end__92x6b","justify-between":"grid-module_justify-between__vQXi3","flow-row":"grid-module_flow-row__bI9DV","flow-column":"grid-module_flow-column__lsmAV","flow-dense":"grid-module_flow-dense__rAnOn","flow-rowDense":"grid-module_flow-rowDense__vvLwD","flow-columnDense":"grid-module_flow-columnDense__HnI7j","columns-1":"grid-module_columns-1__ISyE5","columns-2":"grid-module_columns-2__nAJXX","columns-3":"grid-module_columns-3__jSanv","columns-4":"grid-module_columns-4__TPrmV","gap-xs":"grid-module_gap-xs__jJXAg","gap-sm":"grid-module_gap-sm__lSOTF","gap-md":"grid-module_gap-md__d44tx","gap-lg":"grid-module_gap-lg__QxI9L","gap-xl":"grid-module_gap-xl__0VXE9","gapX-xs":"grid-module_gapX-xs__vCzot","gapX-sm":"grid-module_gapX-sm__3p68N","gapX-md":"grid-module_gapX-md__JPO3S","gapX-lg":"grid-module_gapX-lg__qFCBX","gapX-xl":"grid-module_gapX-xl__J141F","gapY-xs":"grid-module_gapY-xs__yx6Mm","gapY-sm":"grid-module_gapY-sm__uopNl","gapY-md":"grid-module_gapY-md__4XBeo","gapY-lg":"grid-module_gapY-lg__QrF6Z","gapY-xl":"grid-module_gapY-xl__Y6SHF"};
9168
+ var styles$i = {"headline":"headline-module_headline__0IEEf","headline-small":"headline-module_headline-small__nNKzH","headline-medium":"headline-module_headline-medium__ZA01P","headline-large":"headline-module_headline-large__jJ-9s"};
9169
+
9170
+ const headline = cva(styles$i.headline, {
9171
+ variants: {
9172
+ size: {
9173
+ small: styles$i["headline-small"],
9174
+ medium: styles$i["headline-medium"],
9175
+ large: styles$i["headline-large"],
9176
+ },
9177
+ },
9178
+ defaultVariants: {
9179
+ size: "small",
9180
+ },
9181
+ });
9182
+ function Headline({ children, className, size, ...props }) {
9183
+ return (jsxRuntimeExports.jsx("span", { className: headline({ size, className }), ...props, children: children }));
9184
+ }
9185
+
9186
+ var styles$h = {};
9187
+
9188
+ const getIcon = (status = "") => {
9189
+ switch (status) {
9190
+ case "400":
9191
+ return jsxRuntimeExports.jsx(FileTextIcon, { width: 80, height: 80 });
9192
+ case "NOT_FOUND":
9193
+ return jsxRuntimeExports.jsx(FileIcon, { width: 80, height: 80 });
9194
+ case "UNDER_MAINTENANCE":
9195
+ return jsxRuntimeExports.jsx(ExclamationTriangleIcon, { width: 80, height: 80 });
9196
+ case "SOMETHING_WENT_WRONG":
9197
+ return jsxRuntimeExports.jsx(ExclamationTriangleIcon, { width: 80, height: 80 });
9198
+ default:
9199
+ return jsxRuntimeExports.jsx(ExclamationTriangleIcon, { width: 80, height: 80 });
9200
+ }
9201
+ };
9202
+ const getMessage = (status = "System is facing some issue with your request, please try again later") => {
9203
+ switch (status) {
9204
+ case "400":
9205
+ return "Sorry, the page you are looking for doesn’t exist or has been moved.";
9206
+ case "NOT_FOUND":
9207
+ return "Sorry, the resource you are looking for doesn’t exist or has been deleted.";
9208
+ case "UNDER_MAINTENANCE":
9209
+ return "The page you are looking for is under maintenance and will be back soon.";
9210
+ case "SOMETHING_WENT_WRONG":
9211
+ return "System is facing some issue with your request, please try again later";
9212
+ default:
9213
+ return status;
9214
+ }
9215
+ };
9216
+ const getHeadline = (status = "Something gone wrong") => {
9217
+ switch (status) {
9218
+ case "400":
9219
+ return "404 error";
9220
+ case "NOT_FOUND":
9221
+ return "Resource not found";
9222
+ case "UNDER_MAINTENANCE":
9223
+ return "Under maintenance";
9224
+ case "SOMETHING_WENT_WRONG":
9225
+ return "Something gone wrong";
9226
+ default:
9227
+ return status;
9228
+ }
9229
+ };
9230
+ const errorstate = cva(styles$h.errorstate);
9231
+ function ErrorState({ children, className, status, icon, ...props }) {
9232
+ return (jsxRuntimeExports.jsx(Flex, { justify: "center", style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsxs(Flex, { direction: "column", gap: "large", align: "center", justify: "center", className: errorstate({ className }), style: { textAlign: "center", maxWidth: "400px" }, ...props, children: [icon ? icon : getIcon(status), jsxRuntimeExports.jsxs(Flex, { direction: "column", gap: "medium", children: [jsxRuntimeExports.jsx(Headline, { size: "large", children: getHeadline(status) }), jsxRuntimeExports.jsx(Body, { size: "large", children: getMessage(status) })] })] }) }));
9233
+ }
9234
+
9235
+ var styles$g = {"grid":"grid-module_grid__UQeew","align-start":"grid-module_align-start__Z7pvl","align-center":"grid-module_align-center__Rwlbt","align-end":"grid-module_align-end__nuXn1","align-stretch":"grid-module_align-stretch__6SP1w","align-baseline":"grid-module_align-baseline__ajEPv","justify-start":"grid-module_justify-start__hRYMn","justify-center":"grid-module_justify-center__zQ7Ym","justify-end":"grid-module_justify-end__92x6b","justify-between":"grid-module_justify-between__vQXi3","flow-row":"grid-module_flow-row__bI9DV","flow-column":"grid-module_flow-column__lsmAV","flow-dense":"grid-module_flow-dense__rAnOn","flow-rowDense":"grid-module_flow-rowDense__vvLwD","flow-columnDense":"grid-module_flow-columnDense__HnI7j","columns-1":"grid-module_columns-1__ISyE5","columns-2":"grid-module_columns-2__nAJXX","columns-3":"grid-module_columns-3__jSanv","columns-4":"grid-module_columns-4__TPrmV","gap-xs":"grid-module_gap-xs__jJXAg","gap-sm":"grid-module_gap-sm__lSOTF","gap-md":"grid-module_gap-md__d44tx","gap-lg":"grid-module_gap-lg__QxI9L","gap-xl":"grid-module_gap-xl__0VXE9","gapX-xs":"grid-module_gapX-xs__vCzot","gapX-sm":"grid-module_gapX-sm__3p68N","gapX-md":"grid-module_gapX-md__JPO3S","gapX-lg":"grid-module_gapX-lg__qFCBX","gapX-xl":"grid-module_gapX-xl__J141F","gapY-xs":"grid-module_gapY-xs__yx6Mm","gapY-sm":"grid-module_gapY-sm__uopNl","gapY-md":"grid-module_gapY-md__4XBeo","gapY-lg":"grid-module_gapY-lg__QrF6Z","gapY-xl":"grid-module_gapY-xl__Y6SHF"};
9122
9236
 
9123
- const grid = cva(styles$h.grid, {
9237
+ const grid = cva(styles$g.grid, {
9124
9238
  variants: {
9125
9239
  align: {
9126
- start: styles$h["align-start"],
9127
- center: styles$h["align-center"],
9128
- end: styles$h["align-end"],
9129
- stretch: styles$h["align-stretch"],
9130
- baseline: styles$h["align-baseline"],
9240
+ start: styles$g["align-start"],
9241
+ center: styles$g["align-center"],
9242
+ end: styles$g["align-end"],
9243
+ stretch: styles$g["align-stretch"],
9244
+ baseline: styles$g["align-baseline"],
9131
9245
  },
9132
9246
  justify: {
9133
- start: styles$h["justify-start"],
9134
- center: styles$h["justify-center"],
9135
- end: styles$h["justify-end"],
9136
- between: styles$h["justify-between"],
9247
+ start: styles$g["justify-start"],
9248
+ center: styles$g["justify-center"],
9249
+ end: styles$g["justify-end"],
9250
+ between: styles$g["justify-between"],
9137
9251
  },
9138
9252
  flow: {
9139
- row: styles$h["flow-row"],
9140
- column: styles$h["flow-column"],
9141
- dense: styles$h["flow-dense"],
9142
- rowDense: styles$h["flow-rowDense"],
9143
- columnDense: styles$h["flow-columnDense"],
9253
+ row: styles$g["flow-row"],
9254
+ column: styles$g["flow-column"],
9255
+ dense: styles$g["flow-dense"],
9256
+ rowDense: styles$g["flow-rowDense"],
9257
+ columnDense: styles$g["flow-columnDense"],
9144
9258
  },
9145
9259
  columns: {
9146
- 1: styles$h["columns-1"],
9147
- 2: styles$h["columns-2"],
9148
- 3: styles$h["columns-3"],
9149
- 4: styles$h["columns-4"],
9260
+ 1: styles$g["columns-1"],
9261
+ 2: styles$g["columns-2"],
9262
+ 3: styles$g["columns-3"],
9263
+ 4: styles$g["columns-4"],
9150
9264
  },
9151
9265
  gap: {
9152
- "extra-small": styles$h["gap-xs"],
9153
- small: styles$h["gap-sm"],
9154
- medium: styles$h["gap-md"],
9155
- large: styles$h["gap-lg"],
9156
- "extra-large": styles$h["gap-xl"],
9266
+ "extra-small": styles$g["gap-xs"],
9267
+ small: styles$g["gap-sm"],
9268
+ medium: styles$g["gap-md"],
9269
+ large: styles$g["gap-lg"],
9270
+ "extra-large": styles$g["gap-xl"],
9157
9271
  },
9158
9272
  gapX: {
9159
- "extra-small": styles$h["gapX-xs"],
9160
- small: styles$h["gapX-sm"],
9161
- medium: styles$h["gapX-md"],
9162
- large: styles$h["gapX-lg"],
9163
- "extra-large": styles$h["gapX-xl"],
9273
+ "extra-small": styles$g["gapX-xs"],
9274
+ small: styles$g["gapX-sm"],
9275
+ medium: styles$g["gapX-md"],
9276
+ large: styles$g["gapX-lg"],
9277
+ "extra-large": styles$g["gapX-xl"],
9164
9278
  },
9165
9279
  gapY: {
9166
- "extra-small": styles$h["gapY-xs"],
9167
- small: styles$h["gapY-sm"],
9168
- medium: styles$h["gapY-md"],
9169
- large: styles$h["gapY-lg"],
9170
- "extra-large": styles$h["gapY-xl"],
9280
+ "extra-small": styles$g["gapY-xs"],
9281
+ small: styles$g["gapY-sm"],
9282
+ medium: styles$g["gapY-md"],
9283
+ large: styles$g["gapY-lg"],
9284
+ "extra-large": styles$g["gapY-xl"],
9171
9285
  },
9172
9286
  },
9173
9287
  });
@@ -9184,29 +9298,11 @@ function Grid({ children, align, justify, flow, columns, gap, gapX, gapY, classN
9184
9298
  }), ...props, children: children }));
9185
9299
  }
9186
9300
 
9187
- var styles$g = {"headline":"headline-module_headline__0IEEf","headline-small":"headline-module_headline-small__nNKzH","headline-medium":"headline-module_headline-medium__ZA01P","headline-large":"headline-module_headline-large__jJ-9s"};
9188
-
9189
- const headline = cva(styles$g.headline, {
9190
- variants: {
9191
- size: {
9192
- small: styles$g["headline-small"],
9193
- medium: styles$g["headline-medium"],
9194
- large: styles$g["headline-large"],
9195
- },
9196
- },
9197
- defaultVariants: {
9198
- size: "small",
9199
- },
9200
- });
9201
- function Headline({ children, className, size, ...props }) {
9202
- return (jsxRuntimeExports.jsx("span", { className: headline({ size, className }), ...props, children: children }));
9203
- }
9204
-
9205
9301
  var styles$f = {"image":"image-module_image__KDN-Q"};
9206
9302
 
9207
9303
  const image = cva(styles$f.image);
9208
- function Image({ children, className, ...props }) {
9209
- return jsxRuntimeExports.jsx("img", { className: image({ className }), ...props });
9304
+ function Image({ alt, children, className, ...props }) {
9305
+ return jsxRuntimeExports.jsx("img", { alt: alt, className: image({ className }), ...props });
9210
9306
  }
9211
9307
 
9212
9308
  const InputField = ({ label, children, ...props }) => {
@@ -15214,8 +15310,6 @@ function DataTableClearFilter({ children, ...props }) {
15214
15310
  }, style: { width: "100%" }, ...props, children: children || (jsxRuntimeExports.jsxs(Flex, { gap: "small", align: "center", justify: "center", children: ["Clear filters ", jsxRuntimeExports.jsx(Cross2Icon, { width: 12, height: "12" })] })) }));
15215
15311
  }
15216
15312
 
15217
- var styles$4 = {"wrapper":"datatable-module_wrapper__Sxg2d","datatable":"datatable-module_datatable__z-Th2","head":"datatable-module_head__zCfCW","toolbar":"datatable-module_toolbar__lO-aI","chipWrapper":"datatable-module_chipWrapper__iz69x","chip":"datatable-module_chip__IiwTD"};
15218
-
15219
15313
  function DataTableFilterOptions({ children, ...props }) {
15220
15314
  const { table, filteredColumns, addFilterColumn } = useTable();
15221
15315
  const availableColumns = table
@@ -15227,28 +15321,33 @@ function DataTableFilterOptions({ children, ...props }) {
15227
15321
  })] })) : null] }));
15228
15322
  }
15229
15323
 
15230
- var styles$3 = {"textfield":"textfield-module_textfield__u4AGg","textfield-sm":"textfield-module_textfield-sm__OKPic","textfield-md":"textfield-module_textfield-md__e2ayW","textfield-invlid":"textfield-module_textfield-invlid__zo9MF","textfield-valid":"textfield-module_textfield-valid__6rMM9"};
15324
+ var styles$4 = {"textfield":"textfield-module_textfield__u4AGg","textfield-sm":"textfield-module_textfield-sm__OKPic","textfield-md":"textfield-module_textfield-md__e2ayW","textfield-invlid":"textfield-module_textfield-invlid__zo9MF","textfield-valid":"textfield-module_textfield-valid__6rMM9","textfield-leading":"textfield-module_textfield-leading__AE-ld"};
15231
15325
 
15232
- const textfield = cva(styles$3.textfield, {
15326
+ const textfield = cva(styles$4.textfield, {
15233
15327
  variants: {
15234
15328
  size: {
15235
- small: styles$3["textfield-sm"],
15236
- medium: styles$3["textfield-md"],
15329
+ small: styles$4["textfield-sm"],
15330
+ medium: styles$4["textfield-md"],
15237
15331
  },
15238
15332
  state: {
15239
- invalid: styles$3["textfield-invalid"],
15240
- valid: styles$3["textfield-valid"],
15333
+ invalid: styles$4["textfield-invalid"],
15334
+ valid: styles$4["textfield-valid"],
15335
+ },
15336
+ leading: {
15337
+ true: styles$4["textfield-leading"],
15241
15338
  },
15242
15339
  },
15243
15340
  defaultVariants: {
15244
15341
  size: "small",
15245
15342
  },
15246
15343
  });
15247
- const TextField = ({ className, src, size, state, style, ...props }) => {
15248
- return jsxRuntimeExports.jsx("input", { className: textfield({ size, state, className }), ...props });
15344
+ const TextField = ({ leading, className, src, size, state, style, ...props }) => {
15345
+ return (jsxRuntimeExports.jsxs(Flex, { align: "center", style: { position: "relative", width: "100%" }, children: [leading ? (jsxRuntimeExports.jsx(Flex, { style: { position: "absolute", left: "8px" }, children: leading })) : null, jsxRuntimeExports.jsx("input", { className: cx(textfield({ size, state, className, leading })), style: leading ? { paddingLeft: "32px" } : {}, ...props })] }));
15249
15346
  };
15250
15347
  TextField.displayName = "TextField";
15251
15348
 
15349
+ var styles$3 = {"wrapper":"datatable-module_wrapper__Sxg2d","datatable":"datatable-module_datatable__z-Th2","head":"datatable-module_head__zCfCW","toolbar":"datatable-module_toolbar__lO-aI","chipWrapper":"datatable-module_chipWrapper__iz69x","chip":"datatable-module_chip__IiwTD"};
15350
+
15252
15351
  const FilteredChip = ({ column }) => {
15253
15352
  const { table, removeFilterColumn } = useTable();
15254
15353
  const { filterVariant } = column?.columnDef;
@@ -15282,7 +15381,7 @@ const FilteredChip = ({ column }) => {
15282
15381
  }
15283
15382
  }
15284
15383
  };
15285
- return (jsxRuntimeExports.jsxs(Box, { className: styles$4.chip, children: [jsxRuntimeExports.jsx(Text, { children: column.id }), jsxRuntimeExports.jsx(Text, { children: "is" }), renderInputs(), jsxRuntimeExports.jsx(Flex, { children: jsxRuntimeExports.jsx(Cross1Icon, { height: "12", width: "12", onClick: () => {
15384
+ return (jsxRuntimeExports.jsxs(Box, { className: styles$3.chip, children: [jsxRuntimeExports.jsx(Text, { children: column.id }), jsxRuntimeExports.jsx(Text, { children: "is" }), renderInputs(), jsxRuntimeExports.jsx(Flex, { children: jsxRuntimeExports.jsx(Cross1Icon, { height: "12", width: "12", onClick: () => {
15286
15385
  column.setFilterValue(undefined);
15287
15386
  removeFilterColumn(column.id);
15288
15387
  } }) })] }));
@@ -15295,23 +15394,27 @@ function DataTableFilterChips(props) {
15295
15394
  .filter((column) => typeof column.accessorFn !== "undefined" && column.getCanHide());
15296
15395
  if (!filteredColumns.length)
15297
15396
  return null;
15298
- return (jsxRuntimeExports.jsxs(Flex, { gap: "small", align: "center", className: styles$4.chipWrapper, ...props, children: [filteredColumns.map((filter, index) => {
15397
+ return (jsxRuntimeExports.jsxs(Flex, { gap: "small", align: "center", className: styles$3.chipWrapper, ...props, children: [filteredColumns.map((filter, index) => {
15299
15398
  const filteredColumn = table.getColumn(filter);
15300
- return jsxRuntimeExports.jsx(FilteredChip, { column: filteredColumn });
15399
+ return jsxRuntimeExports.jsx(FilteredChip, { column: filteredColumn }, index);
15301
15400
  }), filteredColumns.length < tableColumns.length && (jsxRuntimeExports.jsx(DataTableFilterOptions, { variant: "ghost", style: { border: "none", background: "none" }, children: jsxRuntimeExports.jsx(PlusIcon, { width: 16, height: 16 }) }))] }));
15302
15401
  }
15303
15402
 
15304
15403
  function DataTableFooter({ children, }) {
15305
- return (jsxRuntimeExports.jsx(Flex, { direction: "column", className: styles$4.toolbar, children: children }));
15404
+ return (jsxRuntimeExports.jsx(Flex, { direction: "column", className: styles$3.toolbar, children: children }));
15306
15405
  }
15307
15406
 
15308
15407
  function DataTableGloabalSearch(props) {
15309
15408
  const { table, globalFilter, onGlobalFilterChange } = useTable();
15310
- return (jsxRuntimeExports.jsx(TextField, { placeholder: "Filter tasks...", value: globalFilter ?? "", onChange: (event) => onGlobalFilterChange(String(event.target.value)), ...props }));
15409
+ return (jsxRuntimeExports.jsx(TextField
15410
+ // @ts-ignore
15411
+ , {
15412
+ // @ts-ignore
15413
+ leading: jsxRuntimeExports.jsx(MagnifyingGlassIcon, {}), placeholder: "Filter tasks...", value: globalFilter ?? "", onChange: (event) => onGlobalFilterChange(String(event.target.value)), ...props }));
15311
15414
  }
15312
15415
 
15313
15416
  function DataTableToolbar({ children, ...props }) {
15314
- return (jsxRuntimeExports.jsx(Flex, { direction: "column", className: styles$4.toolbar, ...props, children: children }));
15417
+ return (jsxRuntimeExports.jsx(Flex, { direction: "column", className: styles$3.toolbar, ...props, children: children }));
15315
15418
  }
15316
15419
 
15317
15420
  function DataTableViewOptions({ children, ...props }) {
@@ -15422,7 +15525,7 @@ function DataTableRoot({ columns, data, emptyState, children, parentStyle, ...pr
15422
15525
  rowSelection,
15423
15526
  },
15424
15527
  });
15425
- return (jsxRuntimeExports.jsx(Flex, { direction: "column", justify: "between", className: styles$4.wrapper, children: jsxRuntimeExports.jsxs(TableContext.Provider, { value: {
15528
+ return (jsxRuntimeExports.jsx(Flex, { direction: "column", justify: "between", className: styles$3.wrapper, children: jsxRuntimeExports.jsxs(TableContext.Provider, { value: {
15426
15529
  table,
15427
15530
  globalFilter,
15428
15531
  filteredColumns,
@@ -15431,10 +15534,10 @@ function DataTableRoot({ columns, data, emptyState, children, parentStyle, ...pr
15431
15534
  resetColumns,
15432
15535
  onGlobalFilterChange: setGlobalFilter,
15433
15536
  onChange: () => ({}),
15434
- }, children: [jsxRuntimeExports.jsxs(Flex, { direction: "column", className: styles$4.datatable, children: [header, jsxRuntimeExports.jsxs(Flex, { style: parentStyle, children: [jsxRuntimeExports.jsxs(Table, { ...props, children: [jsxRuntimeExports.jsx(Table.Header, { children: table.getHeaderGroups().map((headerGroup) => (jsxRuntimeExports.jsx(Table.Row, { children: headerGroup.headers.map((header) => {
15537
+ }, children: [jsxRuntimeExports.jsxs(Flex, { direction: "column", className: styles$3.datatable, children: [header, jsxRuntimeExports.jsxs(Flex, { style: parentStyle, children: [jsxRuntimeExports.jsxs(Table, { ...props, children: [jsxRuntimeExports.jsx(Table.Header, { children: table.getHeaderGroups().map((headerGroup) => (jsxRuntimeExports.jsx(Table.Row, { children: headerGroup.headers.map((header) => {
15435
15538
  return (jsxRuntimeExports.jsx(Table.Head, { style: {
15436
15539
  ...(header.column.columnDef?.meta?.style ?? {}),
15437
- }, children: jsxRuntimeExports.jsxs(Text, { className: styles$4.head, children: [header.isPlaceholder
15540
+ }, children: jsxRuntimeExports.jsxs(Text, { className: styles$3.head, children: [header.isPlaceholder
15438
15541
  ? null
15439
15542
  : flexRender(header.column.columnDef.header, header.getContext()), {
15440
15543
  asc: jsxRuntimeExports.jsx(ArrowUpIcon, {}),
@@ -15895,6 +15998,7 @@ exports.Dialog = Dialog;
15895
15998
  exports.Display = Display;
15896
15999
  exports.DropdownMenu = DropdownMenu;
15897
16000
  exports.EmptyState = EmptyState;
16001
+ exports.ErrorState = ErrorState;
15898
16002
  exports.Flex = Flex;
15899
16003
  exports.Grid = Grid;
15900
16004
  exports.Headline = Headline;