@elice/material-assignment 1.240802.0 → 1.240806.0-pdf.0
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/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.d.ts +2 -4
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdmin.js +6 -7
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContent.js +58 -185
- package/cjs/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +33 -110
- package/es/components/material-assignment-admin/MaterialAssignmentAdmin.d.ts +2 -4
- package/es/components/material-assignment-admin/MaterialAssignmentAdmin.js +7 -8
- package/es/components/material-assignment-admin/MaterialAssignmentAdminContent.js +59 -186
- package/es/components/material-assignment-admin/MaterialAssignmentAdminContentTa.js +34 -111
- package/package.json +3 -3
- package/cjs/components/material-assignment-admin/locales/en.json.js +0 -7
- package/cjs/components/material-assignment-admin/locales/index.d.ts +0 -4
- package/cjs/components/material-assignment-admin/locales/index.js +0 -13
- package/cjs/components/material-assignment-admin/locales/ja.json.js +0 -7
- package/cjs/components/material-assignment-admin/locales/ko.json.js +0 -7
- package/cjs/components/material-assignment-admin/locales/th.json.js +0 -7
- package/es/components/material-assignment-admin/locales/en.json.js +0 -3
- package/es/components/material-assignment-admin/locales/index.d.ts +0 -4
- package/es/components/material-assignment-admin/locales/index.js +0 -4
- package/es/components/material-assignment-admin/locales/ja.json.js +0 -3
- package/es/components/material-assignment-admin/locales/ko.json.js +0 -3
- package/es/components/material-assignment-admin/locales/th.json.js +0 -3
|
@@ -6,7 +6,7 @@ import { config, getOrgUserGet, getOrgMaterialAssignmentGet, getOrgMaterialAssig
|
|
|
6
6
|
import { Flex, Vspace, ProfileImage, Hspace, Text, Tooltip, Icon, InfoTable, Button, TableNext, IconButton, Pagination, Modal, Label, Input, Textarea, Alert, Notification } from '@elice/blocks';
|
|
7
7
|
import { base } from '@elice/design-tokens';
|
|
8
8
|
import { eilStatusInfo, eilChat, eilDelete, eilArrowRightwardsBasic } from '@elice/icons';
|
|
9
|
-
import {
|
|
9
|
+
import { FormattedDate } from '@elice/intl';
|
|
10
10
|
import { useMaterialConfigApiClientUpdate } from '@elice/material-shared-utils';
|
|
11
11
|
import dayjs from 'dayjs';
|
|
12
12
|
import MaterialAssignmentContainer from '../shared/MaterialAssignmentContainer.js';
|
|
@@ -19,7 +19,6 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
19
19
|
adminUserId = _ref.adminUserId,
|
|
20
20
|
updateMaterialUserBrowserResponse = _ref.updateMaterialUserBrowserResponse;
|
|
21
21
|
var _a;
|
|
22
|
-
var intl = useRawEliceIntl();
|
|
23
22
|
// Form
|
|
24
23
|
var gradeEditFormMethods = useForm({
|
|
25
24
|
defaultValues: {
|
|
@@ -210,18 +209,14 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
210
209
|
if (typeof updateMaterialUserBrowserResponse === 'function') {
|
|
211
210
|
updateMaterialUserBrowserResponse(userId);
|
|
212
211
|
}
|
|
213
|
-
Notification.success(
|
|
214
|
-
id: 'materialAssignment.notify.success'
|
|
215
|
-
}));
|
|
212
|
+
Notification.success('저장되었습니다');
|
|
216
213
|
_context.next = 15;
|
|
217
214
|
break;
|
|
218
215
|
case 11:
|
|
219
216
|
_context.prev = 11;
|
|
220
217
|
_context.t0 = _context["catch"](1);
|
|
221
218
|
console.error(_context.t0);
|
|
222
|
-
Notification.error(
|
|
223
|
-
id: 'materialAssignment.notify.error'
|
|
224
|
-
}));
|
|
219
|
+
Notification.error('오류가 발생했습니다.');
|
|
225
220
|
case 15:
|
|
226
221
|
_context.prev = 15;
|
|
227
222
|
setShowGradeEditModal(false);
|
|
@@ -264,9 +259,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
264
259
|
if (typeof updateMaterialUserBrowserResponse === 'function') {
|
|
265
260
|
updateMaterialUserBrowserResponse(userId);
|
|
266
261
|
}
|
|
267
|
-
Notification.success(
|
|
268
|
-
id: 'materialAssignment.notify.success'
|
|
269
|
-
}));
|
|
262
|
+
Notification.success('저장되었습니다');
|
|
270
263
|
_context2.next = 19;
|
|
271
264
|
break;
|
|
272
265
|
case 14:
|
|
@@ -274,9 +267,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
274
267
|
_context2.t0 = _context2["catch"](2);
|
|
275
268
|
console.error(_context2.t0);
|
|
276
269
|
setGradeDeleteStatus('rejected');
|
|
277
|
-
Notification.error(
|
|
278
|
-
id: 'materialAssignment.notify.error'
|
|
279
|
-
}));
|
|
270
|
+
Notification.error('오류가 발생했습니다.');
|
|
280
271
|
case 19:
|
|
281
272
|
_context2.prev = 19;
|
|
282
273
|
setSelectedGradeForDelete(null);
|
|
@@ -310,18 +301,14 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
310
301
|
if (typeof updateMaterialUserBrowserResponse === 'function') {
|
|
311
302
|
updateMaterialUserBrowserResponse(userId);
|
|
312
303
|
}
|
|
313
|
-
Notification.success(
|
|
314
|
-
id: 'materialAssignment.notify.success'
|
|
315
|
-
}));
|
|
304
|
+
Notification.success('저장되었습니다');
|
|
316
305
|
_context3.next = 13;
|
|
317
306
|
break;
|
|
318
307
|
case 9:
|
|
319
308
|
_context3.prev = 9;
|
|
320
309
|
_context3.t0 = _context3["catch"](1);
|
|
321
310
|
console.error(_context3.t0);
|
|
322
|
-
Notification.error(
|
|
323
|
-
id: 'materialAssignment.notify.error'
|
|
324
|
-
}));
|
|
311
|
+
Notification.error('오류가 발생했습니다.');
|
|
325
312
|
case 13:
|
|
326
313
|
_context3.prev = 13;
|
|
327
314
|
setShowManualScoreEditModal(false);
|
|
@@ -378,25 +365,17 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
378
365
|
children: [jsx(Text, {
|
|
379
366
|
size: "tiny",
|
|
380
367
|
role: "gray4",
|
|
381
|
-
children:
|
|
382
|
-
id: 'materialAssignment.score'
|
|
383
|
-
})
|
|
368
|
+
children: "\uC810\uC218"
|
|
384
369
|
}), jsx(Text, {
|
|
385
370
|
size: "small",
|
|
386
371
|
role: "white",
|
|
387
|
-
children: gradeResult ? "".concat((_c = (_b = gradeResult.manualScore) !== null && _b !== void 0 ? _b : gradeResult.avgCalcScore) !== null && _c !== void 0 ? _c : 0).concat(isScoreFinalized ?
|
|
388
|
-
id: 'materialAssignment.reveal'
|
|
389
|
-
}) : intl.formatMessage({
|
|
390
|
-
id: 'materialAssignment.private'
|
|
391
|
-
})) : '--'
|
|
372
|
+
children: gradeResult ? "".concat((_c = (_b = gradeResult.manualScore) !== null && _b !== void 0 ? _b : gradeResult.avgCalcScore) !== null && _c !== void 0 ? _c : 0).concat(isScoreFinalized ? '(공개됨)' : '(비공개)') : '--'
|
|
392
373
|
})]
|
|
393
374
|
}), jsxs(StyledMaterialAssignmentAdminHeaderCell, {
|
|
394
375
|
children: [jsx(Text, {
|
|
395
376
|
size: "tiny",
|
|
396
377
|
role: "gray4",
|
|
397
|
-
children:
|
|
398
|
-
id: 'materialAssignment.table.column.lastSubmitDatetime'
|
|
399
|
-
})
|
|
378
|
+
children: "\uC81C\uCD9C \uC77C\uC2DC"
|
|
400
379
|
}), jsx(Text, {
|
|
401
380
|
size: "small",
|
|
402
381
|
role: "white",
|
|
@@ -412,9 +391,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
412
391
|
var renderManualScoreEditButton = function renderManualScoreEditButton() {
|
|
413
392
|
return jsx(Tooltip, {
|
|
414
393
|
placement: "top",
|
|
415
|
-
title:
|
|
416
|
-
id: isUserSubmitted ? 'materialAssignment.tooltip.manual-score-edit.submit' : 'materialAssignment.tooltip.manual-score-edit.not-submit'
|
|
417
|
-
}),
|
|
394
|
+
title: isUserSubmitted ? '제출 기한이 지난 이후 조정할 수 있습니다.' : '미제출인 경우 조정할 수 없습니다.',
|
|
418
395
|
visible: !isAssignmentClosed || !isUserSubmitted ? undefined : false,
|
|
419
396
|
children: jsx(StyledMaterialAssignmentAdminManualScoreEditButtonWrapper, {
|
|
420
397
|
disabled: !isAssignmentClosed || !isUserSubmitted,
|
|
@@ -424,9 +401,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
424
401
|
role: "navy3",
|
|
425
402
|
size: "tiny",
|
|
426
403
|
onClick: handleManualScoreEditClick,
|
|
427
|
-
children:
|
|
428
|
-
id: 'materialAssignment.button.manual-score-edit'
|
|
429
|
-
})
|
|
404
|
+
children: "\uC810\uC218 \uC870\uC815\uD558\uAE30"
|
|
430
405
|
})
|
|
431
406
|
})
|
|
432
407
|
});
|
|
@@ -444,17 +419,13 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
444
419
|
role: "navy1",
|
|
445
420
|
size: "small",
|
|
446
421
|
lineHeight: "1.375rem",
|
|
447
|
-
children: user ? "".concat(user.fullname, " ")
|
|
448
|
-
id: 'materialAssignment.username.subfix'
|
|
449
|
-
})) : null
|
|
422
|
+
children: user ? "".concat(user.fullname, " \uB2D8\uC758 \uC810\uC218") : null
|
|
450
423
|
}), jsx(Hspace, {
|
|
451
424
|
width: 0.25
|
|
452
425
|
}), jsx(Tooltip, {
|
|
453
426
|
useMaxWidth: true,
|
|
454
427
|
placement: "top",
|
|
455
|
-
title:
|
|
456
|
-
id: 'materialAssignment.tooltip.grade-result-button'
|
|
457
|
-
}),
|
|
428
|
+
title: "모든 채점 점수의 평균값이 반영된 종합 점수입니다. 평균값을 사용하지 않으려면 ‘조정하기'를 클릭해 직접 점수를 입력하세요.",
|
|
458
429
|
children: jsx(Icon, {
|
|
459
430
|
icon: eilStatusInfo,
|
|
460
431
|
color: base.color.navy1
|
|
@@ -464,11 +435,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
464
435
|
}), jsx(Text, {
|
|
465
436
|
bold: true,
|
|
466
437
|
role: "white",
|
|
467
|
-
children: gradeResult ? "".concat((_b = (_a = gradeResult.manualScore) !== null && _a !== void 0 ? _a : gradeResult.avgCalcScore) !== null && _b !== void 0 ? _b : 0).concat(isScoreFinalized ?
|
|
468
|
-
id: 'materialAssignment.reveal'
|
|
469
|
-
}) : intl.formatMessage({
|
|
470
|
-
id: 'materialAssignment.private'
|
|
471
|
-
})) : '--'
|
|
438
|
+
children: gradeResult ? "".concat((_b = (_a = gradeResult.manualScore) !== null && _a !== void 0 ? _a : gradeResult.avgCalcScore) !== null && _b !== void 0 ? _b : 0).concat(isScoreFinalized ? '(공개됨)' : '(비공개)') : '--'
|
|
472
439
|
})]
|
|
473
440
|
}), renderManualScoreEditButton()]
|
|
474
441
|
});
|
|
@@ -484,36 +451,28 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
484
451
|
bold: true,
|
|
485
452
|
role: "danger",
|
|
486
453
|
size: "small",
|
|
487
|
-
children:
|
|
488
|
-
id: 'materialAssignment.status.deadlineExpired'
|
|
489
|
-
})
|
|
454
|
+
children: "\uC81C\uCD9C \uAE30\uD55C \uB9CC\uB8CC"
|
|
490
455
|
});
|
|
491
456
|
case isScoreFinalized:
|
|
492
457
|
return jsx(Text, {
|
|
493
458
|
bold: true,
|
|
494
459
|
role: "lightpurple",
|
|
495
460
|
size: "small",
|
|
496
|
-
children:
|
|
497
|
-
id: 'materialAssignment.status.graded'
|
|
498
|
-
})
|
|
461
|
+
children: "\uCC44\uC810 \uC644\uB8CC"
|
|
499
462
|
});
|
|
500
463
|
case isUserSubmitted:
|
|
501
464
|
return jsx(Text, {
|
|
502
465
|
bold: true,
|
|
503
466
|
role: "success",
|
|
504
467
|
size: "small",
|
|
505
|
-
children:
|
|
506
|
-
id: 'materialAssignment.status.submitted'
|
|
507
|
-
})
|
|
468
|
+
children: "\uC81C\uCD9C\uB428"
|
|
508
469
|
});
|
|
509
470
|
case !isUserSubmitted:
|
|
510
471
|
return jsx(Text, {
|
|
511
472
|
bold: true,
|
|
512
473
|
role: "warning",
|
|
513
474
|
size: "small",
|
|
514
|
-
children:
|
|
515
|
-
id: 'materialAssignment.status.noSubmitted'
|
|
516
|
-
})
|
|
475
|
+
children: "\uBBF8\uC81C\uCD9C"
|
|
517
476
|
});
|
|
518
477
|
}
|
|
519
478
|
}();
|
|
@@ -557,17 +516,13 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
557
516
|
children: jsxs("tbody", {
|
|
558
517
|
children: [jsxs("tr", {
|
|
559
518
|
children: [jsx("td", {
|
|
560
|
-
children:
|
|
561
|
-
id: 'materialAssignment.table.column.status'
|
|
562
|
-
})
|
|
519
|
+
children: "\uC0C1\uD0DC"
|
|
563
520
|
}), jsx("td", {
|
|
564
521
|
children: statusText
|
|
565
522
|
})]
|
|
566
523
|
}), jsxs("tr", {
|
|
567
524
|
children: [jsx("td", {
|
|
568
|
-
children:
|
|
569
|
-
id: 'materialAssignment.table.column.deadlineDatetime'
|
|
570
|
-
})
|
|
525
|
+
children: "\uACFC\uC81C \uC81C\uCD9C \uAE30\uD55C"
|
|
571
526
|
}), jsx("td", {
|
|
572
527
|
children: jsx(FormattedDate, {
|
|
573
528
|
value: materialAssignment === null || materialAssignment === void 0 ? void 0 : materialAssignment.closeDatetime,
|
|
@@ -577,9 +532,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
577
532
|
})]
|
|
578
533
|
}), jsxs("tr", {
|
|
579
534
|
children: [jsx("td", {
|
|
580
|
-
children:
|
|
581
|
-
id: 'materialAssignment.table.column.lastSubmitDatetime'
|
|
582
|
-
})
|
|
535
|
+
children: "\uC81C\uCD9C \uC77C\uC2DC"
|
|
583
536
|
}), jsx("td", {
|
|
584
537
|
children: userSubmission ? jsx(FormattedDate, {
|
|
585
538
|
value: userSubmission.createdDatetime,
|
|
@@ -589,9 +542,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
589
542
|
})]
|
|
590
543
|
}), jsxs("tr", {
|
|
591
544
|
children: [jsx("td", {
|
|
592
|
-
children:
|
|
593
|
-
id: 'materialAssignment.table.column.uploadedAssignments'
|
|
594
|
-
})
|
|
545
|
+
children: "\uC5C5\uB85C\uB4DC\uB41C \uACFC\uC81C"
|
|
595
546
|
}), jsx("td", {
|
|
596
547
|
children: submissionAttachment
|
|
597
548
|
})]
|
|
@@ -614,23 +565,17 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
614
565
|
bold: true,
|
|
615
566
|
role: "white",
|
|
616
567
|
lineHeight: 1.375,
|
|
617
|
-
children:
|
|
618
|
-
id: 'materialAssignment.grade-list'
|
|
619
|
-
})
|
|
568
|
+
children: "\uCC44\uC810 \uD604\uD669"
|
|
620
569
|
}), jsx(Text, {
|
|
621
570
|
block: true,
|
|
622
571
|
size: "tiny",
|
|
623
572
|
role: "navy3",
|
|
624
573
|
lineHeight: 1.6,
|
|
625
|
-
children:
|
|
626
|
-
id: 'materialAssignment.grade-list.description'
|
|
627
|
-
})
|
|
574
|
+
children: "\uCC44\uC810\uC644\uB8CC\uD55C \uCC44\uC810\uC790\uC758 \uC810\uC218\uC640 \uD53C\uB4DC\uBC31\uC744 \uBCFC \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
|
628
575
|
})]
|
|
629
576
|
}), jsx(Tooltip, {
|
|
630
577
|
placement: "top",
|
|
631
|
-
title:
|
|
632
|
-
id: isUserSubmitted ? 'materialAssignment.grade-list.tooltip.submitted' : 'materialAssignment.grade-list.tooltip.not-submitted'
|
|
633
|
-
}),
|
|
578
|
+
title: isUserSubmitted ? '제출 기한이 지난 이후 채점할 수 있습니다.' : '미제출인 경우 채점할 수 없습니다.',
|
|
634
579
|
visible: !isAssignmentClosed || !isUserSubmitted ? undefined : false,
|
|
635
580
|
children: jsx("span", {
|
|
636
581
|
children: jsx(Button, {
|
|
@@ -638,9 +583,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
638
583
|
role: "lightpurple",
|
|
639
584
|
disabled: !isAssignmentClosed || !isUserSubmitted,
|
|
640
585
|
onClick: handleGradeEditClick,
|
|
641
|
-
children:
|
|
642
|
-
id: Boolean(myGrade) ? 'materialAssignment.edit-grading' : 'materialAssignment.start-grading'
|
|
643
|
-
})
|
|
586
|
+
children: Boolean(myGrade) ? '내 채점 수정' : '내 채점 시작'
|
|
644
587
|
})
|
|
645
588
|
})
|
|
646
589
|
})]
|
|
@@ -648,23 +591,15 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
648
591
|
height: 0.75
|
|
649
592
|
}), jsx(TableNext, {
|
|
650
593
|
dark: true,
|
|
651
|
-
emptyMessage:
|
|
652
|
-
id: 'materialAssignment.table.empty-smg'
|
|
653
|
-
}),
|
|
594
|
+
emptyMessage: "\uCC44\uC810 \uC644\uB8CC\uD55C \uCC44\uC810\uC790\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
654
595
|
columns: [{
|
|
655
|
-
Header:
|
|
656
|
-
id: 'materialAssignment.table-col.fullname'
|
|
657
|
-
}),
|
|
596
|
+
Header: '채점자명',
|
|
658
597
|
accessor: 'fullname'
|
|
659
598
|
}, {
|
|
660
|
-
Header:
|
|
661
|
-
id: 'materialAssignment.table.column.assignmentScore'
|
|
662
|
-
}),
|
|
599
|
+
Header: '과제 점수',
|
|
663
600
|
accessor: 'grade'
|
|
664
601
|
}, {
|
|
665
|
-
Header:
|
|
666
|
-
id: 'materialAssignment.table-col.grade-datetime'
|
|
667
|
-
}),
|
|
602
|
+
Header: '채점 일시',
|
|
668
603
|
accessor: 'created',
|
|
669
604
|
textAlign: 'left'
|
|
670
605
|
}],
|
|
@@ -675,9 +610,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
675
610
|
noWrap: true,
|
|
676
611
|
role: "navy0",
|
|
677
612
|
size: "small",
|
|
678
|
-
children: "".concat(grade.gradeUser.fullname).concat(grade.gradeUser.id === adminUserId ?
|
|
679
|
-
id: 'materialAssignment.me'
|
|
680
|
-
}) : '')
|
|
613
|
+
children: "".concat(grade.gradeUser.fullname).concat(grade.gradeUser.id === adminUserId ? '(나)' : '')
|
|
681
614
|
}), jsx(Hspace, {
|
|
682
615
|
width: 0.25
|
|
683
616
|
}), jsx(Text, {
|
|
@@ -741,22 +674,16 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
741
674
|
return null;
|
|
742
675
|
}
|
|
743
676
|
return jsxs(Modal, {
|
|
744
|
-
title:
|
|
745
|
-
id: Boolean(myGrade) ? 'materialAssignment.edit-grading' : 'materialAssignment.grading-assignments'
|
|
746
|
-
}),
|
|
677
|
+
title: Boolean(myGrade) ? '내 채점 수정' : '과제 채점',
|
|
747
678
|
footerButtons: [{
|
|
748
|
-
label:
|
|
749
|
-
id: 'materialAssignment.modal.button.confirm'
|
|
750
|
-
}),
|
|
679
|
+
label: '확인',
|
|
751
680
|
size: 'small',
|
|
752
681
|
role: 'primary',
|
|
753
682
|
loading: gradeEditFormMethods.formState.isSubmitting,
|
|
754
683
|
disabled: gradeEditFormMethods.formState.isSubmitting || !gradeEditFormMethods.formState.isValid,
|
|
755
684
|
onClick: handleGradeEditSubmit
|
|
756
685
|
}, {
|
|
757
|
-
label:
|
|
758
|
-
id: 'materialAssignment.modal.button.cancel'
|
|
759
|
-
}),
|
|
686
|
+
label: '취소',
|
|
760
687
|
size: 'small',
|
|
761
688
|
role: 'gray1',
|
|
762
689
|
onClick: function onClick() {
|
|
@@ -770,9 +697,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
770
697
|
bold: true,
|
|
771
698
|
block: true,
|
|
772
699
|
required: true,
|
|
773
|
-
children:
|
|
774
|
-
id: 'materialAssignment.score'
|
|
775
|
-
})
|
|
700
|
+
children: "\uC810\uC218"
|
|
776
701
|
}), jsx(Vspace, {
|
|
777
702
|
height: 0.5
|
|
778
703
|
}), jsxs(Flex, {
|
|
@@ -801,26 +726,18 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
801
726
|
bold: true,
|
|
802
727
|
role: "gray9",
|
|
803
728
|
size: "small",
|
|
804
|
-
children:
|
|
805
|
-
id: 'materialAssignment.dot'
|
|
806
|
-
})
|
|
729
|
+
children: "\uC810"
|
|
807
730
|
}), jsx(Text, {
|
|
808
731
|
role: "gray6",
|
|
809
732
|
size: "small",
|
|
810
|
-
children:
|
|
811
|
-
id: 'materialAssignment.table.column.totalPoint'
|
|
812
|
-
}, {
|
|
813
|
-
point: 100
|
|
814
|
-
})
|
|
733
|
+
children: ' / 100점 만점'
|
|
815
734
|
})]
|
|
816
735
|
}), jsx(Vspace, {
|
|
817
736
|
height: 1.25
|
|
818
737
|
}), jsx(Label, {
|
|
819
738
|
bold: true,
|
|
820
739
|
block: true,
|
|
821
|
-
children:
|
|
822
|
-
id: 'materialAssignment.table.header.feedback'
|
|
823
|
-
})
|
|
740
|
+
children: "\uD53C\uB4DC\uBC31"
|
|
824
741
|
}), jsx(Vspace, {
|
|
825
742
|
height: 0.5
|
|
826
743
|
}), jsx(Controller, {
|
|
@@ -846,13 +763,9 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
846
763
|
return null;
|
|
847
764
|
}
|
|
848
765
|
return jsxs(Modal, {
|
|
849
|
-
title:
|
|
850
|
-
id: 'materialAssignment.modal.grade-result.title'
|
|
851
|
-
}),
|
|
766
|
+
title: "\uCC44\uC810 \uACB0\uACFC \uD655\uC778",
|
|
852
767
|
footerButtons: [{
|
|
853
|
-
label:
|
|
854
|
-
id: 'materialAssignment.modal.button.confirm'
|
|
855
|
-
}),
|
|
768
|
+
label: '확인',
|
|
856
769
|
size: 'small',
|
|
857
770
|
role: 'primary',
|
|
858
771
|
onClick: function onClick() {
|
|
@@ -866,9 +779,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
866
779
|
bold: true,
|
|
867
780
|
block: true,
|
|
868
781
|
required: true,
|
|
869
|
-
children:
|
|
870
|
-
id: 'materialAssignment.score'
|
|
871
|
-
})
|
|
782
|
+
children: "\uC810\uC218"
|
|
872
783
|
}), jsx(Vspace, {
|
|
873
784
|
height: 0.5
|
|
874
785
|
}), jsxs(Flex, {
|
|
@@ -885,26 +796,18 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
885
796
|
bold: true,
|
|
886
797
|
role: "gray9",
|
|
887
798
|
size: "small",
|
|
888
|
-
children:
|
|
889
|
-
id: 'materialAssignment.dot'
|
|
890
|
-
})
|
|
799
|
+
children: "\uC810"
|
|
891
800
|
}), jsx(Text, {
|
|
892
801
|
role: "gray6",
|
|
893
802
|
size: "small",
|
|
894
|
-
children:
|
|
895
|
-
id: 'materialAssignment.table.column.totalPoint'
|
|
896
|
-
}, {
|
|
897
|
-
point: 100
|
|
898
|
-
})
|
|
803
|
+
children: ' / 100점 만점'
|
|
899
804
|
})]
|
|
900
805
|
}), jsx(Vspace, {
|
|
901
806
|
height: 1.25
|
|
902
807
|
}), jsx(Label, {
|
|
903
808
|
bold: true,
|
|
904
809
|
block: true,
|
|
905
|
-
children:
|
|
906
|
-
id: 'materialAssignment.table.header.feedback'
|
|
907
|
-
})
|
|
810
|
+
children: "\uD53C\uB4DC\uBC31"
|
|
908
811
|
}), jsx(Vspace, {
|
|
909
812
|
height: 0.5
|
|
910
813
|
}), jsx(StyledMaterialAssignmentAdminTextareaWrapper, {
|
|
@@ -922,23 +825,17 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
922
825
|
return null;
|
|
923
826
|
}
|
|
924
827
|
return jsxs(Modal, {
|
|
925
|
-
title:
|
|
926
|
-
id: 'materialAssignment.modal.delete-grading'
|
|
927
|
-
}),
|
|
828
|
+
title: "\uCC44\uC810 \uC0AD\uC81C",
|
|
928
829
|
width: "narrow",
|
|
929
830
|
footerButtons: [{
|
|
930
|
-
label:
|
|
931
|
-
id: 'materialAssignment.modal.button.confirm'
|
|
932
|
-
}),
|
|
831
|
+
label: '확인',
|
|
933
832
|
size: 'small',
|
|
934
833
|
role: 'primary',
|
|
935
834
|
loading: gradeDeleteStatus === 'pending',
|
|
936
835
|
disabled: gradeDeleteStatus === 'pending',
|
|
937
836
|
onClick: handleGradeDeleteSubmit
|
|
938
837
|
}, {
|
|
939
|
-
label:
|
|
940
|
-
id: 'materialAssignment.modal.button.cancel'
|
|
941
|
-
}),
|
|
838
|
+
label: '취소',
|
|
942
839
|
size: 'small',
|
|
943
840
|
role: 'gray1',
|
|
944
841
|
onClick: function onClick() {
|
|
@@ -950,21 +847,15 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
950
847
|
},
|
|
951
848
|
children: [jsx(Text, {
|
|
952
849
|
role: "gray9",
|
|
953
|
-
children:
|
|
954
|
-
id: 'materialAssignment.modal.delete-grading.description'
|
|
955
|
-
})
|
|
850
|
+
children: "\uC0AD\uC81C\uB41C \uC810\uC218\uC640 \uD53C\uB4DC\uBC31\uC740 \uB2E4\uC2DC \uBCF5\uAD6C\uB420 \uC218 \uC5C6\uC73C\uBA70 \uD559\uC0DD\uC758 \uD3C9\uADE0 \uC810\uC218\uAC00 \uBCC0\uACBD\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4."
|
|
956
851
|
}), jsx(Vspace, {
|
|
957
852
|
height: 0.75
|
|
958
853
|
}), jsx(TableNext, {
|
|
959
854
|
columns: [{
|
|
960
|
-
Header:
|
|
961
|
-
id: 'materialAssignment.table-col.fullname'
|
|
962
|
-
}),
|
|
855
|
+
Header: '채점자명',
|
|
963
856
|
accessor: 'fullname'
|
|
964
857
|
}, {
|
|
965
|
-
Header:
|
|
966
|
-
id: 'materialAssignment.final-score'
|
|
967
|
-
}),
|
|
858
|
+
Header: '최종 점수',
|
|
968
859
|
accessor: 'score'
|
|
969
860
|
}],
|
|
970
861
|
data: [{
|
|
@@ -994,23 +885,17 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
994
885
|
return null;
|
|
995
886
|
}
|
|
996
887
|
return jsxs(Modal, {
|
|
997
|
-
title:
|
|
998
|
-
id: 'materialAssignment.modal.edit-grading'
|
|
999
|
-
}),
|
|
888
|
+
title: "\uC810\uC218 \uC870\uC815",
|
|
1000
889
|
width: "narrow",
|
|
1001
890
|
footerButtons: [{
|
|
1002
|
-
label:
|
|
1003
|
-
id: 'materialAssignment.modal.button.confirm'
|
|
1004
|
-
}),
|
|
891
|
+
label: '확인',
|
|
1005
892
|
size: 'small',
|
|
1006
893
|
role: 'primary',
|
|
1007
894
|
loading: manualScoreEditFormMethods.formState.isSubmitting,
|
|
1008
895
|
disabled: manualScoreEditFormMethods.formState.isSubmitting || !manualScoreEditFormMethods.formState.isValid,
|
|
1009
896
|
onClick: handleManualScoreEditSubmit
|
|
1010
897
|
}, {
|
|
1011
|
-
label:
|
|
1012
|
-
id: 'materialAssignment.modal.button.cancel'
|
|
1013
|
-
}),
|
|
898
|
+
label: '취소',
|
|
1014
899
|
size: 'small',
|
|
1015
900
|
role: 'gray1',
|
|
1016
901
|
onClick: function onClick() {
|
|
@@ -1022,9 +907,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
1022
907
|
},
|
|
1023
908
|
children: [jsx(Alert, {
|
|
1024
909
|
role: "warning",
|
|
1025
|
-
children:
|
|
1026
|
-
id: 'materialAssignment.modal.edit-grading.alert'
|
|
1027
|
-
})
|
|
910
|
+
children: "\uC810\uC218 \uC870\uC815 \uC774\uD6C4 \uB2E4\uC2DC \uD3C9\uADE0\uAC12\uC73C\uB85C \uB418\uB3CC\uB9B4 \uC218 \uC5C6\uC73C\uB2C8 \uC720\uC758\uD574 \uC8FC\uC138\uC694."
|
|
1028
911
|
}), jsx(Vspace, {
|
|
1029
912
|
height: 1
|
|
1030
913
|
}), jsxs(Flex, {
|
|
@@ -1034,9 +917,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
1034
917
|
size: "small",
|
|
1035
918
|
width: "xsmall",
|
|
1036
919
|
type: "number",
|
|
1037
|
-
label:
|
|
1038
|
-
id: 'materialAssignment.previous-score'
|
|
1039
|
-
}),
|
|
920
|
+
label: "\uC774\uC804 \uC810\uC218",
|
|
1040
921
|
value: (_b = (_a = gradeResult === null || gradeResult === void 0 ? void 0 : gradeResult.manualScore) !== null && _a !== void 0 ? _a : gradeResult === null || gradeResult === void 0 ? void 0 : gradeResult.avgCalcScore) !== null && _b !== void 0 ? _b : 0
|
|
1041
922
|
}), jsx(Hspace, {
|
|
1042
923
|
width: 1
|
|
@@ -1060,9 +941,7 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
1060
941
|
size: "small",
|
|
1061
942
|
width: "xsmall",
|
|
1062
943
|
type: "number",
|
|
1063
|
-
label:
|
|
1064
|
-
id: 'materialAssignment.adjusted-score'
|
|
1065
|
-
})
|
|
944
|
+
label: "\uC870\uC815 \uC810\uC218"
|
|
1066
945
|
}));
|
|
1067
946
|
}
|
|
1068
947
|
}), jsx(Hspace, {
|
|
@@ -1071,17 +950,11 @@ var MaterialAssignmentAdminContent = forwardRef(function (_ref, ref) {
|
|
|
1071
950
|
bold: true,
|
|
1072
951
|
role: "gray9",
|
|
1073
952
|
size: "small",
|
|
1074
|
-
children:
|
|
1075
|
-
id: 'materialAssignment.dot'
|
|
1076
|
-
})
|
|
953
|
+
children: "\uC810"
|
|
1077
954
|
}), jsx(Text, {
|
|
1078
955
|
role: "gray6",
|
|
1079
956
|
size: "small",
|
|
1080
|
-
children:
|
|
1081
|
-
id: 'materialAssignment.table.column.totalPoint'
|
|
1082
|
-
}, {
|
|
1083
|
-
point: 100
|
|
1084
|
-
})
|
|
957
|
+
children: ' / 100점 만점'
|
|
1085
958
|
})]
|
|
1086
959
|
})]
|
|
1087
960
|
});
|