@elice/material-runbox 1.250310.0 → 1.250311.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.
Files changed (43) hide show
  1. package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +0 -4
  2. package/cjs/components/material-runbox/MaterialRunboxContent.js +4 -14
  3. package/cjs/components/material-runbox/MaterialRunboxHeader.js +1 -5
  4. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +1 -1
  5. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +1 -10
  6. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -1
  7. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +1 -3
  8. package/cjs/components/material-runbox/hooks/useRunboxControl.d.ts +1 -1
  9. package/cjs/components/material-runbox/hooks/useRunboxControl.js +2 -5
  10. package/cjs/components/material-runbox/locales/en.json.js +1 -1
  11. package/cjs/components/material-runbox/locales/ja.json.js +1 -1
  12. package/cjs/components/material-runbox/locales/ko.json.js +1 -1
  13. package/cjs/components/material-runbox/locales/th.json.js +1 -1
  14. package/cjs/components/material-runbox/runtime/Runtime.d.ts +0 -4
  15. package/cjs/components/material-runbox/runtime/Runtime.js +1 -1
  16. package/es/components/material-runbox/MaterialRunboxContent.d.ts +0 -4
  17. package/es/components/material-runbox/MaterialRunboxContent.js +4 -14
  18. package/es/components/material-runbox/MaterialRunboxHeader.js +1 -5
  19. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +1 -1
  20. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +1 -10
  21. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -1
  22. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +1 -3
  23. package/es/components/material-runbox/hooks/useRunboxControl.d.ts +1 -1
  24. package/es/components/material-runbox/hooks/useRunboxControl.js +2 -5
  25. package/es/components/material-runbox/locales/en.json.js +1 -1
  26. package/es/components/material-runbox/locales/ja.json.js +1 -1
  27. package/es/components/material-runbox/locales/ko.json.js +1 -1
  28. package/es/components/material-runbox/locales/th.json.js +1 -1
  29. package/es/components/material-runbox/runtime/Runtime.d.ts +0 -4
  30. package/es/components/material-runbox/runtime/Runtime.js +1 -1
  31. package/package.json +4 -5
  32. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.d.ts +0 -7
  33. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +0 -67
  34. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.d.ts +0 -9
  35. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +0 -192
  36. package/cjs/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.d.ts +0 -13
  37. package/cjs/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.js +0 -59
  38. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.d.ts +0 -7
  39. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +0 -59
  40. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.d.ts +0 -9
  41. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +0 -183
  42. package/es/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.d.ts +0 -13
  43. package/es/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.js +0 -57
@@ -1,3 +1,3 @@
1
- var messageKo = {"runbox.action.autoShutdown.title":"항상 켜두기","runbox.action.autoShutdown.tooltip.disabled":"해당 런타임은 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.autoShutdown.tooltip.enabled":"항상 켜두기를 설정하면 학습 {_termLibraryLecturePage} 밖으로 나가도 런타임이 종료되지 않습니다. 다만, 해당 런타임의 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.grade.dialog.description.error":"채점 중에 오류가 발생했습니다.","runbox.action.grade.dialog.description.success":"채점이 완료되었습니다.","runbox.action.grade.dialog.title":"채점 결과","runbox.action.grade.noti.error":"코드를 채점하는 도중 오류가 발생했습니다.","runbox.action.grade.title":"제출","runbox.action.grade.tooltip.onProgress":"코드 채점이 진행 중 입니다. 잠시만 기다려 주세요. 실습에 따라 채점이 최대 3분까지 소요될 수 있습니다.","runbox.action.reset.dialog.actions.confirm":"초기화","runbox.action.reset.dialog.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 학습{_termLibraryLecturePage}의 코드가 기본 코드로 덮어씌워집니다.\n초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.noti.error":"런박스 코드를 초기화 하는 중에 오류가 발생했습니다.","runbox.action.reset.title":"코드 초기화","runbox.action.restart.dialog.actions.confirm":"재시작","runbox.action.restart.dialog.description":"런박스를 재시작 하시겠습니까?","runbox.action.restart.title":"런박스 재시작","runbox.action.share.snackbar.copied.fail":"런박스 URL을 복사에 실패했습니다. 다시 시도해주세요.","runbox.action.share.snackbar.copied.success":"런박스 URL을 복사하였습니다.","runbox.action.share.title":"런박스 URL 복사","runbox.action.submitCountInfo.dialog.description":"제출 횟수 제한을 초과했습니다.","runbox.action.submitCountInfo.dialog.title":"제출 횟수 제한","runbox.action.submitCountInfo.tooltip.disabled":"제출 횟수를 모두 사용했습니다.","runbox.action.submitLog.dialog.download.tooltip":"제출 파일 다운로드","runbox.action.submitLog.dialog.title":"제출 이력","runbox.action.submitLog.empty":"제출 이력이 존재하지 않습니다.","runbox.action.submitLog.title":"런박스 제출 이력","runbox.common.close":"닫기","runbox.common.retry":"재시도","runbox.common.score":"{score}점","runbox.common.support":"고객센터","runbox.context.command.ping.error":"런박스 작업을 수행하는 도중 오류가 발생했습니다.","runbox.header.submitInfo":"{isIndividual, select, true {} other {팀}} 제출 횟수 | {isDailyLimitEnabled, select, true {오늘} other {}} {remainCount}/{totalCount}회 남음","runbox.runtime.message.lxp_plan_required":"현재 기관에서는 런박스 수업 자료를 학습할 수 없습니다.\n자세한 사항은 기관 관리자에게 문의하세요.","runbox.runtime.message.runbox_unavailable":"런박스 사용 불가","runbox.runtime.message.startError":"런박스를 시작하는 중에 오류가 발생했습니다.","runbox.runtime.overlay.assigned.description":"(3 / 3)\n런박스가 실행 중입니다.\n잠시만 기다려주세요!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\n런박스를 실행하는데\n예상보다 시간이 소요되고 있습니다.\n새로고침하지 말고 조금만 더 기다려주세요!","runbox.runtime.overlay.queued.description":"(2 / 3)\n현재 {waiters}번째 대기 중입니다...","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\n 런박스가 실행됩니다","runbox.runtime.overlay.terminated.description.default":"예상치 못한 문제로 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.general":"런박스에 연결된 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"디스크가 가득 차서 런타임이 종료되었습니다.\n최근 런박스를 삭제하셨다면 반영까지 시간이 소요될 수 있습니다.","runbox.runtime.overlay.terminated.description.quota_exceeded":"런타임 사용시간이 만료되어 런타임이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"런박스를 실행한지 24시간이 경과하여 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.unexpected":"문제가 지속되면 고객센터에 문의해주세요.","runbox.runtime.overlay.terminated.restart":"재접속","runbox.runtime.overlay.terminated.title":"런타임 연결 해제됨"};
1
+ var messageKo = {"runbox.action.autoShutdown.title":"항상 켜두기","runbox.action.autoShutdown.tooltip.disabled":"해당 런타임은 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.autoShutdown.tooltip.enabled":"항상 켜두기를 설정하면 학습 {_termLibraryLecturePage} 밖으로 나가도 런타임이 종료되지 않습니다. 다만, 해당 런타임의 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.grade.dialog.description.error":"채점 중에 오류가 발생했습니다.","runbox.action.grade.dialog.description.success":"채점이 완료되었습니다.","runbox.action.grade.dialog.title":"채점 결과","runbox.action.grade.noti.error":"코드를 채점하는 도중 오류가 발생했습니다.","runbox.action.grade.title":"제출","runbox.action.grade.tooltip.onProgress":"코드 채점이 진행 중 입니다. 잠시만 기다려 주세요. 실습에 따라 채점이 최대 3분까지 소요될 수 있습니다.","runbox.action.reset.dialog.actions.confirm":"초기화","runbox.action.reset.dialog.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 학습{_termLibraryLecturePage}의 코드가 기본 코드로 덮어씌워집니다.\n초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.noti.error":"런박스 코드를 초기화 하는 중에 오류가 발생했습니다.","runbox.action.reset.title":"코드 초기화","runbox.action.restart.dialog.actions.confirm":"재시작","runbox.action.restart.dialog.description":"런박스를 재시작 하시겠습니까?","runbox.action.restart.title":"런박스 재시작","runbox.action.share.snackbar.copied.fail":"런박스 URL을 복사에 실패했습니다. 다시 시도해주세요.","runbox.action.share.snackbar.copied.success":"런박스 URL을 복사하였습니다.","runbox.action.share.title":"런박스 URL 복사","runbox.action.submitCountInfo.dialog.description":"제출 횟수 제한을 초과했습니다.","runbox.action.submitCountInfo.dialog.title":"제출 횟수 제한","runbox.action.submitCountInfo.tooltip.disabled":"제출 횟수를 모두 사용했습니다.","runbox.common.close":"닫기","runbox.common.retry":"재시도","runbox.common.support":"고객센터","runbox.context.command.ping.error":"런박스 작업을 수행하는 도중 오류가 발생했습니다.","runbox.header.submitInfo":"{isIndividual, select, true {} other {팀}} 제출 횟수 | {isDailyLimitEnabled, select, true {오늘} other {}} {remainCount}/{totalCount}회 남음","runbox.runtime.message.lxp_plan_required":"현재 기관에서는 런박스 수업 자료를 학습할 수 없습니다.\n자세한 사항은 기관 관리자에게 문의하세요.","runbox.runtime.message.runbox_unavailable":"런박스 사용 불가","runbox.runtime.message.startError":"런박스를 시작하는 중에 오류가 발생했습니다.","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\n런박스를 실행하는데\n예상보다 시간이 소요되고 있습니다.\n새로고침하지 말고 조금만 더 기다려주세요!","runbox.runtime.overlay.assigned.description":"(3 / 3)\n런박스가 실행 중입니다.\n잠시만 기다려주세요!","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\n 런박스가 실행됩니다","runbox.runtime.overlay.queued.description":"(2 / 3)\n현재 {waiters}번째 대기 중입니다...","runbox.runtime.overlay.terminated.description.default":"예상치 못한 문제로 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.general":"런박스에 연결된 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"디스크가 가득 차서 런타임이 종료되었습니다.\n최근 런박스를 삭제하셨다면 반영까지 시간이 소요될 수 있습니다.","runbox.runtime.overlay.terminated.description.quota_exceeded":"런타임 사용시간이 만료되어 런타임이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"런박스를 실행한지 24시간이 경과하여 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.unexpected":"문제가 지속되면 고객센터에 문의해주세요.","runbox.runtime.overlay.terminated.restart":"재접속","runbox.runtime.overlay.terminated.title":"런타임 연결 해제됨"};
2
2
 
3
3
  export { messageKo as default };
@@ -1,3 +1,3 @@
1
- var th = {"runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip.disabled":"Runbox นี้จะปิดโดยอัตโนมัติหลังจากใช้งาน {time} นาทีต่อเซสชัน","runbox.action.autoShutdown.tooltip.enabled":"หากตั้งค่าให้เปิดตลอดเวลา Runbox จะไม่ปิดแม้ว่าคุณจะออกจากหน้าเรียน {_termLibraryLecturePage} แต่จะปิดโดยอัตโนมัติหลังจากใช้งาน {time} นาทีต่อเซสชัน","runbox.action.grade.dialog.description.error":"เกิดข้อผิดพลาดขึ้นในขณะที่ทำการตรวจคะแนนของโค้ด","runbox.action.grade.dialog.description.success":"การจัดเกรดเสร็จสมบูรณ์เรียบร้อยแล้ว","runbox.action.grade.dialog.title":"ผลการประเมินผลการเรียน","runbox.action.grade.noti.error":"เกิดข้อผิดพลาดขึ้นในขณะที่ทำการตรวจคะแนนของโค้ด","runbox.action.grade.title":"ส่ง","runbox.action.grade.tooltip.onProgress":"กำลังให้คะแนนโค้ด โปรดรอสักครู่ การให้คะแนนอาจใช้เวลาสูงสุด 3 นาที ขึ้นอยู่กับประเภทของการฝึกอบรม","runbox.action.reset.dialog.actions.confirm":"รีเซ็ต","runbox.action.reset.dialog.description":"ต้องการรีเซ็ตโค้ด Runbox หรือไม่? การรีเซ็ตจะแทนที่โค้ดของคุณด้วยโค้ดเริ่มต้นของหน้าเรียน {_termLibraryLecturePage} \nเซสชัน Runbox จะรีเฟรชหลังจากรีเซ็ต","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดระหว่างการรีเซ็ตโค้ด Runbox","runbox.action.reset.title":"รีเซ็ตโค้ด","runbox.action.restart.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.restart.dialog.description":"ต้องการเริ่มต้น Runbox ใหม่หรือไม่?","runbox.action.restart.title":"เริ่มต้น Runbox ใหม่","runbox.action.share.snackbar.copied.fail":"ล้มเหลวในการคัดลอก URL Runbox กรุณาลองอีกครั้ง","runbox.action.share.snackbar.copied.success":"คัดลอก URL Runbox สำเร็จ","runbox.action.share.title":"คัดลอก URL Runbox","runbox.action.submitCountInfo.dialog.description":"คุณใช้จำนวนครั้งในการส่งเกินขีดจำกัดแล้ว","runbox.action.submitCountInfo.dialog.title":"ข้อจำกัดจำนวนครั้งในการส่ง","runbox.action.submitCountInfo.tooltip.disabled":"คุณใช้จำนวนครั้งในการส่งทั้งหมดแล้ว","runbox.action.submitLog.dialog.download.tooltip":"ดาวน์โหลดไฟล์ที่ส่ง","runbox.action.submitLog.dialog.title":"ประวัติการส่ง","runbox.action.submitLog.empty":"ไม่มีประวัติการส่ง","runbox.action.submitLog.title":"ประวัติการส่ง Runbox","runbox.common.close":"ปิด","runbox.common.retry":"ลองใหม่","runbox.common.score":"{score} คะแนน","runbox.common.support":"สนับสนุน","runbox.context.command.ping.error":"เกิดข้อผิดพลาดขณะดำเนินการ Runbox","runbox.header.submitInfo":"{isIndividual, select, true {การส่งแบบส่วนตัว} other {การส่งแบบทีม}} | {remainCount}/{totalCount} ครั้งที่เหลือ | {isDailyLimitEnabled, select, true {วันนี้} other {}} ","runbox.runtime.message.lxp_plan_required":"ขณะนี้สถาบันของคุณไม่รองรับการใช้งานสื่อการเรียนการสอน Runbox\nโปรดติดต่อผู้ดูแลระบบของสถาบันของคุณสำหรับข้อมูลเพิ่มเติม","runbox.runtime.message.runbox_unavailable":"ไม่สามารถใช้ Runbox ได้","runbox.runtime.message.startError":"เกิดข้อผิดพลาดขณะเริ่ม Runbox","runbox.runtime.overlay.assigned.description":"(3 / 3)\nRunbox กำลังทำงานอยู่\nกรุณารอสักครู่!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\nRunbox ใช้เวลานานกว่าที่คาดไว้ในการทำงาน\nกรุณาอย่ารีเฟรชและรอสักครู่!","runbox.runtime.overlay.queued.description":"(2 / 3)\nกำลังรอคิวอยู่ที่ {waiters}...","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\nRunbox ของคุณจะเริ่มทำงานเร็วๆ นี้","runbox.runtime.overlay.terminated.description.default":"Runbox หยุดทำงานเนื่องจากปัญหาที่ไม่คาดคิด\nคลิกปุ่มด้านล่างเพื่อเชื่อมต่อ Runbox ใหม่","runbox.runtime.overlay.terminated.description.general":"Runbox ที่เชื่อมต่อกับคุณหยุดทำงาน\nคลิกปุ่มด้านล่างเพื่อเชื่อมต่อ Runbox ใหม่","runbox.runtime.overlay.terminated.description.os_disk_is_full":"Runbox หยุดทำงานเนื่องจากพื้นที่ดิสก์เต็ม\nหากคุณเพิ่งลบ Runbox อาจใช้เวลาสักครู่กว่าจะสะท้อนผล","runbox.runtime.overlay.terminated.description.quota_exceeded":"Runbox หยุดทำงานเนื่องจากใช้เวลาเกินขีดจำกัด","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runbox หยุดทำงานหลังจากใช้งานครบ 24 ชั่วโมง\nคลิกปุ่มด้านล่างเพื่อเชื่อมต่อ Runbox ใหม่","runbox.runtime.overlay.terminated.description.unexpected":"หากปัญหายังคงมีอยู่ โปรดติดต่อฝ่ายสนับสนุน","runbox.runtime.overlay.terminated.restart":"เชื่อมต่อใหม่","runbox.runtime.overlay.terminated.title":"การเชื่อมต่อ Runbox หยุดชะงัก"};
1
+ var th = {"runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip.disabled":"Runbox นี้จะปิดโดยอัตโนมัติหลังจากใช้งาน {time} นาทีต่อเซสชัน","runbox.action.autoShutdown.tooltip.enabled":"หากตั้งค่าให้เปิดตลอดเวลา Runbox จะไม่ปิดแม้ว่าคุณจะออกจากหน้าเรียน {_termLibraryLecturePage} แต่จะปิดโดยอัตโนมัติหลังจากใช้งาน {time} นาทีต่อเซสชัน","runbox.action.grade.dialog.description.error":"เกิดข้อผิดพลาดขึ้นในขณะที่ทำการตรวจคะแนนของโค้ด","runbox.action.grade.dialog.description.success":"การจัดเกรดเสร็จสมบูรณ์เรียบร้อยแล้ว","runbox.action.grade.dialog.title":"ผลการประเมินผลการเรียน","runbox.action.grade.noti.error":"เกิดข้อผิดพลาดขึ้นในขณะที่ทำการตรวจคะแนนของโค้ด","runbox.action.grade.title":"ส่ง","runbox.action.grade.tooltip.onProgress":"กำลังให้คะแนนโค้ด โปรดรอสักครู่ การให้คะแนนอาจใช้เวลาสูงสุด 3 นาที ขึ้นอยู่กับประเภทของการฝึกอบรม","runbox.action.reset.dialog.actions.confirm":"รีเซ็ต","runbox.action.reset.dialog.description":"ต้องการรีเซ็ตโค้ด Runbox หรือไม่? การรีเซ็ตจะแทนที่โค้ดของคุณด้วยโค้ดเริ่มต้นของหน้าเรียน {_termLibraryLecturePage} \nเซสชัน Runbox จะรีเฟรชหลังจากรีเซ็ต","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดระหว่างการรีเซ็ตโค้ด Runbox","runbox.action.reset.title":"รีเซ็ตโค้ด","runbox.action.restart.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.restart.dialog.description":"ต้องการเริ่มต้น Runbox ใหม่หรือไม่?","runbox.action.restart.title":"เริ่มต้น Runbox ใหม่","runbox.action.share.snackbar.copied.fail":"ล้มเหลวในการคัดลอก URL Runbox กรุณาลองอีกครั้ง","runbox.action.share.snackbar.copied.success":"คัดลอก URL Runbox สำเร็จ","runbox.action.share.title":"คัดลอก URL Runbox","runbox.action.submitCountInfo.dialog.description":"คุณใช้จำนวนครั้งในการส่งเกินขีดจำกัดแล้ว","runbox.action.submitCountInfo.dialog.title":"ข้อจำกัดจำนวนครั้งในการส่ง","runbox.action.submitCountInfo.tooltip.disabled":"คุณใช้จำนวนครั้งในการส่งทั้งหมดแล้ว","runbox.common.close":"ปิด","runbox.common.retry":"ลองใหม่","runbox.common.support":"สนับสนุน","runbox.context.command.ping.error":"เกิดข้อผิดพลาดขณะดำเนินการ Runbox","runbox.header.submitInfo":"{isIndividual, select, true {การส่งแบบส่วนตัว} other {การส่งแบบทีม}} | {remainCount}/{totalCount} ครั้งที่เหลือ | {isDailyLimitEnabled, select, true {วันนี้} other {}} ","runbox.runtime.message.lxp_plan_required":"ขณะนี้สถาบันของคุณไม่รองรับการใช้งานสื่อการเรียนการสอน Runbox\nโปรดติดต่อผู้ดูแลระบบของสถาบันของคุณสำหรับข้อมูลเพิ่มเติม","runbox.runtime.message.runbox_unavailable":"ไม่สามารถใช้ Runbox ได้","runbox.runtime.message.startError":"เกิดข้อผิดพลาดขณะเริ่ม Runbox","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\nRunbox ใช้เวลานานกว่าที่คาดไว้ในการทำงาน\nกรุณาอย่ารีเฟรชและรอสักครู่!","runbox.runtime.overlay.assigned.description":"(3 / 3)\nRunbox กำลังทำงานอยู่\nกรุณารอสักครู่!","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\nRunbox ของคุณจะเริ่มทำงานเร็วๆ นี้","runbox.runtime.overlay.queued.description":"(2 / 3)\nกำลังรอคิวอยู่ที่ {waiters}...","runbox.runtime.overlay.terminated.description.default":"Runbox หยุดทำงานเนื่องจากปัญหาที่ไม่คาดคิด\nคลิกปุ่มด้านล่างเพื่อเชื่อมต่อ Runbox ใหม่","runbox.runtime.overlay.terminated.description.general":"Runbox ที่เชื่อมต่อกับคุณหยุดทำงาน\nคลิกปุ่มด้านล่างเพื่อเชื่อมต่อ Runbox ใหม่","runbox.runtime.overlay.terminated.description.os_disk_is_full":"Runbox หยุดทำงานเนื่องจากพื้นที่ดิสก์เต็ม\nหากคุณเพิ่งลบ Runbox อาจใช้เวลาสักครู่กว่าจะสะท้อนผล","runbox.runtime.overlay.terminated.description.quota_exceeded":"Runbox หยุดทำงานเนื่องจากใช้เวลาเกินขีดจำกัด","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runbox หยุดทำงานหลังจากใช้งานครบ 24 ชั่วโมง\nคลิกปุ่มด้านล่างเพื่อเชื่อมต่อ Runbox ใหม่","runbox.runtime.overlay.terminated.description.unexpected":"หากปัญหายังคงมีอยู่ โปรดติดต่อฝ่ายสนับสนุน","runbox.runtime.overlay.terminated.restart":"เชื่อมต่อใหม่","runbox.runtime.overlay.terminated.title":"การเชื่อมต่อ Runbox หยุดชะงัก"};
2
2
 
3
3
  export { th as default };
@@ -11,10 +11,6 @@ export interface RuntimeProps {
11
11
  /** */
12
12
  courseId: number;
13
13
  /** */
14
- userId: number;
15
- /** */
16
- isTutoring?: boolean;
17
- /** */
18
14
  refetch: () => Promise<QueryObserverResult<[
19
15
  RunboxGetAndListResponse,
20
16
  RuntimeGetAndListResponse,
@@ -44,7 +44,7 @@ var Runtime = function Runtime(props) {
44
44
  // };
45
45
  },
46
46
  // eslint-disable-next-line react-hooks/exhaustive-deps
47
- [props.runbox.id, props.userId]);
47
+ [props.runbox.id]);
48
48
  //
49
49
  // refresh view when `ProjectFileReset` command done.
50
50
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-runbox",
3
- "version": "1.250310.0",
3
+ "version": "1.250311.0",
4
4
  "description": "User view and editing components of Elice material runbox",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -45,18 +45,17 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "classnames": "^2.2.0",
48
- "react-intersection-observer": "^9.16.0",
49
48
  "rxjs": "^7.5.6",
50
49
  "tslib": "^2.6.1"
51
50
  },
52
51
  "devDependencies": {
53
52
  "@elice/intl": "0.241127.0",
54
- "@elice/material-shared-types": "1.250310.0",
55
- "@elice/material-shared-utils": "1.250310.0",
53
+ "@elice/material-shared-types": "1.250311.0",
54
+ "@elice/material-shared-utils": "1.250311.0",
56
55
  "@elice/mui-elements": "^5.250108.0-controllabel.0",
57
56
  "@elice/mui-system": "^5.250108.0-controllabel.0",
58
57
  "@elice/mui-x-snackbar": "^5.250108.0-controllabel.0",
59
- "@elice/openapi-client-material-runbox": "1.250310.0",
58
+ "@elice/openapi-client-material-runbox": "1.241120.0",
60
59
  "@elice/runbox-client": "1.241127.0",
61
60
  "@elice/types": "1.241220.0",
62
61
  "@emotion/react": "^11.10.5",
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import type { RunboxRunboxIdGradeGetRequest } from '@elice/openapi-client-material-runbox';
3
- export type MaterialRunboxActionSubmitLogProps = Omit<RunboxRunboxIdGradeGetRequest, 'skip' | 'count'> & {
4
- handleMenuClose: () => void;
5
- };
6
- declare const MaterialRunboxActionSubmitLog: React.FC<MaterialRunboxActionSubmitLogProps>;
7
- export default MaterialRunboxActionSubmitLog;
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
- var jsxRuntime = require('react/jsx-runtime');
7
- var React = require('react');
8
- var intl = require('@elice/intl');
9
- var muiElements = require('@elice/mui-elements');
10
- var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
11
- var material = require('@mui/material');
12
- var MaterialRunboxActionSubmitLogDialog = require('./MaterialRunboxActionSubmitLogDialog.js');
13
-
14
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
15
-
16
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
-
18
- //
19
- //
20
- //
21
- var MaterialRunboxActionSubmitLog = function MaterialRunboxActionSubmitLog(props) {
22
- var intl$1 = intl.useRawEliceIntl();
23
- //
24
- var _React$useState = React__default.default.useState(false),
25
- _React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
26
- isOpen = _React$useState2[0],
27
- setIsOpen = _React$useState2[1];
28
- /**
29
- *
30
- */
31
- var renderMenuItem = function renderMenuItem() {
32
- return jsxRuntime.jsxs(material.MenuItem, {
33
- onClick: function onClick() {
34
- return setIsOpen(true);
35
- },
36
- children: [jsxRuntime.jsx(material.ListItemIcon, {
37
- children: jsxRuntime.jsx(muiElements.EliceIcon, {
38
- icon: proRegularSvgIcons.faTimeline
39
- })
40
- }), jsxRuntime.jsx(material.ListItemText, {
41
- children: intl$1.formatMessage({
42
- id: 'runbox.action.submitLog.title'
43
- })
44
- })]
45
- });
46
- };
47
- /**
48
- *
49
- */
50
- var renderSubmitLogDialog = function renderSubmitLogDialog() {
51
- return jsxRuntime.jsx(MaterialRunboxActionSubmitLogDialog.default, Object.assign({}, props, {
52
- isOpen: isOpen,
53
- onClose: function onClose() {
54
- setIsOpen(false);
55
- props.handleMenuClose();
56
- }
57
- }));
58
- };
59
- //
60
- //
61
- //
62
- return jsxRuntime.jsxs(jsxRuntime.Fragment, {
63
- children: [renderMenuItem(), renderSubmitLogDialog()]
64
- });
65
- };
66
-
67
- exports.default = MaterialRunboxActionSubmitLog;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { MaterialRunboxActionSubmitLogProps } from './MaterialRunboxActionSubmitLog';
3
- type MaterialRunboxActionSubmitLogDialogProps = MaterialRunboxActionSubmitLogProps & {
4
- userId: number;
5
- isOpen: boolean;
6
- onClose: () => void;
7
- };
8
- declare const MaterialRunboxActionSubmitLogDialog: React.FC<MaterialRunboxActionSubmitLogDialogProps>;
9
- export default MaterialRunboxActionSubmitLogDialog;
@@ -1,192 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
- var tslib = require('tslib');
7
- var jsxRuntime = require('react/jsx-runtime');
8
- var React = require('react');
9
- var reactIntersectionObserver = require('react-intersection-observer');
10
- var intl = require('@elice/intl');
11
- var muiElements = require('@elice/mui-elements');
12
- var react = require('@emotion/react');
13
- var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
14
- var material = require('@mui/material');
15
- var dayjs = require('dayjs');
16
- require('../contexts/MaterialRunboxApiContext.js');
17
- require('../contexts/MaterialRunboxCommandContext.js');
18
- var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
19
- var useInfiniteRunboxRunboxIdGrade = require('../hooks/useInfiniteRunboxRunboxIdGrade.js');
20
-
21
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
22
-
23
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
24
- var dayjs__default = /*#__PURE__*/_interopDefaultCompat(dayjs);
25
-
26
- //
27
- //
28
- //
29
- var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLogDialog(_a) {
30
- var isOpen = _a.isOpen,
31
- onClose = _a.onClose,
32
- props = tslib.__rest(_a, ["isOpen", "onClose"]);
33
- var intl$1 = intl.useRawEliceIntl();
34
- //
35
- var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
36
- locale = _useMaterialRunboxCon.locale;
37
- dayjs__default.default.locale(locale);
38
- //
39
- var theme = react.useTheme();
40
- var isMobileOrSmaller = material.useMediaQuery(theme.breakpoints.down('sm'));
41
- //
42
- var _useInfiniteRunboxRun = useInfiniteRunboxRunboxIdGrade.useInfiniteRunboxRunboxIdGrade(Object.assign(Object.assign({}, props), {
43
- enabled: Boolean(isOpen && props.runboxId && props.userId)
44
- })),
45
- grade = _useInfiniteRunboxRun.grade,
46
- fetchNextPage = _useInfiniteRunboxRun.fetchNextPage;
47
- var _useInView = reactIntersectionObserver.useInView(),
48
- inView = _useInView.inView,
49
- ref = _useInView.ref;
50
- //
51
- var _React$useState = React__default.default.useState(null),
52
- _React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
53
- selectedGrade = _React$useState2[0],
54
- setSelectedGrade = _React$useState2[1];
55
- /**
56
- *
57
- */
58
- var renderEmpty = function renderEmpty() {
59
- return jsxRuntime.jsx(material.Stack, {
60
- justifyContent: "center",
61
- alignItems: "center",
62
- children: jsxRuntime.jsx(material.Typography, {
63
- variant: "body1",
64
- children: intl$1.formatMessage({
65
- id: 'runbox.action.submitLog.empty'
66
- })
67
- })
68
- });
69
- };
70
- /**
71
- *
72
- */
73
- var renderGradeList = function renderGradeList() {
74
- return jsxRuntime.jsxs(material.List, {
75
- ref: ref,
76
- sx: {
77
- width: '100%',
78
- maxHeight: '100%',
79
- overflow: 'auto'
80
- },
81
- children: [grade === null || grade === void 0 ? void 0 : grade.map(function (item) {
82
- return jsxRuntime.jsxs(material.ListItemButton, {
83
- selected: (selectedGrade === null || selectedGrade === void 0 ? void 0 : selectedGrade.id) === item.id,
84
- onClick: function onClick() {
85
- return setSelectedGrade(item);
86
- },
87
- children: [jsxRuntime.jsx(material.ListItemText, {
88
- primary: dayjs__default.default(item.created).format(isMobileOrSmaller ? 'YYYY.MM.DD' : 'YYYY.MM.DD A HH:mm')
89
- }), jsxRuntime.jsx(material.ListItemSecondaryAction, {
90
- children: jsxRuntime.jsxs(material.Stack, {
91
- direction: "row",
92
- alignItems: "center",
93
- gap: "0.5rem",
94
- children: [(item === null || item === void 0 ? void 0 : item.score) ? jsxRuntime.jsx(muiElements.Tag, {
95
- variant: "muted",
96
- color: "info",
97
- label: intl$1.formatMessage({
98
- id: 'runbox.common.score'
99
- }, {
100
- score: item.score
101
- })
102
- }) : null, jsxRuntime.jsx(material.Tooltip, {
103
- title: intl$1.formatMessage({
104
- id: 'runbox.action.submitLog.dialog.download.tooltip'
105
- }),
106
- children: jsxRuntime.jsx(material.IconButton, {
107
- onClick: function onClick() {
108
- window.open(item.submissionFileUrl, '_blank');
109
- },
110
- children: jsxRuntime.jsx(muiElements.EliceIcon, {
111
- icon: proRegularSvgIcons.faArrowDownToLine
112
- })
113
- })
114
- })]
115
- })
116
- })]
117
- }, item.id);
118
- }), jsxRuntime.jsx("div", {
119
- ref: ref
120
- })]
121
- });
122
- };
123
- /**
124
- *
125
- */
126
- var renderCodebox = function renderCodebox() {
127
- return jsxRuntime.jsx(material.Box, {
128
- bgcolor: function bgcolor(theme) {
129
- return theme.palette.common.black;
130
- },
131
- borderRadius: "0.5rem",
132
- padding: "1rem",
133
- width: "100%",
134
- overflow: "auto",
135
- fontFamily: "Elice Digital Coding, monospace",
136
- fontSize: "0.875rem",
137
- whiteSpace: "pre-wrap",
138
- lineHeight: "1.375rem",
139
- children: selectedGrade === null || selectedGrade === void 0 ? void 0 : selectedGrade.output
140
- });
141
- };
142
- //
143
- //
144
- //
145
- React__default.default.useEffect(function () {
146
- if (inView) {
147
- fetchNextPage();
148
- }
149
- }, [inView, fetchNextPage]);
150
- //
151
- //
152
- //
153
- React__default.default.useEffect(function () {
154
- if ((grade === null || grade === void 0 ? void 0 : grade.length) && !selectedGrade) {
155
- setSelectedGrade(grade[0]);
156
- }
157
- }, [grade, selectedGrade]);
158
- //
159
- //
160
- //
161
- return jsxRuntime.jsxs(material.Dialog, {
162
- fullWidth: true,
163
- maxWidth: "lg",
164
- open: isOpen,
165
- onClose: onClose,
166
- children: [jsxRuntime.jsx(material.DialogTitle, {
167
- children: intl$1.formatMessage({
168
- id: 'runbox.action.submitLog.dialog.title'
169
- })
170
- }), jsxRuntime.jsx(material.DialogContent, {
171
- children: jsxRuntime.jsx(material.Stack, {
172
- direction: "row",
173
- gap: "0.5rem",
174
- overflow: "auto",
175
- maxHeight: "30rem",
176
- children: (grade === null || grade === void 0 ? void 0 : grade.length) ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
177
- children: [renderGradeList(), renderCodebox()]
178
- }) : renderEmpty()
179
- })
180
- }), jsxRuntime.jsx(material.DialogActions, {
181
- children: jsxRuntime.jsx(material.Button, {
182
- color: "inherit",
183
- onClick: onClose,
184
- children: intl$1.formatMessage({
185
- id: 'runbox.common.close'
186
- })
187
- })
188
- })]
189
- });
190
- };
191
-
192
- exports.default = MaterialRunboxActionSubmitLogDialog;
@@ -1,13 +0,0 @@
1
- import type { RunboxGradeGetResponse, RunboxRunboxIdGradeGetRequest } from '@elice/openapi-client-material-runbox';
2
- type UseInfiniteRunboxRunboxIdGradeProps = RunboxRunboxIdGradeGetRequest & {
3
- enabled: boolean;
4
- };
5
- type UseInfiniteRunboxRunboxIdGradeReturn = {
6
- grade: RunboxGradeGetResponse[] | undefined;
7
- isGradeLoading: boolean;
8
- isGradeError: boolean;
9
- refetchGrade: () => void;
10
- fetchNextPage: () => void;
11
- };
12
- export declare const useInfiniteRunboxRunboxIdGrade: (props: Omit<UseInfiniteRunboxRunboxIdGradeProps, 'skip' | 'count'>) => UseInfiniteRunboxRunboxIdGradeReturn;
13
- export {};
@@ -1,59 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var reactQuery = require('@tanstack/react-query');
5
- var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
6
- require('../contexts/MaterialRunboxCommandContext.js');
7
- require('../contexts/MaterialRunboxContext.js');
8
-
9
- //
10
- //
11
- //
12
- var DEFAULT_COUNT = 10;
13
- var DEFAULT_SKIP = 0;
14
- //
15
- //
16
- //
17
- var useInfiniteRunboxRunboxIdGrade = function useInfiniteRunboxRunboxIdGrade(props) {
18
- var _return = React.useRef({});
19
- var enabled = props.enabled;
20
- var materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
21
- //
22
- var _useInfiniteQuery = reactQuery.useInfiniteQuery({
23
- queryKey: ['runboxRunboxIdGrade', props],
24
- queryFn: function queryFn(_ref) {
25
- var _ref$pageParam = _ref.pageParam,
26
- pageParam = _ref$pageParam === void 0 ? DEFAULT_SKIP : _ref$pageParam;
27
- return materialRunboxApi.runbox.runboxRunboxIdGradeGet(Object.assign(Object.assign({}, props), {
28
- skip: pageParam,
29
- count: DEFAULT_COUNT
30
- }));
31
- },
32
- getNextPageParam: function getNextPageParam(lastPage, pages) {
33
- return lastPage.length === DEFAULT_COUNT ? pages.length * DEFAULT_COUNT : undefined;
34
- },
35
- enabled: enabled
36
- }),
37
- data = _useInfiniteQuery.data,
38
- isLoading = _useInfiniteQuery.isLoading,
39
- isFetchingNextPage = _useInfiniteQuery.isFetchingNextPage,
40
- hasNextPage = _useInfiniteQuery.hasNextPage,
41
- isError = _useInfiniteQuery.isError,
42
- fetchNextPage = _useInfiniteQuery.fetchNextPage,
43
- refetch = _useInfiniteQuery.refetch;
44
- //
45
- _return.current.grade = data === null || data === void 0 ? void 0 : data.pages.flatMap(function (page) {
46
- return page;
47
- });
48
- _return.current.isGradeLoading = isLoading || isFetchingNextPage;
49
- _return.current.isGradeError = isError;
50
- _return.current.refetchGrade = refetch;
51
- _return.current.fetchNextPage = React.useCallback(function () {
52
- if (hasNextPage && !isFetchingNextPage) {
53
- void fetchNextPage();
54
- }
55
- }, [fetchNextPage, hasNextPage, isFetchingNextPage]);
56
- return _return.current;
57
- };
58
-
59
- exports.useInfiniteRunboxRunboxIdGrade = useInfiniteRunboxRunboxIdGrade;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import type { RunboxRunboxIdGradeGetRequest } from '@elice/openapi-client-material-runbox';
3
- export type MaterialRunboxActionSubmitLogProps = Omit<RunboxRunboxIdGradeGetRequest, 'skip' | 'count'> & {
4
- handleMenuClose: () => void;
5
- };
6
- declare const MaterialRunboxActionSubmitLog: React.FC<MaterialRunboxActionSubmitLogProps>;
7
- export default MaterialRunboxActionSubmitLog;
@@ -1,59 +0,0 @@
1
- import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
- import React from 'react';
4
- import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
- import { faTimeline } from '@fortawesome/pro-regular-svg-icons';
7
- import { MenuItem, ListItemIcon, ListItemText } from '@mui/material';
8
- import MaterialRunboxActionSubmitLogDialog from './MaterialRunboxActionSubmitLogDialog.js';
9
-
10
- //
11
- //
12
- //
13
- var MaterialRunboxActionSubmitLog = function MaterialRunboxActionSubmitLog(props) {
14
- var intl = useRawEliceIntl();
15
- //
16
- var _React$useState = React.useState(false),
17
- _React$useState2 = _slicedToArray(_React$useState, 2),
18
- isOpen = _React$useState2[0],
19
- setIsOpen = _React$useState2[1];
20
- /**
21
- *
22
- */
23
- var renderMenuItem = function renderMenuItem() {
24
- return jsxs(MenuItem, {
25
- onClick: function onClick() {
26
- return setIsOpen(true);
27
- },
28
- children: [jsx(ListItemIcon, {
29
- children: jsx(EliceIcon, {
30
- icon: faTimeline
31
- })
32
- }), jsx(ListItemText, {
33
- children: intl.formatMessage({
34
- id: 'runbox.action.submitLog.title'
35
- })
36
- })]
37
- });
38
- };
39
- /**
40
- *
41
- */
42
- var renderSubmitLogDialog = function renderSubmitLogDialog() {
43
- return jsx(MaterialRunboxActionSubmitLogDialog, Object.assign({}, props, {
44
- isOpen: isOpen,
45
- onClose: function onClose() {
46
- setIsOpen(false);
47
- props.handleMenuClose();
48
- }
49
- }));
50
- };
51
- //
52
- //
53
- //
54
- return jsxs(Fragment, {
55
- children: [renderMenuItem(), renderSubmitLogDialog()]
56
- });
57
- };
58
-
59
- export { MaterialRunboxActionSubmitLog as default };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { MaterialRunboxActionSubmitLogProps } from './MaterialRunboxActionSubmitLog';
3
- type MaterialRunboxActionSubmitLogDialogProps = MaterialRunboxActionSubmitLogProps & {
4
- userId: number;
5
- isOpen: boolean;
6
- onClose: () => void;
7
- };
8
- declare const MaterialRunboxActionSubmitLogDialog: React.FC<MaterialRunboxActionSubmitLogDialogProps>;
9
- export default MaterialRunboxActionSubmitLogDialog;