@edu-tosel/design 1.0.265 → 1.0.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. package/asset/SVG.d.ts +4 -0
  2. package/asset/SVG.js +4 -0
  3. package/asset/SVG.tsx +4 -0
  4. package/asset/svg/MiniClose.d.ts +4 -0
  5. package/asset/svg/MiniClose.js +4 -0
  6. package/asset/svg/MiniClose.tsx +19 -0
  7. package/asset/svg/Search.d.ts +1 -0
  8. package/asset/svg/Search.js +4 -0
  9. package/asset/svg/Search.tsx +24 -0
  10. package/board/design/Header.design.d.ts +1 -1
  11. package/board/design/Header.design.js +12 -3
  12. package/board/template/CanvasBoard.js +1 -1
  13. package/globals.css +14 -2
  14. package/interface/Board.d.ts +11 -1
  15. package/interface/Shelf.d.ts +1 -0
  16. package/interface/domain/Tag.d.ts +1 -1
  17. package/interface/domain/Tag.js +2 -1
  18. package/interface/widget/Carousel.d.ts +1 -1
  19. package/layout/design/Shelf.design.js +2 -2
  20. package/layout/index.d.ts +0 -9
  21. package/layout/index.js +0 -9
  22. package/layout/template/Ticket/Extension.js +2 -2
  23. package/layout/template/home/Promotion.js +1 -0
  24. package/layout/template/home/Service.js +1 -0
  25. package/layout/template/home/layout/Carousel.js +27 -8
  26. package/layout/template/home/layout/Navigation.js +117 -22
  27. package/package.json +2 -2
  28. package/util/createSearch.d.ts +5 -0
  29. package/util/createSearch.js +235 -0
  30. package/util/handlePrint.d.ts +1 -1
  31. package/util/handlePrint.js +1 -1
  32. package/util/index.d.ts +1 -0
  33. package/util/index.js +1 -0
  34. package/version.txt +1 -1
  35. package/widget/template/Input/index.js +8 -0
  36. package/layout/template/About/SectionA.d.ts +0 -1
  37. package/layout/template/About/SectionA.js +0 -51
  38. package/layout/template/About/SectionB.d.ts +0 -2
  39. package/layout/template/About/SectionB.js +0 -55
  40. package/layout/template/About/SectionC.d.ts +0 -1
  41. package/layout/template/About/SectionC.js +0 -35
  42. package/layout/template/About/SectionCCards.d.ts +0 -13
  43. package/layout/template/About/SectionCCards.js +0 -13
  44. package/layout/template/About/SectionCD.d.ts +0 -1
  45. package/layout/template/About/SectionCD.js +0 -15
  46. package/layout/template/About/SectionCLeaf.d.ts +0 -15
  47. package/layout/template/About/SectionCLeaf.js +0 -104
  48. package/layout/template/About/SectionD.d.ts +0 -1
  49. package/layout/template/About/SectionD.js +0 -131
  50. package/layout/template/About/SectionE.d.ts +0 -1
  51. package/layout/template/About/SectionE.js +0 -7
  52. package/layout/template/About/SectionECards.d.ts +0 -1
  53. package/layout/template/About/SectionECards.js +0 -79
  54. package/layout/template/About/SectionF.d.ts +0 -1
  55. package/layout/template/About/SectionF.js +0 -4
  56. package/layout/template/About/SectionG.d.ts +0 -10
  57. package/layout/template/About/SectionG.js +0 -27
  58. package/layout/template/About/index.d.ts +0 -19
  59. package/layout/template/About/index.js +0 -19
  60. package/layout/template/Books/Books.layout.d.ts +0 -1
  61. package/layout/template/Books/Books.layout.js +0 -13
  62. package/layout/template/Books/SectionA.d.ts +0 -2
  63. package/layout/template/Books/SectionA.js +0 -430
  64. package/layout/template/Books/index.d.ts +0 -5
  65. package/layout/template/Books/index.js +0 -5
  66. package/layout/template/MonthlyProgressReport/Layout.d.ts +0 -4
  67. package/layout/template/MonthlyProgressReport/Layout.js +0 -52
  68. package/layout/template/MonthlyProgressReport/Report.d.ts +0 -46
  69. package/layout/template/MonthlyProgressReport/Report.js +0 -124
  70. package/layout/template/MonthlyProgressReport/index.d.ts +0 -8
  71. package/layout/template/MonthlyProgressReport/index.js +0 -7
  72. package/layout/template/Olympiad/Banner.d.ts +0 -1
  73. package/layout/template/Olympiad/Banner.js +0 -31
  74. package/layout/template/Olympiad/Conditions.d.ts +0 -1
  75. package/layout/template/Olympiad/Conditions.js +0 -168
  76. package/layout/template/Olympiad/Features.d.ts +0 -1
  77. package/layout/template/Olympiad/Features.js +0 -44
  78. package/layout/template/Olympiad/Olympiad.layout.d.ts +0 -1
  79. package/layout/template/Olympiad/Olympiad.layout.js +0 -19
  80. package/layout/template/Olympiad/Prizes.d.ts +0 -1
  81. package/layout/template/Olympiad/Prizes.js +0 -49
  82. package/layout/template/Olympiad/Sponsors.d.ts +0 -1
  83. package/layout/template/Olympiad/Sponsors.js +0 -31
  84. package/layout/template/Olympiad/Videoset.d.ts +0 -1
  85. package/layout/template/Olympiad/Videoset.js +0 -71
  86. package/layout/template/Olympiad/index.d.ts +0 -15
  87. package/layout/template/Olympiad/index.js +0 -15
  88. package/layout/template/Regexam/Banner.d.ts +0 -1
  89. package/layout/template/Regexam/Banner.js +0 -183
  90. package/layout/template/Regexam/Evaluation.d.ts +0 -3
  91. package/layout/template/Regexam/Evaluation.js +0 -132
  92. package/layout/template/Regexam/OfflineExam.d.ts +0 -4
  93. package/layout/template/Regexam/OfflineExam.js +0 -204
  94. package/layout/template/Regexam/Regexam.layout.d.ts +0 -1
  95. package/layout/template/Regexam/Regexam.layout.js +0 -13
  96. package/layout/template/Regexam/Types.d.ts +0 -1
  97. package/layout/template/Regexam/Types.js +0 -294
  98. package/layout/template/Regexam/index.d.ts +0 -11
  99. package/layout/template/Regexam/index.js +0 -11
  100. package/layout/template/Transcript/Layout.d.ts +0 -6
  101. package/layout/template/Transcript/Layout.js +0 -52
  102. package/layout/template/Transcript/design/Transcript.d.ts +0 -228
  103. package/layout/template/Transcript/design/Transcript.design.d.ts +0 -13
  104. package/layout/template/Transcript/design/Transcript.design.js +0 -58
  105. package/layout/template/Transcript/design/Transcript.js +0 -181
  106. package/layout/template/Transcript/design/TranscriptAdvanced.design.d.ts +0 -5
  107. package/layout/template/Transcript/design/TranscriptAdvanced.design.js +0 -55
  108. package/layout/template/Transcript/design/atom/CardTitle.d.ts +0 -5
  109. package/layout/template/Transcript/design/atom/CardTitle.js +0 -13
  110. package/layout/template/Transcript/design/atom/CardTitleDivided.d.ts +0 -0
  111. package/layout/template/Transcript/design/atom/CardTitleDivided.js +0 -1
  112. package/layout/template/Transcript/design/atom/GetPartDescriptionFromLevel.d.ts +0 -3
  113. package/layout/template/Transcript/design/atom/GetPartDescriptionFromLevel.js +0 -4
  114. package/layout/template/Transcript/design/atom/GetPartTitleFromLevel.d.ts +0 -3
  115. package/layout/template/Transcript/design/atom/GetPartTitleFromLevel.js +0 -4
  116. package/layout/template/Transcript/design/atom/GetStyleFromLevel.d.ts +0 -2
  117. package/layout/template/Transcript/design/atom/GetStyleFromLevel.js +0 -4
  118. package/layout/template/Transcript/design/atom/LevelToPartDescriptionMap.d.ts +0 -6
  119. package/layout/template/Transcript/design/atom/LevelToPartDescriptionMap.js +0 -95
  120. package/layout/template/Transcript/design/atom/LevelToPartTitleMap.d.ts +0 -6
  121. package/layout/template/Transcript/design/atom/LevelToPartTitleMap.js +0 -95
  122. package/layout/template/Transcript/design/atom/LevelToStyleMap.d.ts +0 -6
  123. package/layout/template/Transcript/design/atom/LevelToStyleMap.js +0 -42
  124. package/layout/template/Transcript/design/atom/PrintBoxStyles.d.ts +0 -4
  125. package/layout/template/Transcript/design/atom/PrintBoxStyles.js +0 -4
  126. package/layout/template/Transcript/design/molecule/BarGraph.d.ts +0 -11
  127. package/layout/template/Transcript/design/molecule/BarGraph.js +0 -81
  128. package/layout/template/Transcript/design/molecule/BarGraphDuo.d.ts +0 -10
  129. package/layout/template/Transcript/design/molecule/BarGraphDuo.js +0 -6
  130. package/layout/template/Transcript/design/molecule/BarGraphMulti.d.ts +0 -11
  131. package/layout/template/Transcript/design/molecule/BarGraphMulti.js +0 -9
  132. package/layout/template/Transcript/design/molecule/CircularGauge.d.ts +0 -10
  133. package/layout/template/Transcript/design/molecule/CircularGauge.js +0 -68
  134. package/layout/template/Transcript/design/molecule/LSWRChart.d.ts +0 -11
  135. package/layout/template/Transcript/design/molecule/LSWRChart.js +0 -44
  136. package/layout/template/Transcript/design/molecule/LevelIndex.d.ts +0 -3
  137. package/layout/template/Transcript/design/molecule/LevelIndex.js +0 -14
  138. package/layout/template/Transcript/design/molecule/MIChart.d.ts +0 -1
  139. package/layout/template/Transcript/design/molecule/MIChart.js +0 -51
  140. package/layout/template/Transcript/design/molecule/OCIChart.d.ts +0 -1
  141. package/layout/template/Transcript/design/molecule/OCIChart.js +0 -60
  142. package/layout/template/Transcript/design/molecule/RadarGraph.d.ts +0 -10
  143. package/layout/template/Transcript/design/molecule/RadarGraph.js +0 -5
  144. package/layout/template/Transcript/design/organism/BarCardCol.d.ts +0 -8
  145. package/layout/template/Transcript/design/organism/BarCardCol.js +0 -30
  146. package/layout/template/Transcript/design/organism/BarCardRow.d.ts +0 -8
  147. package/layout/template/Transcript/design/organism/BarCardRow.js +0 -30
  148. package/layout/template/Transcript/design/organism/HonorCard.d.ts +0 -4
  149. package/layout/template/Transcript/design/organism/HonorCard.js +0 -16
  150. package/layout/template/Transcript/design/organism/IdCard.d.ts +0 -8
  151. package/layout/template/Transcript/design/organism/IdCard.js +0 -64
  152. package/layout/template/Transcript/design/organism/IntelligenceCard.d.ts +0 -12
  153. package/layout/template/Transcript/design/organism/IntelligenceCard.js +0 -39
  154. package/layout/template/Transcript/design/organism/NationalPositionCard.d.ts +0 -4
  155. package/layout/template/Transcript/design/organism/NationalPositionCard.js +0 -14
  156. package/layout/template/Transcript/design/organism/OCICard.d.ts +0 -4
  157. package/layout/template/Transcript/design/organism/OCICard.js +0 -17
  158. package/layout/template/Transcript/design/organism/PerformanceCard.d.ts +0 -5
  159. package/layout/template/Transcript/design/organism/PerformanceCard.js +0 -25
  160. package/layout/template/Transcript/design/organism/RadarCard.d.ts +0 -7
  161. package/layout/template/Transcript/design/organism/RadarCard.js +0 -54
  162. package/layout/template/Transcript/design/organism/ResultGaugeCard.d.ts +0 -7
  163. package/layout/template/Transcript/design/organism/ResultGaugeCard.js +0 -19
  164. package/layout/template/Transcript/design/organism/ScoreCard.d.ts +0 -4
  165. package/layout/template/Transcript/design/organism/ScoreCard.js +0 -11
  166. package/layout/template/Transcript/design/organism/SectionRadarCard.d.ts +0 -8
  167. package/layout/template/Transcript/design/organism/SectionRadarCard.js +0 -42
  168. package/layout/template/Transcript/index.d.ts +0 -11
  169. package/layout/template/Transcript/index.js +0 -9
  170. package/layout/template/Transcript/interface.d.ts +0 -50
  171. package/layout/template/Transcript/interface.js +0 -1
@@ -1,81 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useEffect, useState } from "react";
3
- import { usePageLoaded } from "../../../../../hook";
4
- import { cn } from "../../../../../util";
5
- export function BarGraph({ score, subScore, total, title, scale, theme, }) {
6
- const isLoaded = usePageLoaded();
7
- const [currentWidth, setCurrentWidth] = useState(0);
8
- const widthPercentage = (score / total) * 100;
9
- const scalePercentage = scale && typeof scale === "number"
10
- ? ((Math.floor(total / scale) * scale * 100) / total).toFixed(0)
11
- : undefined;
12
- const subScorePercentage = subScore ? (subScore / total) * 100 : undefined;
13
- useEffect(() => {
14
- if (isLoaded) {
15
- let width = 0;
16
- const interval = setInterval(() => {
17
- width += 1;
18
- if (width >= widthPercentage) {
19
- clearInterval(interval);
20
- setCurrentWidth(widthPercentage);
21
- }
22
- else {
23
- setCurrentWidth(width);
24
- }
25
- }, 10); // 속도 조정 가능
26
- }
27
- }, [isLoaded, widthPercentage]);
28
- const setWrapper = {
29
- displays: "flex flex-col sm:flex-row justify-center items-center",
30
- sizes: "w-full h-fit",
31
- spacings: "p-5 gap-5",
32
- };
33
- const bar = {
34
- displays: "relative flex flex-row justify-start",
35
- sizes: "w-full h-4 rounded-full",
36
- backgroudns: "bg-gray-light print:bg-green-light",
37
- spacings: "my-auto",
38
- };
39
- const barFill = {
40
- sizes: "h-full rounded-full",
41
- animations: "transition-all duration-500 ease-out",
42
- backgrounds: "bg-gradient-to-r from-crimson-burgundy to-green-dark shadow-green",
43
- printOptions: "print:shadow-none",
44
- };
45
- const scoreTag = {
46
- sizes: "h-5 w-10 rounded-md",
47
- position: "-translate-x-14 -translate-y-2",
48
- backgrounds: "bg-white border-2",
49
- textStyles: "font-bold text-xs text-center",
50
- colors: theme == "green"
51
- ? "text-green-dark border-green-dark"
52
- : "text-crimson-burgundy border-crimson-burgundy",
53
- };
54
- const subScoreTag = {
55
- sizes: "h-5 w-fit rounded-md flex flex-row gap-2",
56
- position: "-translate-x-30 translate-y-6",
57
- };
58
- const graphTitle = {
59
- displays: "absolute",
60
- position: "-translate-y-12",
61
- sizes: "w-full h-fit",
62
- textSytls: "font-bold text-sm text-center",
63
- colors: theme == "green" ? "text-green-dark" : "text-crimson-burgundy",
64
- };
65
- // 눈금 배열 생성
66
- const scaleTicks = scale
67
- ? Array.from({ length: total / scale + 1 }, (_, index) => index * scale)
68
- : undefined;
69
- return (_jsx("div", { className: cn(setWrapper), children: _jsxs("div", { className: "relative w-full h-20 flex flex-[1] justify-center items-center px-5 pt-8 pb-2 overflow-visible", children: [_jsxs("div", { className: cn(bar), children: [_jsx("div", { className: "absolute top-0 left-0 w-full h-full flex", children: _jsx("div", { className: cn(barFill, "duration-0 opacity-0 print:opacity-100"), style: {
70
- width: `${widthPercentage}%`,
71
- } }) }), _jsx("div", { className: cn(barFill, "opacity-100 print:opacity-0"), style: {
72
- width: `${currentWidth}%`,
73
- } }), _jsx("div", { className: cn(graphTitle), children: title })] }), _jsx("div", { className: "absolute -right-1 text-gray-medium font-medium text-xs", children: total }), _jsx("div", { className: cn("absolute left-0 flex flex-row h-full justify-between items-center text-sm text-gray-medium -translate-y-5 p-5"), style: {
74
- width: `${scalePercentage}%`,
75
- }, children: scaleTicks &&
76
- scaleTicks.map((tick) => (_jsxs("div", { className: "w-0 relative text-xs", children: [tick != total && (_jsx("div", { className: "absolute left-3 -top-2", children: tick })), !(tick == 0 || tick == total) && (_jsx("div", { className: "absolute left-2 -top-1 h-4 w-[1px] bg-gray-medium/20" }))] }, tick))) }), _jsx("div", { className: "absolute flex w-full h-full justify-start items-center", style: {
77
- transform: `translateX(${widthPercentage}%)`,
78
- }, children: _jsx("div", { className: cn(scoreTag), children: score.toFixed(1) }) }), subScore && (_jsx("div", { className: "absolute flex w-full h-full justify-start items-center", style: {
79
- transform: `translateX(${subScorePercentage}%)`,
80
- }, children: _jsxs("div", { className: cn(subScoreTag), children: [_jsx("div", { className: "font-medium text-xs text-center text-gray-dark", children: "\uC804\uCCB4\uD3C9\uADE0:" }), _jsx("div", { className: "font-medium text-xs text-center text-gray-dark", children: subScore.toFixed(2) }), _jsx("div", { className: theme == "green" ? "text-green-dark" : "text-crimson-burgundy", children: _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", className: "size-4", children: _jsx("path", { fillRule: "evenodd", d: "M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm.53 5.47a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72v5.69a.75.75 0 0 0 1.5 0v-5.69l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3Z", clipRule: "evenodd" }) }) })] }) }))] }) }));
81
- }
@@ -1,10 +0,0 @@
1
- /**
2
- 표형식의 그래픽요소에서 나의 점수와 지표가 될만한 점수를 병렬로 표현하는 그래프입니다.
3
- */
4
- interface DuoBarProps {
5
- score: number;
6
- subScore: number;
7
- total: number;
8
- }
9
- export declare function BarGraphDuo({ score, subScore, total }: DuoBarProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- export function BarGraphDuo({ score, subScore, total }) {
3
- const myWidthPercentage = (score / total) * 100;
4
- const subWithPercentage = (subScore / total) * 100;
5
- return (_jsxs("div", { className: "w-full h-fit flex flex-col gap-1 shrink-0 py-2 px-0 relative", children: [_jsx("div", { className: "h-fit text-[10px] bg-green-dark text-white text-start rounded-[5px] px-1", style: { width: `${myWidthPercentage}%` }, children: "My Score" }), _jsx("div", { className: "h-fit text-[10px] bg-crimson-burgundy text-white text-start px-1 rounded-[5px]", style: { width: `${subWithPercentage}%` }, children: "Average" })] }));
6
- }
@@ -1,11 +0,0 @@
1
- import { Theme } from "../../interface";
2
- interface BarGraphMultiProps {
3
- name: string;
4
- data: number;
5
- }
6
- export declare const BarGraphMulti: ({ maxScore, data, }: {
7
- maxScore: number;
8
- theme: Theme;
9
- data: BarGraphMultiProps[];
10
- }) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BarChart, Bar, XAxis, YAxis, ResponsiveContainer, } from "recharts";
3
- export const BarGraphMulti = ({ maxScore, data, }) => {
4
- const chartData = data;
5
- return (_jsx("div", { className: "overflow-auto w-full scrollbar-hidden pt-5", children: _jsx("div", { className: "flex w-full flex-row min-w-[640px]", children: _jsx("div", { className: "flex w-full h-[240px] ", children: _jsx(ResponsiveContainer, { width: "100%", height: "100%", children: _jsxs(BarChart, { data: chartData, children: [_jsx(XAxis, { dataKey: "name", tick: {
6
- fontSize: 12,
7
- fill: "#888888",
8
- }, tickMargin: 8 }), _jsx(YAxis, { domain: [0, maxScore], tickFormatter: () => "", width: 0 }), _jsx(Bar, { dataKey: "data", fill: "#105652", radius: [4, 4, 0, 0], barSize: 32 })] }) }) }) }) }));
9
- };
@@ -1,10 +0,0 @@
1
- import { Theme } from "../../interface";
2
- interface GaugeProps {
3
- score: number;
4
- maxScore: number;
5
- isGrade?: boolean;
6
- theme: Theme;
7
- noAnimation: Boolean;
8
- }
9
- export declare const CircularGauge: ({ score, maxScore, isGrade, theme, noAnimation, }: GaugeProps) => import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,68 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Cell, Pie, PieChart, ResponsiveContainer } from "recharts";
3
- import { cn } from "../../../../../util";
4
- export const CircularGauge = ({ score, maxScore, isGrade, theme, noAnimation, }) => {
5
- const prepareNoAnimationPercentage = () => {
6
- if (isGrade) {
7
- return ((10 - score) / 9) * 100;
8
- }
9
- else {
10
- return (score / maxScore) * 100;
11
- }
12
- };
13
- const widthPercentage = prepareNoAnimationPercentage();
14
- const limitedScore = score.toFixed(1);
15
- const pieStyles = {
16
- cx: "50%",
17
- cy: "50%",
18
- innerRadius: "70%",
19
- outerRadius: "90%",
20
- cornerRadius: 6,
21
- dataKey: "value",
22
- nameKey: "name",
23
- };
24
- const cellStyles = {
25
- stroke: "rgba(255, 255, 255, 0)",
26
- };
27
- const scoreText = {
28
- displays: "absolute flex justify-center items-center",
29
- positions: "top-0 left-0",
30
- sizes: "w-full h-full",
31
- textStyles: "font-bold text-gray-medium text-xl",
32
- printOptions: "print:text-gray-dark",
33
- };
34
- const preparePieChartData = () => {
35
- const mainScore = score;
36
- const remainingScore = maxScore - mainScore;
37
- if (isGrade) {
38
- return [
39
- { name: "Score", value: remainingScore - 1 },
40
- { name: "Grade", value: mainScore - 1 },
41
- ];
42
- }
43
- else {
44
- return [
45
- { name: "Score", value: mainScore },
46
- { name: "Remaining", value: remainingScore },
47
- ];
48
- }
49
- };
50
- // 단체 성적표에 대한 분기 처리: svg 요소의 렌더 실패를 방지하기 위함
51
- if (noAnimation) {
52
- return (_jsxs("div", { className: "w-full aspect-square flex items-center justify-center relative", children: [_jsx("div", { className: "absolute top-5 left-0 w-full h-fit flex justify-center items-end font-bold text-gray-dark text-4xl", children: score }), _jsx("div", { className: "absolute bottom-5 left-0 w-full h-full flex flex-col justify-end items-start", children: _jsx("div", { className: "w-full h-5 bg-green-light rounded-full" }) }), _jsx("div", { className: "absolute bottom-5 left-0 w-full h-full flex flex-col justify-end items-start", children: _jsx("div", { className: "h-5 bg-green-dark rounded-full", style: {
53
- width: `${widthPercentage}%`,
54
- } }) })] }));
55
- }
56
- else {
57
- return (_jsxs("div", { className: "w-full aspect-square flex items-center justify-center relative", children: [_jsx("div", { className: "absolute top-0 left-0 w-full aspect-square", children: _jsx(ResponsiveContainer, { width: "100%", height: "100%", aspect: 1, children: _jsx(PieChart, { children: _jsx(Pie, { data: [{ name: "Background", value: 100 }], cx: "50%", cy: "50%", innerRadius: "70%", outerRadius: "90%", fill: "rgba(128, 128, 128, 0.2)" // 회색 배경 색상
58
- , dataKey: "value", stroke: "rgb(255,255,255,0)", animationDuration: 0 }) }) }) }), _jsx("div", { className: "absolute top-0 left-0 w-full aspect-square opacity-0 print:opacity-100", children: _jsx(ResponsiveContainer, { width: "100%", height: "100%", aspect: 1, children: _jsx(PieChart, { children: _jsxs(Pie, { data: preparePieChartData(), ...pieStyles, animationDuration: 0, children: [_jsx(Cell, { fill: theme == "green" ? "#105652" : "#910023", ...cellStyles, style: {
59
- filter: theme == "green"
60
- ? "drop-shadow(0px 3px 5px rgba(16, 86, 82, 0.38))"
61
- : "drop-shadow(0px 3px 5px rgba(145, 0, 35, 0.38))",
62
- } }), _jsx(Cell, { fill: "rgba(255, 255, 255, 0)", ...cellStyles })] }) }) }) }), _jsx(ResponsiveContainer, { width: "100%", height: "100%", aspect: 1, children: _jsx(PieChart, { children: _jsxs(Pie, { data: preparePieChartData(), ...pieStyles, children: [_jsx(Cell, { fill: theme == "green" ? "#105652" : "#910023", ...cellStyles, style: {
63
- filter: theme == "green"
64
- ? "drop-shadow(0px 3px 5px rgba(16, 86, 82, 0.38))"
65
- : "drop-shadow(0px 3px 5px rgba(145, 0, 35, 0.38))",
66
- } }), _jsx(Cell, { fill: "rgba(255, 255, 255, 0)", ...cellStyles })] }) }) }), _jsx("div", { className: cn(scoreText), children: isGrade ? score : limitedScore })] }));
67
- }
68
- };
@@ -1,11 +0,0 @@
1
- interface LSWRCellProps {
2
- data: {
3
- subject: string;
4
- A: number;
5
- B: number;
6
- fullMark: number;
7
- partIndicies: number[];
8
- }[];
9
- }
10
- export declare function LSWRChart({ data }: LSWRCellProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,44 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { createRecord } from "../../../../../util";
3
- const partDescription = [
4
- {
5
- number: 1,
6
- description: "Evaluates the ability to listen to and comprehend short conversations.",
7
- },
8
- {
9
- number: 2,
10
- description: "Evaluates the ability to comprehend short conversations and select the most appropriate picture.",
11
- },
12
- {
13
- number: 3,
14
- description: "Evaluates the ability to understand short conversations and answer questions about them.",
15
- },
16
- {
17
- number: 4,
18
- description: "Evaluates the ability to understand short talks and infer the intended meanings by answering questions.",
19
- },
20
- {
21
- number: 5,
22
- description: "Evaluates the ability to recognize topics and implications in various reading materials and select the best answers to questions about them.",
23
- },
24
- {
25
- number: 6,
26
- description: "Evaluates the ability to interpret sentence meanings and complete sentences using appropriate words, structure, and grammar.",
27
- },
28
- {
29
- number: 7,
30
- description: "Evaluates the ability to skim, analyze, and infer from practical reading materials and select the best answers to questions about them.",
31
- },
32
- {
33
- number: 8,
34
- description: "Evaluates the ability to recognize topics and implications in various reading materials and select the best answers to questions about them.",
35
- },
36
- ];
37
- const partDescriptionRecord = createRecord(partDescription, "number");
38
- export function LSWRChart({ data }) {
39
- return (_jsx("div", { className: "w-full h-full flex flex-col", children: data.map(({ partIndicies, subject, A, B }) => {
40
- return (_jsxs("div", { className: "flex w-full h-full even:bg-white odd:bg-gray-light", children: [_jsx("div", { className: "p-2 font-bold bg-crimson-burgundy text-white w-10 shrink-0 text-center", children: subject }), _jsxs("div", { className: "w-16 shrink-0 flex flex-col justify-center items-center p-2 text-center leading-tight", children: [_jsxs("div", { className: "text-green-dark font-bold text-base", children: [A.toFixed(0), "%"] }), _jsxs("div", { className: "text-crimson-burgundy font-medium text-xs leading-none", children: [B.toFixed(0), "%"] })] }), _jsx("div", { className: "flex flex-col justify-center", children: partIndicies.map((partIndex) => {
41
- return (_jsxs("div", { className: "text-[10px] leading-tight p-1 ", children: [_jsxs("span", { className: "font-bold", children: ["part ", partDescriptionRecord[partIndex].number, ":", " "] }), partDescriptionRecord[partIndex].description] }));
42
- }) })] }));
43
- }) }));
44
- }
@@ -1,3 +0,0 @@
1
- export default function LevelIndex({ transcriptLevel, }: {
2
- transcriptLevel: string;
3
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { useResponsive } from "../../../../../hook";
3
- import { LevelToStyleMap } from "../atom/LevelToStyleMap";
4
- export default function LevelIndex({ transcriptLevel, }) {
5
- const levels = ["CO", "PS", "ST", "BA", "JR", "HJ", "AD"];
6
- const isSM = useResponsive("sm");
7
- return (_jsx("div", { className: "flex flex-row w-full h-fit justify-center items-center", children: levels.map((level) => {
8
- const { name, bgcolor, textcolor } = LevelToStyleMap[level];
9
- const isHighlighted = level === transcriptLevel;
10
- return (_jsx("div", { className: `px-2 py-1 text-xs text-center font-medium $ ${isHighlighted
11
- ? "bg-green-dark text-white w-fit shrink-0 rounded-md"
12
- : "w-full text-green-dark/70"}`, children: isSM ? name : isHighlighted ? name : level }, level));
13
- }) }));
14
- }
@@ -1 +0,0 @@
1
- export declare function MIChart(): import("react/jsx-runtime").JSX.Element;
@@ -1,51 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../../../../util";
3
- // 8가지 지능에 대한 설명
4
- const multipleIntelligenceDescription = [
5
- {
6
- title: "자연친화지능",
7
- description: "동식물이나 날씨 자동차와 같은 주변 사물을 자세히 관할하여 차이점이나 공통점을 찾고 분석하는 재능입니다. 과학자나 공학자, 동물이나 식물을 다루는 직업 등의 직종에서 요구되는 지능으로 볼 수 있습니다. 영어로 동식물, 기호 등에 대해 묘사하고 서술하기, 자연용어, 인체내부 용어 찾아내고 영어로 적기, 원소와 원소기호를 영어로 나타내기, 날씨와 생활에 관련된 영어표현하기 등의 학습방법이 있습니다.",
8
- },
9
- {
10
- title: "인간친화지능",
11
- description: "가정이나 집단 등에서 사람들과 교류하고 타인의 감정과 행동을 파악하는 재능입니다. 정치가, 종교인, 마케터, 교사 등의 직종에 요구되는 지능으로 볼 수 있습니다. 영어토론, 세계의 문화 등을 담은 원서 읽기, 단체활동을 통한 영어학습, 다른 사람들의 행복과 슬픔에 대해 간단히 영어로 정리하는 등의 학습방법이 있습니다.",
12
- },
13
- {
14
- title: "자기성찰지능",
15
- description: "자기 자신의 심리와 정서를 잘 파악하고 표출하면서 자신의 감정을 잘 다스리는 재능입니다. 소설가, 상담가, 임상학자, 심리학자 등의 직종에 요구되는 지능으로 볼 수 있습니다. 혼자 공부하고 생각하는 시간을 갖는 것을 좋아하기 때문에 영어로 일기 쓰기, 컴퓨터를 활용한 영어공부, 삶을 다룬 영어책 읽기, 영어로 자신이 생각하는 것과 느낌 등을 표현하는 활동 등의 학습방법이 있습니다.",
16
- },
17
- {
18
- title: "신체운동지능",
19
- description: "자신의 신체적 운동을 통제하고 물체를 솜씨 있게 다루며, 춤, 운동, 여가등을 쉽게 익히고 창조하는 재능입니다. 운동선수, 프로게이머, 행동예술가, 배우 등의 직종에 요구도는 지능으로 볼 수 있습니다. 직접 다룰 수 있는 게임, 놀이 등을 활용해서 오감체험을 통해 영어 문장 말하기, 무언가 만들고 조립하는 과정을 통해 영어 배우기, 신체활동을 하는 과정에서 영어를 배우는 등의 학습방법이 있습니다.",
20
- },
21
- {
22
- title: "공간지능",
23
- description: "공간적, 시각적 세계를 정확히 지각하고 그 지각한 내용을 머릿속에서 변형, 회전시킬 수 있는 재능입니다. 건축가, 예술가, 디자이너, 발명가, 게임개발자, 웹툰작가 등의 직종에 요구되는 지능으로 볼 수 있습니다. 영어책을 읽힌 후, 가장 기억에 남 는 장면을 떠올리며 도표나 그림을 그려 설명하기, 조각 그림 맞추기, 스케치북에 그림을 그리며 영어단어 익히기, 영어 이미지 연상 활동 등의 학습방법이 있습니다",
24
- },
25
- {
26
- title: "음악지능",
27
- description: "음악뿐만 아니라 소리와 관련된 모든 사항에 대해 남보다 민감하게 반응하거나 분석할 수 있는 재능입니다. 작곡가, 가수, 연주가, 프로듀서, 랩퍼 등의 직종에 요구되는 지능으로 볼 수 있습니다. 영어 억양과 리듬을 익히기 위한 챈트, 노래 등을 활용하면 효과적이며, 영어 노래 부르기, 악기들의 영단어 공부하기, 팝송 등의 영어 노래 받아쓰기, 영어 랩을 암기시키기 등의 학습방법이 있습니다.",
28
- },
29
- {
30
- title: "논리수학지능",
31
- description: "실험 등을 논리적으로 검증하는 것을 좋아하고 수리적, 논리적 사고가 우수한 재능입니다. 프로그래머, 물리학자, 컴퓨터공학자, 금융인, 회계사, 법률가 등의 직종에 요구되는 지능으로 볼 수 있습니다. 영어로 된 수학퀴즈, 영어공부를 하는데 있어서 규칙 등을 만들어 주고 영어 문장에 소개된 내용들의 개념화 돕기, 수치와 관련된 글을 읽고 그래프 그려 보기 등의 학습방법이 있습니다.",
32
- },
33
- {
34
- title: "언어지능",
35
- description: "외국어를 습득하는 능력을 포함하여 말이나 글을 통하여 언어를 효과적으로 구사할 수 있는 재능입니다. 작가, 정치가, 변호사, 언론인, 방송진행자 등의 직종에 요구되는 지능으로 볼 수 있습니다. 영어 원서읽기, 낱말 맞추기나 끝말잇기 등 영어단어 암기, 영어일기 쓰기, 영어 애니메이션이나 영화 보여주고 다음 장면에 대해 상상하며 이야기하기, 영어로 된 글 읽고 다양한 감정을 나타내기 등의 학습방법이 있습니다.",
36
- },
37
- ];
38
- export function MIChart() {
39
- const cellHeader = {
40
- textStyles: "text-center text-white text-sm font-medium",
41
- displays: "flex justify-center items-center",
42
- spacings: "p-2",
43
- };
44
- const cellNormal = {
45
- textStyles: "text-gray-dark",
46
- displays: "flex justify-center items-center",
47
- };
48
- return (_jsx("div", { className: cn("overflow-auto w-full scrollbar-hidden rounded-lg mt-5 print:border print:border-gray-medium/70 cursor-default shadow-main print:shadow-none print:hidden"), children: _jsxs("div", { className: "min-w-[172mm] w-full", children: [_jsxs("div", { className: "flex flex-row bg-gradient-to-r from-crimson-burgundy to-green-dark", children: [_jsx("div", { className: cn(cellHeader, "flex-[1] print:static sticky left-0 bg-crimson-burgundy"), children: "Category" }), _jsx("div", { className: cn(cellHeader, "flex-[5] p-2"), children: "Explanation" })] }), multipleIntelligenceDescription.map(({ description, title }) => {
49
- return (_jsxs("div", { className: "flex flex-row text-sm bg-white odd:bg-gray-light", children: [_jsx("div", { className: cn(cellNormal, "flex-[1] print:static sticky left-0 border-r-1 p-2 border-crimson-burgundy backdrop-blur-md text-base"), children: title }), _jsx("div", { className: cn(cellNormal, "flex-[5] text-sm p-5"), children: description })] }));
50
- })] }) }));
51
- }
@@ -1 +0,0 @@
1
- export declare function OCIChart(): import("react/jsx-runtime").JSX.Element;
@@ -1,60 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../../../../util";
3
- const ociDescription = [
4
- {
5
- name: "CC",
6
- title: "Communicative Competency",
7
- description: "The ability to communicate by understanding written and spoken texts through one's lexical knowledge, reading comprehension skills, and grammatical knowledge, as well as by comprehending topics, main points, and details in each text.",
8
- profession: "Humanities and Social Sciences, Language Professions, Humanities Education, Writing",
9
- },
10
- {
11
- name: "PS",
12
- title: "Problem-Solving Competency",
13
- description: "The ability to recognize a problem, propose and apply alternatives through creativity, logic, critical organization, classification, and synthesis of information, and to assess potential consequences.",
14
- profession: "Accounting, IT, Legal, Social Activities",
15
- },
16
- {
17
- name: "RM",
18
- title: "Resource Management Competency",
19
- description: "The ability to plan the use and allocation of resources in practical settings by identifying and gathering various resources, and by understanding and evaluating their relationships.",
20
- profession: "Planning Services, Social Services, Educational Services",
21
- },
22
- {
23
- name: "IS",
24
- title: "Interpersonal / Social Competency",
25
- description: "The ability to discover shared interests with individuals from diverse backgrounds, to connect with and lead others, and to collaborate effectively.",
26
- profession: "Management, Sales-related Services, Office Work, General Services",
27
- },
28
- {
29
- name: "IU",
30
- title: "Information Utilization and Processing Competency",
31
- description: "The ability to collect task-related information and to process it quickly and skillfully by performing cognitive tasks such as classifying or sorting information by type, characteristic, or size.",
32
- profession: "Engineering, Video Technology, Web, Games, Animation",
33
- },
34
- {
35
- name: "OP",
36
- title: "Organizational Performance Competency",
37
- description: "The ability to understand and design organizational systems, and to think logically by applying deductive and inductive reasoning, classifying, identifying, and explaining information.",
38
- profession: "Educational Services, Planning, Sales-related Services, Finance, and Management",
39
- },
40
- {
41
- name: "SS",
42
- title: "Self-development and Self-regulation Competency",
43
- description: "The ability to understand one's own characteristics, aptitudes, and interests, to acquire necessary qualifications through self-management, to self-motivate, and to foster positive learning experiences for ongoing personal development.",
44
- profession: "Safety Professions, Medical Professions, Environmental Professions",
45
- },
46
- ];
47
- export function OCIChart() {
48
- const cellHeader = {
49
- textStyles: "text-center text-white text-sm font-medium",
50
- displays: "flex justify-center items-center",
51
- spacings: "p-2",
52
- };
53
- const cellNormal = {
54
- textStyles: "text-gray-dark",
55
- displays: "flex justify-center items-center",
56
- };
57
- return (_jsx("div", { className: cn("overflow-auto w-full scrollbar-hidden rounded-lg mt-5 print:border print:border-gray-medium/70 cursor-default shadow-main print:shadow-none"), children: _jsxs("div", { className: "min-w-[172mm] w-full", children: [_jsxs("div", { className: "flex flex-row bg-gradient-to-r from-crimson-burgundy to-green-dark", children: [_jsx("div", { className: cn(cellHeader, "flex-[1] print:static sticky left-0 bg-crimson-burgundy"), children: "Category" }), _jsx("div", { className: cn(cellHeader, "flex-[5] p-2"), children: "Competency Category" }), _jsx("div", { className: cn(cellHeader, "flex-[2]"), children: "Professional Areas" })] }), ociDescription.map(({ description, profession, title }) => {
58
- return (_jsxs("div", { className: "flex flex-row text-sm bg-white odd:bg-gray-light", children: [_jsx("div", { className: cn(cellNormal, "flex-[1] print:static sticky left-0 border-r-1 p-2 border-crimson-burgundy backdrop-blur-md text-[10px]"), children: title }), _jsx("div", { className: cn(cellNormal, "flex-[5] text-xs p-2"), children: description }), _jsx("div", { className: cn(cellNormal, "flex-[2] text-xs p-2"), children: profession })] }));
59
- })] }) }));
60
- }
@@ -1,10 +0,0 @@
1
- interface RadarGraphProps {
2
- data: {
3
- subject: string;
4
- A: number;
5
- B: number;
6
- fullMark: number;
7
- }[];
8
- }
9
- export declare function RadarGraph({ data }: RadarGraphProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Radar, RadarChart, PolarGrid, PolarAngleAxis, PolarRadiusAxis, ResponsiveContainer, } from "recharts";
3
- export function RadarGraph({ data }) {
4
- return (_jsxs("div", { className: "w-full aspect-square flex items-center justify-center relative", children: [_jsx("div", { className: "absolute top-0 left-0 w-full print:hidden", children: _jsx(ResponsiveContainer, { width: "100%", height: "100%", aspect: 1, children: _jsxs(RadarChart, { cx: "50%", cy: "50%", outerRadius: "80%", data: data, width: 500, height: 500, children: [_jsx(PolarGrid, {}), _jsx(PolarAngleAxis, { dataKey: "subject" }), _jsx(PolarRadiusAxis, { angle: 30, domain: [0, 100] }), _jsx(Radar, { name: "My Score", dataKey: "A", stroke: "#105652", fill: "#105652", fillOpacity: 0.2 }), _jsx(Radar, { name: "Average", dataKey: "B", stroke: "#910023", fill: "#910023", fillOpacity: 0.1 })] }) }) }), _jsx("div", { className: "absolute top-0 left-0 w-full opacity-0 print:opacity-100", children: _jsx(ResponsiveContainer, { width: "100%", height: "100%", aspect: 1, children: _jsxs(RadarChart, { cx: "50%", cy: "50%", outerRadius: "80%", data: data, width: 500, height: 500, children: [_jsx(PolarGrid, {}), _jsx(PolarAngleAxis, { dataKey: "subject" }), _jsx(PolarRadiusAxis, { angle: 30, domain: [0, 100] }), _jsx(Radar, { name: "My Score", dataKey: "A", stroke: "#105652", fill: "#105652", fillOpacity: 0.2, isAnimationActive: false }), _jsx(Radar, { name: "Average", dataKey: "B", stroke: "#910023", fill: "#910023", fillOpacity: 0.1, isAnimationActive: false })] }) }) })] }));
5
- }
@@ -1,8 +0,0 @@
1
- import { SectionBarProps, Theme } from "../../interface";
2
- interface BarCardColProps {
3
- section1: SectionBarProps;
4
- section2: SectionBarProps;
5
- theme: Theme;
6
- }
7
- export declare function BarCardCol({ section1, section2, theme }: BarCardColProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,30 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../../../../util";
3
- import CardTitle from "../atom/CardTitle";
4
- import { printBoxStyles } from "../atom/PrintBoxStyles";
5
- import { BarGraph } from "../molecule/BarGraph";
6
- export function BarCardCol({ section1, section2, theme }) {
7
- const cardWrapper = {
8
- displays: "flex flex-col relative",
9
- sizes: "w-full rounded-lg overflow-hidden",
10
- backgrounds: "bg-white shadow-main",
11
- sapcings: "mt-5",
12
- };
13
- const SectionWrapper = {
14
- display: "flex flex-col items-center justify-center",
15
- sizes: "h-full w-full",
16
- };
17
- const ScriptStyles = {
18
- displays: "flex justify-center items-center align-center",
19
- spacings: "px-5",
20
- sizes: "w-full h-full",
21
- textStyles: "break-keep leading-tight",
22
- };
23
- const subScriptStyles = {
24
- listStyles: "list-disc list-inside",
25
- sizes: "w-full",
26
- spacings: "p-5",
27
- textStyles: "leading-tight text-[10px]",
28
- };
29
- return (_jsxs("div", { className: cn(cardWrapper, printBoxStyles), children: [_jsx(CardTitle, { title: "Grade and Average Score", theme: theme }), _jsxs("div", { className: "flex sm:flex-row flex-col sm:mt-0 mt-5", children: [_jsxs("div", { className: cn(SectionWrapper), children: [_jsx(BarGraph, { title: section1.title ? section1.title : "section1", score: section1.score, total: section1.total, subScore: section1.subScore, scale: section1.scale ? section1.scale : 10, theme: theme }), _jsx("div", { className: cn(ScriptStyles, section1.subScripts ? "text-xs" : "text-sm"), children: section1.script }), _jsx("div", { className: cn(subScriptStyles), children: section1.subScripts?.map((text, index) => (_jsx("li", { children: text }, index))) })] }), _jsxs("div", { className: cn(SectionWrapper), children: [_jsx(BarGraph, { title: section2.title ? section2.title : "section2", score: section2.score, total: section2.total, subScore: section2.subScore, scale: section2.scale ? section2.scale : 10, theme: theme }), _jsx("div", { className: cn(ScriptStyles, section1.subScripts ? "text-xs" : "text-sm"), children: section2.script }), _jsx("div", { className: cn(subScriptStyles), children: section2.subScripts?.map((text, index) => (_jsx("li", { children: text }, index))) })] })] })] }));
30
- }
@@ -1,8 +0,0 @@
1
- import { SectionBarProps, Theme } from "../../interface";
2
- interface BarCardColProps {
3
- section1: SectionBarProps;
4
- section2: SectionBarProps;
5
- theme: Theme;
6
- }
7
- export declare function BarCardRow({ section1, section2, theme }: BarCardColProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,30 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { cn } from "../../../../../util";
3
- import CardTitle from "../atom/CardTitle";
4
- import { printBoxStyles } from "../atom/PrintBoxStyles";
5
- import { BarGraph } from "../molecule/BarGraph";
6
- export function BarCardRow({ section1, section2, theme }) {
7
- const cardWrapper = {
8
- displays: "flex flex-col relative",
9
- sizes: "w-full rounded-lg overflow-hidden",
10
- backgrounds: "bg-white shadow-main",
11
- sapcings: "mt-5",
12
- };
13
- const SectionWrapper = {
14
- display: "flex sm:flex-row flex-col items-center justify-center",
15
- sizes: "h-full w-full",
16
- };
17
- const ScriptStyles = {
18
- displays: "flex justify-center items-center align-center",
19
- spacings: "p-5",
20
- sizes: "w-full h-full",
21
- textStyles: "text-xs break-keep",
22
- };
23
- const subScriptStyles = {
24
- listStyles: "list-disc list-inside",
25
- sizes: "w-full",
26
- spacings: "p-5",
27
- textStyles: "leading-tight text-xs",
28
- };
29
- return (_jsxs("div", { className: cn(cardWrapper, printBoxStyles), children: [_jsx(CardTitle, { title: "Grade and Average Score", theme: theme }), _jsxs("div", { className: "flex flex-col sm:my-0 mt-5", children: [_jsxs("div", { className: cn(SectionWrapper), children: [_jsx(BarGraph, { title: section1.title ? section1.title : "section1", score: section1.score, total: section1.total, subScore: section1.subScore, scale: section1.scale ? section1.scale : 10, theme: theme }), _jsx("div", { className: cn(ScriptStyles), children: section1.script })] }), _jsxs("div", { className: cn(SectionWrapper), children: [_jsx(BarGraph, { title: section2.title ? section2.title : "section2", score: section2.score, total: section2.total, subScore: section2.subScore, scale: section2.scale ? section2.scale : 10, theme: theme }), _jsx("div", { className: cn(ScriptStyles), children: section2.script })] })] })] }));
30
- }
@@ -1,4 +0,0 @@
1
- import { Result } from "../Transcript";
2
- export default function HonorCard({ result }: {
3
- result: Result;
4
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import SVG from "../../../../../asset/SVG";
3
- import { cn } from "../../../../../util";
4
- import CardTitle from "../atom/CardTitle";
5
- import { printBoxStyles } from "../atom/PrintBoxStyles";
6
- export default function HonorCard({ result }) {
7
- const cardWrapper = {
8
- displays: "flex flex-1 flex-col self-stretch relative",
9
- sizes: "w-full rounded-lg overflow-hidden",
10
- backgrounds: "bg-white shadow-main",
11
- animations: "duration-300 hover:scale-105 hover:shadow-green",
12
- };
13
- return (_jsxs("div", { className: cn(cardWrapper, printBoxStyles), onClick: () => (window.location.href = `https://honor.tosel.co.kr/`), children: [_jsx(CardTitle, { theme: "green", title: "\uBA85\uC608\uC758 \uC804\uB2F9" }), _jsxs("div", { className: "w-full h-full flex flex-row px-5 gap-x-5 justify-center items-center", children: [_jsxs("div", { className: "flex flex-col w-full flex-1 justify-center items-center xs:hidden md:flex print:width-30", children: [_jsx("div", { className: "text-gray-dark font-bold text-xl", children: "\uBA85\uC608\uC758 \uC804\uB2F9" }), _jsx("div", { className: "text-gray-medium font-medium text-sm", children: "Hall of Fame" })] }), _jsx("div", { className: "flex w-full py-4 xs:py-0 aspect-square flex-1 print:w-30", children: _jsx(SVG.HallofFame, { isHonor: result.isHonor }) })] }), _jsx("div", { className: "pb-3 px-5 text-center text-xs", children: result.isHonor
14
- ? "축하합니다! 명예의 전당에 등재되었습니다"
15
- : "아쉽게도 명예의 전당에 오르지 못했습니다." })] }));
16
- }
@@ -1,8 +0,0 @@
1
- import { Information } from "../Transcript";
2
- export default function IdCard({ info, option, score, }: {
3
- info: Information;
4
- score?: number;
5
- option?: {
6
- isAdvanced?: boolean;
7
- };
8
- }): import("react/jsx-runtime").JSX.Element;