Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
bcbbee8c
Unverified
Commit
bcbbee8c
authored
Jun 13, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jun 13, 2025
Browse files
Merge pull request #2622 from myhloli/dev
Dev
parents
3cc3f754
ced5a7b4
Changes
561
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
0 additions
and
468 deletions
+0
-468
projects/web/src/assets/pdf/extractor-table.svg
projects/web/src/assets/pdf/extractor-table.svg
+0
-20
projects/web/src/assets/pdf/fullScreen.svg
projects/web/src/assets/pdf/fullScreen.svg
+0
-7
projects/web/src/assets/pdf/github.svg
projects/web/src/assets/pdf/github.svg
+0
-5
projects/web/src/assets/pdf/guideTools.svg
projects/web/src/assets/pdf/guideTools.svg
+0
-11
projects/web/src/assets/pdf/label-llm.svg
projects/web/src/assets/pdf/label-llm.svg
+0
-11
projects/web/src/assets/pdf/labelU.svg
projects/web/src/assets/pdf/labelU.svg
+0
-11
projects/web/src/assets/pdf/lang-change.svg
projects/web/src/assets/pdf/lang-change.svg
+0
-5
projects/web/src/assets/pdf/odl-logo.svg
projects/web/src/assets/pdf/odl-logo.svg
+0
-12
projects/web/src/assets/pdf/pdf-upload-item-1.svg
projects/web/src/assets/pdf/pdf-upload-item-1.svg
+0
-45
projects/web/src/assets/pdf/pdf-upload-item-2.svg
projects/web/src/assets/pdf/pdf-upload-item-2.svg
+0
-44
projects/web/src/assets/pdf/pdf-upload-item-3.svg
projects/web/src/assets/pdf/pdf-upload-item-3.svg
+0
-42
projects/web/src/assets/pdf/pdf-upload.png
projects/web/src/assets/pdf/pdf-upload.png
+0
-0
projects/web/src/assets/react.svg
projects/web/src/assets/react.svg
+0
-1
projects/web/src/assets/svg/empty.svg
projects/web/src/assets/svg/empty.svg
+0
-16
projects/web/src/assets/svg/logo.svg
projects/web/src/assets/svg/logo.svg
+0
-32
projects/web/src/components/SaveStatus.tsx
projects/web/src/components/SaveStatus.tsx
+0
-85
projects/web/src/components/code-mirror/index.module.scss
projects/web/src/components/code-mirror/index.module.scss
+0
-11
projects/web/src/components/code-mirror/index.tsx
projects/web/src/components/code-mirror/index.tsx
+0
-62
projects/web/src/components/error-boundary.tsx
projects/web/src/components/error-boundary.tsx
+0
-41
projects/web/src/components/icon-font.tsx
projects/web/src/components/icon-font.tsx
+0
-7
No files found.
projects/web/src/assets/pdf/extractor-table.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"24"
height=
"25"
viewBox=
"0 0 24 25"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame 1312319628"
>
<g
id=
"Rectangle 1921711956"
filter=
"url(#filter0_b_4039_7766)"
>
<rect
x=
"3.19922"
y=
"3.41077"
width=
"17.6"
height=
"7.69976"
rx=
"1.09998"
fill=
"#2860F6"
/>
</g>
<rect
id=
"Rectangle 1921711957"
x=
"3.19922"
y=
"12.9742"
width=
"17.6"
height=
"7.69976"
rx=
"1.09998"
fill=
"#B5CAFF"
/>
<path
id=
"Vector 453"
d=
"M7.9043 7.2179L18.1388 7.2179"
stroke=
"white"
stroke-width=
"1.31998"
stroke-linecap=
"round"
/>
<path
id=
"Vector 455"
d=
"M18.1445 16.7814H5.88716"
stroke=
"white"
stroke-width=
"1.31998"
stroke-linecap=
"round"
/>
<path
id=
"Vector 454"
d=
"M16.4902 5.56799L16.4902 8.86789"
stroke=
"white"
stroke-width=
"1.31998"
stroke-linecap=
"round"
/>
<path
id=
"Vector 456"
d=
"M8.39062 15.1315L8.39062 18.4314"
stroke=
"white"
stroke-width=
"1.31998"
stroke-linecap=
"round"
/>
</g>
<defs>
<filter
id=
"filter0_b_4039_7766"
x=
"-0.100729"
y=
"0.110818"
width=
"24.1995"
height=
"14.2996"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"1.64997"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_4039_7766"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_4039_7766"
result=
"shape"
/>
</filter>
</defs>
</svg>
projects/web/src/assets/pdf/fullScreen.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"16"
height=
"17"
viewBox=
"0 0 16 17"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame"
>
<path
id=
"Vector"
d=
"M13.3333 14.4998H2.66667C2.29847 14.4998 2 14.2013 2 13.8331V3.16642C2 2.79823 2.29847 2.49976 2.66667 2.49976H13.3333C13.7015 2.49976 14 2.79823 14 3.16642V13.8331C14 14.2013 13.7015 14.4998 13.3333 14.4998Z"
stroke=
"#464A53"
stroke-width=
"1.33333"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
<path
id=
"Vector_2"
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M1.99935 3.16642C1.99935 2.79823 2.29782 2.49976 2.66602 2.49976H6.66602V7.16642H1.99935V3.16642Z"
stroke=
"#464A53"
stroke-width=
"1.33333"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
<path
id=
"Vector_3"
d=
"M11.666 12.1666L8.33268 8.83325M8.33268 8.83325V11.1666M8.33268 8.83325H10.666"
stroke=
"#464A53"
stroke-width=
"1.33333"
stroke-linecap=
"round"
stroke-linejoin=
"round"
/>
</g>
</svg>
projects/web/src/assets/pdf/github.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"18"
height=
"18"
viewBox=
"0 0 18 18"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame"
>
<path
id=
"Vector"
d=
"M9.00078 1.80054C5.02566 1.80054 1.80078 5.10534 1.80078 9.1827C1.80078 12.4443 3.8643 15.2113 6.72486 16.1869C7.08486 16.256 7.20078 16.0263 7.20078 15.8319V14.4581C5.19846 14.9045 4.78086 13.5869 4.78086 13.5869C4.45326 12.733 3.98166 12.5069 3.98166 12.5069C3.3279 12.0483 4.03062 12.0584 4.03062 12.0584C4.7535 12.1102 5.13438 12.8194 5.13438 12.8194C5.7759 13.9477 6.81846 13.6222 7.22958 13.4329C7.29366 12.9562 7.48086 12.6301 7.6875 12.445C6.08766 12.2578 4.40646 11.6257 4.40646 8.79822C4.40646 7.99038 4.68798 7.33302 5.14806 6.81606C5.0739 6.62958 4.82694 5.87862 5.21862 4.86126C5.21862 4.86126 5.82342 4.66398 7.19862 5.6187C7.78537 5.4549 8.3916 5.37134 9.00078 5.3703C9.61062 5.37174 10.2176 5.45526 10.8051 5.6187C12.1789 4.66398 12.7829 4.8627 12.7829 4.8627C13.1739 5.87862 12.9269 6.6303 12.8535 6.81678C13.3157 7.33302 13.5944 7.9911 13.5944 8.79822C13.5944 11.6329 11.9103 12.2571 10.3069 12.4393C10.5639 12.6682 10.8008 13.1175 10.8008 13.8073V15.8333C10.8008 16.0285 10.916 16.2589 11.281 16.1869C14.1416 15.2098 16.2008 12.4429 16.2008 9.1827C16.2008 5.10534 12.9773 1.80054 9.00078 1.80054Z"
fill=
"#121316"
/>
</g>
</svg>
projects/web/src/assets/pdf/guideTools.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"18"
height=
"18"
viewBox=
"0 0 18 18"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame"
clip-path=
"url(#clip0_4039_7221)"
>
<path
id=
"Vector"
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M2.78811 1.95801H6.25531C7.13531 1.95801 7.78651 2.61801 7.79531 3.49801V7.01801C7.79531 7.84521 7.13531 8.55801 6.25531 8.55801H2.73531C1.90811 8.55801 1.19531 7.89801 1.19531 7.01801V3.49801C1.19531 2.61801 1.90811 1.95801 2.78811 1.95801ZM2.78811 10.2124H6.25531C7.13531 10.2124 7.78651 10.8636 7.79531 11.7524V15.2724C7.79531 16.0996 7.13531 16.8124 6.25531 16.8124H2.78811C1.96091 16.8124 1.24811 16.1524 1.24811 15.2724V11.7524C1.24811 10.9252 1.90811 10.2124 2.78811 10.2124ZM10.9809 10.2124H14.5009C15.3809 10.2124 16.0409 10.8636 16.0409 11.7524V15.2724C16.0409 16.0996 15.3809 16.8124 14.5009 16.8124H10.9809C10.1537 16.8124 9.44091 16.1524 9.44091 15.2724V11.7524C9.44091 10.9252 10.1009 10.2124 10.9809 10.2124Z"
fill=
"#C3C5C6"
/>
<path
id=
"Vector_2"
d=
"M16.0413 6.99932L16.0413 3.50225C16.0413 2.64354 15.3444 1.94662 14.4857 1.94662L10.9886 1.94662C10.6028 1.94662 10.2108 2.10218 9.89968 2.41331C9.58855 2.72444 9.43299 3.11646 9.43299 3.50225L9.43299 6.99932C9.43299 7.38512 9.58855 7.77714 9.89968 8.08827C10.2108 8.39939 10.6028 8.55496 10.9886 8.55496H14.4857C14.8715 8.55496 15.2635 8.39939 15.5746 8.08827C15.9293 7.8207 16.0849 7.42868 16.0413 6.99932Z"
fill=
"#808286"
/>
</g>
<defs>
<clipPath
id=
"clip0_4039_7221"
>
<rect
width=
"17.6"
height=
"17.6"
fill=
"white"
transform=
"translate(0.201172 0.197754)"
/>
</clipPath>
</defs>
</svg>
projects/web/src/assets/pdf/label-llm.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"29"
height=
"29"
viewBox=
"0 0 29 29"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M12.583 1.67305C13.6756 1.04225 15.0217 1.04225 16.1143 1.67305L24.5743 6.55742C25.6668 7.18822 26.3399 8.35398 26.3399 9.61559V19.3843C26.3399 20.6459 25.6668 21.8117 24.5743 22.4425L16.1143 27.3269C15.0217 27.9577 13.6756 27.9577 12.583 27.3269L4.12306 22.4425C3.03048 21.8117 2.35742 20.6459 2.35742 19.3843V9.61559C2.35742 8.35398 3.03048 7.18822 4.12306 6.55742L12.583 1.67305Z"
fill=
"url(#paint0_linear_3876_4993)"
/>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M6.40436 11.1594C6.17658 11.0283 5.8922 11.1927 5.8922 11.4555V18.3547C5.8922 18.4769 5.95748 18.5898 6.06339 18.6508L11.582 21.8282L13.9986 26.3851C14.0894 26.5563 14.3487 26.4918 14.3487 26.2981V15.9309C14.3487 15.8087 14.2834 15.6958 14.1775 15.6348L6.40436 11.1594Z"
fill=
"white"
/>
<defs>
<linearGradient
id=
"paint0_linear_3876_4993"
x1=
"8.55424"
y1=
"2.62814"
x2=
"15.9946"
y2=
"25.6478"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#3692FF"
/>
<stop
offset=
"0.405859"
stop-color=
"#1141E0"
/>
<stop
offset=
"0.948919"
stop-color=
"#4B38F6"
/>
</linearGradient>
</defs>
</svg>
projects/web/src/assets/pdf/labelU.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"29"
height=
"29"
viewBox=
"0 0 29 29"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M2.44727 10.1695C2.44727 8.70452 3.25467 7.35884 4.54727 6.66946L12.4806 2.43835C13.6473 1.81612 15.0473 1.81612 16.2139 2.43835L24.1473 6.66946C25.4399 7.35884 26.2473 8.70452 26.2473 10.1695V18.83C26.2473 20.2949 25.4399 21.6406 24.1473 22.33L16.2139 26.5611C15.0473 27.1833 13.6473 27.1833 12.4806 26.5611L4.54727 22.33C3.25467 21.6406 2.44727 20.2949 2.44727 18.83V10.1695Z"
fill=
"url(#paint0_linear_3876_4986)"
/>
<path
d=
"M17.7849 3.27585L8.08164 8.57852C6.80884 9.27408 6.01717 10.6089 6.01717 12.0593V15.775C6.01717 17.1696 6.78969 18.4494 8.02367 19.0991C9.27451 19.7577 10.7772 18.8507 10.7772 17.4371V14.612C10.7772 13.1475 11.5842 11.8021 12.8762 11.1125L22.6746 5.8833L24.1278 6.65882L14.4273 11.9638C13.155 12.6595 12.3638 13.994 12.3638 15.444V18.0536C12.3638 20.4152 9.85047 21.928 7.7636 20.8224C5.71293 19.7361 4.4305 17.6054 4.4305 15.2847V11.2273C4.4305 9.76233 5.23791 8.41665 6.5305 7.72726L16.3305 2.5006L17.7849 3.27585Z"
fill=
"white"
/>
<defs>
<linearGradient
id=
"paint0_linear_3876_4986"
x1=
"5.60377"
y1=
"4.36627"
x2=
"23.5632"
y2=
"24.8291"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#3A7CFF"
/>
<stop
offset=
"0.510353"
stop-color=
"#0D3CDE"
/>
<stop
offset=
"1"
stop-color=
"#5E36FD"
/>
</linearGradient>
</defs>
</svg>
projects/web/src/assets/pdf/lang-change.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"24"
height=
"25"
viewBox=
"0 0 24 25"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"ChineseEnglishShiftOutlined"
>
<path
id=
"中英文切换"
d=
"M14.5737 5.22889C15.1137 5.22889 15.5516 5.66671 15.5516 6.20679C15.5516 6.74687 15.1137 7.1847 14.5737 7.1847L13.3536 7.1847C13.2235 7.59559 13.0305 8.14952 12.7676 8.76832C12.3148 9.83352 11.6291 11.1523 10.6538 12.2579C11.5357 12.9256 12.5179 13.532 13.3798 14.0178C13.9751 14.3534 14.5005 14.6245 14.8762 14.8112L14.9042 14.8251L15.6824 12.9638C15.9076 12.4251 16.4344 12.0744 17.0182 12.0744C17.6021 12.0744 18.1289 12.4251 18.3541 12.9638L20.2842 17.5805L21.4777 20.5835C21.6771 21.0853 21.432 21.6539 20.9301 21.8534C20.4282 22.0529 19.8596 21.8077 19.6601 21.3058L19.1004 19.8976H14.9363L14.3768 21.3057C14.1773 21.8076 13.6088 22.0528 13.1069 21.8534C12.605 21.654 12.3598 21.0854 12.5592 20.5835L13.7588 17.5645L14.1483 16.6331C14.1032 16.6109 14.0555 16.5874 14.0055 16.5625C13.6061 16.364 13.05 16.077 12.4195 15.7216C11.4433 15.1714 10.2575 14.4398 9.19525 13.6023C8.13303 14.4398 6.94722 15.1714 5.97101 15.7216C5.3405 16.077 4.78441 16.364 4.38505 16.5625C4.20007 16.6545 4.04828 16.7277 3.93777 16.7802C3.93538 16.7816 3.93298 16.783 3.93057 16.7844C3.87746 16.815 3.82273 16.8403 3.76701 16.8602L3.74613 16.8699L3.73632 16.8744L3.73344 16.8757C3.73344 16.8757 3.7334 16.8757 3.73172 16.8721C3.29901 17.0092 2.81608 16.8355 2.58179 16.4297C2.31534 15.9682 2.46969 15.3783 2.92514 15.0985C2.92372 15.0954 2.92371 15.0954 2.92371 15.0954L2.93132 15.0919L2.95374 15.0815C3.00103 15.0546 3.0496 15.0319 3.09898 15.0134C3.19978 14.9655 3.34089 14.8975 3.51436 14.8112C3.89002 14.6245 4.4154 14.3534 5.01066 14.0178C5.8726 13.532 6.85485 12.9256 7.73672 12.2579C6.76141 11.1523 6.07567 9.83352 5.62296 8.76832C5.35996 8.14951 5.16703 7.59559 5.03688 7.1847H3.81673C3.27665 7.1847 2.83883 6.74687 2.83883 6.20679C2.83883 5.66671 3.27665 5.22889 3.81673 5.22889L8.10014 5.22889L7.93911 4.42378C7.8332 3.89419 8.17665 3.379 8.70624 3.27309C9.23584 3.16717 9.75102 3.51062 9.85694 4.04021L10.0947 5.22889L14.5737 5.22889ZM9.19525 10.9549C9.96415 10.0806 10.5512 8.9829 10.9676 8.00332C11.0919 7.71078 11.1987 7.43425 11.2888 7.1847L7.10166 7.1847C7.19178 7.43425 7.29861 7.71078 7.42294 8.00332C7.83927 8.9829 8.42636 10.0806 9.19525 10.9549ZM15.7211 17.9418H18.3154L17.0182 14.8391L15.7211 17.9418Z"
fill=
"#464A53"
/>
</g>
</svg>
projects/web/src/assets/pdf/odl-logo.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"24"
height=
"22"
viewBox=
"0 0 24 22"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<mask
id=
"mask0_3876_4980"
style=
"mask-type:luminance"
maskUnits=
"userSpaceOnUse"
x=
"1"
y=
"0"
width=
"23"
height=
"22"
>
<path
d=
"M15.0223 0C19.696 0 23.4936 3.64334 23.5691 8.16556L23.5703 8.30286V13.2352C23.5703 17.7749 19.8194 21.4637 15.1637 21.537L15.0223 21.5381H1.39648V9.35367C1.39648 8.40024 2.1922 7.62734 3.17377 7.62734C4.13925 7.62734 4.92492 8.37511 4.95042 9.30693L4.95106 9.35367V18.0854H15.0223C17.7525 18.0854 19.9709 15.9571 20.015 13.3155L20.0157 13.2352V8.30286C20.0157 5.65096 17.8246 3.49615 15.1049 3.45332L15.0223 3.45267H10.1432C9.16166 3.45267 8.36594 2.67977 8.36594 1.72634C8.36594 0.788537 9.13579 0.0253897 10.0951 0.000620535L10.1432 0H15.0223Z"
fill=
"white"
/>
</mask>
<g
mask=
"url(#mask0_3876_4980)"
>
<path
d=
"M15.0224 0C19.6961 0 23.4937 3.64334 23.5692 8.16556L23.5703 8.30286V13.2352C23.5703 17.1953 20.7162 20.5078 16.897 21.3378C17.0667 21.3007 17.2344 21.2589 17.4001 21.2123C19.0292 19.3377 20.011 16.9152 20.011 14.27C20.011 14.1181 20.0078 13.9669 20.0014 13.8165L19.9948 13.6818C20.0062 13.5609 20.013 13.4388 20.0151 13.3155L20.0157 13.2352V8.30286C20.0157 8.15829 20.0092 8.01519 19.9965 7.87384C20.0061 7.71677 20.011 7.55841 20.011 7.39894C20.011 3.99677 17.7713 1.10272 14.646 0.0319928L14.551 0.000106111L10.1409 0.000358026L10.0928 0.000978561L10.0312 0.0035922C10.0535 0.00204785 10.0743 0.00115943 10.0952 0.000620535L10.1433 0H15.0224Z"
fill=
"#0D53DE"
/>
</g>
<path
d=
"M2.84352 7.65771C2.03492 7.80549 1.4196 8.48519 1.39749 9.30836L1.39687 9.35423L1.39686 15.8885C2.24668 16.9683 3.46412 17.7584 4.86542 18.0677L4.94911 18.0855L4.97911 18.0865L15.0204 18.0864C17.6287 18.0864 19.7714 16.1593 19.9958 13.6824C20.0072 13.8821 20.0114 14.068 20.0114 14.2706C20.0114 16.9158 19.0295 19.3383 17.4004 21.2129C16.688 21.4131 15.9374 21.5257 15.1618 21.5379L15.0204 21.539H1.39453V9.35459C1.39453 8.52223 2.00099 7.82746 2.80813 7.66443L2.84352 7.65771Z"
fill=
"#0D53DE"
/>
<path
d=
"M14.5526 0.000488281C17.7274 1.04468 20.0126 3.96279 20.0126 7.39933C20.0126 7.56382 20.0084 7.71225 19.998 7.87422C19.7837 5.41574 17.6806 3.49464 15.1042 3.45406L15.0216 3.45341H10.1425C9.16095 3.45341 8.36523 2.68051 8.36523 1.72708C8.36523 0.789277 9.13508 0.0261299 10.0944 0.00136073L10.1425 0.000740196L14.5526 0.000488281Z"
fill=
"#0D53DE"
/>
<path
d=
"M3.17379 7.62793C4.13927 7.62793 4.92494 8.3757 4.95044 9.30752L4.95108 9.35427V18.086C3.51359 17.7906 2.26366 16.9904 1.39648 15.8886L1.3965 9.35427C1.3965 8.40084 2.19222 7.62793 3.17379 7.62793Z"
fill=
"#0D53DE"
/>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M6.16346 1.16505C6.16346 0.839281 5.89005 0.575195 5.55278 0.575195H1.58334C1.24607 0.575195 0.972656 0.839281 0.972656 1.16505V4.99909C0.972656 5.32486 1.24607 5.58894 1.58334 5.58894L4.1935 5.59084C5.02712 5.59145 5.84085 5.84551 6.52672 6.31932C7.46035 6.96428 8.07774 7.96002 8.25104 9.06287V14.2187C8.25104 14.4602 8.44684 14.656 8.68836 14.656H16.277C16.5185 14.656 16.7143 14.4602 16.7143 14.2187V7.34241C16.7143 7.10088 16.5185 6.90509 16.277 6.90509H9.97556C9.21516 6.8493 8.48304 6.58299 7.86253 6.13319C6.79526 5.35952 6.16346 4.1212 6.16346 2.80301V1.16505Z"
fill=
"#0D53DE"
/>
</svg>
projects/web/src/assets/pdf/pdf-upload-item-1.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"33"
height=
"32"
viewBox=
"0 0 33 32"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame 1312318470"
>
<g
id=
"Group 1312319418"
>
<g
id=
"Group 1312318396"
>
<g
id=
"Rectangle 1921711211"
filter=
"url(#filter0_b_3389_2376)"
>
<rect
x=
"7.94043"
y=
"7.72046"
width=
"16.0861"
height=
"16.0861"
fill=
"url(#paint0_linear_3389_2376)"
fill-opacity=
"0.5"
/>
</g>
<rect
id=
"Rectangle 1921711212"
x=
"3.20898"
y=
"18.3228"
width=
"4.25809"
height=
"4.25809"
fill=
"url(#paint1_linear_3389_2376)"
fill-opacity=
"0.3"
/>
<g
id=
"Group 1312318396_2"
>
<g
id=
"Ellipse 2410"
filter=
"url(#filter1_b_3389_2376)"
>
<circle
cx=
"25.2952"
cy=
"20.4517"
r=
"5.01"
fill=
"url(#paint2_linear_3389_2376)"
fill-opacity=
"0.8"
/>
</g>
<path
id=
"Vector 452"
d=
"M22.6934 20.1516L23.1271 19.9181L24.5366 21.4356L27.464 18.3228L27.8977 18.673L24.8618 22.4862H24.5366L22.6934 20.1516Z"
fill=
"white"
/>
</g>
</g>
<path
id=
"Union"
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M19.6826 10.9648V11.4648V12.2039L21.0381 12.2039L21.5381 12.2039V13.2039H21.0381H19.6826V13.9429V14.4429H18.6826V13.9429V13.2039L12.21 13.2039H11.71V12.2039H12.21L18.6826 12.2039V11.4648V10.9648H19.6826ZM18.9111 19.1658H19.4111V18.1658H18.9111H13.2832V17.2695V16.7695H12.2832V17.2695V18.1658H10.9287H10.4287V19.1658H10.9287H12.2832V20.062V20.562H13.2832V20.062V19.1658H18.9111Z"
fill=
"white"
/>
</g>
</g>
<defs>
<filter
id=
"filter0_b_3389_2376"
x=
"3.94043"
y=
"3.72046"
width=
"24.0859"
height=
"24.0862"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"2"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_3389_2376"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_3389_2376"
result=
"shape"
/>
</filter>
<filter
id=
"filter1_b_3389_2376"
x=
"-29.7148"
y=
"-34.5583"
width=
"110.02"
height=
"110.02"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"25"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_3389_2376"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_3389_2376"
result=
"shape"
/>
</filter>
<linearGradient
id=
"paint0_linear_3389_2376"
x1=
"6.57741"
y1=
"9.49421"
x2=
"22.588"
y2=
"19.8428"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
<linearGradient
id=
"paint1_linear_3389_2376"
x1=
"0.822986"
y1=
"19.4736"
x2=
"7.78197"
y2=
"22.0548"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#0D53DE"
/>
<stop
offset=
"1"
stop-color=
"#5246FF"
/>
</linearGradient>
<linearGradient
id=
"paint2_linear_3389_2376"
x1=
"25.2952"
y1=
"12.2948"
x2=
"25.2427"
y2=
"29.116"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
</defs>
</svg>
projects/web/src/assets/pdf/pdf-upload-item-2.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"33"
height=
"32"
viewBox=
"0 0 33 32"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame 1312318468"
>
<g
id=
"Group 1312318394"
>
<path
id=
"Rectangle 1921711210"
d=
"M13.2347 12.3647L26.0552 18.9175L16.6535 25.4702L3.83301 18.9175L13.2347 12.3647Z"
fill=
"url(#paint0_linear_3389_2351)"
fill-opacity=
"0.3"
/>
<g
id=
"Rectangle 1921711209"
filter=
"url(#filter0_b_3389_2351)"
>
<path
d=
"M13.2347 4.66675L26.0552 11.2195L16.6535 17.7722L3.83301 11.2195L13.2347 4.66675Z"
fill=
"url(#paint1_linear_3389_2351)"
fill-opacity=
"0.5"
/>
</g>
<g
id=
"Group 1312318397"
>
<g
id=
"Group 1312318397_2"
>
<g
id=
"Ellipse 2410"
filter=
"url(#filter1_b_3389_2351)"
>
<circle
cx=
"26.0549"
cy=
"21.01"
r=
"5.01"
fill=
"url(#paint2_linear_3389_2351)"
fill-opacity=
"0.8"
/>
</g>
<path
id=
"!"
d=
"M25.4747 17.8989H26.636L26.4209 22.3347H25.6897L25.4747 17.8989ZM26.051 22.8052C26.2403 22.8052 26.4037 22.8662 26.5328 22.9883C26.6532 23.1103 26.722 23.2671 26.722 23.4588C26.722 23.6506 26.6532 23.8161 26.5328 23.9381C26.3951 24.0601 26.2403 24.1211 26.051 24.1211C25.8618 24.1211 25.707 24.0514 25.5865 23.9294C25.4489 23.8074 25.3887 23.6506 25.3887 23.4588C25.3887 23.2671 25.4489 23.1103 25.5865 22.9883C25.707 22.8662 25.8618 22.8052 26.051 22.8052Z"
fill=
"white"
/>
</g>
</g>
</g>
</g>
<defs>
<filter
id=
"filter0_b_3389_2351"
x=
"-0.166992"
y=
"0.666748"
width=
"30.2227"
height=
"21.1055"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"2"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_3389_2351"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_3389_2351"
result=
"shape"
/>
</filter>
<filter
id=
"filter1_b_3389_2351"
x=
"-28.9551"
y=
"-34"
width=
"110.02"
height=
"110.02"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"25"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_3389_2351"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_3389_2351"
result=
"shape"
/>
</filter>
<linearGradient
id=
"paint0_linear_3389_2351"
x1=
"-8.6191"
y1=
"15.9068"
x2=
"20.9846"
y2=
"34.5261"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#0D53DE"
/>
<stop
offset=
"1"
stop-color=
"#5246FF"
/>
</linearGradient>
<linearGradient
id=
"paint1_linear_3389_2351"
x1=
"1.95006"
y1=
"6.11183"
x2=
"16.196"
y2=
"21.7253"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
<linearGradient
id=
"paint2_linear_3389_2351"
x1=
"26.0549"
y1=
"12.8531"
x2=
"26.0024"
y2=
"29.6744"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
</defs>
</svg>
projects/web/src/assets/pdf/pdf-upload-item-3.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"33"
height=
"32"
viewBox=
"0 0 33 32"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame 1312318469"
>
<g
id=
"Group 1312318395"
>
<g
id=
"Polygon 11"
filter=
"url(#filter0_b_3389_2363)"
>
<path
d=
"M15.4853 18.3465L25.1366 7.6665H5.83398L15.4853 18.3465Z"
fill=
"url(#paint0_linear_3389_2363)"
fill-opacity=
"0.5"
/>
</g>
<path
id=
"Polygon 12"
d=
"M15.4847 19.5808L10.4492 25.0319H20.5202L15.4847 19.5808Z"
fill=
"url(#paint1_linear_3389_2363)"
fill-opacity=
"0.3"
/>
<g
id=
"Group 1312318396"
>
<g
id=
"Ellipse 2410"
filter=
"url(#filter1_b_3389_2363)"
>
<circle
cx=
"22.1881"
cy=
"15.5684"
r=
"5.01228"
fill=
"url(#paint2_linear_3389_2363)"
fill-opacity=
"0.8"
/>
</g>
<path
id=
"Union"
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M22.7153 15.0406V12.9302H21.6601V15.0406H19.5498V16.0958H21.6601V18.2063H22.7153V16.0958H24.8259V15.0406H22.7153Z"
fill=
"white"
/>
</g>
</g>
</g>
<defs>
<filter
id=
"filter0_b_3389_2363"
x=
"1.83398"
y=
"3.6665"
width=
"27.3027"
height=
"18.6799"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"2"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_3389_2363"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_3389_2363"
result=
"shape"
/>
</filter>
<filter
id=
"filter1_b_3389_2363"
x=
"-32.8242"
y=
"-39.4438"
width=
"110.024"
height=
"110.025"
filterUnits=
"userSpaceOnUse"
color-interpolation-filters=
"sRGB"
>
<feFlood
flood-opacity=
"0"
result=
"BackgroundImageFix"
/>
<feGaussianBlur
in=
"BackgroundImageFix"
stdDeviation=
"25"
/>
<feComposite
in2=
"SourceAlpha"
operator=
"in"
result=
"effect1_backgroundBlur_3389_2363"
/>
<feBlend
mode=
"normal"
in=
"SourceGraphic"
in2=
"effect1_backgroundBlur_3389_2363"
result=
"shape"
/>
</filter>
<linearGradient
id=
"paint0_linear_3389_2363"
x1=
"4.19842"
y1=
"8.84415"
x2=
"15.7172"
y2=
"22.3004"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
<linearGradient
id=
"paint1_linear_3389_2363"
x1=
"4.80602"
y1=
"21.0541"
x2=
"17.5463"
y2=
"29.7848"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#0D53DE"
/>
<stop
offset=
"1"
stop-color=
"#5246FF"
/>
</linearGradient>
<linearGradient
id=
"paint2_linear_3389_2363"
x1=
"22.1881"
y1=
"7.40786"
x2=
"22.1355"
y2=
"24.2367"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
</defs>
</svg>
projects/web/src/assets/pdf/pdf-upload.png
deleted
100644 → 0
View file @
3cc3f754
119 KB
projects/web/src/assets/react.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
aria-hidden=
"true"
role=
"img"
class=
"iconify iconify--logos"
width=
"35.93"
height=
"32"
preserveAspectRatio=
"xMidYMid meet"
viewBox=
"0 0 256 228"
><path
fill=
"#00D8FF"
d=
"M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"
></path></svg>
\ No newline at end of file
projects/web/src/assets/svg/empty.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"84"
height=
"84"
viewBox=
"0 0 84 84"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Frame 1312317176"
>
<g
id=
"Group 1312316503"
>
<path
id=
"Vector 2"
d=
"M4.19922 45.0843L19.2327 27.332H62.2174L74.9123 45.0843H4.19922Z"
fill=
"#D6DAE1"
/>
<path
id=
"Vector 3"
d=
"M4.19922 55.7337L19.2327 38.2773H62.2174L74.9123 55.7337H4.19922Z"
fill=
"#EFF2F4"
/>
<path
id=
"Rectangle 4"
d=
"M4.19922 45.082H74.9123V71.4011H4.19922V45.082Z"
fill=
"#D6DAE1"
/>
<path
id=
"Vector"
d=
"M27.3008 42.1886C27.3008 42.1886 31.6288 21.2106 47.9877 22.1117C58.6237 22.6672 52.933 31.5185 47.5387 27.6078C40.2531 22.353 46.8737 12.158 58.3672 12.6165"
stroke=
"white"
stroke-width=
"1.4"
stroke-miterlimit=
"10"
/>
</g>
<path
id=
"Polygon 1"
d=
"M72.4199 13.1319L57.3994 19.1593L61.2849 12.8308L57.747 6.30166L72.4199 13.1319Z"
fill=
"#005DFF"
/>
<g
id=
"Group 1312317183"
>
<line
id=
"Line 1"
x1=
"12.0223"
y1=
"19.4777"
x2=
"16.4771"
y2=
"23.9325"
stroke=
"white"
stroke-width=
"1.4"
/>
<line
id=
"Line 2"
x1=
"8.24367"
y1=
"24.8864"
x2=
"14.329"
y2=
"26.5169"
stroke=
"white"
stroke-width=
"1.4"
/>
<line
id=
"Line 3"
x1=
"18.816"
y1=
"22.0288"
x2=
"17.1855"
y2=
"15.9435"
stroke=
"white"
stroke-width=
"1.4"
/>
</g>
</g>
</svg>
projects/web/src/assets/svg/logo.svg
deleted
100644 → 0
View file @
3cc3f754
<svg
width=
"117"
height=
"33"
viewBox=
"0 0 117 33"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
opacity=
"0.4"
d=
"M1.62333 12.0672C1.59143 11.9352 1.61643 11.7959 1.69224 11.6832L7.00309 3.7881C7.07068 3.68762 7.17347 3.6161 7.29119 3.58765L21.6677 0.113558C21.9277 0.050728 22.1894 0.210569 22.2522 0.470572L25.9139 15.6234C27.3912 21.7368 23.6329 27.8902 17.5196 29.3675C11.4062 30.8448 5.25278 27.0866 3.77548 20.9732L1.62333 12.0672Z"
fill=
"url(#paint0_linear_4102_1070)"
/>
<path
d=
"M5.82617 8.67262C5.82617 8.53679 5.88321 8.4072 5.98337 8.31546L13.0001 1.88877C13.0894 1.80697 13.2061 1.7616 13.3272 1.7616H28.1175C28.385 1.7616 28.6018 1.97844 28.6018 2.24593V17.8349C28.6018 24.1243 23.5033 29.2228 17.214 29.2228C10.9247 29.2228 5.82617 24.1243 5.82617 17.8349V8.67262Z"
fill=
"url(#paint1_linear_4102_1070)"
/>
<path
d=
"M12.3314 8.75272L5.94842 8.35474L13.0703 1.83537L13.3688 7.72672C13.3987 8.30987 12.9142 8.78905 12.3314 8.75272Z"
fill=
"#5D76FF"
/>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M20.4163 15.0221V16.7333C20.4163 18.0609 19.34 19.1372 18.0124 19.1372C16.6848 19.1372 15.6085 18.0609 15.6085 16.7333V12.4552H12.7972V17.1407C12.7972 20.021 15.1321 22.3559 18.0124 22.3559C20.8927 22.3559 23.2276 20.021 23.2276 17.1407V12.4552L23.2276 15.0221H20.4163Z"
fill=
"#0028FD"
/>
<path
d=
"M23.2276 13.8812H24.3684V15.0221L23.2276 15.0221L23.2276 13.8812Z"
fill=
"#0028FD"
/>
<path
d=
"M20.4163 13.1886H22.2497V15.0221L20.4163 15.0221L20.4163 13.1886Z"
fill=
"#0028FD"
/>
<path
d=
"M22.2497 12.2107H23.2276V13.1886L22.2497 13.1886L22.2497 12.2107Z"
fill=
"#0028FD"
/>
<path
d=
"M23.798 10.581H24.4091V11.1922H23.798V10.581Z"
fill=
"#0028FD"
/>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M20.0864 14.9121V16.6233C20.0864 17.9509 19.0102 19.0272 17.6825 19.0272C16.3549 19.0272 15.2787 17.951 15.2787 16.6233V12.3453H12.4674V17.0308C12.4674 19.911 14.8023 22.2459 17.6825 22.2459C20.5628 22.2459 22.8977 19.911 22.8977 17.0308V12.3453L22.8977 14.9121H20.0864Z"
fill=
"white"
/>
<path
d=
"M22.8977 13.7713H24.0385V14.9121L22.8977 14.9121L22.8977 13.7713Z"
fill=
"white"
/>
<path
d=
"M20.0864 13.0786H21.9199V14.9121L20.0864 14.9121L20.0864 13.0786Z"
fill=
"white"
/>
<path
d=
"M21.9199 12.1008H22.8977V13.0786L21.9199 13.0786L21.9199 12.1008Z"
fill=
"white"
/>
<path
d=
"M23.4681 10.4711H24.0793V11.0822H23.4681V10.4711Z"
fill=
"white"
/>
<path
d=
"M38.498 7.70654H43.5757L46.833 17.5265H46.9767L50.3299 7.70654H55.2638V24.3286H52.1741V10.7723H52.0304L48.4617 20.9754H45.2522L41.7075 10.7723H41.5638V24.3286H38.498V7.70654Z"
fill=
"#2951F2"
/>
<path
d=
"M102.908 8.5108H106.093V18.2239C106.093 19.1975 106.355 19.9625 106.878 20.5189C107.498 21.2298 108.364 21.5852 109.475 21.5852C110.585 21.5852 111.451 21.2298 112.072 20.5189C112.595 19.9625 112.856 19.1975 112.856 18.2239V8.5108H116.041V17.9689C116.041 19.7307 115.633 21.1062 114.816 22.0952C114.244 22.8061 113.477 23.3548 112.513 23.7411C111.566 24.1275 110.553 24.3207 109.475 24.3207C108.397 24.3207 107.376 24.1275 106.412 23.7411C105.465 23.3548 104.705 22.8061 104.133 22.0952C103.317 21.1062 102.908 19.7307 102.908 17.9689V8.5108Z"
fill=
"#2951F2"
/>
<path
d=
"M90.4883 24.3163V13.6627H93.49V15.2619C93.8509 14.573 94.2937 14.0809 94.8186 13.7857C95.3107 13.474 95.9012 13.3182 96.5901 13.3182C96.9838 13.3182 97.4103 13.4002 97.8696 13.5642L97.4759 16.3691C97.0986 16.1067 96.6311 15.9755 96.0734 15.9755C95.2041 15.9755 94.5398 16.2625 94.0805 16.8366C93.6868 17.3287 93.49 18.116 93.49 19.1986V24.3163H90.4883Z"
fill=
"#2951F2"
/>
<path
d=
"M85.3342 20.5716L88.0899 21.0145C87.9751 21.3098 87.8193 21.605 87.6224 21.9003C87.442 22.1791 87.1549 22.5318 86.7613 22.9583C86.3676 23.3683 85.8345 23.7046 85.162 23.967C84.4895 24.2131 83.7185 24.3361 82.8492 24.3361C81.1761 24.3361 79.8147 23.8358 78.7649 22.8352C77.6495 21.7854 77.0918 20.3994 77.0918 18.6771C77.0918 16.9712 77.6331 15.577 78.7157 14.4944C79.7327 13.4938 81.0695 12.9935 82.7262 12.9935C84.5305 12.9935 85.9165 13.5758 86.8843 14.7404C87.7372 15.7574 88.1637 17.1516 88.1637 18.9232V19.1692H80.1919C80.1919 19.8909 80.3642 20.4896 80.7086 20.9653C81.2007 21.6378 81.9142 21.9741 82.8492 21.9741C83.9646 21.9741 84.7929 21.5066 85.3342 20.5716ZM80.2903 17.2501H85.3342C85.2194 16.5611 84.9159 16.0363 84.4239 15.6754C83.9482 15.2981 83.4069 15.1095 82.8 15.1095C82.2095 15.1095 81.6682 15.2981 81.1761 15.6754C80.7004 16.0527 80.4052 16.5775 80.2903 17.2501Z"
fill=
"#2951F2"
/>
<path
d=
"M64.4902 24.3163V13.6627H67.492V15.0405C68.3121 13.8923 69.4111 13.3182 70.7889 13.3182C72.1832 13.3182 73.2329 13.7529 73.9383 14.6222C74.496 15.3112 74.7748 16.3117 74.7748 17.624V24.3163H71.7731V18.5097C71.7731 17.5091 71.5845 16.812 71.2072 16.4183C70.8627 16.0575 70.3953 15.877 69.8048 15.877C68.9846 15.877 68.3695 16.1887 67.9594 16.812C67.6478 17.3041 67.492 17.993 67.492 18.8788V24.3163H64.4902Z"
fill=
"#2951F2"
/>
<path
d=
"M58.627 13.6622H61.6287V24.3159H58.627V13.6622Z"
fill=
"#2951F2"
/>
<path
d=
"M58.6387 11.0709C58.6387 11.4795 58.7817 11.8335 59.0677 12.1331C59.3673 12.4191 59.7213 12.5621 60.1299 12.5621C60.5385 12.5621 60.8857 12.4191 61.1717 12.1331C61.4713 11.8335 61.6211 11.4795 61.6211 11.0709C61.6211 10.6624 61.4713 10.3151 61.1717 10.0291C60.8857 9.72948 60.5385 9.57968 60.1299 9.57968C59.7213 9.57968 59.3673 9.72948 59.0677 10.0291C58.7817 10.3151 58.6387 10.6624 58.6387 11.0709Z"
fill=
"#2951F2"
/>
<defs>
<linearGradient
id=
"paint0_linear_4102_1070"
x1=
"-1.1646"
y1=
"8.74619"
x2=
"26.2454"
y2=
"15.8908"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
<linearGradient
id=
"paint1_linear_4102_1070"
x1=
"3.89633"
y1=
"4.78963"
x2=
"28.8613"
y2=
"18.1727"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#1543FE"
/>
<stop
offset=
"1"
stop-color=
"#8C46FF"
/>
</linearGradient>
</defs>
</svg>
projects/web/src/components/SaveStatus.tsx
deleted
100644 → 0
View file @
3cc3f754
import
React
,
{
useState
,
useEffect
,
useImperativeHandle
,
forwardRef
,
}
from
"
react
"
;
import
cls
from
"
classnames
"
;
interface
SaveStatusProps
{
className
?:
string
;
}
export
interface
SaveStatusRef
{
triggerSave
:
()
=>
void
;
reset
:
()
=>
void
;
// 新增的重置方法
}
const
SaveStatus
=
forwardRef
<
SaveStatusRef
,
SaveStatusProps
>
(
({
className
},
ref
)
=>
{
const
[
lastSaveTime
,
setLastSaveTime
]
=
useState
<
Date
|
null
>
(
null
);
const
[
showSaved
,
setShowSaved
]
=
useState
(
false
);
const
[
timeSinceLastSave
,
setTimeSinceLastSave
]
=
useState
(
0
);
useImperativeHandle
(
ref
,
()
=>
({
triggerSave
:
()
=>
{
setLastSaveTime
(
new
Date
());
setShowSaved
(
true
);
},
reset
:
()
=>
{
// 新增的重置方法
setLastSaveTime
(
null
);
setShowSaved
(
false
);
setTimeSinceLastSave
(
0
);
},
}));
useEffect
(()
=>
{
if
(
showSaved
)
{
const
timer
=
setTimeout
(()
=>
{
setShowSaved
(
false
);
},
10000
);
return
()
=>
clearTimeout
(
timer
);
}
},
[
showSaved
]);
useEffect
(()
=>
{
const
updateTimeSinceLastSave
=
()
=>
{
if
(
lastSaveTime
)
{
const
now
=
new
Date
();
const
diffInMinutes
=
Math
.
floor
(
(
now
.
getTime
()
-
lastSaveTime
.
getTime
())
/
60000
);
if
(
diffInMinutes
>
0
)
{
setTimeSinceLastSave
(
diffInMinutes
);
}
}
};
const
timer
=
setInterval
(
updateTimeSinceLastSave
,
60000
);
updateTimeSinceLastSave
();
// 立即更新一次
return
()
=>
clearInterval
(
timer
);
},
[
lastSaveTime
]);
return
(
<
div
className
=
{
cls
(
"
flex items-center
"
,
className
)
}
>
{
showSaved
&&
(
<
span
className
=
"text-[#121316]/[0.6] text-[13px] leading-[24px]"
>
已保存
</
span
>
)
}
{
timeSinceLastSave
>
0
&&
!
showSaved
&&
lastSaveTime
&&
(
<
span
className
=
"text-[#121316]/[0.6] text-[13px] leading-[24px]"
>
最近修改:
{
timeSinceLastSave
}
分钟前
</
span
>
)
}
{
(
showSaved
||
(
timeSinceLastSave
>
0
&&
!
showSaved
&&
lastSaveTime
))
&&
(
<
span
className
=
"w-[1px] h-[0.75rem] bg-[#D7D8DD] ml-[1rem] block"
></
span
>
)
}
</
div
>
);
}
);
export
default
SaveStatus
;
projects/web/src/components/code-mirror/index.module.scss
deleted
100644 → 0
View file @
3cc3f754
.code-mirror
{
:global
{
.
ͼ
1
.cm-scroller
{
overflow-x
:
visible
!
important
;
border
:
none
!
important
;
}
.cm-editor.cm-focused
{
outline
:
none
!
important
;
}
}
}
\ No newline at end of file
projects/web/src/components/code-mirror/index.tsx
deleted
100644 → 0
View file @
3cc3f754
import
React
,
{
PropsWithChildren
}
from
"
react
"
;
import
ReactCodeMirror
,
{
EditorView
,
Extension
}
from
"
@uiw/react-codemirror
"
;
import
{
loadLanguage
}
from
"
@uiw/codemirror-extensions-langs
"
;
import
cls
from
"
classnames
"
;
import
style
from
"
./index.module.scss
"
;
// import { scrollPastEnd } from "@codemirror/view";
interface
IProps
{
className
?:
string
;
editable
?:
boolean
;
language
?:
"
json
"
|
"
markdown
"
|
"
yaml
"
;
value
:
string
;
onChange
?:
(
value
:
string
)
=>
void
;
lineWrapping
?:
boolean
;
onBeforeChange
?:
(
editor
:
any
,
data
:
any
,
value
:
any
)
=>
void
;
}
const
CodeMirror
:
React
.
FC
<
PropsWithChildren
<
IProps
>>
=
({
language
=
"
markdown
"
,
value
,
className
,
onChange
,
lineWrapping
,
onBeforeChange
,
editable
,
})
=>
{
// const noScrollPastEnd = scrollPastEnd();
const
extensions
=
[
{
ext
:
EditorView
.
lineWrapping
,
on
:
lineWrapping
,
},
{
ext
:
loadLanguage
(
language
),
on
:
true
,
},
]
.
map
((
i
)
=>
(
i
.
on
?
i
.
ext
:
null
))
.
filter
(
Boolean
)
as
Extension
[];
return
(
<
ReactCodeMirror
className
=
{
cls
(
"
odl-code-mirror
"
,
className
,
style
.
codeMirror
)
}
value
=
{
value
}
theme
=
"light"
basicSetup
=
{
{
lineNumbers
:
false
,
highlightActiveLineGutter
:
false
,
foldGutter
:
false
,
highlightActiveLine
:
false
,
// syntaxHighlighting: true,
}
}
editable
=
{
editable
}
extensions
=
{
extensions
}
onChange
=
{
(
v
)
=>
{
onChange
?.(
v
);
}
}
/>
);
};
export
default
React
.
memo
(
CodeMirror
);
projects/web/src/components/error-boundary.tsx
deleted
100644 → 0
View file @
3cc3f754
import
{
Component
,
ErrorInfo
,
ReactNode
}
from
"
react
"
;
interface
Props
{
children
:
ReactNode
;
fallback
?:
ReactNode
;
}
interface
State
{
hasError
:
boolean
;
}
class
ErrorBoundary
extends
Component
<
Props
,
State
>
{
constructor
(
props
:
Props
)
{
super
(
props
);
this
.
state
=
{
hasError
:
false
};
}
static
getDerivedStateFromError
(
_
:
Error
):
State
{
return
{
hasError
:
true
};
}
componentDidCatch
(
error
:
Error
,
errorInfo
:
ErrorInfo
)
{
console
.
error
(
"
ErrorBoundary caught an error:
"
,
error
,
errorInfo
);
}
render
()
{
if
(
this
.
state
.
hasError
)
{
return
(
this
.
props
.
children
||
(
<
h1
className
=
"text-red-500 flex items-center justify-center"
>
Error
</
h1
>
)
);
}
return
this
.
props
.
children
;
}
}
export
default
ErrorBoundary
;
projects/web/src/components/icon-font.tsx
deleted
100644 → 0
View file @
3cc3f754
import
{
createFromIconfontCN
}
from
"
@ant-design/icons
"
;
const
IconFont
=
createFromIconfontCN
({
scriptUrl
:
`/iconfont.js`
,
});
export
default
IconFont
;
Prev
1
…
18
19
20
21
22
23
24
25
26
…
29
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment