@elice/material-runbox 1.240508.0-globalization.0 → 1.240514.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 (29) hide show
  1. package/cjs/components/material-runbox/MaterialRunbox.js +1 -5
  2. package/cjs/components/material-runbox/MaterialRunboxContent.js +1 -3
  3. package/cjs/components/material-runbox/MaterialRunboxHeader.js +1 -3
  4. package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +1 -3
  5. package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +1 -3
  6. package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +1 -3
  7. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +1 -3
  8. package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +1 -3
  9. package/cjs/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -3
  10. package/cjs/components/material-runbox/hooks/useRunboxControl.js +1 -3
  11. package/cjs/components/material-runbox/locales/th.json.js +1 -1
  12. package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +1 -3
  13. package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +1 -3
  14. package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +1 -3
  15. package/es/components/material-runbox/MaterialRunbox.js +1 -5
  16. package/es/components/material-runbox/MaterialRunboxContent.js +1 -3
  17. package/es/components/material-runbox/MaterialRunboxHeader.js +1 -3
  18. package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +1 -3
  19. package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +1 -3
  20. package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +1 -3
  21. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +1 -3
  22. package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +1 -3
  23. package/es/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -3
  24. package/es/components/material-runbox/hooks/useRunboxControl.js +1 -3
  25. package/es/components/material-runbox/locales/th.json.js +1 -1
  26. package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +1 -3
  27. package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +1 -3
  28. package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +1 -3
  29. package/package.json +5 -5
@@ -29,11 +29,7 @@ const MaterialRunbox = _a => {
29
29
  __intl
30
30
  } = _a,
31
31
  contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration", "__intl"]);
32
- return React.createElement(intl.RawEliceIntlProvider, {
33
- value: {
34
- intl: __intl
35
- }
36
- }, React.createElement(MaterialRunboxContext.default, {
32
+ return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxContext.default, {
37
33
  enableAutoShutdownToggle: enableAutoShutdownToggle,
38
34
  enableUrlShare: enableUrlShare,
39
35
  locale: locale,
@@ -42,9 +42,7 @@ const MaterialRunboxContent = ({
42
42
  runboxId,
43
43
  courseId
44
44
  }) => {
45
- const {
46
- intl: intl$1
47
- } = intl.useRawEliceIntl();
45
+ const intl$1 = intl.useRawEliceIntl();
48
46
  const {
49
47
  locale,
50
48
  showMessenger
@@ -34,9 +34,7 @@ const MaterialRunboxHeader = ({
34
34
  courseId,
35
35
  refetch
36
36
  }) => {
37
- const {
38
- intl: intl$1
39
- } = intl.useRawEliceIntl();
37
+ const intl$1 = intl.useRawEliceIntl();
40
38
  const {
41
39
  enableAutoShutdownToggle
42
40
  } = MaterialRunboxContext.useMaterialRunboxContext();
@@ -34,9 +34,7 @@ const MaterialRunboxActionAutoShutdown = ({
34
34
  refetch
35
35
  }) => {
36
36
  var _a;
37
- const {
38
- intl: intl$1
39
- } = intl.useRawEliceIntl();
37
+ const intl$1 = intl.useRawEliceIntl();
40
38
  const materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
41
39
  /**
42
40
  *
@@ -74,9 +74,7 @@ const MaterialRunboxActionGrade = ({
74
74
  courseId
75
75
  }) => {
76
76
  var _a;
77
- const {
78
- intl: intl$1
79
- } = intl.useRawEliceIntl();
77
+ const intl$1 = intl.useRawEliceIntl();
80
78
  const {
81
79
  enqueueSnackbar
82
80
  } = muiXSnackbar.useSnackbar();
@@ -22,9 +22,7 @@ const MaterialRunboxActionReset = ({
22
22
  courseId,
23
23
  handleMenuClose
24
24
  }) => {
25
- const {
26
- intl: intl$1
27
- } = intl.useRawEliceIntl();
25
+ const intl$1 = intl.useRawEliceIntl();
28
26
  const {
29
27
  enqueueSnackbar
30
28
  } = muiXSnackbar.useSnackbar();
@@ -19,9 +19,7 @@ const MaterialRunboxActionRestart = ({
19
19
  refetch,
20
20
  handleMenuClose
21
21
  }) => {
22
- const {
23
- intl: intl$1
24
- } = intl.useRawEliceIntl();
22
+ const intl$1 = intl.useRawEliceIntl();
25
23
  const [isLoading, setIsLoading] = React.useState(false);
26
24
  const [isDialogOpened, setDialogOpened] = React.useState(false);
27
25
  // restart
@@ -20,9 +20,7 @@ var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
20
20
  const MaterialRunboxActionShare = ({
21
21
  handleMenuClose
22
22
  }) => {
23
- const {
24
- intl: intl$1
25
- } = intl.useRawEliceIntl();
23
+ const intl$1 = intl.useRawEliceIntl();
26
24
  const {
27
25
  enqueueSnackbar
28
26
  } = muiXSnackbar.useSnackbar();
@@ -31,9 +31,7 @@ const MaterialRunboxCommandContextProvider = ({
31
31
  runtime,
32
32
  courseId
33
33
  }) => {
34
- const {
35
- intl: intl$1
36
- } = intl.useRawEliceIntl();
34
+ const intl$1 = intl.useRawEliceIntl();
37
35
  const {
38
36
  enqueueSnackbar
39
37
  } = muiXSnackbar.useSnackbar();
@@ -16,9 +16,7 @@ require('../contexts/MaterialRunboxContext.js');
16
16
  */
17
17
  const useRunboxControl = props => {
18
18
  const _return = React.useRef({});
19
- const {
20
- intl: intl$1
21
- } = intl.useRawEliceIntl();
19
+ const intl$1 = intl.useRawEliceIntl();
22
20
  const {
23
21
  enqueueSnackbar
24
22
  } = muiXSnackbar.useSnackbar();
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var messageTh = {"runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip.disabled":"โรงง่ายได้ถูกตั้งค่าเป็นเวลาการใช้งานต่อเซสชัน {time}เมื่อผ่านไปแล้ว โปรแกรมจะถูกปิดอัตโนมัติ ","runbox.action.autoShutdown.tooltip.enabled":"เสมอติดตั้งการเปิดระบบอาจทำให้รันไทม์ไม่จบเมื่อออกจากข้อมูลการเรียนรู้ อย่างไรก็ตาม จะถูกตั้งเวลาการใช้งานต่อเซสชันของรันไทม์ที่นั่ง {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":"การตรวจคำตอบกำลังดำเนินอยู่ โปรดรอสัก{_termCourseRoleEducator}่ค่ะ ตามการปฏิบัติการฝึกปฏิบัติ การตรวจคำตอบอาจใช้เวลาถึง 3 นาทีได้ค่ะ.","runbox.action.reset.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.reset.dialog.description":"คุณต้องการรีเซ็ตโค้ดของ Runbox หรือไม่? เมื่อรีเซ็ตแล้วโค้ดของชุดข้อมูลจะถูกเขียนทับด้วยโค้ดเริ่มต้น\nหลังจากรีเซ็ต การเซสชั่นของ Runbox จะถูกรีเฟรชใหม่.","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.title":"คัดลอก URL ของ Runbox","runbox.action.share.snackbar.copied.fail":"การคัดลอก URL ของรันบ็อกซ์ล้มเหลว โปรดลองอีกครั้งค่ะ.","runbox.action.share.snackbar.copied.success":"คัดลอก URL ของ Runbox แล้วค่ะ.","runbox.action.submitCountInfo.dialog.title":"จำนวนครั้งในการส่งจำกัด","runbox.action.submitCountInfo.dialog.description":"เกินจำนวนครั้งที่สามารถส่งได้แล้วครับ.","runbox.action.submitCountInfo.tooltip.disabled":"ใช้จำนวนครั้งในการส่งทั้งหมดแล้วครับ.","runbox.common.close":"ปิด","runbox.common.retry":"ลองอีกครั้ง","runbox.common.support":"ศูนย์บริการลูกค้า","runbox.context.command.ping.error":"การดำเนินการงานบน Runbox ผิดพลาดในขณะนี้ โปรดลองอีกครั้งในภายหลัง.","runbox.runtime.message.startError":"เมื่อเริ่มต้นการทำงานของรันบ็อกซ์ พบข้อผิดพลาดในขณะนี้ครับ.","runbox.runtime.overlay.assigned.description":"(3 / 3)\nรันบ็อกซ์กำลังทำงานอยู่\nกรุณารอสักครู่!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\nการทำงานของระบบกำลังใช้เวลามากกว่าที่คาดหวัง\nโปรดรอสัก{_termCourseRoleEducator}่เพิ่มเติมโดยไม่ต้องรีเฟรช!","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":"ดิสก์เต็มเพราะได้ลบแพ็คเกจเร็วเรียบร้อยแล้ว อาจใช้เวลาสัก{_termCourseRoleEducator}่ในการปรับปรุงในกรณีนี้","runbox.runtime.overlay.terminated.description.quota_exceeded":"เวลาการใช้งานของไรมฯหมดลง และไรมฯถูกปิดลงแล้วครับ.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"หลังจากผ่านไป 24 ชั่วโมงหลังจากการเริ่มต้นการเรียกใช้ Runbox ได้สิ้นสุดลงแล้ว\nหากต้องการเชื่อมต่อกับ Runbox อีกครั้ง โปรดคลิกที่ปุ่มด้านล่างนี้.","runbox.runtime.overlay.terminated.description.unexpected":"หากปัญหายังคงอยู่ กรุณาติดต่อศูนย์บริการลูกค้าค่ะ.","runbox.runtime.overlay.terminated.restart":"การเชื่อมต่ออีกครั้ง","runbox.runtime.overlay.terminated.title":"เชื่อมต่อไปยังเวลาทำงานถูกยกเลิก","runbox.header.submitInfo":"{isIndividual, select, true {} other {ทีม}} จำนวนครั้งที่ส่ง | {isDailyLimitEnabled, select, true {วันนี้} other {}} {remainCount}/{totalCount}เหลืออยู่"};
5
+ var messageTh = {"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":"การตรวจคะแนนกำลังดำเนินการ โปรดรอสักครู่ ขึ้นอยู่กับ {_termLibraryLecturePage} การตรวจคะแนนอาจใช้เวลาสูงสุดถึง 3 นาที","runbox.action.reset.dialog.actions.confirm":"รีเซ็ต","runbox.action.reset.dialog.description":"คุณแน่ใจว่าต้องการรีเซ็ตรหัสของ Runbox หรือไม่? รหัสของคุณจะถูกเขียนทับด้วยรหัสเริ่มต้นของ {_termLibraryLecturePage} หลังจากรีเซ็ต การทำเซสชันของ Runbox จะถูกรีเฟรชใหม่","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดขณะที่กำลังเริ่มต้นรหัสรันบ็อกซ์","runbox.action.reset.title":"รหัสการรีเซ็ต","runbox.action.restart.dialog.actions.confirm":"เริ่มใหม่","runbox.action.restart.dialog.description":"คุณแน่ใจหรือว่าต้องการเริ่มต้นการทำงานใหม่ใน Runbox หรือไม่?","runbox.action.restart.title":"เริ่มใหม่ runbox","runbox.action.share.title":"แชร์ลิงก์ URL ของ Runbox","runbox.action.share.snackbar.copied.fail":"การคัดลอก URL ของ runbox ล้มเหลว โปรดลองอีกครั้ง","runbox.action.share.snackbar.copied.success":"คัดลอก URL ของ Runbox สำเร็จแล้ว","runbox.action.submitCountInfo.dialog.title":"จำกัดจำนวนการส่งใบสมัคร","runbox.action.submitCountInfo.dialog.description":"คุณได้เกินขีดจำกัดการส่งแล้ว","runbox.action.submitCountInfo.tooltip.disabled":"จำนวนการส่งซ้ำได้ถูกใช้งานหมดแล้ว","runbox.common.close":"ปิด","runbox.common.retry":"ลองใหม่","runbox.common.support":"สนับสนุน","runbox.context.command.ping.error":"เกิดข้อผิดพลาดขณะประมวลผลงาน","runbox.runtime.message.startError":"มีข้อผิดพลาดในการเริ่มต้นรันบ็อกซ์","runbox.runtime.overlay.assigned.description":"Runbox กำลังทำงานอยู่\nโปรดรอ!","runbox.runtime.overlay.assigned.description_timeout":"การเรียกใช้งานรันบ็อกซ์ใช้เวลานานกว่าที่เราคาดหวัง\nโปรดรออีกสักครู่โดยไม่ต้องรีเฟรช!","runbox.runtime.overlay.queued.description":"(2 ของ 3)\nรอคิวอยู่ {waiters} ครั้ง...","runbox.runtime.overlay.queued.description_zero":"Runbox จะทำงานเร็วนี้","runbox.runtime.overlay.terminated.description.default":"การทำงานถูกสิ้นสุดลงเนื่องจากปัญหาที่ไม่คาดคิด\nคลิกที่ปุ่มด้านล่างเพื่อเชื่อมต่อกับ runbox อีกครั้ง","runbox.runtime.overlay.terminated.description.general":"เวลารันไทม์ที่เชื่อมต่อกับ runbox ได้สิ้นสุดลงแล้ว\nในการเชื่อมต่อกับ runbox อีกครั้ง โปรดคลิกที่ปุ่มด้านล่าง","runbox.runtime.overlay.terminated.description.os_disk_is_full":"เวลารันสิ้นสุดลงเนื่องจากดิสก์เต็ม\nหากคุณได้ลบ runbox เร็ว ๆ นี้ อาจใช้เวลาสักครู่ในการแสดงผล","runbox.runtime.overlay.terminated.description.quota_exceeded":"เวลารันไทม์ได้สิ้นสุดลงเนื่องจากเวลารันไทม์หมดอายุแล้ว","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.header.submitInfo":"{isIndividual, select, true {} other {ทีม}}จำนวนการส่งงาน | {remainCount}/{totalCount} ครั้งที่เหลือ {isDailyLimitEnabled, select, true {วันนี้} other {}}"};
6
6
 
7
7
  exports.default = messageTh;
@@ -16,9 +16,7 @@ const ASSIGNED_NORMAL_TIMEOUT = 30 * 1e3; // 30 sec
16
16
  //
17
17
  //
18
18
  const RuntimeOverlayAssigned = () => {
19
- const {
20
- intl: intl$1
21
- } = intl.useRawEliceIntl();
19
+ const intl$1 = intl.useRawEliceIntl();
22
20
  const [timeout] = reactUse.useTimeout(ASSIGNED_NORMAL_TIMEOUT);
23
21
  //
24
22
  //
@@ -17,9 +17,7 @@ var queue = require('../../../assets/queue.gif.js');
17
17
  const RuntimeOverlayQueued = ({
18
18
  numWaiters
19
19
  }) => {
20
- const {
21
- intl: intl$1
22
- } = intl.useRawEliceIntl();
20
+ const intl$1 = intl.useRawEliceIntl();
23
21
  const {
24
22
  showMessenger
25
23
  } = MaterialRunboxContext.useMaterialRunboxContext();
@@ -19,9 +19,7 @@ const RuntimeOverlayTerminated = ({
19
19
  reason,
20
20
  startRuntime
21
21
  }) => {
22
- const {
23
- intl: intl$1
24
- } = intl.useRawEliceIntl();
22
+ const intl$1 = intl.useRawEliceIntl();
25
23
  const {
26
24
  showMessenger
27
25
  } = MaterialRunboxContext.useMaterialRunboxContext();
@@ -25,11 +25,7 @@ const MaterialRunbox = _a => {
25
25
  __intl
26
26
  } = _a,
27
27
  contentProps = __rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration", "__intl"]);
28
- return React.createElement(RawEliceIntlProvider, {
29
- value: {
30
- intl: __intl
31
- }
32
- }, React.createElement(MaterialRunboxContextProvider, {
28
+ return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxContextProvider, {
33
29
  enableAutoShutdownToggle: enableAutoShutdownToggle,
34
30
  enableUrlShare: enableUrlShare,
35
31
  locale: locale,
@@ -38,9 +38,7 @@ const MaterialRunboxContent = ({
38
38
  runboxId,
39
39
  courseId
40
40
  }) => {
41
- const {
42
- intl
43
- } = useRawEliceIntl();
41
+ const intl = useRawEliceIntl();
44
42
  const {
45
43
  locale,
46
44
  showMessenger
@@ -30,9 +30,7 @@ const MaterialRunboxHeader = ({
30
30
  courseId,
31
31
  refetch
32
32
  }) => {
33
- const {
34
- intl
35
- } = useRawEliceIntl();
33
+ const intl = useRawEliceIntl();
36
34
  const {
37
35
  enableAutoShutdownToggle
38
36
  } = useMaterialRunboxContext();
@@ -30,9 +30,7 @@ const MaterialRunboxActionAutoShutdown = ({
30
30
  refetch
31
31
  }) => {
32
32
  var _a;
33
- const {
34
- intl
35
- } = useRawEliceIntl();
33
+ const intl = useRawEliceIntl();
36
34
  const materialRunboxApi = useMaterialRunboxApiContext();
37
35
  /**
38
36
  *
@@ -70,9 +70,7 @@ const MaterialRunboxActionGrade = ({
70
70
  courseId
71
71
  }) => {
72
72
  var _a;
73
- const {
74
- intl
75
- } = useRawEliceIntl();
73
+ const intl = useRawEliceIntl();
76
74
  const {
77
75
  enqueueSnackbar
78
76
  } = useSnackbar();
@@ -18,9 +18,7 @@ const MaterialRunboxActionReset = ({
18
18
  courseId,
19
19
  handleMenuClose
20
20
  }) => {
21
- const {
22
- intl
23
- } = useRawEliceIntl();
21
+ const intl = useRawEliceIntl();
24
22
  const {
25
23
  enqueueSnackbar
26
24
  } = useSnackbar();
@@ -15,9 +15,7 @@ const MaterialRunboxActionRestart = ({
15
15
  refetch,
16
16
  handleMenuClose
17
17
  }) => {
18
- const {
19
- intl
20
- } = useRawEliceIntl();
18
+ const intl = useRawEliceIntl();
21
19
  const [isLoading, setIsLoading] = React.useState(false);
22
20
  const [isDialogOpened, setDialogOpened] = React.useState(false);
23
21
  // restart
@@ -16,9 +16,7 @@ import { useMaterialRunboxContext } from '../contexts/MaterialRunboxContext.js';
16
16
  const MaterialRunboxActionShare = ({
17
17
  handleMenuClose
18
18
  }) => {
19
- const {
20
- intl
21
- } = useRawEliceIntl();
19
+ const intl = useRawEliceIntl();
22
20
  const {
23
21
  enqueueSnackbar
24
22
  } = useSnackbar();
@@ -27,9 +27,7 @@ const MaterialRunboxCommandContextProvider = ({
27
27
  runtime,
28
28
  courseId
29
29
  }) => {
30
- const {
31
- intl
32
- } = useRawEliceIntl();
30
+ const intl = useRawEliceIntl();
33
31
  const {
34
32
  enqueueSnackbar
35
33
  } = useSnackbar();
@@ -14,9 +14,7 @@ import '../contexts/MaterialRunboxContext.js';
14
14
  */
15
15
  const useRunboxControl = props => {
16
16
  const _return = useRef({});
17
- const {
18
- intl
19
- } = useRawEliceIntl();
17
+ const intl = useRawEliceIntl();
20
18
  const {
21
19
  enqueueSnackbar
22
20
  } = useSnackbar();
@@ -1,3 +1,3 @@
1
- var messageTh = {"runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip.disabled":"โรงง่ายได้ถูกตั้งค่าเป็นเวลาการใช้งานต่อเซสชัน {time}เมื่อผ่านไปแล้ว โปรแกรมจะถูกปิดอัตโนมัติ ","runbox.action.autoShutdown.tooltip.enabled":"เสมอติดตั้งการเปิดระบบอาจทำให้รันไทม์ไม่จบเมื่อออกจากข้อมูลการเรียนรู้ อย่างไรก็ตาม จะถูกตั้งเวลาการใช้งานต่อเซสชันของรันไทม์ที่นั่ง {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":"การตรวจคำตอบกำลังดำเนินอยู่ โปรดรอสัก{_termCourseRoleEducator}่ค่ะ ตามการปฏิบัติการฝึกปฏิบัติ การตรวจคำตอบอาจใช้เวลาถึง 3 นาทีได้ค่ะ.","runbox.action.reset.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.reset.dialog.description":"คุณต้องการรีเซ็ตโค้ดของ Runbox หรือไม่? เมื่อรีเซ็ตแล้วโค้ดของชุดข้อมูลจะถูกเขียนทับด้วยโค้ดเริ่มต้น\nหลังจากรีเซ็ต การเซสชั่นของ Runbox จะถูกรีเฟรชใหม่.","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.title":"คัดลอก URL ของ Runbox","runbox.action.share.snackbar.copied.fail":"การคัดลอก URL ของรันบ็อกซ์ล้มเหลว โปรดลองอีกครั้งค่ะ.","runbox.action.share.snackbar.copied.success":"คัดลอก URL ของ Runbox แล้วค่ะ.","runbox.action.submitCountInfo.dialog.title":"จำนวนครั้งในการส่งจำกัด","runbox.action.submitCountInfo.dialog.description":"เกินจำนวนครั้งที่สามารถส่งได้แล้วครับ.","runbox.action.submitCountInfo.tooltip.disabled":"ใช้จำนวนครั้งในการส่งทั้งหมดแล้วครับ.","runbox.common.close":"ปิด","runbox.common.retry":"ลองอีกครั้ง","runbox.common.support":"ศูนย์บริการลูกค้า","runbox.context.command.ping.error":"การดำเนินการงานบน Runbox ผิดพลาดในขณะนี้ โปรดลองอีกครั้งในภายหลัง.","runbox.runtime.message.startError":"เมื่อเริ่มต้นการทำงานของรันบ็อกซ์ พบข้อผิดพลาดในขณะนี้ครับ.","runbox.runtime.overlay.assigned.description":"(3 / 3)\nรันบ็อกซ์กำลังทำงานอยู่\nกรุณารอสักครู่!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\nการทำงานของระบบกำลังใช้เวลามากกว่าที่คาดหวัง\nโปรดรอสัก{_termCourseRoleEducator}่เพิ่มเติมโดยไม่ต้องรีเฟรช!","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":"ดิสก์เต็มเพราะได้ลบแพ็คเกจเร็วเรียบร้อยแล้ว อาจใช้เวลาสัก{_termCourseRoleEducator}่ในการปรับปรุงในกรณีนี้","runbox.runtime.overlay.terminated.description.quota_exceeded":"เวลาการใช้งานของไรมฯหมดลง และไรมฯถูกปิดลงแล้วครับ.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"หลังจากผ่านไป 24 ชั่วโมงหลังจากการเริ่มต้นการเรียกใช้ Runbox ได้สิ้นสุดลงแล้ว\nหากต้องการเชื่อมต่อกับ Runbox อีกครั้ง โปรดคลิกที่ปุ่มด้านล่างนี้.","runbox.runtime.overlay.terminated.description.unexpected":"หากปัญหายังคงอยู่ กรุณาติดต่อศูนย์บริการลูกค้าค่ะ.","runbox.runtime.overlay.terminated.restart":"การเชื่อมต่ออีกครั้ง","runbox.runtime.overlay.terminated.title":"เชื่อมต่อไปยังเวลาทำงานถูกยกเลิก","runbox.header.submitInfo":"{isIndividual, select, true {} other {ทีม}} จำนวนครั้งที่ส่ง | {isDailyLimitEnabled, select, true {วันนี้} other {}} {remainCount}/{totalCount}เหลืออยู่"};
1
+ var messageTh = {"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":"การตรวจคะแนนกำลังดำเนินการ โปรดรอสักครู่ ขึ้นอยู่กับ {_termLibraryLecturePage} การตรวจคะแนนอาจใช้เวลาสูงสุดถึง 3 นาที","runbox.action.reset.dialog.actions.confirm":"รีเซ็ต","runbox.action.reset.dialog.description":"คุณแน่ใจว่าต้องการรีเซ็ตรหัสของ Runbox หรือไม่? รหัสของคุณจะถูกเขียนทับด้วยรหัสเริ่มต้นของ {_termLibraryLecturePage} หลังจากรีเซ็ต การทำเซสชันของ Runbox จะถูกรีเฟรชใหม่","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดขณะที่กำลังเริ่มต้นรหัสรันบ็อกซ์","runbox.action.reset.title":"รหัสการรีเซ็ต","runbox.action.restart.dialog.actions.confirm":"เริ่มใหม่","runbox.action.restart.dialog.description":"คุณแน่ใจหรือว่าต้องการเริ่มต้นการทำงานใหม่ใน Runbox หรือไม่?","runbox.action.restart.title":"เริ่มใหม่ runbox","runbox.action.share.title":"แชร์ลิงก์ URL ของ Runbox","runbox.action.share.snackbar.copied.fail":"การคัดลอก URL ของ runbox ล้มเหลว โปรดลองอีกครั้ง","runbox.action.share.snackbar.copied.success":"คัดลอก URL ของ Runbox สำเร็จแล้ว","runbox.action.submitCountInfo.dialog.title":"จำกัดจำนวนการส่งใบสมัคร","runbox.action.submitCountInfo.dialog.description":"คุณได้เกินขีดจำกัดการส่งแล้ว","runbox.action.submitCountInfo.tooltip.disabled":"จำนวนการส่งซ้ำได้ถูกใช้งานหมดแล้ว","runbox.common.close":"ปิด","runbox.common.retry":"ลองใหม่","runbox.common.support":"สนับสนุน","runbox.context.command.ping.error":"เกิดข้อผิดพลาดขณะประมวลผลงาน","runbox.runtime.message.startError":"มีข้อผิดพลาดในการเริ่มต้นรันบ็อกซ์","runbox.runtime.overlay.assigned.description":"Runbox กำลังทำงานอยู่\nโปรดรอ!","runbox.runtime.overlay.assigned.description_timeout":"การเรียกใช้งานรันบ็อกซ์ใช้เวลานานกว่าที่เราคาดหวัง\nโปรดรออีกสักครู่โดยไม่ต้องรีเฟรช!","runbox.runtime.overlay.queued.description":"(2 ของ 3)\nรอคิวอยู่ {waiters} ครั้ง...","runbox.runtime.overlay.queued.description_zero":"Runbox จะทำงานเร็วนี้","runbox.runtime.overlay.terminated.description.default":"การทำงานถูกสิ้นสุดลงเนื่องจากปัญหาที่ไม่คาดคิด\nคลิกที่ปุ่มด้านล่างเพื่อเชื่อมต่อกับ runbox อีกครั้ง","runbox.runtime.overlay.terminated.description.general":"เวลารันไทม์ที่เชื่อมต่อกับ runbox ได้สิ้นสุดลงแล้ว\nในการเชื่อมต่อกับ runbox อีกครั้ง โปรดคลิกที่ปุ่มด้านล่าง","runbox.runtime.overlay.terminated.description.os_disk_is_full":"เวลารันสิ้นสุดลงเนื่องจากดิสก์เต็ม\nหากคุณได้ลบ runbox เร็ว ๆ นี้ อาจใช้เวลาสักครู่ในการแสดงผล","runbox.runtime.overlay.terminated.description.quota_exceeded":"เวลารันไทม์ได้สิ้นสุดลงเนื่องจากเวลารันไทม์หมดอายุแล้ว","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.header.submitInfo":"{isIndividual, select, true {} other {ทีม}}จำนวนการส่งงาน | {remainCount}/{totalCount} ครั้งที่เหลือ {isDailyLimitEnabled, select, true {วันนี้} other {}}"};
2
2
 
3
3
  export { messageTh as default };
@@ -12,9 +12,7 @@ const ASSIGNED_NORMAL_TIMEOUT = 30 * 1e3; // 30 sec
12
12
  //
13
13
  //
14
14
  const RuntimeOverlayAssigned = () => {
15
- const {
16
- intl
17
- } = useRawEliceIntl();
15
+ const intl = useRawEliceIntl();
18
16
  const [timeout] = useTimeout(ASSIGNED_NORMAL_TIMEOUT);
19
17
  //
20
18
  //
@@ -13,9 +13,7 @@ import queueAnimationImage from '../../../assets/queue.gif.js';
13
13
  const RuntimeOverlayQueued = ({
14
14
  numWaiters
15
15
  }) => {
16
- const {
17
- intl
18
- } = useRawEliceIntl();
16
+ const intl = useRawEliceIntl();
19
17
  const {
20
18
  showMessenger
21
19
  } = useMaterialRunboxContext();
@@ -15,9 +15,7 @@ const RuntimeOverlayTerminated = ({
15
15
  reason,
16
16
  startRuntime
17
17
  }) => {
18
- const {
19
- intl
20
- } = useRawEliceIntl();
18
+ const intl = useRawEliceIntl();
21
19
  const {
22
20
  showMessenger
23
21
  } = useMaterialRunboxContext();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-runbox",
3
- "version": "1.240508.0-globalization.0",
3
+ "version": "1.240514.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",
@@ -51,9 +51,9 @@
51
51
  "tslib": "^2.6.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@elice/intl": "0.240425.0-alpha.7",
55
- "@elice/material-shared-types": "1.240508.0-globalization.0",
56
- "@elice/material-shared-utils": "1.240508.0-globalization.0",
54
+ "@elice/intl": "0.240425.0-rc.0",
55
+ "@elice/material-shared-types": "1.240514.0",
56
+ "@elice/material-shared-utils": "1.240514.0",
57
57
  "@elice/mui-elements": "^5.231130.0",
58
58
  "@elice/mui-system": "^5.230815.0",
59
59
  "@elice/mui-x-snackbar": "^5.231130.0",
@@ -74,5 +74,5 @@
74
74
  "react": "^17.0.2",
75
75
  "react-use": "^17.2.4"
76
76
  },
77
- "gitHead": "e64474c7cab0b6cb852ba08a2076c88e732eec03"
77
+ "gitHead": "04c7bc30a433e053218d63dedf81d76aa0fe251f"
78
78
  }