@elice/material-runbox 1.240909.0 → 1.240912.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-runbox/MaterialRunboxFooter.js +5 -2
- package/cjs/components/material-runbox/MaterialRunboxHeader.js +12 -9
- package/cjs/components/material-runbox/locales/th.json.js +1 -1
- package/es/components/material-runbox/MaterialRunboxFooter.js +5 -2
- package/es/components/material-runbox/MaterialRunboxHeader.js +12 -9
- package/es/components/material-runbox/locales/th.json.js +1 -1
- package/package.json +3 -3
|
@@ -19,12 +19,15 @@ var StyledFooter = /*#__PURE__*/_styled__default.default("div", {
|
|
|
19
19
|
})("position:relative;flex:0 0 2rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-top:1px solid ", function (_ref) {
|
|
20
20
|
var theme = _ref.theme;
|
|
21
21
|
return theme.palette.divider;
|
|
22
|
+
}, ";background-color:", function (_ref2) {
|
|
23
|
+
var theme = _ref2.theme;
|
|
24
|
+
return theme.palette.background.paper;
|
|
22
25
|
}, ";");
|
|
23
26
|
//
|
|
24
27
|
//
|
|
25
28
|
//
|
|
26
|
-
var MaterialRunboxFooter = function MaterialRunboxFooter(
|
|
27
|
-
var runtimeTemplate =
|
|
29
|
+
var MaterialRunboxFooter = function MaterialRunboxFooter(_ref3) {
|
|
30
|
+
var runtimeTemplate = _ref3.runtimeTemplate;
|
|
28
31
|
/**
|
|
29
32
|
* Resource stats
|
|
30
33
|
*/
|
|
@@ -31,16 +31,19 @@ var StyledHeader = /*#__PURE__*/_styled__default.default("div", {
|
|
|
31
31
|
})("position:relative;flex:0 0 3rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-bottom:1px solid ", function (_ref) {
|
|
32
32
|
var theme = _ref.theme;
|
|
33
33
|
return theme.palette.divider;
|
|
34
|
-
}, ";overflow:hidden;")
|
|
34
|
+
}, ";overflow:hidden;background-color:", function (_ref2) {
|
|
35
|
+
var theme = _ref2.theme;
|
|
36
|
+
return theme.palette.background.paper;
|
|
37
|
+
}, ";");
|
|
35
38
|
//
|
|
36
39
|
//
|
|
37
40
|
//
|
|
38
|
-
var MaterialRunboxHeader = function MaterialRunboxHeader(
|
|
39
|
-
var runbox =
|
|
40
|
-
runtime =
|
|
41
|
-
runtimeTemplate =
|
|
42
|
-
courseId =
|
|
43
|
-
refetch =
|
|
41
|
+
var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
42
|
+
var runbox = _ref3.runbox,
|
|
43
|
+
runtime = _ref3.runtime,
|
|
44
|
+
runtimeTemplate = _ref3.runtimeTemplate,
|
|
45
|
+
courseId = _ref3.courseId,
|
|
46
|
+
refetch = _ref3.refetch;
|
|
44
47
|
var intl$1 = intl.useRawEliceIntl();
|
|
45
48
|
var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
|
|
46
49
|
enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
|
|
@@ -63,8 +66,8 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref2) {
|
|
|
63
66
|
courseId: courseId,
|
|
64
67
|
runtime: runtime
|
|
65
68
|
}],
|
|
66
|
-
queryFn: function queryFn(
|
|
67
|
-
var signal =
|
|
69
|
+
queryFn: function queryFn(_ref4) {
|
|
70
|
+
var signal = _ref4.signal;
|
|
68
71
|
return materialRunboxApi.runbox.runboxRunboxIdSubmitInfoGet({
|
|
69
72
|
eliceCourseId: courseId,
|
|
70
73
|
runboxId: runtime === null || runtime === void 0 ? void 0 : runtime.runboxId
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var th = {"runbox.action.autoShutdown.title":"
|
|
5
|
+
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.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","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 หยุดชะงัก","runbox.header.submitInfo":"{isIndividual, select, true {การส่งแบบส่วนตัว} other {การส่งแบบทีม}} | {remainCount}/{totalCount} ครั้งที่เหลือ | {isDailyLimitEnabled, select, true {วันนี้} other {}} "};
|
|
6
6
|
|
|
7
7
|
exports.default = th;
|
|
@@ -11,12 +11,15 @@ var StyledFooter = /*#__PURE__*/_styled("div", {
|
|
|
11
11
|
})("position:relative;flex:0 0 2rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-top:1px solid ", function (_ref) {
|
|
12
12
|
var theme = _ref.theme;
|
|
13
13
|
return theme.palette.divider;
|
|
14
|
+
}, ";background-color:", function (_ref2) {
|
|
15
|
+
var theme = _ref2.theme;
|
|
16
|
+
return theme.palette.background.paper;
|
|
14
17
|
}, ";");
|
|
15
18
|
//
|
|
16
19
|
//
|
|
17
20
|
//
|
|
18
|
-
var MaterialRunboxFooter = function MaterialRunboxFooter(
|
|
19
|
-
var runtimeTemplate =
|
|
21
|
+
var MaterialRunboxFooter = function MaterialRunboxFooter(_ref3) {
|
|
22
|
+
var runtimeTemplate = _ref3.runtimeTemplate;
|
|
20
23
|
/**
|
|
21
24
|
* Resource stats
|
|
22
25
|
*/
|
|
@@ -22,16 +22,19 @@ var StyledHeader = /*#__PURE__*/_styled("div", {
|
|
|
22
22
|
})("position:relative;flex:0 0 3rem;display:flex;justify-content:space-between;align-items:center;padding:0 1rem;width:100%;border-bottom:1px solid ", function (_ref) {
|
|
23
23
|
var theme = _ref.theme;
|
|
24
24
|
return theme.palette.divider;
|
|
25
|
-
}, ";overflow:hidden;")
|
|
25
|
+
}, ";overflow:hidden;background-color:", function (_ref2) {
|
|
26
|
+
var theme = _ref2.theme;
|
|
27
|
+
return theme.palette.background.paper;
|
|
28
|
+
}, ";");
|
|
26
29
|
//
|
|
27
30
|
//
|
|
28
31
|
//
|
|
29
|
-
var MaterialRunboxHeader = function MaterialRunboxHeader(
|
|
30
|
-
var runbox =
|
|
31
|
-
runtime =
|
|
32
|
-
runtimeTemplate =
|
|
33
|
-
courseId =
|
|
34
|
-
refetch =
|
|
32
|
+
var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
|
|
33
|
+
var runbox = _ref3.runbox,
|
|
34
|
+
runtime = _ref3.runtime,
|
|
35
|
+
runtimeTemplate = _ref3.runtimeTemplate,
|
|
36
|
+
courseId = _ref3.courseId,
|
|
37
|
+
refetch = _ref3.refetch;
|
|
35
38
|
var intl = useRawEliceIntl();
|
|
36
39
|
var _useMaterialRunboxCon = useMaterialRunboxContext(),
|
|
37
40
|
enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
|
|
@@ -54,8 +57,8 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref2) {
|
|
|
54
57
|
courseId: courseId,
|
|
55
58
|
runtime: runtime
|
|
56
59
|
}],
|
|
57
|
-
queryFn: function queryFn(
|
|
58
|
-
var signal =
|
|
60
|
+
queryFn: function queryFn(_ref4) {
|
|
61
|
+
var signal = _ref4.signal;
|
|
59
62
|
return materialRunboxApi.runbox.runboxRunboxIdSubmitInfoGet({
|
|
60
63
|
eliceCourseId: courseId,
|
|
61
64
|
runboxId: runtime === null || runtime === void 0 ? void 0 : runtime.runboxId
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var th = {"runbox.action.autoShutdown.title":"
|
|
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.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","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 หยุดชะงัก","runbox.header.submitInfo":"{isIndividual, select, true {การส่งแบบส่วนตัว} other {การส่งแบบทีม}} | {remainCount}/{totalCount} ครั้งที่เหลือ | {isDailyLimitEnabled, select, true {วันนี้} other {}} "};
|
|
2
2
|
|
|
3
3
|
export { th as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-runbox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240912.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",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@elice/intl": "0.240425.0-rc.2",
|
|
53
|
-
"@elice/material-shared-types": "1.
|
|
54
|
-
"@elice/material-shared-utils": "1.
|
|
53
|
+
"@elice/material-shared-types": "1.240912.0",
|
|
54
|
+
"@elice/material-shared-utils": "1.240912.0",
|
|
55
55
|
"@elice/mui-elements": "^5.240820.0",
|
|
56
56
|
"@elice/mui-system": "^5.240820.0",
|
|
57
57
|
"@elice/mui-x-snackbar": "^5.240820.0",
|