@deepnoid/ui 0.1.157 → 0.1.158
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/.turbo/turbo-build.log +185 -175
- package/dist/{chunk-DQ3ZRNX4.mjs → chunk-3QE57PU3.mjs} +1 -1
- package/dist/{chunk-5KOTQEFC.mjs → chunk-3X376ACN.mjs} +1 -1
- package/dist/{chunk-IN6M25YL.mjs → chunk-46EIW6MN.mjs} +2 -2
- package/dist/{chunk-T7IJB3N4.mjs → chunk-7YMXOYES.mjs} +4 -4
- package/dist/{chunk-ACFDUCPL.mjs → chunk-CSG6FDBX.mjs} +2 -2
- package/dist/{chunk-VUMESK5D.mjs → chunk-DDFJMHBC.mjs} +37 -2
- package/dist/{chunk-JJAPJQUD.mjs → chunk-HKHVSCER.mjs} +1 -1
- package/dist/{chunk-MGGBCCZL.mjs → chunk-IRJP6BF3.mjs} +2 -2
- package/dist/{chunk-NB45YSED.mjs → chunk-ITFEV25U.mjs} +1 -1
- package/dist/{chunk-DSEF7GGB.mjs → chunk-JKYLYL3A.mjs} +1 -1
- package/dist/{chunk-QJUPHJN6.mjs → chunk-KLBA5J2H.mjs} +1 -1
- package/dist/chunk-L5FRTUM6.mjs +100 -0
- package/dist/chunk-OLQOLLKG.mjs +1 -0
- package/dist/{chunk-PO4H65C3.mjs → chunk-PXAJEOZS.mjs} +1 -1
- package/dist/{chunk-T6V6BJOT.mjs → chunk-QHETCLHO.mjs} +2 -2
- package/dist/{chunk-LBJN5TAP.mjs → chunk-R7KUEH3N.mjs} +1 -1
- package/dist/{chunk-BFC4VP3B.mjs → chunk-SFGFRMWL.mjs} +1 -1
- package/dist/{chunk-ZUAOUHWS.mjs → chunk-V64PCWVW.mjs} +3 -3
- package/dist/{chunk-HLWNJLRZ.mjs → chunk-XHCPYYMC.mjs} +1 -1
- package/dist/{chunk-73NBUI4Y.mjs → chunk-YQYO5RLZ.mjs} +1 -1
- package/dist/{chunk-SHI7P4DQ.mjs → chunk-Z7CLJYRF.mjs} +1 -1
- package/dist/components/avatar/avatar.js +37 -2
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +37 -2
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +37 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.js +37 -2
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.js +37 -2
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.js +37 -2
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.js +37 -2
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/chip/chip.js +37 -2
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +37 -2
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.js +37 -2
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.js +37 -2
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/icon/Icon.d.mts +4 -0
- package/dist/components/icon/Icon.d.ts +4 -0
- package/dist/components/icon/Icon.js +37 -2
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +37 -2
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -0
- package/dist/components/icon/template.d.ts +1 -0
- package/dist/components/icon/template.js +37 -2
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +37 -2
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +37 -2
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +37 -2
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +37 -2
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +37 -2
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.js +37 -2
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.js +37 -2
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +37 -2
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.js +37 -2
- package/dist/components/picker/datePicker.mjs +6 -6
- package/dist/components/picker/day.d.mts +2 -2
- package/dist/components/picker/day.d.ts +2 -2
- package/dist/components/picker/index.js +37 -2
- package/dist/components/picker/index.mjs +8 -8
- package/dist/components/picker/timePicker.js +37 -2
- package/dist/components/picker/timePicker.mjs +4 -4
- package/dist/components/select/index.js +37 -2
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.js +37 -2
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/starRating/index.d.mts +4 -0
- package/dist/components/starRating/index.d.ts +4 -0
- package/dist/components/starRating/index.js +5279 -0
- package/dist/components/starRating/index.mjs +14 -0
- package/dist/components/starRating/starRating.d.mts +60 -0
- package/dist/components/starRating/starRating.d.ts +60 -0
- package/dist/components/starRating/starRating.js +5278 -0
- package/dist/components/starRating/starRating.mjs +15 -0
- package/dist/components/table/index.js +37 -2
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.js +37 -2
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +37 -2
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.js +37 -2
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/timePicker/calendar.js +37 -2
- package/dist/components/timePicker/calendar.mjs +2 -2
- package/dist/components/toast/index.js +37 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +37 -2
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +37 -2
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.js +37 -2
- package/dist/components/tree/index.mjs +3 -3
- package/dist/components/tree/tree.js +37 -2
- package/dist/components/tree/tree.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -2
- package/dist/index.mjs +37 -32
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-AF4I7ZQS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
button_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YQYO5RLZ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R7KUEH3N.mjs";
|
|
11
11
|
import {
|
|
12
12
|
mapPropsVariants
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
} from "./chunk-FWFEKWWD.mjs";
|
|
9
9
|
import {
|
|
10
10
|
input_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SFGFRMWL.mjs";
|
|
12
12
|
import {
|
|
13
13
|
text_button_default
|
|
14
14
|
} from "./chunk-Q364C3FI.mjs";
|
|
15
15
|
import {
|
|
16
16
|
button_default
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YQYO5RLZ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
icon_button_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JKYLYL3A.mjs";
|
|
21
21
|
import {
|
|
22
22
|
Icon_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R7KUEH3N.mjs";
|
|
24
24
|
import {
|
|
25
25
|
mapPropsVariants
|
|
26
26
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R7KUEH3N.mjs";
|
|
5
5
|
import {
|
|
6
6
|
mapPropsVariants
|
|
7
7
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
avatar_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ITFEV25U.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
13
|
} from "./chunk-CDXBML6O.mjs";
|
|
@@ -90,8 +90,8 @@ var template = {
|
|
|
90
90
|
{
|
|
91
91
|
fillRule: "evenodd",
|
|
92
92
|
clipRule: "evenodd",
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
94
|
+
fill: "currentColor"
|
|
95
95
|
}
|
|
96
96
|
) : /* @__PURE__ */ jsx(
|
|
97
97
|
"path",
|
|
@@ -105,6 +105,41 @@ var template = {
|
|
|
105
105
|
}
|
|
106
106
|
);
|
|
107
107
|
},
|
|
108
|
+
halfStar: ({ className }) => {
|
|
109
|
+
return /* @__PURE__ */ jsxs(
|
|
110
|
+
"svg",
|
|
111
|
+
{
|
|
112
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
113
|
+
width: "18",
|
|
114
|
+
height: "18",
|
|
115
|
+
viewBox: "0 0 18 18",
|
|
116
|
+
fill: "none",
|
|
117
|
+
className,
|
|
118
|
+
children: [
|
|
119
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "half-clip", children: /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
|
|
120
|
+
/* @__PURE__ */ jsx(
|
|
121
|
+
"path",
|
|
122
|
+
{
|
|
123
|
+
fillRule: "evenodd",
|
|
124
|
+
clipRule: "evenodd",
|
|
125
|
+
fill: "currentColor",
|
|
126
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
127
|
+
clipPath: "url(#half-clip)"
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
"path",
|
|
132
|
+
{
|
|
133
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
134
|
+
stroke: "currentColor",
|
|
135
|
+
strokeLinecap: "round",
|
|
136
|
+
strokeLinejoin: "round"
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
},
|
|
108
143
|
avatar: ({ className }) => {
|
|
109
144
|
return /* @__PURE__ */ jsxs(
|
|
110
145
|
"svg",
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-F3HENRVM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SFGFRMWL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Icon_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R7KUEH3N.mjs";
|
|
11
11
|
import {
|
|
12
12
|
mapPropsVariants
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
5
|
import {
|
|
6
6
|
toast_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3QE57PU3.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
Icon_default
|
|
4
|
+
} from "./chunk-R7KUEH3N.mjs";
|
|
5
|
+
import {
|
|
6
|
+
mapPropsVariants
|
|
7
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
+
import {
|
|
9
|
+
tv
|
|
10
|
+
} from "./chunk-CDXBML6O.mjs";
|
|
11
|
+
|
|
12
|
+
// src/components/starRating/starRating.tsx
|
|
13
|
+
import { forwardRef, useMemo, useState } from "react";
|
|
14
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
var StarRating = forwardRef((originalProps, ref) => {
|
|
16
|
+
const [props, variantProps] = mapPropsVariants(originalProps, starRatingStyle.variantKeys);
|
|
17
|
+
const {
|
|
18
|
+
stars,
|
|
19
|
+
size,
|
|
20
|
+
value,
|
|
21
|
+
onChange,
|
|
22
|
+
readOnly = false,
|
|
23
|
+
allowHalf = false,
|
|
24
|
+
classNames,
|
|
25
|
+
filledColor = "text-primary-main",
|
|
26
|
+
emptyColor = "text-neutral-light"
|
|
27
|
+
} = { ...props, ...variantProps };
|
|
28
|
+
const slots = useMemo(() => starRatingStyle({ ...variantProps }), [variantProps]);
|
|
29
|
+
const [hoverRating, setHoverRating] = useState(0);
|
|
30
|
+
const handleStarClick = (starIndex, isHalf = false) => {
|
|
31
|
+
if (readOnly || !onChange) return;
|
|
32
|
+
const newRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
|
|
33
|
+
onChange(newRating);
|
|
34
|
+
};
|
|
35
|
+
const handleStarHover = (starIndex, isHalf = false) => {
|
|
36
|
+
if (readOnly) return;
|
|
37
|
+
const newHoverRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
|
|
38
|
+
setHoverRating(newHoverRating);
|
|
39
|
+
};
|
|
40
|
+
const handleMouseLeave = () => {
|
|
41
|
+
if (readOnly) return;
|
|
42
|
+
setHoverRating(0);
|
|
43
|
+
};
|
|
44
|
+
const createRange = (n) => {
|
|
45
|
+
return Array.from({ length: n }, (_, i) => i + 1);
|
|
46
|
+
};
|
|
47
|
+
const renderStar = (starIndex) => {
|
|
48
|
+
const currentRating = readOnly ? value : hoverRating || value;
|
|
49
|
+
const isFull = currentRating >= starIndex;
|
|
50
|
+
const isHalf = allowHalf && currentRating >= starIndex - 0.5 && currentRating < starIndex;
|
|
51
|
+
return /* @__PURE__ */ jsxs("div", { className: slots.starWrapper({ class: classNames == null ? void 0 : classNames.starWrapper }), children: [
|
|
52
|
+
!readOnly && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
53
|
+
/* @__PURE__ */ jsx(
|
|
54
|
+
"div",
|
|
55
|
+
{
|
|
56
|
+
className: slots.star({ class: classNames == null ? void 0 : classNames.star }),
|
|
57
|
+
onClick: () => handleStarClick(starIndex),
|
|
58
|
+
onMouseEnter: () => handleStarHover(starIndex)
|
|
59
|
+
}
|
|
60
|
+
),
|
|
61
|
+
allowHalf && /* @__PURE__ */ jsx(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: slots.starHalf({ class: classNames == null ? void 0 : classNames.starHalf }),
|
|
65
|
+
onClick: () => handleStarClick(starIndex, true),
|
|
66
|
+
onMouseEnter: () => handleStarHover(starIndex, true)
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ jsx("div", { children: isHalf ? /* @__PURE__ */ jsx(Icon_default, { name: "halfStar", className: filledColor, size }) : /* @__PURE__ */ jsx(Icon_default, { name: "star", fill: isFull, className: isFull ? filledColor : emptyColor, size }) })
|
|
71
|
+
] }, starIndex);
|
|
72
|
+
};
|
|
73
|
+
return /* @__PURE__ */ jsx("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: createRange(stars).map(renderStar) });
|
|
74
|
+
});
|
|
75
|
+
StarRating.displayName = "StarRating";
|
|
76
|
+
var starRating_default = StarRating;
|
|
77
|
+
var starRatingStyle = tv({
|
|
78
|
+
slots: {
|
|
79
|
+
base: ["flex", "items-center"],
|
|
80
|
+
starWrapper: ["relative", "inline-block"],
|
|
81
|
+
star: ["absolute", "inset-0", "z-10", "h-full", "w-full", "cursor-pointer"],
|
|
82
|
+
starHalf: ["absolute", "left-0", "top-0", "z-20", "h-full", "w-1/2", "cursor-pointer"]
|
|
83
|
+
},
|
|
84
|
+
variants: {
|
|
85
|
+
size: {
|
|
86
|
+
sm: {},
|
|
87
|
+
md: {},
|
|
88
|
+
lg: {},
|
|
89
|
+
xl: {}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
defaultVariants: {
|
|
93
|
+
size: "xl"
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export {
|
|
98
|
+
starRating_default,
|
|
99
|
+
starRatingStyle
|
|
100
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
select_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z7CLJYRF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R7KUEH3N.mjs";
|
|
8
8
|
import {
|
|
9
9
|
mapPropsVariants
|
|
10
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-2CLPU5LR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
input_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SFGFRMWL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
button_default
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YQYO5RLZ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
icon_button_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JKYLYL3A.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/fileUpload/fileUpload.tsx
|
|
16
16
|
import { useRef, useState, useEffect } from "react";
|
|
@@ -197,8 +197,8 @@ var template = {
|
|
|
197
197
|
{
|
|
198
198
|
fillRule: "evenodd",
|
|
199
199
|
clipRule: "evenodd",
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
201
|
+
fill: "currentColor"
|
|
202
202
|
}
|
|
203
203
|
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
204
204
|
"path",
|
|
@@ -212,6 +212,41 @@ var template = {
|
|
|
212
212
|
}
|
|
213
213
|
);
|
|
214
214
|
},
|
|
215
|
+
halfStar: ({ className }) => {
|
|
216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
217
|
+
"svg",
|
|
218
|
+
{
|
|
219
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
220
|
+
width: "18",
|
|
221
|
+
height: "18",
|
|
222
|
+
viewBox: "0 0 18 18",
|
|
223
|
+
fill: "none",
|
|
224
|
+
className,
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
|
|
227
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
228
|
+
"path",
|
|
229
|
+
{
|
|
230
|
+
fillRule: "evenodd",
|
|
231
|
+
clipRule: "evenodd",
|
|
232
|
+
fill: "currentColor",
|
|
233
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
234
|
+
clipPath: "url(#half-clip)"
|
|
235
|
+
}
|
|
236
|
+
),
|
|
237
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
238
|
+
"path",
|
|
239
|
+
{
|
|
240
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
241
|
+
stroke: "currentColor",
|
|
242
|
+
strokeLinecap: "round",
|
|
243
|
+
strokeLinejoin: "round"
|
|
244
|
+
}
|
|
245
|
+
)
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
);
|
|
249
|
+
},
|
|
215
250
|
avatar: ({ className }) => {
|
|
216
251
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
217
252
|
"svg",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
avatar_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-ITFEV25U.mjs";
|
|
5
|
+
import "../../chunk-DDFJMHBC.mjs";
|
|
6
6
|
import "../../chunk-CDXBML6O.mjs";
|
|
7
7
|
import "../../chunk-AC6TWLRT.mjs";
|
|
8
8
|
export {
|
|
@@ -199,8 +199,8 @@ var template = {
|
|
|
199
199
|
{
|
|
200
200
|
fillRule: "evenodd",
|
|
201
201
|
clipRule: "evenodd",
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
203
|
+
fill: "currentColor"
|
|
204
204
|
}
|
|
205
205
|
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
206
206
|
"path",
|
|
@@ -214,6 +214,41 @@ var template = {
|
|
|
214
214
|
}
|
|
215
215
|
);
|
|
216
216
|
},
|
|
217
|
+
halfStar: ({ className }) => {
|
|
218
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
219
|
+
"svg",
|
|
220
|
+
{
|
|
221
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
222
|
+
width: "18",
|
|
223
|
+
height: "18",
|
|
224
|
+
viewBox: "0 0 18 18",
|
|
225
|
+
fill: "none",
|
|
226
|
+
className,
|
|
227
|
+
children: [
|
|
228
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
|
|
229
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
230
|
+
"path",
|
|
231
|
+
{
|
|
232
|
+
fillRule: "evenodd",
|
|
233
|
+
clipRule: "evenodd",
|
|
234
|
+
fill: "currentColor",
|
|
235
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
236
|
+
clipPath: "url(#half-clip)"
|
|
237
|
+
}
|
|
238
|
+
),
|
|
239
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
240
|
+
"path",
|
|
241
|
+
{
|
|
242
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
243
|
+
stroke: "currentColor",
|
|
244
|
+
strokeLinecap: "round",
|
|
245
|
+
strokeLinejoin: "round"
|
|
246
|
+
}
|
|
247
|
+
)
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
);
|
|
251
|
+
},
|
|
217
252
|
avatar: ({ className }) => {
|
|
218
253
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
219
254
|
"svg",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import "../../chunk-7DLOYKVC.mjs";
|
|
3
3
|
import {
|
|
4
4
|
avatar_default
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-ITFEV25U.mjs";
|
|
6
|
+
import "../../chunk-DDFJMHBC.mjs";
|
|
7
7
|
import "../../chunk-CDXBML6O.mjs";
|
|
8
8
|
import "../../chunk-AC6TWLRT.mjs";
|
|
9
9
|
export {
|
|
@@ -437,8 +437,8 @@ var template = {
|
|
|
437
437
|
{
|
|
438
438
|
fillRule: "evenodd",
|
|
439
439
|
clipRule: "evenodd",
|
|
440
|
-
|
|
441
|
-
|
|
440
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
441
|
+
fill: "currentColor"
|
|
442
442
|
}
|
|
443
443
|
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
444
444
|
"path",
|
|
@@ -452,6 +452,41 @@ var template = {
|
|
|
452
452
|
}
|
|
453
453
|
);
|
|
454
454
|
},
|
|
455
|
+
halfStar: ({ className }) => {
|
|
456
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
457
|
+
"svg",
|
|
458
|
+
{
|
|
459
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
460
|
+
width: "18",
|
|
461
|
+
height: "18",
|
|
462
|
+
viewBox: "0 0 18 18",
|
|
463
|
+
fill: "none",
|
|
464
|
+
className,
|
|
465
|
+
children: [
|
|
466
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
|
|
467
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
468
|
+
"path",
|
|
469
|
+
{
|
|
470
|
+
fillRule: "evenodd",
|
|
471
|
+
clipRule: "evenodd",
|
|
472
|
+
fill: "currentColor",
|
|
473
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
474
|
+
clipPath: "url(#half-clip)"
|
|
475
|
+
}
|
|
476
|
+
),
|
|
477
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
478
|
+
"path",
|
|
479
|
+
{
|
|
480
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
481
|
+
stroke: "currentColor",
|
|
482
|
+
strokeLinecap: "round",
|
|
483
|
+
strokeLinejoin: "round"
|
|
484
|
+
}
|
|
485
|
+
)
|
|
486
|
+
]
|
|
487
|
+
}
|
|
488
|
+
);
|
|
489
|
+
},
|
|
455
490
|
avatar: ({ className }) => {
|
|
456
491
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
457
492
|
"svg",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
breadcrumb_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-PXAJEOZS.mjs";
|
|
5
5
|
import "../../chunk-MY5U63QO.mjs";
|
|
6
6
|
import "../../chunk-Q364C3FI.mjs";
|
|
7
7
|
import "../../chunk-ITWKPTSD.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-YQYO5RLZ.mjs";
|
|
9
|
+
import "../../chunk-JKYLYL3A.mjs";
|
|
10
10
|
import "../../chunk-6WSACUIB.mjs";
|
|
11
11
|
import "../../chunk-LXHUO6VM.mjs";
|
|
12
12
|
import "../../chunk-SZL743JC.mjs";
|
|
13
13
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-R7KUEH3N.mjs";
|
|
15
15
|
import "../../chunk-E3G5QXSH.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-DDFJMHBC.mjs";
|
|
17
17
|
import "../../chunk-CDXBML6O.mjs";
|
|
18
18
|
import "../../chunk-27Y6K5NK.mjs";
|
|
19
19
|
import "../../chunk-AC6TWLRT.mjs";
|