@elice/material-runbox 1.250311.0 → 1.250313.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +17 -0
  2. package/cjs/components/material-runbox/MaterialRunboxContent.js +17 -5
  3. package/cjs/components/material-runbox/MaterialRunboxHeader.js +10 -4
  4. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +1 -1
  5. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +12 -1
  6. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -1
  7. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +3 -1
  8. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.d.ts +9 -0
  9. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +67 -0
  10. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.d.ts +9 -0
  11. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +196 -0
  12. package/cjs/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.d.ts +13 -0
  13. package/cjs/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.js +59 -0
  14. package/cjs/components/material-runbox/hooks/useRunboxControl.d.ts +1 -1
  15. package/cjs/components/material-runbox/hooks/useRunboxControl.js +5 -2
  16. package/cjs/components/material-runbox/locales/en.json.js +1 -1
  17. package/cjs/components/material-runbox/locales/ja.json.js +1 -1
  18. package/cjs/components/material-runbox/locales/ko.json.js +1 -1
  19. package/cjs/components/material-runbox/locales/th.json.js +1 -1
  20. package/cjs/components/material-runbox/runtime/Runtime.d.ts +7 -0
  21. package/cjs/components/material-runbox/runtime/Runtime.js +1 -1
  22. package/es/components/material-runbox/MaterialRunboxContent.d.ts +17 -0
  23. package/es/components/material-runbox/MaterialRunboxContent.js +17 -5
  24. package/es/components/material-runbox/MaterialRunboxHeader.js +10 -4
  25. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.d.ts +1 -1
  26. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +12 -1
  27. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.d.ts +1 -1
  28. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +3 -1
  29. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.d.ts +9 -0
  30. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +59 -0
  31. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.d.ts +9 -0
  32. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +187 -0
  33. package/es/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.d.ts +13 -0
  34. package/es/components/material-runbox/hooks/useInfiniteRunboxRunboxIdGrade.js +57 -0
  35. package/es/components/material-runbox/hooks/useRunboxControl.d.ts +1 -1
  36. package/es/components/material-runbox/hooks/useRunboxControl.js +5 -2
  37. package/es/components/material-runbox/locales/en.json.js +1 -1
  38. package/es/components/material-runbox/locales/ja.json.js +1 -1
  39. package/es/components/material-runbox/locales/ko.json.js +1 -1
  40. package/es/components/material-runbox/locales/th.json.js +1 -1
  41. package/es/components/material-runbox/runtime/Runtime.d.ts +7 -0
  42. package/es/components/material-runbox/runtime/Runtime.js +1 -1
  43. package/package.json +5 -4
@@ -1,4 +1,15 @@
1
1
  import React from 'react';
2
+ import type { TagProps } from '@elice/mui-elements';
3
+ export type GetAchievementColor = {
4
+ (params: {
5
+ score: number;
6
+ variant: 'text' | 'chart';
7
+ }): string | null;
8
+ (params: {
9
+ score: number;
10
+ variant: 'tag';
11
+ }): TagProps['color'];
12
+ };
2
13
  export interface MaterialRunboxContentProps {
3
14
  /** Runbox ID. */
4
15
  runboxId: string | null;
@@ -6,6 +17,12 @@ export interface MaterialRunboxContentProps {
6
17
  courseId: number;
7
18
  /** */
8
19
  enabledLxpPlan?: boolean;
20
+ /** User ID for tutoring. */
21
+ userId: number;
22
+ /** Whether tutoring is enabled. */
23
+ isTutoring: boolean;
24
+ /** Used for submit log score tag color. */
25
+ getAchievementColor?: GetAchievementColor;
9
26
  }
10
27
  declare const MaterialRunboxContent: React.FC<MaterialRunboxContentProps>;
11
28
  export default MaterialRunboxContent;
@@ -32,7 +32,11 @@ var StyledRunboxContainer = material.styled('div')(_templateObject || (_template
32
32
  var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
33
33
  var runboxId = _ref.runboxId,
34
34
  courseId = _ref.courseId,
35
- enabledLxpPlan = _ref.enabledLxpPlan;
35
+ enabledLxpPlan = _ref.enabledLxpPlan,
36
+ userId = _ref.userId,
37
+ _ref$isTutoring = _ref.isTutoring,
38
+ isTutoring = _ref$isTutoring === void 0 ? false : _ref$isTutoring,
39
+ getAchievementColor = _ref.getAchievementColor;
36
40
  var intl$1 = intl.useRawEliceIntl();
37
41
  var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
38
42
  showMessenger = _useMaterialRunboxCon.showMessenger;
@@ -60,7 +64,8 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
60
64
  filterRuntimeTemplateId: runbox.runtimeTemplateId,
61
65
  skip: 0,
62
66
  count: 1,
63
- eliceCourseId: courseId
67
+ eliceCourseId: courseId,
68
+ userId: userId
64
69
  }, {
65
70
  signal: signal
66
71
  }).then(function (runtimes) {
@@ -164,7 +169,10 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
164
169
  runtime: runtime,
165
170
  runtimeTemplate: runtimeTemplate,
166
171
  courseId: courseId,
167
- refetch: refetch
172
+ userId: userId,
173
+ isTutoring: isTutoring,
174
+ refetch: refetch,
175
+ getAchievementColor: getAchievementColor
168
176
  };
169
177
  return jsxRuntime.jsx(MaterialRunboxCommandContext.default, {
170
178
  runtime: runtime,
@@ -176,7 +184,10 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
176
184
  signal = _ref3.signal;
177
185
  return materialRunboxApi.runbox.runboxRunboxIdHeartbeatPost({
178
186
  runboxId: id,
179
- eliceCourseId: courseId
187
+ eliceCourseId: courseId,
188
+ runboxHeartbeatPostRequest: {
189
+ userId: userId
190
+ }
180
191
  }, {
181
192
  signal: signal
182
193
  });
@@ -186,7 +197,8 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
186
197
  signal = _ref4.signal;
187
198
  return materialRunboxApi.runbox.runboxRunboxIdQuotaGet({
188
199
  runboxId: id,
189
- eliceCourseId: courseId
200
+ eliceCourseId: courseId,
201
+ userId: userId
190
202
  }, {
191
203
  signal: signal
192
204
  });
@@ -43,7 +43,10 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
43
43
  runtime = _ref3.runtime,
44
44
  runtimeTemplate = _ref3.runtimeTemplate,
45
45
  courseId = _ref3.courseId,
46
- refetch = _ref3.refetch;
46
+ userId = _ref3.userId,
47
+ isTutoring = _ref3.isTutoring,
48
+ refetch = _ref3.refetch,
49
+ getAchievementColor = _ref3.getAchievementColor;
47
50
  var intl$1 = intl.useRawEliceIntl();
48
51
  var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
49
52
  enableAutoShutdownToggle = _useMaterialRunboxCon.enableAutoShutdownToggle;
@@ -111,7 +114,7 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
111
114
  *
112
115
  */
113
116
  var renderHeaderActionAutoShutdown = function renderHeaderActionAutoShutdown() {
114
- if (!enableAutoShutdownToggle) {
117
+ if (!enableAutoShutdownToggle || isTutoring) {
115
118
  return null;
116
119
  }
117
120
  return jsxRuntime.jsx(MaterialRunboxActionAutoShutdown.default, {
@@ -125,7 +128,7 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
125
128
  *
126
129
  */
127
130
  var renderHeaderActionGrade = function renderHeaderActionGrade() {
128
- if (!runbox.submission.enabled) {
131
+ if (!runbox.submission.enabled || isTutoring) {
129
132
  return null;
130
133
  }
131
134
  return jsxRuntime.jsx(MaterialRunboxActionGrade.default, {
@@ -154,9 +157,12 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref3) {
154
157
  runbox: runbox,
155
158
  runtime: runtime,
156
159
  courseId: courseId,
160
+ userId: userId,
161
+ isTutoring: isTutoring,
157
162
  menuAnchorEl: menuAnchorEl,
158
163
  refetch: refetch,
159
- handleMenuClose: handleMenuClose
164
+ handleMenuClose: handleMenuClose,
165
+ getAchievementColor: getAchievementColor
160
166
  })]
161
167
  });
162
168
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- type MaterialRunboxActionMenuProps = Pick<RuntimeProps, 'runbox' | 'runtime' | 'courseId' | 'refetch'> & {
3
+ type MaterialRunboxActionMenuProps = Pick<RuntimeProps, 'runbox' | 'runtime' | 'courseId' | 'refetch' | 'userId' | 'isTutoring' | 'getAchievementColor'> & {
4
4
  menuAnchorEl: null | HTMLButtonElement;
5
5
  handleMenuClose: () => void;
6
6
  };
@@ -9,6 +9,7 @@ var material = require('@mui/material');
9
9
  var MaterialRunboxActionReset = require('./MaterialRunboxActionReset.js');
10
10
  var MaterialRunboxActionRestart = require('./MaterialRunboxActionRestart.js');
11
11
  var MaterialRunboxActionShare = require('./MaterialRunboxActionShare.js');
12
+ var MaterialRunboxActionSubmitLog = require('./MaterialRunboxActionSubmitLog.js');
12
13
 
13
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
14
15
 
@@ -21,8 +22,11 @@ var MaterialRunboxActionMenu = function MaterialRunboxActionMenu(_ref) {
21
22
  var runbox = _ref.runbox,
22
23
  runtime = _ref.runtime,
23
24
  courseId = _ref.courseId,
25
+ userId = _ref.userId,
26
+ isTutoring = _ref.isTutoring,
24
27
  menuAnchorEl = _ref.menuAnchorEl,
25
28
  refetch = _ref.refetch,
29
+ getAchievementColor = _ref.getAchievementColor,
26
30
  handleMenuClose = _ref.handleMenuClose;
27
31
  var _useEliceRunboxRunnin = runboxClient.useEliceRunboxRunning(),
28
32
  status = _useEliceRunboxRunnin.status;
@@ -56,9 +60,16 @@ var MaterialRunboxActionMenu = function MaterialRunboxActionMenu(_ref) {
56
60
  runbox: runbox,
57
61
  runtime: runtime,
58
62
  courseId: courseId,
63
+ userId: userId,
59
64
  refetch: refetch,
60
65
  handleMenuClose: handleMenuClose
61
- }), jsxRuntime.jsx(MaterialRunboxActionReset.default, {
66
+ }), isTutoring ? jsxRuntime.jsx(MaterialRunboxActionSubmitLog.default, {
67
+ runboxId: runbox === null || runbox === void 0 ? void 0 : runbox.id,
68
+ userId: userId,
69
+ eliceCourseId: courseId,
70
+ getAchievementColor: getAchievementColor,
71
+ handleMenuClose: handleMenuClose
72
+ }) : jsxRuntime.jsx(MaterialRunboxActionReset.default, {
62
73
  runtime: runtime,
63
74
  courseId: courseId,
64
75
  handleMenuClose: handleMenuClose
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { RuntimeProps } from '../runtime/Runtime';
3
- type MaterialRunboxActionRestartProps = Pick<RuntimeProps, 'runbox' | 'runtime' | 'courseId' | 'refetch'> & {
3
+ type MaterialRunboxActionRestartProps = Pick<RuntimeProps, 'runbox' | 'runtime' | 'courseId' | 'refetch' | 'userId'> & {
4
4
  handleMenuClose: () => void;
5
5
  };
6
6
  declare const MaterialRunboxActionRestart: React.FC<MaterialRunboxActionRestartProps>;
@@ -23,6 +23,7 @@ var MaterialRunboxActionRestart = function MaterialRunboxActionRestart(_ref) {
23
23
  var runbox = _ref.runbox,
24
24
  courseId = _ref.courseId,
25
25
  refetch = _ref.refetch,
26
+ userId = _ref.userId,
26
27
  handleMenuClose = _ref.handleMenuClose;
27
28
  var intl$1 = intl.useRawEliceIntl();
28
29
  var _React$useState = React__default.default.useState(false),
@@ -37,7 +38,8 @@ var MaterialRunboxActionRestart = function MaterialRunboxActionRestart(_ref) {
37
38
  var _useRunboxControl = useRunboxControl.useRunboxControl({
38
39
  runbox: runbox,
39
40
  courseId: courseId,
40
- refetch: refetch
41
+ refetch: refetch,
42
+ userId: userId
41
43
  }),
42
44
  start = _useRunboxControl.start;
43
45
  /**
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { RunboxRunboxIdGradeGetRequest } from '@elice/openapi-client-material-runbox';
3
+ import type { GetAchievementColor } from '../MaterialRunboxContent';
4
+ export type MaterialRunboxActionSubmitLogProps = Omit<RunboxRunboxIdGradeGetRequest, 'skip' | 'count'> & {
5
+ handleMenuClose: () => void;
6
+ getAchievementColor?: GetAchievementColor;
7
+ };
8
+ declare const MaterialRunboxActionSubmitLog: React.FC<MaterialRunboxActionSubmitLogProps>;
9
+ export default MaterialRunboxActionSubmitLog;
@@ -0,0 +1,67 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+ var React = require('react');
8
+ var intl = require('@elice/intl');
9
+ var muiElements = require('@elice/mui-elements');
10
+ var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
11
+ var material = require('@mui/material');
12
+ var MaterialRunboxActionSubmitLogDialog = require('./MaterialRunboxActionSubmitLogDialog.js');
13
+
14
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
15
+
16
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
+
18
+ //
19
+ //
20
+ //
21
+ var MaterialRunboxActionSubmitLog = function MaterialRunboxActionSubmitLog(props) {
22
+ var intl$1 = intl.useRawEliceIntl();
23
+ //
24
+ var _React$useState = React__default.default.useState(false),
25
+ _React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
26
+ isOpen = _React$useState2[0],
27
+ setIsOpen = _React$useState2[1];
28
+ /**
29
+ *
30
+ */
31
+ var renderMenuItem = function renderMenuItem() {
32
+ return jsxRuntime.jsxs(material.MenuItem, {
33
+ onClick: function onClick() {
34
+ return setIsOpen(true);
35
+ },
36
+ children: [jsxRuntime.jsx(material.ListItemIcon, {
37
+ children: jsxRuntime.jsx(muiElements.EliceIcon, {
38
+ icon: proRegularSvgIcons.faTimeline
39
+ })
40
+ }), jsxRuntime.jsx(material.ListItemText, {
41
+ children: intl$1.formatMessage({
42
+ id: 'runbox.action.submitLog.title'
43
+ })
44
+ })]
45
+ });
46
+ };
47
+ /**
48
+ *
49
+ */
50
+ var renderSubmitLogDialog = function renderSubmitLogDialog() {
51
+ return jsxRuntime.jsx(MaterialRunboxActionSubmitLogDialog.default, Object.assign({}, props, {
52
+ isOpen: isOpen,
53
+ onClose: function onClose() {
54
+ setIsOpen(false);
55
+ props.handleMenuClose();
56
+ }
57
+ }));
58
+ };
59
+ //
60
+ //
61
+ //
62
+ return jsxRuntime.jsxs(jsxRuntime.Fragment, {
63
+ children: [renderMenuItem(), renderSubmitLogDialog()]
64
+ });
65
+ };
66
+
67
+ exports.default = MaterialRunboxActionSubmitLog;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { MaterialRunboxActionSubmitLogProps } from './MaterialRunboxActionSubmitLog';
3
+ type MaterialRunboxActionSubmitLogDialogProps = MaterialRunboxActionSubmitLogProps & {
4
+ userId: number;
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ };
8
+ declare const MaterialRunboxActionSubmitLogDialog: React.FC<MaterialRunboxActionSubmitLogDialogProps>;
9
+ export default MaterialRunboxActionSubmitLogDialog;
@@ -0,0 +1,196 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
+ var tslib = require('tslib');
7
+ var jsxRuntime = require('react/jsx-runtime');
8
+ var React = require('react');
9
+ var reactIntersectionObserver = require('react-intersection-observer');
10
+ var intl = require('@elice/intl');
11
+ var muiElements = require('@elice/mui-elements');
12
+ var react = require('@emotion/react');
13
+ var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
14
+ var material = require('@mui/material');
15
+ var dayjs = require('dayjs');
16
+ require('../contexts/MaterialRunboxApiContext.js');
17
+ require('../contexts/MaterialRunboxCommandContext.js');
18
+ var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
19
+ var useInfiniteRunboxRunboxIdGrade = require('../hooks/useInfiniteRunboxRunboxIdGrade.js');
20
+
21
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
22
+
23
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
24
+ var dayjs__default = /*#__PURE__*/_interopDefaultCompat(dayjs);
25
+
26
+ //
27
+ //
28
+ //
29
+ var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLogDialog(_a) {
30
+ var isOpen = _a.isOpen,
31
+ onClose = _a.onClose,
32
+ getAchievementColor = _a.getAchievementColor,
33
+ props = tslib.__rest(_a, ["isOpen", "onClose", "getAchievementColor"]);
34
+ var intl$1 = intl.useRawEliceIntl();
35
+ //
36
+ var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
37
+ locale = _useMaterialRunboxCon.locale;
38
+ dayjs__default.default.locale(locale);
39
+ //
40
+ var theme = react.useTheme();
41
+ var isMobileOrSmaller = material.useMediaQuery(theme.breakpoints.down('sm'));
42
+ //
43
+ var _useInfiniteRunboxRun = useInfiniteRunboxRunboxIdGrade.useInfiniteRunboxRunboxIdGrade(Object.assign(Object.assign({}, props), {
44
+ enabled: Boolean(isOpen && props.runboxId && props.userId)
45
+ })),
46
+ grade = _useInfiniteRunboxRun.grade,
47
+ fetchNextPage = _useInfiniteRunboxRun.fetchNextPage;
48
+ var _useInView = reactIntersectionObserver.useInView(),
49
+ inView = _useInView.inView,
50
+ ref = _useInView.ref;
51
+ //
52
+ var _React$useState = React__default.default.useState(null),
53
+ _React$useState2 = _rollupPluginBabelHelpers.slicedToArray(_React$useState, 2),
54
+ selectedGrade = _React$useState2[0],
55
+ setSelectedGrade = _React$useState2[1];
56
+ /**
57
+ *
58
+ */
59
+ var renderEmpty = function renderEmpty() {
60
+ return jsxRuntime.jsx(material.Stack, {
61
+ justifyContent: "center",
62
+ alignItems: "center",
63
+ children: jsxRuntime.jsx(material.Typography, {
64
+ variant: "body1",
65
+ children: intl$1.formatMessage({
66
+ id: 'runbox.action.submitLog.empty'
67
+ })
68
+ })
69
+ });
70
+ };
71
+ /**
72
+ *
73
+ */
74
+ var renderGradeList = function renderGradeList() {
75
+ return jsxRuntime.jsxs(material.List, {
76
+ ref: ref,
77
+ sx: {
78
+ width: '100%',
79
+ maxHeight: '100%',
80
+ overflow: 'auto'
81
+ },
82
+ children: [grade === null || grade === void 0 ? void 0 : grade.map(function (item) {
83
+ return jsxRuntime.jsxs(material.ListItemButton, {
84
+ selected: (selectedGrade === null || selectedGrade === void 0 ? void 0 : selectedGrade.id) === item.id,
85
+ onClick: function onClick() {
86
+ return setSelectedGrade(item);
87
+ },
88
+ children: [jsxRuntime.jsx(material.ListItemText, {
89
+ primary: dayjs__default.default(item.created).format(isMobileOrSmaller ? 'YYYY.MM.DD' : 'YYYY.MM.DD A HH:mm')
90
+ }), jsxRuntime.jsx(material.ListItemSecondaryAction, {
91
+ children: jsxRuntime.jsxs(material.Stack, {
92
+ direction: "row",
93
+ alignItems: "center",
94
+ gap: "0.5rem",
95
+ children: [(item === null || item === void 0 ? void 0 : item.score) ? jsxRuntime.jsx(muiElements.Tag, {
96
+ variant: "muted",
97
+ color: typeof getAchievementColor === 'function' ? getAchievementColor({
98
+ score: Number(item.score),
99
+ variant: 'tag'
100
+ }) : 'info',
101
+ label: intl$1.formatMessage({
102
+ id: 'runbox.common.score'
103
+ }, {
104
+ score: item.score
105
+ })
106
+ }) : null, jsxRuntime.jsx(material.Tooltip, {
107
+ title: intl$1.formatMessage({
108
+ id: 'runbox.action.submitLog.dialog.download.tooltip'
109
+ }),
110
+ children: jsxRuntime.jsx(material.IconButton, {
111
+ onClick: function onClick() {
112
+ window.open(item.submissionFileUrl, '_blank');
113
+ },
114
+ children: jsxRuntime.jsx(muiElements.EliceIcon, {
115
+ icon: proRegularSvgIcons.faArrowDownToLine
116
+ })
117
+ })
118
+ })]
119
+ })
120
+ })]
121
+ }, item.id);
122
+ }), jsxRuntime.jsx("div", {
123
+ ref: ref
124
+ })]
125
+ });
126
+ };
127
+ /**
128
+ *
129
+ */
130
+ var renderCodebox = function renderCodebox() {
131
+ return jsxRuntime.jsx(material.Box, {
132
+ bgcolor: function bgcolor(theme) {
133
+ return theme.palette.common.black;
134
+ },
135
+ borderRadius: "0.5rem",
136
+ padding: "1rem",
137
+ width: "100%",
138
+ overflow: "auto",
139
+ fontFamily: "Elice Digital Coding, monospace",
140
+ fontSize: "0.875rem",
141
+ whiteSpace: "pre-wrap",
142
+ lineHeight: "1.375rem",
143
+ children: selectedGrade === null || selectedGrade === void 0 ? void 0 : selectedGrade.output
144
+ });
145
+ };
146
+ //
147
+ //
148
+ //
149
+ React__default.default.useEffect(function () {
150
+ if (inView) {
151
+ fetchNextPage();
152
+ }
153
+ }, [inView, fetchNextPage]);
154
+ //
155
+ //
156
+ //
157
+ React__default.default.useEffect(function () {
158
+ if ((grade === null || grade === void 0 ? void 0 : grade.length) && !selectedGrade) {
159
+ setSelectedGrade(grade[0]);
160
+ }
161
+ }, [grade, selectedGrade]);
162
+ //
163
+ //
164
+ //
165
+ return jsxRuntime.jsxs(material.Dialog, {
166
+ fullWidth: true,
167
+ maxWidth: "lg",
168
+ open: isOpen,
169
+ onClose: onClose,
170
+ children: [jsxRuntime.jsx(material.DialogTitle, {
171
+ children: intl$1.formatMessage({
172
+ id: 'runbox.action.submitLog.dialog.title'
173
+ })
174
+ }), jsxRuntime.jsx(material.DialogContent, {
175
+ children: jsxRuntime.jsx(material.Stack, {
176
+ direction: "row",
177
+ gap: "0.5rem",
178
+ overflow: "auto",
179
+ maxHeight: "30rem",
180
+ children: (grade === null || grade === void 0 ? void 0 : grade.length) ? jsxRuntime.jsxs(jsxRuntime.Fragment, {
181
+ children: [renderGradeList(), renderCodebox()]
182
+ }) : renderEmpty()
183
+ })
184
+ }), jsxRuntime.jsx(material.DialogActions, {
185
+ children: jsxRuntime.jsx(material.Button, {
186
+ color: "inherit",
187
+ onClick: onClose,
188
+ children: intl$1.formatMessage({
189
+ id: 'runbox.common.close'
190
+ })
191
+ })
192
+ })]
193
+ });
194
+ };
195
+
196
+ exports.default = MaterialRunboxActionSubmitLogDialog;
@@ -0,0 +1,13 @@
1
+ import type { RunboxGradeGetResponse, RunboxRunboxIdGradeGetRequest } from '@elice/openapi-client-material-runbox';
2
+ type UseInfiniteRunboxRunboxIdGradeProps = RunboxRunboxIdGradeGetRequest & {
3
+ enabled: boolean;
4
+ };
5
+ type UseInfiniteRunboxRunboxIdGradeReturn = {
6
+ grade: RunboxGradeGetResponse[] | undefined;
7
+ isGradeLoading: boolean;
8
+ isGradeError: boolean;
9
+ refetchGrade: () => void;
10
+ fetchNextPage: () => void;
11
+ };
12
+ export declare const useInfiniteRunboxRunboxIdGrade: (props: Omit<UseInfiniteRunboxRunboxIdGradeProps, 'skip' | 'count'>) => UseInfiniteRunboxRunboxIdGradeReturn;
13
+ export {};
@@ -0,0 +1,59 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var reactQuery = require('@tanstack/react-query');
5
+ var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
6
+ require('../contexts/MaterialRunboxCommandContext.js');
7
+ require('../contexts/MaterialRunboxContext.js');
8
+
9
+ //
10
+ //
11
+ //
12
+ var DEFAULT_COUNT = 10;
13
+ var DEFAULT_SKIP = 0;
14
+ //
15
+ //
16
+ //
17
+ var useInfiniteRunboxRunboxIdGrade = function useInfiniteRunboxRunboxIdGrade(props) {
18
+ var _return = React.useRef({});
19
+ var enabled = props.enabled;
20
+ var materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
21
+ //
22
+ var _useInfiniteQuery = reactQuery.useInfiniteQuery({
23
+ queryKey: ['runboxRunboxIdGrade', props],
24
+ queryFn: function queryFn(_ref) {
25
+ var _ref$pageParam = _ref.pageParam,
26
+ pageParam = _ref$pageParam === void 0 ? DEFAULT_SKIP : _ref$pageParam;
27
+ return materialRunboxApi.runbox.runboxRunboxIdGradeGet(Object.assign(Object.assign({}, props), {
28
+ skip: pageParam,
29
+ count: DEFAULT_COUNT
30
+ }));
31
+ },
32
+ getNextPageParam: function getNextPageParam(lastPage, pages) {
33
+ return lastPage.length === DEFAULT_COUNT ? pages.length * DEFAULT_COUNT : undefined;
34
+ },
35
+ enabled: enabled
36
+ }),
37
+ data = _useInfiniteQuery.data,
38
+ isLoading = _useInfiniteQuery.isLoading,
39
+ isFetchingNextPage = _useInfiniteQuery.isFetchingNextPage,
40
+ hasNextPage = _useInfiniteQuery.hasNextPage,
41
+ isError = _useInfiniteQuery.isError,
42
+ fetchNextPage = _useInfiniteQuery.fetchNextPage,
43
+ refetch = _useInfiniteQuery.refetch;
44
+ //
45
+ _return.current.grade = data === null || data === void 0 ? void 0 : data.pages.flatMap(function (page) {
46
+ return page;
47
+ });
48
+ _return.current.isGradeLoading = isLoading || isFetchingNextPage;
49
+ _return.current.isGradeError = isError;
50
+ _return.current.refetchGrade = refetch;
51
+ _return.current.fetchNextPage = React.useCallback(function () {
52
+ if (hasNextPage && !isFetchingNextPage) {
53
+ void fetchNextPage();
54
+ }
55
+ }, [fetchNextPage, hasNextPage, isFetchingNextPage]);
56
+ return _return.current;
57
+ };
58
+
59
+ exports.useInfiniteRunboxRunboxIdGrade = useInfiniteRunboxRunboxIdGrade;
@@ -1,5 +1,5 @@
1
1
  import type { RuntimeProps } from '../runtime/Runtime';
2
- type UseRunboxControlProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch'>;
2
+ type UseRunboxControlProps = Pick<RuntimeProps, 'runbox' | 'courseId' | 'refetch' | 'userId'>;
3
3
  interface UseRunboxControlReturn {
4
4
  start: (force?: boolean) => Promise<void>;
5
5
  stop: () => Promise<void>;
@@ -37,7 +37,10 @@ var useRunboxControl = function useRunboxControl(props) {
37
37
  return _context.abrupt("return", runboxStart(function (signal) {
38
38
  return materialRunboxApi.runbox.runboxRunboxIdStartPost({
39
39
  runboxId: props.runbox.id,
40
- eliceCourseId: props.courseId
40
+ eliceCourseId: props.courseId,
41
+ runboxStartRequest: {
42
+ userId: props.userId
43
+ }
41
44
  }, {
42
45
  signal: signal
43
46
  });
@@ -59,7 +62,7 @@ var useRunboxControl = function useRunboxControl(props) {
59
62
  }, _callee);
60
63
  })),
61
64
  // eslint-disable-next-line react-hooks/exhaustive-deps
62
- [props.runbox.id, props.courseId, runboxStart]);
65
+ [props.runbox.id, props.courseId, props.userId, runboxStart]);
63
66
  /**
64
67
  * Stop project.
65
68
  */
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var messageEn = {"runbox.action.autoShutdown.title":"Always on","runbox.action.autoShutdown.tooltip.disabled":"This runtime automatically shuts down after {time}, which is set as the per-session usage time.","runbox.action.autoShutdown.tooltip.enabled":"If set to always on, the runtime will not shut down even if you leave the learning {_termLibraryLecturePage}. However, it will automatically shut down after {time}, which is set as the session-specific usage time of the runtime.","runbox.action.grade.dialog.description.error":"An error occurred while grading the code.","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.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.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.description":"Are you sure 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.common.close":"Close","runbox.common.retry":"Retry","runbox.common.support":"Support","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.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_timeout":"(3 of 3)\nRunning the runbox is taking longer than we expected.\nPlease wait a little longer without refreshing!","runbox.runtime.overlay.assigned.description":"(3 of 3)\nRunbox is running.\nPlease wait!","runbox.runtime.overlay.queued.description_zero":"(2 of 3)\nRunbox will run soon","runbox.runtime.overlay.queued.description":"(2 of 3)\nCurrently queued {waiters} times...","runbox.runtime.overlay.terminated.description.default":"The runtime terminated due to an unexpected problem.\nClick the button below to reconnect to the runbox.","runbox.runtime.overlay.terminated.description.general":"The runtime connected to the runbox has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"Runtime has ended because the disk is full.\nIf you have recently deleted a runbox, it may take some time to reflect.","runbox.runtime.overlay.terminated.description.quota_exceeded":"The runtime has ended because the runtime has expired.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runbox has been running for 24 hours and the runtime has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.unexpected":"If the problem persists, please contact customer service.","runbox.runtime.overlay.terminated.restart":"Reconnect","runbox.runtime.overlay.terminated.title":"Runtime disconnected"};
5
+ var messageEn = {"runbox.action.autoShutdown.title":"Always on","runbox.action.autoShutdown.tooltip.disabled":"This runtime automatically shuts down after {time}, which is set as the per-session usage time.","runbox.action.autoShutdown.tooltip.enabled":"If set to always on, the runtime will not shut down even if you leave the learning {_termLibraryLecturePage}. However, it will automatically shut down after {time}, which is set as the session-specific usage time of the runtime.","runbox.action.grade.dialog.description.error":"An error occurred while grading the code.","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.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.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.description":"Are you sure 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.common.close":"Close","runbox.common.retry":"Retry","runbox.common.score":"{score} points","runbox.common.support":"Support","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.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":"The runtime terminated due to an unexpected problem.\nClick the button below to reconnect to the runbox.","runbox.runtime.overlay.terminated.description.general":"The runtime connected to the runbox has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"Runtime has ended because the disk is full.\nIf you have recently deleted a runbox, it may take some time to reflect.","runbox.runtime.overlay.terminated.description.quota_exceeded":"The runtime has ended because the runtime has expired.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runbox has been running for 24 hours and the runtime has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.unexpected":"If the problem persists, please contact customer service.","runbox.runtime.overlay.terminated.restart":"Reconnect","runbox.runtime.overlay.terminated.title":"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 = {"runbox.action.autoShutdown.title":"常にオン","runbox.action.autoShutdown.tooltip.disabled":"このランタイムは、セッションごとの利用時間として設定された{time}後に自動的にシャットダウンします。","runbox.action.autoShutdown.tooltip.enabled":"常にオンに設定した場合、ランタイムは学習 {_termLibraryLecturePage} を離れてもシャットダウンしません。ただし、ランタイムのセッション固有の使用時間として設定された {time} 後には自動的にシャットダウンします。","runbox.action.grade.dialog.description.error":"コードの採点中にエラーが発生しました。","runbox.action.grade.dialog.description.success":"成績評価が成功裏に完了しました。","runbox.action.grade.dialog.title":"成績結果","runbox.action.grade.noti.error":"コードの採点中にエラーが発生しました。","runbox.action.grade.title":"提出","runbox.action.grade.tooltip.onProgress":"採点中です。しばらくお待ちください。{_termLibraryLecturePage}によって、採点には最大3分かかる場合があります。","runbox.action.reset.dialog.actions.confirm":"リセット","runbox.action.reset.dialog.description":"ランボックスのコードをリセットしてもよろしいですか? あなたのコードは {_termLibraryLecturePage} のデフォルトコードに上書きされます。\nリセット後、ランボックスのセッションがリフレッシュされます。","runbox.action.reset.noti.error":"ランボックスコードの初期化中にエラーが発生しました。","runbox.action.reset.title":"リセットコード","runbox.action.restart.dialog.actions.confirm":"再起動","runbox.action.restart.dialog.description":"再起動してもよろしいですか?","runbox.action.restart.title":"ランボックスを再起動してください","runbox.action.share.snackbar.copied.fail":"ランボックスのURLをコピーすることに失敗しました。もう一度お試しください。","runbox.action.share.snackbar.copied.success":"ランボックスのURLが正常にコピーされました。","runbox.action.share.title":"ランボックスのURLを共有してください。","runbox.action.submitCountInfo.dialog.description":"提出回数の制限を超えています","runbox.action.submitCountInfo.dialog.title":"投稿の数を制限してください。","runbox.action.submitCountInfo.tooltip.disabled":"提出回数が使い果たされました。","runbox.common.close":"閉じる","runbox.common.retry":"リトライ","runbox.common.support":"サポート","runbox.context.command.ping.error":"タスクの処理中にエラーが発生しました。","runbox.header.submitInfo":"{isIndividual, select, true {個人} other {チーム}}の提出回数 | {remainCount}/{totalCount} 回残っています {isDailyLimitEnabled, select, true {今日} other {}}","runbox.runtime.message.lxp_plan_required":"現在、所属機関ではRunboxの学習資料を利用できません。\n詳細については機関の管理者にお問い合わせください。","runbox.runtime.message.runbox_unavailable":"Runboxは利用できません","runbox.runtime.message.startError":"ランボックスの起動中にエラーが発生しました。","runbox.runtime.overlay.assigned.description_timeout":"ランボックスを実行する時間が私たちの予想よりも長くかかっています。\n更新せずにもう少し待ってください!","runbox.runtime.overlay.assigned.description":"Runbox が実行中です。\nお待ちください!","runbox.runtime.overlay.queued.description_zero":"Runboxはもうすぐ実行されます。","runbox.runtime.overlay.queued.description":"現在{waiters}回待機中...","runbox.runtime.overlay.terminated.description.default":"ランタイムは予期せぬ問題により終了しました。\n再接続するには、下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.general":"ランボックスに接続されているランタイムが終了しました。\nランボックスに再接続するには、以下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.os_disk_is_full":"ディスクがいっぱいになったため、ランタイムが終了しました。\n最近ランボックスを削除した場合、反映には時間がかかることがあります。","runbox.runtime.overlay.terminated.description.quota_exceeded":"ランタイムが期限切れになったため、ランタイムが終了しました。","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"ランボックスは24時間稼働しており、ランタイムが終了しました。\nランボックスに再接続するには、以下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.unexpected":"問題が解決しない場合は、カスタマーサービスにお問い合わせください。","runbox.runtime.overlay.terminated.restart":"再接続","runbox.runtime.overlay.terminated.title":"ランタイムが切断されました。"};
5
+ var ja = {"runbox.action.autoShutdown.title":"常にオン","runbox.action.autoShutdown.tooltip.disabled":"このランタイムは、セッションごとの利用時間として設定された{time}後に自動的にシャットダウンします。","runbox.action.autoShutdown.tooltip.enabled":"常にオンに設定した場合、ランタイムは学習 {_termLibraryLecturePage} を離れてもシャットダウンしません。ただし、ランタイムのセッション固有の使用時間として設定された {time} 後には自動的にシャットダウンします。","runbox.action.grade.dialog.description.error":"コードの採点中にエラーが発生しました。","runbox.action.grade.dialog.description.success":"成績評価が成功裏に完了しました。","runbox.action.grade.dialog.title":"成績結果","runbox.action.grade.noti.error":"コードの採点中にエラーが発生しました。","runbox.action.grade.title":"提出","runbox.action.grade.tooltip.onProgress":"採点中です。しばらくお待ちください。{_termLibraryLecturePage}によって、採点には最大3分かかる場合があります。","runbox.action.reset.dialog.actions.confirm":"リセット","runbox.action.reset.dialog.description":"ランボックスのコードをリセットしてもよろしいですか? あなたのコードは {_termLibraryLecturePage} のデフォルトコードに上書きされます。\nリセット後、ランボックスのセッションがリフレッシュされます。","runbox.action.reset.noti.error":"ランボックスコードの初期化中にエラーが発生しました。","runbox.action.reset.title":"リセットコード","runbox.action.restart.dialog.actions.confirm":"再起動","runbox.action.restart.dialog.description":"再起動してもよろしいですか?","runbox.action.restart.title":"ランボックスを再起動してください","runbox.action.share.snackbar.copied.fail":"ランボックスのURLをコピーすることに失敗しました。もう一度お試しください。","runbox.action.share.snackbar.copied.success":"ランボックスのURLが正常にコピーされました。","runbox.action.share.title":"ランボックスのURLを共有してください。","runbox.action.submitCountInfo.dialog.description":"提出回数の制限を超えています","runbox.action.submitCountInfo.dialog.title":"投稿の数を制限してください。","runbox.action.submitCountInfo.tooltip.disabled":"提出回数が使い果たされました。","runbox.action.submitLog.dialog.download.tooltip":"提出ファイルをダウンロード","runbox.action.submitLog.dialog.title":"提出履歴","runbox.action.submitLog.empty":"提出履歴が存在しません。","runbox.action.submitLog.title":"ランボックス提出履歴","runbox.common.close":"閉じる","runbox.common.retry":"リトライ","runbox.common.score":"{score}点","runbox.common.support":"サポート","runbox.context.command.ping.error":"タスクの処理中にエラーが発生しました。","runbox.header.submitInfo":"{isIndividual, select, true {個人} other {チーム}}の提出回数 | {remainCount}/{totalCount} 回残っています {isDailyLimitEnabled, select, true {今日} other {}}","runbox.runtime.message.lxp_plan_required":"現在、所属機関ではRunboxの学習資料を利用できません。\n詳細については機関の管理者にお問い合わせください。","runbox.runtime.message.runbox_unavailable":"Runboxは利用できません","runbox.runtime.message.startError":"ランボックスの起動中にエラーが発生しました。","runbox.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":"ランタイムは予期せぬ問題により終了しました。\n再接続するには、下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.general":"ランボックスに接続されているランタイムが終了しました。\nランボックスに再接続するには、以下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.os_disk_is_full":"ディスクがいっぱいになったため、ランタイムが終了しました。\n最近ランボックスを削除した場合、反映には時間がかかることがあります。","runbox.runtime.overlay.terminated.description.quota_exceeded":"ランタイムが期限切れになったため、ランタイムが終了しました。","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"ランボックスは24時間稼働しており、ランタイムが終了しました。\nランボックスに再接続するには、以下のボタンをクリックしてください。","runbox.runtime.overlay.terminated.description.unexpected":"問題が解決しない場合は、カスタマーサービスにお問い合わせください。","runbox.runtime.overlay.terminated.restart":"再接続","runbox.runtime.overlay.terminated.title":"ランタイムが切断されました。"};
6
6
 
7
7
  exports.default = ja;