@datavac/ui-kit 1.4.0-administration-icon.1 → 1.4.0
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/icons/index.d.ts +21 -0
- package/dist/index.js +403 -57
- package/package.json +1 -1
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
2
|
export type IconProps = SVGProps<SVGSVGElement>;
|
|
3
|
+
export declare function ArrowDownArrowUpIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function ArrowDownToBracketIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function ArrowUpRightFromSquareIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
3
6
|
export declare function ArrowsIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function BottleIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function ChevronDownIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function CircleAttentionIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function CircleMinusIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function CirclePlusIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function CircleXmarkIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function CopyIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function DnaIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function FileArrowDownIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
4
16
|
export declare function InfoCircleIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
5
17
|
export declare function MenuIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function MinusIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
6
19
|
export declare function MoonStarsIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
20
|
export declare function PlusIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function SearchIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare function SearchListIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function SunMiniIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
24
|
export declare function SunIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare function TestTubeIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function ThermometerIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function VirusIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function XmarkLargeIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function XmarkIcon({ width, height, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -6676,7 +6676,55 @@ function Cd({ value: e, children: t, className: n }) {
|
|
|
6676
6676
|
}
|
|
6677
6677
|
//#endregion
|
|
6678
6678
|
//#region src/icons/index.tsx
|
|
6679
|
-
function wd({ width: e =
|
|
6679
|
+
function wd({ width: e = 24, height: t = 24, ...n }) {
|
|
6680
|
+
return /* @__PURE__ */ d("svg", {
|
|
6681
|
+
viewBox: "0 0 24 24",
|
|
6682
|
+
width: e,
|
|
6683
|
+
height: t,
|
|
6684
|
+
fill: "none",
|
|
6685
|
+
"aria-hidden": "true",
|
|
6686
|
+
...n,
|
|
6687
|
+
children: /* @__PURE__ */ d("path", {
|
|
6688
|
+
d: "M7 4V20M11 16L7 20L3 16M17 4V20M13 8L17 4L21 8",
|
|
6689
|
+
stroke: "currentColor",
|
|
6690
|
+
strokeLinecap: "round",
|
|
6691
|
+
strokeLinejoin: "round"
|
|
6692
|
+
})
|
|
6693
|
+
});
|
|
6694
|
+
}
|
|
6695
|
+
function Td({ width: e = 24, height: t = 24, ...n }) {
|
|
6696
|
+
return /* @__PURE__ */ d("svg", {
|
|
6697
|
+
viewBox: "0 0 24 24",
|
|
6698
|
+
width: e,
|
|
6699
|
+
height: t,
|
|
6700
|
+
fill: "none",
|
|
6701
|
+
"aria-hidden": "true",
|
|
6702
|
+
...n,
|
|
6703
|
+
children: /* @__PURE__ */ d("path", {
|
|
6704
|
+
d: "M16 11L12 15L8 11M12 15V3M21 11V17.7992C21 18.9193 21 19.4794 20.782 19.9072C20.5903 20.2835 20.2843 20.5895 19.908 20.7812C19.4802 20.9992 18.9201 20.9992 17.8 20.9992H6.2C5.0799 20.9992 4.51984 20.9992 4.09202 20.7812C3.71569 20.5895 3.40973 20.2835 3.21799 19.9072C3 19.4794 3 18.9193 3 17.7992V11",
|
|
6705
|
+
stroke: "currentColor",
|
|
6706
|
+
strokeLinecap: "round",
|
|
6707
|
+
strokeLinejoin: "round"
|
|
6708
|
+
})
|
|
6709
|
+
});
|
|
6710
|
+
}
|
|
6711
|
+
function Ed({ width: e = 24, height: t = 24, ...n }) {
|
|
6712
|
+
return /* @__PURE__ */ d("svg", {
|
|
6713
|
+
viewBox: "0 0 24 24",
|
|
6714
|
+
width: e,
|
|
6715
|
+
height: t,
|
|
6716
|
+
fill: "none",
|
|
6717
|
+
"aria-hidden": "true",
|
|
6718
|
+
...n,
|
|
6719
|
+
children: /* @__PURE__ */ d("path", {
|
|
6720
|
+
d: "M20 4L12 12M15.5 4H20V8.5M19 12.5V16.8C19 17.9201 19 18.4802 18.782 18.908C18.5903 19.2843 18.2843 19.5903 17.908 19.782C17.4802 20 16.9201 20 15.8 20H7.2C6.0799 20 5.51984 20 5.09202 19.782C4.71569 19.5903 4.40973 19.2843 4.21799 18.908C4 18.4802 4 17.9201 4 16.8V8.2C4 7.0799 4 6.51984 4.21799 6.09202C4.40973 5.71569 4.71569 5.40973 5.09202 5.21799C5.51984 5 6.07989 5 7.2 5H11.5",
|
|
6721
|
+
stroke: "currentColor",
|
|
6722
|
+
strokeLinecap: "round",
|
|
6723
|
+
strokeLinejoin: "round"
|
|
6724
|
+
})
|
|
6725
|
+
});
|
|
6726
|
+
}
|
|
6727
|
+
function Dd({ width: e = 12, height: t = 12, ...n }) {
|
|
6680
6728
|
return /* @__PURE__ */ d("svg", {
|
|
6681
6729
|
viewBox: "0 0 12 12",
|
|
6682
6730
|
width: e,
|
|
@@ -6692,9 +6740,153 @@ function wd({ width: e = 12, height: t = 12, ...n }) {
|
|
|
6692
6740
|
})
|
|
6693
6741
|
});
|
|
6694
6742
|
}
|
|
6695
|
-
function
|
|
6743
|
+
function Od({ width: e = 24, height: t = 24, ...n }) {
|
|
6744
|
+
return /* @__PURE__ */ d("svg", {
|
|
6745
|
+
viewBox: "0 0 24 24",
|
|
6746
|
+
width: e,
|
|
6747
|
+
height: t,
|
|
6748
|
+
fill: "none",
|
|
6749
|
+
"aria-hidden": "true",
|
|
6750
|
+
...n,
|
|
6751
|
+
children: /* @__PURE__ */ d("path", {
|
|
6752
|
+
d: "M14 6C14.5523 6 15 5.55228 15 5V4C15 3.44772 14.5523 3 14 3H10C9.44772 3 9 3.44772 9 4V5C9 5.55228 9.44772 6 10 6M14 6H10M14 6V6.98C14.0001 7.40482 14.1509 7.81582 14.4256 8.13991C14.7003 8.46401 15.081 8.68018 15.5 8.75C16.366 8.894 17 9.643 17 10.52V19C17 19.5304 16.7893 20.0391 16.4142 20.4142C16.0391 20.7893 15.5304 21 15 21H9C8.46957 21 7.96086 20.7893 7.58579 20.4142C7.21071 20.0391 7 19.5304 7 19V10.52C7 9.643 7.634 8.894 8.5 8.75C9.366 8.606 10 7.857 10 6.98V6M7 12H17M7 18H17M11 15H13",
|
|
6753
|
+
stroke: "currentColor",
|
|
6754
|
+
strokeLinecap: "round",
|
|
6755
|
+
strokeLinejoin: "round"
|
|
6756
|
+
})
|
|
6757
|
+
});
|
|
6758
|
+
}
|
|
6759
|
+
function kd({ width: e = 24, height: t = 24, ...n }) {
|
|
6760
|
+
return /* @__PURE__ */ d("svg", {
|
|
6761
|
+
viewBox: "0 0 24 24",
|
|
6762
|
+
width: e,
|
|
6763
|
+
height: t,
|
|
6764
|
+
fill: "none",
|
|
6765
|
+
"aria-hidden": "true",
|
|
6766
|
+
...n,
|
|
6767
|
+
children: /* @__PURE__ */ d("path", {
|
|
6768
|
+
d: "M6 9L12 15L18 9",
|
|
6769
|
+
stroke: "currentColor",
|
|
6770
|
+
strokeLinecap: "round",
|
|
6771
|
+
strokeLinejoin: "round"
|
|
6772
|
+
})
|
|
6773
|
+
});
|
|
6774
|
+
}
|
|
6775
|
+
function Ad({ width: e = 24, height: t = 24, ...n }) {
|
|
6776
|
+
return /* @__PURE__ */ d("svg", {
|
|
6777
|
+
viewBox: "0 0 24 24",
|
|
6778
|
+
width: e,
|
|
6779
|
+
height: t,
|
|
6780
|
+
fill: "none",
|
|
6781
|
+
"aria-hidden": "true",
|
|
6782
|
+
...n,
|
|
6783
|
+
children: /* @__PURE__ */ d("path", {
|
|
6784
|
+
fillRule: "evenodd",
|
|
6785
|
+
clipRule: "evenodd",
|
|
6786
|
+
d: "M22 12C22 6.481 17.52 2 12 2C6.47 2 2 6.481 2 12C2 17.521 6.47 22 12 22C17.52 22 22 17.521 22 12ZM13 7.85575C13 7.38995 12.5429 7 11.9943 7C11.4457 7 11 7.38995 11 7.85575L11 12.154C11 12.6217 11.4457 13 11.9943 13C12.5429 13 13 12.6217 13 12.154L13 7.85575ZM11.9943 17C12.5543 17 13 16.5429 13 15.9943C13 15.4457 12.5543 15 12.0057 15C11.4457 15 11 15.4457 11 15.9943C11 16.5429 11.4457 17 11.9943 17Z",
|
|
6787
|
+
fill: "currentColor"
|
|
6788
|
+
})
|
|
6789
|
+
});
|
|
6790
|
+
}
|
|
6791
|
+
function jd({ width: e = 24, height: t = 24, ...n }) {
|
|
6792
|
+
return /* @__PURE__ */ d("svg", {
|
|
6793
|
+
viewBox: "0 0 24 24",
|
|
6794
|
+
width: e,
|
|
6795
|
+
height: t,
|
|
6796
|
+
fill: "none",
|
|
6797
|
+
"aria-hidden": "true",
|
|
6798
|
+
...n,
|
|
6799
|
+
children: /* @__PURE__ */ d("path", {
|
|
6800
|
+
fillRule: "evenodd",
|
|
6801
|
+
clipRule: "evenodd",
|
|
6802
|
+
d: "M22 12C22 6.481 17.52 2 12 2C6.47 2 2 6.481 2 12C2 17.521 6.47 22 12 22C17.52 22 22 17.521 22 12ZM16.7861 10.348C17.094 10.0165 17.0662 9.50575 16.7241 9.20735C16.382 8.90894 15.8551 8.93582 15.5472 9.26738L11.1348 14.0192L8.42259 11.3904C8.09715 11.075 7.56951 11.075 7.24408 11.3904C6.91864 11.7058 6.91864 12.2172 7.24408 12.5327L10.5774 15.7634C10.7391 15.9201 10.96 16.0055 11.1886 15.9997C11.4171 15.9939 11.6331 15.8973 11.7861 15.7326L16.7861 10.348Z",
|
|
6803
|
+
fill: "currentColor"
|
|
6804
|
+
})
|
|
6805
|
+
});
|
|
6806
|
+
}
|
|
6807
|
+
function Md({ width: e = 24, height: t = 24, ...n }) {
|
|
6808
|
+
return /* @__PURE__ */ d("svg", {
|
|
6809
|
+
viewBox: "0 0 24 24",
|
|
6810
|
+
width: e,
|
|
6811
|
+
height: t,
|
|
6812
|
+
fill: "none",
|
|
6813
|
+
"aria-hidden": "true",
|
|
6814
|
+
...n,
|
|
6815
|
+
children: /* @__PURE__ */ d("path", {
|
|
6816
|
+
fillRule: "evenodd",
|
|
6817
|
+
clipRule: "evenodd",
|
|
6818
|
+
d: "M22 12C22 6.481 17.52 2 12 2C6.47 2 2 6.481 2 12C2 17.521 6.47 22 12 22C17.52 22 22 17.521 22 12ZM17.3255 12C17.3255 11.5582 16.9673 11.2 16.5255 11.2L7.47452 11.2C7.03269 11.2 6.67452 11.5582 6.67452 12C6.67452 12.4418 7.03269 12.8 7.47452 12.8L16.5255 12.8C16.9673 12.8 17.3255 12.4418 17.3255 12Z",
|
|
6819
|
+
fill: "currentColor"
|
|
6820
|
+
})
|
|
6821
|
+
});
|
|
6822
|
+
}
|
|
6823
|
+
function Nd({ width: e = 24, height: t = 24, ...n }) {
|
|
6824
|
+
return /* @__PURE__ */ d("svg", {
|
|
6825
|
+
viewBox: "0 0 24 24",
|
|
6826
|
+
width: e,
|
|
6827
|
+
height: t,
|
|
6828
|
+
fill: "none",
|
|
6829
|
+
"aria-hidden": "true",
|
|
6830
|
+
...n,
|
|
6831
|
+
children: /* @__PURE__ */ d("path", {
|
|
6832
|
+
fillRule: "evenodd",
|
|
6833
|
+
clipRule: "evenodd",
|
|
6834
|
+
d: "M22 12C22 6.481 17.52 2 12 2C6.47 2 2 6.481 2 12C2 17.521 6.47 22 12 22C17.52 22 22 17.521 22 12ZM9.36568 8.23431C9.05327 7.92189 8.54673 7.92189 8.23431 8.23431C7.92189 8.54673 7.92189 9.05327 8.23431 9.36569L10.8686 12L8.23431 14.6343C7.92189 14.9467 7.92189 15.4533 8.23431 15.7657C8.54673 16.0781 9.05327 16.0781 9.36569 15.7657L12 13.1314L14.6343 15.7657C14.9467 16.0781 15.4533 16.0781 15.7657 15.7657C16.0781 15.4533 16.0781 14.9467 15.7657 14.6343L13.1314 12L15.7657 9.36569C16.0781 9.05327 16.0781 8.54673 15.7657 8.23431C15.4533 7.92189 14.9467 7.92189 14.6343 8.23431L12 10.8686L9.36568 8.23431Z",
|
|
6835
|
+
fill: "currentColor"
|
|
6836
|
+
})
|
|
6837
|
+
});
|
|
6838
|
+
}
|
|
6839
|
+
function Pd({ width: e = 24, height: t = 24, ...n }) {
|
|
6840
|
+
return /* @__PURE__ */ d("svg", {
|
|
6841
|
+
viewBox: "0 0 24 24",
|
|
6842
|
+
width: e,
|
|
6843
|
+
height: t,
|
|
6844
|
+
fill: "none",
|
|
6845
|
+
"aria-hidden": "true",
|
|
6846
|
+
...n,
|
|
6847
|
+
children: /* @__PURE__ */ d("path", {
|
|
6848
|
+
d: "M17 17V19C17 19.5304 16.7893 20.0391 16.4142 20.4142C16.0391 20.7893 15.5304 21 15 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V9C3 8.46957 3.21071 7.96086 3.58579 7.58579C3.96086 7.21071 4.46957 7 5 7H7M9 3H19C20.1046 3 21 3.89543 21 5V15C21 16.1046 20.1046 17 19 17H9C7.89543 17 7 16.1046 7 15V5C7 3.89543 7.89543 3 9 3Z",
|
|
6849
|
+
stroke: "currentColor",
|
|
6850
|
+
strokeLinecap: "round",
|
|
6851
|
+
strokeLinejoin: "round"
|
|
6852
|
+
})
|
|
6853
|
+
});
|
|
6854
|
+
}
|
|
6855
|
+
function Fd({ width: e = 24, height: t = 24, ...n }) {
|
|
6856
|
+
return /* @__PURE__ */ d("svg", {
|
|
6857
|
+
viewBox: "0 0 24 24",
|
|
6858
|
+
width: e,
|
|
6859
|
+
height: t,
|
|
6860
|
+
fill: "none",
|
|
6861
|
+
"aria-hidden": "true",
|
|
6862
|
+
...n,
|
|
6863
|
+
children: /* @__PURE__ */ d("path", {
|
|
6864
|
+
d: "M6.99219 21.014V20.014C7.00319 16.662 8.67219 13.99 12.0002 12C15.3282 10.009 8.66419 14.004 11.9922 12.014C15.3202 10.023 16.9902 7.352 17.0002 4V3M17.0002 4H7.00024M17.0002 21.014V20.014C16.9902 16.662 15.3202 13.991 11.9922 12C8.66419 10.01 15.3282 14.005 12.0002 12.014C8.67219 10.023 7.00319 7.352 6.99219 4V3M7.00024 20H17.0002M8.00024 8H16.0002M8.00024 16H16.0002",
|
|
6865
|
+
stroke: "currentColor",
|
|
6866
|
+
strokeLinecap: "round",
|
|
6867
|
+
strokeLinejoin: "round"
|
|
6868
|
+
})
|
|
6869
|
+
});
|
|
6870
|
+
}
|
|
6871
|
+
function Id({ width: e = 24, height: t = 24, ...n }) {
|
|
6696
6872
|
return /* @__PURE__ */ d("svg", {
|
|
6697
|
-
viewBox: "0 0
|
|
6873
|
+
viewBox: "0 0 24 24",
|
|
6874
|
+
width: e,
|
|
6875
|
+
height: t,
|
|
6876
|
+
fill: "none",
|
|
6877
|
+
"aria-hidden": "true",
|
|
6878
|
+
...n,
|
|
6879
|
+
children: /* @__PURE__ */ d("path", {
|
|
6880
|
+
d: "M12 11V17M14 15L12 17L10 15M19 9L13 3H8.2C7.0799 3 6.51984 3 6.09202 3.21799C5.71569 3.40973 5.40973 3.71569 5.21799 4.09202C5 4.51984 5 5.0799 5 6.2V17.8C5 18.9201 5 19.4802 5.21799 19.908C5.40973 20.2843 5.71569 20.5903 6.09202 20.782C6.51984 21 7.0799 21 8.2 21H15.8C16.9201 21 17.4802 21 17.908 20.782C18.2843 20.5903 18.5903 20.2843 18.782 19.908C19 19.4802 19 18.9201 19 17.8V9ZM13 3V7.4C13 7.96005 13 8.24008 13.109 8.45399C13.2049 8.64215 13.3578 8.79513 13.546 8.89101C13.7599 9 14.0399 9 14.6 9H19",
|
|
6881
|
+
stroke: "currentColor",
|
|
6882
|
+
strokeLinecap: "round",
|
|
6883
|
+
strokeLinejoin: "round"
|
|
6884
|
+
})
|
|
6885
|
+
});
|
|
6886
|
+
}
|
|
6887
|
+
function Ld({ width: e = 20, height: t = 20, ...n }) {
|
|
6888
|
+
return /* @__PURE__ */ d("svg", {
|
|
6889
|
+
viewBox: "0 0 20 20",
|
|
6698
6890
|
width: e,
|
|
6699
6891
|
height: t,
|
|
6700
6892
|
fill: "none",
|
|
@@ -6703,12 +6895,12 @@ function Td({ width: e = 17, height: t = 17, ...n }) {
|
|
|
6703
6895
|
children: /* @__PURE__ */ d("path", {
|
|
6704
6896
|
fillRule: "evenodd",
|
|
6705
6897
|
clipRule: "evenodd",
|
|
6706
|
-
d: "
|
|
6898
|
+
d: "M0 10C0 15.519 4.48 20 10 20C15.53 20 20 15.519 20 10C20 4.479 15.53 0 10 0C4.48 0 0 4.479 0 10ZM9.12 13.79C9.12 14.269 9.52 14.67 10 14.67C10.48 14.67 10.87 14.269 10.87 13.79V9.37C10.87 8.889 10.48 8.5 10 8.5C9.52 8.5 9.12 8.889 9.12 9.37V13.79ZM10.01 5.319C9.52 5.319 9.13 5.719 9.13 6.199C9.13 6.679 9.52 7.069 10 7.069C10.49 7.069 10.88 6.679 10.88 6.199C10.88 5.719 10.49 5.319 10.01 5.319Z",
|
|
6707
6899
|
fill: "currentColor"
|
|
6708
6900
|
})
|
|
6709
6901
|
});
|
|
6710
6902
|
}
|
|
6711
|
-
function
|
|
6903
|
+
function Rd({ width: e = 14, height: t = 10, ...n }) {
|
|
6712
6904
|
return /* @__PURE__ */ f("svg", {
|
|
6713
6905
|
viewBox: "0 0 14 10",
|
|
6714
6906
|
width: e,
|
|
@@ -6740,23 +6932,39 @@ function Ed({ width: e = 14, height: t = 10, ...n }) {
|
|
|
6740
6932
|
]
|
|
6741
6933
|
});
|
|
6742
6934
|
}
|
|
6743
|
-
function
|
|
6935
|
+
function zd({ width: e = 24, height: t = 24, ...n }) {
|
|
6744
6936
|
return /* @__PURE__ */ d("svg", {
|
|
6745
|
-
viewBox: "0 0
|
|
6937
|
+
viewBox: "0 0 24 24",
|
|
6746
6938
|
width: e,
|
|
6747
6939
|
height: t,
|
|
6748
6940
|
fill: "none",
|
|
6749
6941
|
"aria-hidden": "true",
|
|
6750
6942
|
...n,
|
|
6751
6943
|
children: /* @__PURE__ */ d("path", {
|
|
6752
|
-
d: "
|
|
6944
|
+
d: "M6 12L18 12",
|
|
6753
6945
|
stroke: "currentColor",
|
|
6754
6946
|
strokeLinecap: "round",
|
|
6755
6947
|
strokeLinejoin: "round"
|
|
6756
6948
|
})
|
|
6757
6949
|
});
|
|
6758
6950
|
}
|
|
6759
|
-
function
|
|
6951
|
+
function Bd({ width: e = 24, height: t = 24, ...n }) {
|
|
6952
|
+
return /* @__PURE__ */ d("svg", {
|
|
6953
|
+
viewBox: "0 0 24 24",
|
|
6954
|
+
width: e,
|
|
6955
|
+
height: t,
|
|
6956
|
+
fill: "none",
|
|
6957
|
+
"aria-hidden": "true",
|
|
6958
|
+
...n,
|
|
6959
|
+
children: /* @__PURE__ */ d("path", {
|
|
6960
|
+
d: "M13 6V3M18.5 12V7M14.5 4.5H11.5M21 9.5H16M15.5548 16.8151C16.7829 16.8151 17.9493 16.5506 19 16.0754C17.6867 18.9794 14.7642 21 11.3698 21C6.74731 21 3 17.2527 3 12.6302C3 9.23576 5.02061 6.31331 7.92462 5C7.44944 6.05072 7.18492 7.21708 7.18492 8.44523C7.18492 13.0678 10.9322 16.8151 15.5548 16.8151Z",
|
|
6961
|
+
stroke: "currentColor",
|
|
6962
|
+
strokeLinecap: "round",
|
|
6963
|
+
strokeLinejoin: "round"
|
|
6964
|
+
})
|
|
6965
|
+
});
|
|
6966
|
+
}
|
|
6967
|
+
function Vd({ width: e = 24, height: t = 24, ...n }) {
|
|
6760
6968
|
return /* @__PURE__ */ d("svg", {
|
|
6761
6969
|
viewBox: "0 0 24 24",
|
|
6762
6970
|
width: e,
|
|
@@ -6772,25 +6980,163 @@ function Od({ width: e = 24, height: t = 24, ...n }) {
|
|
|
6772
6980
|
})
|
|
6773
6981
|
});
|
|
6774
6982
|
}
|
|
6775
|
-
function
|
|
6983
|
+
function Hd({ width: e = 24, height: t = 24, ...n }) {
|
|
6984
|
+
return /* @__PURE__ */ d("svg", {
|
|
6985
|
+
viewBox: "0 0 24 24",
|
|
6986
|
+
width: e,
|
|
6987
|
+
height: t,
|
|
6988
|
+
fill: "none",
|
|
6989
|
+
"aria-hidden": "true",
|
|
6990
|
+
...n,
|
|
6991
|
+
children: /* @__PURE__ */ d("path", {
|
|
6992
|
+
d: "M21 21L16.5 16.5M18.75 10.875C18.75 15.2242 15.2242 18.75 10.875 18.75C6.52576 18.75 3 15.2242 3 10.875C3 6.52576 6.52576 3 10.875 3C15.2242 3 18.75 6.52576 18.75 10.875Z",
|
|
6993
|
+
stroke: "currentColor",
|
|
6994
|
+
strokeLinecap: "round",
|
|
6995
|
+
strokeLinejoin: "round"
|
|
6996
|
+
})
|
|
6997
|
+
});
|
|
6998
|
+
}
|
|
6999
|
+
function Ud({ width: e = 24, height: t = 24, ...n }) {
|
|
7000
|
+
return /* @__PURE__ */ d("svg", {
|
|
7001
|
+
viewBox: "0 0 24 24",
|
|
7002
|
+
width: e,
|
|
7003
|
+
height: t,
|
|
7004
|
+
fill: "none",
|
|
7005
|
+
"aria-hidden": "true",
|
|
7006
|
+
...n,
|
|
7007
|
+
children: /* @__PURE__ */ d("path", {
|
|
7008
|
+
d: "M18.5 18.5L21 21M4 6H20M4 12H8M4 18H8M19 15C19 17.2091 17.2091 19 15 19C12.7909 19 11 17.2091 11 15C11 12.7909 12.7909 11 15 11C17.2091 11 19 12.7909 19 15Z",
|
|
7009
|
+
stroke: "currentColor",
|
|
7010
|
+
strokeLinecap: "round",
|
|
7011
|
+
strokeLinejoin: "round"
|
|
7012
|
+
})
|
|
7013
|
+
});
|
|
7014
|
+
}
|
|
7015
|
+
function Wd({ width: e = 12, height: t = 12, ...n }) {
|
|
7016
|
+
return /* @__PURE__ */ f("svg", {
|
|
7017
|
+
viewBox: "0 0 12 12",
|
|
7018
|
+
width: e,
|
|
7019
|
+
height: t,
|
|
7020
|
+
fill: "none",
|
|
7021
|
+
"aria-hidden": "true",
|
|
7022
|
+
...n,
|
|
7023
|
+
children: [/* @__PURE__ */ d("g", {
|
|
7024
|
+
clipPath: "url(#clip0_34_188)",
|
|
7025
|
+
children: /* @__PURE__ */ d("path", {
|
|
7026
|
+
d: "M3.17148 8.82851L2.46448 9.53551M3.17148 3.17149L2.46448 2.46449M8.82849 3.17149L9.53549 2.46449M8.82849 8.82851L9.53549 9.53551M2 6H1M6 2V1M10 6H11M6 10V11M7.41402 7.41399C7.60504 7.2295 7.75741 7.00881 7.86222 6.7648C7.96704 6.5208 8.02221 6.25836 8.02452 5.9928C8.02683 5.72724 7.97623 5.46388 7.87566 5.21809C7.7751 4.97229 7.6266 4.74899 7.43881 4.5612C7.25102 4.37342 7.02772 4.22491 6.78193 4.12435C6.53614 4.02379 6.27278 3.97319 6.00722 3.97549C5.74166 3.9778 5.47922 4.03297 5.23521 4.13779C4.9912 4.24261 4.77051 4.39497 4.58602 4.58599C4.2217 4.9632 4.02012 5.4684 4.02467 5.9928C4.02923 6.51719 4.23957 7.01882 4.61038 7.38963C4.9812 7.76045 5.48282 7.97079 6.00722 7.97534C6.53161 7.9799 7.03682 7.77831 7.41402 7.41399Z",
|
|
7027
|
+
stroke: "currentColor",
|
|
7028
|
+
strokeLinecap: "round",
|
|
7029
|
+
strokeLinejoin: "round"
|
|
7030
|
+
})
|
|
7031
|
+
}), /* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("clipPath", {
|
|
7032
|
+
id: "clip0_34_188",
|
|
7033
|
+
children: /* @__PURE__ */ d("rect", {
|
|
7034
|
+
width: "12",
|
|
7035
|
+
height: "12",
|
|
7036
|
+
fill: "currentColor"
|
|
7037
|
+
})
|
|
7038
|
+
}) })]
|
|
7039
|
+
});
|
|
7040
|
+
}
|
|
7041
|
+
function Gd({ width: e = 24, height: t = 24, ...n }) {
|
|
7042
|
+
return /* @__PURE__ */ d("svg", {
|
|
7043
|
+
viewBox: "0 0 24 24",
|
|
7044
|
+
width: e,
|
|
7045
|
+
height: t,
|
|
7046
|
+
fill: "none",
|
|
7047
|
+
"aria-hidden": "true",
|
|
7048
|
+
...n,
|
|
7049
|
+
children: /* @__PURE__ */ d("path", {
|
|
7050
|
+
d: "M12 3V4M12 20V21M4 12H3M6.31412 6.31412L5.5 5.5M17.6859 6.31412L18.5 5.5M6.31412 17.69L5.5 18.5001M17.6859 17.69L18.5 18.5001M21 12H20M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z",
|
|
7051
|
+
stroke: "currentColor",
|
|
7052
|
+
strokeLinecap: "round",
|
|
7053
|
+
strokeLinejoin: "round"
|
|
7054
|
+
})
|
|
7055
|
+
});
|
|
7056
|
+
}
|
|
7057
|
+
function Kd({ width: e = 24, height: t = 24, ...n }) {
|
|
7058
|
+
return /* @__PURE__ */ d("svg", {
|
|
7059
|
+
viewBox: "0 0 24 24",
|
|
7060
|
+
width: e,
|
|
7061
|
+
height: t,
|
|
7062
|
+
fill: "none",
|
|
7063
|
+
"aria-hidden": "true",
|
|
7064
|
+
...n,
|
|
7065
|
+
children: /* @__PURE__ */ d("path", {
|
|
7066
|
+
d: "M6.09985 15H17.8999M8.99988 3H14.9999M13.9999 3V10.342C15.0511 10.714 15.9779 11.3716 16.6764 12.2409C17.3748 13.1101 17.8173 14.1568 17.9541 15.2635C18.091 16.3702 17.9168 17.4931 17.4512 18.5064C16.9856 19.5196 16.2468 20.3831 15.3179 21H8.68292C7.75341 20.3833 7.01414 19.5198 6.54806 18.5064C6.08198 17.493 5.90754 16.3697 6.04431 15.2627C6.18109 14.1556 6.62366 13.1086 7.32237 12.239C8.02107 11.3695 8.94827 10.7119 9.99992 10.34V3H13.9999Z",
|
|
7067
|
+
stroke: "currentColor",
|
|
7068
|
+
strokeLinecap: "round",
|
|
7069
|
+
strokeLinejoin: "round"
|
|
7070
|
+
})
|
|
7071
|
+
});
|
|
7072
|
+
}
|
|
7073
|
+
function qd({ width: e = 24, height: t = 24, ...n }) {
|
|
7074
|
+
return /* @__PURE__ */ d("svg", {
|
|
7075
|
+
viewBox: "0 0 24 24",
|
|
7076
|
+
width: e,
|
|
7077
|
+
height: t,
|
|
7078
|
+
fill: "none",
|
|
7079
|
+
"aria-hidden": "true",
|
|
7080
|
+
...n,
|
|
7081
|
+
children: /* @__PURE__ */ d("path", {
|
|
7082
|
+
d: "M7 17H11L19 8.99999C19.2627 8.73738 19.4711 8.42558 19.6133 8.08242C19.7554 7.73925 19.8286 7.37144 19.8286 6.99999C19.8286 6.62854 19.7554 6.26073 19.6133 5.91756C19.4711 5.5744 19.2627 5.26261 19 4.99999C18.7374 4.7373 18.4256 4.52891 18.0824 4.38674C17.7393 4.24456 17.3715 4.17139 17 4.17139C16.6285 4.17139 16.2607 4.24456 15.9176 4.38674C15.5744 4.52891 15.2626 4.7373 15 4.99999L7 13V17ZM7 17L4 20M16 7L14.5 5.5M13 10L11.5 8.5M10 13L8.5 11.5",
|
|
7083
|
+
stroke: "currentColor",
|
|
7084
|
+
strokeLinecap: "round",
|
|
7085
|
+
strokeLinejoin: "round"
|
|
7086
|
+
})
|
|
7087
|
+
});
|
|
7088
|
+
}
|
|
7089
|
+
function Jd({ width: e = 24, height: t = 24, ...n }) {
|
|
6776
7090
|
return /* @__PURE__ */ d("svg", {
|
|
6777
|
-
viewBox: "0 0
|
|
7091
|
+
viewBox: "0 0 24 24",
|
|
6778
7092
|
width: e,
|
|
6779
7093
|
height: t,
|
|
6780
7094
|
fill: "none",
|
|
6781
7095
|
"aria-hidden": "true",
|
|
6782
7096
|
...n,
|
|
6783
7097
|
children: /* @__PURE__ */ d("path", {
|
|
6784
|
-
d: "
|
|
7098
|
+
d: "M17 12C17 14.7614 14.7614 17 12 17M17 12C17 9.23858 14.7614 7 12 7M17 12H21M12 17C9.23858 17 7 14.7614 7 12M12 17V21M7 12C7 9.23858 9.23858 7 12 7M7 12H3M12 7V3M11 3H13M15.5355 8.46449L18.364 5.63606M17.6569 4.92896L19.0711 6.34317M21 11V13M15.5355 15.5355L18.364 18.364M19.0711 17.6569L17.6569 19.0711M13 21H11M8.46446 15.5355L5.63603 18.3639M6.34314 19.071L4.92893 17.6568M3 13V11M8.46446 8.46446L5.63603 5.63603M4.92892 6.34314L6.34314 4.92893",
|
|
6785
7099
|
stroke: "currentColor",
|
|
6786
7100
|
strokeLinecap: "round",
|
|
6787
7101
|
strokeLinejoin: "round"
|
|
6788
7102
|
})
|
|
6789
7103
|
});
|
|
6790
7104
|
}
|
|
7105
|
+
function Yd({ width: e = 24, height: t = 24, ...n }) {
|
|
7106
|
+
return /* @__PURE__ */ d("svg", {
|
|
7107
|
+
viewBox: "0 0 24 24",
|
|
7108
|
+
width: e,
|
|
7109
|
+
height: t,
|
|
7110
|
+
fill: "none",
|
|
7111
|
+
"aria-hidden": "true",
|
|
7112
|
+
...n,
|
|
7113
|
+
children: /* @__PURE__ */ d("path", {
|
|
7114
|
+
fillRule: "evenodd",
|
|
7115
|
+
clipRule: "evenodd",
|
|
7116
|
+
d: "M3.64645 3.64645C3.84171 3.45118 4.15829 3.45118 4.35355 3.64645L12 11.2929L19.6464 3.64645C19.8417 3.45118 20.1583 3.45118 20.3536 3.64645C20.5488 3.84171 20.5488 4.15829 20.3536 4.35355L12.7071 12L20.3536 19.6464C20.5488 19.8417 20.5488 20.1583 20.3536 20.3536C20.1583 20.5488 19.8417 20.5488 19.6464 20.3536L12 12.7071L4.35355 20.3536C4.15829 20.5488 3.84171 20.5488 3.64645 20.3536C3.45118 20.1583 3.45118 19.8417 3.64645 19.6464L11.2929 12L3.64645 4.35355C3.45118 4.15829 3.45118 3.84171 3.64645 3.64645Z",
|
|
7117
|
+
fill: "currentColor"
|
|
7118
|
+
})
|
|
7119
|
+
});
|
|
7120
|
+
}
|
|
7121
|
+
function Xd({ width: e = 24, height: t = 24, ...n }) {
|
|
7122
|
+
return /* @__PURE__ */ d("svg", {
|
|
7123
|
+
viewBox: "0 0 24 24",
|
|
7124
|
+
width: e,
|
|
7125
|
+
height: t,
|
|
7126
|
+
fill: "none",
|
|
7127
|
+
"aria-hidden": "true",
|
|
7128
|
+
...n,
|
|
7129
|
+
children: /* @__PURE__ */ d("path", {
|
|
7130
|
+
fillRule: "evenodd",
|
|
7131
|
+
clipRule: "evenodd",
|
|
7132
|
+
d: "M5.64645 5.64645C5.84171 5.45118 6.15829 5.45118 6.35355 5.64645L12 11.2929L17.6464 5.64645C17.8417 5.45118 18.1583 5.45118 18.3536 5.64645C18.5488 5.84171 18.5488 6.15829 18.3536 6.35355L12.7071 12L18.3536 17.6464C18.5488 17.8417 18.5488 18.1583 18.3536 18.3536C18.1583 18.5488 17.8417 18.5488 17.6464 18.3536L12 12.7071L6.35355 18.3536C6.15829 18.5488 5.84171 18.5488 5.64645 18.3536C5.45118 18.1583 5.45118 17.8417 5.64645 17.6464L11.2929 12L5.64645 6.35355C5.45118 6.15829 5.45118 5.84171 5.64645 5.64645Z",
|
|
7133
|
+
fill: "currentColor"
|
|
7134
|
+
})
|
|
7135
|
+
});
|
|
7136
|
+
}
|
|
6791
7137
|
//#endregion
|
|
6792
|
-
//#region src/
|
|
6793
|
-
var
|
|
7138
|
+
//#region src/components/AdministrationIcon/assets/cutaneously_method.svg?react
|
|
7139
|
+
var Zd = (e) => /* @__PURE__ */ f("svg", {
|
|
6794
7140
|
width: 40,
|
|
6795
7141
|
height: 40,
|
|
6796
7142
|
viewBox: "0 0 40 40",
|
|
@@ -6817,7 +7163,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
6817
7163
|
fill: "#E30C5C"
|
|
6818
7164
|
})
|
|
6819
7165
|
]
|
|
6820
|
-
}),
|
|
7166
|
+
}), Qd = (e) => /* @__PURE__ */ f("svg", {
|
|
6821
7167
|
width: 40,
|
|
6822
7168
|
height: 40,
|
|
6823
7169
|
viewBox: "0 0 40 40",
|
|
@@ -6844,7 +7190,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
6844
7190
|
fill: "#E30C5C"
|
|
6845
7191
|
})
|
|
6846
7192
|
]
|
|
6847
|
-
}),
|
|
7193
|
+
}), $d = (e) => /* @__PURE__ */ f("svg", {
|
|
6848
7194
|
width: 43,
|
|
6849
7195
|
height: 43,
|
|
6850
7196
|
viewBox: "0 0 43 43",
|
|
@@ -6867,7 +7213,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
6867
7213
|
fill: "#E30C5C"
|
|
6868
7214
|
})
|
|
6869
7215
|
]
|
|
6870
|
-
}),
|
|
7216
|
+
}), ef = (e) => /* @__PURE__ */ f("svg", {
|
|
6871
7217
|
width: 43,
|
|
6872
7218
|
height: 43,
|
|
6873
7219
|
viewBox: "0 0 43 43",
|
|
@@ -6890,7 +7236,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
6890
7236
|
fill: "#E30C5C"
|
|
6891
7237
|
})
|
|
6892
7238
|
]
|
|
6893
|
-
}),
|
|
7239
|
+
}), tf = (e) => /* @__PURE__ */ f("svg", {
|
|
6894
7240
|
width: 40,
|
|
6895
7241
|
height: 40,
|
|
6896
7242
|
viewBox: "0 0 40 40",
|
|
@@ -6965,7 +7311,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
6965
7311
|
mask: "url(#path-2-outside-1_36_545)"
|
|
6966
7312
|
})
|
|
6967
7313
|
]
|
|
6968
|
-
}),
|
|
7314
|
+
}), nf = (e) => /* @__PURE__ */ f("svg", {
|
|
6969
7315
|
width: 40,
|
|
6970
7316
|
height: 40,
|
|
6971
7317
|
viewBox: "0 0 40 40",
|
|
@@ -6981,7 +7327,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
6981
7327
|
stroke: "#E30C5C",
|
|
6982
7328
|
strokeWidth: .2
|
|
6983
7329
|
})]
|
|
6984
|
-
}),
|
|
7330
|
+
}), rf = (e) => /* @__PURE__ */ f("svg", {
|
|
6985
7331
|
width: 40,
|
|
6986
7332
|
height: 40,
|
|
6987
7333
|
viewBox: "0 0 40 40",
|
|
@@ -7019,7 +7365,7 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
7019
7365
|
mask: "url(#path-2-outside-1_36_550)"
|
|
7020
7366
|
})
|
|
7021
7367
|
]
|
|
7022
|
-
}),
|
|
7368
|
+
}), af = {
|
|
7023
7369
|
cutaneously: "Накожно",
|
|
7024
7370
|
intramuscularly: "Внутримышечно",
|
|
7025
7371
|
subcutaneously: "Подкожно",
|
|
@@ -7027,17 +7373,17 @@ var Ad = (e) => /* @__PURE__ */ f("svg", {
|
|
|
7027
7373
|
drops: "Перорально: капли",
|
|
7028
7374
|
pills: "Перорально: таблетки",
|
|
7029
7375
|
intranasally: "Интраназально"
|
|
7030
|
-
},
|
|
7031
|
-
cutaneously:
|
|
7032
|
-
intramuscularly:
|
|
7033
|
-
subcutaneously:
|
|
7034
|
-
intradermally:
|
|
7035
|
-
drops:
|
|
7036
|
-
pills:
|
|
7037
|
-
intranasally:
|
|
7376
|
+
}, of = {
|
|
7377
|
+
cutaneously: Zd,
|
|
7378
|
+
intramuscularly: ef,
|
|
7379
|
+
subcutaneously: rf,
|
|
7380
|
+
intradermally: $d,
|
|
7381
|
+
drops: Qd,
|
|
7382
|
+
pills: nf,
|
|
7383
|
+
intranasally: tf
|
|
7038
7384
|
};
|
|
7039
|
-
function
|
|
7040
|
-
let i =
|
|
7385
|
+
function sf({ method: e, className: t, disabled: n, ...r }) {
|
|
7386
|
+
let i = of[e], a = af[e], o = /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ f(tt, {
|
|
7041
7387
|
className: "text-white font-semibold",
|
|
7042
7388
|
children: [a, "."]
|
|
7043
7389
|
}), /* @__PURE__ */ d(tt, {
|
|
@@ -7055,7 +7401,7 @@ function zd({ method: e, className: t, disabled: n, ...r }) {
|
|
|
7055
7401
|
}), /* @__PURE__ */ d("span", {
|
|
7056
7402
|
"aria-hidden": "true",
|
|
7057
7403
|
className: "absolute -top-1 -right-1 text-fg-muted group-hover:text-accent transition-colors pointer-events-none",
|
|
7058
|
-
children: /* @__PURE__ */ d(
|
|
7404
|
+
children: /* @__PURE__ */ d(Ld, { className: "w-3 h-3" })
|
|
7059
7405
|
})]
|
|
7060
7406
|
});
|
|
7061
7407
|
return n ? s : /* @__PURE__ */ d(za, {
|
|
@@ -7066,7 +7412,7 @@ function zd({ method: e, className: t, disabled: n, ...r }) {
|
|
|
7066
7412
|
}
|
|
7067
7413
|
//#endregion
|
|
7068
7414
|
//#region src/components/Switch/Switch.tsx
|
|
7069
|
-
var
|
|
7415
|
+
var cf = {
|
|
7070
7416
|
sm: {
|
|
7071
7417
|
track: "w-8 h-5",
|
|
7072
7418
|
thumb: "top-0.5 w-4 h-4",
|
|
@@ -7080,8 +7426,8 @@ var Bd = {
|
|
|
7080
7426
|
off: "left-[3px]"
|
|
7081
7427
|
}
|
|
7082
7428
|
};
|
|
7083
|
-
function
|
|
7084
|
-
let { track: u, thumb: p, on: m, off: h } =
|
|
7429
|
+
function lf({ checked: e, onChange: t, size: n = "md", trackClassName: r, thumbClassName: i, id: a, disabled: o, className: s, "aria-label": c, "aria-labelledby": l }) {
|
|
7430
|
+
let { track: u, thumb: p, on: m, off: h } = cf[n];
|
|
7085
7431
|
return /* @__PURE__ */ f("label", {
|
|
7086
7432
|
className: W("inline-flex items-center cursor-pointer", o && "opacity-40 cursor-not-allowed", s),
|
|
7087
7433
|
children: [/* @__PURE__ */ d("input", {
|
|
@@ -7100,7 +7446,7 @@ function Vd({ checked: e, onChange: t, size: n = "md", trackClassName: r, thumbC
|
|
|
7100
7446
|
})]
|
|
7101
7447
|
});
|
|
7102
7448
|
}
|
|
7103
|
-
var
|
|
7449
|
+
var uf = {
|
|
7104
7450
|
colors: {
|
|
7105
7451
|
accent: "#E30C5C",
|
|
7106
7452
|
accentHover: "#B40A49",
|
|
@@ -7126,7 +7472,7 @@ var Hd = {
|
|
|
7126
7472
|
button: "40px"
|
|
7127
7473
|
},
|
|
7128
7474
|
font: { sans: "'Inter Tight', sans-serif" }
|
|
7129
|
-
},
|
|
7475
|
+
}, df = {
|
|
7130
7476
|
colors: {
|
|
7131
7477
|
accent: "#F31667",
|
|
7132
7478
|
accentHover: "#B40A49",
|
|
@@ -7152,7 +7498,7 @@ var Hd = {
|
|
|
7152
7498
|
button: "40px"
|
|
7153
7499
|
},
|
|
7154
7500
|
font: { sans: "'Inter Tight', sans-serif" }
|
|
7155
|
-
},
|
|
7501
|
+
}, ff = [
|
|
7156
7502
|
{
|
|
7157
7503
|
path: "colors.accent",
|
|
7158
7504
|
cssVar: "--color-accent"
|
|
@@ -7237,24 +7583,24 @@ var Hd = {
|
|
|
7237
7583
|
path: "font.sans",
|
|
7238
7584
|
cssVar: "--font-sans"
|
|
7239
7585
|
}
|
|
7240
|
-
],
|
|
7241
|
-
light:
|
|
7242
|
-
dark:
|
|
7586
|
+
], pf = {
|
|
7587
|
+
light: uf,
|
|
7588
|
+
dark: df
|
|
7243
7589
|
};
|
|
7244
|
-
function
|
|
7590
|
+
function mf(e, t) {
|
|
7245
7591
|
return t.split(".").reduce((e, t) => e[t], e);
|
|
7246
7592
|
}
|
|
7247
|
-
function
|
|
7248
|
-
return Object.fromEntries(
|
|
7593
|
+
function hf(e) {
|
|
7594
|
+
return Object.fromEntries(ff.map(({ path: t, cssVar: n }) => [n, mf(e, t)]));
|
|
7249
7595
|
}
|
|
7250
7596
|
//#endregion
|
|
7251
7597
|
//#region src/components/ThemeProvider/ThemeProvider.tsx
|
|
7252
|
-
var
|
|
7253
|
-
function
|
|
7598
|
+
var gf = n(null);
|
|
7599
|
+
function _f({ children: e, defaultTheme: t, customThemes: n, applyToRoot: r = !0 }) {
|
|
7254
7600
|
let a = c(() => ({
|
|
7255
|
-
...
|
|
7601
|
+
...pf,
|
|
7256
7602
|
...n
|
|
7257
|
-
}), [n]), [s, u] = l(t ?? "light"), f = a[s] ??
|
|
7603
|
+
}), [n]), [s, u] = l(t ?? "light"), f = a[s] ?? uf;
|
|
7258
7604
|
o(() => {
|
|
7259
7605
|
let e = localStorage.getItem("datavac-theme");
|
|
7260
7606
|
!e || !a[e] || u(e);
|
|
@@ -7266,7 +7612,7 @@ function Yd({ children: e, defaultTheme: t, customThemes: n, applyToRoot: r = !0
|
|
|
7266
7612
|
}, [a]), m = i(() => {
|
|
7267
7613
|
u((e) => e === "dark" ? "light" : "dark");
|
|
7268
7614
|
}, []);
|
|
7269
|
-
return /* @__PURE__ */ d(
|
|
7615
|
+
return /* @__PURE__ */ d(gf.Provider, {
|
|
7270
7616
|
value: {
|
|
7271
7617
|
themeName: s,
|
|
7272
7618
|
tokens: f,
|
|
@@ -7276,15 +7622,15 @@ function Yd({ children: e, defaultTheme: t, customThemes: n, applyToRoot: r = !0
|
|
|
7276
7622
|
children: e
|
|
7277
7623
|
});
|
|
7278
7624
|
}
|
|
7279
|
-
function
|
|
7280
|
-
let e = a(
|
|
7625
|
+
function vf() {
|
|
7626
|
+
let e = a(gf);
|
|
7281
7627
|
if (!e) throw Error("useTheme must be used within <ThemeProvider>");
|
|
7282
7628
|
return e;
|
|
7283
7629
|
}
|
|
7284
7630
|
//#endregion
|
|
7285
7631
|
//#region src/components/ThemeToggle/ThemeToggle.tsx
|
|
7286
|
-
function
|
|
7287
|
-
let { themeName: t, toggleTheme: n } =
|
|
7632
|
+
function yf({ className: e }) {
|
|
7633
|
+
let { themeName: t, toggleTheme: n } = vf(), r = t === "dark", [i, a] = l(!1);
|
|
7288
7634
|
return o(() => {
|
|
7289
7635
|
a(!0);
|
|
7290
7636
|
}, []), i ? /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ f("div", {
|
|
@@ -7294,7 +7640,7 @@ function Zd({ className: e }) {
|
|
|
7294
7640
|
className: W("text-xs font-sans", r ? "text-fg-muted" : "text-fg"),
|
|
7295
7641
|
children: "День"
|
|
7296
7642
|
}),
|
|
7297
|
-
/* @__PURE__ */ d(
|
|
7643
|
+
/* @__PURE__ */ d(lf, {
|
|
7298
7644
|
checked: r,
|
|
7299
7645
|
onChange: () => n(),
|
|
7300
7646
|
size: "sm",
|
|
@@ -7317,14 +7663,14 @@ function Zd({ className: e }) {
|
|
|
7317
7663
|
/* @__PURE__ */ d("span", { className: W("absolute top-[3px] w-[26px] h-[26px] bg-white rounded-full shadow transition-all duration-200", r ? "left-[29px]" : "left-[3px]") }),
|
|
7318
7664
|
/* @__PURE__ */ d("span", {
|
|
7319
7665
|
className: "absolute left-2 top-1/2 -translate-y-1/2 pointer-events-none text-white",
|
|
7320
|
-
children: /* @__PURE__ */ d(
|
|
7666
|
+
children: /* @__PURE__ */ d(Gd, {})
|
|
7321
7667
|
}),
|
|
7322
7668
|
/* @__PURE__ */ d("span", {
|
|
7323
7669
|
className: "absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none text-fg",
|
|
7324
|
-
children: /* @__PURE__ */ d(
|
|
7670
|
+
children: /* @__PURE__ */ d(Bd, {})
|
|
7325
7671
|
})
|
|
7326
7672
|
]
|
|
7327
7673
|
})] }) : null;
|
|
7328
7674
|
}
|
|
7329
7675
|
//#endregion
|
|
7330
|
-
export { Tu as Accordion, Eu as AccordionItem,
|
|
7676
|
+
export { Tu as Accordion, Eu as AccordionItem, sf as AdministrationIcon, wd as ArrowDownArrowUpIcon, Td as ArrowDownToBracketIcon, Ed as ArrowUpRightFromSquareIcon, Dd as ArrowsIcon, bt as Badge, Od as BottleIcon, yt as Button, nt as Caption, Ou as Card, kd as ChevronDownIcon, xt as Chip, Ad as CircleAttentionIcon, jd as CircleMinusIcon, Md as CirclePlusIcon, Nd as CircleXmarkIcon, Pd as CopyIcon, St as Counter, Fd as DnaIcon, bl as Drawer, Mu as EmptyState, Nu as ErrorState, Id as FileArrowDownIcon, $e as Heading, Ld as InfoCircleIcon, Ct as Input, tt as Label, Rd as MenuIcon, zd as MinusIcon, Bd as MoonStarsIcon, Vd as PlusIcon, wt as SearchBar, Hd as SearchIcon, Ud as SearchListIcon, ju as Skeleton, Au as Spinner, Gd as SunIcon, Wd as SunMiniIcon, lf as Switch, bd as Tabs, Cd as TabsContent, xd as TabsList, Sd as TabsTrigger, Kd as TestTubeIcon, et as Text, _f as ThemeProvider, yf as ThemeToggle, qd as ThermometerIcon, za as Tooltip, Jd as VirusIcon, Xd as XmarkIcon, Yd as XmarkLargeIcon, W as cn, df as darkTheme, uf as defaultTheme, pf as themes, hf as tokensToCssVars, vf as useTheme };
|