@edu-tosel/design 1.0.144 → 1.0.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/layout/template/Legacy/{sample.d.ts → Exam.d.ts} +1 -2
- package/layout/template/Legacy/Exam.js +1 -0
- package/layout/template/Legacy/Legacy.layout.d.ts +4 -1
- package/layout/template/Legacy/Legacy.layout.js +2 -2
- package/layout/template/Legacy/Table.d.ts +4 -1
- package/layout/template/Legacy/Table.js +1 -2
- package/layout/template/Legacy/index.d.ts +2 -0
- package/layout/template/Legacy/index.js +2 -0
- package/package.json +1 -1
- package/version.txt +1 -1
- package/layout/template/Legacy/sample.js +0 -84
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef } from "react";
|
|
3
3
|
import Legacy from ".";
|
|
4
4
|
import { cn } from "../../../util";
|
|
5
|
-
export default function LegacyLayout() {
|
|
5
|
+
export default function LegacyLayout({ exams }) {
|
|
6
6
|
const ref = useRef(null);
|
|
7
7
|
const pageWrapper = {
|
|
8
8
|
backgrounds: "bg-[#f6f6f6]/50",
|
|
9
9
|
displays: "flex justify-center items-center",
|
|
10
10
|
sizes: "h-full",
|
|
11
11
|
};
|
|
12
|
-
return (_jsx("div", { className: cn(pageWrapper), children: _jsx(Legacy.Table, {}) }));
|
|
12
|
+
return (_jsx("div", { className: cn(pageWrapper), children: _jsx(Legacy.Table, { exams: exams }) }));
|
|
13
13
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../util";
|
|
3
3
|
import Action from "../Action";
|
|
4
|
-
import { exams } from "./sample";
|
|
5
4
|
import { useState } from "react";
|
|
6
|
-
export default function Table() {
|
|
5
|
+
export default function Table({ exams }) {
|
|
7
6
|
const container = {
|
|
8
7
|
textstyling: "font-pretendard-var antialiased relative",
|
|
9
8
|
backgrounds: "text-gray-medium",
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.146
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// sampleData.tsx
|
|
2
|
-
// 샘플 데이터 정의
|
|
3
|
-
export const exams = [
|
|
4
|
-
{
|
|
5
|
-
examNo: "2025",
|
|
6
|
-
examName: "테스트 기관시험",
|
|
7
|
-
reports: [
|
|
8
|
-
{
|
|
9
|
-
name: "박민형",
|
|
10
|
-
level: "10",
|
|
11
|
-
url: "https://www.tosel.org/admin/grade/gradeSpecialTableAdmin_n?receipt_no=000000000001&gradeturn=2025&gradelevel=10&area=3&birthday=2020-03-16&rqtype=",
|
|
12
|
-
birthday: "2015-07-28",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
name: "탄단지",
|
|
16
|
-
level: "6",
|
|
17
|
-
url: "https://www.tosel.org/admin/grade/gradeSpecialTableAdmin_n?receipt_no=000000000001&gradeturn=2025&gradelevel=10&area=3&birthday=2020-03-16&rqtype=",
|
|
18
|
-
birthday: "2015-05-11",
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
groupReport: "https://ai.tosel.co.kr/grade/print?receipt_no=580040100001,580040100002,580040100003,580040100004,580040100005,580040100006,580040050001,580040050002,580040040001,580040050003,580040100007&gradeturn=1331",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
examNo: "216",
|
|
25
|
-
examName: "토셀 제 53회 정기시험",
|
|
26
|
-
reports: [
|
|
27
|
-
{
|
|
28
|
-
name: "김하늘",
|
|
29
|
-
level: "6",
|
|
30
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001069999&gradeturn=216",
|
|
31
|
-
birthday: "2015-07-15",
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
groupReport: "https://ai.tosel.co.kr/grade/print?receipt_no=580040100001,580040100002,580040100003,580040100004,580040100005,580040100006,580040050001,580040050002,580040040001,580040050003,580040100007&gradeturn=1331",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
examNo: "217",
|
|
38
|
-
examName: "토셀 제 54회 정기시험",
|
|
39
|
-
reports: [
|
|
40
|
-
{
|
|
41
|
-
name: "이수민",
|
|
42
|
-
level: "4",
|
|
43
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001070000&gradeturn=217",
|
|
44
|
-
birthday: "2015-07-28",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "최지원",
|
|
48
|
-
level: "3",
|
|
49
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001070001&gradeturn=217",
|
|
50
|
-
birthday: "2015-07-28",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
name: "최지원",
|
|
54
|
-
level: "3",
|
|
55
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001070001&gradeturn=217",
|
|
56
|
-
birthday: "2015-07-28",
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
examNo: "219",
|
|
62
|
-
examName: "토셀 제 52회 정기시험",
|
|
63
|
-
reports: [
|
|
64
|
-
{
|
|
65
|
-
name: "이수민",
|
|
66
|
-
level: "4",
|
|
67
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001070000&gradeturn=217",
|
|
68
|
-
birthday: "2015-07-28",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: "최지원",
|
|
72
|
-
level: "3",
|
|
73
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001070001&gradeturn=217",
|
|
74
|
-
birthday: "2015-07-28",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: "유남생",
|
|
78
|
-
level: "3",
|
|
79
|
-
url: "https://ai.tosel.co.kr/grade/?receipt_no=101001070001&gradeturn=217",
|
|
80
|
-
birthday: "2015-07-28",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
];
|