@edu-tosel/design 1.0.266 → 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 (163) 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/globals.css +7 -2
  13. package/interface/Board.d.ts +11 -1
  14. package/layout/design/Shelf.design.js +2 -2
  15. package/layout/index.d.ts +0 -9
  16. package/layout/index.js +0 -9
  17. package/layout/template/home/Promotion.js +1 -0
  18. package/layout/template/home/Service.js +1 -0
  19. package/layout/template/home/layout/Carousel.js +27 -8
  20. package/layout/template/home/layout/Navigation.js +86 -12
  21. package/package.json +2 -2
  22. package/util/createSearch.d.ts +4 -7
  23. package/util/createSearch.js +208 -24
  24. package/util/index.d.ts +1 -1
  25. package/util/index.js +1 -1
  26. package/version.txt +1 -1
  27. package/widget/template/Input/index.js +8 -0
  28. package/layout/template/About/SectionA.d.ts +0 -1
  29. package/layout/template/About/SectionA.js +0 -51
  30. package/layout/template/About/SectionB.d.ts +0 -2
  31. package/layout/template/About/SectionB.js +0 -55
  32. package/layout/template/About/SectionC.d.ts +0 -1
  33. package/layout/template/About/SectionC.js +0 -35
  34. package/layout/template/About/SectionCCards.d.ts +0 -13
  35. package/layout/template/About/SectionCCards.js +0 -13
  36. package/layout/template/About/SectionCD.d.ts +0 -1
  37. package/layout/template/About/SectionCD.js +0 -15
  38. package/layout/template/About/SectionCLeaf.d.ts +0 -15
  39. package/layout/template/About/SectionCLeaf.js +0 -104
  40. package/layout/template/About/SectionD.d.ts +0 -1
  41. package/layout/template/About/SectionD.js +0 -131
  42. package/layout/template/About/SectionE.d.ts +0 -1
  43. package/layout/template/About/SectionE.js +0 -7
  44. package/layout/template/About/SectionECards.d.ts +0 -1
  45. package/layout/template/About/SectionECards.js +0 -79
  46. package/layout/template/About/SectionF.d.ts +0 -1
  47. package/layout/template/About/SectionF.js +0 -4
  48. package/layout/template/About/SectionG.d.ts +0 -10
  49. package/layout/template/About/SectionG.js +0 -27
  50. package/layout/template/About/index.d.ts +0 -19
  51. package/layout/template/About/index.js +0 -19
  52. package/layout/template/Books/Books.layout.d.ts +0 -1
  53. package/layout/template/Books/Books.layout.js +0 -13
  54. package/layout/template/Books/SectionA.d.ts +0 -2
  55. package/layout/template/Books/SectionA.js +0 -430
  56. package/layout/template/Books/index.d.ts +0 -5
  57. package/layout/template/Books/index.js +0 -5
  58. package/layout/template/MonthlyProgressReport/Layout.d.ts +0 -4
  59. package/layout/template/MonthlyProgressReport/Layout.js +0 -52
  60. package/layout/template/MonthlyProgressReport/Report.d.ts +0 -46
  61. package/layout/template/MonthlyProgressReport/Report.js +0 -124
  62. package/layout/template/MonthlyProgressReport/index.d.ts +0 -8
  63. package/layout/template/MonthlyProgressReport/index.js +0 -7
  64. package/layout/template/Olympiad/Banner.d.ts +0 -1
  65. package/layout/template/Olympiad/Banner.js +0 -31
  66. package/layout/template/Olympiad/Conditions.d.ts +0 -1
  67. package/layout/template/Olympiad/Conditions.js +0 -168
  68. package/layout/template/Olympiad/Features.d.ts +0 -1
  69. package/layout/template/Olympiad/Features.js +0 -44
  70. package/layout/template/Olympiad/Olympiad.layout.d.ts +0 -1
  71. package/layout/template/Olympiad/Olympiad.layout.js +0 -19
  72. package/layout/template/Olympiad/Prizes.d.ts +0 -1
  73. package/layout/template/Olympiad/Prizes.js +0 -49
  74. package/layout/template/Olympiad/Sponsors.d.ts +0 -1
  75. package/layout/template/Olympiad/Sponsors.js +0 -31
  76. package/layout/template/Olympiad/Videoset.d.ts +0 -1
  77. package/layout/template/Olympiad/Videoset.js +0 -71
  78. package/layout/template/Olympiad/index.d.ts +0 -15
  79. package/layout/template/Olympiad/index.js +0 -15
  80. package/layout/template/Regexam/Banner.d.ts +0 -1
  81. package/layout/template/Regexam/Banner.js +0 -183
  82. package/layout/template/Regexam/Evaluation.d.ts +0 -3
  83. package/layout/template/Regexam/Evaluation.js +0 -132
  84. package/layout/template/Regexam/OfflineExam.d.ts +0 -4
  85. package/layout/template/Regexam/OfflineExam.js +0 -204
  86. package/layout/template/Regexam/Regexam.layout.d.ts +0 -1
  87. package/layout/template/Regexam/Regexam.layout.js +0 -13
  88. package/layout/template/Regexam/Types.d.ts +0 -1
  89. package/layout/template/Regexam/Types.js +0 -294
  90. package/layout/template/Regexam/index.d.ts +0 -11
  91. package/layout/template/Regexam/index.js +0 -11
  92. package/layout/template/Transcript/Layout.d.ts +0 -6
  93. package/layout/template/Transcript/Layout.js +0 -52
  94. package/layout/template/Transcript/design/Transcript.d.ts +0 -228
  95. package/layout/template/Transcript/design/Transcript.design.d.ts +0 -13
  96. package/layout/template/Transcript/design/Transcript.design.js +0 -58
  97. package/layout/template/Transcript/design/Transcript.js +0 -181
  98. package/layout/template/Transcript/design/TranscriptAdvanced.design.d.ts +0 -5
  99. package/layout/template/Transcript/design/TranscriptAdvanced.design.js +0 -55
  100. package/layout/template/Transcript/design/atom/CardTitle.d.ts +0 -5
  101. package/layout/template/Transcript/design/atom/CardTitle.js +0 -13
  102. package/layout/template/Transcript/design/atom/CardTitleDivided.d.ts +0 -0
  103. package/layout/template/Transcript/design/atom/CardTitleDivided.js +0 -1
  104. package/layout/template/Transcript/design/atom/GetPartDescriptionFromLevel.d.ts +0 -3
  105. package/layout/template/Transcript/design/atom/GetPartDescriptionFromLevel.js +0 -4
  106. package/layout/template/Transcript/design/atom/GetPartTitleFromLevel.d.ts +0 -3
  107. package/layout/template/Transcript/design/atom/GetPartTitleFromLevel.js +0 -4
  108. package/layout/template/Transcript/design/atom/GetStyleFromLevel.d.ts +0 -2
  109. package/layout/template/Transcript/design/atom/GetStyleFromLevel.js +0 -4
  110. package/layout/template/Transcript/design/atom/LevelToPartDescriptionMap.d.ts +0 -6
  111. package/layout/template/Transcript/design/atom/LevelToPartDescriptionMap.js +0 -95
  112. package/layout/template/Transcript/design/atom/LevelToPartTitleMap.d.ts +0 -6
  113. package/layout/template/Transcript/design/atom/LevelToPartTitleMap.js +0 -95
  114. package/layout/template/Transcript/design/atom/LevelToStyleMap.d.ts +0 -6
  115. package/layout/template/Transcript/design/atom/LevelToStyleMap.js +0 -42
  116. package/layout/template/Transcript/design/atom/PrintBoxStyles.d.ts +0 -4
  117. package/layout/template/Transcript/design/atom/PrintBoxStyles.js +0 -4
  118. package/layout/template/Transcript/design/molecule/BarGraph.d.ts +0 -11
  119. package/layout/template/Transcript/design/molecule/BarGraph.js +0 -81
  120. package/layout/template/Transcript/design/molecule/BarGraphDuo.d.ts +0 -10
  121. package/layout/template/Transcript/design/molecule/BarGraphDuo.js +0 -6
  122. package/layout/template/Transcript/design/molecule/BarGraphMulti.d.ts +0 -11
  123. package/layout/template/Transcript/design/molecule/BarGraphMulti.js +0 -9
  124. package/layout/template/Transcript/design/molecule/CircularGauge.d.ts +0 -10
  125. package/layout/template/Transcript/design/molecule/CircularGauge.js +0 -68
  126. package/layout/template/Transcript/design/molecule/LSWRChart.d.ts +0 -11
  127. package/layout/template/Transcript/design/molecule/LSWRChart.js +0 -44
  128. package/layout/template/Transcript/design/molecule/LevelIndex.d.ts +0 -3
  129. package/layout/template/Transcript/design/molecule/LevelIndex.js +0 -14
  130. package/layout/template/Transcript/design/molecule/MIChart.d.ts +0 -1
  131. package/layout/template/Transcript/design/molecule/MIChart.js +0 -51
  132. package/layout/template/Transcript/design/molecule/OCIChart.d.ts +0 -1
  133. package/layout/template/Transcript/design/molecule/OCIChart.js +0 -60
  134. package/layout/template/Transcript/design/molecule/RadarGraph.d.ts +0 -10
  135. package/layout/template/Transcript/design/molecule/RadarGraph.js +0 -5
  136. package/layout/template/Transcript/design/organism/BarCardCol.d.ts +0 -8
  137. package/layout/template/Transcript/design/organism/BarCardCol.js +0 -30
  138. package/layout/template/Transcript/design/organism/BarCardRow.d.ts +0 -8
  139. package/layout/template/Transcript/design/organism/BarCardRow.js +0 -30
  140. package/layout/template/Transcript/design/organism/HonorCard.d.ts +0 -4
  141. package/layout/template/Transcript/design/organism/HonorCard.js +0 -16
  142. package/layout/template/Transcript/design/organism/IdCard.d.ts +0 -8
  143. package/layout/template/Transcript/design/organism/IdCard.js +0 -64
  144. package/layout/template/Transcript/design/organism/IntelligenceCard.d.ts +0 -12
  145. package/layout/template/Transcript/design/organism/IntelligenceCard.js +0 -39
  146. package/layout/template/Transcript/design/organism/NationalPositionCard.d.ts +0 -4
  147. package/layout/template/Transcript/design/organism/NationalPositionCard.js +0 -14
  148. package/layout/template/Transcript/design/organism/OCICard.d.ts +0 -4
  149. package/layout/template/Transcript/design/organism/OCICard.js +0 -17
  150. package/layout/template/Transcript/design/organism/PerformanceCard.d.ts +0 -5
  151. package/layout/template/Transcript/design/organism/PerformanceCard.js +0 -25
  152. package/layout/template/Transcript/design/organism/RadarCard.d.ts +0 -7
  153. package/layout/template/Transcript/design/organism/RadarCard.js +0 -54
  154. package/layout/template/Transcript/design/organism/ResultGaugeCard.d.ts +0 -7
  155. package/layout/template/Transcript/design/organism/ResultGaugeCard.js +0 -19
  156. package/layout/template/Transcript/design/organism/ScoreCard.d.ts +0 -4
  157. package/layout/template/Transcript/design/organism/ScoreCard.js +0 -11
  158. package/layout/template/Transcript/design/organism/SectionRadarCard.d.ts +0 -8
  159. package/layout/template/Transcript/design/organism/SectionRadarCard.js +0 -42
  160. package/layout/template/Transcript/index.d.ts +0 -11
  161. package/layout/template/Transcript/index.js +0 -9
  162. package/layout/template/Transcript/interface.d.ts +0 -50
  163. package/layout/template/Transcript/interface.js +0 -1
@@ -1,58 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import { paperSize } from "../../../../style/size";
4
- import { cn } from "../../../../util";
5
- import { BarCardRow } from "./organism/BarCardRow";
6
- import ScoreCard from "./organism/ScoreCard";
7
- import HonorCard from "./organism/HonorCard";
8
- import ResultGaugeCard from "./organism/ResultGaugeCard";
9
- import PerformanceCard from "./organism/PerformanceCard";
10
- import { MIChart } from "./molecule/MIChart";
11
- import { IntelligenceCard } from "./organism/IntelligenceCard";
12
- import { SectionRadarCard } from "./organism/SectionRadarCard";
13
- import { NationalPositionCard } from "./organism/NationalPositionCard";
14
- import IdCard from "./organism/IdCard";
15
- export const EXAM_TYPE = {
16
- REG: "REG",
17
- CMP: "CMP",
18
- IST: "IST",
19
- OLY: "OLY",
20
- };
21
- const examTypeMap = {
22
- REG: "정기시험",
23
- IST: "기관시험",
24
- CMP: "경시대회",
25
- };
26
- export function getStringfromType(ExamType) {
27
- return examTypeMap[ExamType] || "Unknown";
28
- }
29
- function TranscriptDesign({ props }, ref) {
30
- const { info, result, data, option } = props;
31
- const section1Data = SectionBarGraphProps("section1", data.analysis.user.section1, 50, data.script.section1, undefined, 10, data.analysis.nationalAverage.section1);
32
- const section2Data = SectionBarGraphProps("section2", data.analysis.user.section2, 50, data.script.section2, undefined, 10, data.analysis.nationalAverage.section2);
33
- const container = {
34
- printSize: paperSize.a4,
35
- backgrounds: "print:bg-white z-1",
36
- sizes: "w-full max-w-[210mm]",
37
- textStyles: "break-keep",
38
- };
39
- const headerBox = {
40
- display: "flex flex-row flex-wrap justify-between items-center",
41
- sizes: "w-full h-fit rounded-md",
42
- spacings: "px-5 py-2",
43
- backgrounds: "bg-gradient-to-r from-crimson-burgundy to-green-dark",
44
- };
45
- return (_jsxs("div", { ref: ref, className: cn(container), children: [_jsxs("div", { className: cn(headerBox), children: [_jsx("img", { src: "https://resource.tosel.co.kr/images/logo-tosel-white-transcript.svg", alt: "", className: "h-10" }), _jsxs("div", { className: "text-white font-bold text-base", children: [getStringfromType(info.examType), " \uC131\uC801\uD45C"] })] }), _jsx(IdCard, { info: info }), _jsx(NationalPositionCard, { result: result }), _jsxs("div", { className: "flex flex-col gap-5 xs:flex-row mt-5 items-stretch", children: [_jsx(ResultGaugeCard, { result: result, theme: "green", noAnimation: option?.noAnimation ?? false }), _jsx(HonorCard, { result: result })] }), _jsx(PerformanceCard, { data: data, info: info }), _jsx(ScoreCard, { data: data }), _jsx(BarCardRow, { section1: section1Data, section2: section2Data, theme: "green" }), _jsx(SectionRadarCard, { data: data, section: "section1", info: info, theme: "red" }), _jsx(SectionRadarCard, { data: data, section: "section2", info: info, theme: "red" }), _jsx(IntelligenceCard, { data: data.multipleIntelligence, theme: "green" }), _jsx(MIChart, {})] }));
46
- }
47
- export default forwardRef(TranscriptDesign);
48
- function SectionBarGraphProps(title, score, total, script, subScripts, scale, subScore) {
49
- return {
50
- title: title,
51
- score: score,
52
- subScore: subScore,
53
- total: total,
54
- scale: scale,
55
- script: script,
56
- subScripts: subScripts,
57
- };
58
- }
@@ -1,181 +0,0 @@
1
- export const example = {
2
- info: {
3
- name: "조철봉",
4
- birthday: "1999-11-11",
5
- code: "123456789012",
6
- gender: "MAIL",
7
- examDate: "2024-11-06",
8
- examName: "AD 정기시험",
9
- examType: "REG",
10
- examValidAt: "2024-11-07",
11
- level: "AD",
12
- },
13
- score: {
14
- average: {
15
- part1: 100,
16
- part2: 100,
17
- part3: 10,
18
- part4: 1,
19
- part5: 200,
20
- part6: 200,
21
- part7: 20,
22
- part8: 2,
23
- },
24
- result: {
25
- part1: 50,
26
- part2: 120,
27
- part3: 40,
28
- part4: 0,
29
- part5: 100,
30
- part6: 220,
31
- part7: 70,
32
- part8: 2,
33
- },
34
- section1: {
35
- script: "Your scaled score is between...",
36
- details: ["asd", "qwe", "zxc"],
37
- },
38
- section2: {
39
- script: "Your scaled score is between...",
40
- details: ["123", "456", "789"],
41
- },
42
- },
43
- lswr: {
44
- average: { listening: 55, speaking: 59, reading: 51, writing: 53 },
45
- result: { listening: 98, speaking: 96, reading: 38, writing: 54 },
46
- listeningScript: { part1: "asd", part3: "qwe", part4: "zxc" },
47
- speakingScript: { part2: "asd" },
48
- readingScript: { part7: "asd", part8: "qwe" },
49
- writingScript: { part5: "asd", part6: "qwe" },
50
- },
51
- oci: [
52
- { category: "Communicative Competency (CC)", average: 25, result: 75 },
53
- { category: "Problem-Solving Competency (PS)", average: 35, result: 90 },
54
- {
55
- category: "Interpersonal/Social Competency (IS)",
56
- average: 45,
57
- result: 68,
58
- },
59
- ],
60
- };
61
- const transcript = {
62
- info: {
63
- name: "김필립",
64
- birthday: "1999-11-11",
65
- code: "123456789012",
66
- gender: "MAIL",
67
- examDate: "2024-11-06",
68
- examName: "제 12회 정기시험",
69
- examType: "REG",
70
- examValidAt: "2024-11-07",
71
- level: "PS",
72
- },
73
- result: {
74
- score: 90,
75
- grade: 1,
76
- isHonor: true,
77
- percentRank: 0.1,
78
- },
79
- score: {
80
- result: {
81
- section1: {
82
- partA: 1,
83
- partB: 1,
84
- partC: 1,
85
- partD: 1,
86
- },
87
- section2: {
88
- partA: 1,
89
- partB: 1,
90
- partC: 1,
91
- partD: 1,
92
- },
93
- total: 11,
94
- },
95
- average: {
96
- section1: {
97
- partA: 2,
98
- partB: 2,
99
- partC: 2,
100
- partD: 2,
101
- },
102
- section2: {
103
- partA: 2,
104
- partB: 2,
105
- partC: 2,
106
- partD: 2,
107
- },
108
- total: 22,
109
- },
110
- ageAverage: {
111
- section1: {
112
- partA: 3,
113
- partB: 3,
114
- partC: 3,
115
- partD: 3,
116
- },
117
- section2: {
118
- partA: 3,
119
- partB: 3,
120
- partC: 3,
121
- partD: 3,
122
- },
123
- total: 33,
124
- },
125
- examHallAverage: {
126
- section1: {
127
- partA: 4,
128
- partB: 4,
129
- partC: 4,
130
- partD: 4,
131
- },
132
- section2: {
133
- partA: 4,
134
- partB: 4,
135
- partC: 4,
136
- partD: 4,
137
- },
138
- total: 44,
139
- },
140
- percent10Average: {
141
- section1: {
142
- partA: 5,
143
- partB: 5,
144
- partC: 5,
145
- partD: 5,
146
- },
147
- section2: {
148
- partA: 5,
149
- partB: 5,
150
- partC: 5,
151
- partD: 5,
152
- },
153
- total: 55,
154
- },
155
- percent30Average: {
156
- section1: {
157
- partA: 6,
158
- partB: 6,
159
- partC: 6,
160
- partD: 6,
161
- },
162
- section2: {
163
- partA: 6,
164
- partB: 6,
165
- partC: 6,
166
- partD: 6,
167
- },
168
- total: 66,
169
- },
170
- },
171
- multipleIntelligence: {
172
- musical: 0.2,
173
- bodilyKinesthetic: 0.2,
174
- logicalMathematical: 0.428571,
175
- linguistic: 0.2,
176
- spatial: 0.285714,
177
- interpersonal: 0.428571,
178
- naturalist: 0.375,
179
- intrapersonal: 0.166667,
180
- },
181
- };
@@ -1,5 +0,0 @@
1
- import { TranscriptAdvancedProps } from "./Transcript";
2
- declare const _default: import("react").ForwardRefExoticComponent<{
3
- props: TranscriptAdvancedProps;
4
- } & import("react").RefAttributes<HTMLDivElement>>;
5
- export default _default;
@@ -1,55 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import { paperSize } from "../../../../style/size";
4
- import { BarCardCol } from "./organism/BarCardCol";
5
- import { RadarCard } from "./organism/RadarCard";
6
- import { OCICard } from "./organism/OCICard";
7
- import { OCIChart } from "./molecule/OCIChart";
8
- import { cn } from "../../../../util";
9
- import IdCard from "./organism/IdCard";
10
- function TranscriptDesign({ props }, ref) {
11
- const { info, score, lswr, oci, option } = props;
12
- const section1Score = score.result.part1 +
13
- score.result.part2 +
14
- score.result.part3 +
15
- score.result.part4;
16
- const section2Score = score.result.part5 +
17
- score.result.part6 +
18
- score.result.part7 +
19
- score.result.part8;
20
- const section1Average = score.average.part1 +
21
- score.average.part2 +
22
- score.average.part3 +
23
- score.average.part4;
24
- const section2Average = score.average.part5 +
25
- score.average.part6 +
26
- score.average.part7 +
27
- score.average.part8;
28
- const section1Data = SectionBarGraphProps("Listening & Speaking", section1Score, 495, score.section1.script, score.section1.details, 100, section1Average);
29
- const section2Data = SectionBarGraphProps("Reading & Writing", section2Score, 495, score.section2.script, score.section2.details, 100, section2Average);
30
- const container = {
31
- printSize: paperSize.a4,
32
- backgrounds: "print:bg-white",
33
- sizes: "w-full max-w-[210mm]",
34
- textStyles: "break-keep",
35
- };
36
- const headerBox = {
37
- display: "flex flex-row flex-wrap justify-between items-center",
38
- sizes: "w-full h-fit rounded-md",
39
- spacings: "px-5 py-2",
40
- backgrounds: "bg-gradient-to-r from-crimson-burgundy to-green-dark",
41
- };
42
- return (_jsx(_Fragment, { children: _jsxs("div", { ref: ref, className: cn(container), children: [_jsxs("div", { className: cn(headerBox), children: [_jsx("img", { src: "https://resource.tosel.co.kr/images/header-logo2.png", alt: "\uD1A0\uC140 \uB85C\uACE0", className: "h-10 py-1" }), _jsx("div", { className: "text-white font-bold text-base", children: "Official Score Report" })] }), _jsx(IdCard, { info: info, option: option, score: section1Score + section2Score }), _jsx(BarCardCol, { section1: section1Data, section2: section2Data, theme: "red" }), _jsx(RadarCard, { data: lswr, theme: "red", title: "Section Scores" }), _jsxs("div", { className: cn("page-break"), children: [_jsx("div", { className: "w-full h-5 print:block" }), _jsxs("div", { className: cn(headerBox), children: [_jsx("img", { src: "https://resource.tosel.co.kr/images/header-logo2.png", alt: "\uD1A0\uC140 \uB85C\uACE0", className: "h-10 py-1" }), _jsx("div", { className: "text-white font-bold text-base", children: "Occupational Competency Index Report" })] }), _jsx(OCICard, { data: oci }), _jsx(OCIChart, {})] })] }) }));
43
- }
44
- function SectionBarGraphProps(title, score, total, script, subScripts, scale, subScore) {
45
- return {
46
- title: title,
47
- score: score,
48
- subScore: subScore,
49
- total: total,
50
- scale: scale,
51
- script: script,
52
- subScripts: subScripts,
53
- };
54
- }
55
- export default forwardRef(TranscriptDesign);
@@ -1,5 +0,0 @@
1
- import { Theme } from "../../interface";
2
- export default function CardTitle({ title, theme, }: {
3
- title: string;
4
- theme: Theme;
5
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from "../../../../../util";
3
- export default function CardTitle({ title, theme, }) {
4
- const cardTitle = {
5
- display: "flex flex-row justify-center items-center",
6
- sizes: "h-7 shrink-0 w-full",
7
- theme: theme == "green"
8
- ? "text-green-dark bg-green-light"
9
- : "text-white bg-gradient-to-r from-crimson-burgundy to-green-dark",
10
- textStyles: "font-medium text-sm",
11
- };
12
- return _jsx("div", { className: cn(cardTitle), children: title });
13
- }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,3 +0,0 @@
1
- import { Level } from "../../../../../_test/interface";
2
- import { PartPercent, SectionType } from "../../interface";
3
- export declare function GetPartDescriptionFromLevel(level: Level, section: SectionType, part: keyof PartPercent): string;
@@ -1,4 +0,0 @@
1
- import { LevelToPartDescriptionMap } from "./LevelToPartDescriptionMap";
2
- export function GetPartDescriptionFromLevel(level, section, part) {
3
- return LevelToPartDescriptionMap[level]?.[section]?.[part] || "Unknown";
4
- }
@@ -1,3 +0,0 @@
1
- import { Level } from "../../../../../_test/interface";
2
- import { PartPercent, SectionType } from "../../interface";
3
- export declare function GetPartTitleFromLevel(level: Level, section: SectionType, part: keyof PartPercent): string;
@@ -1,4 +0,0 @@
1
- import { LevelToPartTitleMap } from "./LevelToPartTitleMap";
2
- export function GetPartTitleFromLevel(level, section, part) {
3
- return LevelToPartTitleMap[level]?.[section]?.[part] || "Unknown";
4
- }
@@ -1,2 +0,0 @@
1
- import { Level } from "../../../../../_test/interface";
2
- export declare function GetStyleFromLevel(level: Level, field: "name" | "bgcolor" | "textcolor"): string;
@@ -1,4 +0,0 @@
1
- import { LevelToStyleMap } from "./LevelToStyleMap";
2
- export function GetStyleFromLevel(level, field) {
3
- return LevelToStyleMap[level][field] || "Unknown";
4
- }
@@ -1,6 +0,0 @@
1
- import { Level } from "../../../../../_test/interface";
2
- import { partText } from "../../interface";
3
- export declare const LevelToPartDescriptionMap: Record<Level, {
4
- section1: partText;
5
- section2: partText;
6
- }>;
@@ -1,95 +0,0 @@
1
- export const LevelToPartDescriptionMap = {
2
- CO: {
3
- section1: {
4
- partA: "Listen and Recognize",
5
- partB: "Listen and Respond",
6
- partC: "Listen and Retell",
7
- },
8
- section2: {
9
- partA: "Spell the Words",
10
- partB: "Look and Recognize",
11
- partC: "Look and Respond",
12
- partD: "Read and Retell",
13
- },
14
- },
15
- PS: {
16
- section1: {
17
- partA: "단어 또는 짧은 문장을 듣고, 의미를 파악하여 가장 관련 있는 그림을 고르는 파트입니다.",
18
- partB: "짧은 문장을 듣고, 화자가 하는 말의 핵심을 파악하여 다음에 이어질 알맞은 대답을 고르는 파트입니다.",
19
- partC: "두 사람의 대화 또는 짧은 이야기를 듣고, 내용을 바르게 이해하여 주어진 문제에 알맞은 응답을 고르는 파트입니다.",
20
- },
21
- section2: {
22
- partA: "그림을 보고, 해당 단어의 올바른 철자를 골라 단어를 완성하는 파트입니다.",
23
- partB: "그림을 보고, 그림이 묘사하고 있는 상황에 알맞은 영어 문장을 고르는 파트입니다.",
24
- partC: "그림을 보고, 그림을 올바르게 묘사하고 주어진 질문에 알맞은 영어 문장을 고르는 파트입니다.",
25
- partD: "읽기 자료를 읽고, 내용을 바탕으로 올바른 답을 유추하여 문제에 알맞은 응답을 고르는 파트입니다.",
26
- },
27
- },
28
- ST: {
29
- section1: {
30
- partA: "문장을 듣고, 정확한 의미를 파악하여 가장 관련 있는 그림을 고르는 파트입니다.",
31
- partB: "문장을 듣고, 화자가 하는 말의 핵심을 파악하여 다음에 이어질 알맞은 대답을 고르는 파트입니다.",
32
- partC: "두 사람의 대화 또는 짧은 이야기를 듣고, 내용을 바르게 이해하여 주어진 문제에 알맞은 응답을 고르는 파트입니다.",
33
- },
34
- section2: {
35
- partA: "불안정한 문장이 포함된 짧은 대화를 읽고, 상황에 알맞은 어휘, 문법을 사용하여 빈칸을 채워 넣는 파트입니다.",
36
- partB: "그림을 보고, 주어진 문장 속에서 그림을 올바르게 묘사하는 영어 표현을 선택하는 파트입니다.",
37
- partC: "다양한 읽기 자료를 읽고, 주어진 내용을 바탕으로 주어진 문제에 알맞은 응답을 고르는 파트입니다.",
38
- },
39
- },
40
- BA: {
41
- section1: {
42
- partA: "문장을 듣고, 의미를 정확히 파악하여 가장 관련 있는 그림을 고르는 파트입니다.",
43
- partB: "문장을 듣고, 화자가 하는 말의 핵심을 파악하여 다음에 이어질 알맞은 대답을 고르는 파트입니다.",
44
- partC: "두 사람의 대화 또는 짧은 이야기를 듣고, 내용을 이해하여 주어진 문제에 알맞은 응답을 고르는 파트입니다.",
45
- partD: "두 사람의 대화를 듣고, 내용에 대한 종합적인 이해를 바탕으로 대화에 참여하여 마지막 말에 이어질 알맞은 대답을 고르는 파트입니다.",
46
- },
47
- section2: {
48
- partA: "불안정한 문장이 포함된 짧은 대화를 읽고, 상황에 알맞은 어휘, 문법을 사용하여 빈칸을 채워 넣는 파트입니다.",
49
- partB: "그림을 보고, 주어진 문장 속에서 그림을 올바르게 묘사하는 영어 표현을 선택하는 파트입니다.",
50
- partC: "실용적 읽기 자료를 주의 깊게 읽고, 주어진 사실을 바탕으로 유추하여 해당 문제에 알맞은 응답을 고르는 파트입니다.",
51
- partD: "다양한 주제의 읽기 자료를 읽고, 주어진 내용을 바탕으로 추론하여 해당 문제에 알맞은 응답을 고르는 파트입니다.",
52
- },
53
- },
54
- JR: {
55
- section1: {
56
- partA: "문장을 듣고, 화자가 하는 말의 핵심을 파악하여 다음에 이어질 알맞은 대답을 고르는 파트입니다.",
57
- partB: "두 사람의 대화 또는 짧은 이야기를 듣고, 내용을 바르게 이해하여 주어진 문제에 알맞은 응답을 고르는 파트입니다.",
58
- partC: "두 사람의 대화를 듣고, 내용에 대한 종합적인 이해를 바탕으로 대화에 참여하여 마지막 말에 이어질 알맞은 대답을 고르는 파트입니다.",
59
- },
60
- section2: {
61
- partA: "불안정한 문장이 포함된 짧은 대화를 읽고, 상황에 알맞은 어휘, 문법을 사용하여 빈칸을 채워 넣는 파트입니다.",
62
- partB: "그림을 보고, 주어진 문장 속에서 그림을 올바르게 묘사하는 영어 표현을 선택하는 파트입니다.",
63
- partC: "실용적 읽기 자료를 주의 깊게 읽고, 주어진 사실을 바탕으로 유추하여 해당 문제에 알맞은 응답을 고르는 파트입니다.",
64
- partD: "다양한 주제의 읽기 자료를 읽고, 주어진 내용을 바탕으로 추론하여 해당 문제에 알맞은 응답을 고르는 파트입니다.",
65
- },
66
- },
67
- HJ: {
68
- section1: {
69
- partA: "인물 간의 대화를 듣고, 세 사진 중 내용과 가장 관련이 있는 것을 선택하는 파트입니다.",
70
- partB: "문장을 듣고, 화자가 하는 말의 핵심을 파악하여 다음에 이어질 알맞은 대답을 고르는 파트입니다.",
71
- partC: "두 사람의 짧은 대화를 듣고, 내용을 바르게 이해하여 관련 질문에 대한 답을 고르는 파트입니다.",
72
- partD: "인물 간의 긴 대화를 듣고, 내용을 바르게 이해하여 주어진 문제에 알맞은 응답을 고르는 파트입니다.",
73
- },
74
- section2: {
75
- partA: "사진을 보고, 이를 묘사하는데 가장 알맞은 단어나 어구를 선택하는 파트입니다.",
76
- partB: "불안정한 문장이 포함된 짧은 대화를 읽고, 상황에 알맞은 어휘, 문법을 사용하여 빈칸을 채워 넣는 파트입니다.",
77
- partC: "실용적 읽기 자료를 주의 깊게 읽고, 주어진 사실을 바탕으로 유추하여 해당 문제에 알맞은 응답을 고르는 파트입니다.",
78
- partD: "다양한 주제의 읽기 자료를 읽고, 주어진 내용을 바탕으로 추론하여 해당 문제에 알맞은 응답을 고르는 파트입니다.",
79
- },
80
- },
81
- AD: {
82
- section1: {
83
- partA: "Listen and Recognize",
84
- partB: "Listen and Respond",
85
- partC: "Short Conversations",
86
- partD: "Talks",
87
- },
88
- section2: {
89
- partA: "Picture Description",
90
- partB: "Sentence Completion",
91
- partC: "Practical Reading and Comprehension",
92
- partD: "General Reading and Comprehension",
93
- },
94
- },
95
- };
@@ -1,6 +0,0 @@
1
- import { Level } from "../../../../../_test/interface";
2
- import { partText } from "../../interface";
3
- export declare const LevelToPartTitleMap: Record<Level, {
4
- section1: partText;
5
- section2: partText;
6
- }>;
@@ -1,95 +0,0 @@
1
- export const LevelToPartTitleMap = {
2
- CO: {
3
- section1: {
4
- partA: "Listen and Recognize",
5
- partB: "Listen and Respond",
6
- partC: "Listen and Retell",
7
- },
8
- section2: {
9
- partA: "Spell the Words",
10
- partB: "Look and Recognize",
11
- partC: "Look and Respond",
12
- partD: "Read and Retell",
13
- },
14
- },
15
- PS: {
16
- section1: {
17
- partA: "Listen and Recognize",
18
- partB: "Listen and Respond",
19
- partC: "Listen and Retell",
20
- },
21
- section2: {
22
- partA: "Spell the Words",
23
- partB: "Look and Recognize",
24
- partC: "Look and Respond",
25
- partD: "Read and Retell",
26
- },
27
- },
28
- ST: {
29
- section1: {
30
- partA: "Listen and Recognize",
31
- partB: "Listen and Respond",
32
- partC: "Listen and Retell",
33
- },
34
- section2: {
35
- partA: "Sentence Completion",
36
- partB: "Situational Writing",
37
- partC: "Reading and Retelling",
38
- },
39
- },
40
- BA: {
41
- section1: {
42
- partA: "Listen and Recognize",
43
- partB: "Listen and Respond",
44
- partC: "Listen and Retell",
45
- partD: "Listen and Speak",
46
- },
47
- section2: {
48
- partA: "Sentence Completion",
49
- partB: "Situational Writing",
50
- partC: "Practical Reading and Retelling",
51
- partD: "General Reading and Retelling",
52
- },
53
- },
54
- JR: {
55
- section1: {
56
- partA: "Listen and Respond",
57
- partB: "Listen and Retell",
58
- partC: "Listen and Speak",
59
- },
60
- section2: {
61
- partA: "Sentence Completion",
62
- partB: "Situational Writing",
63
- partC: "Practical Reading and Retelling",
64
- partD: "General Reading and Retelling",
65
- },
66
- },
67
- HJ: {
68
- section1: {
69
- partA: "Listen and Recognize",
70
- partB: "Listen and Respond",
71
- partC: "Short Conversations",
72
- partD: "Talks",
73
- },
74
- section2: {
75
- partA: "Picture Description",
76
- partB: "Sentence Completion",
77
- partC: "Practical Reading and Comprehension",
78
- partD: "General Reading and Comprehension",
79
- },
80
- },
81
- AD: {
82
- section1: {
83
- partA: "Listen and Recognize",
84
- partB: "Listen and Respond",
85
- partC: "Short Conversations",
86
- partD: "Talks",
87
- },
88
- section2: {
89
- partA: "Picture Description",
90
- partB: "Sentence Completion",
91
- partC: "Practical Reading and Comprehension",
92
- partD: "General Reading and Comprehension",
93
- },
94
- },
95
- };
@@ -1,6 +0,0 @@
1
- import { Level } from "../../../../../_test/interface";
2
- export declare const LevelToStyleMap: Record<Level, {
3
- name: string;
4
- bgcolor: string;
5
- textcolor: string;
6
- }>;
@@ -1,42 +0,0 @@
1
- export const LevelToStyleMap = {
2
- "": {
3
- name: "Unknown",
4
- bgcolor: "bg-gray-300",
5
- textcolor: "text-gray-800",
6
- },
7
- CO: {
8
- name: "Cocoon",
9
- bgcolor: "bg-co-green-light",
10
- textcolor: "text-co-green",
11
- },
12
- PS: {
13
- name: "Pre-Starter",
14
- bgcolor: "bg-ps-pink-light",
15
- textcolor: "text-ps-pink",
16
- },
17
- ST: {
18
- name: "Starter",
19
- bgcolor: "bg-st-orange-light",
20
- textcolor: "text-st-orange",
21
- },
22
- BA: {
23
- name: "Basic",
24
- bgcolor: "bg-ba-yellow-light",
25
- textcolor: "text-ba-yellow",
26
- },
27
- JR: {
28
- name: "Junior",
29
- bgcolor: "bg-jr-blue-light",
30
- textcolor: "text-jr-blue",
31
- },
32
- HJ: {
33
- name: "High Junior",
34
- bgcolor: "bg-hj-blue-light",
35
- textcolor: "text-hj-blue",
36
- },
37
- AD: {
38
- name: "Advanced",
39
- bgcolor: "bg-crimson-burgundy/10",
40
- textcolor: "text-crimson-burgundy",
41
- },
42
- };
@@ -1,4 +0,0 @@
1
- export declare const printBoxStyles: {
2
- shadow: string;
3
- colors: string;
4
- };
@@ -1,4 +0,0 @@
1
- export const printBoxStyles = {
2
- shadow: "print:shadow-none",
3
- colors: "print:bg-white print:border print:border-gray-medium/70",
4
- };
@@ -1,11 +0,0 @@
1
- import { Theme } from "../../interface";
2
- interface SectionBarProps {
3
- title: string;
4
- score: number;
5
- subScore?: number;
6
- total: number;
7
- scale?: number;
8
- theme: Theme;
9
- }
10
- export declare function BarGraph({ score, subScore, total, title, scale, theme, }: SectionBarProps): import("react/jsx-runtime").JSX.Element;
11
- export {};