@elice/material-runbox 1.260820.1 → 1.260825.0-runboxusability.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 (77) hide show
  1. package/cjs/components/material-runbox/MaterialRunboxContent.js +1 -2
  2. package/cjs/components/material-runbox/MaterialRunboxHeader.js +12 -29
  3. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +3 -1
  4. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +17 -1
  5. package/cjs/components/material-runbox/hooks/index.d.ts +1 -0
  6. package/cjs/components/material-runbox/hooks/index.js +4 -0
  7. package/cjs/components/material-runbox/hooks/useRunboxSessionEndWarning.d.ts +18 -0
  8. package/cjs/components/material-runbox/hooks/useRunboxSessionEndWarning.js +67 -0
  9. package/cjs/components/material-runbox/locales/en.json.js +1 -1
  10. package/cjs/components/material-runbox/locales/ja.json.js +1 -1
  11. package/cjs/components/material-runbox/locales/ko.json.js +1 -1
  12. package/cjs/components/material-runbox/locales/th.json.js +1 -1
  13. package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.d.ts +18 -0
  14. package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.js +88 -0
  15. package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +11 -0
  16. package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +32 -0
  17. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +17 -0
  18. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +134 -0
  19. package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.d.ts +11 -0
  20. package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +42 -0
  21. package/cjs/components/material-runbox/status/index.d.ts +4 -0
  22. package/cjs/components/material-runbox/status/index.js +9 -0
  23. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.d.ts +11 -0
  24. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +116 -0
  25. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.d.ts +13 -0
  26. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +56 -0
  27. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.d.ts +12 -0
  28. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +117 -0
  29. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.d.ts +15 -0
  30. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +50 -0
  31. package/cjs/components/material-runbox/timer/MaterialRunboxTimer.d.ts +6 -0
  32. package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +20 -16
  33. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +19 -81
  34. package/es/components/material-runbox/MaterialRunboxContent.js +1 -2
  35. package/es/components/material-runbox/MaterialRunboxHeader.js +13 -30
  36. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +3 -1
  37. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +19 -3
  38. package/es/components/material-runbox/hooks/index.d.ts +1 -0
  39. package/es/components/material-runbox/hooks/index.js +1 -0
  40. package/es/components/material-runbox/hooks/useRunboxSessionEndWarning.d.ts +18 -0
  41. package/es/components/material-runbox/hooks/useRunboxSessionEndWarning.js +63 -0
  42. package/es/components/material-runbox/locales/en.json.js +1 -1
  43. package/es/components/material-runbox/locales/ja.json.js +1 -1
  44. package/es/components/material-runbox/locales/ko.json.js +1 -1
  45. package/es/components/material-runbox/locales/th.json.js +1 -1
  46. package/es/components/material-runbox/status/MaterialRunboxStatusButton.d.ts +18 -0
  47. package/es/components/material-runbox/status/MaterialRunboxStatusButton.js +80 -0
  48. package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +11 -0
  49. package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +28 -0
  50. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +17 -0
  51. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +130 -0
  52. package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.d.ts +11 -0
  53. package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +38 -0
  54. package/es/components/material-runbox/status/index.d.ts +4 -0
  55. package/es/components/material-runbox/status/index.js +2 -0
  56. package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.d.ts +11 -0
  57. package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +112 -0
  58. package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.d.ts +13 -0
  59. package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +52 -0
  60. package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.d.ts +12 -0
  61. package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +113 -0
  62. package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.d.ts +15 -0
  63. package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +46 -0
  64. package/es/components/material-runbox/timer/MaterialRunboxTimer.d.ts +6 -0
  65. package/es/components/material-runbox/timer/MaterialRunboxTimer.js +19 -15
  66. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +15 -77
  67. package/package.json +8 -8
  68. package/cjs/assets/runbox_logo.png.js +0 -7
  69. package/cjs/components/material-runbox/MaterialRunboxFooter.d.ts +0 -4
  70. package/cjs/components/material-runbox/MaterialRunboxFooter.js +0 -64
  71. package/cjs/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.d.ts +0 -6
  72. package/cjs/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.js +0 -90
  73. package/es/assets/runbox_logo.png.js +0 -3
  74. package/es/components/material-runbox/MaterialRunboxFooter.d.ts +0 -4
  75. package/es/components/material-runbox/MaterialRunboxFooter.js +0 -56
  76. package/es/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.d.ts +0 -6
  77. package/es/components/material-runbox/timer/MaterialRunboxAlmostEndSnackbars.js +0 -86
@@ -15,7 +15,6 @@ var reactQuery = require('@tanstack/react-query');
15
15
  var MaterialAdminRunboxConfirmDialog = require('./MaterialAdminRunboxConfirmDialog.js');
16
16
  var MaterialRunboxAlert = require('./MaterialRunboxAlert.js');
17
17
  var MaterialRunboxBody = require('./MaterialRunboxBody.js');
18
- var MaterialRunboxFooter = require('./MaterialRunboxFooter.js');
19
18
  var MaterialRunboxHeader = require('./MaterialRunboxHeader.js');
20
19
  var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
21
20
  var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
@@ -291,7 +290,7 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
291
290
  isTutoring: isTutoring
292
291
  }), jsxRuntime.jsx(MaterialRunboxBody.default, Object.assign({
293
292
  setSnackbarRoot: setSnackbarRoot
294
- }, props)), jsxRuntime.jsx(MaterialRunboxFooter.default, Object.assign({}, props))]
293
+ }, props))]
295
294
  })
296
295
  })
297
296
  })
@@ -15,14 +15,13 @@ var types = require('@elice/types');
15
15
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
16
16
  var material = require('@mui/material');
17
17
  var reactQuery = require('@tanstack/react-query');
18
- var MaterialRunboxActionAutoShutdown = require('./actions/MaterialRunboxActionAutoShutdown.js');
19
18
  var MaterialRunboxActionDisconnect = require('./actions/MaterialRunboxActionDisconnect.js');
20
19
  var MaterialRunboxActionGrade = require('./actions/MaterialRunboxActionGrade.js');
21
20
  var MaterialRunboxActionMenu = require('./actions/MaterialRunboxActionMenu.js');
22
- var runbox_logo = require('../../assets/runbox_logo.png.js');
23
21
  var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
24
22
  var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
25
23
  var MaterialRunboxTimer = require('./timer/MaterialRunboxTimer.js');
24
+ var MaterialRunboxStatusButton = require('./status/MaterialRunboxStatusButton.js');
26
25
  var MaterialRunboxDiskAlmostFullSnackbar = require('./disk/MaterialRunboxDiskAlmostFullSnackbar.js');
27
26
  var useRunboxControl = require('./hooks/useRunboxControl.js');
28
27
 
@@ -147,20 +146,11 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
147
146
  });
148
147
  };
149
148
  /**
150
- *
149
+ * Whether the auto-shutdown toggle is available.
150
+ * The toggle itself lives in the option menu. (PLAT-4181)
151
151
  */
152
- var renderHeaderActionAutoShutdown = function renderHeaderActionAutoShutdown() {
153
- var isAidtOrg = (organization === null || organization === void 0 ? void 0 : organization.organizationType) === types.enums.OrganizationType.Aidt;
154
- if (!enableAutoShutdownToggle || isTutoring || isAidtOrg) {
155
- return null;
156
- }
157
- return jsxRuntime.jsx(MaterialRunboxActionAutoShutdown.default, {
158
- runtime: runtime,
159
- runtimeTemplate: runtimeTemplate,
160
- courseId: courseId,
161
- refetch: refetch
162
- });
163
- };
152
+ var isAidtOrg = (organization === null || organization === void 0 ? void 0 : organization.organizationType) === types.enums.OrganizationType.Aidt;
153
+ var enableAutoShutdown = Boolean(enableAutoShutdownToggle) && !isTutoring && !isAidtOrg;
164
154
  /**
165
155
  *
166
156
  */
@@ -201,9 +191,11 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
201
191
  }), jsxRuntime.jsx(MaterialRunboxActionMenu.default, {
202
192
  runbox: runbox,
203
193
  runtime: runtime,
194
+ runtimeTemplate: runtimeTemplate,
204
195
  courseId: courseId,
205
196
  studentUserId: studentUserId,
206
197
  isTutoring: isTutoring,
198
+ enableAutoShutdown: enableAutoShutdown,
207
199
  menuAnchorEl: menuAnchorEl,
208
200
  refetch: refetch,
209
201
  handleMenuClose: handleMenuClose,
@@ -227,30 +219,21 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
227
219
  //
228
220
  return jsxRuntime.jsxs(StyledHeader, {
229
221
  ref: headerRef,
230
- children: [jsxRuntime.jsx(material.Box, {
231
- component: "img",
232
- src: runbox_logo.default,
233
- alt: "elice runbox",
234
- sx: {
235
- width: 'auto',
236
- height: '100%',
237
- imageRendering: 'auto',
238
- padding: '0.465rem 0'
239
- }
240
- }), runtime ? jsxRuntime.jsx(MaterialRunboxTimer.default, {
222
+ children: [runtime ? jsxRuntime.jsx(MaterialRunboxTimer.default, {
241
223
  runboxId: runbox.id,
242
224
  userId: userId,
243
225
  headerElement: headerRef.current,
244
226
  stopRuntime: stopRuntime,
245
- hideTimerPopover: hideTimerPopover
246
- }) : null, jsxRuntime.jsx(MaterialRunboxDiskAlmostFullSnackbar.default, {
227
+ hideTimerPopover: hideTimerPopover,
228
+ isTutoring: isTutoring
229
+ }) : null, jsxRuntime.jsx(MaterialRunboxStatusButton.default, {}), jsxRuntime.jsx(MaterialRunboxDiskAlmostFullSnackbar.default, {
247
230
  runboxId: runbox.id
248
231
  }), jsxRuntime.jsxs(material.Stack, {
249
232
  direction: "row",
250
233
  alignItems: "center",
251
234
  gap: "0.5rem",
252
235
  marginLeft: "auto",
253
- children: [renderHeaderSubmitInfo(), renderHeaderActionAutoShutdown(), renderOptionMenu(), renderHeaderActionDisconnect(), renderHeaderActionGrade()]
236
+ children: [renderHeaderSubmitInfo(), renderOptionMenu(), renderHeaderActionDisconnect(), renderHeaderActionGrade()]
254
237
  })]
255
238
  });
256
239
  };
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- type MaterialRunboxActionMenuProps = Pick<RuntimeProps, 'runbox' | 'runtime' | 'courseId' | 'refetch' | 'studentUserId' | 'isTutoring' | 'getAchievementColor'> & {
3
+ type MaterialRunboxActionMenuProps = Pick<RuntimeProps, 'runbox' | 'runtime' | 'runtimeTemplate' | 'courseId' | 'refetch' | 'studentUserId' | 'isTutoring' | 'getAchievementColor'> & {
4
4
  menuAnchorEl: null | HTMLButtonElement;
5
+ /** Whether the auto-shutdown toggle is available. Decided by the header. */
6
+ enableAutoShutdown?: boolean;
5
7
  handleMenuClose: () => void;
6
8
  };
7
9
  declare const MaterialRunboxActionMenu: React.FC<MaterialRunboxActionMenuProps>;
@@ -10,6 +10,7 @@ var runboxClient = require('@elice/runbox-client');
10
10
  var types = require('@elice/types');
11
11
  var material = require('@mui/material');
12
12
  var reactQuery = require('@tanstack/react-query');
13
+ var MaterialRunboxActionAutoShutdown = require('./MaterialRunboxActionAutoShutdown.js');
13
14
  var MaterialRunboxActionReset = require('./MaterialRunboxActionReset.js');
14
15
  var MaterialRunboxActionRestart = require('./MaterialRunboxActionRestart.js');
15
16
  var MaterialRunboxActionShare = require('./MaterialRunboxActionShare.js');
@@ -25,9 +26,12 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
25
26
  var MaterialRunboxActionMenu = function MaterialRunboxActionMenu(_ref) {
26
27
  var runbox = _ref.runbox,
27
28
  runtime = _ref.runtime,
29
+ runtimeTemplate = _ref.runtimeTemplate,
28
30
  courseId = _ref.courseId,
29
31
  studentUserId = _ref.studentUserId,
30
32
  isTutoring = _ref.isTutoring,
33
+ _ref$enableAutoShutdo = _ref.enableAutoShutdown,
34
+ enableAutoShutdown = _ref$enableAutoShutdo === void 0 ? false : _ref$enableAutoShutdo,
31
35
  menuAnchorEl = _ref.menuAnchorEl,
32
36
  refetch = _ref.refetch,
33
37
  getAchievementColor = _ref.getAchievementColor,
@@ -88,7 +92,19 @@ var MaterialRunboxActionMenu = function MaterialRunboxActionMenu(_ref) {
88
92
  horizontal: 'right'
89
93
  },
90
94
  onClose: handleMenuClose,
91
- children: [jsxRuntime.jsx(MaterialRunboxActionShare.default, {
95
+ children: [enableAutoShutdown ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
96
+ children: [jsxRuntime.jsx(material.Stack, {
97
+ direction: "row",
98
+ alignItems: "center",
99
+ padding: "0.25rem 1rem",
100
+ children: jsxRuntime.jsx(MaterialRunboxActionAutoShutdown.default, {
101
+ runtime: runtime,
102
+ runtimeTemplate: runtimeTemplate,
103
+ courseId: courseId,
104
+ refetch: refetch
105
+ })
106
+ }), jsxRuntime.jsx(material.Divider, {})]
107
+ }) : null, jsxRuntime.jsx(MaterialRunboxActionShare.default, {
92
108
  handleMenuClose: handleMenuClose
93
109
  }), jsxRuntime.jsx(MaterialRunboxActionRestart.default, {
94
110
  runbox: runbox,
@@ -1,4 +1,5 @@
1
1
  export * from './useRunboxControl';
2
+ export * from './useRunboxSessionEndWarning';
2
3
  export * from './useRunboxTimer';
3
4
  export * from './useInfiniteRunboxRunboxIdGrade';
4
5
  export * from './useMaterialRunboxRunboxIdStarterGet';
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var useRunboxControl = require('./useRunboxControl.js');
4
+ var useRunboxSessionEndWarning = require('./useRunboxSessionEndWarning.js');
4
5
  var useRunboxTimer = require('./useRunboxTimer.js');
5
6
  var useInfiniteRunboxRunboxIdGrade = require('./useInfiniteRunboxRunboxIdGrade.js');
6
7
  var useMaterialRunboxRunboxIdStarterGet = require('./useMaterialRunboxRunboxIdStarterGet.js');
@@ -12,6 +13,9 @@ Object.defineProperty(exports, "RunboxPreCheckResultType", {
12
13
  get: function () { return useRunboxControl.RunboxPreCheckResultType; }
13
14
  });
14
15
  exports.useRunboxControl = useRunboxControl.useRunboxControl;
16
+ exports.QUOTA_ALMOST_END_MINUTES = useRunboxSessionEndWarning.QUOTA_ALMOST_END_MINUTES;
17
+ exports.QUOTA_PER_SESSION_ALMOST_END_MINUTES = useRunboxSessionEndWarning.QUOTA_PER_SESSION_ALMOST_END_MINUTES;
18
+ exports.useRunboxSessionEndWarning = useRunboxSessionEndWarning.useRunboxSessionEndWarning;
15
19
  exports.useRunboxTimer = useRunboxTimer.useRunboxTimer;
16
20
  exports.useInfiniteRunboxRunboxIdGrade = useInfiniteRunboxRunboxIdGrade.useInfiniteRunboxRunboxIdGrade;
17
21
  exports.useMaterialRunboxRunboxIdStarterGet = useMaterialRunboxRunboxIdStarterGet.useMaterialRunboxRunboxIdStarterGet;
@@ -0,0 +1,18 @@
1
+ export type RunboxSessionEndWarning = 'quota' | 'quotaPerSession';
2
+ interface UseRunboxSessionEndWarningParams {
3
+ runboxId: string;
4
+ /**
5
+ * Suppress every warning.
6
+ * @default false
7
+ */
8
+ disabled?: boolean;
9
+ }
10
+ interface UseRunboxSessionEndWarningReturn {
11
+ warning: RunboxSessionEndWarning | null;
12
+ /** Marks the current warning as seen, which is what closes it. */
13
+ dismiss: () => void;
14
+ }
15
+ export declare const QUOTA_ALMOST_END_MINUTES = 30;
16
+ export declare const QUOTA_PER_SESSION_ALMOST_END_MINUTES = 10;
17
+ export declare function useRunboxSessionEndWarning({ runboxId, disabled, }: UseRunboxSessionEndWarningParams): UseRunboxSessionEndWarningReturn;
18
+ export {};
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+
3
+ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
4
+ var reactUse = require('react-use');
5
+ var runboxClient = require('@elice/runbox-client');
6
+
7
+ //
8
+ //
9
+ //
10
+ var QUOTA_ALMOST_END_MINUTES = 30;
11
+ var QUOTA_PER_SESSION_ALMOST_END_MINUTES = 10;
12
+ var WAS_WARNED_STORAGE_KEY = 'MaterialRunboxSessionEndWarning.wasWarned';
13
+ //
14
+ //
15
+ //
16
+ /** Remaining minutes while the almost-end warning is due, `null` when it is not. */
17
+ function getAlmostEndRemaining(quotaInfo, thresholdMinutes) {
18
+ var seen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
19
+ if (seen || quotaInfo.isUnlimited || quotaInfo.remainingQuota > thresholdMinutes) {
20
+ return null;
21
+ }
22
+ return quotaInfo.remainingQuota;
23
+ }
24
+ /** The due warning that runs out soonest, `null` when neither is due. */
25
+ function getSessionEndWarning(quotaInfo, quotaPerSessionInfo, seen) {
26
+ var quota = getAlmostEndRemaining(quotaInfo, QUOTA_ALMOST_END_MINUTES, seen.quota);
27
+ var quotaPerSession = getAlmostEndRemaining(quotaPerSessionInfo, QUOTA_PER_SESSION_ALMOST_END_MINUTES, seen.quotaPerSession);
28
+ if (quota === null) {
29
+ return quotaPerSession === null ? null : 'quotaPerSession';
30
+ }
31
+ if (quotaPerSession === null) {
32
+ return 'quota';
33
+ }
34
+ return quota < quotaPerSession ? 'quota' : 'quotaPerSession';
35
+ }
36
+ //
37
+ //
38
+ //
39
+ function useRunboxSessionEndWarning(_ref) {
40
+ var runboxId = _ref.runboxId,
41
+ _ref$disabled = _ref.disabled,
42
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled;
43
+ var _a;
44
+ var _useEliceRunboxQuota = runboxClient.useEliceRunboxQuota(),
45
+ quotaInfo = _useEliceRunboxQuota.quotaInfo,
46
+ quotaPerSessionInfo = _useEliceRunboxQuota.quotaPerSessionInfo;
47
+ var _useSessionStorage = reactUse.useSessionStorage(WAS_WARNED_STORAGE_KEY, {}),
48
+ _useSessionStorage2 = _rollupPluginBabelHelpers.slicedToArray(_useSessionStorage, 2),
49
+ wasWarned = _useSessionStorage2[0],
50
+ setWasWarned = _useSessionStorage2[1];
51
+ var seen = (_a = wasWarned === null || wasWarned === void 0 ? void 0 : wasWarned[runboxId]) !== null && _a !== void 0 ? _a : {};
52
+ var warning = disabled ? null : getSessionEndWarning(quotaInfo, quotaPerSessionInfo, seen);
53
+ var dismiss = function dismiss() {
54
+ if (warning === null) {
55
+ return;
56
+ }
57
+ setWasWarned(Object.assign(Object.assign({}, wasWarned), _rollupPluginBabelHelpers.defineProperty({}, runboxId, Object.assign(Object.assign({}, seen), _rollupPluginBabelHelpers.defineProperty({}, warning, true)))));
58
+ };
59
+ return {
60
+ warning: warning,
61
+ dismiss: dismiss
62
+ };
63
+ }
64
+
65
+ exports.QUOTA_ALMOST_END_MINUTES = QUOTA_ALMOST_END_MINUTES;
66
+ exports.QUOTA_PER_SESSION_ALMOST_END_MINUTES = QUOTA_PER_SESSION_ALMOST_END_MINUTES;
67
+ exports.useRunboxSessionEndWarning = useRunboxSessionEndWarning;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var messageEn = {"common.cancel":"Cancel","material.tutoring.runbox_confirm_dialog.action.confirm":"Proceed","material.tutoring.runbox_confirm_dialog.content":"The Runbox environment is currently running for the {_termCourseRoleStudent}. If you connect, the remaining total runtime usage time will decrease. Do you want to proceed?","material.tutoring.runbox_confirm_dialog.title":"Running Runbox","runbox.action.autoShutdown.title":"Always on","runbox.action.autoShutdown.tooltip":"This feature is not available for this session, as it's set to automatically shut down upon departure.","runbox.action.grade.dialog.description.error":"There is a problem with the code or submission file.\nPlease check the error message below and verify that the submission format meets the requirements. Then, submit again.","runbox.action.grade.dialog.description.success":"Grading completed successfully.","runbox.action.grade.dialog.title":"Grading result","runbox.action.grade.noti.error":"An error occurred while grading the code.","runbox.action.grade.title":"Submit","runbox.action.grade.tooltip.onProgress":"Grading is in progress. Please wait for a moment. Depending on the {_termLibraryLecturePage}, grading may take up to 3 minutes.","runbox.action.reset.dialog.actions.confirm":"Reset","runbox.action.reset.dialog.isolated.description":"Are you sure you want to reset the runbox code? Your codes will be overwritten to default code of {_termLibraryLecturePage}.\nAfter reset, the runbox session will be refreshed.","runbox.action.reset.dialog.shared.description":"Do you want to reset the Runbox code? If you reset, the code written by team members will also be overwritten with the default code. The Runbox session will be refreshed after resetting.","runbox.action.reset.noti.error":"An error occurred while initializing the runbox code.","runbox.action.reset.title":"Reset code","runbox.action.restart.dialog.actions.confirm":"Restart","runbox.action.restart.dialog.isolated.description":"Are you sure you want to restart the runbox?","runbox.action.restart.dialog.shared.description":"The Runbox will also restart on your teammates' screens. Do you want to restart the Runbox?","runbox.action.restart.title":"Restart runbox","runbox.action.share.snackbar.copied.fail":"Copying the runbox URL failed, please try again","runbox.action.share.snackbar.copied.success":"The runbox URL was copied successfully.","runbox.action.share.title":"Share runbox URL","runbox.action.submitCountInfo.dialog.description":"You have exceeded the submission count limit","runbox.action.submitCountInfo.dialog.title":"Limit the number of submissions","runbox.action.submitCountInfo.tooltip.disabled":"The submission count has been used up","runbox.action.submitLog.dialog.download.tooltip":"Download submitted file","runbox.action.submitLog.dialog.title":"Submission History","runbox.action.submitLog.empty":"No submission history exists.","runbox.action.submitLog.title":"Runbox Submission History","runbox.action.disconnect.dialog.title":"Disconnect Runbox","runbox.action.disconnect.dialog.description":"You are currently in a practice session. Do you want to disconnect Runbox?\nIf you have any unsaved work, please save it first.","runbox.action.disconnect.dialog.disconnect":"Disconnect","runbox.action.disconnect.title":"Disconnect","runbox.action.menu.title":"More","runbox.alert.title":"You are connected to the student's currently running environment, and the total runtime usage time is being deducted. Please note that even if the student exits Runbox, time will continue to be deducted as long as tutoring continues.","runbox.common.close":"Close","runbox.common.retry":"Retry","runbox.common.score":"{score} points","runbox.common.support":"Support","runbox.common.connect":"Connect","runbox.context.command.ping.error":"An error occurred while processing task.","runbox.header.submitInfo":"{isIndividual, select, true {} other {Team}} submission count | {remainCount}/{totalCount} times left {isDailyLimitEnabled, select, true {today} other {}}","runbox.timer.title":"Remaining Time","runbox.timer.unlimited":"Unlimited","runbox.timer.tooltip.title":"View time information","runbox.timer.popover.title":"Runbox Usage Time Guide","runbox.timer.popover.description":"This is the total Runbox usage time for {user}.\nTime continues to decrease while connected. Disconnect or leave the course to stop the deduction.","runbox.timer.popover.quota.title":"Total Available Time","runbox.timer.popover.quota_per_session.title":"Time Allocated for This Session","runbox.timer.popover.quota_per_session.description":"Each session can last up to {time}. Disconnecting and reconnecting will reset the session time.","runbox.timer.popover.quota.disconnect":"Disconnect","runbox.timer.popover.do_not_open":"Don't show this popup when starting a session","runbox.timer.almost_end.snackbar.quota_per_session":"{time} remaining for the time allocated for this session.","runbox.timer.almost_end.snackbar.quota":"{time} remaining for the total available Runbox usage time.","runbox.timer.almost_end.snackbar.detail":"Learn more","runbox.disk.almost_full.snackbar.almost_full":"The remaining disk space is {capacity}. If the space runs out, the session will end, so please save your ongoing work now.","runbox.runtime.message.lxp_plan_required":"Your institution currently does not support Runbox course materials.\nPlease contact your institution administrator for more details.","runbox.runtime.message.runbox_unavailable":"Runbox Unavailable","runbox.runtime.message.startError":"There was an error starting the runbox.","runbox.runtime.overlay.assigned.description":"(3 of 3)\nRunbox is running.\nPlease wait!","runbox.runtime.overlay.assigned.description_timeout":"(3 of 3)\nRunning the runbox is taking longer than we expected.\nPlease wait a little longer without refreshing!","runbox.runtime.overlay.queued.description":"(2 of 3)\nCurrently queued {waiters} times...","runbox.runtime.overlay.queued.description_zero":"(2 of 3)\nRunbox will run soon","runbox.runtime.overlay.terminated.description.default":"To continue your Runbox practice session, please click the Connect button.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"The disk space has been completely used up, and the practice session has ended.","runbox.runtime.overlay.terminated.description.quota_exceeded":"The runtime has been terminated because the usage time has expired.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"The runtime has been terminated because the per-session usage time has expired.\nTo reconnect to Runbox, please click the button below.","runbox.runtime.overlay.terminated.title":"Runtime disconnected","runbox.runtime.overlay.terminated.connect":"Connect","runbox.runtime.overlay.terminated.unlimited":"Unlimited","runbox.runtime.overlay.terminated.contact":"Contact Customer Service","runbox.runtime.overlay.terminated.quota.total":"Total Available Time","runbox.runtime.overlay.terminated.quota.used":"Total Time Used","runbox.runtime.overlay.terminated.disk.total":"Total Disk","runbox.runtime.overlay.terminated.disk.used":"Total Disk Used","runbox.runtime.overlay.conflicted.description":"Connecting to this Runbox exercise will terminate the Runbox in another course material.\nPlease save any unsaved work first.","runbox.runtime.overlay.conflicted.title":"A Runbox is currently connected to another course material","runbox.runtime.dialog.change_material.title":"Notice of Runbox Connection Change","runbox.runtime.dialog.change_material.description":"Connecting to this Runbox exercise will terminate the Runbox in another course material. Do you want to continue?"};
5
+ var messageEn = {"common.cancel":"Cancel","material.tutoring.runbox_confirm_dialog.action.confirm":"Proceed","material.tutoring.runbox_confirm_dialog.content":"The Runbox environment is currently running for the {_termCourseRoleStudent}. If you connect, the remaining total runtime usage time will decrease. Do you want to proceed?","material.tutoring.runbox_confirm_dialog.title":"Running Runbox","runbox.action.autoShutdown.title":"Always on","runbox.action.autoShutdown.tooltip":"This feature is not available for this session, as it's set to automatically shut down upon departure.","runbox.action.grade.dialog.description.error":"There is a problem with the code or submission file.\nPlease check the error message below and verify that the submission format meets the requirements. Then, submit again.","runbox.action.grade.dialog.description.success":"Grading completed successfully.","runbox.action.grade.dialog.title":"Grading result","runbox.action.grade.noti.error":"An error occurred while grading the code.","runbox.action.grade.title":"Submit","runbox.action.grade.tooltip.onProgress":"Grading is in progress. Please wait for a moment. Depending on the {_termLibraryLecturePage}, grading may take up to 3 minutes.","runbox.action.reset.dialog.actions.confirm":"Reset","runbox.action.reset.dialog.isolated.description":"Are you sure you want to reset the runbox code? Your codes will be overwritten to default code of {_termLibraryLecturePage}.\nAfter reset, the runbox session will be refreshed.","runbox.action.reset.dialog.shared.description":"Do you want to reset the Runbox code? If you reset, the code written by team members will also be overwritten with the default code. The Runbox session will be refreshed after resetting.","runbox.action.reset.noti.error":"An error occurred while initializing the runbox code.","runbox.action.reset.title":"Reset code","runbox.action.restart.dialog.actions.confirm":"Restart","runbox.action.restart.dialog.isolated.description":"Are you sure you want to restart the runbox?","runbox.action.restart.dialog.shared.description":"The Runbox will also restart on your teammates' screens. Do you want to restart the Runbox?","runbox.action.restart.title":"Restart runbox","runbox.action.share.snackbar.copied.fail":"Copying the runbox URL failed, please try again","runbox.action.share.snackbar.copied.success":"The runbox URL was copied successfully.","runbox.action.share.title":"Share runbox URL","runbox.action.submitCountInfo.dialog.description":"You have exceeded the submission count limit","runbox.action.submitCountInfo.dialog.title":"Limit the number of submissions","runbox.action.submitCountInfo.tooltip.disabled":"The submission count has been used up","runbox.action.submitLog.dialog.download.tooltip":"Download submitted file","runbox.action.submitLog.dialog.title":"Submission History","runbox.action.submitLog.empty":"No submission history exists.","runbox.action.submitLog.title":"Runbox Submission History","runbox.action.disconnect.dialog.title":"Disconnect Runbox","runbox.action.disconnect.dialog.description":"You are currently in a practice session. Do you want to disconnect Runbox?\nIf you have any unsaved work, please save it first.","runbox.action.disconnect.dialog.disconnect":"Disconnect","runbox.action.disconnect.title":"Disconnect","runbox.action.menu.title":"More","runbox.alert.title":"You are connected to the student's currently running environment, and the total runtime usage time is being deducted. Please note that even if the student exits Runbox, time will continue to be deducted as long as tutoring continues.","runbox.common.close":"Close","runbox.common.retry":"Retry","runbox.common.score":"{score} points","runbox.common.support":"Support","runbox.common.connect":"Connect","runbox.context.command.ping.error":"An error occurred while processing task.","runbox.header.submitInfo":"{isIndividual, select, true {} other {Team}} submission count | {remainCount}/{totalCount} times left {isDailyLimitEnabled, select, true {today} other {}}","runbox.timer.title":"Remaining Time","runbox.timer.unlimited":"Unlimited","runbox.timer.tooltip.title":"View time information","runbox.timer.popover.title":"Runbox Usage Time Guide","runbox.timer.popover.description":"This is the total Runbox usage time for {user}.\nTime continues to decrease while connected. Disconnect or leave the course to stop the deduction.","runbox.timer.popover.quota.title":"Total Available Time","runbox.timer.popover.quota_per_session.title":"Time Available for This Connection","runbox.timer.popover.quota_per_session.description":"Each connection can last up to {time}. If total available time remains, you can reconnect and continue practicing.","runbox.timer.popover.quota.disconnect":"Disconnect","runbox.timer.popover.do_not_open":"Don't show this popup when starting a session","runbox.timer.almost_end.dialog.quota.title":"{time} of total available time remaining.","runbox.timer.almost_end.dialog.quota.description":"When the total available time runs out, the practice session ends and you cannot reconnect.\nPlease save your work before it ends. Unsaved work may be lost.","runbox.timer.almost_end.dialog.quota_per_session.title":"{time} remaining in this connection.","runbox.timer.almost_end.dialog.quota_per_session.description":"When the connection time runs out, you will be disconnected. If total available time remains, you can reconnect and continue practicing.\nPlease save your work before it ends. Saved files are kept when you reconnect, but unsaved work may be lost.","runbox.timer.almost_end.dialog.confirm":"Continue","runbox.disk.almost_full.snackbar.almost_full":"The remaining disk space is {capacity}. If the space runs out, the session will end, so please save your ongoing work now.","runbox.runtime.message.lxp_plan_required":"Your institution currently does not support Runbox course materials.\nPlease contact your institution administrator for more details.","runbox.runtime.message.runbox_unavailable":"Runbox Unavailable","runbox.runtime.message.startError":"There was an error starting the runbox.","runbox.runtime.overlay.assigned.description":"(3 of 3)\nRunbox is running.\nPlease wait!","runbox.runtime.overlay.assigned.description_timeout":"(3 of 3)\nRunning the runbox is taking longer than we expected.\nPlease wait a little longer without refreshing!","runbox.runtime.overlay.queued.description":"(2 of 3)\nCurrently queued {waiters} times...","runbox.runtime.overlay.queued.description_zero":"(2 of 3)\nRunbox will run soon","runbox.runtime.overlay.terminated.description.default":"To continue your Runbox practice session, please click the Connect button.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"The disk space has been completely used up, and the practice session has ended.","runbox.runtime.overlay.terminated.description.quota_exceeded":"The runtime has been terminated because the usage time has expired.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"The runtime has been terminated because the per-session usage time has expired.\nTo reconnect to Runbox, please click the button below.","runbox.runtime.overlay.terminated.title":"Runtime disconnected","runbox.runtime.overlay.terminated.connect":"Connect","runbox.runtime.overlay.terminated.unlimited":"Unlimited","runbox.runtime.overlay.terminated.contact":"Contact Customer Service","runbox.runtime.overlay.terminated.quota.total":"Total Available Time","runbox.runtime.overlay.terminated.quota.used":"Total Time Used","runbox.runtime.overlay.terminated.disk.total":"Total Disk","runbox.runtime.overlay.terminated.disk.used":"Total Disk Used","runbox.runtime.overlay.conflicted.description":"Connecting to this Runbox exercise will terminate the Runbox in another course material.\nPlease save any unsaved work first.","runbox.runtime.overlay.conflicted.title":"A Runbox is currently connected to another course material","runbox.runtime.dialog.change_material.title":"Notice of Runbox Connection Change","runbox.runtime.dialog.change_material.description":"Connecting to this Runbox exercise will terminate the Runbox in another course material. Do you want to continue?","runbox.status.button.title":"Connection & resources","runbox.status.network":"Network status","runbox.status.runtime.connected":"Runtime connected","runbox.status.runtime.disconnected":"Runtime disconnected"};
6
6
 
7
7
  exports.default = messageEn;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ja = {"common.cancel":"キャンセル","material.tutoring.runbox_confirm_dialog.action.confirm":"進行","material.tutoring.runbox_confirm_dialog.content":"現在、{_termCourseRoleStudent} が実行中のランボックス環境です。接続すると、残りのランタイム使用時間が減少します。続行しますか?","material.tutoring.runbox_confirm_dialog.title":"実行中のランボックス","runbox.action.autoShutdown.title":"常にオン","runbox.action.autoShutdown.tooltip":"現在のセッションは離脱時に自動終了するため、この機能は使用できません。","runbox.action.grade.dialog.description.error":"コードまたは提出ファイルに問題があります。\n以下のエラーメッセージを確認し、提出形式が要件を満たしていることを確認してください。その後、再度提出してください。","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.isolated.description":"ランボックスのコードをリセットしてもよろしいですか? あなたのコードは {_termLibraryLecturePage} のデフォルトコードに上書きされます。\nリセット後、ランボックスのセッションがリフレッシュされます。","runbox.action.reset.dialog.shared.description":"Runboxのコードを初期化しますか?初期化すると、チームメンバーの画面でもコードがデフォルトに上書きされます。初期化後、Runboxセッションがリフレッシュされます。","runbox.action.reset.noti.error":"ランボックスコードの初期化中にエラーが発生しました。","runbox.action.reset.title":"リセットコード","runbox.action.restart.dialog.actions.confirm":"再起動","runbox.action.restart.dialog.isolated.description":"再起動してもよろしいですか?","runbox.action.restart.dialog.shared.description":"チームメンバーの画面でもRunboxが再起動されます。Runboxを再起動しますか?","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.action.disconnect.dialog.title":"Runboxの接続を解除","runbox.action.disconnect.dialog.description":"現在、実習を進行中です。Runboxの接続を解除しますか?\n保存していない内容がある場合は、先に保存してください。","runbox.action.disconnect.dialog.disconnect":"接続解除","runbox.action.disconnect.title":"接続解除","runbox.action.menu.title":"その他","runbox.alert.title":"現在、学生が実行中の環境に接続しているため、ランタイムの全使用時間が減少しています。学生がランボックスを終了しても、チュータリングを続ける限り、時間が引き続き減少するのでご注意ください。","runbox.common.close":"閉じる","runbox.common.retry":"リトライ","runbox.common.score":"{score}点","runbox.common.support":"サポート","runbox.common.connect":"接続する","runbox.context.command.ping.error":"タスクの処理中にエラーが発生しました。","runbox.header.submitInfo":"{isIndividual, select, true {個人} other {チーム}}の提出回数 | {remainCount}/{totalCount} 回残っています {isDailyLimitEnabled, select, true {今日} other {}}","runbox.timer.title":"残り時間","runbox.timer.unlimited":"無制限","runbox.timer.tooltip.title":"時間の案内を見る","runbox.timer.popover.title":"ランボックス使用時間の案内","runbox.timer.popover.description":"{user}のランボックス総使用時間です。\n接続中は時間が減り続けます。接続を解除するか授業を退出すると減少が止まります。","runbox.timer.popover.quota.title":"総使用可能時間","runbox.timer.popover.quota_per_session.title":"今回の実習に付与された時間","runbox.timer.popover.quota_per_session.description":"実習は最大{time}まで進行できます。接続を解除して再接続すると時間がリセットされます。","runbox.timer.popover.quota.disconnect":"接続を解除","runbox.timer.popover.do_not_open":"ランボックス実習時にこのポップアップを表示しない","runbox.timer.almost_end.snackbar.quota_per_session":"今回の実習に付与された時間が残り{time}です。","runbox.timer.almost_end.snackbar.quota":"Runboxの総利用可能時間は残り{time}です。","runbox.timer.almost_end.snackbar.detail":"詳細を見る","runbox.disk.almost_full.snackbar.almost_full":"ディスクの残り容量は {capacity} です。容量がすべてなくなると実習は終了しますので、進行中の作業を今すぐ保存してください。","runbox.runtime.message.lxp_plan_required":"現在、所属機関ではRunboxの学習資料を利用できません。\n詳細については機関の管理者にお問い合わせください。","runbox.runtime.message.runbox_unavailable":"Runboxは利用できません","runbox.runtime.message.startError":"ランボックスの起動中にエラーが発生しました。","runbox.runtime.overlay.assigned.description":"Runbox が実行中です。\nお待ちください!","runbox.runtime.overlay.assigned.description_timeout":"ランボックスを実行する時間が私たちの予想よりも長くかかっています。\n更新せずにもう少し待ってください!","runbox.runtime.overlay.queued.description":"現在{waiters}回待機中...","runbox.runtime.overlay.queued.description_zero":"Runboxはもうすぐ実行されます。","runbox.runtime.overlay.terminated.description.default":"Runboxの実習を続けるには、「接続」ボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.os_disk_is_full":"ディスク容量をすべて使い切ったため、実習は終了しました。","runbox.runtime.overlay.terminated.description.quota_exceeded":"ランタイムの利用時間が終了したため、ランタイムは停止されました。","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runboxセッションごとの利用時間が終了したため、ランタイムは停止されました。\nRunboxに再接続するには、下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.title":"接続解除","runbox.runtime.overlay.terminated.connect":"接続","runbox.runtime.overlay.terminated.unlimited":"無制限","runbox.runtime.overlay.terminated.contact":"カスタマーサービスにお問い合わせ","runbox.runtime.overlay.terminated.quota.total":"利用可能時間の合計","runbox.runtime.overlay.terminated.quota.used":"総利用時間","runbox.runtime.overlay.terminated.disk.total":"ディスク合計","runbox.runtime.overlay.terminated.disk.used":"使用済みディスク合計","runbox.runtime.overlay.conflicted.description":"このランボックス演習に接続すると、他の教材のランボックスは終了します。\n保存していない内容がある場合は、先に保存してください。","runbox.runtime.overlay.conflicted.title":"現在、他の教材にランボックスが接続されています","runbox.runtime.dialog.change_material.title":"ランボックス接続変更のお知らせ","runbox.runtime.dialog.change_material.description":"このランボックス演習に接続すると、他の教材のランボックスは終了します。続行しますか?"};
5
+ var ja = {"common.cancel":"キャンセル","material.tutoring.runbox_confirm_dialog.action.confirm":"進行","material.tutoring.runbox_confirm_dialog.content":"現在、{_termCourseRoleStudent} が実行中のランボックス環境です。接続すると、残りのランタイム使用時間が減少します。続行しますか?","material.tutoring.runbox_confirm_dialog.title":"実行中のランボックス","runbox.action.autoShutdown.title":"常にオン","runbox.action.autoShutdown.tooltip":"現在のセッションは離脱時に自動終了するため、この機能は使用できません。","runbox.action.grade.dialog.description.error":"コードまたは提出ファイルに問題があります。\n以下のエラーメッセージを確認し、提出形式が要件を満たしていることを確認してください。その後、再度提出してください。","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.isolated.description":"ランボックスのコードをリセットしてもよろしいですか? あなたのコードは {_termLibraryLecturePage} のデフォルトコードに上書きされます。\nリセット後、ランボックスのセッションがリフレッシュされます。","runbox.action.reset.dialog.shared.description":"Runboxのコードを初期化しますか?初期化すると、チームメンバーの画面でもコードがデフォルトに上書きされます。初期化後、Runboxセッションがリフレッシュされます。","runbox.action.reset.noti.error":"ランボックスコードの初期化中にエラーが発生しました。","runbox.action.reset.title":"リセットコード","runbox.action.restart.dialog.actions.confirm":"再起動","runbox.action.restart.dialog.isolated.description":"再起動してもよろしいですか?","runbox.action.restart.dialog.shared.description":"チームメンバーの画面でもRunboxが再起動されます。Runboxを再起動しますか?","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.action.disconnect.dialog.title":"Runboxの接続を解除","runbox.action.disconnect.dialog.description":"現在、実習を進行中です。Runboxの接続を解除しますか?\n保存していない内容がある場合は、先に保存してください。","runbox.action.disconnect.dialog.disconnect":"接続解除","runbox.action.disconnect.title":"接続解除","runbox.action.menu.title":"その他","runbox.alert.title":"現在、学生が実行中の環境に接続しているため、ランタイムの全使用時間が減少しています。学生がランボックスを終了しても、チュータリングを続ける限り、時間が引き続き減少するのでご注意ください。","runbox.common.close":"閉じる","runbox.common.retry":"リトライ","runbox.common.score":"{score}点","runbox.common.support":"サポート","runbox.common.connect":"接続する","runbox.context.command.ping.error":"タスクの処理中にエラーが発生しました。","runbox.header.submitInfo":"{isIndividual, select, true {個人} other {チーム}}の提出回数 | {remainCount}/{totalCount} 回残っています {isDailyLimitEnabled, select, true {今日} other {}}","runbox.timer.title":"残り時間","runbox.timer.unlimited":"無制限","runbox.timer.tooltip.title":"時間の案内を見る","runbox.timer.popover.title":"ランボックス使用時間の案内","runbox.timer.popover.description":"{user}のランボックス総使用時間です。\n接続中は時間が減り続けます。接続を解除するか授業を退出すると減少が止まります。","runbox.timer.popover.quota.title":"総使用可能時間","runbox.timer.popover.quota_per_session.title":"今回の接続で使用できる時間","runbox.timer.popover.quota_per_session.description":"一度接続すると最大{time}まで使用できます。総利用可能時間が残っていれば、再接続して実習を続けられます。","runbox.timer.popover.quota.disconnect":"接続を解除","runbox.timer.popover.do_not_open":"ランボックス実習時にこのポップアップを表示しない","runbox.timer.almost_end.dialog.quota.title":"総利用可能時間が残り{time}です。","runbox.timer.almost_end.dialog.quota.description":"総利用可能時間をすべて使い切ると実習が終了し、再接続できなくなります。\n作業中の内容は保存してから終了してください。保存していない内容は失われる可能性があります。","runbox.timer.almost_end.dialog.quota_per_session.title":"今回の接続時間が残り{time}です。","runbox.timer.almost_end.dialog.quota_per_session.description":"接続時間が終了すると接続が切断されます。総利用可能時間が残っていれば、再接続して実習を続けられます。\n作業中の内容は保存してから終了してください。保存したファイルは再接続後も維持されますが、保存していない内容は失われる可能性があります。","runbox.timer.almost_end.dialog.confirm":"続ける","runbox.disk.almost_full.snackbar.almost_full":"ディスクの残り容量は {capacity} です。容量がすべてなくなると実習は終了しますので、進行中の作業を今すぐ保存してください。","runbox.runtime.message.lxp_plan_required":"現在、所属機関ではRunboxの学習資料を利用できません。\n詳細については機関の管理者にお問い合わせください。","runbox.runtime.message.runbox_unavailable":"Runboxは利用できません","runbox.runtime.message.startError":"ランボックスの起動中にエラーが発生しました。","runbox.runtime.overlay.assigned.description":"Runbox が実行中です。\nお待ちください!","runbox.runtime.overlay.assigned.description_timeout":"ランボックスを実行する時間が私たちの予想よりも長くかかっています。\n更新せずにもう少し待ってください!","runbox.runtime.overlay.queued.description":"現在{waiters}回待機中...","runbox.runtime.overlay.queued.description_zero":"Runboxはもうすぐ実行されます。","runbox.runtime.overlay.terminated.description.default":"Runboxの実習を続けるには、「接続」ボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.os_disk_is_full":"ディスク容量をすべて使い切ったため、実習は終了しました。","runbox.runtime.overlay.terminated.description.quota_exceeded":"ランタイムの利用時間が終了したため、ランタイムは停止されました。","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runboxセッションごとの利用時間が終了したため、ランタイムは停止されました。\nRunboxに再接続するには、下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.title":"接続解除","runbox.runtime.overlay.terminated.connect":"接続","runbox.runtime.overlay.terminated.unlimited":"無制限","runbox.runtime.overlay.terminated.contact":"カスタマーサービスにお問い合わせ","runbox.runtime.overlay.terminated.quota.total":"利用可能時間の合計","runbox.runtime.overlay.terminated.quota.used":"総利用時間","runbox.runtime.overlay.terminated.disk.total":"ディスク合計","runbox.runtime.overlay.terminated.disk.used":"使用済みディスク合計","runbox.runtime.overlay.conflicted.description":"このランボックス演習に接続すると、他の教材のランボックスは終了します。\n保存していない内容がある場合は、先に保存してください。","runbox.runtime.overlay.conflicted.title":"現在、他の教材にランボックスが接続されています","runbox.runtime.dialog.change_material.title":"ランボックス接続変更のお知らせ","runbox.runtime.dialog.change_material.description":"このランボックス演習に接続すると、他の教材のランボックスは終了します。続行しますか?","runbox.status.button.title":"接続状態とリソース","runbox.status.network":"ネットワーク状態","runbox.status.runtime.connected":"ランタイム接続済み","runbox.status.runtime.disconnected":"ランタイム未接続"};
6
6
 
7
7
  exports.default = ja;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var messageKo = {"common.cancel":"취소","material.tutoring.runbox_confirm_dialog.action.confirm":"진행","material.tutoring.runbox_confirm_dialog.content":"현재 {_termCourseRoleStudent}이/가 실행 중인 런박스 환경입니다. 접속할 경우 남은 런타임 전체 사용 시간이 줄어듭니다. 계속 진행하시겠습니까?","material.tutoring.runbox_confirm_dialog.title":"실행 중인 런박스","runbox.action.autoShutdown.title":"항상 켜두기","runbox.action.autoShutdown.tooltip":"현재 이탈 시 종료되는 실습으로 해당 기능을 사용할 수 없습니다.","runbox.action.grade.dialog.description.error":"코드 또는 제출 파일에 문제가 있어 제출에 실패했습니다.\n아래 오류 메시지를 참고하여 제출 형식이 요구사항에 맞는지 확인한 뒤, 다시 제출해주세요.","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.isolated.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 학습{_termLibraryLecturePage}의 코드가 기본 코드로 덮어씌워집니다.\n초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.dialog.shared.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 팀원들의 화면에서도 작성한 코드가 기본 코드로 덮어씌워집니다. 초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.noti.error":"런박스 코드를 초기화 하는 중에 오류가 발생했습니다.","runbox.action.reset.title":"코드 초기화","runbox.action.restart.dialog.actions.confirm":"재시작","runbox.action.restart.dialog.isolated.description":"런박스를 재시작 하시겠습니까?","runbox.action.restart.dialog.shared.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.action.disconnect.dialog.title":"런박스 연결 해제","runbox.action.disconnect.dialog.description":"현재 실습을 진행중 입니다. 런박스를 연결 해제하시겠습니까?\n저장하지 않은 내용이 있다면 먼저 저장해 주세요.","runbox.action.disconnect.dialog.disconnect":"연결 해제","runbox.action.disconnect.title":"연결 해제","runbox.action.menu.title":"더보기","runbox.alert.title":"현재 학생이 실행 중인 환경에 접속하였기 때문에, 런타임 전체 사용 시간이 차감되고 있습니다. 학생이 런박스를 종료하더라도, 튜터링을 진행하면 시간이 계속 차감되니 유의해 주세요.","runbox.common.close":"닫기","runbox.common.retry":"재시도","runbox.common.score":"{score}점","runbox.common.support":"고객센터","runbox.common.connect":"연결하기","runbox.context.command.ping.error":"런박스 작업을 수행하는 도중 오류가 발생했습니다.","runbox.header.submitInfo":"{isIndividual, select, true {} other {팀}} 제출 횟수 | {isDailyLimitEnabled, select, true {오늘} other {}} {remainCount}/{totalCount}회 남음","runbox.timer.title":"남은 시간","runbox.timer.unlimited":"제한없음","runbox.timer.tooltip.title":"시간 안내 보기","runbox.timer.popover.title":"런박스 사용 시간 안내","runbox.timer.popover.description":"{user}님의 런박스 총 사용 시간입니다.\n연결 중에는 시간이 계속 차감되며, 연결을 종료하거나 수업을 나가면 차감이 멈춥니다.","runbox.timer.popover.quota.title":"총 사용 가능 시간","runbox.timer.popover.quota_per_session.title":"이번 실습에 부여된 시간","runbox.timer.popover.quota_per_session.description":"실습은 최대 {time}까지 진행할 수 있습니다. 연결을 종료하고 다시 시작하면 시간이 초기화됩니다.","runbox.timer.popover.quota.disconnect":"연결 해제","runbox.timer.popover.do_not_open":"런박스 실습 시 해당 팝업을 열지않기","runbox.timer.almost_end.snackbar.quota_per_session":"이번 실습에 부여된 시간이 {time} 남았습니다.","runbox.timer.almost_end.snackbar.quota":"런박스 총 사용 가능 시간이 {time} 남았습니다.","runbox.timer.almost_end.snackbar.detail":" 알아보기","runbox.disk.almost_full.snackbar.almost_full":"디스크 잔여 용량이 {capacity}입니다. 용량이 모두 소진되면 실습이 종료되니,\n진행 중인 작업을 지금 저장해 주세요.","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":"런박스 실습을 진행하시려면, 연결하기 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"디스크 용량을 모두 소진하여 실습이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_exceeded":"런타임 사용시간이 만료되어 런타임이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"런박스 세션당 사용시간이 만료되어 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.title":"연결 해제","runbox.runtime.overlay.terminated.connect":"연결하기","runbox.runtime.overlay.terminated.unlimited":"제한 없음","runbox.runtime.overlay.terminated.contact":"고객센터 문의하기","runbox.runtime.overlay.terminated.quota.total":"전체 사용 가능 시간","runbox.runtime.overlay.terminated.quota.used":"총 사용 시간","runbox.runtime.overlay.terminated.disk.total":"전체 디스크","runbox.runtime.overlay.terminated.disk.used":"총 사용 디스크","runbox.runtime.overlay.conflicted.description":"이 런박스 실습을 연결하면 다른 수업자료의 런박스는 종료됩니다.\n저장하지 않은 내용이 있다면 먼저 저장해 주세요.","runbox.runtime.overlay.conflicted.title":"현재 다른 수업자료에 런박스가 연결되어 있습니다","runbox.runtime.dialog.change_material.title":"런박스 연결 변경 안내","runbox.runtime.dialog.change_material.description":"이 런박스 실습을 연결하면 다른 수업자료의 런박스는 종료됩니다. 계속하시겠습니까?"};
5
+ var messageKo = {"common.cancel":"취소","material.tutoring.runbox_confirm_dialog.action.confirm":"진행","material.tutoring.runbox_confirm_dialog.content":"현재 {_termCourseRoleStudent}이/가 실행 중인 런박스 환경입니다. 접속할 경우 남은 런타임 전체 사용 시간이 줄어듭니다. 계속 진행하시겠습니까?","material.tutoring.runbox_confirm_dialog.title":"실행 중인 런박스","runbox.action.autoShutdown.title":"항상 켜두기","runbox.action.autoShutdown.tooltip":"현재 이탈 시 종료되는 실습으로 해당 기능을 사용할 수 없습니다.","runbox.action.grade.dialog.description.error":"코드 또는 제출 파일에 문제가 있어 제출에 실패했습니다.\n아래 오류 메시지를 참고하여 제출 형식이 요구사항에 맞는지 확인한 뒤, 다시 제출해주세요.","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.isolated.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 학습{_termLibraryLecturePage}의 코드가 기본 코드로 덮어씌워집니다.\n초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.dialog.shared.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 팀원들의 화면에서도 작성한 코드가 기본 코드로 덮어씌워집니다. 초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.noti.error":"런박스 코드를 초기화 하는 중에 오류가 발생했습니다.","runbox.action.reset.title":"코드 초기화","runbox.action.restart.dialog.actions.confirm":"재시작","runbox.action.restart.dialog.isolated.description":"런박스를 재시작 하시겠습니까?","runbox.action.restart.dialog.shared.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.action.disconnect.dialog.title":"런박스 연결 해제","runbox.action.disconnect.dialog.description":"현재 실습을 진행중 입니다. 런박스를 연결 해제하시겠습니까?\n저장하지 않은 내용이 있다면 먼저 저장해 주세요.","runbox.action.disconnect.dialog.disconnect":"연결 해제","runbox.action.disconnect.title":"연결 해제","runbox.action.menu.title":"더보기","runbox.alert.title":"현재 학생이 실행 중인 환경에 접속하였기 때문에, 런타임 전체 사용 시간이 차감되고 있습니다. 학생이 런박스를 종료하더라도, 튜터링을 진행하면 시간이 계속 차감되니 유의해 주세요.","runbox.common.close":"닫기","runbox.common.retry":"재시도","runbox.common.score":"{score}점","runbox.common.support":"고객센터","runbox.common.connect":"연결하기","runbox.context.command.ping.error":"런박스 작업을 수행하는 도중 오류가 발생했습니다.","runbox.header.submitInfo":"{isIndividual, select, true {} other {팀}} 제출 횟수 | {isDailyLimitEnabled, select, true {오늘} other {}} {remainCount}/{totalCount}회 남음","runbox.timer.title":"남은 시간","runbox.timer.unlimited":"제한없음","runbox.timer.tooltip.title":"시간 안내 보기","runbox.timer.popover.title":"런박스 사용 시간 안내","runbox.timer.popover.description":"{user}님의 런박스 총 사용 시간입니다.\n연결 중에는 시간이 계속 차감되며, 연결을 종료하거나 수업을 나가면 차감이 멈춥니다.","runbox.timer.popover.quota.title":"총 사용 가능 시간","runbox.timer.popover.quota_per_session.title":"이번 접속에서 사용할 수 있는 시간","runbox.timer.popover.quota_per_session.description":" 번 접속하면 최대 {time}까지 사용할 수 있습니다. 사용 가능 시간이 남아 있으면 다시 접속해 이어서 실습할 수 있습니다.","runbox.timer.popover.quota.disconnect":"연결 해제","runbox.timer.popover.do_not_open":"런박스 실습 시 해당 팝업을 열지않기","runbox.timer.almost_end.dialog.quota.title":" 사용 가능 시간 {time} 남았습니다.","runbox.timer.almost_end.dialog.quota.description":"총 사용 가능 시간이 모두 소진되면 실습이 종료되며, 더 이상 접속할 수 없습니다.\n작업 중인 내용은 저장 후 종료해 주세요. 저장하지 않은 내용은 사라질 수 있습니다.","runbox.timer.almost_end.dialog.quota_per_session.title":"이번 접속 시간이 {time} 남았습니다.","runbox.timer.almost_end.dialog.quota_per_session.description":"접속 시간이 종료되면 연결이 종료됩니다. 총 사용 가능 시간이 남아 있으면 다시 접속해 이어서 실습할 수 있습니다.\n작업 중인 내용은 저장 후 종료해 주세요. 저장한 파일은 다시 접속해도 유지되며, 저장하지 않은 내용은 사라질 수 있습니다.","runbox.timer.almost_end.dialog.confirm":"계속하기","runbox.disk.almost_full.snackbar.almost_full":"디스크 잔여 용량이 {capacity}입니다. 용량이 모두 소진되면 실습이 종료되니,\n진행 중인 작업을 지금 저장해 주세요.","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":"런박스 실습을 진행하시려면, 연결하기 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"디스크 용량을 모두 소진하여 실습이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_exceeded":"런타임 사용시간이 만료되어 런타임이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"런박스 세션당 사용시간이 만료되어 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.title":"연결 해제","runbox.runtime.overlay.terminated.connect":"연결하기","runbox.runtime.overlay.terminated.unlimited":"제한 없음","runbox.runtime.overlay.terminated.contact":"고객센터 문의하기","runbox.runtime.overlay.terminated.quota.total":"전체 사용 가능 시간","runbox.runtime.overlay.terminated.quota.used":"총 사용 시간","runbox.runtime.overlay.terminated.disk.total":"전체 디스크","runbox.runtime.overlay.terminated.disk.used":"총 사용 디스크","runbox.runtime.overlay.conflicted.description":"이 런박스 실습을 연결하면 다른 수업자료의 런박스는 종료됩니다.\n저장하지 않은 내용이 있다면 먼저 저장해 주세요.","runbox.runtime.overlay.conflicted.title":"현재 다른 수업자료에 런박스가 연결되어 있습니다","runbox.runtime.dialog.change_material.title":"런박스 연결 변경 안내","runbox.runtime.dialog.change_material.description":"이 런박스 실습을 연결하면 다른 수업자료의 런박스는 종료됩니다. 계속하시겠습니까?","runbox.status.button.title":"연결 상태 및 리소스","runbox.status.network":"네트워크 상태","runbox.status.runtime.connected":"런타임 연결됨","runbox.status.runtime.disconnected":"런타임 연결 끊김"};
6
6
 
7
7
  exports.default = messageKo;
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var th = {"common.cancel":"ยกเลิก","material.tutoring.runbox_confirm_dialog.action.confirm":"ดำเนินการ","material.tutoring.runbox_confirm_dialog.content":"ขณะนี้นักเรียน {_termCourseRoleStudent} กำลังทำงานในสภาพแวดล้อม Runbox หากคุณเชื่อมต่อ เวลาที่เหลือสำหรับการใช้งานรันไทม์ทั้งหมดจะลดลง คุณต้องการดำเนินการต่อหรือไม่?","material.tutoring.runbox_confirm_dialog.title":"รันบ็อกซ์กำลังทำงาน","runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip":"คุณสมบัตินี้ไม่สามารถใช้งานได้ในเซสชันนี้ เนื่องจากมีการตั้งค่าให้ปิดการทำงานอัตโนมัติเมื่อออก","runbox.action.grade.dialog.description.error":"มีปัญหาในโค้ดหรือไฟล์ที่ส่ง\nกรุณาตรวจสอบข้อความข้อผิดพลาดด้านล่างและตรวจสอบว่ารูปแบบการส่งตรงกับความต้องการ จากนั้นส่งอีกครั้ง","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.isolated.description":"ต้องการรีเซ็ตโค้ด Runbox หรือไม่? การรีเซ็ตจะแทนที่โค้ดของคุณด้วยโค้ดเริ่มต้นของหน้าเรียน {_termLibraryLecturePage} \nเซสชัน Runbox จะรีเฟรชหลังจากรีเซ็ต","runbox.action.reset.dialog.shared.description":"คุณต้องการรีเซ็ตโค้ดของ Runbox หรือไม่? หากทำการรีเซ็ต โค้ดที่ทีมเขียนไว้จะถูกเขียนทับด้วยโค้ดเริ่มต้น และเซสชันของ Runbox จะถูกรีเฟรชหลังจากนั้น","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดระหว่างการรีเซ็ตโค้ด Runbox","runbox.action.reset.title":"รีเซ็ตโค้ด","runbox.action.restart.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.restart.dialog.isolated.description":"ต้องการเริ่มต้น Runbox ใหม่หรือไม่?","runbox.action.restart.dialog.shared.description":"Runbox จะเริ่มต้นใหม่บนหน้าจอของเพื่อนร่วมทีมด้วย คุณต้องการเริ่มต้น 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.action.disconnect.dialog.title":"ยกเลิกการเชื่อมต่อ Runbox","runbox.action.disconnect.dialog.description":"คุณกำลังอยู่ในระหว่างการฝึกปฏิบัติ ต้องการยกเลิกการเชื่อมต่อ Runbox หรือไม่?\nหากมีงานที่ยังไม่ได้บันทึก กรุณาบันทึกก่อน","runbox.action.disconnect.dialog.disconnect":"ยกเลิกการเชื่อมต่อ","runbox.action.disconnect.title":"ยกเลิกการเชื่อมต่อ","runbox.action.menu.title":"เพิ่มเติม","runbox.alert.title":"คุณได้เชื่อมต่อกับสภาพแวดล้อมที่นักเรียนกำลังทำงานอยู่ และเวลาใช้งานรันไทม์ทั้งหมดกำลังถูกหัก โปรดทราบว่าหากนักเรียนออกจากรันบ็อกซ์ แต่การให้คำปรึกษายังดำเนินต่อไป เวลาจะยังคงถูกหัก","runbox.common.close":"ปิด","runbox.common.retry":"ลองใหม่","runbox.common.score":"{score} คะแนน","runbox.common.support":"สนับสนุน","runbox.common.connect":"เชื่อมต่อ","runbox.context.command.ping.error":"เกิดข้อผิดพลาดขณะดำเนินการ Runbox","runbox.header.submitInfo":"{isIndividual, select, true {การส่งแบบส่วนตัว} other {การส่งแบบทีม}} | {remainCount}/{totalCount} ครั้งที่เหลือ | {isDailyLimitEnabled, select, true {วันนี้} other {}} ","runbox.timer.title":"เวลาที่เหลือ","runbox.timer.unlimited":"ไม่จำกัด","runbox.timer.tooltip.title":"ดูข้อมูลเวลา","runbox.timer.popover.title":"คู่มือเวลาใช้งาน Runbox","runbox.timer.popover.description":"นี่คือเวลาใช้งาน Runbox ทั้งหมดของ {user}\nเวลาจะถูกหักออกอย่างต่อเนื่องขณะเชื่อมต่อ ยกเลิกการเชื่อมต่อหรือออกจากบทเรียนเพื่อหยุดการหักเวลา","runbox.timer.popover.quota.title":"เวลาที่สามารถใช้งานได้ทั้งหมด","runbox.timer.popover.quota_per_session.title":"เวลาที่จัดสรรสำหรับเซสชันนี้","runbox.timer.popover.quota_per_session.description":"แต่ละเซสชันสามารถดำเนินการได้สูงสุด {time} การยกเลิกการเชื่อมต่อและเชื่อมต่อใหม่จะรีเซ็ตเวลาเซสชัน","runbox.timer.popover.quota.disconnect":"ตัดการเชื่อมต่อ","runbox.timer.popover.do_not_open":"ไม่แสดงป๊อปอัปนี้เมื่อเริ่มเซสชัน","runbox.timer.almost_end.snackbar.quota_per_session":"เหลือเวลา {time} สำหรับเซสชันนี้","runbox.timer.almost_end.snackbar.quota":"เหลือเวลาใช้งาน Runbox ทั้งหมด {time}","runbox.timer.almost_end.snackbar.detail":"ดูเพิ่มเติม","runbox.disk.almost_full.snackbar.almost_full":"พื้นที่ดิสก์ที่เหลืออยู่คือ {capacity} หากพื้นที่หมด การฝึกปฏิบัติจะสิ้นสุดลง กรุณาบันทึกงานที่กำลังทำอยู่ตอนนี้","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 ต่อ กรุณาคลิกปุ่มเชื่อมต่อ","runbox.runtime.overlay.terminated.description.os_disk_is_full":"พื้นที่ดิสก์ถูกใช้งานจนหมดแล้ว การฝึกปฏิบัติได้สิ้นสุดลง","runbox.runtime.overlay.terminated.description.quota_exceeded":"รันไทม์ถูกยกเลิกเนื่องจากเวลาการใช้งานหมดอายุแล้ว","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"รันไทม์ถูกยกเลิกเนื่องจากเวลาการใช้งานต่อเซสชันหมดอายุแล้ว\nหากต้องการเชื่อมต่อกับ Runbox อีกครั้ง กรุณากดปุ่มด้านล่าง","runbox.runtime.overlay.terminated.title":"การเชื่อมต่อถูกยกเลิก","runbox.runtime.overlay.terminated.connect":"เชื่อมต่อ","runbox.runtime.overlay.terminated.unlimited":"ไม่จำกัด","runbox.runtime.overlay.terminated.contact":"ติดต่อฝ่ายบริการลูกค้า","runbox.runtime.overlay.terminated.quota.total":"เวลาที่สามารถใช้งานได้ทั้งหมด","runbox.runtime.overlay.terminated.quota.used":"เวลาที่ใช้ไปทั้งหมด","runbox.runtime.overlay.terminated.disk.total":"พื้นที่ดิสก์ทั้งหมด","runbox.runtime.overlay.terminated.disk.used":"พื้นที่ดิสก์ที่ใช้ไปทั้งหมด","runbox.runtime.overlay.conflicted.description":"การเชื่อมต่อกับการฝึก Runbox นี้จะยุติการทำงานของ Runbox ในสื่อการสอนอื่น\nกรุณาบันทึกงานที่ยังไม่ได้บันทึกก่อน","runbox.runtime.overlay.conflicted.title":"ขณะนี้ Runbox เชื่อมต่อกับสื่อการสอนอื่นอยู่","runbox.runtime.dialog.change_material.title":"ประกาศการเปลี่ยนการเชื่อมต่อ Runbox","runbox.runtime.dialog.change_material.description":"การเชื่อมต่อกับการฝึก Runbox นี้จะยุติการทำงานของ Runbox ในสื่อการสอนอื่น คุณต้องการดำเนินการต่อหรือไม่?"};
5
+ var th = {"common.cancel":"ยกเลิก","material.tutoring.runbox_confirm_dialog.action.confirm":"ดำเนินการ","material.tutoring.runbox_confirm_dialog.content":"ขณะนี้นักเรียน {_termCourseRoleStudent} กำลังทำงานในสภาพแวดล้อม Runbox หากคุณเชื่อมต่อ เวลาที่เหลือสำหรับการใช้งานรันไทม์ทั้งหมดจะลดลง คุณต้องการดำเนินการต่อหรือไม่?","material.tutoring.runbox_confirm_dialog.title":"รันบ็อกซ์กำลังทำงาน","runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip":"คุณสมบัตินี้ไม่สามารถใช้งานได้ในเซสชันนี้ เนื่องจากมีการตั้งค่าให้ปิดการทำงานอัตโนมัติเมื่อออก","runbox.action.grade.dialog.description.error":"มีปัญหาในโค้ดหรือไฟล์ที่ส่ง\nกรุณาตรวจสอบข้อความข้อผิดพลาดด้านล่างและตรวจสอบว่ารูปแบบการส่งตรงกับความต้องการ จากนั้นส่งอีกครั้ง","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.isolated.description":"ต้องการรีเซ็ตโค้ด Runbox หรือไม่? การรีเซ็ตจะแทนที่โค้ดของคุณด้วยโค้ดเริ่มต้นของหน้าเรียน {_termLibraryLecturePage} \nเซสชัน Runbox จะรีเฟรชหลังจากรีเซ็ต","runbox.action.reset.dialog.shared.description":"คุณต้องการรีเซ็ตโค้ดของ Runbox หรือไม่? หากทำการรีเซ็ต โค้ดที่ทีมเขียนไว้จะถูกเขียนทับด้วยโค้ดเริ่มต้น และเซสชันของ Runbox จะถูกรีเฟรชหลังจากนั้น","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดระหว่างการรีเซ็ตโค้ด Runbox","runbox.action.reset.title":"รีเซ็ตโค้ด","runbox.action.restart.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.restart.dialog.isolated.description":"ต้องการเริ่มต้น Runbox ใหม่หรือไม่?","runbox.action.restart.dialog.shared.description":"Runbox จะเริ่มต้นใหม่บนหน้าจอของเพื่อนร่วมทีมด้วย คุณต้องการเริ่มต้น 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.action.disconnect.dialog.title":"ยกเลิกการเชื่อมต่อ Runbox","runbox.action.disconnect.dialog.description":"คุณกำลังอยู่ในระหว่างการฝึกปฏิบัติ ต้องการยกเลิกการเชื่อมต่อ Runbox หรือไม่?\nหากมีงานที่ยังไม่ได้บันทึก กรุณาบันทึกก่อน","runbox.action.disconnect.dialog.disconnect":"ยกเลิกการเชื่อมต่อ","runbox.action.disconnect.title":"ยกเลิกการเชื่อมต่อ","runbox.action.menu.title":"เพิ่มเติม","runbox.alert.title":"คุณได้เชื่อมต่อกับสภาพแวดล้อมที่นักเรียนกำลังทำงานอยู่ และเวลาใช้งานรันไทม์ทั้งหมดกำลังถูกหัก โปรดทราบว่าหากนักเรียนออกจากรันบ็อกซ์ แต่การให้คำปรึกษายังดำเนินต่อไป เวลาจะยังคงถูกหัก","runbox.common.close":"ปิด","runbox.common.retry":"ลองใหม่","runbox.common.score":"{score} คะแนน","runbox.common.support":"สนับสนุน","runbox.common.connect":"เชื่อมต่อ","runbox.context.command.ping.error":"เกิดข้อผิดพลาดขณะดำเนินการ Runbox","runbox.header.submitInfo":"{isIndividual, select, true {การส่งแบบส่วนตัว} other {การส่งแบบทีม}} | {remainCount}/{totalCount} ครั้งที่เหลือ | {isDailyLimitEnabled, select, true {วันนี้} other {}} ","runbox.timer.title":"เวลาที่เหลือ","runbox.timer.unlimited":"ไม่จำกัด","runbox.timer.tooltip.title":"ดูข้อมูลเวลา","runbox.timer.popover.title":"คู่มือเวลาใช้งาน Runbox","runbox.timer.popover.description":"นี่คือเวลาใช้งาน Runbox ทั้งหมดของ {user}\nเวลาจะถูกหักออกอย่างต่อเนื่องขณะเชื่อมต่อ ยกเลิกการเชื่อมต่อหรือออกจากบทเรียนเพื่อหยุดการหักเวลา","runbox.timer.popover.quota.title":"เวลาที่สามารถใช้งานได้ทั้งหมด","runbox.timer.popover.quota_per_session.title":"เวลาที่ใช้ได้ในการเชื่อมต่อครั้งนี้","runbox.timer.popover.quota_per_session.description":"การเชื่อมต่อหนึ่งครั้งใช้ได้สูงสุด {time} หากยังมีเวลาใช้งานทั้งหมดเหลืออยู่ คุณสามารถเชื่อมต่อใหม่เพื่อฝึกปฏิบัติต่อได้","runbox.timer.popover.quota.disconnect":"ตัดการเชื่อมต่อ","runbox.timer.popover.do_not_open":"ไม่แสดงป๊อปอัปนี้เมื่อเริ่มเซสชัน","runbox.timer.almost_end.dialog.quota.title":"เหลือเวลาใช้งานทั้งหมด {time}","runbox.timer.almost_end.dialog.quota.description":"เมื่อเวลาใช้งานทั้งหมดหมดลง การฝึกปฏิบัติจะสิ้นสุดและไม่สามารถเชื่อมต่อได้อีก\nกรุณาบันทึกงานของคุณก่อนสิ้นสุด งานที่ไม่ได้บันทึกอาจสูญหาย","runbox.timer.almost_end.dialog.quota_per_session.title":"เหลือเวลาในการเชื่อมต่อครั้งนี้ {time}","runbox.timer.almost_end.dialog.quota_per_session.description":"เมื่อเวลาเชื่อมต่อสิ้นสุด ระบบจะตัดการเชื่อมต่อ หากยังมีเวลาใช้งานทั้งหมดเหลืออยู่ คุณสามารถเชื่อมต่อใหม่เพื่อฝึกปฏิบัติต่อได้\nกรุณาบันทึกงานของคุณก่อนสิ้นสุด ไฟล์ที่บันทึกไว้จะยังคงอยู่เมื่อเชื่อมต่อใหม่ แต่งานที่ไม่ได้บันทึกอาจสูญหาย","runbox.timer.almost_end.dialog.confirm":"ดำเนินการต่อ","runbox.disk.almost_full.snackbar.almost_full":"พื้นที่ดิสก์ที่เหลืออยู่คือ {capacity} หากพื้นที่หมด การฝึกปฏิบัติจะสิ้นสุดลง กรุณาบันทึกงานที่กำลังทำอยู่ตอนนี้","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 ต่อ กรุณาคลิกปุ่มเชื่อมต่อ","runbox.runtime.overlay.terminated.description.os_disk_is_full":"พื้นที่ดิสก์ถูกใช้งานจนหมดแล้ว การฝึกปฏิบัติได้สิ้นสุดลง","runbox.runtime.overlay.terminated.description.quota_exceeded":"รันไทม์ถูกยกเลิกเนื่องจากเวลาการใช้งานหมดอายุแล้ว","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"รันไทม์ถูกยกเลิกเนื่องจากเวลาการใช้งานต่อเซสชันหมดอายุแล้ว\nหากต้องการเชื่อมต่อกับ Runbox อีกครั้ง กรุณากดปุ่มด้านล่าง","runbox.runtime.overlay.terminated.title":"การเชื่อมต่อถูกยกเลิก","runbox.runtime.overlay.terminated.connect":"เชื่อมต่อ","runbox.runtime.overlay.terminated.unlimited":"ไม่จำกัด","runbox.runtime.overlay.terminated.contact":"ติดต่อฝ่ายบริการลูกค้า","runbox.runtime.overlay.terminated.quota.total":"เวลาที่สามารถใช้งานได้ทั้งหมด","runbox.runtime.overlay.terminated.quota.used":"เวลาที่ใช้ไปทั้งหมด","runbox.runtime.overlay.terminated.disk.total":"พื้นที่ดิสก์ทั้งหมด","runbox.runtime.overlay.terminated.disk.used":"พื้นที่ดิสก์ที่ใช้ไปทั้งหมด","runbox.runtime.overlay.conflicted.description":"การเชื่อมต่อกับการฝึก Runbox นี้จะยุติการทำงานของ Runbox ในสื่อการสอนอื่น\nกรุณาบันทึกงานที่ยังไม่ได้บันทึกก่อน","runbox.runtime.overlay.conflicted.title":"ขณะนี้ Runbox เชื่อมต่อกับสื่อการสอนอื่นอยู่","runbox.runtime.dialog.change_material.title":"ประกาศการเปลี่ยนการเชื่อมต่อ Runbox","runbox.runtime.dialog.change_material.description":"การเชื่อมต่อกับการฝึก Runbox นี้จะยุติการทำงานของ Runbox ในสื่อการสอนอื่น คุณต้องการดำเนินการต่อหรือไม่?","runbox.status.button.title":"สถานะการเชื่อมต่อและทรัพยากร","runbox.status.network":"สถานะเครือข่าย","runbox.status.runtime.connected":"รันไทม์เชื่อมต่อแล้ว","runbox.status.runtime.disconnected":"รันไทม์ถูกตัดการเชื่อมต่อ"};
6
6
 
7
7
  exports.default = th;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ export interface MaterialRunboxStatusButtonProps {
3
+ /**
4
+ * Bottom action slot of the popover.
5
+ *
6
+ * NOTICE: the "실습 환경 초기화" button is out of scope for PLAT-4181.
7
+ * PLAT-4184 injects it here.
8
+ */
9
+ bottomAction?: React.ReactNode;
10
+ }
11
+ /**
12
+ * Opens the runbox connection/resource status popover.
13
+ *
14
+ * Replaces the always-visible resource stats of the removed footer,
15
+ * so the numbers are only shown on explicit request. (`[R-5]` `[R-6]`)
16
+ */
17
+ declare const MaterialRunboxStatusButton: React.FC<MaterialRunboxStatusButtonProps>;
18
+ export default MaterialRunboxStatusButton;
@@ -0,0 +1,88 @@
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 runboxClient = require('@elice/runbox-client');
11
+ var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
12
+ var material = require('@mui/material');
13
+ var MaterialRunboxStatusPopover = require('./MaterialRunboxStatusPopover.js');
14
+
15
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
+
17
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
+
19
+ //
20
+ //
21
+ //
22
+ /**
23
+ * Opens the runbox connection/resource status popover.
24
+ *
25
+ * Replaces the always-visible resource stats of the removed footer,
26
+ * so the numbers are only shown on explicit request. (`[R-5]` `[R-6]`)
27
+ */
28
+ var MaterialRunboxStatusButton = function MaterialRunboxStatusButton(_ref) {
29
+ var bottomAction = _ref.bottomAction;
30
+ var intl$1 = intl.useRawEliceIntl();
31
+ var _useEliceRunboxRunnin = runboxClient.useEliceRunboxRunning(),
32
+ status = _useEliceRunboxRunnin.status;
33
+ var _React$useState = React__default.default.useState(null),
34
+ _React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
35
+ anchorEl = _React$useState2[0],
36
+ setAnchorEl = _React$useState2[1];
37
+ var isRunboxRunning = status === 'running';
38
+ /**
39
+ *
40
+ */
41
+ var handleClose = function handleClose() {
42
+ setAnchorEl(null);
43
+ };
44
+ //
45
+ //
46
+ //
47
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
48
+ children: [jsxRuntime.jsx(material.Button, {
49
+ variant: "text",
50
+ size: "small",
51
+ startIcon: jsxRuntime.jsx(muiElements.EliceIcon, {
52
+ icon: proSolidSvgIcons.faWifi
53
+ }),
54
+ endIcon: jsxRuntime.jsx(muiElements.EliceIcon, {
55
+ icon: proSolidSvgIcons.faAngleDown
56
+ }),
57
+ sx: _rollupPluginBabelHelpers.defineProperty({}, "& .".concat(material.buttonClasses.startIcon), {
58
+ color: isRunboxRunning ? 'success.main' : 'text.disabled'
59
+ }),
60
+ onClick: function onClick(e) {
61
+ return setAnchorEl(function (prev) {
62
+ return prev ? null : e.currentTarget;
63
+ });
64
+ },
65
+ children: intl$1.formatMessage({
66
+ id: 'runbox.status.button.title'
67
+ })
68
+ }), jsxRuntime.jsx(MaterialRunboxStatusPopover.default, {
69
+ open: Boolean(anchorEl),
70
+ anchorEl: anchorEl,
71
+ anchorOrigin: {
72
+ vertical: 'bottom',
73
+ horizontal: 'left'
74
+ },
75
+ transformOrigin: {
76
+ vertical: 'top',
77
+ horizontal: 'left'
78
+ },
79
+ sx: {
80
+ marginTop: '0.5rem'
81
+ },
82
+ bottomAction: bottomAction,
83
+ onClose: handleClose
84
+ })]
85
+ });
86
+ };
87
+
88
+ exports.default = MaterialRunboxStatusButton;