Merge branch 'zh' into 'main'

chore(deps): remove 25 unused dependencies

See merge request prism/lable/labelmain!29
This commit is contained in:
刘耀勇
2026-06-06 17:54:04 +08:00
17 changed files with 267 additions and 795 deletions

View File

@@ -0,0 +1,26 @@
# React Doctor — 已确认的误报 (false positives)
本文件记录经人工确认的误报。React Doctor 在分诊时会读取此文件并跳过匹配的诊断。
每条注明:规则、位置、代码形状、为何是误报。
---
## `react-doctor/server-auth-actions`
- **位置**: `components/login/libs/session.ts``genAccessToken`
- **代码形状**: 文件顶部含 `"use server"`,导出的 async 函数本身就是**会话校验 / 凭证建立端点**——读取会话 cookie (`SESSION_COOKIE_NAME`)、查 redis、校验客户端 IP,失败时返回 `ok:false` 重定向到登录页。
- **为何是误报**: 该函数*就是*鉴权逻辑本身,不存在"调用前的会话"可供校验。规则的 validation prompt 明确把"action 即认证/凭证建立端点(login/signup/OTP/session 校验)"列为典型误报——这里因函数名为 `genAccessToken`(不在规则的 `auth()`/`validateSession()` 等识别名单内)而误触发。给它再加 `auth()` 会构成循环逻辑。
- **判定**: 跳过此规则在该函数上的诊断。
---
## `react-doctor/exhaustive-deps` — 有意排除的依赖(加了会引 bug)
以下 useEffect 均**有意**保持最小依赖数组,且都已带 `// eslint-disable-next-line react-hooks/exhaustive-deps`(react-doctor 用的是 oxlint 同名规则,故未被该注释覆盖)。逐条确认:补齐缺失依赖会引入真实 bug,故不改逻辑,登记为误报。
- **`app/person/report/components/DailyReportModal.tsx:190`** — 缺 `resetFormState` 等。`resetFormState` 每次渲染重建,加入依赖会导致 effect 每次渲染都执行(反复重置表单)。effect 设计为仅在 `[opened, record, user_name]` 变化时运行。
- **`app/person/report/components/DailyReportModal.tsx:201` / `:227`** — 缺 `form.setFieldValue`。Mantine form 方法引用稳定;effect 有意仅在对应 `form.values.*` 变化时联动计算字段,补 setter 无意义且违背设计意图。
- **`app/person/workload/WorkloadMetricsTable.tsx:124`** — 缺 `refresh`。这是 `[]` 挂载时一次性拉取数据的 effect;`refresh` 为每次渲染重建的普通 async 函数,加入依赖会导致每次渲染重复请求。
- **`components/tree-select/tree.tsx:122`** — 缺 `tree.initialize``useTree()` 每次渲染返回新的 controller 对象(文件内注释亦说明此点),依赖它会造成无限重渲染;effect 有意仅在 `[data]` 变化时初始化。
- **判定**: 以上位置跳过 `exhaustive-deps`。如需让 react-doctor 扫描层面也静默,可在各行改用 `// oxlint-disable-next-line react-doctor/exhaustive-deps` 并附理由(本表已记录理由)。

View File

@@ -1,282 +0,0 @@
"use client"
export const DataIcon = () => (
<svg
width="32"
height="32"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M0.1 4C0.1 1.84609 1.84609 0.1 4 0.1H28C30.1539 0.1 31.9 1.84609 31.9 4V28C31.9 30.1539 30.1539 31.9 28 31.9H4C1.84609 31.9 0.1 30.1539 0.1 28V4Z"
fill="url(#paint0_linear_726_9281)"
stroke="url(#paint1_linear_726_9281)"
strokeWidth="0.2"
strokeLinejoin="round"
/>
<path
d="M8.67848 12.5511L9.89873 11.2781L10.6614 12.0738L9.44114 13.3468L10.2038 14.1424L11.424 12.7898L12.1867 13.5855L10.9665 14.8585L11.1953 15.495L15.2373 11.3577L12.4918 8.25471C12.0342 7.8569 11.1953 7.93646 10.8139 8.41384L8.22088 10.9599C7.83955 11.3577 7.99209 11.9146 8.37341 12.3124L8.67848 12.5511ZM8.37341 23.0535C8.29715 23.3717 8.52595 23.6104 8.83101 23.5309L13.4832 22.0192L9.89873 18.3593L8.37341 23.0535ZM23.5503 11.9942C23.9316 11.5964 23.9316 11.0394 23.5503 10.6416L21.3386 8.41384C20.9573 8.01602 20.3472 8.01602 19.9658 8.41384L18.3642 10.0051L21.9487 13.5855L23.5503 11.9942ZM17.8304 10.5621L10.4326 17.8819L14.0171 21.4622L21.4149 14.0628L17.8304 10.5621ZM23.7791 19.3936L20.4234 16.1315L16.3051 20.1892L17.0677 20.9848L18.3642 19.7118L19.1269 20.5075L17.8304 21.7805L18.593 22.5761L19.8896 21.3031L20.6522 22.0987L19.3557 23.3717L19.5845 23.6104C19.9658 24.0083 20.5759 24.1674 21.0335 23.7696L23.6266 21.2235C24.0079 20.6666 24.1604 19.7914 23.7791 19.3936Z"
fill="white"
/>
<defs>
<linearGradient
id="paint0_linear_726_9281"
x1="-4"
y1="-9.5"
x2="29"
y2="32"
gradientUnits="userSpaceOnUse">
<stop stopColor="white" stopOpacity="0.26" />
<stop offset="1" stopColor="#FFCBCE" />
</linearGradient>
<linearGradient
id="paint1_linear_726_9281"
x1="1.67638e-07"
y1="32"
x2="32"
y2="1.67638e-07"
gradientUnits="userSpaceOnUse">
<stop stopColor="#FBACB3" />
<stop offset="1" stopColor="white" />
</linearGradient>
</defs>
</svg>
)
export const HourIcon = () => (
<svg
width="38"
height="37"
viewBox="0 0 38 37"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_dd_726_9271)">
<rect
x="2"
y="1"
width="32"
height="32"
rx="3.84"
fill="url(#paint0_linear_726_9271)"
/>
</g>
<rect
x="2"
y="1"
width="32"
height="32"
rx="3.84"
fill="white"
fillOpacity="0.1"
/>
<path
d="M15.1422 18.626L16.6317 17.5382L20.6829 11.3447L21.6931 9.79101C21.7472 9.70607 21.774 9.60659 21.7699 9.50597C21.7656 9.42473 21.7414 9.34579 21.6995 9.27612C21.6575 9.20644 21.599 9.14817 21.5291 9.10646L20.6829 8.61169C20.5676 8.54209 20.43 8.51976 20.2987 8.54935C20.1674 8.57894 20.0526 8.65817 19.9784 8.77046L19.2562 9.87151L18.9667 10.3242L15.0322 16.7614L15.1429 18.626H15.1422ZM23.0216 9.77994H25.2333C25.7243 9.77994 26.1231 10.2193 26.1231 10.6956V21.9084C26.1231 22.3847 25.7243 22.7709 25.2333 22.7709H10.7668C10.2757 22.7709 9.87695 22.3847 9.87695 21.9084V10.6956C9.87695 10.2193 10.1362 9.77994 10.6272 9.77994H17.8893L13.8034 16.4165L14.0692 20.4736L17.8782 17.903L23.0216 9.77994ZM18.6115 19.4685C18.4533 19.4685 18.3017 19.5314 18.1898 19.6432C18.078 19.755 18.0152 19.9067 18.0152 20.0649C18.0152 20.223 18.078 20.3747 18.1898 20.4865C18.3017 20.5983 18.4533 20.6612 18.6115 20.6612H24.4896C24.6478 20.6612 24.7995 20.5983 24.9113 20.4865C25.0231 20.3747 25.0859 20.223 25.0859 20.0649C25.0859 19.9067 25.0231 19.755 24.9113 19.6432C24.7995 19.5314 24.6478 19.4685 24.4896 19.4685H18.6115ZM25.1963 24.0854H10.8052C10.3606 24.0854 10.0003 24.3941 10.0003 24.7744C10.0003 25.1547 10.3606 25.4634 10.8052 25.4634H25.1963C25.6416 25.4634 26.0013 25.1547 26.0013 24.7744C25.999 24.397 25.6394 24.0854 25.1963 24.0854Z"
fill="white"
/>
<defs>
<filter
id="filter0_dd_726_9271"
x="0.56"
y="0.0399997"
width="37.28"
height="36.8"
filterUnits="userSpaceOnUse"
colorInterpolationFilters="sRGB">
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feMorphology
radius="0.48"
operator="erode"
in="SourceAlpha"
result="effect1_dropShadow_726_9271"
/>
<feOffset dx="1.44" dy="1.44" />
<feGaussianBlur stdDeviation="1.44" />
<feComposite in2="hardAlpha" operator="out" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0.0627451 0 0 0 0 0.760784 0 0 0 0 0.423529 0 0 0 0.15 0"
/>
<feBlend
mode="normal"
in2="BackgroundImageFix"
result="effect1_dropShadow_726_9271"
/>
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feMorphology
radius="0.48"
operator="erode"
in="SourceAlpha"
result="effect2_dropShadow_726_9271"
/>
<feOffset dx="-0.48" />
<feGaussianBlur stdDeviation="0.72" />
<feComposite in2="hardAlpha" operator="out" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0.0627451 0 0 0 0 0.760784 0 0 0 0 0.423529 0 0 0 0.33 0"
/>
<feBlend
mode="normal"
in2="effect1_dropShadow_726_9271"
result="effect2_dropShadow_726_9271"
/>
<feBlend
mode="normal"
in="SourceGraphic"
in2="effect2_dropShadow_726_9271"
result="shape"
/>
</filter>
<linearGradient
id="paint0_linear_726_9271"
x1="-13"
y1="-27"
x2="27"
y2="31.5"
gradientUnits="userSpaceOnUse">
<stop stopColor="#E7F9F0" />
<stop offset="1" stopColor="#4FD796" />
</linearGradient>
</defs>
</svg>
)
export const ReviewIcon = () => (
<svg
width="32"
height="32"
viewBox="0 0 32 32"
fill="none"
xmlns="http://www.w3.org/2000/svg">
<rect width="32" height="32" rx="3.84" fill="url(#paint0_linear_0_1)" />
<g filter="url(#filter0_ii_0_1)">
<rect width="32" height="32" rx="3.84" fill="white" fillOpacity="0.1" />
</g>
<g filter="url(#filter1_ii_0_1)">
<rect width="32" height="32" rx="3.84" fill="white" fillOpacity="0.1" />
</g>
<path
d="M23.227 18.008H20.5869C20.1405 18.008 19.7365 17.7447 19.5553 17.3347L18.4511 14.8444C18.2574 14.4063 18.3641 13.9006 18.7028 13.5623C19.4724 12.7923 19.9188 11.6954 19.8142 10.4966C19.6526 8.6318 18.1352 7.13848 16.2771 7.00945C14.0429 6.85439 12.1827 8.62868 12.1827 10.8411C12.1827 11.9265 12.6312 12.9057 13.351 13.604C13.6794 13.9224 13.7912 14.4032 13.6286 14.8309L12.6975 17.2785C12.6157 17.4931 12.471 17.6778 12.2826 17.808C12.0941 17.9383 11.8708 18.008 11.642 18.008H8.77399C8.06967 18.008 7.5 18.5813 7.5 19.2879V21.3859C7.5 22.0935 8.07071 22.6658 8.77399 22.6658H23.226C23.9303 22.6658 24.5 22.0925 24.5 21.3859V19.2879C24.501 18.5813 23.9303 18.008 23.227 18.008ZM23.139 25H8.86203C8.54819 25 8.2934 24.744 8.2934 24.4287C8.2934 24.1134 8.54819 23.8574 8.86203 23.8574H23.14C23.4539 23.8574 23.7087 24.1134 23.7087 24.4287C23.7086 24.5038 23.6938 24.5781 23.6652 24.6475C23.6365 24.7168 23.5945 24.7798 23.5416 24.8329C23.4887 24.8859 23.4259 24.928 23.3568 24.9567C23.2878 24.9853 23.2137 25.0001 23.139 25Z"
fill="white"
/>
<defs>
<filter
id="filter0_ii_0_1"
x="-0.48"
y="-0.48"
width="32.96"
height="32.96"
filterUnits="userSpaceOnUse"
colorInterpolationFilters="sRGB">
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feBlend
mode="normal"
in="SourceGraphic"
in2="BackgroundImageFix"
result="shape"
/>
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feOffset dx="0.48" dy="-0.48" />
<feGaussianBlur stdDeviation="0.48" />
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0.760784 0 0 0 0 0.470588 0 0 0 0 0.0627451 0 0 0 0.15 0"
/>
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_0_1" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feOffset dx="-0.48" dy="0.48" />
<feGaussianBlur stdDeviation="0.74" />
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
<feColorMatrix
type="matrix"
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0"
/>
<feBlend
mode="normal"
in2="effect1_innerShadow_0_1"
result="effect2_innerShadow_0_1"
/>
</filter>
<filter
id="filter1_ii_0_1"
x="-0.48"
y="-0.48"
width="32.96"
height="32.96"
filterUnits="userSpaceOnUse"
colorInterpolationFilters="sRGB">
<feFlood floodOpacity="0" result="BackgroundImageFix" />
<feBlend
mode="normal"
in="SourceGraphic"
in2="BackgroundImageFix"
result="shape"
/>
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feOffset dx="0.48" dy="-0.48" />
<feGaussianBlur stdDeviation="0.48" />
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0.760784 0 0 0 0 0.470588 0 0 0 0 0.0627451 0 0 0 0.15 0"
/>
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_0_1" />
<feColorMatrix
in="SourceAlpha"
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
result="hardAlpha"
/>
<feOffset dx="-0.48" dy="0.48" />
<feGaussianBlur stdDeviation="0.74" />
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
<feColorMatrix
type="matrix"
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.7 0"
/>
<feBlend
mode="normal"
in2="effect1_innerShadow_0_1"
result="effect2_innerShadow_0_1"
/>
</filter>
<linearGradient
id="paint0_linear_0_1"
x1="-15"
y1="-28"
x2="25"
y2="30.5"
gradientUnits="userSpaceOnUse">
<stop stopColor="#FEF5E7" />
<stop offset="1" stopColor="#FFB84D" />
</linearGradient>
</defs>
</svg>
)

View File

@@ -18,13 +18,27 @@ import {
getPersistedPageSizeOptions,
resolvePageSizeWithinOptions,
} from "@/components/setting/pageSize"
import { Button, Group, Stack, Text, UnstyledButton } from "@mantine/core"
import {
Button,
Group,
Select,
Stack,
Text,
UnstyledButton,
} from "@mantine/core"
import { IconRefresh } from "@tabler/icons-react"
import { DataTableColumn } from "mantine-datatable"
import { useCallback, useEffect, useMemo, useState } from "react"
import classes from "../page.module.css"
const DEFAULT_RECORDS_PER_PAGE_OPTIONS = [10, 15, 20, 50]
const REJECTED_FILTER_OPTIONS = [
{ value: "all", label: "全部" },
{ value: "true", label: "是" },
{ value: "false", label: "否" },
] as const
type RejectedFilterValue = (typeof REJECTED_FILTER_OPTIONS)[number]["value"]
export default function PersonalTaskTable() {
const user_name = usePermissionStore((s) => s.user_name)
@@ -47,6 +61,8 @@ export default function PersonalTaskTable() {
const [totalItems, setTotalItems] = useState(0)
const [records, setRecords] = useState<Task.SimpleTaskItem[]>([])
const [loading, setLoading] = useState(false)
const [rejectedFilter, setRejectedFilter] =
useState<RejectedFilterValue>("all")
const totalPages = useMemo(() => {
return Math.max(1, Math.ceil(totalItems / pageSize))
@@ -59,13 +75,15 @@ export default function PersonalTaskTable() {
const res = await getUserTaskList({
page_number: page,
page_size: pageSize,
rejected:
rejectedFilter === "all" ? undefined : rejectedFilter === "true",
})
setRecords(res?.simple_task_list ?? [])
setTotalItems(res?.total_items ?? 0)
} finally {
setLoading(false)
}
}, [page, pageSize, user_name])
}, [page, pageSize, rejectedFilter, user_name])
useEffect(() => {
load()
@@ -198,7 +216,32 @@ export default function PersonalTaskTable() {
<Stack className={classes.dashboardSection}>
<SettingListHeader
title="我的任务"
count={`${totalItems} 条记录`}
count={
<Group gap="sm" align="center" wrap="wrap">
<Text span inherit>
{totalItems}
</Text>
<Group gap={6} align="center" wrap="wrap">
<Text span inherit>
</Text>
<Select
data={REJECTED_FILTER_OPTIONS}
value={rejectedFilter}
onChange={(value) => {
if (!value) return
setRejectedFilter(value as RejectedFilterValue)
setPage(1)
}}
allowDeselect={false}
checkIconPosition="right"
size="xs"
w={112}
className={classes.dashboardHeaderSelect}
/>
</Group>
</Group>
}
actions={
<SettingHeaderActions>
<Button

View File

@@ -129,6 +129,25 @@
flex-direction: column;
}
.dashboardHeaderSelect :global(.mantine-Input-input) {
min-height: 28px;
border-color: #e5e6eb;
border-radius: 4px;
background: #ffffff;
color: #1d2129;
font-size: 12px;
box-shadow: none;
}
.dashboardHeaderSelect :global(.mantine-Input-input:focus) {
border-color: #1874ff;
box-shadow: 0 0 0 2px rgba(24, 116, 255, 0.12);
}
.dashboardHeaderSelect :global(.mantine-Input-section) {
color: #86909c;
}
.dashboardFilterBar {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;

View File

@@ -5,14 +5,6 @@ export type DimensionType =
| "order_by_project_name"
| "order_by_project_type"
export const dimensionOpts = [
{ label: "全部", value: "all" },
{ label: "用户名", value: "order_by_user_name" },
{ label: "用户组", value: "order_by_group_name" },
{ label: "项目名称", value: "order_by_project_name" },
{ label: "项目类型", value: "order_by_project_type" },
]
export type MetricColumn = {
key: string
title: string

View File

@@ -68,6 +68,7 @@ export const getTaskWorkFlow = (id: number) => {
export const getUserTaskList = (params: {
page_size: number
page_number: number
rejected?: boolean
}) => {
return httpFetch<Task.ResGetUserTaskList>({
url: BASE_LABEL_API + `/api/v1/label_server/task/list_by_user`,

View File

@@ -36,7 +36,7 @@ export const Logo: React.FC<IconSvgProps> = () => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M24.6079 8.24078C24.9989 7.85079 25.6321 7.85165 26.0221 8.24271L28.8659 11.0943C29.2559 11.4853 29.255 12.1185 28.864 12.5085L26.9331 14.4341L22.4979 10.345L24.6079 8.24078ZM21.8466 10.9945L12.999 19.818L17.4343 23.9071L26.2818 15.0836L21.8466 10.9945ZM12.3478 20.4675L16.783 24.5566L16.7454 24.5941L11.0621 26.5612C10.9001 26.6172 10.7204 26.5657 10.6128 26.4324C10.5266 26.3257 10.5 26.1828 10.5421 26.0522L12.3381 20.4771L12.3478 20.4675Z"
d="M24.61 8.24C25 7.85 25.63 7.85 26.02 8.24L28.87 11.09C29.26 11.49 29.255 12.12 28.864 12.51L26.93 14.43L22.5 10.345L24.61 8.24ZM21.85 10.99L12.999 19.818L17.43 23.91L26.28 15.08L21.85 10.99ZM12.35 20.47L16.783 24.56L16.75 24.59L11.06 26.56C10.9 26.62 10.72 26.57 10.61 26.43C10.53 26.33 10.5 26.18 10.54 26.05L12.34 20.48L12.35 20.47Z"
fill="url(#paint3_linear_794_10698)"
/>
<mask
@@ -47,15 +47,15 @@ export const Logo: React.FC<IconSvgProps> = () => (
width="20"
height="20">
<path
d="M24.6307 8.21629C25.0092 7.83889 25.6219 7.83972 25.9993 8.21816L28.8887 11.1155C29.2661 11.4939 29.2653 12.1066 28.8868 12.484L26.933 14.4326L22.4977 10.3435L24.6307 8.21629Z"
d="M24.63 8.22C25.01 7.84 25.62 7.84 26 8.22L28.89 11.12C29.27 11.49 29.27 12.11 28.89 12.484L26.933 14.43L22.5 10.34L24.63 8.22Z"
fill="#2680EE"
/>
<path
d="M21.8465 10.993L12.9994 19.8159L17.4347 23.905L26.2817 15.0821L21.8465 10.993Z"
d="M21.85 10.993L13 19.82L17.43 23.905L26.28 15.08L21.85 10.993Z"
fill="#2680EE"
/>
<path
d="M12.3482 20.4654L16.7834 24.5545L16.7454 24.5924L11.0621 26.5595C10.9001 26.6155 10.7204 26.564 10.6128 26.4307C10.5266 26.324 10.5 26.1811 10.5421 26.0505L12.3381 20.4754L12.3482 20.4654Z"
d="M12.35 20.47L16.78 24.55L16.75 24.59L11.06 26.56C10.9 26.62 10.72 26.564 10.61 26.43C10.53 26.324 10.5 26.18 10.54 26.05L12.34 20.48L12.35 20.47Z"
fill="#2680EE"
/>
</mask>
@@ -63,7 +63,7 @@ export const Logo: React.FC<IconSvgProps> = () => (
<rect
width="32.4846"
height="4.93865"
transform="matrix(0.708734 -0.705476 -0.705476 -0.708734 8.74268 28.378)"
transform="matrix(0.71 -0.71 -0.71 -0.71 8.74 28.378)"
fill="white"
/>
</g>
@@ -120,7 +120,7 @@ export const LoginUserIcon = () => (
width="16"
height="16"
fill="#4E596999">
<path d="M210.944 672.548571c81.700571-61.586286 190.171429-91.428571 301.056-91.428571 110.738286 0 219.282286 29.842286 300.982857 91.428571a333.677714 333.677714 0 0 1 135.021714 246.125715c1.462857 17.700571-13.165714 32.182857-30.939428 32.182857a34.742857 34.742857 0 0 1-33.645714-32.182857 269.019429 269.019429 0 0 0-109.129143-194.779429C706.048 672.548571 611.986286 645.485714 512 645.485714c-100.205714 0-194.194286 27.062857-262.290286 78.409143a268.946286 268.946286 0 0 0-109.129143 194.779429 34.742857 34.742857 0 0 1-33.645714 32.182857 30.281143 30.281143 0 0 1-30.939428-32.182857 333.677714 333.677714 0 0 1 134.948571-246.125715zM512 118.637714a170.422857 170.422857 0 1 0 0 340.772572 170.422857 170.422857 0 0 0 0-340.772572z m-234.788571 170.422857a234.788571 234.788571 0 1 1 469.504 0 234.788571 234.788571 0 0 1-469.430858 0z"></path>
<path d="M210.944 672.55c81.7-61.59 190.17-91.43 301.056-91.43 110.74 0 219.28 29.84 300.98 91.43a333.68 333.68 0 0 1 135.02 246.13c1.46 17.7-13.17 32.18-30.94 32.18a34.74 34.74 0 0 1-33.65-32.18 269.02 269.02 0 0 0-109.13-194.78C706.048 672.55 611.99 645.49 512 645.49c-100.21 0-194.19 27.06-262.29 78.41a268.95 268.95 0 0 0-109.13 194.78 34.74 34.74 0 0 1-33.65 32.18 30.28 30.28 0 0 1-30.94-32.18 333.68 333.68 0 0 1 134.95-246.13zM512 118.64a170.42 170.42 0 1 0 0 340.77 170.42 170.42 0 0 0 0-340.77z m-234.79 170.42a234.79 234.79 0 1 1 469.504 0 234.79 234.79 0 0 1-469.43 0z"></path>
</svg>
)
@@ -129,16 +129,11 @@ export const LoginPasswordIcon = () => (
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="6040"
width="16"
height="16"
fill="#4E596999">
<path
d="M288.036571 320v-32.036571a223.963429 223.963429 0 0 1 447.926858 0v32.036571h128a64 64 0 0 1 64.073142 64v434.468571c0 79.140571-66.852571 141.531429-144.091428 141.531429H240.054857c-78.116571 0-144.018286-65.828571-144.018286-144.018286V384a64 64 0 0 1 64-64h128z m110.811429-145.115429c-29.988571 29.988571-46.811429 70.656-46.811429 113.078858v32.036571h320v-32.036571a160.036571 160.036571 0 0 0-273.188571-113.078858zM159.963429 384v431.981714c0 42.788571 37.229714 80.018286 80.018285 80.018286h544.036572c43.739429 0 80.018286-35.620571 80.018285-77.531429V384H159.963429z"
p-id="6041"></path>
<path
d="M320 416.036571c17.700571 0 32.036571 14.262857 32.036571 31.963429v32.036571a160.036571 160.036571 0 0 0 320 0v-32.036571a32.036571 32.036571 0 0 1 63.926858 0v32.036571a223.963429 223.963429 0 1 1-447.926858 0v-32.036571c0-17.700571 14.262857-32.036571 31.963429-32.036571z"
p-id="6042"></path>
<path d="M288.04 320v-32.04a223.96 223.96 0 0 1 447.93 0v32.04h128a64 64 0 0 1 64.07 64v434.47c0 79.14-66.85 141.53-144.09 141.53H240.05c-78.12 0-144.02-65.83-144.02-144.02V384a64 64 0 0 1 64-64h128z m110.81-145.12c-29.99 29.99-46.81 70.656-46.81 113.08v32.04h320v-32.04a160.04 160.04 0 0 0-273.19-113.08zM159.96 384v431.98c0 42.79 37.23 80.02 80.02 80.02h544.04c43.74 0 80.02-35.62 80.02-77.53V384H159.96z"></path>
<path d="M320 416.04c17.7 0 32.04 14.26 32.04 31.96v32.04a160.04 160.04 0 0 0 320 0v-32.04a32.04 32.04 0 0 1 63.93 0v32.04a223.96 223.96 0 1 1-447.93 0v-32.04c0-17.7 14.26-32.04 31.96-32.04z"></path>
</svg>
)
@@ -147,13 +142,10 @@ export const LoginCodeIcon = () => (
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="6188"
width="16"
height="16"
fill="#4E596999">
<path
d="M516.388571 950.857143c-131.437714 0-375.588571-195.657143-375.588571-380.781714v-353.28c0-8.777143 7.021714-15.286857 16.164571-15.725715l21.430858-0.438857a545.645714 545.645714 0 0 0 170.276571-35.84c87.771429-34.889143 144.530286-75.044571 145.408-75.483428l12.653714-8.777143a17.92 17.92 0 0 1 9.654857-2.998857c3.437714 0 6.948571 0.877714 9.581715 2.998857l12.653714 9.216c0.438857 0.438857 57.636571 40.594286 145.846857 75.556571a545.645714 545.645714 0 0 0 170.349714 35.84l20.918858 0.365714c8.777143 0 16.164571 7.021714 16.164571 15.725715V570.514286c0 184.685714-244.077714 380.342857-375.515429 380.342857z m317.878858-693.028572a610.742857 610.742857 0 0 1-170.715429-38.838857A822.491429 822.491429 0 0 1 516.388571 144.310857c-21.869714 13.970286-74.678857 46.299429-147.163428 74.605714a607.524571 607.524571 0 0 1-170.788572 38.912v312.246858c0 144.969143 212.699429 322.706286 317.952 322.706285 40.594286 0 120.027429-33.206857 197.778286-105.691428 75.117714-69.851429 120.100571-151.113143 120.100572-217.014857V257.828571z m-348.013715 371.565715a28.452571 28.452571 0 0 1-41.033143 0L358.180571 542.208a28.964571 28.964571 0 0 1 40.667429-41.472l0.438857 0.438857 66.340572 66.779429L632.978286 399.36c10.898286-11.410286 29.257143-11.410286 40.594285-0.438857l0.438858 0.438857a28.964571 28.964571 0 0 1 0 40.96L486.253714 629.540571z"
p-id="6189"></path>
<path d="M516.39 950.86c-131.44 0-375.59-195.66-375.59-380.78v-353.28c0-8.78 7.02-15.29 16.16-15.73l21.43-0.44a545.65 545.65 0 0 0 170.28-35.84c87.77-34.89 144.53-75.04 145.408-75.48l12.65-8.78a17.92 17.92 0 0 1 9.65-3c3.44 0 6.95 0.88 9.58 3l12.65 9.216c0.44 0.44 57.64 40.59 145.85 75.56a545.65 545.65 0 0 0 170.35 35.84l20.92 0.37c8.78 0 16.16 7.02 16.16 15.73V570.51c0 184.69-244.08 380.34-375.52 380.34z m317.88-693.03a610.74 610.74 0 0 1-170.72-38.84A822.49 822.49 0 0 1 516.39 144.31c-21.87 13.97-74.68 46.3-147.16 74.61a607.52 607.52 0 0 1-170.79 38.912v312.25c0 144.97 212.7 322.71 317.952 322.71 40.59 0 120.03-33.21 197.78-105.69 75.12-69.85 120.1-151.11 120.1-217.01V257.83z m-348.01 371.57a28.45 28.45 0 0 1-41.03 0L358.18 542.208a28.96 28.96 0 0 1 40.67-41.472l0.44 0.44 66.34 66.78L632.98 399.36c10.9-11.41 29.26-11.41 40.59-0.44l0.44 0.44a28.96 28.96 0 0 1 0 40.96L486.25 629.54z"></path>
</svg>
)
@@ -166,7 +158,7 @@ export const DashboardMenuIcon = () => (
xmlns="http://www.w3.org/2000/svg">
<g clipPath="url(#clip0_16390_8146)">
<path
d="M13.3577 5.98351C13.3542 5.98002 13.3507 5.97303 13.3472 5.97303L8.31026 0.600778C7.97144 0.234011 7.49988 0.0279236 7.00737 0.0279236H7.00038C6.50786 0.0279236 6.03631 0.237504 5.70098 0.600778L0.671038 5.97303C0.00736555 6.67862 0.220439 7.28641 0.269342 7.40517C0.370639 7.64269 0.639601 8.0409 1.2893 8.0409H1.85866V12.3233C1.85866 13.2839 2.24289 14 3.33271 14H5.29229C5.49489 14 5.65906 13.8288 5.65906 13.6227V9.40667C5.65906 9.1377 5.65906 8.85826 5.7918 8.72553C5.86864 8.64868 5.98741 8.61026 6.16206 8.61026H7.85617C8.28232 8.61026 8.35916 8.83032 8.35916 9.44509V13.6227C8.35916 13.8323 8.52333 14 8.72593 14H10.6855C11.7753 14 12.1596 13.2595 12.1596 12.2954L12.1805 8.0409H12.7289C13.3751 8.0409 13.6476 7.6392 13.7524 7.40517C13.7908 7.28641 14.0039 6.68212 13.3577 5.98351Z"
d="M13.36 5.98C13.35 5.98 13.35 5.97 13.35 5.97L8.31 0.6C7.97 0.23 7.5 0.03 7.01 0.03H7C6.51 0.03 6.04 0.24 5.7 0.6L0.67 5.97C0.01 6.68 0.22 7.29 0.27 7.41C0.37 7.64 0.64 8.04 1.29 8.04H1.86V12.32C1.86 13.28 2.24 14 3.33 14H5.29C5.49 14 5.66 13.83 5.66 13.62V9.41C5.66 9.14 5.66 8.86 5.79 8.73C5.87 8.65 5.99 8.61 6.16 8.61H7.86C8.28 8.61 8.36 8.83 8.36 9.45V13.62C8.36 13.83 8.52 14 8.73 14H10.69C11.78 14 12.16 13.26 12.16 12.3L12.18 8.04H12.73C13.38 8.04 13.65 7.64 13.75 7.41C13.79 7.29 14 6.68 13.36 5.98Z"
fill="currentColor"
/>
</g>
@@ -187,7 +179,7 @@ export const TaskMenuIcon = () => (
xmlns="http://www.w3.org/2000/svg">
<g clipPath="url(#clip0_16390_8144)">
<path
d="M9.97792 0.0650635H1.99082C1.15724 0.0650635 0.480469 0.741832 0.480469 1.57541V10.4126C0.480469 12.3562 2.06097 13.9347 4.00255 13.9347H11.9897C12.8232 13.9347 13.5 13.2579 13.5 12.4243V3.58715C13.5021 1.64556 11.9216 0.0650635 9.97792 0.0650635ZM7.35957 9.53156H4.10984C3.74257 9.53156 3.44546 9.23444 3.44546 8.86717C3.44546 8.4999 3.74257 8.20072 4.10984 8.20072H7.35957C7.72684 8.20072 8.02396 8.49784 8.02396 8.86717C8.02602 9.23238 7.72684 9.53156 7.35957 9.53156ZM9.87063 5.71236H4.10984C3.74257 5.71236 3.44546 5.41524 3.44546 5.04797C3.44546 4.6807 3.74257 4.38359 4.10984 4.38359H9.87063C10.2379 4.38359 10.535 4.6807 10.535 5.04797C10.535 5.41524 10.2379 5.71236 9.87063 5.71236Z"
d="M9.98 0.07H1.99C1.16 0.07 0.48 0.74 0.48 1.58V10.41C0.48 12.36 2.06 13.93 4 13.93H11.99C12.82 13.93 13.5 13.26 13.5 12.42V3.59C13.5 1.65 11.92 0.07 9.98 0.07ZM7.36 9.53H4.11C3.74 9.53 3.45 9.23 3.45 8.87C3.45 8.5 3.74 8.2 4.11 8.2H7.36C7.73 8.2 8.02 8.5 8.02 8.87C8.03 9.23 7.73 9.53 7.36 9.53ZM9.87 5.71H4.11C3.74 5.71 3.45 5.42 3.45 5.05C3.45 4.68 3.74 4.38 4.11 4.38H9.87C10.24 4.38 10.535 4.68 10.535 5.05C10.535 5.42 10.24 5.71 9.87 5.71Z"
fill="currentColor"
/>
</g>
@@ -208,15 +200,15 @@ export const DeviceMenuIcon = () => (
xmlns="http://www.w3.org/2000/svg">
<g clipPath="url(#clip0_16390_8135)">
<path
d="M9.22141 5.97429C8.85373 5.97429 8.55582 5.67638 8.55582 5.3087C8.55582 4.43571 7.84686 3.72674 6.97386 3.72674C6.10087 3.72674 5.3919 4.4357 5.3919 5.3087C5.3919 5.54628 5.26557 5.76689 5.05816 5.88567C4.85264 6.00446 4.5981 6.00446 4.39258 5.88567C4.18705 5.76689 4.05884 5.54628 4.05884 5.3087C4.05884 3.70036 5.36362 2.39557 6.97197 2.39557C8.58033 2.39557 9.88511 3.70035 9.88511 5.30869C9.88888 5.67637 9.58909 5.97429 9.22141 5.97429Z"
d="M9.22 5.97C8.85 5.97 8.56 5.68 8.56 5.31C8.56 4.44 7.85 3.73 6.97 3.73C6.1 3.73 5.39 4.44 5.39 5.31C5.39 5.55 5.27 5.77 5.06 5.89C4.85 6 4.6 6 4.39 5.89C4.19 5.77 4.06 5.55 4.06 5.31C4.06 3.7 5.36 2.4 6.97 2.4C8.58 2.4 9.89 3.7 9.89 5.31C9.89 5.68 9.59 5.97 9.22 5.97Z"
fill="currentColor"
/>
<path
d="M11.2611 5.97427C10.8935 5.97427 10.5955 5.67636 10.5955 5.30868C10.5955 3.30814 8.97399 1.68849 6.97535 1.68849C4.97482 1.68849 3.35517 3.31004 3.35517 5.30868C3.35517 5.67636 3.05725 5.97427 2.68958 5.97427C2.3219 5.97427 2.02399 5.67636 2.02399 5.30868C2.02399 3.54006 2.96863 1.90531 4.49968 1.01913C6.03261 0.134818 7.92001 0.134818 9.45296 1.01913C10.9859 1.90344 11.9286 3.53819 11.9286 5.30868C11.9268 5.67636 11.6288 5.97427 11.2612 5.97427H11.2611Z"
d="M11.26 5.97C10.89 5.97 10.6 5.68 10.6 5.31C10.6 3.31 8.97 1.69 6.98 1.69C4.97 1.69 3.36 3.31 3.36 5.31C3.36 5.68 3.06 5.97 2.69 5.97C2.32 5.97 2.02 5.68 2.02 5.31C2.02 3.54 2.97 1.91 4.5 1.02C6.03 0.13 7.92 0.13 9.45 1.02C10.99 1.9 11.93 3.54 11.93 5.31C11.93 5.68 11.63 5.97 11.26 5.97H11.26Z"
fill="currentColor"
/>
<path
d="M12.8226 8.26329H7.66192V5.97427C7.66192 5.6066 7.364 5.30869 6.99633 5.30869C6.62865 5.30869 6.33074 5.6066 6.33074 5.97427V8.26329H1.16819C0.708117 8.26329 0.33667 8.63662 0.33667 9.0948V12.8187C0.33667 13.2788 0.710004 13.6502 1.16819 13.6502H12.8207C13.2808 13.6502 13.6522 13.2769 13.6522 12.8187V9.0967C13.6541 8.63663 13.2808 8.26329 12.8226 8.26329ZM2.39 11.6233C2.02232 11.6233 1.72441 11.3254 1.72441 10.9577C1.72441 10.59 2.02232 10.2921 2.39 10.2921C2.75768 10.2921 3.05559 10.59 3.05559 10.9577C3.05559 11.1349 2.98582 11.3046 2.86138 11.4291C2.73505 11.5535 2.56535 11.6233 2.39 11.6233ZM4.4075 11.6233C4.03983 11.6233 3.74191 11.3254 3.74191 10.9577C3.74191 10.59 4.03983 10.2921 4.4075 10.2921C4.77518 10.2921 5.07309 10.59 5.07309 10.9577C5.07309 11.1349 5.00333 11.3046 4.87888 11.4291C4.75444 11.5535 4.58474 11.6233 4.4075 11.6233Z"
d="M12.82 8.26H7.66V5.97C7.66 5.61 7.364 5.31 7 5.31C6.63 5.31 6.33 5.61 6.33 5.97V8.26H1.17C0.71 8.26 0.34 8.64 0.34 9.09V12.82C0.34 13.28 0.71 13.65 1.17 13.65H12.82C13.28 13.65 13.65 13.28 13.65 12.82V9.1C13.65 8.64 13.28 8.26 12.82 8.26ZM2.39 11.62C2.02 11.62 1.72 11.33 1.72 10.96C1.72 10.59 2.02 10.29 2.39 10.29C2.76 10.29 3.06 10.59 3.06 10.96C3.06 11.13 2.99 11.3 2.86 11.43C2.74 11.55 2.57 11.62 2.39 11.62ZM4.41 11.62C4.04 11.62 3.74 11.33 3.74 10.96C3.74 10.59 4.04 10.29 4.41 10.29C4.78 10.29 5.07 10.59 5.07 10.96C5.07 11.13 5 11.3 4.88 11.43C4.75 11.55 4.58 11.62 4.41 11.62Z"
fill="currentColor"
/>
</g>
@@ -236,7 +228,7 @@ export const CountMenuIcon = () => (
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M11.9769 10.2131C11.9769 10.4301 11.8999 10.6261 11.7459 10.7731C11.5849 10.9341 11.4029 11.0041 11.1789 11.0041H7.95888V12.5861H11.9699C12.1939 12.5861 12.4039 12.5441 12.5999 12.4671C12.7889 12.3831 12.9709 12.2781 13.1109 12.1311C13.2579 11.9911 13.3699 11.8231 13.4609 11.6271C13.5519 11.4381 13.5869 11.2281 13.5869 11.0111V3.12912C13.5869 2.91212 13.5449 2.70212 13.4609 2.52012C13.3769 2.33812 13.2579 2.17012 13.1109 2.01612C12.9639 1.87612 12.7959 1.75712 12.5999 1.67312C12.4109 1.58912 12.2009 1.54712 11.9699 1.54712H2.28188C2.05788 1.54712 1.84788 1.58912 1.65188 1.67312C1.46288 1.75712 1.28088 1.87612 1.14088 2.01612C0.993879 2.15612 0.881879 2.32412 0.790879 2.52012C0.706879 2.70912 0.664879 2.91212 0.664879 3.12912V5.46012L2.28188 5.50912V5.48112C2.28188 5.26412 2.36588 5.08212 2.52688 4.92812C2.68788 4.77412 2.87688 4.70412 3.10088 4.70412H11.1789C11.4029 4.70412 11.5919 4.78112 11.7459 4.92812C11.9069 5.07512 11.9769 5.26412 11.9769 5.48112V10.2131ZM4.31888 5.43912C3.80788 5.43912 3.33188 5.53012 2.89088 5.72612C2.44988 5.91512 2.06488 6.16712 1.72888 6.49612C1.39288 6.82512 1.13388 7.19612 0.944879 7.64412C0.755879 8.07812 0.650879 8.54712 0.650879 9.03712C0.650879 9.52712 0.748879 9.99612 0.944879 10.4301C1.13388 10.8641 1.40688 11.2421 1.72888 11.5571C2.06488 11.8721 2.44988 12.1311 2.89088 12.3201C3.33188 12.5091 3.80788 12.6071 4.31888 12.6071C4.82988 12.6071 5.30588 12.5161 5.74688 12.3201C6.18788 12.1311 6.57288 11.8791 6.90888 11.5571C7.24488 11.2351 7.50388 10.8641 7.69288 10.4301C7.88188 9.99612 7.98688 9.53412 7.98688 9.03712C7.98688 8.53312 7.88888 8.07812 7.69288 7.64412C7.50388 7.21012 7.23088 6.82512 6.90888 6.49612C6.57988 6.16712 6.18788 5.92212 5.74688 5.72612C5.30588 5.54412 4.82988 5.43912 4.31888 5.43912ZM3.41588 8.63812L2.28188 7.59512L2.84888 7.02112L4.12988 8.23212L3.71688 8.65212H5.06788L4.65488 8.13412L5.84488 7.00012L6.33488 7.63012L5.24988 8.65212H6.33488V9.44312H4.71788V10.2271H6.33488V11.0181H4.71788V11.8021H3.90588V11.0181H2.28888V10.2271H3.90588V9.44312H2.28888V8.65212H3.41588V8.63812Z"
d="M11.98 10.21C11.98 10.43 11.9 10.63 11.75 10.77C11.58 10.93 11.4 11 11.18 11H7.96V12.59H11.97C12.19 12.59 12.4 12.54 12.6 12.47C12.79 12.38 12.97 12.28 13.11 12.13C13.26 11.99 13.37 11.82 13.46 11.63C13.55 11.44 13.59 11.23 13.59 11.01V3.13C13.59 2.91 13.54 2.7 13.46 2.52C13.38 2.34 13.26 2.17 13.11 2.02C12.96 1.88 12.8 1.76 12.6 1.67C12.41 1.59 12.2 1.55 11.97 1.55H2.28C2.06 1.55 1.85 1.59 1.65 1.67C1.46 1.76 1.28 1.88 1.14 2.02C0.99 2.16 0.88 2.32 0.79 2.52C0.71 2.71 0.66 2.91 0.66 3.13V5.46L2.28 5.51V5.48C2.28 5.26 2.37 5.08 2.53 4.93C2.69 4.77 2.88 4.7 3.1 4.7H11.18C11.4 4.7 11.59 4.78 11.75 4.93C11.91 5.08 11.98 5.26 11.98 5.48V10.21ZM4.32 5.44C3.81 5.44 3.33 5.53 2.89 5.73C2.45 5.92 2.06 6.17 1.73 6.5C1.39 6.83 1.13 7.2 0.94 7.64C0.76 8.08 0.65 8.55 0.65 9.04C0.65 9.53 0.75 10 0.94 10.43C1.13 10.86 1.41 11.24 1.73 11.56C2.06 11.87 2.45 12.13 2.89 12.32C3.33 12.51 3.81 12.61 4.32 12.61C4.83 12.61 5.31 12.52 5.75 12.32C6.19 12.13 6.57 11.88 6.91 11.56C7.24 11.24 7.5 10.86 7.69 10.43C7.88 10 7.99 9.53 7.99 9.04C7.99 8.53 7.89 8.08 7.69 7.64C7.5 7.21 7.23 6.83 6.91 6.5C6.58 6.17 6.19 5.92 5.75 5.73C5.31 5.54 4.83 5.44 4.32 5.44ZM3.42 8.64L2.28 7.6L2.85 7.02L4.13 8.23L3.72 8.65H5.07L4.65 8.13L5.84 7L6.33 7.63L5.25 8.65H6.33V9.44H4.72V10.23H6.33V11.02H4.72V11.8H3.91V11.02H2.29V10.23H3.91V9.44H2.29V8.65H3.42V8.64Z"
fill="currentColor"
/>
</svg>
@@ -251,7 +243,7 @@ export const UserMenuIcon = () => (
xmlns="http://www.w3.org/2000/svg">
<g clipPath="url(#clip0_16390_8148)">
<path
d="M8.70825 12.2028L8.64263 12.1751L8.55005 12.1214C8.34179 12.0331 8.16395 11.8858 8.03849 11.6975C7.91303 11.5093 7.84545 11.2885 7.8441 11.0623V10.5966C7.8441 10.2676 7.97815 9.97307 8.1955 9.76395C8.1955 9.76395 8.34233 9.60872 8.39851 9.56515C8.48198 9.50688 8.71088 9.45805 8.71088 9.45805C8.64968 9.23591 8.65693 9.00047 8.73167 8.78251C8.80642 8.56455 8.94518 8.37421 9.12983 8.23637C8.4878 7.83386 7.74525 7.62059 6.98748 7.62107H4.58298C2.34438 7.62667 0.532605 9.44247 0.531555 11.6807V11.9229C0.531555 13.0937 2.32075 13.0937 4.5828 13.0937H6.98731C7.63533 13.0937 8.2592 13.0937 8.81256 13.0631C8.66752 12.8007 8.63012 12.4922 8.70825 12.2028ZM5.66588 7.31062C7.43915 7.30555 8.87381 5.86583 8.87241 4.09273C8.87381 2.31998 7.43986 0.8806 5.66693 0.875C3.88981 0.917525 2.48368 2.39278 2.52621 4.1699C2.56733 5.88718 3.94966 7.26932 5.66693 7.31062H5.66588ZM13.1328 10.213C12.9767 10.2038 12.8299 10.1356 12.7222 10.0223C12.6144 9.90888 12.5539 9.75881 12.5527 9.60243C12.5527 9.50268 12.5758 9.41115 12.6209 9.32697C12.6627 9.24012 12.6702 9.14072 12.6419 9.04858C12.6137 8.95644 12.5517 8.87833 12.4685 8.8298L12.2625 8.70783L12.0637 8.59338C11.9805 8.54635 11.8828 8.53202 11.7897 8.55318C11.6965 8.57434 11.6146 8.62948 11.5599 8.70783C11.5047 8.79295 11.4289 8.86279 11.3396 8.9109C11.2503 8.95901 11.1503 8.98384 11.0489 8.9831C10.9474 8.98404 10.8474 8.95929 10.7581 8.91116C10.6687 8.86303 10.5931 8.79308 10.5381 8.70783C10.4834 8.62916 10.4013 8.57379 10.3079 8.55261C10.2145 8.53143 10.1166 8.54597 10.0334 8.59338L9.82073 8.70783L9.62193 8.82227C9.53859 8.87078 9.4766 8.94891 9.44832 9.04109C9.42003 9.13327 9.42754 9.23273 9.46933 9.31962C9.51588 9.40293 9.53811 9.49515 9.53811 9.59402C9.53823 9.75095 9.47808 9.90192 9.37009 10.0158C9.2621 10.1296 9.11451 10.1977 8.95781 10.2058V10.213C8.86152 10.2197 8.77146 10.263 8.70613 10.3341C8.64081 10.4051 8.60518 10.4985 8.60658 10.595V11.0616C8.60771 11.1573 8.6442 11.2493 8.70904 11.3197C8.77388 11.3902 8.86248 11.4342 8.95781 11.4432L8.96603 11.4516C9.06753 11.457 9.16605 11.4878 9.25251 11.5412C9.33897 11.5947 9.41059 11.669 9.46075 11.7574C9.51091 11.8458 9.53801 11.9454 9.53954 12.047C9.54107 12.1487 9.51698 12.249 9.46951 12.3389C9.42798 12.4257 9.42062 12.5249 9.44889 12.6168C9.47717 12.7088 9.539 12.7867 9.62211 12.8352L10.0262 13.0718C10.2019 13.1705 10.4236 13.1182 10.5307 12.9573C10.5858 12.8721 10.6615 12.8022 10.7508 12.754C10.8402 12.7059 10.9402 12.6811 11.0417 12.6819C11.2543 12.6819 11.4458 12.7965 11.5529 12.9573C11.6673 13.1171 11.881 13.1791 12.0564 13.0718L12.4611 12.8352C12.5429 12.7871 12.6038 12.7103 12.632 12.6198C12.6602 12.5292 12.6537 12.4314 12.6137 12.3454C12.6137 12.3454 12.6137 12.3378 12.6052 12.3378C12.5978 12.3305 12.5978 12.3223 12.5906 12.3148L12.5831 12.3074C12.5451 12.2173 12.5293 12.1194 12.537 12.0219C12.5446 11.9244 12.5756 11.8302 12.6271 11.7471C12.6787 11.664 12.7494 11.5945 12.8334 11.5444C12.9173 11.4943 13.0121 11.465 13.1097 11.459L13.116 11.4516C13.2123 11.4447 13.3024 11.4013 13.3677 11.3301C13.433 11.2589 13.4687 11.1655 13.4674 11.0689V10.5884C13.4831 10.3887 13.3223 10.2279 13.1319 10.213H13.1328ZM11.9342 11.1531C11.8949 11.2588 11.8381 11.3572 11.7662 11.4441C11.6764 11.5486 11.5653 11.6326 11.4403 11.6905C11.3153 11.7484 11.1793 11.7788 11.0415 11.7796C10.7901 11.7784 10.5492 11.6784 10.3708 11.5012C10.1924 11.324 10.0908 11.0838 10.088 10.8323C10.088 10.7179 10.1102 10.6104 10.1405 10.5107C10.1771 10.4039 10.2343 10.3054 10.3088 10.2207C10.4517 10.0485 10.6526 9.93437 10.8737 9.89993C10.929 9.89074 10.9848 9.88583 11.0408 9.88523C11.1028 9.88523 11.1555 9.8924 11.2092 9.89993C11.4309 9.93773 11.6285 10.0599 11.7744 10.2207C11.8422 10.3045 11.9039 10.4045 11.9409 10.5107C11.9789 10.6136 11.9973 10.7227 11.9953 10.8323C11.9947 10.9421 11.974 11.0508 11.9342 11.1531Z"
d="M8.71 12.2L8.64 12.18L8.55 12.12C8.34 12.03 8.16 11.89 8.04 11.7C7.91 11.51 7.85 11.29 7.84 11.06V10.6C7.84 10.27 7.98 9.97 8.2 9.76C8.2 9.76 8.34 9.61 8.4 9.57C8.48 9.51 8.71 9.46 8.71 9.46C8.65 9.24 8.66 9 8.73 8.78C8.81 8.56 8.95 8.37 9.13 8.24C8.49 7.83 7.75 7.62 6.99 7.62H4.58C2.34 7.63 0.53 9.44 0.53 11.68V11.92C0.53 13.09 2.32 13.09 4.58 13.09H6.99C7.64 13.09 8.26 13.09 8.81 13.06C8.67 12.8 8.63 12.49 8.71 12.2ZM5.67 7.31C7.44 7.31 8.87 5.87 8.87 4.09C8.87 2.32 7.44 0.88 5.67 0.875C3.89 0.92 2.48 2.39 2.53 4.17C2.57 5.89 3.95 7.27 5.67 7.31H5.67ZM13.13 10.213C12.98 10.2 12.83 10.14 12.72 10.02C12.61 9.91 12.55 9.76 12.55 9.6C12.55 9.5 12.58 9.41 12.62 9.33C12.66 9.24 12.67 9.14 12.64 9.05C12.61 8.96 12.55 8.88 12.47 8.83L12.26 8.71L12.06 8.59C11.98 8.55 11.88 8.53 11.79 8.55C11.7 8.57 11.61 8.63 11.56 8.71C11.5 8.79 11.43 8.86 11.34 8.91C11.25 8.96 11.15 8.98 11.05 8.98C10.95 8.98 10.85 8.96 10.76 8.91C10.67 8.86 10.59 8.79 10.54 8.71C10.48 8.63 10.4 8.57 10.31 8.55C10.21 8.53 10.12 8.55 10.03 8.59L9.82 8.71L9.62 8.82C9.54 8.87 9.48 8.95 9.45 9.04C9.42 9.13 9.43 9.23 9.47 9.32C9.52 9.4 9.54 9.5 9.54 9.59C9.54 9.75 9.48 9.9 9.37 10.02C9.26 10.13 9.11 10.2 8.96 10.21V10.213C8.86 10.22 8.77 10.263 8.71 10.33C8.64 10.41 8.61 10.5 8.61 10.595V11.06C8.61 11.16 8.64 11.25 8.71 11.32C8.77 11.39 8.86 11.43 8.96 11.44L8.97 11.45C9.07 11.457 9.17 11.49 9.25 11.54C9.34 11.59 9.41 11.669 9.46 11.76C9.51 11.85 9.54 11.95 9.54 12.047C9.54 12.15 9.52 12.249 9.47 12.34C9.43 12.43 9.42 12.52 9.45 12.62C9.48 12.71 9.539 12.79 9.62 12.84L10.03 13.07C10.2 13.17 10.42 13.12 10.53 12.96C10.59 12.87 10.66 12.8 10.75 12.754C10.84 12.71 10.94 12.68 11.04 12.68C11.25 12.68 11.45 12.8 11.55 12.96C11.67 13.12 11.881 13.18 12.06 13.07L12.46 12.84C12.54 12.79 12.6 12.71 12.632 12.62C12.66 12.53 12.65 12.43 12.61 12.35C12.61 12.35 12.61 12.34 12.61 12.34C12.6 12.33 12.6 12.32 12.59 12.31L12.58 12.31C12.55 12.22 12.53 12.12 12.537 12.02C12.54 11.92 12.58 11.83 12.63 11.75C12.68 11.664 12.75 11.59 12.83 11.54C12.92 11.49 13.01 11.465 13.11 11.459L13.116 11.45C13.21 11.44 13.3 11.4 13.37 11.33C13.433 11.26 13.47 11.17 13.47 11.07V10.59C13.48 10.39 13.32 10.23 13.13 10.213H13.13ZM11.93 11.15C11.89 11.26 11.84 11.36 11.77 11.44C11.68 11.55 11.57 11.63 11.44 11.69C11.32 11.75 11.18 11.78 11.04 11.78C10.79 11.78 10.55 11.68 10.37 11.5C10.19 11.324 10.09 11.08 10.088 10.83C10.088 10.72 10.11 10.61 10.14 10.51C10.18 10.4 10.23 10.31 10.31 10.22C10.45 10.05 10.65 9.93 10.87 9.9C10.929 9.89 10.98 9.89 11.04 9.89C11.1 9.89 11.16 9.89 11.21 9.9C11.43 9.94 11.63 10.06 11.77 10.22C11.84 10.3 11.9 10.4 11.94 10.51C11.98 10.61 12 10.72 12 10.83C11.99 10.94 11.974 11.05 11.93 11.15Z"
fill="currentColor"
/>
</g>
@@ -272,11 +264,11 @@ export const AuthMenuIcon = () => (
xmlns="http://www.w3.org/2000/svg">
<g clipPath="url(#clip0_16390_8141)">
<path
d="M12.786 1.72289L7.35971 0L1.93526 1.72289C1.73132 1.78725 1.59355 1.97702 1.59535 2.19167V9.04915C1.60621 9.09573 1.862 10.2246 2.9711 11.3177C3.82441 12.1585 5.87122 13.2392 6.76401 13.7079C6.90344 13.7813 6.96977 13.8081 7.0287 13.8402L7.29354 13.9726C7.36333 14.0101 7.48859 14.0084 7.55838 13.9726L7.82322 13.8402C8.34551 13.5844 10.7625 12.2892 11.7483 11.3177C12.8594 10.2246 13.1152 9.09573 13.1259 9.04915V2.19167C13.1294 1.97702 12.9899 1.78725 12.786 1.72289ZM7.4277 12.9099L7.42408 12.9081H7.43297C7.4295 12.9099 7.4277 12.9099 7.4277 12.9099ZM8.72114 8.9257H7.84447V10.1602C7.84447 10.4465 7.61189 10.679 7.32565 10.679C7.03941 10.679 6.80682 10.4465 6.80682 10.1602V6.97566C6.80682 6.96495 6.80863 6.95606 6.80863 6.94702C6.71382 6.91838 6.61901 6.88431 6.5242 6.8415C6.20404 6.69484 5.93031 6.43181 5.74777 6.13305C5.55815 5.82179 5.45791 5.43169 5.48836 5.06676C5.52408 4.64999 5.67436 4.28672 5.94101 3.96294C6.40256 3.40297 7.25058 3.17581 7.93039 3.42437C8.31507 3.56576 8.62814 3.80196 8.86434 4.13463C9.0719 4.4263 9.17741 4.78941 9.18646 5.14545C9.18646 5.15615 9.18827 5.16504 9.18646 5.1759C9.18646 5.18841 9.18646 5.20092 9.18465 5.21343C9.15963 6.00418 8.61578 6.75016 7.84282 6.95606V7.86664H8.71948C9.00573 7.86664 9.23831 8.09923 9.23831 8.38547V8.40687H9.24012C9.23997 8.69312 9.00739 8.9257 8.72114 8.9257Z"
d="M12.786 1.72L7.36 0L1.94 1.72C1.73 1.79 1.59 1.98 1.6 2.19V9.05C1.61 9.1 1.862 10.22 2.97 11.32C3.82 12.16 5.87 13.24 6.76 13.71C6.9 13.78 6.97 13.81 7.03 13.84L7.29 13.97C7.36 14.01 7.49 14.01 7.56 13.97L7.82 13.84C8.35 13.58 10.76 12.29 11.75 11.32C12.86 10.22 13.12 9.1 13.13 9.05V2.19C13.13 1.98 12.99 1.79 12.786 1.72ZM7.43 12.91L7.42 12.91H7.43C7.43 12.91 7.43 12.91 7.43 12.91ZM8.72 8.93H7.84V10.16C7.84 10.45 7.61 10.679 7.33 10.679C7.04 10.679 6.81 10.45 6.81 10.16V6.98C6.81 6.96 6.81 6.96 6.81 6.95C6.71 6.92 6.62 6.88 6.52 6.84C6.2 6.69 5.93 6.43 5.75 6.13C5.56 5.82 5.46 5.43 5.49 5.07C5.52 4.65 5.67 4.29 5.94 3.96C6.4 3.4 7.25 3.18 7.93 3.42C8.32 3.57 8.63 3.8 8.86 4.13C9.07 4.43 9.18 4.79 9.19 5.15C9.19 5.16 9.19 5.17 9.19 5.18C9.19 5.19 9.19 5.2 9.18 5.21C9.16 6 8.62 6.75 7.84 6.96V7.87H8.72C9.01 7.87 9.24 8.1 9.24 8.39V8.41H9.24C9.24 8.69 9.01 8.93 8.72 8.93Z"
fill="currentColor"
/>
<path
d="M7.95696 5.64603C7.96223 5.63713 7.96766 5.6299 7.96947 5.62809C8.0003 5.58081 8.02839 5.53179 8.05358 5.48127C8.07679 5.4151 8.09473 5.34893 8.10905 5.27914C8.11085 5.24522 8.11266 5.20935 8.11447 5.17528C8.11447 5.14122 8.11266 5.10549 8.10905 5.07158C8.09653 5.0036 8.07679 4.93562 8.05358 4.86945C8.0327 4.82734 8.01001 4.78615 7.98559 4.74599C7.98017 4.74057 7.96766 4.72278 7.94625 4.68872C7.92666 4.66716 7.90691 4.64395 7.88551 4.62435C7.86049 4.59933 7.83365 4.57431 7.80502 4.55094C7.79612 4.54567 7.78904 4.54024 7.78708 4.53843C7.73985 4.5076 7.69088 4.47952 7.64041 4.45432C7.57424 4.43111 7.50807 4.41317 7.44009 4.39885C7.3703 4.39358 7.30051 4.39358 7.23072 4.39885C7.16274 4.41137 7.09476 4.43111 7.0304 4.45432C6.98829 4.4752 6.9471 4.49789 6.90694 4.52231C6.90152 4.52773 6.88373 4.54024 6.84967 4.56165C6.82811 4.58124 6.8049 4.60099 6.7853 4.62239C6.76028 4.64741 6.73526 4.67424 6.71189 4.70288C6.70662 4.71178 6.70119 4.71901 6.69938 4.72082C6.66855 4.76805 6.64047 4.81702 6.61527 4.86749C6.59206 4.93366 6.57412 4.99983 6.5598 5.06781C6.55453 5.1376 6.55453 5.20739 6.5598 5.27718C6.57231 5.34516 6.59206 5.41314 6.61527 5.47751C6.63668 5.52046 6.65823 5.55981 6.68325 5.60096C6.68868 5.60638 6.70119 5.62417 6.7226 5.65823C6.74219 5.67979 6.76194 5.703 6.78334 5.7226C6.80836 5.74762 6.83519 5.77264 6.86383 5.79601C6.87273 5.80128 6.87996 5.80671 6.88177 5.80852C6.9282 5.83896 6.97839 5.8676 7.02844 5.89263C7.09461 5.91584 7.16078 5.93378 7.22876 5.9481C7.29855 5.95352 7.36834 5.95352 7.43813 5.9481C7.50611 5.93559 7.57409 5.91584 7.63845 5.89263C7.68141 5.87122 7.72076 5.84967 7.76191 5.82465C7.76733 5.81922 7.78512 5.80671 7.81918 5.7853C7.8424 5.76737 7.86395 5.74777 7.88355 5.72622C7.90872 5.7015 7.93374 5.67466 7.95696 5.64603Z"
d="M7.96 5.65C7.96 5.64 7.97 5.63 7.97 5.63C8 5.58 8.03 5.53 8.05 5.48C8.08 5.42 8.09 5.35 8.11 5.28C8.11 5.25 8.11 5.21 8.11 5.18C8.11 5.14 8.11 5.11 8.11 5.07C8.1 5 8.08 4.94 8.05 4.87C8.03 4.83 8.01 4.79 7.99 4.75C7.98 4.74 7.97 4.72 7.95 4.69C7.93 4.67 7.91 4.64 7.89 4.62C7.86 4.6 7.83 4.57 7.81 4.55C7.8 4.55 7.79 4.54 7.79 4.54C7.74 4.51 7.69 4.48 7.64 4.45C7.57 4.43 7.51 4.41 7.44 4.4C7.37 4.39 7.3 4.39 7.23 4.4C7.16 4.41 7.09 4.43 7.03 4.45C6.99 4.48 6.95 4.5 6.91 4.52C6.9 4.53 6.88 4.54 6.85 4.56C6.83 4.58 6.8 4.6 6.79 4.62C6.76 4.65 6.74 4.67 6.71 4.7C6.71 4.71 6.7 4.72 6.7 4.72C6.67 4.77 6.64 4.82 6.62 4.87C6.59 4.93 6.57 5 6.56 5.07C6.55 5.14 6.55 5.21 6.56 5.28C6.57 5.35 6.59 5.41 6.62 5.48C6.64 5.52 6.66 5.56 6.68 5.6C6.69 5.61 6.7 5.62 6.72 5.66C6.74 5.68 6.76 5.703 6.78 5.72C6.81 5.75 6.84 5.77 6.86 5.8C6.87 5.8 6.88 5.81 6.88 5.81C6.93 5.84 6.98 5.87 7.03 5.89C7.09 5.92 7.16 5.93 7.23 5.95C7.3 5.95 7.37 5.95 7.44 5.95C7.51 5.94 7.57 5.92 7.64 5.89C7.68 5.87 7.72 5.85 7.76 5.82C7.77 5.82 7.79 5.81 7.82 5.79C7.84 5.77 7.86 5.75 7.88 5.73C7.91 5.7 7.93 5.67 7.96 5.65Z"
fill="currentColor"
/>
</g>
@@ -293,13 +285,10 @@ export const PersonalMenuIcon = () => (
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="1927"
width="14"
height="14"
fill="currentColor">
<path
d="M511.976 24.429a487.618 487.618 0 0 1 487.619 487.619 487.619 487.619 0 1 1-487.619-487.62z m60.953 518.095H451.024a182.86 182.86 0 0 0-129.3 53.557 182.86 182.86 0 0 0-53.557 129.3h487.619l-0.305-10.728a182.857 182.857 0 0 0-182.552-172.129z m-60.953-304.762a121.906 121.906 0 0 0-86.199 208.104 121.9 121.9 0 0 0 172.399 0 121.905 121.905 0 0 0-86.2-208.104z"
p-id="1928"></path>
<path d="M511.976 24.429a487.618 487.618 0 0 1 487.619 487.619 487.619 487.619 0 1 1-487.619-487.62z m60.953 518.095H451.024a182.86 182.86 0 0 0-129.3 53.557 182.86 182.86 0 0 0-53.557 129.3h487.619l-0.305-10.728a182.857 182.857 0 0 0-182.552-172.129z m-60.953-304.762a121.906 121.906 0 0 0-86.199 208.104 121.9 121.9 0 0 0 172.399 0 121.905 121.905 0 0 0-86.2-208.104z"></path>
</svg>
)
@@ -312,93 +301,93 @@ export const DevLogo = ({ ...props }) => (
xmlns="http://www.w3.org/2000/svg"
{...props}>
<path
d="M2.57049 27.0524C4.45216 40.5377 16.1613 47.2805 33.9316 43.3602L42.7274 52.1353V39.2773C60.6032 27.0524 55.8991 6.34816 31.7363 2.5908C11.9936 1.33038 1.63046 11.3719 2.57049 27.0524Z"
d="M2.57 27.05C4.45 40.54 16.16 47.28 33.93 43.36L42.73 52.14V39.28C60.6 27.05 55.9 6.35 31.74 2.59C11.99 1.33 1.63 11.37 2.57 27.05Z"
stroke="#666666"
/>
<path
d="M80.676 37.0917C71.6668 39.6849 66.9874 43.2695 59.0368 52.145L57.4688 55.5853L75.9718 80.6741H116.741L112.554 73.7409L109.6 63.6418C109.572 63.548 109.612 63.4474 109.697 63.3982C109.812 63.3309 109.96 63.3854 110.005 63.5114L113.608 73.7409C117.712 67.4686 121.357 65.3212 130.226 61.5533C119.679 43.382 105.765 33.9461 93.2204 35.21C91.3667 42.5938 83.3288 42.9648 80.676 37.0917Z"
d="M80.676 37.09C71.67 39.68 66.99 43.27 59.04 52.145L57.47 55.59L75.97 80.67H116.741L112.554 73.74L109.6 63.64C109.572 63.548 109.612 63.45 109.697 63.4C109.812 63.33 109.96 63.39 110.005 63.51L113.608 73.74C117.712 67.47 121.357 65.32 130.226 61.55C119.679 43.382 105.765 33.95 93.22 35.21C91.37 42.59 83.33 42.96 80.676 37.09Z"
fill="#2D67F5"
/>
<path
d="M53.9041 57.9035L55.1903 64.0493H56.8549L55.7101 58.9471L94.0254 59.7195L102.229 84.6834C102.362 85.089 102.06 85.5064 101.633 85.5064H94.2245V86.88H101.798C103.08 86.88 103.986 85.6276 103.586 84.4105L94.3348 56.2813C93.9116 54.9946 92.7102 54.125 91.3557 54.125H56.9737C54.9832 54.125 53.4963 55.9553 53.9041 57.9035Z"
d="M53.9 57.9L55.19 64.05H56.85L55.71 58.95L94.03 59.72L102.229 84.68C102.362 85.089 102.06 85.51 101.633 85.51H94.22V86.88H101.798C103.08 86.88 103.986 85.63 103.586 84.41L94.33 56.28C93.91 54.99 92.71 54.125 91.36 54.125H56.97C54.98 54.125 53.5 55.96 53.9 57.9Z"
fill="#444444"
/>
<path
d="M101.634 85.5086H94.2253H64.2495L56.8557 64.0514L55.7109 58.9492L94.0263 59.7217L102.23 84.6855C102.363 85.0912 102.061 85.5086 101.634 85.5086Z"
d="M101.634 85.51H94.23H64.25L56.86 64.05L55.71 58.95L94.03 59.72L102.23 84.69C102.363 85.09 102.061 85.51 101.634 85.51Z"
fill="white"
/>
<path
d="M117.055 96.3538C139.321 97.9219 147.161 87.8863 132.108 63.7383"
d="M117.055 96.35C139.321 97.92 147.161 87.89 132.108 63.74"
stroke="#666666"
strokeLinecap="round"
/>
<path
d="M39.2776 76.9102C34.8854 85.3776 35.6153 90.9028 43.9818 93.2179"
d="M39.28 76.91C34.89 85.38 35.62 90.9 43.98 93.22"
stroke="#666666"
strokeLinecap="round"
/>
<path
d="M57.7812 63.4217C58.0949 62.5854 59.0984 60.9755 60.6037 61.2264C62.4854 61.54 63.1126 63.736 64.9943 63.736C67.1896 64.0496 69.5939 61.2271 70.9529 59.9727"
d="M57.78 63.42C58.09 62.59 59.1 60.98 60.6 61.23C62.49 61.54 63.11 63.736 64.99 63.736C67.19 64.05 69.59 61.23 70.95 59.97"
stroke="#2D67F5"
strokeWidth="1.25444"
strokeLinecap="round"
/>
<path
d="M85.0664 62.4844H92.2795"
d="M85.07 62.48H92.28"
stroke="#2D67F5"
strokeWidth="1.25444"
strokeLinecap="round"
/>
<path
d="M91.0235 75.9688H96.0413"
d="M91.02 75.97H96.04"
stroke="#2D67F5"
strokeWidth="1.25444"
strokeLinecap="round"
/>
<path
d="M92.2773 79.1055H97.2951"
d="M92.28 79.11H97.3"
stroke="#2D67F5"
strokeWidth="1.25444"
strokeLinecap="round"
/>
<path
d="M98.4319 20.5391C102.822 20.8527 100.941 26.8113 97.8047 26.8113"
d="M98.43 20.54C102.822 20.85 100.941 26.81 97.8 26.81"
stroke="#333333"
strokeWidth="0.627222"
/>
<path
d="M72.0898 19.2868V21.1685C71.5671 21.1685 70.459 21.2939 70.2081 21.7957C69.8945 22.4229 69.2673 24.9318 71.4625 26.4999C72.4025 26.8135 74.2895 26.98 74.5978 28.0679C76.5972 31.317 79.7419 33.7196 83.1787 34.6605C83.998 34.8848 83.1787 40.4488 83.1787 40.9066M98.4322 17.7188C98.4068 21.6692 98.3546 23.8141 97.805 26.8135C95.8238 30.8801 93.1492 33.2826 90.277 34.3783C89.8185 34.5531 90.277 38.8789 90.277 39.9909"
d="M72.09 19.29V21.17C71.57 21.17 70.459 21.29 70.21 21.8C69.89 22.42 69.27 24.93 71.46 26.5C72.4 26.81 74.29 26.98 74.6 28.07C76.6 31.317 79.74 33.72 83.18 34.66C83.998 34.88 83.18 40.45 83.18 40.91M98.43 17.72C98.41 21.67 98.35 23.81 97.805 26.81C95.82 30.88 93.15 33.28 90.277 34.38C89.82 34.55 90.277 38.88 90.277 39.99"
stroke="#333333"
/>
<path
d="M71.7739 19.2866C74.5337 19.5375 74.8055 16.6732 74.5964 15.2097C76.3207 19.5508 82.4367 17.4049 82.4367 13.6415C84.3184 18.0321 87.6335 19.0623 92.7859 15.8368C94.9811 18.6593 100.144 18.2835 101.567 14.896C101.788 14.1444 101.989 13.4158 101.567 12.0735C101.269 11.1272 99.7898 10.4009 99.0581 10.1918C99.0063 8.25431 98.7108 6.97547 97.8315 5.96509C96.4937 4.42788 94.239 4.23324 92.2012 4.2333L91.845 4.23331C89.0225 0.155119 83.0639 0.470962 79.9278 3.9197H79.3027C77.0184 3.9197 74.6772 4.19085 72.7267 5.37981C68.3242 8.06343 68.3242 11.4977 68.3242 11.76C68.3242 15.8369 68.3242 18.973 71.7739 19.2866Z"
d="M71.77 19.29C74.53 19.54 74.81 16.67 74.6 15.21C76.32 19.55 82.44 17.4 82.44 13.64C84.32 18.03 87.63 19.06 92.79 15.84C94.98 18.66 100.144 18.28 101.567 14.896C101.788 14.14 101.989 13.42 101.567 12.07C101.269 11.13 99.79 10.4 99.06 10.19C99.01 8.25 98.71 6.98 97.83 5.97C96.49 4.43 94.239 4.23 92.2 4.23L91.845 4.23C89.02 0.16 83.06 0.47 79.93 3.92H79.3C77.02 3.92 74.68 4.19 72.73 5.38C68.32 8.06 68.32 11.5 68.32 11.76C68.32 15.84 68.32 18.973 71.77 19.29Z"
fill="#393E53"
stroke="#333333"
/>
<path
d="M97.1778 22.4212C97.1778 25.1606 94.6842 27.439 91.5328 27.439C88.3815 27.439 85.8878 25.1606 85.8878 22.4212C85.8878 19.6819 88.3815 17.4035 91.5328 17.4035C94.6842 17.4035 97.1778 19.6819 97.1778 22.4212Z"
d="M97.18 22.42C97.18 25.16 94.68 27.439 91.53 27.439C88.38 27.439 85.89 25.16 85.89 22.42C85.89 19.68 88.38 17.4 91.53 17.4C94.68 17.4 97.18 19.68 97.18 22.42Z"
stroke="#333333"
strokeWidth="0.627222"
/>
<path
d="M85.2599 22.4212C85.2599 25.1606 82.7662 27.439 79.6149 27.439C76.4635 27.439 73.9699 25.1606 73.9699 22.4212C73.9699 19.6819 76.4635 17.4035 79.6149 17.4035C82.7662 17.4035 85.2599 19.6819 85.2599 22.4212Z"
d="M85.26 22.42C85.26 25.16 82.77 27.439 79.61 27.439C76.46 27.439 73.97 25.16 73.97 22.42C73.97 19.68 76.46 17.4 79.61 17.4C82.77 17.4 85.26 19.68 85.26 22.42Z"
stroke="#333333"
strokeWidth="0.627222"
/>
<circle cx="90.4877" cy="23.9408" r="0.940833" fill="#313131" />
<circle cx="77.9408" cy="23.9408" r="0.940833" fill="#313131" />
<path
d="M89.8664 29.6836C88.0279 30.6018 86.3617 30.7745 83.5469 31.0355C84.236 31.8112 85.9538 31.8181 87.2867 31.5194C88.6196 31.2206 89.6943 30.1908 89.8664 29.6836Z"
d="M89.87 29.68C88.03 30.6 86.36 30.77 83.55 31.04C84.236 31.81 85.95 31.82 87.29 31.52C88.62 31.22 89.69 30.19 89.87 29.68Z"
fill="#333333"
/>
<path
d="M120.45 80.3446L116.281 80.4296M103.375 80.6925L116.281 80.4296M116.281 80.4296L112.508 73.8438"
d="M120.45 80.34L116.281 80.43M103.375 80.69L116.281 80.43M116.281 80.43L112.508 73.84"
stroke="#666666"
strokeWidth="0.940833"
strokeLinecap="round"
/>
<path
d="M111.094 94.7863V99.1156H48.0579L39.5101 68.8386C38.9308 66.7868 40.5237 64.7675 42.654 64.853L83.6199 66.4968C84.623 66.5371 85.5055 67.1715 85.8634 68.1095L96.0403 94.7863H111.094Z"
d="M111.094 94.79V99.12H48.06L39.51 68.84C38.93 66.79 40.52 64.77 42.654 64.853L83.62 66.5C84.623 66.54 85.51 67.17 85.86 68.11L96.04 94.79H111.094Z"
fill="#444444"
/>
<ellipse
@@ -413,7 +402,7 @@ export const DevLogo = ({ ...props }) => (
cy="16.5649"
rx="1.28491"
ry="4.70438"
transform="rotate(-47.9891 19.5156 16.5649)"
transform="rotate(-47.99 19.52 16.56)"
fill="#2D67F5"
/>
<ellipse
@@ -421,7 +410,7 @@ export const DevLogo = ({ ...props }) => (
cy="3.63681"
rx="1.13456"
ry="3.63681"
transform="matrix(-0.731719 -0.681606 -0.681606 0.731719 37.6641 13.9609)"
transform="matrix(-0.73 -0.68 -0.68 0.73 37.66 13.96)"
fill="#2D67F5"
/>
<rect
@@ -443,15 +432,15 @@ export const DevLogo = ({ ...props }) => (
y="31.2773"
width="6.23302"
height="1.17604"
transform="rotate(90 28.5312 31.2773)"
transform="rotate(90 28.53 31.28)"
fill="#2D67F5"
/>
<path
d="M20.8578 28.8201C21.0723 29.064 21.0484 29.4356 20.8045 29.65L17.0066 32.989C16.7627 33.2035 16.3912 33.1796 16.1768 32.9357V32.9357C15.9623 32.6918 15.9862 32.3203 16.2301 32.1058L20.028 28.7668C20.2719 28.5523 20.6434 28.5762 20.8578 28.8201V28.8201Z"
d="M20.86 28.82C21.07 29.064 21.05 29.44 20.8 29.65L17.01 32.989C16.76 33.2 16.39 33.18 16.18 32.94V32.94C15.96 32.69 15.99 32.32 16.23 32.11L20.028 28.77C20.27 28.55 20.64 28.58 20.86 28.82V28.82Z"
fill="#2D67F5"
/>
<path
d="M32.8168 28.5013C32.5944 28.7379 32.6059 29.11 32.8425 29.3324L36.527 32.7962C36.7636 33.0186 37.1357 33.0072 37.3582 32.7705V32.7705C37.5806 32.5339 37.5691 32.1618 37.3325 31.9394L33.648 28.4756C33.4114 28.2532 33.0393 28.2646 32.8168 28.5013V28.5013Z"
d="M32.82 28.5C32.59 28.74 32.61 29.11 32.84 29.33L36.527 32.8C36.76 33.02 37.14 33.01 37.36 32.77V32.77C37.58 32.53 37.57 32.16 37.33 31.94L33.648 28.48C33.41 28.25 33.04 28.26 32.82 28.5V28.5Z"
fill="#2D67F5"
/>
</svg>
@@ -462,12 +451,10 @@ export const ExportIcon = () => (
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="2301"
width="14"
height="14">
<path
d="M950.857143 424.228571L548.571429 73.142857v200.630857C163.620571 273.773714 73.142857 526.116571 73.142857 775.314286c111.177143-130.048 209.334857-200.630857 475.428572-200.630857V775.314286L950.857143 424.228571zM73.142857 877.714286h877.714286v73.142857H73.142857v-73.142857z"
p-id="2302"
d="M950.86 424.23L548.57 73.14v200.63C163.62 273.77 73.14 526.12 73.14 775.31c111.18-130.048 209.33-200.63 475.43-200.63V775.31L950.86 424.23zM73.14 877.71h877.71v73.14H73.14v-73.14z"
fill="currentColor"></path>
</svg>
)
@@ -482,7 +469,7 @@ export const BasicInfoIcon = () => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M1.33337 2.6665C1.33337 2.11422 1.78109 1.6665 2.33337 1.6665H13.6667C14.219 1.6665 14.6667 2.11422 14.6667 2.6665V11.3332C14.6667 11.8855 14.219 12.3332 13.6667 12.3332H2.33337C1.78109 12.3332 1.33337 11.8855 1.33337 11.3332V2.6665ZM2.66671 2.99984V10.9998H13.3334V2.99984H2.66671ZM12 14.3332H4.00004V12.9998H12V14.3332ZM7.8954 8.64801L6.91608 7.66084L11.3303 7.67846L11.3356 6.34514L6.92141 6.32752L7.90857 5.3482L6.96954 4.40164L4.36648 6.98399L6.94884 9.58704L7.8954 8.64801Z"
d="M1.33 2.67C1.33 2.11 1.78 1.67 2.33 1.67H13.67C14.219 1.67 14.67 2.11 14.67 2.67V11.33C14.67 11.89 14.219 12.33 13.67 12.33H2.33C1.78 12.33 1.33 11.89 1.33 11.33V2.67ZM2.67 3V11H13.33V3H2.67ZM12 14.33H4V13H12V14.33ZM7.9 8.65L6.92 7.66L11.33 7.68L11.34 6.35L6.92 6.33L7.91 5.35L6.97 4.4L4.37 6.98L6.95 9.59L7.9 8.65Z"
fill="currentColor"
/>
</svg>
@@ -496,14 +483,11 @@ export const BankCardIcon = () => (
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M1 6V12.5C1 13.0523 1.44772 13.5 2 13.5H14C14.5523 13.5 15 13.0523 15 12.5V6M1 6V3C1 2.44772 1.44772 2 2 2H14C14.5523 2 15 2.44772 15 3V6M1 6H15"
d="M1 6V12.5C1 13.05 1.45 13.5 2 13.5H14C14.55 13.5 15 13.05 15 12.5V6M1 6V3C1 2.45 1.45 2 2 2H14C14.55 2 15 2.45 15 3V6M1 6H15"
stroke="currentColor"
strokeWidth="1.3"
/>
<path
d="M9.41263 9.19496L12.4126 9.19378L12 10.9991L9 11.0002L9.41263 9.19496Z"
fill="currentColor"
/>
<path d="M9.41 9.19L12.41 9.19L12 11L9 11L9.41 9.19Z" fill="currentColor" />
</svg>
)
@@ -515,20 +499,12 @@ export const BusinessCardIcon = () => (
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M3.61162 5.20754L5.20469 6.78626L7.98686 3.97314"
stroke="currentColor"
strokeWidth="1.2"
/>
<path
d="M8.28467 6.37109L12.4734 6.37137"
stroke="currentColor"
strokeWidth="1.2"
/>
<path
d="M8.28467 10.5693L12.4734 10.5696"
d="M3.61 5.21L5.2 6.79L7.99 3.97"
stroke="currentColor"
strokeWidth="1.2"
/>
<path d="M8.28 6.37L12.47 6.37" stroke="currentColor" strokeWidth="1.2" />
<path d="M8.28 10.57L12.47 10.57" stroke="currentColor" strokeWidth="1.2" />
<circle
cx="5.42407"
cy="10.2007"
@@ -571,7 +547,7 @@ export const CollectionCardIcon = () => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.6536 8.17103L8.66643 9.15035L8.68405 4.73617L7.35073 4.73085L7.33311 9.14503L6.35379 8.15786L5.40723 9.0969L7.98958 11.7L10.5926 9.1176L9.6536 8.17103Z"
d="M9.65 8.17L8.67 9.15L8.68 4.74L7.35 4.73L7.33 9.15L6.35 8.16L5.41 9.1L7.99 11.7L10.59 9.12L9.65 8.17Z"
fill="currentColor"
/>
</svg>
@@ -594,7 +570,7 @@ export const BillRecordCardIcon = () => (
strokeWidth="1.3"
/>
<path
d="M10.7429 4.50849C10.7427 4.4703 10.7274 4.43373 10.7004 4.40673C10.6734 4.37972 10.6369 4.36446 10.5987 4.36426H9.61539C9.56111 4.36426 9.5107 4.39528 9.48744 4.44335L8.05769 7.15299H7.99876L6.53356 4.44644C6.52157 4.42276 6.50329 4.40285 6.48071 4.38889C6.45814 4.37494 6.43215 4.36748 6.40561 4.36735H5.4014C5.37643 4.36724 5.35186 4.37365 5.33013 4.38594C5.30839 4.39824 5.29025 4.416 5.27748 4.43746C5.26471 4.45892 5.25777 4.48334 5.25733 4.50831C5.2569 4.53328 5.26299 4.55793 5.27501 4.57982L6.99463 7.69813H5.96638C5.92819 7.69834 5.89162 7.7136 5.86461 7.7406C5.83761 7.76761 5.82235 7.80418 5.82214 7.84237V8.59209C5.82214 8.67196 5.88728 8.73632 5.96638 8.73632H7.33737V9.22266H5.96638C5.92819 9.22286 5.89162 9.23812 5.86461 9.26513C5.83761 9.29213 5.82235 9.3287 5.82214 9.36689V10.0757C5.82214 10.1556 5.88728 10.2207 5.96638 10.2207H7.33737L7.33737 11.4892C7.33737 11.5683 7.40251 11.6334 7.48161 11.6334L8.47101 11.635C8.5092 11.6348 8.54576 11.6195 8.57277 11.5925C8.59977 11.5655 8.61504 11.529 8.61524 11.4908L8.61524 10.2199H9.99167C10.0299 10.2197 10.0664 10.2045 10.0934 10.1775C10.1204 10.1505 10.1357 10.1139 10.1359 10.0757V9.36689C10.1357 9.3287 10.1204 9.29213 10.0934 9.26513C10.0664 9.23812 10.0299 9.22286 9.99167 9.22266H8.61524V8.73632H9.99167C10.0299 8.73612 10.0664 8.72086 10.0934 8.69385C10.1204 8.66685 10.1357 8.63028 10.1359 8.59209V7.84237C10.1357 7.80418 10.1204 7.76761 10.0934 7.7406C10.0664 7.7136 10.0299 7.69834 9.99167 7.69813H9.01769L10.7266 4.57596C10.7364 4.55505 10.7416 4.53233 10.7421 4.50927L10.7429 4.50849Z"
d="M10.74 4.51C10.74 4.47 10.73 4.43 10.7 4.41C10.67 4.38 10.64 4.36 10.6 4.36H9.62C9.56 4.36 9.51 4.4 9.49 4.44L8.06 7.15H8L6.53 4.45C6.52 4.42 6.5 4.4 6.48 4.39C6.46 4.37 6.43 4.37 6.41 4.37H5.4C5.38 4.37 5.35 4.37 5.33 4.39C5.31 4.4 5.29 4.416 5.28 4.44C5.26 4.46 5.26 4.48 5.26 4.51C5.26 4.53 5.26 4.56 5.28 4.58L6.99 7.7H5.97C5.93 7.7 5.89 7.71 5.86 7.74C5.84 7.77 5.82 7.8 5.82 7.84V8.59C5.82 8.67 5.89 8.74 5.97 8.74H7.34V9.22H5.97C5.93 9.22 5.89 9.24 5.86 9.27C5.84 9.29 5.82 9.33 5.82 9.37V10.08C5.82 10.16 5.89 10.22 5.97 10.22H7.34L7.34 11.49C7.34 11.57 7.4 11.63 7.48 11.63L8.47 11.635C8.51 11.63 8.55 11.62 8.57 11.59C8.6 11.57 8.62 11.529 8.62 11.49L8.62 10.22H9.99C10.03 10.22 10.07 10.2 10.09 10.18C10.12 10.15 10.14 10.11 10.14 10.08V9.37C10.14 9.33 10.12 9.29 10.09 9.27C10.07 9.24 10.03 9.22 9.99 9.22H8.62V8.74H9.99C10.03 8.74 10.07 8.72 10.09 8.69C10.12 8.67 10.14 8.63 10.14 8.59V7.84C10.14 7.8 10.12 7.77 10.09 7.74C10.07 7.71 10.03 7.7 9.99 7.7H9.02L10.73 4.58C10.74 4.56 10.74 4.53 10.74 4.51L10.74 4.51Z"
fill="currentColor"
/>
</svg>
@@ -609,7 +585,6 @@ export const ToolTipIcon = () => (
fill="currentColor">
<path
d="M511.552 62.72c-22.4 0-44.736 4.224-61.76 12.928L89.984 258.88c-33.984 17.344-33.984 45.568 0 62.912L449.792 504.96c17.024 8.64 39.424 12.928 61.824 12.928s44.736-4.288 61.76-12.928l359.936-183.232c33.984-17.344 33.984-45.568 0-62.912L573.312 75.648C556.16 66.944 533.888 62.72 511.552 62.72z m0 679.232c-27.52 0-55.168-5.632-77.184-16.832l-352.64-179.456a35.584 35.584 0 0 1-15.36-47.296 34.304 34.304 0 0 1 46.336-15.68l352.512 179.52c24.32 12.352 68.352 12.352 92.736 0l352.512-179.456a34.24 34.24 0 0 1 46.336 15.744 35.456 35.456 0 0 1-15.424 47.168l-352.64 179.456a172.8 172.8 0 0 1-77.184 16.832z m0 218.048c-27.52 0-55.168-5.632-77.184-16.832L81.856 763.52a35.456 35.456 0 0 1-15.424-47.168 34.24 34.24 0 0 1 46.272-15.744l352.512 179.584c24.32 12.352 68.352 12.352 92.736 0l352.512-179.584a34.24 34.24 0 0 1 46.336 15.744 35.456 35.456 0 0 1-15.488 47.168l-352.64 179.584c-21.888 11.2-49.472 16.832-77.12 16.832z"
p-id="3648"
fill="currentColor"></path>
</svg>
)
@@ -619,16 +594,13 @@ export const IDLogoIcon = () => (
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="2219"
width="18"
height="18">
<path
d="M56.539429 158.939429a102.4 102.4 0 0 1 102.4-102.4h706.121142a102.4 102.4 0 0 1 102.4 102.4v706.121142a102.4 102.4 0 0 1-102.4 102.4H158.939429a102.4 102.4 0 0 1-102.4-102.4V158.939429z m102.4-43.885715a43.885714 43.885714 0 0 0-43.885715 43.885715v706.121142a43.885714 43.885714 0 0 0 43.885715 43.885715h706.121142a43.885714 43.885714 0 0 0 43.885715-43.885715V158.939429a43.885714 43.885714 0 0 0-43.885715-43.885715H158.939429z"
p-id="2220"
d="M56.54 158.94a102.4 102.4 0 0 1 102.4-102.4h706.12a102.4 102.4 0 0 1 102.4 102.4v706.12a102.4 102.4 0 0 1-102.4 102.4H158.94a102.4 102.4 0 0 1-102.4-102.4V158.94z m102.4-43.89a43.89 43.89 0 0 0-43.89 43.89v706.12a43.89 43.89 0 0 0 43.89 43.89h706.12a43.89 43.89 0 0 0 43.89-43.89V158.94a43.89 43.89 0 0 0-43.89-43.89H158.94z"
fill="#165DFF"></path>
<path
d="M605.769143 238.006857H435.638857a73.142857 73.142857 0 0 0-73.142857 73.142857v401.700572a73.142857 73.142857 0 0 0 73.142857 73.142857h170.130286a231.424 231.424 0 0 0 231.497143-231.497143V469.577143a231.424 231.424 0 0 0-231.497143-231.497143z m-2.048 70.582857c83.821714 0 151.698286 67.876571 151.698286 151.698286v103.424a151.698286 151.698286 0 0 1-151.698286 151.698286H480.914286a36.571429 36.571429 0 0 1-36.571429-36.571429V345.161143a36.571429 36.571429 0 0 1 36.571429-36.571429h122.88zM216.137143 274.578286a36.571429 36.571429 0 0 1 36.571428-36.571429h8.923429a36.571429 36.571429 0 0 1 36.571429 36.571429v474.843428a36.571429 36.571429 0 0 1-36.571429 36.571429h-8.923429a36.571429 36.571429 0 0 1-36.571428-36.571429V274.578286z"
p-id="2221"
d="M605.77 238.01H435.64a73.14 73.14 0 0 0-73.14 73.14v401.7a73.14 73.14 0 0 0 73.14 73.14h170.13a231.424 231.424 0 0 0 231.5-231.5V469.58a231.424 231.424 0 0 0-231.5-231.5z m-2.048 70.58c83.82 0 151.7 67.88 151.7 151.7v103.424a151.7 151.7 0 0 1-151.7 151.7H480.91a36.57 36.57 0 0 1-36.57-36.57V345.16a36.57 36.57 0 0 1 36.57-36.57h122.88zM216.14 274.58a36.57 36.57 0 0 1 36.57-36.57h8.92a36.57 36.57 0 0 1 36.57 36.57v474.84a36.57 36.57 0 0 1-36.57 36.57h-8.92a36.57 36.57 0 0 1-36.57-36.57V274.58z"
fill="#165DFF"></path>
</svg>
)
@@ -642,7 +614,7 @@ export const ChevronLeftIcon: React.FC<IconSvgProps> = ({ ...props }) => (
xmlns="http://www.w3.org/2000/svg"
{...props}>
<path
d="M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z"
d="M8.84 3.14C9.04 3.32 9.05 3.64 8.86 3.84L5.44 7.5L8.86 11.16C9.05 11.36 9.04 11.68 8.84 11.86C8.64 12.05 8.32 12.04 8.14 11.84L4.39 7.84C4.2 7.65 4.2 7.35 4.39 7.16L8.14 3.16C8.32 2.96 8.64 2.95 8.84 3.14Z"
fill="currentColor"
fillRule="evenodd"
clipRule="evenodd"></path>
@@ -658,7 +630,7 @@ export const DesktopIcon: React.FC<IconSvgProps> = ({ ...props }) => (
xmlns="http://www.w3.org/2000/svg"
{...props}>
<path
d="M1 3.25C1 3.11193 1.11193 3 1.25 3H13.75C13.8881 3 14 3.11193 14 3.25V10.75C14 10.8881 13.8881 11 13.75 11H1.25C1.11193 11 1 10.8881 1 10.75V3.25ZM1.25 2C0.559643 2 0 2.55964 0 3.25V10.75C0 11.4404 0.559644 12 1.25 12H5.07341L4.82991 13.2986C4.76645 13.6371 5.02612 13.95 5.37049 13.95H9.62951C9.97389 13.95 10.2336 13.6371 10.1701 13.2986L9.92659 12H13.75C14.4404 12 15 11.4404 15 10.75V3.25C15 2.55964 14.4404 2 13.75 2H1.25ZM9.01091 12H5.98909L5.79222 13.05H9.20778L9.01091 12Z"
d="M1 3.25C1 3.11 1.11 3 1.25 3H13.75C13.89 3 14 3.11 14 3.25V10.75C14 10.89 13.89 11 13.75 11H1.25C1.11 11 1 10.89 1 10.75V3.25ZM1.25 2C0.56 2 0 2.56 0 3.25V10.75C0 11.44 0.56 12 1.25 12H5.07L4.83 13.3C4.77 13.64 5.03 13.95 5.37 13.95H9.63C9.97 13.95 10.23 13.64 10.17 13.3L9.93 12H13.75C14.44 12 15 11.44 15 10.75V3.25C15 2.56 14.44 2 13.75 2H1.25ZM9.01 12H5.99L5.79 13.05H9.21L9.01 12Z"
fill="currentColor"
fillRule="evenodd"
clipRule="evenodd"></path>
@@ -676,7 +648,7 @@ export const LabelStatusIcon: React.FC<IconSvgProps> = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M10.7952 2.69088C11.0415 2.82056 11.1093 3.13429 10.9594 3.36884C10.8095 3.60339 10.4988 3.66949 10.2504 3.54401C9.3204 3.07434 8.26238 2.90549 7.22488 3.06856C6.02069 3.25783 4.92738 3.88116 4.15111 4.821C3.37484 5.76084 2.96928 6.95223 3.01091 8.17048C3.05253 9.38874 3.53847 10.5497 4.37707 11.4343C5.21568 12.319 6.349 12.8662 7.56329 12.9729C8.77759 13.0795 9.98894 12.7382 10.9689 12.0132C11.9489 11.2882 12.6297 10.2298 12.883 9.03743C13.1013 8.01012 12.9892 6.94459 12.5698 5.99087C12.4578 5.73606 12.5404 5.42931 12.7826 5.29217C13.0248 5.15502 13.3345 5.23949 13.4508 5.49236C13.989 6.66209 14.1384 7.97872 13.869 9.24691C13.5645 10.68 12.7462 11.9522 11.5684 12.8236C10.3905 13.6949 8.9346 14.1052 7.47511 13.977C6.01562 13.8488 4.65346 13.1911 3.64552 12.1278C2.63758 11.0645 2.05353 9.66916 2.00349 8.20491C1.95346 6.74065 2.44092 5.3087 3.37393 4.17908C4.30694 3.04947 5.62103 2.30028 7.06836 2.07278C8.34913 1.87148 9.6559 2.09101 10.7952 2.69088ZM12.5 4.19997C12.5 3.92382 12.2761 3.69997 12 3.69997C11.7239 3.69997 11.5 3.92382 11.5 4.19997C11.5 4.47611 11.7239 4.69997 12 4.69997C12.2761 4.69997 12.5 4.47611 12.5 4.19997ZM9.49005 5.99518C9.29479 5.79992 9.29479 5.48334 9.49005 5.28807C9.68531 5.09281 10.0019 5.09281 10.1972 5.28807L10.712 5.8029C10.9072 5.99816 10.9072 6.31474 10.712 6.51001C10.5167 6.70527 10.2001 6.70527 10.0049 6.51001L9.49005 5.99518ZM9.56274 6.95933L9.04077 6.43736C8.84551 6.2421 8.52893 6.2421 8.33366 6.43736L5.14644 9.62459C5.05267 9.71835 4.99999 9.84553 4.99999 9.97814V10.5001C4.99999 10.7762 5.22385 11.0001 5.49999 11.0001H6.02196C6.15457 11.0001 6.28175 10.9474 6.37551 10.8537L9.56274 7.66644C9.758 7.47117 9.758 7.15459 9.56274 6.95933Z"
d="M10.8 2.69C11.04 2.82 11.11 3.13 10.96 3.37C10.81 3.6 10.5 3.67 10.25 3.54C9.32 3.07 8.26 2.91 7.22 3.07C6.02 3.26 4.93 3.88 4.15 4.821C3.37 5.76 2.97 6.95 3.01 8.17C3.05 9.39 3.54 10.55 4.38 11.43C5.22 12.319 6.349 12.87 7.56 12.97C8.78 13.08 9.99 12.74 10.97 12.01C11.95 11.29 12.63 10.23 12.883 9.04C13.1 8.01 12.99 6.94 12.57 5.99C12.46 5.74 12.54 5.43 12.78 5.29C13.02 5.16 13.33 5.24 13.45 5.49C13.989 6.66 14.14 7.98 13.869 9.25C13.56 10.68 12.75 11.95 11.57 12.82C10.39 13.69 8.93 14.11 7.48 13.977C6.02 13.85 4.65 13.19 3.65 12.13C2.64 11.06 2.05 9.67 2 8.2C1.95 6.74 2.44 5.31 3.37 4.18C4.31 3.05 5.62 2.3 7.07 2.07C8.35 1.87 9.66 2.09 10.8 2.69ZM12.5 4.2C12.5 3.92 12.28 3.7 12 3.7C11.72 3.7 11.5 3.92 11.5 4.2C11.5 4.48 11.72 4.7 12 4.7C12.28 4.7 12.5 4.48 12.5 4.2ZM9.49 6C9.29 5.8 9.29 5.48 9.49 5.29C9.69 5.09 10 5.09 10.2 5.29L10.712 5.8C10.91 6 10.91 6.31 10.712 6.51C10.52 6.71 10.2 6.71 10 6.51L9.49 6ZM9.56 6.96L9.04 6.44C8.85 6.24 8.53 6.24 8.33 6.44L5.15 9.62C5.05 9.72 5 9.85 5 9.98V10.5C5 10.78 5.22 11 5.5 11H6.02C6.15 11 6.28 10.95 6.38 10.85L9.56 7.67C9.758 7.47 9.758 7.15 9.56 6.96Z"
fill="#1874FF"
/>
</svg>
@@ -693,7 +665,7 @@ export const LabelStatusWaitIcon = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M2.5 8C2.5 4.96243 4.96243 2.5 8 2.5C11.0376 2.5 13.5 4.96243 13.5 8C13.5 11.0376 11.0376 13.5 8 13.5C4.96243 13.5 2.5 11.0376 2.5 8ZM8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5ZM7.5 5V7.5V7.70711L7.64645 7.85355L10.1464 10.3536L10.8536 9.64645L8.5 7.29289V5H7.5Z"
d="M2.5 8C2.5 4.96 4.96 2.5 8 2.5C11.04 2.5 13.5 4.96 13.5 8C13.5 11.04 11.04 13.5 8 13.5C4.96 13.5 2.5 11.04 2.5 8ZM8 1.5C4.41 1.5 1.5 4.41 1.5 8C1.5 11.59 4.41 14.5 8 14.5C11.59 14.5 14.5 11.59 14.5 8C14.5 4.41 11.59 1.5 8 1.5ZM7.5 5V7.5V7.71L7.65 7.85L10.15 10.35L10.85 9.65L8.5 7.29V5H7.5Z"
fill="#1874FF"
/>
</svg>
@@ -711,7 +683,7 @@ export const LabelStatusAcceptanceIcon = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM9.49997 6.15909C9.49997 6.58622 9.32144 6.97165 9.03494 7.24484C8.90992 7.36405 8.81815 7.52068 8.81815 7.69342C8.81815 7.97571 9.04699 8.20454 9.32927 8.20454H10.1818C10.6337 8.20454 11 8.57086 11 9.02273C11 9.4746 10.6337 9.84091 10.1818 9.84091H5.81815C5.36628 9.84091 4.99997 9.4746 4.99997 9.02273C4.99997 8.57086 5.36628 8.20454 5.81815 8.20454H6.67066C6.95295 8.20454 7.18178 7.97571 7.18178 7.69342C7.18178 7.52067 7.09001 7.36404 6.96499 7.24483C6.67849 6.97164 6.49997 6.58622 6.49997 6.15909C6.49997 5.33066 7.17154 4.65909 7.99997 4.65909C8.8284 4.65909 9.49997 5.33066 9.49997 6.15909ZM6.99997 10.5C6.72383 10.5 6.49997 10.7239 6.49997 11C6.49997 11.2761 6.72383 11.5 6.99997 11.5H8.99997C9.27611 11.5 9.49997 11.2761 9.49997 11C9.49997 10.7239 9.27611 10.5 8.99997 10.5H6.99997Z"
d="M8 2.5C4.96 2.5 2.5 4.96 2.5 8C2.5 11.04 4.96 13.5 8 13.5C11.04 13.5 13.5 11.04 13.5 8C13.5 4.96 11.04 2.5 8 2.5ZM1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM9.5 6.16C9.5 6.59 9.32 6.97 9.03 7.24C8.91 7.36 8.82 7.52 8.82 7.69C8.82 7.98 9.05 8.2 9.33 8.2H10.18C10.63 8.2 11 8.57 11 9.02C11 9.47 10.63 9.84 10.18 9.84H5.82C5.37 9.84 5 9.47 5 9.02C5 8.57 5.37 8.2 5.82 8.2H6.67C6.95 8.2 7.18 7.98 7.18 7.69C7.18 7.52 7.09 7.36 6.96 7.24C6.68 6.97 6.5 6.59 6.5 6.16C6.5 5.33 7.17 4.66 8 4.66C8.83 4.66 9.5 5.33 9.5 6.16ZM7 10.5C6.72 10.5 6.5 10.72 6.5 11C6.5 11.28 6.72 11.5 7 11.5H9C9.28 11.5 9.5 11.28 9.5 11C9.5 10.72 9.28 10.5 9 10.5H7Z"
fill="currentColor"
/>
</svg>
@@ -729,7 +701,7 @@ export const LabelStatusFailIcon = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M5.75 5.15058C5.75 3.96285 6.71285 3 7.90058 3H8H8.09942C9.28715 3 10.25 3.96285 10.25 5.15058C10.25 5.59881 10.1099 6.03584 9.84942 6.40058L9.33999 7.11378C9.11887 7.42335 9 7.79428 9 8.17471C9 9.18279 9.81721 10 10.8253 10H12C12.5523 10 13 10.4477 13 11C13 11.5523 12.5523 12 12 12H11C10.7239 12 10.5 12.2239 10.5 12.5C10.5 12.7761 10.7239 13 11 13H12C13.1046 13 14 12.1046 14 11C14 9.89543 13.1046 9 12 9H10.8253C10.3695 9 10 8.6305 10 8.17471C10 8.0027 10.0537 7.83499 10.1537 7.69502L10.6632 6.98182C11.0448 6.44748 11.25 5.80723 11.25 5.15058C11.25 3.41056 9.83944 2 8.09942 2H8H7.90058C6.16056 2 4.75 3.41056 4.75 5.15058C4.75 5.80723 4.95518 6.44748 5.33685 6.98182L5.84628 7.69502C5.94625 7.83499 6 8.0027 6 8.17471C6 8.6305 5.6305 9 5.17471 9H4C2.89543 9 2 9.89543 2 11C2 12.1046 2.89543 13 4 13H5C5.27614 13 5.5 12.7761 5.5 12.5C5.5 12.2239 5.27614 12 5 12H4C3.44772 12 3 11.5523 3 11C3 10.4477 3.44772 10 4 10H5.17471C6.18279 10 7 9.18279 7 8.17471C7 7.79428 6.88113 7.42335 6.66001 7.11378L6.15058 6.40058C5.89005 6.03584 5.75 5.59881 5.75 5.15058ZM8 11.7929L7.35355 11.1464C7.15829 10.9512 6.84171 10.9512 6.64645 11.1464C6.45118 11.3417 6.45118 11.6583 6.64645 11.8536L7.29289 12.5L6.64645 13.1464C6.45118 13.3417 6.45118 13.6583 6.64645 13.8536C6.84171 14.0488 7.15829 14.0488 7.35355 13.8536L8 13.2071L8.64645 13.8536C8.84171 14.0488 9.15829 14.0488 9.35355 13.8536C9.54882 13.6583 9.54882 13.3417 9.35355 13.1464L8.70711 12.5L9.35355 11.8536C9.54882 11.6583 9.54882 11.3417 9.35355 11.1464C9.15829 10.9512 8.84171 10.9512 8.64645 11.1464L8 11.7929Z"
d="M5.75 5.15C5.75 3.96 6.71 3 7.9 3H8H8.1C9.29 3 10.25 3.96 10.25 5.15C10.25 5.6 10.11 6.04 9.85 6.4L9.34 7.11C9.12 7.42 9 7.79 9 8.17C9 9.18 9.82 10 10.83 10H12C12.55 10 13 10.45 13 11C13 11.55 12.55 12 12 12H11C10.72 12 10.5 12.22 10.5 12.5C10.5 12.78 10.72 13 11 13H12C13.1 13 14 12.1 14 11C14 9.9 13.1 9 12 9H10.83C10.37 9 10 8.63 10 8.17C10 8 10.05 7.83 10.15 7.7L10.66 6.98C11.04 6.45 11.25 5.81 11.25 5.15C11.25 3.41 9.84 2 8.1 2H8H7.9C6.16 2 4.75 3.41 4.75 5.15C4.75 5.81 4.96 6.45 5.34 6.98L5.85 7.7C5.95 7.83 6 8 6 8.17C6 8.63 5.63 9 5.17 9H4C2.9 9 2 9.9 2 11C2 12.1 2.9 13 4 13H5C5.28 13 5.5 12.78 5.5 12.5C5.5 12.22 5.28 12 5 12H4C3.45 12 3 11.55 3 11C3 10.45 3.45 10 4 10H5.17C6.18 10 7 9.18 7 8.17C7 7.79 6.88 7.42 6.66 7.11L6.15 6.4C5.89 6.04 5.75 5.6 5.75 5.15ZM8 11.79L7.35 11.15C7.16 10.95 6.84 10.95 6.65 11.15C6.45 11.34 6.45 11.66 6.65 11.85L7.29 12.5L6.65 13.15C6.45 13.34 6.45 13.66 6.65 13.85C6.84 14.05 7.16 14.05 7.35 13.85L8 13.21L8.65 13.85C8.84 14.05 9.16 14.05 9.35 13.85C9.55 13.66 9.55 13.34 9.35 13.15L8.71 12.5L9.35 11.85C9.55 11.66 9.55 11.34 9.35 11.15C9.16 10.95 8.84 10.95 8.65 11.15L8 11.79Z"
fill="#D9333E"
/>
</svg>
@@ -746,7 +718,7 @@ export const LabelPretestIcon = () => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.2957 13.8585C9.56749 13.7983 9.71565 13.5136 9.63295 13.2478C9.55025 12.982 9.26796 12.8363 8.9952 12.8918C7.97428 13.0995 6.9092 12.9833 5.95146 12.5523C4.83986 12.0521 3.94969 11.1624 3.44885 10.0511C2.948 8.9398 2.87108 7.68363 3.2326 6.5195C3.59412 5.35538 4.36908 4.36376 5.41135 3.73165C6.45362 3.09954 7.69115 2.87063 8.89057 3.0881C10.09 3.30556 11.1684 3.95436 11.9224 4.91215C12.6764 5.86993 13.0539 7.0705 12.9837 8.28745C12.9232 9.33595 12.534 10.3342 11.878 11.1435C11.7027 11.3597 11.7015 11.6774 11.8989 11.8736C12.0964 12.0698 12.4174 12.07 12.5963 11.8567C13.424 10.8704 13.9154 9.63982 13.99 8.34549C14.0744 6.88281 13.6207 5.43982 12.7144 4.28863C11.8081 3.13745 10.512 2.35764 9.07039 2.09627C7.62879 1.83489 6.14137 2.11002 4.88864 2.86977C3.63592 3.62951 2.70447 4.82136 2.26995 6.22055C1.83543 7.61974 1.92788 9.12957 2.52986 10.4653C3.13184 11.801 4.20175 12.8703 5.53781 13.4715C6.72011 14.0036 8.03851 14.1365 9.2957 13.8585ZM11.25 12.5C11.25 12.7762 11.0261 13 10.75 13C10.4739 13 10.25 12.7762 10.25 12.5C10.25 12.2239 10.4739 12 10.75 12C11.0261 12 11.25 12.2239 11.25 12.5ZM5.61271 5.87133C5.47437 5.9512 5.48087 6.15302 5.62406 6.22382L6.49382 6.65387C6.52921 6.67137 6.55864 6.69895 6.57838 6.73315L7.66673 8.61824C7.69821 8.67275 7.70218 8.73891 7.67745 8.7968L7.18732 9.94423C7.11182 10.121 7.30479 10.2921 7.47124 10.196L8.16582 9.79498C8.24529 9.7491 8.3458 9.76319 8.4096 9.82916L9.97785 11.4511C10.1226 11.6008 10.3712 11.4572 10.3139 11.2571L9.69342 9.08795C9.66818 8.99972 9.70623 8.90563 9.78571 8.85974L10.4803 8.45873C10.6467 8.36263 10.595 8.10995 10.4042 8.08696L9.16544 7.93771C9.10294 7.93018 9.04763 7.89367 9.01616 7.83915L7.9278 5.95406C7.90806 5.91987 7.89888 5.88059 7.90142 5.84119L7.96386 4.87294C7.97415 4.71353 7.80262 4.60699 7.66428 4.68686L5.61271 5.87133Z"
d="M9.3 13.86C9.57 13.8 9.72 13.51 9.63 13.25C9.55 12.982 9.27 12.84 9 12.89C7.97 13.1 6.91 12.98 5.95 12.55C4.84 12.05 3.95 11.16 3.45 10.05C2.948 8.94 2.87 7.68 3.23 6.52C3.59 5.36 4.37 4.36 5.41 3.73C6.45 3.1 7.69 2.87 8.89 3.09C10.09 3.31 11.17 3.95 11.92 4.91C12.68 5.87 13.05 7.07 12.98 8.29C12.92 9.34 12.534 10.33 11.878 11.14C11.7 11.36 11.7 11.68 11.9 11.87C12.1 12.07 12.42 12.07 12.6 11.86C13.424 10.87 13.92 9.64 13.99 8.35C14.07 6.88 13.62 5.44 12.71 4.29C11.81 3.14 10.512 2.36 9.07 2.1C7.63 1.83 6.14 2.11 4.89 2.87C3.64 3.63 2.7 4.82 2.27 6.22C1.84 7.62 1.93 9.13 2.53 10.47C3.13 11.801 4.2 12.87 5.54 13.47C6.72 14 8.04 14.14 9.3 13.86ZM11.25 12.5C11.25 12.78 11.03 13 10.75 13C10.47 13 10.25 12.78 10.25 12.5C10.25 12.22 10.47 12 10.75 12C11.03 12 11.25 12.22 11.25 12.5ZM5.61 5.87C5.47 5.95 5.48 6.15 5.62 6.22L6.49 6.65C6.53 6.67 6.56 6.7 6.58 6.73L7.67 8.62C7.7 8.67 7.7 8.74 7.68 8.8L7.19 9.94C7.11 10.121 7.3 10.29 7.47 10.196L8.17 9.79C8.25 9.75 8.35 9.76 8.41 9.83L9.98 11.45C10.12 11.6 10.37 11.46 10.31 11.26L9.69 9.09C9.67 9 9.71 8.91 9.79 8.86L10.48 8.46C10.65 8.36 10.595 8.11 10.4 8.09L9.17 7.94C9.1 7.93 9.05 7.89 9.02 7.84L7.93 5.95C7.91 5.92 7.9 5.88 7.9 5.84L7.96 4.87C7.97 4.71 7.8 4.61 7.66 4.69L5.61 5.87Z"
fill="currentColor"
/>
</svg>
@@ -763,7 +735,7 @@ export const LabelStatusStopIcon = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM6.14642 5.14645C6.34168 4.95118 6.65826 4.95118 6.85352 5.14645L7.99997 6.29289L9.14642 5.14645C9.34168 4.95118 9.65826 4.95118 9.85352 5.14645C10.0488 5.34171 10.0488 5.65829 9.85352 5.85355L8.70708 7L9.85352 8.14645C10.0488 8.34171 10.0488 8.65829 9.85352 8.85355C9.65826 9.04882 9.34168 9.04882 9.14642 8.85355L7.99997 7.70711L6.85352 8.85355C6.65826 9.04882 6.34168 9.04882 6.14642 8.85355C5.95115 8.65829 5.95115 8.34171 6.14642 8.14645L7.29286 7L6.14642 5.85355C5.95115 5.65829 5.95115 5.34171 6.14642 5.14645ZM6.49997 10C6.22383 10 5.99997 10.2239 5.99997 10.5C5.99997 10.7761 6.22383 11 6.49997 11H9.49997C9.77611 11 9.99997 10.7761 9.99997 10.5C9.99997 10.2239 9.77611 10 9.49997 10H6.49997Z"
d="M8 2.5C4.96 2.5 2.5 4.96 2.5 8C2.5 11.04 4.96 13.5 8 13.5C11.04 13.5 13.5 11.04 13.5 8C13.5 4.96 11.04 2.5 8 2.5ZM1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM6.15 5.15C6.34 4.95 6.66 4.95 6.85 5.15L8 6.29L9.15 5.15C9.34 4.95 9.66 4.95 9.85 5.15C10.05 5.34 10.05 5.66 9.85 5.85L8.71 7L9.85 8.15C10.05 8.34 10.05 8.66 9.85 8.85C9.66 9.05 9.34 9.05 9.15 8.85L8 7.71L6.85 8.85C6.66 9.05 6.34 9.05 6.15 8.85C5.95 8.66 5.95 8.34 6.15 8.15L7.29 7L6.15 5.85C5.95 5.66 5.95 5.34 6.15 5.15ZM6.5 10C6.22 10 6 10.22 6 10.5C6 10.78 6.22 11 6.5 11H9.5C9.78 11 10 10.78 10 10.5C10 10.22 9.78 10 9.5 10H6.5Z"
fill="currentColor"
/>
</svg>
@@ -780,7 +752,7 @@ export const InfoCircleIcon = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M10.7952 2.69088C11.0415 2.82056 11.1093 3.13429 10.9594 3.36884C10.8096 3.60339 10.4988 3.66949 10.2504 3.54401C9.32041 3.07434 8.26239 2.90549 7.22489 3.06856C6.0207 3.25783 4.92738 3.88116 4.15112 4.821C3.37485 5.76084 2.96929 6.95223 3.01091 8.17048C3.05254 9.38874 3.53848 10.5497 4.37708 11.4343C5.21569 12.319 6.349 12.8662 7.5633 12.9729C8.77759 13.0795 9.98894 12.7382 10.9689 12.0132C11.9489 11.2882 12.6297 10.2298 12.883 9.03743C13.1013 8.01012 12.9892 6.94459 12.5698 5.99087C12.4578 5.73606 12.5404 5.42931 12.7826 5.29217C13.0249 5.15502 13.3345 5.23949 13.4509 5.49236C13.989 6.66209 14.1384 7.97872 13.869 9.24691C13.5645 10.68 12.7462 11.9522 11.5684 12.8236C10.3906 13.6949 8.93461 14.1052 7.47512 13.977C6.01563 13.8488 4.65347 13.1911 3.64553 12.1278C2.63759 11.0645 2.05353 9.66916 2.0035 8.20491C1.95347 6.74065 2.44093 5.3087 3.37394 4.17908C4.30695 3.04947 5.62103 2.30028 7.06837 2.07278C8.34913 1.87148 9.65591 2.09101 10.7952 2.69088ZM12.5 4.19997C12.5 3.92382 12.2761 3.69997 12 3.69997C11.7239 3.69997 11.5 3.92382 11.5 4.19997C11.5 4.47611 11.7239 4.69997 12 4.69997C12.2761 4.69997 12.5 4.47611 12.5 4.19997ZM8.75 10.2501C8.75 9.83585 8.41422 9.50006 8 9.50006C7.58579 9.50006 7.25 9.83585 7.25 10.2501C7.25 10.6643 7.58579 11.0001 8 11.0001C8.41422 11.0001 8.75 10.6643 8.75 10.2501ZM8.00001 9.00006C8.24883 9.00006 8.45979 8.8171 8.49498 8.57077L8.99498 5.07077C9.01548 4.92729 8.9727 4.78196 8.87773 4.67246C8.78276 4.56296 8.64495 4.50006 8.50001 4.50006H7.50001C7.35506 4.50006 7.21725 4.56296 7.12228 4.67246C7.02731 4.78196 6.98453 4.92729 7.00503 5.07077L7.50503 8.57077C7.54022 8.8171 7.75118 9.00006 8.00001 9.00006Z"
d="M10.8 2.69C11.04 2.82 11.11 3.13 10.96 3.37C10.81 3.6 10.5 3.67 10.25 3.54C9.32 3.07 8.26 2.91 7.22 3.07C6.02 3.26 4.93 3.88 4.15 4.821C3.37 5.76 2.97 6.95 3.01 8.17C3.05 9.39 3.54 10.55 4.38 11.43C5.22 12.319 6.349 12.87 7.56 12.97C8.78 13.08 9.99 12.74 10.97 12.01C11.95 11.29 12.63 10.23 12.883 9.04C13.1 8.01 12.99 6.94 12.57 5.99C12.46 5.74 12.54 5.43 12.78 5.29C13.02 5.16 13.33 5.24 13.45 5.49C13.989 6.66 14.14 7.98 13.869 9.25C13.56 10.68 12.75 11.95 11.57 12.82C10.39 13.69 8.93 14.11 7.48 13.977C6.02 13.85 4.65 13.19 3.65 12.13C2.64 11.06 2.05 9.67 2 8.2C1.95 6.74 2.44 5.31 3.37 4.18C4.31 3.05 5.62 2.3 7.07 2.07C8.35 1.87 9.66 2.09 10.8 2.69ZM12.5 4.2C12.5 3.92 12.28 3.7 12 3.7C11.72 3.7 11.5 3.92 11.5 4.2C11.5 4.48 11.72 4.7 12 4.7C12.28 4.7 12.5 4.48 12.5 4.2ZM8.75 10.25C8.75 9.84 8.41 9.5 8 9.5C7.59 9.5 7.25 9.84 7.25 10.25C7.25 10.66 7.59 11 8 11C8.41 11 8.75 10.66 8.75 10.25ZM8 9C8.25 9 8.46 8.82 8.49 8.57L8.99 5.07C9.02 4.93 8.97 4.78 8.88 4.67C8.78 4.56 8.64 4.5 8.5 4.5H7.5C7.36 4.5 7.22 4.56 7.12 4.67C7.03 4.78 6.98 4.93 7.01 5.07L7.51 8.57C7.54 8.82 7.75 9 8 9Z"
fill="currentColor"
/>
</svg>
@@ -817,7 +789,7 @@ export const TaskIcon2 = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M10.7952 2.69088C11.0415 2.82056 11.1093 3.13429 10.9594 3.36884C10.8096 3.60339 10.4988 3.66949 10.2504 3.54401C9.32041 3.07434 8.26239 2.90549 7.22489 3.06856C6.0207 3.25783 4.92738 3.88116 4.15112 4.821C3.37485 5.76084 2.96929 6.95223 3.01091 8.17048C3.05254 9.38874 3.53848 10.5497 4.37708 11.4343C5.21569 12.319 6.349 12.8662 7.5633 12.9729C8.77759 13.0795 9.98894 12.7382 10.9689 12.0132C11.9489 11.2882 12.6297 10.2298 12.883 9.03743C13.1013 8.01012 12.9892 6.94459 12.5698 5.99087C12.4578 5.73606 12.5404 5.42931 12.7826 5.29217C13.0249 5.15502 13.3345 5.23949 13.4509 5.49236C13.989 6.66209 14.1384 7.97872 13.869 9.24691C13.5645 10.68 12.7462 11.9522 11.5684 12.8236C10.3906 13.6949 8.93461 14.1052 7.47512 13.977C6.01563 13.8488 4.65347 13.1911 3.64553 12.1278C2.63759 11.0645 2.05353 9.66916 2.0035 8.20491C1.95347 6.74065 2.44093 5.3087 3.37394 4.17908C4.30695 3.04947 5.62103 2.30028 7.06837 2.07278C8.34913 1.87148 9.65591 2.09101 10.7952 2.69088ZM12.5 4.19997C12.5 3.92382 12.2761 3.69997 12 3.69997C11.7239 3.69997 11.5 3.92382 11.5 4.19997C11.5 4.47611 11.7239 4.69997 12 4.69997C12.2761 4.69997 12.5 4.47611 12.5 4.19997ZM9.49006 5.99518C9.29479 5.79992 9.2948 5.48334 9.49006 5.28807C9.68532 5.09281 10.0019 5.09281 10.1972 5.28807L10.712 5.8029C10.9073 5.99816 10.9073 6.31474 10.712 6.51001C10.5167 6.70527 10.2001 6.70527 10.0049 6.51001L9.49006 5.99518ZM9.56275 6.95933L9.04078 6.43736C8.84552 6.2421 8.52893 6.2421 8.33367 6.43736L5.14645 9.62459C5.05268 9.71835 5 9.84553 5 9.97814V10.5001C5 10.7762 5.22386 11.0001 5.5 11.0001H6.02197C6.15458 11.0001 6.28175 10.9474 6.37552 10.8537L9.56275 7.66644C9.75801 7.47117 9.75801 7.15459 9.56275 6.95933Z"
d="M10.8 2.69C11.04 2.82 11.11 3.13 10.96 3.37C10.81 3.6 10.5 3.67 10.25 3.54C9.32 3.07 8.26 2.91 7.22 3.07C6.02 3.26 4.93 3.88 4.15 4.821C3.37 5.76 2.97 6.95 3.01 8.17C3.05 9.39 3.54 10.55 4.38 11.43C5.22 12.319 6.349 12.87 7.56 12.97C8.78 13.08 9.99 12.74 10.97 12.01C11.95 11.29 12.63 10.23 12.883 9.04C13.1 8.01 12.99 6.94 12.57 5.99C12.46 5.74 12.54 5.43 12.78 5.29C13.02 5.16 13.33 5.24 13.45 5.49C13.989 6.66 14.14 7.98 13.869 9.25C13.56 10.68 12.75 11.95 11.57 12.82C10.39 13.69 8.93 14.11 7.48 13.977C6.02 13.85 4.65 13.19 3.65 12.13C2.64 11.06 2.05 9.67 2 8.2C1.95 6.74 2.44 5.31 3.37 4.18C4.31 3.05 5.62 2.3 7.07 2.07C8.35 1.87 9.66 2.09 10.8 2.69ZM12.5 4.2C12.5 3.92 12.28 3.7 12 3.7C11.72 3.7 11.5 3.92 11.5 4.2C11.5 4.48 11.72 4.7 12 4.7C12.28 4.7 12.5 4.48 12.5 4.2ZM9.49 6C9.29 5.8 9.29 5.48 9.49 5.29C9.69 5.09 10 5.09 10.2 5.29L10.712 5.8C10.91 6 10.91 6.31 10.712 6.51C10.52 6.71 10.2 6.71 10 6.51L9.49 6ZM9.56 6.96L9.04 6.44C8.85 6.24 8.53 6.24 8.33 6.44L5.15 9.62C5.05 9.72 5 9.85 5 9.98V10.5C5 10.78 5.22 11 5.5 11H6.02C6.15 11 6.28 10.95 6.38 10.85L9.56 7.67C9.76 7.47 9.76 7.15 9.56 6.96Z"
fill="currentColor"
/>
</svg>
@@ -835,7 +807,7 @@ export const TaskIcon3 = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M10.7952 2.69088C11.0415 2.82056 11.1093 3.13429 10.9594 3.36884C10.8096 3.60339 10.4988 3.66949 10.2504 3.54401C9.32041 3.07434 8.26239 2.90549 7.22488 3.06856C6.0207 3.25783 4.92738 3.88116 4.15112 4.821C3.37485 5.76084 2.96929 6.95223 3.01091 8.17048C3.05254 9.38874 3.53848 10.5497 4.37708 11.4343C5.21569 12.319 6.349 12.8662 7.5633 12.9729C8.77759 13.0795 9.98894 12.7382 10.9689 12.0132C11.9489 11.2882 12.6297 10.2298 12.883 9.03743C13.1013 8.01012 12.9892 6.94459 12.5698 5.99087C12.4578 5.73606 12.5404 5.42931 12.7826 5.29217C13.0249 5.15502 13.3345 5.23949 13.4509 5.49236C13.989 6.66209 14.1384 7.97872 13.869 9.24691C13.5645 10.68 12.7462 11.9522 11.5684 12.8236C10.3906 13.6949 8.93461 14.1052 7.47512 13.977C6.01563 13.8488 4.65347 13.1911 3.64553 12.1278C2.63759 11.0645 2.05353 9.66916 2.0035 8.20491C1.95347 6.74065 2.44093 5.3087 3.37394 4.17908C4.30695 3.04947 5.62103 2.30028 7.06837 2.07278C8.34913 1.87148 9.65591 2.09101 10.7952 2.69088ZM12.5 4.19997C12.5 3.92382 12.2761 3.69997 12 3.69997C11.7239 3.69997 11.5 3.92382 11.5 4.19997C11.5 4.47611 11.7239 4.69997 12 4.69997C12.2761 4.69997 12.5 4.47611 12.5 4.19997ZM11.3796 6.32543C11.5593 6.11577 11.5351 5.80012 11.3254 5.62041C11.1157 5.4407 10.8001 5.46498 10.6204 5.67464L7.32524 9.51897L5.3 8.00004C5.07909 7.83435 4.76569 7.87913 4.6 8.10004C4.43432 8.32095 4.47909 8.63435 4.7 8.80004L7.1 10.6C7.31081 10.7581 7.60814 10.7255 7.77963 10.5254L11.3796 6.32543Z"
d="M10.8 2.69C11.04 2.82 11.11 3.13 10.96 3.37C10.81 3.6 10.5 3.67 10.25 3.54C9.32 3.07 8.26 2.91 7.22 3.07C6.02 3.26 4.93 3.88 4.15 4.821C3.37 5.76 2.97 6.95 3.01 8.17C3.05 9.39 3.54 10.55 4.38 11.43C5.22 12.319 6.349 12.87 7.56 12.97C8.78 13.08 9.99 12.74 10.97 12.01C11.95 11.29 12.63 10.23 12.883 9.04C13.1 8.01 12.99 6.94 12.57 5.99C12.46 5.74 12.54 5.43 12.78 5.29C13.02 5.16 13.33 5.24 13.45 5.49C13.989 6.66 14.14 7.98 13.869 9.25C13.56 10.68 12.75 11.95 11.57 12.82C10.39 13.69 8.93 14.11 7.48 13.977C6.02 13.85 4.65 13.19 3.65 12.13C2.64 11.06 2.05 9.67 2 8.2C1.95 6.74 2.44 5.31 3.37 4.18C4.31 3.05 5.62 2.3 7.07 2.07C8.35 1.87 9.66 2.09 10.8 2.69ZM12.5 4.2C12.5 3.92 12.28 3.7 12 3.7C11.72 3.7 11.5 3.92 11.5 4.2C11.5 4.48 11.72 4.7 12 4.7C12.28 4.7 12.5 4.48 12.5 4.2ZM11.38 6.33C11.56 6.12 11.54 5.8 11.33 5.62C11.12 5.44 10.8 5.46 10.62 5.67L7.33 9.52L5.3 8C5.08 7.83 4.77 7.88 4.6 8.1C4.43 8.32 4.48 8.63 4.7 8.8L7.1 10.6C7.31 10.76 7.61 10.73 7.78 10.53L11.38 6.33Z"
fill="currentColor"
/>
</svg>
@@ -853,7 +825,7 @@ export const TaskIcon4 = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M5.75 5.15302C5.75 3.96529 6.71285 3.00244 7.90058 3.00244H8H8.09942C9.28715 3.00244 10.25 3.96529 10.25 5.15302C10.25 5.60125 10.1099 6.03828 9.84942 6.40302L9.33999 7.11622C9.11887 7.42579 9 7.79672 9 8.17715C9 9.18523 9.81721 10.0024 10.8253 10.0024H12.5C12.7761 10.0024 13 10.2263 13 10.5024C13 10.7786 12.7761 11.0024 12.5 11.0024H10C9.72386 11.0024 9.5 11.2263 9.5 11.5024C9.5 11.7786 9.72386 12.0024 10 12.0024H12.5C13.3284 12.0024 14 11.3309 14 10.5024C14 9.67401 13.3284 9.00244 12.5 9.00244H10.8253C10.3695 9.00244 10 8.63295 10 8.17715C10 8.00514 10.0537 7.83743 10.1537 7.69746L10.6632 6.98426C11.0448 6.44992 11.25 5.80968 11.25 5.15302C11.25 3.413 9.83944 2.00244 8.09942 2.00244H8H7.90058C6.16056 2.00244 4.75 3.413 4.75 5.15302C4.75 5.80968 4.95518 6.44992 5.33685 6.98426L5.84628 7.69746C5.94625 7.83743 6 8.00514 6 8.17715C6 8.63295 5.6305 9.00244 5.17471 9.00244H3.5C2.67157 9.00244 2 9.67401 2 10.5024C2 11.3309 2.67157 12.0024 3.5 12.0024H6C6.27614 12.0024 6.5 11.7786 6.5 11.5024C6.5 11.2263 6.27614 11.0024 6 11.0024H3.5C3.22386 11.0024 3 10.7786 3 10.5024C3 10.2263 3.22386 10.0024 3.5 10.0024H5.17471C6.18279 10.0024 7 9.18523 7 8.17715C7 7.79672 6.88113 7.42579 6.66001 7.11622L6.15058 6.40302C5.89005 6.03828 5.75 5.60125 5.75 5.15302ZM5.56 12.8774C5.25072 12.8774 5 13.1282 5 13.4374C5 13.7467 5.25072 13.9974 5.56 13.9974H10.44C10.7493 13.9974 11 13.7467 11 13.4374C11 13.1282 10.7493 12.8774 10.44 12.8774H5.56Z"
d="M5.75 5.15C5.75 3.97 6.71 3 7.9 3H8H8.1C9.29 3 10.25 3.97 10.25 5.15C10.25 5.6 10.11 6.04 9.85 6.4L9.34 7.12C9.12 7.43 9 7.8 9 8.18C9 9.19 9.82 10 10.83 10H12.5C12.78 10 13 10.23 13 10.5C13 10.78 12.78 11 12.5 11H10C9.72 11 9.5 11.23 9.5 11.5C9.5 11.78 9.72 12 10 12H12.5C13.33 12 14 11.33 14 10.5C14 9.67 13.33 9 12.5 9H10.83C10.37 9 10 8.63 10 8.18C10 8.01 10.05 7.84 10.15 7.7L10.66 6.98C11.04 6.45 11.25 5.81 11.25 5.15C11.25 3.413 9.84 2 8.1 2H8H7.9C6.16 2 4.75 3.413 4.75 5.15C4.75 5.81 4.96 6.45 5.34 6.98L5.85 7.7C5.95 7.84 6 8.01 6 8.18C6 8.63 5.63 9 5.17 9H3.5C2.67 9 2 9.67 2 10.5C2 11.33 2.67 12 3.5 12H6C6.28 12 6.5 11.78 6.5 11.5C6.5 11.23 6.28 11 6 11H3.5C3.22 11 3 10.78 3 10.5C3 10.23 3.22 10 3.5 10H5.17C6.18 10 7 9.19 7 8.18C7 7.8 6.88 7.43 6.66 7.12L6.15 6.4C5.89 6.04 5.75 5.6 5.75 5.15ZM5.56 12.88C5.25 12.88 5 13.13 5 13.44C5 13.75 5.25 14 5.56 14H10.44C10.75 14 11 13.75 11 13.44C11 13.13 10.75 12.88 10.44 12.88H5.56Z"
fill="currentColor"
/>
</svg>
@@ -871,7 +843,7 @@ export const TaskIcon5 = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM10.8535 5.14645C11.0488 5.34171 11.0488 5.65829 10.8535 5.85355L8.13847 8.5686C7.80583 8.90124 7.28632 8.95706 6.89061 8.70267L5.22959 7.63488C4.99731 7.48555 4.93005 7.17619 5.07938 6.94391C5.22871 6.71162 5.53806 6.64437 5.77035 6.7937L7.43137 7.8615L10.1464 5.14645C10.3417 4.95118 10.6583 4.95118 10.8535 5.14645ZM6.49997 10C6.22383 10 5.99997 10.2239 5.99997 10.5C5.99997 10.7761 6.22383 11 6.49997 11H9.49997C9.77611 11 9.99997 10.7761 9.99997 10.5C9.99997 10.2239 9.77611 10 9.49997 10H6.49997Z"
d="M8 2.5C4.96 2.5 2.5 4.96 2.5 8C2.5 11.04 4.96 13.5 8 13.5C11.04 13.5 13.5 11.04 13.5 8C13.5 4.96 11.04 2.5 8 2.5ZM1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM10.85 5.15C11.05 5.34 11.05 5.66 10.85 5.85L8.14 8.57C7.81 8.9 7.29 8.96 6.89 8.7L5.23 7.63C5 7.49 4.93 7.18 5.08 6.94C5.23 6.71 5.54 6.64 5.77 6.79L7.43 7.86L10.15 5.15C10.34 4.95 10.66 4.95 10.85 5.15ZM6.5 10C6.22 10 6 10.22 6 10.5C6 10.78 6.22 11 6.5 11H9.5C9.78 11 10 10.78 10 10.5C10 10.22 9.78 10 9.5 10H6.5Z"
fill="currentColor"
/>
</svg>
@@ -889,7 +861,7 @@ export const TaskIcon6 = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M3 5.5C2.72386 5.5 2.5 5.27614 2.5 5L2.5 3.5C2.5 3.22386 2.72386 3 3 3C3.27614 3 3.5 3.22386 3.5 3.5L3.5 3.72155C4.72705 2.62162 6.32645 2 8 2H8.17157C10.1152 2 11.9792 2.7721 13.3536 4.14645C13.5488 4.34171 13.5488 4.65829 13.3536 4.85355C13.1583 5.04882 12.8417 5.04882 12.6464 4.85355C11.4596 3.66674 9.84998 3 8.17157 3H8C6.55763 3 5.17992 3.54217 4.13009 4.5H4.5C4.77615 4.5 5 4.72386 5 5C5 5.27614 4.77615 5.5 4.5 5.5H3ZM11.9993 10.5C11.7231 10.5 11.4993 10.7239 11.4993 11C11.4993 11.2365 11.6634 11.4346 11.884 11.4866C10.8325 12.4528 9.44891 13 8 13H7.82843C6.15002 13 4.54036 12.3333 3.35355 11.1464C3.15829 10.9512 2.84171 10.9512 2.64645 11.1464C2.45118 11.3417 2.45118 11.6583 2.64645 11.8536C4.02079 13.2279 5.88481 14 7.82843 14H8C9.69852 14 11.3206 13.3596 12.5545 12.2286C12.6375 12.3898 12.8055 12.5 12.9993 12.5C13.2754 12.5 13.4993 12.2761 13.4993 12V11C13.4993 10.7239 13.2754 10.5 12.9993 10.5H11.9993ZM9.50049 6.15909C9.50049 6.58622 9.32196 6.97165 9.03546 7.24484C8.91043 7.36405 8.81866 7.52068 8.81866 7.69342C8.81866 7.97571 9.0475 8.20454 9.32979 8.20454H10.1823C10.6342 8.20454 11.0005 8.57086 11.0005 9.02273C11.0005 9.4746 10.6342 9.84091 10.1823 9.84091H5.81867C5.3668 9.84091 5.00048 9.4746 5.00048 9.02273C5.00048 8.57086 5.3668 8.20454 5.81867 8.20454H6.67117C6.95346 8.20454 7.1823 7.97571 7.1823 7.69342C7.1823 7.52067 7.09053 7.36404 6.96551 7.24483C6.67901 6.97164 6.50048 6.58622 6.50048 6.15909C6.50048 5.33066 7.17206 4.65909 8.00048 4.65909C8.82891 4.65909 9.50049 5.33066 9.50049 6.15909ZM7.00048 10.5C6.72434 10.5 6.50048 10.7239 6.50048 11C6.50048 11.2761 6.72434 11.5 7.00048 11.5H9.00048C9.27663 11.5 9.50048 11.2761 9.50048 11C9.50048 10.7239 9.27663 10.5 9.00048 10.5H7.00048Z"
d="M3 5.5C2.72 5.5 2.5 5.28 2.5 5L2.5 3.5C2.5 3.22 2.72 3 3 3C3.28 3 3.5 3.22 3.5 3.5L3.5 3.72C4.73 2.62 6.33 2 8 2H8.17C10.12 2 11.98 2.77 13.35 4.15C13.55 4.34 13.55 4.66 13.35 4.85C13.16 5.05 12.84 5.05 12.65 4.85C11.46 3.67 9.85 3 8.17 3H8C6.56 3 5.18 3.54 4.13 4.5H4.5C4.78 4.5 5 4.72 5 5C5 5.28 4.78 5.5 4.5 5.5H3ZM12 10.5C11.72 10.5 11.5 10.72 11.5 11C11.5 11.24 11.66 11.43 11.884 11.49C10.83 12.45 9.45 13 8 13H7.83C6.15 13 4.54 12.33 3.35 11.15C3.16 10.95 2.84 10.95 2.65 11.15C2.45 11.34 2.45 11.66 2.65 11.85C4.02 13.23 5.88 14 7.83 14H8C9.7 14 11.32 13.36 12.55 12.23C12.64 12.39 12.81 12.5 13 12.5C13.28 12.5 13.5 12.28 13.5 12V11C13.5 10.72 13.28 10.5 13 10.5H12ZM9.5 6.16C9.5 6.59 9.32 6.97 9.04 7.24C8.91 7.36 8.82 7.52 8.82 7.69C8.82 7.98 9.05 8.2 9.33 8.2H10.18C10.63 8.2 11 8.57 11 9.02C11 9.47 10.63 9.84 10.18 9.84H5.82C5.37 9.84 5 9.47 5 9.02C5 8.57 5.37 8.2 5.82 8.2H6.67C6.95 8.2 7.18 7.98 7.18 7.69C7.18 7.52 7.09 7.36 6.97 7.24C6.68 6.97 6.5 6.59 6.5 6.16C6.5 5.33 7.17 4.66 8 4.66C8.83 4.66 9.5 5.33 9.5 6.16ZM7 10.5C6.72 10.5 6.5 10.72 6.5 11C6.5 11.28 6.72 11.5 7 11.5H9C9.28 11.5 9.5 11.28 9.5 11C9.5 10.72 9.28 10.5 9 10.5H7Z"
fill="currentColor"
/>
</svg>
@@ -907,7 +879,7 @@ export const TaskIcon7 = ({ ...props }) => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM6.14642 5.14645C6.34168 4.95118 6.65826 4.95118 6.85352 5.14645L7.99997 6.29289L9.14642 5.14645C9.34168 4.95118 9.65826 4.95118 9.85352 5.14645C10.0488 5.34171 10.0488 5.65829 9.85352 5.85355L8.70708 7L9.85352 8.14645C10.0488 8.34171 10.0488 8.65829 9.85352 8.85355C9.65826 9.04882 9.34168 9.04882 9.14642 8.85355L7.99997 7.70711L6.85352 8.85355C6.65826 9.04882 6.34168 9.04882 6.14642 8.85355C5.95115 8.65829 5.95115 8.34171 6.14642 8.14645L7.29286 7L6.14642 5.85355C5.95115 5.65829 5.95115 5.34171 6.14642 5.14645ZM6.49997 10C6.22383 10 5.99997 10.2239 5.99997 10.5C5.99997 10.7761 6.22383 11 6.49997 11H9.49997C9.77611 11 9.99997 10.7761 9.99997 10.5C9.99997 10.2239 9.77611 10 9.49997 10H6.49997Z"
d="M8 2.5C4.96 2.5 2.5 4.96 2.5 8C2.5 11.04 4.96 13.5 8 13.5C11.04 13.5 13.5 11.04 13.5 8C13.5 4.96 11.04 2.5 8 2.5ZM1.5 8C1.5 4.41 4.41 1.5 8 1.5C11.59 1.5 14.5 4.41 14.5 8C14.5 11.59 11.59 14.5 8 14.5C4.41 14.5 1.5 11.59 1.5 8ZM6.15 5.15C6.34 4.95 6.66 4.95 6.85 5.15L8 6.29L9.15 5.15C9.34 4.95 9.66 4.95 9.85 5.15C10.05 5.34 10.05 5.66 9.85 5.85L8.71 7L9.85 8.15C10.05 8.34 10.05 8.66 9.85 8.85C9.66 9.05 9.34 9.05 9.15 8.85L8 7.71L6.85 8.85C6.66 9.05 6.34 9.05 6.15 8.85C5.95 8.66 5.95 8.34 6.15 8.15L7.29 7L6.15 5.85C5.95 5.66 5.95 5.34 6.15 5.15ZM6.5 10C6.22 10 6 10.22 6 10.5C6 10.78 6.22 11 6.5 11H9.5C9.78 11 10 10.78 10 10.5C10 10.22 9.78 10 9.5 10H6.5Z"
fill="currentColor"
/>
</svg>
@@ -923,7 +895,7 @@ export const DispatchTaskIcon = () => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M10 5C10 5.55228 9.55228 6 9 6C8.44772 6 8 5.55228 8 5C8 4.44772 8.44772 4 9 4C9.55228 4 10 4.44772 10 5ZM11 5C11 6.10457 10.1046 7 9 7C7.89543 7 7 6.10457 7 5C7 3.89543 7.89543 3 9 3C10.1046 3 11 3.89543 11 5ZM5.49946 8.05963C5.77041 7.57083 6.14031 7.14491 6.58467 6.80861L6.59896 6.79784C6.60985 6.78968 6.61977 6.78064 6.62868 6.77089C6.69207 6.70154 6.70423 6.59639 6.65008 6.5161L6.31589 6.02064C6.25412 5.92907 6.12954 5.90458 6.04051 5.96996L6.00048 5.99967C5.9831 6.0127 5.96582 6.02584 5.94862 6.03908C5.40862 6.45508 4.95846 6.97784 4.62691 7.57597C4.29537 8.1741 4.09059 8.83288 4.02396 9.51127C4.02184 9.53287 4.01985 9.5545 4.01801 9.57614L4.01403 9.62583C4.00577 9.73598 4.09255 9.82865 4.20294 9.8325L4.8002 9.85336C4.89699 9.85674 4.97972 9.7907 5.00494 9.70019C5.00849 9.68747 5.0109 9.67427 5.01205 9.66071L5.01361 9.64288C5.06333 9.08783 5.22851 8.54843 5.49946 8.05963ZM12.5006 8.05963C12.2296 7.57083 11.8597 7.14491 11.4154 6.80861L11.4011 6.79784C11.3902 6.78968 11.3803 6.78064 11.3713 6.77089C11.308 6.70154 11.2958 6.59639 11.35 6.5161L11.6841 6.02064C11.7459 5.92907 11.8705 5.90458 11.9595 5.96996L11.9995 5.99967C12.0169 6.0127 12.0342 6.02584 12.0514 6.03908C12.5914 6.45508 13.0416 6.97784 13.3731 7.57597C13.7047 8.1741 13.9094 8.83288 13.9761 9.51127C13.9782 9.53287 13.9802 9.5545 13.982 9.57614L13.986 9.62583C13.9943 9.73598 13.9075 9.82865 13.7971 9.8325L13.1998 9.85336C13.103 9.85674 13.0203 9.7907 12.9951 9.70019C12.9915 9.68747 12.9891 9.67427 12.988 9.66071L12.9864 9.64288C12.9367 9.08783 12.7715 8.54843 12.5006 8.05963ZM10.7219 13.6131C10.1806 13.871 9.58744 14.0045 8.98604 14.0024C8.38464 14.0003 7.79241 13.8627 7.253 13.601L7.2369 13.5931C7.22469 13.5871 7.21213 13.5824 7.19941 13.5789C7.10883 13.5539 7.00962 13.5908 6.96266 13.6755L6.67293 14.1982C6.61938 14.2948 6.65412 14.4169 6.75279 14.4666L6.79743 14.4887C6.81693 14.4983 6.83648 14.5077 6.85609 14.5171C7.51958 14.832 8.24556 14.9974 8.98256 15C9.71956 15.0026 10.4467 14.8422 11.1124 14.5319C11.132 14.5227 11.1516 14.5134 11.1712 14.504L11.216 14.4821C11.315 14.4332 11.3506 14.3113 11.2977 14.2143L11.0117 13.6896C10.9653 13.6046 10.8663 13.567 10.7756 13.5914C10.7628 13.5948 10.7503 13.5994 10.738 13.6053L10.7219 13.6131ZM4.5 13.5C5.05228 13.5 5.5 13.0523 5.5 12.5C5.5 11.9477 5.05228 11.5 4.5 11.5C3.94772 11.5 3.5 11.9477 3.5 12.5C3.5 13.0523 3.94772 13.5 4.5 13.5ZM4.5 14.5C5.60457 14.5 6.5 13.6046 6.5 12.5C6.5 11.3954 5.60457 10.5 4.5 10.5C3.39543 10.5 2.5 11.3954 2.5 12.5C2.5 13.6046 3.39543 14.5 4.5 14.5ZM14.5 12.5C14.5 13.0523 14.0523 13.5 13.5 13.5C12.9477 13.5 12.5 13.0523 12.5 12.5C12.5 11.9477 12.9477 11.5 13.5 11.5C14.0523 11.5 14.5 11.9477 14.5 12.5ZM15.5 12.5C15.5 13.6046 14.6046 14.5 13.5 14.5C12.3954 14.5 11.5 13.6046 11.5 12.5C11.5 11.3954 12.3954 10.5 13.5 10.5C14.6046 10.5 15.5 11.3954 15.5 12.5Z"
d="M10 5C10 5.55 9.55 6 9 6C8.45 6 8 5.55 8 5C8 4.45 8.45 4 9 4C9.55 4 10 4.45 10 5ZM11 5C11 6.1 10.1 7 9 7C7.9 7 7 6.1 7 5C7 3.9 7.9 3 9 3C10.1 3 11 3.9 11 5ZM5.5 8.06C5.77 7.57 6.14 7.14 6.58 6.81L6.6 6.8C6.61 6.79 6.62 6.78 6.63 6.77C6.69 6.7 6.7 6.6 6.65 6.52L6.32 6.02C6.25 5.93 6.13 5.9 6.04 5.97L6 6C5.98 6.01 5.97 6.03 5.95 6.04C5.41 6.46 4.96 6.98 4.63 7.58C4.3 8.17 4.09 8.83 4.02 9.51C4.02 9.53 4.02 9.55 4.02 9.58L4.01 9.63C4.01 9.74 4.09 9.83 4.2 9.83L4.8 9.85C4.9 9.86 4.98 9.79 5 9.7C5.01 9.69 5.01 9.67 5.01 9.66L5.01 9.64C5.06 9.09 5.23 8.55 5.5 8.06ZM12.5 8.06C12.23 7.57 11.86 7.14 11.42 6.81L11.4 6.8C11.39 6.79 11.38 6.78 11.37 6.77C11.308 6.7 11.3 6.6 11.35 6.52L11.68 6.02C11.75 5.93 11.87 5.9 11.96 5.97L12 6C12.02 6.01 12.03 6.03 12.05 6.04C12.59 6.46 13.04 6.98 13.37 7.58C13.7 8.17 13.91 8.83 13.98 9.51C13.98 9.53 13.98 9.55 13.982 9.58L13.986 9.63C13.99 9.74 13.91 9.83 13.8 9.83L13.2 9.85C13.103 9.86 13.02 9.79 13 9.7C12.99 9.69 12.99 9.67 12.988 9.66L12.99 9.64C12.94 9.09 12.77 8.55 12.5 8.06ZM10.72 13.61C10.18 13.871 9.59 14 8.99 14C8.38 14 7.79 13.86 7.253 13.601L7.24 13.59C7.22 13.59 7.21 13.58 7.2 13.58C7.11 13.55 7.01 13.59 6.96 13.68L6.67 14.2C6.62 14.29 6.65 14.42 6.75 14.47L6.8 14.49C6.82 14.5 6.84 14.51 6.86 14.52C7.52 14.832 8.25 15 8.98 15C9.72 15 10.45 14.84 11.11 14.53C11.132 14.52 11.15 14.51 11.17 14.504L11.216 14.48C11.315 14.43 11.35 14.31 11.3 14.21L11.01 13.69C10.97 13.6 10.87 13.567 10.78 13.59C10.76 13.59 10.75 13.6 10.738 13.61L10.72 13.61ZM4.5 13.5C5.05 13.5 5.5 13.05 5.5 12.5C5.5 11.95 5.05 11.5 4.5 11.5C3.95 11.5 3.5 11.95 3.5 12.5C3.5 13.05 3.95 13.5 4.5 13.5ZM4.5 14.5C5.6 14.5 6.5 13.6 6.5 12.5C6.5 11.4 5.6 10.5 4.5 10.5C3.4 10.5 2.5 11.4 2.5 12.5C2.5 13.6 3.4 14.5 4.5 14.5ZM14.5 12.5C14.5 13.05 14.05 13.5 13.5 13.5C12.95 13.5 12.5 13.05 12.5 12.5C12.5 11.95 12.95 11.5 13.5 11.5C14.05 11.5 14.5 11.95 14.5 12.5ZM15.5 12.5C15.5 13.6 14.6 14.5 13.5 14.5C12.4 14.5 11.5 13.6 11.5 12.5C11.5 11.4 12.4 10.5 13.5 10.5C14.6 10.5 15.5 11.4 15.5 12.5Z"
fill="currentColor"
/>
</svg>
@@ -939,7 +911,7 @@ export const FreeTaskIcon = () => (
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.89645 4.13402C11.0582 2.97225 12.9418 2.97226 14.1036 4.13402C15.2653 5.29578 15.2653 7.17936 14.1036 8.34112L12.495 9.9497C12.4169 10.0278 12.2902 10.0278 12.2121 9.9497L11.7879 9.52544C11.7098 9.44733 11.7098 9.3207 11.7879 9.24259L13.3964 7.63402C14.1677 6.86278 14.1677 5.61236 13.3964 4.84112C12.6252 4.06989 11.3748 4.06989 10.6036 4.84112L8.99497 6.4497C8.91687 6.52781 8.79024 6.52781 8.71213 6.4497L8.28787 6.02544C8.20976 5.94733 8.20976 5.8207 8.28787 5.74259L9.89645 4.13402ZM6.21213 8.9497C6.29024 9.02781 6.29024 9.15444 6.21213 9.23254L5.10355 10.3411C4.33232 11.1124 4.33232 12.3628 5.10355 13.134C5.87479 13.9053 7.12521 13.9053 7.89645 13.134L9.50503 11.5254C9.58313 11.4473 9.70976 11.4473 9.78787 11.5254L10.2121 11.9497C10.2902 12.0278 10.2902 12.1544 10.2121 12.2325L8.60355 13.8411C7.44179 15.0029 5.55821 15.0029 4.39645 13.8411C3.23469 12.6794 3.23469 10.7958 4.39645 9.63402L5.50503 8.52544C5.58313 8.44733 5.70976 8.44733 5.78787 8.52544L6.21213 8.9497ZM11.3 12.7373C11.4105 12.7373 11.5 12.8268 11.5 12.9373V14.5373C11.5 14.6478 11.4105 14.7373 11.3 14.7373H10.7C10.5895 14.7373 10.5 14.6478 10.5 14.5373V12.9373C10.5 12.8268 10.5895 12.7373 10.7 12.7373H11.3ZM13 10.4373C13 10.3268 13.0895 10.2373 13.2 10.2373H14.8C14.9105 10.2373 15 10.3268 15 10.4373V11.0373C15 11.1478 14.9105 11.2373 14.8 11.2373H13.2C13.0895 11.2373 13 11.1478 13 11.0373V10.4373ZM14.2121 13.5252C14.2902 13.4471 14.2902 13.3204 14.2121 13.2423L12.995 12.0252C12.9169 11.9471 12.7902 11.9471 12.7121 12.0252L12.2879 12.4494C12.2098 12.5275 12.2098 12.6542 12.2879 12.7323L13.505 13.9494C13.5831 14.0275 13.7098 14.0275 13.7879 13.9494L14.2121 13.5252ZM6.7 3.7373C6.58954 3.7373 6.5 3.82685 6.5 3.9373V5.5373C6.5 5.64776 6.58954 5.7373 6.7 5.7373H7.3C7.41046 5.7373 7.5 5.64776 7.5 5.5373V3.9373C7.5 3.82685 7.41046 3.7373 7.3 3.7373H6.7ZM3 8.0373C3 8.14776 3.08954 8.2373 3.2 8.2373H4.8C4.91046 8.2373 5 8.14776 5 8.0373V7.4373C5 7.32685 4.91046 7.2373 4.8 7.2373H3.2C3.08954 7.2373 3 7.32685 3 7.4373V8.0373ZM5.28787 6.44944C5.20976 6.52754 5.08313 6.52754 5.00503 6.44944L3.78787 5.23228C3.70976 5.15417 3.70976 5.02754 3.78787 4.94944L4.21213 4.52517C4.29024 4.44707 4.41687 4.44707 4.49497 4.52517L5.71213 5.74233C5.79024 5.82043 5.79024 5.94707 5.71213 6.02517L5.28787 6.44944Z"
d="M9.9 4.13C11.06 2.97 12.94 2.97 14.1 4.13C15.27 5.3 15.27 7.18 14.1 8.34L12.495 9.95C12.42 10.03 12.29 10.03 12.21 9.95L11.79 9.53C11.71 9.45 11.71 9.32 11.79 9.24L13.4 7.63C14.17 6.86 14.17 5.61 13.4 4.84C12.63 4.07 11.37 4.07 10.6 4.84L8.99 6.45C8.92 6.53 8.79 6.53 8.71 6.45L8.29 6.03C8.21 5.95 8.21 5.82 8.29 5.74L9.9 4.13ZM6.21 8.95C6.29 9.03 6.29 9.15 6.21 9.23L5.1 10.34C4.33 11.11 4.33 12.36 5.1 13.134C5.87 13.91 7.13 13.91 7.9 13.134L9.51 11.53C9.58 11.45 9.71 11.45 9.79 11.53L10.21 11.95C10.29 12.03 10.29 12.15 10.21 12.23L8.6 13.84C7.44 15 5.56 15 4.4 13.84C3.23 12.68 3.23 10.8 4.4 9.63L5.51 8.53C5.58 8.45 5.71 8.45 5.79 8.53L6.21 8.95ZM11.3 12.74C11.41 12.74 11.5 12.83 11.5 12.94V14.54C11.5 14.65 11.41 14.74 11.3 14.74H10.7C10.59 14.74 10.5 14.65 10.5 14.54V12.94C10.5 12.83 10.59 12.74 10.7 12.74H11.3ZM13 10.44C13 10.33 13.09 10.24 13.2 10.24H14.8C14.91 10.24 15 10.33 15 10.44V11.04C15 11.15 14.91 11.24 14.8 11.24H13.2C13.09 11.24 13 11.15 13 11.04V10.44ZM14.21 13.53C14.29 13.45 14.29 13.32 14.21 13.24L12.995 12.03C12.92 11.95 12.79 11.95 12.71 12.03L12.29 12.45C12.21 12.53 12.21 12.65 12.29 12.73L13.505 13.95C13.58 14.03 13.71 14.03 13.79 13.95L14.21 13.53ZM6.7 3.74C6.59 3.74 6.5 3.83 6.5 3.94V5.54C6.5 5.65 6.59 5.74 6.7 5.74H7.3C7.41 5.74 7.5 5.65 7.5 5.54V3.94C7.5 3.83 7.41 3.74 7.3 3.74H6.7ZM3 8.04C3 8.15 3.09 8.24 3.2 8.24H4.8C4.91 8.24 5 8.15 5 8.04V7.44C5 7.33 4.91 7.24 4.8 7.24H3.2C3.09 7.24 3 7.33 3 7.44V8.04ZM5.29 6.45C5.21 6.53 5.08 6.53 5.01 6.45L3.79 5.23C3.71 5.15 3.71 5.03 3.79 4.95L4.21 4.53C4.29 4.45 4.42 4.45 4.49 4.53L5.71 5.74C5.79 5.82 5.79 5.95 5.71 6.03L5.29 6.45Z"
fill="currentColor"
/>
</svg>

View File

@@ -1,115 +0,0 @@
"use client"
import { usePermissionStore } from "@/components/label/store/auth"
import { usePathname } from "next/navigation"
interface PermissionItem {
[x: string]: [boolean, null, string]
}
type PermissionMap = {
[x: string]: PermissionItem
}
const mappingList: { [x: string]: [string, string] } = {
"/person/dashboard": ["task", "view"],
"/person/report": ["daily_work", "self_view"],
"/person/workload": ["workload", "self_view"],
}
export const headerBarCheckItems = (data: PermissionMap) => {
const projectTitle = [
["daily_work", "self_view"],
["label_schema", "view"],
["project", "view"],
["task", "view"],
] as const
let projectVisible = false
projectTitle.forEach(([prop, subProp]) => {
if (data[prop] && data[prop][subProp] && data[prop][subProp][0]) {
projectVisible = true
}
})
const staffTitle = [
["daily_work", "team_view"],
["user", "view"],
["user", "group_view"],
] as const
let staffVisible = false
staffTitle.forEach(([prop, subProp]) => {
if (data[prop] && data[prop][subProp] && data[prop][subProp][0]) {
staffVisible = true
}
})
return [projectVisible, staffVisible]
}
const useAuth = () => {
const pathname = usePathname()
const detailInfo = usePermissionStore((s) => s.detailInfo)
const permission = detailInfo?.permissions as PermissionMap | undefined
const roleName: string[] = detailInfo?.role_name ?? []
return {
hasPermission: () => {
if (
[
"/",
"/login",
"/management",
"/management/person/dashboard",
"/management/team",
].includes(pathname)
) {
return true
}
if (!permission) return false
if (mappingList[pathname]) {
const [prop, subProp] = mappingList[pathname]
return (
!!permission[prop] &&
!!permission[prop][subProp] &&
!!permission[prop][subProp][0]
)
}
return false
},
// path 跳转是否可见
canNv: (path: string, type = "view") => {
if (!permission) return false
if (mappingList[path]) {
const [prop] = mappingList[path]
return (
!!permission[prop] &&
!!permission[prop][type] &&
!!permission[prop][type][0]
)
}
return false
},
// 当前页面是否可见某个操作
isShow: (type = "view") => {
if (!permission) return false
if (mappingList[pathname]) {
const [prop] = mappingList[pathname]
return (
!!permission[prop] &&
!!permission[prop][type] &&
!!permission[prop][type][0]
)
}
return false
},
checkRole: (name: string) => {
if (!name) return false
return roleName.includes(name)
},
}
}
export default useAuth

View File

@@ -1,86 +0,0 @@
import { SVGProps } from "react"
export function SystemIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
width="16"
height="16"
viewBox="0 0 16 16"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}>
<path
d="M11.7284 13.9936H4.40328C4.33652 13.9924 4.2702 14.0045 4.20818 14.0293C4.14616 14.0541 4.08969 14.0909 4.04206 14.1378C3.99444 14.1846 3.95661 14.2405 3.93078 14.3021C3.90496 14.3637 3.89166 14.4299 3.89166 14.4967C3.89166 14.5636 3.90496 14.6297 3.93078 14.6914C3.95661 14.753 3.99444 14.8089 4.04206 14.8557C4.08969 14.9026 4.14616 14.9394 4.20818 14.9642C4.2702 14.989 4.33652 15.0011 4.40328 14.9999H11.7356C11.8017 15.0003 11.8672 14.9876 11.9284 14.9624C11.9896 14.9373 12.0451 14.9002 12.0919 14.8535C12.1387 14.8067 12.1757 14.751 12.2008 14.6898C12.226 14.6286 12.2387 14.563 12.2383 14.4968C12.2311 14.2235 12.0084 13.9936 11.7284 13.9936ZM14.3001 1H1.70284C1.51665 1 1.33807 1.07395 1.2063 1.20561C1.07453 1.33728 1.00033 1.5159 1 1.70227L1 12.3011C1.00029 12.4875 1.07447 12.6661 1.20624 12.7978C1.33802 12.9295 1.51662 13.0035 1.70284 13.0035H14.3001C14.4864 13.0035 14.665 12.9295 14.7967 12.7978C14.9285 12.6661 15.0027 12.4875 15.003 12.3011V1.70227C15.0026 1.5159 14.9284 1.33728 14.7967 1.20561C14.6649 1.07395 14.4863 1 14.3001 1ZM12.4325 7.62061C12.4098 7.72479 12.3593 7.82086 12.2863 7.89853C12.2133 7.97621 12.1206 8.03259 12.0181 8.06164L11.8866 8.09447C11.5312 8.19946 11.2295 8.43678 11.0436 8.75762C10.8577 9.07846 10.8016 9.45842 10.887 9.81935L10.9339 9.95098C10.9597 10.054 10.9573 10.162 10.9271 10.2638C10.8969 10.3655 10.8399 10.4573 10.7621 10.5294C10.598 10.6552 10.4243 10.7678 10.2424 10.866C10.0638 10.9708 9.87926 11.0653 9.68985 11.149C9.58837 11.1804 9.48026 11.1835 9.37715 11.158C9.27404 11.1325 9.17982 11.0793 9.10462 11.0042L9.00592 10.8989C8.73758 10.6422 8.38074 10.499 8.00961 10.499C7.63848 10.499 7.28164 10.6422 7.0133 10.8989L6.91459 11.0042C6.83727 11.0759 6.7424 11.1258 6.6396 11.1489C6.5368 11.172 6.42971 11.1675 6.32921 11.1359C6.13739 11.0574 5.95258 10.9627 5.77678 10.8529C5.595 10.7549 5.42129 10.6426 5.25731 10.5171C5.17964 10.4448 5.12278 10.353 5.0927 10.2513C5.06261 10.1495 5.0604 10.0415 5.08628 9.93863L5.1258 9.80684C5.20852 9.44598 5.15048 9.06712 4.96354 8.74764C4.7766 8.42817 4.47486 8.19219 4.11996 8.0879L3.98845 8.05507C3.78416 7.99582 3.62017 7.83119 3.57331 7.62061C3.54931 7.41519 3.53835 7.20846 3.54051 7.00166C3.535 6.79486 3.54597 6.58794 3.57331 6.38288C3.59835 6.2805 3.6498 6.18648 3.72252 6.11024C3.79523 6.034 3.88666 5.9782 3.98767 5.94841L4.12574 5.91558C4.86263 5.69827 5.29666 4.94081 5.11955 4.19039L5.08019 4.05876C5.05463 3.95571 5.057 3.8477 5.08706 3.74587C5.11712 3.64405 5.17379 3.5521 5.25121 3.47952C5.41508 3.35185 5.58878 3.23737 5.77069 3.13714C5.94903 3.03251 6.13316 2.93809 6.32218 2.85433C6.52616 2.78851 6.74966 2.84776 6.90756 2.99925L7.00612 3.10447C7.27278 3.36126 7.62806 3.5053 7.99809 3.50664C8.36813 3.50798 8.72444 3.36652 8.99295 3.11166L9.09166 3.00629C9.16791 2.93288 9.26212 2.88086 9.36482 2.85545C9.46752 2.83003 9.5751 2.83213 9.67673 2.86152C9.86856 2.94005 10.0534 3.03477 10.2292 3.14465C10.411 3.24265 10.5847 3.35494 10.7488 3.48046C10.8263 3.55298 10.8831 3.64489 10.9133 3.74671C10.9435 3.84853 10.946 3.95658 10.9206 4.05969L10.8737 4.19133C10.6896 4.93456 11.1302 5.69827 11.8668 5.91558L12.0116 5.94841C12.1137 5.97605 12.2062 6.03116 12.2793 6.10775C12.3523 6.18435 12.4029 6.2795 12.4258 6.38288C12.4531 6.58794 12.4642 6.79485 12.4587 7.00166C12.4698 7.20834 12.461 7.41561 12.4325 7.62061Z"
fill="currentColor"
/>
<path
d="M6.56703 8.2953C6.94761 8.67625 7.46378 8.89026 8.00199 8.89026C8.5402 8.89026 9.05637 8.67625 9.43694 8.2953C9.81751 7.91436 10.0313 7.39769 10.0313 6.85895C10.0313 6.32021 9.81751 5.80354 9.43694 5.42259C9.05637 5.04165 8.5402 4.82764 8.00199 4.82764C7.46378 4.82764 6.94761 5.04165 6.56703 5.42259C6.18646 5.80354 5.97266 6.32021 5.97266 6.85895C5.97266 7.39769 6.18646 7.91436 6.56703 8.2953Z"
fill="currentColor"
/>
</svg>
)
}
export const PersonalMenuIcon = (props: SVGProps<SVGSVGElement>) => (
<svg
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="1927"
width="14"
height="14"
fill="currentColor"
{...props}>
<path
d="M511.976 24.429a487.618 487.618 0 0 1 487.619 487.619 487.619 487.619 0 1 1-487.619-487.62z m60.953 518.095H451.024a182.86 182.86 0 0 0-129.3 53.557 182.86 182.86 0 0 0-53.557 129.3h487.619l-0.305-10.728a182.857 182.857 0 0 0-182.552-172.129z m-60.953-304.762a121.906 121.906 0 0 0-86.199 208.104 121.9 121.9 0 0 0 172.399 0 121.905 121.905 0 0 0-86.2-208.104z"
p-id="1928"></path>
</svg>
)
export const TaskMenuIcon = (props: SVGProps<SVGSVGElement>) => (
<svg
width="14"
height="14"
viewBox="0 0 14 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}>
<g clipPath="url(#clip0_16390_8144)">
<path
d="M9.97792 0.0650635H1.99082C1.15724 0.0650635 0.480469 0.741832 0.480469 1.57541V10.4126C0.480469 12.3562 2.06097 13.9347 4.00255 13.9347H11.9897C12.8232 13.9347 13.5 13.2579 13.5 12.4243V3.58715C13.5021 1.64556 11.9216 0.0650635 9.97792 0.0650635ZM7.35957 9.53156H4.10984C3.74257 9.53156 3.44546 9.23444 3.44546 8.86717C3.44546 8.4999 3.74257 8.20072 4.10984 8.20072H7.35957C7.72684 8.20072 8.02396 8.49784 8.02396 8.86717C8.02602 9.23238 7.72684 9.53156 7.35957 9.53156ZM9.87063 5.71236H4.10984C3.74257 5.71236 3.44546 5.41524 3.44546 5.04797C3.44546 4.6807 3.74257 4.38359 4.10984 4.38359H9.87063C10.2379 4.38359 10.535 4.6807 10.535 5.04797C10.535 5.41524 10.2379 5.71236 9.87063 5.71236Z"
fill="currentColor"
/>
</g>
<defs>
<clipPath id="clip0_16390_8144">
<rect width="14" height="14" fill="white" />
</clipPath>
</defs>
</svg>
)
export const AuthMenuIcon = (props: SVGProps<SVGSVGElement>) => (
<svg
width="14"
height="14"
viewBox="0 0 14 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}>
<g clipPath="url(#clip0_16390_8141)">
<path
d="M12.786 1.72289L7.35971 0L1.93526 1.72289C1.73132 1.78725 1.59355 1.97702 1.59535 2.19167V9.04915C1.60621 9.09573 1.862 10.2246 2.9711 11.3177C3.82441 12.1585 5.87122 13.2392 6.76401 13.7079C6.90344 13.7813 6.96977 13.8081 7.0287 13.8402L7.29354 13.9726C7.36333 14.0101 7.48859 14.0084 7.55838 13.9726L7.82322 13.8402C8.34551 13.5844 10.7625 12.2892 11.7483 11.3177C12.8594 10.2246 13.1152 9.09573 13.1259 9.04915V2.19167C13.1294 1.97702 12.9899 1.78725 12.786 1.72289ZM7.4277 12.9099L7.42408 12.9081H7.43297C7.4295 12.9099 7.4277 12.9099 7.4277 12.9099ZM8.72114 8.9257H7.84447V10.1602C7.84447 10.4465 7.61189 10.679 7.32565 10.679C7.03941 10.679 6.80682 10.4465 6.80682 10.1602V6.97566C6.80682 6.96495 6.80863 6.95606 6.80863 6.94702C6.71382 6.91838 6.61901 6.88431 6.5242 6.8415C6.20404 6.69484 5.93031 6.43181 5.74777 6.13305C5.55815 5.82179 5.45791 5.43169 5.48836 5.06676C5.52408 4.64999 5.67436 4.28672 5.94101 3.96294C6.40256 3.40297 7.25058 3.17581 7.93039 3.42437C8.31507 3.56576 8.62814 3.80196 8.86434 4.13463C9.0719 4.4263 9.17741 4.78941 9.18646 5.14545C9.18646 5.15615 9.18827 5.16504 9.18646 5.1759C9.18646 5.18841 9.18646 5.20092 9.18465 5.21343C9.15963 6.00418 8.61578 6.75016 7.84282 6.95606V7.86664H8.71948C9.00573 7.86664 9.23831 8.09923 9.23831 8.38547V8.40687H9.24012C9.23997 8.69312 9.00739 8.9257 8.72114 8.9257Z"
fill="currentColor"
/>
<path
d="M7.95696 5.64603C7.96223 5.63713 7.96766 5.6299 7.96947 5.62809C8.0003 5.58081 8.02839 5.53179 8.05358 5.48127C8.07679 5.4151 8.09473 5.34893 8.10905 5.27914C8.11085 5.24522 8.11266 5.20935 8.11447 5.17528C8.11447 5.14122 8.11266 5.10549 8.10905 5.07158C8.09653 5.0036 8.07679 4.93562 8.05358 4.86945C8.0327 4.82734 8.01001 4.78615 7.98559 4.74599C7.98017 4.74057 7.96766 4.72278 7.94625 4.68872C7.92666 4.66716 7.90691 4.64395 7.88551 4.62435C7.86049 4.59933 7.83365 4.57431 7.80502 4.55094C7.79612 4.54567 7.78904 4.54024 7.78708 4.53843C7.73985 4.5076 7.69088 4.47952 7.64041 4.45432C7.57424 4.43111 7.50807 4.41317 7.44009 4.39885C7.3703 4.39358 7.30051 4.39358 7.23072 4.39885C7.16274 4.41137 7.09476 4.43111 7.0304 4.45432C6.98829 4.4752 6.9471 4.49789 6.90694 4.52231C6.90152 4.52773 6.88373 4.54024 6.84967 4.56165C6.82811 4.58124 6.8049 4.60099 6.7853 4.62239C6.76028 4.64741 6.73526 4.67424 6.71189 4.70288C6.70662 4.71178 6.70119 4.71901 6.69938 4.72082C6.66855 4.76805 6.64047 4.81702 6.61527 4.86749C6.59206 4.93366 6.57412 4.99983 6.5598 5.06781C6.55453 5.1376 6.55453 5.20739 6.5598 5.27718C6.57231 5.34516 6.59206 5.41314 6.61527 5.47751C6.63668 5.52046 6.65823 5.55981 6.68325 5.60096C6.68868 5.60638 6.70119 5.62417 6.7226 5.65823C6.74219 5.67979 6.76194 5.703 6.78334 5.7226C6.80836 5.74762 6.83519 5.77264 6.86383 5.79601C6.87273 5.80128 6.87996 5.80671 6.88177 5.80852C6.9282 5.83896 6.97839 5.8676 7.02844 5.89263C7.09461 5.91584 7.16078 5.93378 7.22876 5.9481C7.29855 5.95352 7.36834 5.95352 7.43813 5.9481C7.50611 5.93559 7.57409 5.91584 7.63845 5.89263C7.68141 5.87122 7.72076 5.84967 7.76191 5.82465C7.76733 5.81922 7.78512 5.80671 7.81918 5.7853C7.8424 5.76737 7.86395 5.74777 7.88355 5.72622C7.90872 5.7015 7.93374 5.67466 7.95696 5.64603Z"
fill="currentColor"
/>
</g>
<defs>
<clipPath id="clip0_16390_8141">
<rect width="14" height="14" fill="white" />
</clipPath>
</defs>
</svg>
)

View File

@@ -27,9 +27,6 @@ const getValidCachedSession = <T>(redisKey: string) => {
return cacheEntry.data as T
}
export const getCachedSession = <T>(redisKey: string) =>
getValidCachedSession<T>(redisKey)
export const setCachedSession = <T>(redisKey: string, data: T) => {
sessionCache.set(redisKey, {
data,

View File

@@ -8,15 +8,15 @@ export const DigitalIcon = () => {
xmlns="http://www.w3.org/2000/svg">
<rect width="32" height="32" rx="6.4" fill="#1F65FF" />
<path
d="M18.8274 10.2358C17.1727 9.51456 15.2092 9.56087 13.526 10.5327C11.533 11.6833 10.4672 13.8231 10.5906 15.9739C9.43935 15.5275 8.1034 15.5877 6.95081 16.2531C6.41165 16.5644 5.96713 16.9766 5.62734 17.4522C4.91523 13.1111 6.89492 8.58834 10.9301 6.25862C14.0914 4.43344 17.7876 4.37384 20.8768 5.77385C21.2809 5.98109 21.6159 6.32477 21.8599 6.74734C22.5348 7.91635 22.1343 9.41116 20.9653 10.0861C20.2877 10.4772 19.5008 10.5072 18.8275 10.2356L18.8274 10.2358Z"
d="M18.83 10.24C17.17 9.51 15.21 9.56 13.526 10.53C11.533 11.68 10.47 13.82 10.59 15.97C9.44 15.53 8.1 15.59 6.95 16.25C6.41 16.56 5.97 16.98 5.63 17.45C4.92 13.11 6.89 8.59 10.93 6.26C14.09 4.43 17.79 4.37 20.88 5.77C21.28 5.98 21.62 6.32 21.86 6.75C22.53 7.92 22.13 9.41 20.97 10.09C20.29 10.48 19.5 10.51 18.83 10.24L18.83 10.24Z"
fill="white"
/>
<path
d="M27.1744 17.0864C26.7514 20.333 24.8747 23.3531 21.8203 25.1165C17.7851 27.4463 12.8784 26.8994 9.47497 24.1121C10.0567 24.0556 10.636 23.8768 11.1751 23.5655C12.3277 22.9 13.0478 21.7732 13.2368 20.5529C15.0378 21.7352 17.4238 21.8821 19.4168 20.7314C21.0984 19.7605 22.12 18.0854 22.324 16.2936C22.4243 15.5728 22.8441 14.9041 23.5231 14.5121C24.6921 13.8372 26.1869 14.2377 26.8619 15.4067C27.1674 15.9358 27.2528 16.4847 27.1744 17.0864Z"
d="M27.17 17.09C26.75 20.333 24.87 23.35 21.82 25.12C17.79 27.45 12.88 26.9 9.47 24.11C10.06 24.06 10.636 23.88 11.18 23.57C12.33 22.9 13.05 21.77 13.24 20.55C15.04 21.74 17.42 21.88 19.42 20.73C21.1 19.76 22.12 18.09 22.324 16.29C22.42 15.57 22.84 14.9 23.52 14.51C24.69 13.84 26.19 14.24 26.86 15.41C27.17 15.94 27.25 16.48 27.17 17.09Z"
fill="white"
/>
<path
d="M7.71583 17.3525C8.60142 16.8412 9.64534 16.852 10.4907 17.2896C11.1047 17.6075 11.6765 17.627 12.181 17.5259C12.3868 17.4776 12.5799 17.4028 12.7535 17.3026C13.3325 16.9683 13.7899 16.4562 13.9352 15.5682C13.9365 15.5428 13.9373 15.5167 13.9394 15.4914C14.0025 14.7188 14.4317 13.9883 15.1537 13.5713C16.3227 12.8966 17.817 13.2976 18.4919 14.4665C19.1666 15.6354 18.7668 17.1301 17.5981 17.805C16.8759 18.2218 16.0287 18.2283 15.328 17.8966C15.3057 17.8861 15.2842 17.8738 15.2621 17.8625C14.4195 17.5433 13.7469 17.6831 13.1674 18.0176C12.9954 18.1169 12.8343 18.2445 12.6905 18.3967C12.4263 18.6954 12.2051 19.0654 12.1036 19.5384C12.0736 19.6801 12.0535 19.8289 12.0464 19.9841C12.0437 20.0434 12.0389 20.1025 12.0325 20.1613C11.9371 21.0467 11.4348 21.8764 10.6045 22.3558L10.6032 22.3555L10.6037 22.3563C9.22241 23.1534 7.45586 22.6807 6.65814 21.2998C6.5878 21.178 6.53153 21.0511 6.48071 20.9242C6.43658 20.8141 6.39903 20.7031 6.36924 20.5905C6.2986 20.323 6.26795 20.0511 6.27515 19.781C6.27878 19.6429 6.28994 19.5056 6.31305 19.3701C6.34384 19.19 6.39063 19.013 6.4546 18.8418C6.61633 18.4088 6.88218 18.0125 7.24107 17.6943C7.31295 17.6306 7.38849 17.5698 7.46774 17.5127C7.5468 17.4557 7.62961 17.4023 7.71583 17.3525Z"
d="M7.72 17.35C8.6 16.84 9.65 16.852 10.49 17.29C11.1 17.61 11.68 17.627 12.181 17.53C12.39 17.48 12.58 17.4 12.75 17.3C13.33 16.97 13.79 16.46 13.94 15.57C13.94 15.54 13.94 15.52 13.94 15.49C14 14.72 14.43 13.99 15.15 13.57C16.32 12.9 17.817 13.3 18.49 14.47C19.17 15.64 18.77 17.13 17.6 17.805C16.88 18.22 16.03 18.23 15.328 17.9C15.31 17.89 15.28 17.87 15.26 17.86C14.42 17.54 13.75 17.68 13.17 18.02C13 18.12 12.83 18.24 12.69 18.4C12.43 18.7 12.21 19.07 12.1 19.54C12.07 19.68 12.05 19.83 12.05 19.98C12.04 20.04 12.04 20.1 12.03 20.16C11.94 21.05 11.43 21.88 10.6 22.36L10.6 22.36L10.6 22.36C9.22 23.15 7.46 22.68 6.66 21.3C6.59 21.178 6.53 21.05 6.48 20.92C6.44 20.81 6.4 20.7 6.37 20.59C6.3 20.323 6.27 20.05 6.28 19.781C6.28 19.64 6.29 19.51 6.31 19.37C6.34 19.19 6.39 19.013 6.45 18.84C6.62 18.41 6.88 18.01 7.24 17.69C7.31 17.63 7.39 17.57 7.47 17.51C7.55 17.46 7.63 17.4 7.72 17.35Z"
fill="url(#paint0_linear_3567_2455)"
/>
<mask
@@ -27,22 +27,22 @@ export const DigitalIcon = () => {
width="23"
height="23">
<path
d="M27.1711 17.0865C26.7481 20.3332 24.8714 23.3532 21.817 25.1167C17.7818 27.4464 12.8751 26.8995 9.47166 24.1122C10.0534 24.0557 10.6327 23.8769 11.1718 23.5656C12.3244 22.9002 13.0445 21.7733 13.2335 20.553C15.0344 21.7353 17.4205 21.8822 19.4135 20.7315C21.0951 19.7606 22.1167 18.0855 22.3207 16.2937C22.421 15.573 22.8408 14.9042 23.5198 14.5122C24.6888 13.8373 26.1836 14.2378 26.8586 15.4068C27.164 15.9359 27.2778 16.5301 27.1711 17.0865Z"
d="M27.17 17.09C26.75 20.33 24.87 23.35 21.817 25.12C17.78 27.45 12.88 26.9 9.47 24.11C10.05 24.06 10.63 23.88 11.17 23.57C12.32 22.9 13.04 21.77 13.23 20.553C15.03 21.74 17.42 21.88 19.41 20.73C21.1 19.76 22.12 18.09 22.32 16.29C22.421 15.573 22.84 14.9 23.52 14.51C24.69 13.84 26.18 14.24 26.86 15.41C27.164 15.94 27.28 16.53 27.17 17.09Z"
fill="white"
/>
<path
d="M18.8267 10.2362C17.1721 9.51488 15.2085 9.56119 13.5253 10.533C11.5324 11.6836 10.4665 13.8234 10.5899 15.9743C9.43868 15.5278 8.10273 15.588 6.95014 16.2534C6.41098 16.5647 5.96646 16.977 5.62667 17.4525C4.91456 13.1114 6.89424 8.58866 10.9294 6.25894C14.0907 4.43376 17.7869 4.37416 20.8761 5.77417L20.86 5.79569C21.2641 6.00294 21.6152 6.32509 21.8592 6.74766C22.5341 7.91667 22.1336 9.41148 20.9646 10.0864C20.2871 10.4776 19.5001 10.5075 18.8268 10.236L18.8267 10.2362Z"
d="M18.83 10.24C17.17 9.51 15.21 9.56 13.53 10.533C11.53 11.68 10.47 13.82 10.59 15.97C9.44 15.53 8.1 15.588 6.95 16.25C6.41 16.56 5.97 16.977 5.63 17.45C4.91 13.11 6.89 8.59 10.93 6.26C14.09 4.43 17.79 4.37 20.88 5.77L20.86 5.8C21.26 6 21.62 6.33 21.86 6.75C22.53 7.92 22.13 9.41 20.96 10.09C20.29 10.48 19.5 10.51 18.83 10.236L18.83 10.24Z"
fill="white"
/>
</mask>
<g mask="url(#mask0_3567_2455)">
<path
d="M13.235 20.5391C15.2733 22.042 20.2924 22.2388 22.0858 17.4017C21.7921 19.8898 20.1903 22.5922 17.7697 23.9897C15.0334 25.5695 11.9266 25.5141 9.46684 24.1086C11.4352 23.8134 12.813 22.6325 13.235 20.5391Z"
d="M13.235 20.54C15.27 22.042 20.29 22.24 22.09 17.4C21.79 19.89 20.19 22.59 17.77 23.99C15.03 25.57 11.93 25.51 9.47 24.11C11.44 23.81 12.813 22.63 13.235 20.54Z"
fill="url(#paint1_radial_3567_2455)"
fillOpacity="0.45"
/>
<path
d="M17.871 9.91452C14.523 9.11737 10.5125 11.4597 10.593 15.9775C8.61077 15.3494 6.8336 15.9721 5.6281 17.4562C5.72509 14.6902 7.29061 11.9514 9.93637 10.4239C12.2419 9.09279 15.6358 9.07102 17.871 9.91452Z"
d="M17.871 9.91C14.523 9.12 10.51 11.46 10.593 15.98C8.61 15.35 6.83 15.97 5.63 17.46C5.73 14.69 7.29 11.95 9.94 10.42C12.24 9.09 15.64 9.07 17.871 9.91Z"
fill="url(#paint2_radial_3567_2455)"
fillOpacity="0.45"
/>
@@ -92,27 +92,27 @@ export const HeaderIcon = () => {
fill="none"
xmlns="http://www.w3.org/2000/svg">
<path
d="M3.72131 7.97323L7.77543 10.3299L16.0003 5.54456L24.2738 10.3582L28.3342 8.00521L16.0003 0.829102L3.72131 7.97323Z"
d="M3.72 7.97L7.78 10.33L16 5.54L24.27 10.36L28.33 8.01L16 0.83L3.72 7.97Z"
fill="url(#paint0_linear_300_8367)"
/>
<path
d="M13.8691 13.9176L16.0001 12.6777L18.1442 13.9252L21.9243 11.7157L16.0001 8.2689L10.0962 11.7039L13.8691 13.9176Z"
d="M13.87 13.92L16 12.68L18.14 13.93L21.92 11.72L16 8.27L10.1 11.7L13.87 13.92Z"
fill="url(#paint1_linear_300_8367)"
/>
<path
d="M25.2219 21.6404V12.0299L29.2742 9.68164V23.998L16.9482 31.1695V26.4541L25.2219 21.6404Z"
d="M25.22 21.64V12.03L29.27 9.68V23.998L16.95 31.17V26.45L25.22 21.64Z"
fill="#1874FF"
/>
<path
d="M19.0916 18.0737V15.6176L19.092 15.6323L22.8805 13.4055V20.2782L16.9482 23.7297V19.3208L19.0916 18.0737Z"
d="M19.09 18.07V15.62L19.092 15.63L22.88 13.41V20.28L16.95 23.73V19.32L19.09 18.07Z"
fill="#1874FF"
/>
<path
d="M15.0518 26.4536L6.77814 21.6399V11.9728L2.72583 9.61719V23.9975L15.0518 31.169V26.4536Z"
d="M15.05 26.45L6.78 21.64V11.97L2.73 9.62V24L15.05 31.169V26.45Z"
fill="url(#paint2_linear_300_8367)"
/>
<path
d="M9.11923 13.3376V20.2777L15.0518 23.7293V19.3205L12.9081 18.0732V15.55L9.11923 13.3376Z"
d="M9.12 13.34V20.28L15.05 23.73V19.32L12.91 18.07V15.55L9.12 13.34Z"
fill="url(#paint3_linear_300_8367)"
/>
<defs>
@@ -123,8 +123,8 @@ export const HeaderIcon = () => {
x2="19.7265"
y2="13.0418"
gradientUnits="userSpaceOnUse">
<stop stop-color="#06C3FF" />
<stop offset="1" stop-color="#0B60F3" />
<stop stopColor="#06C3FF" />
<stop offset="1" stopColor="#0B60F3" />
</linearGradient>
<linearGradient
id="paint1_linear_300_8367"
@@ -133,8 +133,8 @@ export const HeaderIcon = () => {
x2="19.7265"
y2="13.0418"
gradientUnits="userSpaceOnUse">
<stop stop-color="#06C3FF" />
<stop offset="1" stop-color="#0B60F3" />
<stop stopColor="#06C3FF" />
<stop offset="1" stopColor="#0B60F3" />
</linearGradient>
<linearGradient
id="paint2_linear_300_8367"
@@ -143,8 +143,8 @@ export const HeaderIcon = () => {
x2="10.7851"
y2="28.7987"
gradientUnits="userSpaceOnUse">
<stop stop-color="#FF8F90" />
<stop offset="1" stop-color="#F62F3F" />
<stop stopColor="#FF8F90" />
<stop offset="1" stopColor="#F62F3F" />
</linearGradient>
<linearGradient
id="paint3_linear_300_8367"
@@ -153,8 +153,8 @@ export const HeaderIcon = () => {
x2="10.7851"
y2="28.7987"
gradientUnits="userSpaceOnUse">
<stop stop-color="#FF8F90" />
<stop offset="1" stop-color="#F62F3F" />
<stop stopColor="#FF8F90" />
<stop offset="1" stopColor="#F62F3F" />
</linearGradient>
</defs>
</svg>

View File

@@ -386,12 +386,6 @@ export function SettingCustomPageSizeControl({
)
}
type SettingTableViewportProps = PropsWithChildren<{
maxHeight: number | string
className?: string
style?: CSSProperties
}>
export function SettingPage({
className,
...props
@@ -428,21 +422,6 @@ export function SettingPanel({
)
}
export function SettingTableViewport({
maxHeight,
className,
style,
children,
}: SettingTableViewportProps) {
return (
<div
style={{ maxHeight, ...style }}
className={mergeClassName(classes.tableViewport, className)}>
{children}
</div>
)
}
export function SettingFilterPanel({
className,
...props
@@ -467,43 +446,6 @@ export function SettingContentPanel({
)
}
type SettingSectionHeaderProps = GroupProps & {
eyebrow?: string
title: ReactNode
description?: ReactNode
actions?: ReactNode
}
export function SettingSectionHeader({
eyebrow,
title,
description,
actions,
className,
...props
}: SettingSectionHeaderProps) {
return (
<Group
justify="space-between"
align="flex-start"
gap="sm"
wrap="wrap"
className={mergeClassName(classes.sectionHeader, className)}
{...props}>
<Stack gap={2}>
{eyebrow ? (
<Text className={classes.sectionEyebrow}>{eyebrow}</Text>
) : null}
<Text className={classes.sectionTitle}>{title}</Text>
{description ? (
<Text className={classes.sectionDescription}>{description}</Text>
) : null}
</Stack>
{actions}
</Group>
)
}
type SettingListHeaderProps = {
title: ReactNode
count?: ReactNode
@@ -517,6 +459,8 @@ export function SettingListHeader({
actions,
className,
}: SettingListHeaderProps) {
const isPlainCount = typeof count === "string" || typeof count === "number"
return (
<Group
justify="space-between"
@@ -527,7 +471,11 @@ export function SettingListHeader({
<Group gap="xs">
<Text className={classes.listHeaderTitle}>{title}</Text>
{count !== undefined ? (
<Text className={classes.listHeaderCount}>{count}</Text>
isPlainCount ? (
<Text className={classes.listHeaderCount}>{count}</Text>
) : (
<div className={classes.listHeaderCount}>{count}</div>
)
) : null}
</Group>
{actions}
@@ -569,20 +517,6 @@ export function SettingFilterActions({
)
}
export function SettingFilterStack({
className,
gap = 12,
...props
}: PropsWithChildren<StackProps>) {
return (
<Stack
gap={gap}
className={mergeClassName(classes.filterStack, className)}
{...props}
/>
)
}
type SettingInlineFilterFieldProps = {
label: ReactNode
children: ReactNode

View File

@@ -4,8 +4,8 @@ import {
TreeNodeData,
UseTreeReturnType,
} from "@mantine/core"
import React, { CSSProperties, useMemo } from "react"
import { List } from "react-window"
import React, { useMemo } from "react"
import { List, RowComponentProps } from "react-window"
import "./mantine-scrollbar.css"
export interface VirtualizedTreeProps {
@@ -51,6 +51,78 @@ function flattenByExpanded(
return res
}
/** 行渲染所需的闭包数据,通过 react-window 的 rowProps 传入 */
interface RowData {
flattened: { node: TreeNodeData; level: number }[]
tree: UseTreeReturnType
renderNode: (payload: RenderTreeNodePayload) => React.ReactNode
}
/**
* 单行渲染组件 —— 提到模块作用域,避免每次父组件渲染都生成新的组件实例
* (否则 react-window 会在每次渲染时 remount 所有行,销毁行内状态)
*/
function Row({
index,
style,
flattened,
tree,
renderNode,
}: RowComponentProps<RowData>) {
const { node, level } = flattened[index]
// 构造 Mantine 的 RenderTreeNodePayload
const nodeValue = String(node.value)
const hasChildren = Array.isArray(node.children) && node.children.length > 0
const expanded = !!(tree && (tree as any).expandedState?.[nodeValue])
const selected = !!(
tree && (tree as any).selectedState?.includes?.(nodeValue)
)
const hovered = tree ? (tree as any).hoveredNode === nodeValue : false
// elementProps: 与 Mantine Tree 内部的 props shape 对齐,外部的 renderNode 会 spread 这个对象
const elementProps = {
className: "",
style: {
display: "flex",
alignItems: "center",
width: "100%",
} as React.CSSProperties,
onClick: (e: React.MouseEvent) => {
// 保持与 Mantine Tree 一致的基础行为:选中、展开切换由 tree 控制
// 点击行为在业务端通常由 renderNode 决定(例如中间区域用于 toggleExpanded
// 这里我们调用 tree.toggleExpanded 以保证基础交互一致(不会阻止外部覆盖)
if (tree && typeof tree.toggleExpanded === "function") {
tree.toggleExpanded(nodeValue)
}
false && console.log(e)
},
"data-selected": selected as boolean | undefined,
"data-value": nodeValue,
"data-hovered": hovered as boolean | undefined,
}
const payload: RenderTreeNodePayload = {
level,
expanded,
hasChildren,
selected,
node,
tree,
elementProps,
}
// paddingLeft 模拟 Mantine 的 levelOffset 行为renderNode 可使用 elementProps.style 覆盖)
const paddedStyle: React.CSSProperties = {
...style,
boxSizing: "border-box",
overflow: "hidden",
}
// 将 style 作为容器传入Mantine 的 renderNode 也会接受 elementProps.style
return <div style={paddedStyle}>{renderNode(payload)}</div>
}
/**
* VirtualizedTree - Mantine v8 compatible virtualized Tree
* - Accepts tree (useTree() result) and data: TreeNodeData[]
@@ -72,62 +144,6 @@ export function VirtualizedTree({
flattenByExpanded(data, (tree && (tree as any).expandedState) || {}, 0),
[data, tree]
)
// react-window 的行渲染
/** 单行渲染组件 */
const Row = ({ index, style }: { index: number; style: CSSProperties }) => {
const { node, level } = flattened[index]
// 构造 Mantine 的 RenderTreeNodePayload
const nodeValue = String(node.value)
const hasChildren = Array.isArray(node.children) && node.children.length > 0
const expanded = !!(tree && (tree as any).expandedState?.[nodeValue])
const selected = !!(
tree && (tree as any).selectedState?.includes?.(nodeValue)
)
const hovered = tree ? (tree as any).hoveredNode === nodeValue : false
// elementProps: 与 Mantine Tree 内部的 props shape 对齐,外部的 renderNode 会 spread 这个对象
const elementProps = {
className: "",
style: {
display: "flex",
alignItems: "center",
width: "100%",
} as React.CSSProperties,
onClick: (e: React.MouseEvent) => {
// 保持与 Mantine Tree 一致的基础行为:选中、展开切换由 tree 控制
// 点击行为在业务端通常由 renderNode 决定(例如中间区域用于 toggleExpanded
// 这里我们调用 tree.toggleExpanded 以保证基础交互一致(不会阻止外部覆盖)
if (tree && typeof tree.toggleExpanded === "function") {
tree.toggleExpanded(nodeValue)
}
false && console.log(e)
},
"data-selected": selected as boolean | undefined,
"data-value": nodeValue,
"data-hovered": hovered as boolean | undefined,
}
const payload: RenderTreeNodePayload = {
level,
expanded,
hasChildren,
selected,
node,
tree,
elementProps,
}
// paddingLeft 模拟 Mantine 的 levelOffset 行为renderNode 可使用 elementProps.style 覆盖)
const paddedStyle: React.CSSProperties = {
...style,
boxSizing: "border-box",
overflow: "hidden",
}
// 将 style 作为容器传入Mantine 的 renderNode 也会接受 elementProps.style
return <div style={paddedStyle}>{renderNode(payload)}</div>
}
return (
<List
@@ -135,8 +151,8 @@ export function VirtualizedTree({
style={{ height, width: "100%" }}
className="custom-scrollbar"
rowHeight={itemSize}
rowComponent={({ index, style }) => <Row index={index} style={style} />}
rowProps={{}}
rowComponent={Row}
rowProps={{ flattened, tree, renderNode }}
overscanCount={overscanCount}></List>
)
}

View File

@@ -1 +0,0 @@
export { VirtualTreeSelect as default, VirtualTreeSelect } from "./tree"

View File

@@ -75,24 +75,6 @@ export const buildTreeValueMap = (
return acc
}
export const findLabel = (
nodes: TreeNodeData[],
targetValue: string,
pathArr: string[] = [] // 内部用,调用端无需传入
): FindResult => {
for (const node of nodes) {
const curPath = [...pathArr, node.label as string] // 复制一份,避免污染上层
if (node.value === targetValue) {
return { path: curPath.join(TREE_PATH_SEPARATOR), node }
}
if (node.children) {
const found = findLabel(node.children, targetValue, curPath)
if (found.node) return found
}
}
return { path: "", node: null }
}
export const findNodesByValues = (
valueMap: Record<string, TreeValueMeta>,
targetValues: string[]

View File

@@ -1,7 +1,7 @@
/**
* @description: 判断值是否为某个类型
*/
export function is(val: unknown, type: string) {
function is(val: unknown, type: string) {
return toString.call(val) === `[object ${type}]`
}

View File

@@ -19,11 +19,6 @@
"format": "prettier --write \"**/*.{ts,tsx,css}\""
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@ffmpeg/ffmpeg": "^0.12.15",
"@ffmpeg/util": "^0.12.2",
"@fingerprintjs/fingerprintjs": "^5.0.1",
"@mantine/core": "^8.3.1",
"@mantine/dates": "^8.3.18",
@@ -31,35 +26,15 @@
"@mantine/hooks": "^8.3.1",
"@mantine/modals": "^8.3.10",
"@mantine/notifications": "^8.3.1",
"@mantine/tiptap": "^8.3.11",
"@monaco-editor/react": "^4.7.0",
"@tabler/icons-react": "^3.35.0",
"@tiptap/extension-image": "^3.15.3",
"@tiptap/extension-link": "^3.15.3",
"@tiptap/extension-placeholder": "^3.15.3",
"@tiptap/extension-underline": "^3.15.3",
"@tiptap/pm": "^3.15.3",
"@tiptap/react": "^3.15.3",
"@tiptap/starter-kit": "^3.15.3",
"@tmcw/togeojson": "^7.1.2",
"avvvatars-react": "^0.4.2",
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.18",
"env-cmd": "^11.0.0",
"geojson": "^0.5.0",
"html-react-parser": "^5.2.11",
"idb-keyval": "6.2.2",
"ioredis": "^5.8.0",
"js-base64": "^3.7.8",
"libav.js": "^6.8.8",
"lucide-react": "^0.562.0",
"mantine-datatable": "^8.2.0",
"mapvgl": "1.0.0-beta.194",
"monaco-editor": "^0.55.1",
"msgpack-lite": "^0.1.26",
"next": "15.5.7",
"paper": "^0.12.18",
"react": "19.2.1",
"react-dom": "19.2.1",
"react-window": "^2.2.3",
@@ -82,7 +57,6 @@
"eslint-config-next": "15.5.7",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^7.0.1",
"identity-obj-proxy": "^3.0.0",
"postcss": "^8.5.6",
"postcss-preset-mantine": "^1.18.0",
"postcss-simple-vars": "^7.0.1",