@edu-tosel/design 1.0.218 → 1.0.219
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/Transcript/design/Transcript.d.ts +70 -67
- package/layout/template/Transcript/design/organism/HonorCard.d.ts +3 -3
- package/layout/template/Transcript/design/organism/HonorCard.js +1 -1
- package/layout/template/Transcript/design/organism/IdCard.d.ts +2 -2
- package/layout/template/Transcript/design/organism/NationalPositionCard.d.ts +3 -3
- package/layout/template/Transcript/design/organism/NationalPositionCard.js +1 -1
- package/layout/template/Transcript/design/organism/PerformanceCard.d.ts +3 -3
- package/layout/template/Transcript/design/organism/ResultGaugeCard.d.ts +2 -2
- package/layout/template/Transcript/design/organism/ScoreCard.d.ts +2 -2
- package/package.json +1 -1
- package/version.txt +1 -1
|
@@ -1,28 +1,42 @@
|
|
|
1
1
|
type Level = "CO" | "PS" | "ST" | "BA" | "JR" | "HJ" | "AD";
|
|
2
2
|
type ExamType = "REG" | "IST" | "CMP";
|
|
3
|
-
export interface
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
export interface Information {
|
|
4
|
+
name: string;
|
|
5
|
+
nickname?: string;
|
|
6
|
+
imgSrc?: string;
|
|
7
|
+
qrSrc?: string;
|
|
8
|
+
sharedSrc?: string;
|
|
9
|
+
code: string;
|
|
10
|
+
birthday: string;
|
|
11
|
+
examName: string;
|
|
12
|
+
examDate: string;
|
|
13
|
+
examType: ExamType;
|
|
14
|
+
examValidAt: string;
|
|
15
|
+
level: Level;
|
|
16
|
+
}
|
|
17
|
+
export interface Result {
|
|
18
|
+
score: number;
|
|
19
|
+
grade: number;
|
|
20
|
+
isHonor: boolean;
|
|
21
|
+
percentRank: number;
|
|
22
|
+
}
|
|
23
|
+
export interface Data {
|
|
24
|
+
graph: {
|
|
25
|
+
user: {
|
|
26
|
+
section1: {
|
|
27
|
+
partA: number;
|
|
28
|
+
partB: number;
|
|
29
|
+
partC: number;
|
|
30
|
+
partD: number;
|
|
31
|
+
};
|
|
32
|
+
section2: {
|
|
33
|
+
partA: number;
|
|
34
|
+
partB: number;
|
|
35
|
+
partC: number;
|
|
36
|
+
partD: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
average: {
|
|
26
40
|
user: {
|
|
27
41
|
section1: {
|
|
28
42
|
partA: number;
|
|
@@ -37,54 +51,43 @@ export interface TranscriptProps {
|
|
|
37
51
|
partD: number;
|
|
38
52
|
};
|
|
39
53
|
};
|
|
40
|
-
average: {
|
|
41
|
-
user: {
|
|
42
|
-
section1: {
|
|
43
|
-
partA: number;
|
|
44
|
-
partB: number;
|
|
45
|
-
partC: number;
|
|
46
|
-
partD: number;
|
|
47
|
-
};
|
|
48
|
-
section2: {
|
|
49
|
-
partA: number;
|
|
50
|
-
partB: number;
|
|
51
|
-
partC: number;
|
|
52
|
-
partD: number;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
54
|
};
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
localAverage: {
|
|
71
|
-
section1: number;
|
|
72
|
-
section2: number;
|
|
73
|
-
};
|
|
74
|
-
ageAverage: {
|
|
75
|
-
section1: number;
|
|
76
|
-
section2: number;
|
|
77
|
-
};
|
|
78
|
-
"10percentageAverage": number;
|
|
79
|
-
"30percentageAverage": number;
|
|
55
|
+
};
|
|
56
|
+
analysis: {
|
|
57
|
+
total: {
|
|
58
|
+
section1: number;
|
|
59
|
+
section2: number;
|
|
60
|
+
};
|
|
61
|
+
user: {
|
|
62
|
+
section1: number;
|
|
63
|
+
section2: number;
|
|
64
|
+
};
|
|
65
|
+
nationalAverage: {
|
|
66
|
+
section1: number;
|
|
67
|
+
section2: number;
|
|
80
68
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
section2: string | string[];
|
|
69
|
+
localAverage: {
|
|
70
|
+
section1: number;
|
|
71
|
+
section2: number;
|
|
85
72
|
};
|
|
86
|
-
|
|
73
|
+
ageAverage: {
|
|
74
|
+
section1: number;
|
|
75
|
+
section2: number;
|
|
76
|
+
};
|
|
77
|
+
"10percentageAverage": number;
|
|
78
|
+
"30percentageAverage": number;
|
|
79
|
+
};
|
|
80
|
+
script: {
|
|
81
|
+
performanceEvaluation: string | string[];
|
|
82
|
+
section1: string | string[];
|
|
83
|
+
section2: string | string[];
|
|
87
84
|
};
|
|
85
|
+
multipleIntelligence: MultipleIntelligenceRate;
|
|
86
|
+
}
|
|
87
|
+
export interface TranscriptProps {
|
|
88
|
+
info: Information;
|
|
89
|
+
result: Result;
|
|
90
|
+
data: Data;
|
|
88
91
|
}
|
|
89
92
|
interface Score {
|
|
90
93
|
part1: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default function HonorCard({ result
|
|
3
|
-
result:
|
|
1
|
+
import { Result } from "../Transcript";
|
|
2
|
+
export default function HonorCard({ result }: {
|
|
3
|
+
result: Result;
|
|
4
4
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import SVG from "../../../../../asset/SVG";
|
|
3
3
|
import { cn } from "../../../../../util";
|
|
4
4
|
import { printBoxStyles } from "../atom/PrintBoxStyles";
|
|
5
|
-
export default function HonorCard({ result
|
|
5
|
+
export default function HonorCard({ result }) {
|
|
6
6
|
const cardWrapper = {
|
|
7
7
|
displays: "flex flex-1 flex-col self-stretch relative",
|
|
8
8
|
sizes: "w-full rounded-lg overflow-hidden",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function NationalPositionCard({ result
|
|
3
|
-
result:
|
|
1
|
+
import { Result } from "../Transcript";
|
|
2
|
+
export declare function NationalPositionCard({ result }: {
|
|
3
|
+
result: Result;
|
|
4
4
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "../../../../../util";
|
|
3
3
|
import { printBoxStyles } from "../atom/PrintBoxStyles";
|
|
4
|
-
export function NationalPositionCard({ result
|
|
4
|
+
export function NationalPositionCard({ result }) {
|
|
5
5
|
const percentRank = result.percentRank.toFixed(1);
|
|
6
6
|
const cardWrapper = {
|
|
7
7
|
displays: "flex flex-col relative",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Data, Information } from "../Transcript";
|
|
2
2
|
export default function PerformanceCard({ data, info, }: {
|
|
3
|
-
data:
|
|
4
|
-
info:
|
|
3
|
+
data: Data;
|
|
4
|
+
info: Information;
|
|
5
5
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Theme } from "../../interface";
|
|
2
|
-
import {
|
|
2
|
+
import { Result } from "../Transcript";
|
|
3
3
|
export default function ResultGaugeCard({ result, theme, }: {
|
|
4
|
-
result:
|
|
4
|
+
result: Result;
|
|
5
5
|
theme: Theme;
|
|
6
6
|
}): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.219
|