@edu-tosel/design 1.0.212 → 1.0.214

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 (47) hide show
  1. package/layout/template/Event/Event.d.ts +19 -5
  2. package/layout/template/Event/Event.js +76 -1
  3. package/layout/template/Event/One.js +7 -3
  4. package/layout/template/Event/molecule/Banner.d.ts +6 -0
  5. package/layout/template/Event/molecule/Banner.js +43 -0
  6. package/layout/template/Transcript/design/Transcript.d.ts +90 -0
  7. package/layout/template/Transcript/design/Transcript.design.js +4 -1
  8. package/layout/template/Transcript/design/Transcript.js +121 -1
  9. package/layout/template/Transcript/design/TranscriptAdvanced.design.js +0 -4
  10. package/layout/template/Transcript/design/atom/GetPartDescriptionFromLevel.d.ts +3 -0
  11. package/layout/template/Transcript/design/atom/GetPartDescriptionFromLevel.js +4 -0
  12. package/layout/template/Transcript/design/atom/GetPartTitleFromLevel.d.ts +3 -0
  13. package/layout/template/Transcript/design/atom/GetPartTitleFromLevel.js +4 -0
  14. package/layout/template/Transcript/design/atom/LevelToPartDescriptionMap.d.ts +6 -0
  15. package/layout/template/Transcript/design/atom/LevelToPartDescriptionMap.js +95 -0
  16. package/layout/template/Transcript/design/atom/LevelToPartTitleMap.d.ts +6 -0
  17. package/layout/template/Transcript/design/atom/LevelToPartTitleMap.js +95 -0
  18. package/layout/template/Transcript/design/molecule/BarGraphDuo.d.ts +3 -0
  19. package/layout/template/Transcript/design/molecule/BarGraphDuo.js +1 -1
  20. package/layout/template/Transcript/design/molecule/BarGraphMulti.d.ts +11 -0
  21. package/layout/template/Transcript/design/molecule/BarGraphMulti.js +9 -0
  22. package/layout/template/Transcript/design/molecule/LSWRChart.js +4 -3
  23. package/layout/template/Transcript/design/molecule/MIChart.d.ts +1 -0
  24. package/layout/template/Transcript/design/molecule/MIChart.js +51 -0
  25. package/layout/template/Transcript/design/organism/BarCardRow.js +1 -1
  26. package/layout/template/Transcript/design/organism/IntelligenceCard.d.ts +12 -0
  27. package/layout/template/Transcript/design/organism/IntelligenceCard.js +39 -0
  28. package/layout/template/Transcript/design/organism/SectionRadarCard.d.ts +9 -0
  29. package/layout/template/Transcript/design/organism/SectionRadarCard.js +40 -0
  30. package/layout/template/Transcript/interface.d.ts +23 -0
  31. package/package.json +1 -1
  32. package/util/createRecord.d.ts +20 -0
  33. package/util/createRecord.js +23 -0
  34. package/util/getMaxBday.js +6 -3
  35. package/util/index.d.ts +1 -0
  36. package/util/index.js +1 -0
  37. package/util/moment.d.ts +3 -0
  38. package/util/moment.js +10 -0
  39. package/version.txt +1 -1
  40. package/_test/asset/mock/academies.d.ts +0 -5
  41. package/_test/asset/mock/academies.js +0 -52
  42. package/_test/asset/mock/academy.d.ts +0 -28
  43. package/_test/asset/mock/academy.js +0 -419
  44. package/_test/asset/mock/chartData.d.ts +0 -6
  45. package/_test/asset/mock/chartData.js +0 -104
  46. package/_test/asset/mock/index.d.ts +0 -3
  47. package/_test/asset/mock/index.js +0 -3
@@ -1,419 +0,0 @@
1
- export const classes = [
2
- {
3
- id: 1,
4
- name: "NewJeans",
5
- level: ["PS"],
6
- },
7
- {
8
- id: 2,
9
- name: "LE SSERAFIM",
10
- level: ["ST"],
11
- },
12
- {
13
- id: 3,
14
- name: "aespa",
15
- level: ["HJ"],
16
- },
17
- {
18
- id: 4,
19
- name: "IVE",
20
- level: ["BA", "JR"],
21
- },
22
- {
23
- id: 5,
24
- name: "NMIXX",
25
- level: ["BA", "JR"],
26
- },
27
- {
28
- id: 6,
29
- name: "STAYC",
30
- level: ["JR", "HJ"],
31
- },
32
- ];
33
- export const students = [
34
- {
35
- id: 1,
36
- name: "이지은",
37
- nickname: "IU",
38
- birthday: "1993-05-16",
39
- phone: "010-1234-5678",
40
- school: "이담 초등학교",
41
- classId: null,
42
- class: null,
43
- profile: "iu.jpg",
44
- },
45
- {
46
- id: 2,
47
- name: "김민지",
48
- nickname: "민지",
49
- birthday: "2004-05-07",
50
- phone: "010-1234-5678",
51
- school: "ADOR 초등학교",
52
- classId: 1,
53
- class: "NewJeans",
54
- profile: "minji.jpeg",
55
- },
56
- {
57
- id: 3,
58
- name: "Hanni Pham",
59
- nickname: "하니",
60
- birthday: "2004-10-06",
61
- phone: "010-2345-6789",
62
- school: "ADOR 초등학교",
63
- classId: 1,
64
- class: "NewJeans",
65
- profile: "hani.png",
66
- },
67
- {
68
- id: 4,
69
- name: "Danielle June Marsh",
70
- nickname: "다니엘",
71
- birthday: "2005-04-11",
72
- phone: "010-3456-7890",
73
- school: "ADOR 초등학교",
74
- classId: 1,
75
- class: "NewJeans",
76
- profile: "danielle.jpg",
77
- },
78
- {
79
- id: 5,
80
- name: "강해린",
81
- nickname: "해린",
82
- birthday: "2005-04-04",
83
- phone: "010-4567-8901",
84
- school: "ADOR 초등학교",
85
- classId: 1,
86
- class: "NewJeans",
87
- profile: "haerin.jpeg",
88
- },
89
- {
90
- id: 6,
91
- name: "이혜인",
92
- nickname: "혜인",
93
- birthday: "2005-04-04",
94
- phone: "010-4567-8901",
95
- school: "ADOR 초등학교",
96
- classId: 1,
97
- class: "NewJeans",
98
- profile: "hyein.png",
99
- },
100
- {
101
- id: 7,
102
- name: "宮脇咲良",
103
- nickname: "사쿠라",
104
- birthday: "1998-03-19",
105
- phone: "010-5678-9012",
106
- school: "SOURCE MUSIC 초등학교",
107
- classId: 2,
108
- class: "LE SSERAFIM",
109
- profile: "sakura.jpg",
110
- },
111
- {
112
- id: 8,
113
- name: "김채원",
114
- nickname: null,
115
- birthday: "2000-08-01",
116
- phone: "010-6789-0123",
117
- school: "SOURCE MUSIC 초등학교",
118
- classId: 2,
119
- class: "LE SSERAFIM",
120
- profile: "chaewon.jpg",
121
- },
122
- {
123
- id: 9,
124
- name: "허윤진",
125
- nickname: null,
126
- birthday: "2001-10-08",
127
- phone: "010-6789-0123",
128
- school: "SOURCE MUSIC 초등학교",
129
- classId: 2,
130
- class: "LE SSERAFIM",
131
- profile: "yunjin.jpg",
132
- },
133
- {
134
- id: 10,
135
- name: "中村一葉",
136
- nickname: "카즈하",
137
- birthday: "2003-08-09",
138
- phone: "010-6789-0123",
139
- school: "SOURCE MUSIC 초등학교",
140
- classId: 2,
141
- class: "LE SSERAFIM",
142
- profile: "kazuha.webp",
143
- },
144
- {
145
- id: 11,
146
- name: "홍은채",
147
- nickname: null,
148
- birthday: "2006-11-10",
149
- phone: "010-6789-0123",
150
- school: "SOURCE MUSIC 초등학교",
151
- classId: 2,
152
- class: "LE SSERAFIM",
153
- profile: "eunchae.jpg",
154
- },
155
- {
156
- id: 12,
157
- name: "유지민",
158
- nickname: "Karina",
159
- birthday: "2000-04-11",
160
- phone: "010-1234-5678",
161
- school: "SM 초등학교",
162
- classId: 3,
163
- class: "aespa",
164
- profile: "karina.jpg",
165
- },
166
- {
167
- id: 13,
168
- name: "内永えり",
169
- nickname: "Giselle",
170
- birthday: "2000-10-30",
171
- phone: "010-1234-5678",
172
- school: "SM 초등학교",
173
- classId: 3,
174
- class: "aespa",
175
- profile: "giselle.webp",
176
- },
177
- {
178
- id: 14,
179
- name: "김민정",
180
- nickname: "Winter",
181
- birthday: "2001-01-01",
182
- phone: "010-1234-5678",
183
- school: "SM 초등학교",
184
- classId: 3,
185
- class: "aespa",
186
- profile: "winter.jpeg",
187
- },
188
- {
189
- id: 15,
190
- name: "宁艺卓",
191
- nickname: "Ningning",
192
- birthday: "2002-10-23",
193
- phone: "010-1234-5678",
194
- school: "SM 초등학교",
195
- classId: 3,
196
- class: "aespa",
197
- profile: "ningning.webp",
198
- },
199
- {
200
- id: 16,
201
- name: "안유진",
202
- nickname: null,
203
- birthday: "2003-09-01",
204
- phone: "010-1234-5678",
205
- school: "스타쉽 초등학교",
206
- classId: 4,
207
- class: "IVE",
208
- profile: "yujin.jpg",
209
- },
210
- {
211
- id: 17,
212
- name: "김가을",
213
- nickname: "가을",
214
- birthday: "2002-09-24",
215
- phone: "010-1234-5678",
216
- school: "스타쉽 초등학교",
217
- classId: 4,
218
- class: "IVE",
219
- profile: "gaeul.jpg",
220
- },
221
- {
222
- id: 18,
223
- name: "直井玲",
224
- nickname: "레이",
225
- birthday: "2004-02-03",
226
- phone: "010-1234-5678",
227
- school: "스타쉽 초등학교",
228
- classId: 4,
229
- class: "IVE",
230
- profile: "rei.jpg",
231
- },
232
- {
233
- id: 19,
234
- name: "장원영",
235
- nickname: null,
236
- birthday: "2004-08-31",
237
- phone: "010-1234-5678",
238
- school: "스타쉽 초등학교",
239
- classId: 4,
240
- class: "IVE",
241
- profile: "wonyoung.jpg",
242
- },
243
- {
244
- id: 20,
245
- name: "김지원",
246
- nickname: "리즈",
247
- birthday: "2004-11-21",
248
- phone: "010-1234-5678",
249
- class: "IVE",
250
- school: "스타쉽 초등학교",
251
- classId: 4,
252
- profile: "liz.webp",
253
- },
254
- {
255
- id: 21,
256
- name: "이현서",
257
- nickname: "이서",
258
- birthday: "2007-02-21",
259
- phone: "010-1234-5678",
260
- class: "IVE",
261
- school: "스타쉽 초등학교",
262
- classId: 4,
263
- profile: "leeseo.jpg",
264
- },
265
- {
266
- id: 22,
267
- name: "Lily Jin Park Morrow",
268
- nickname: "릴리",
269
- birthday: "2002-10-17",
270
- phone: "010-1234-5678",
271
- school: "JYP 초등학교",
272
- classId: 5,
273
- class: "NMIXX",
274
- profile: "lily.jpg",
275
- },
276
- {
277
- id: 23,
278
- name: "오해원",
279
- nickname: "해원",
280
- birthday: "2003-02-25",
281
- phone: "010-1234-5678",
282
- school: "JYP 초등학교",
283
- classId: 5,
284
- class: "NMIXX",
285
- profile: "haewon.webp",
286
- },
287
- {
288
- id: 24,
289
- name: "설윤아",
290
- nickname: "설윤",
291
- birthday: "2004-01-26",
292
- phone: "010-1234-5678",
293
- school: "JYP 초등학교",
294
- classId: 5,
295
- class: "NMIXX",
296
- profile: "sullyoon.webp",
297
- },
298
- {
299
- id: 25,
300
- name: "배진솔",
301
- nickname: "배이",
302
- birthday: "2004-12-28",
303
- phone: "010-1234-5678",
304
- school: "JYP 초등학교",
305
- classId: 5,
306
- class: "NMIXX",
307
- profile: "bae.webp",
308
- },
309
- {
310
- id: 26,
311
- name: "김지우",
312
- nickname: "지우",
313
- birthday: "2005-04-13",
314
- phone: "010-1234-5678",
315
- school: "JYP 초등학교",
316
- classId: 5,
317
- class: "NMIXX",
318
- profile: "jiwoo.jpg",
319
- },
320
- {
321
- id: 27,
322
- name: "장규진",
323
- nickname: "규진",
324
- birthday: "2006-05-26",
325
- phone: "010-1234-5678",
326
- school: "JYP 초등학교",
327
- classId: 5,
328
- class: "NMIXX",
329
- profile: "kyujin.jpg",
330
- },
331
- {
332
- id: 28,
333
- name: "배수민",
334
- nickname: "수민",
335
- birthday: "2001-03-13",
336
- phone: "010-1234-5678",
337
- school: "하이업 초등학교",
338
- classId: 6,
339
- class: "STAYC",
340
- profile: "sumin.jpg",
341
- },
342
- {
343
- id: 29,
344
- name: "박시은",
345
- nickname: "시은",
346
- birthday: "2001-08-01",
347
- phone: "010-1234-5678",
348
- school: "하이업 초등학교",
349
- classId: 6,
350
- class: "STAYC",
351
- profile: "sieun.jpg",
352
- },
353
- {
354
- id: 30,
355
- name: "이채영",
356
- nickname: "아이사",
357
- birthday: "2002-01-23",
358
- phone: "010-1234-5678",
359
- school: "하이업 초등학교",
360
- classId: 6,
361
- class: "STAYC",
362
- profile: "isa.jpg",
363
- },
364
- {
365
- id: 31,
366
- name: "윤세은",
367
- nickname: "세은",
368
- birthday: "2003-06-14",
369
- phone: "010-1234-5678",
370
- school: "하이업 초등학교",
371
- classId: 6,
372
- class: "STAYC",
373
- profile: "seeun.jpg",
374
- },
375
- {
376
- id: 32,
377
- name: "심자윤",
378
- nickname: "윤",
379
- birthday: "2004-04-14",
380
- phone: "010-1234-5678",
381
- school: "하이업 초등학교",
382
- classId: 6,
383
- class: "STAYC",
384
- profile: "yoon.jpeg",
385
- },
386
- {
387
- id: 33,
388
- name: "장예은",
389
- nickname: "재이",
390
- birthday: "2004-12-09",
391
- phone: "010-1234-5678",
392
- school: "하이업 초등학교",
393
- classId: 6,
394
- class: "STAYC",
395
- profile: "j.jpg",
396
- },
397
- ];
398
- const grades = students.map((student, index) => {
399
- const score = Math.floor(Math.random() * 100) + 1;
400
- const grade = score >= 90 ? 1 : score >= 80 ? 2 : score >= 70 ? 3 : score >= 60 ? 4 : 5;
401
- return {
402
- id: index,
403
- userId: student.id,
404
- birthday: student.birthday,
405
- class: student.class,
406
- classId: student.classId,
407
- name: student.name,
408
- nickname: student.nickname,
409
- phone: student.phone,
410
- profile: student.profile,
411
- school: student.school,
412
- level: classes.find(({ id }) => id === student.classId)?.level[0] || null,
413
- score,
414
- grade,
415
- };
416
- });
417
- export const exam = () => {
418
- return grades;
419
- };
@@ -1,6 +0,0 @@
1
- export declare const chartData: {
2
- date: string;
3
- uv: number;
4
- pv: number;
5
- amt: number;
6
- }[];
@@ -1,104 +0,0 @@
1
- export const chartData = [
2
- {
3
- date: "1/10",
4
- uv: 4000,
5
- pv: 2400,
6
- amt: 2400,
7
- },
8
- {
9
- date: "1/11",
10
- uv: 3000,
11
- pv: 1398,
12
- amt: 2210,
13
- },
14
- {
15
- date: "1/12",
16
- uv: 2000,
17
- pv: 9800,
18
- amt: 2290,
19
- },
20
- {
21
- date: "1/13",
22
- uv: 2780,
23
- pv: 3908,
24
- amt: 2000,
25
- },
26
- {
27
- date: "1/14",
28
- uv: 1890,
29
- pv: 4800,
30
- amt: 2181,
31
- },
32
- {
33
- date: "1/15",
34
- uv: 2390,
35
- pv: 3800,
36
- amt: 2500,
37
- },
38
- {
39
- date: "1/15",
40
- uv: 2390,
41
- pv: 3800,
42
- amt: 2500,
43
- },
44
- {
45
- date: "1/15",
46
- uv: 2390,
47
- pv: 3800,
48
- amt: 2500,
49
- },
50
- {
51
- date: "1/15",
52
- uv: 2390,
53
- pv: 3800,
54
- amt: 2500,
55
- },
56
- {
57
- date: "1/15",
58
- uv: 2390,
59
- pv: 3800,
60
- amt: 2500,
61
- },
62
- {
63
- date: "1/15",
64
- uv: 2390,
65
- pv: 3800,
66
- amt: 2500,
67
- },
68
- {
69
- date: "1/15",
70
- uv: 2390,
71
- pv: 3800,
72
- amt: 2500,
73
- },
74
- {
75
- date: "1/15",
76
- uv: 2390,
77
- pv: 3800,
78
- amt: 2500,
79
- },
80
- {
81
- date: "1/15",
82
- uv: 2390,
83
- pv: 3800,
84
- amt: 2500,
85
- },
86
- {
87
- date: "1/15",
88
- uv: 2390,
89
- pv: 3800,
90
- amt: 2500,
91
- },
92
- {
93
- date: "1/15",
94
- uv: 2390,
95
- pv: 3800,
96
- amt: 2500,
97
- },
98
- {
99
- date: "1/15",
100
- uv: 2390,
101
- pv: 3800,
102
- amt: 2500,
103
- },
104
- ];
@@ -1,3 +0,0 @@
1
- export * from "./chartData";
2
- export * from "./academies";
3
- export * from "./academy";
@@ -1,3 +0,0 @@
1
- export * from "./chartData";
2
- export * from "./academies";
3
- export * from "./academy";