@elice/material-runbox 1.260930.0 → 1.261005.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 (99) hide show
  1. package/cjs/components/material-runbox/MaterialAdminRunboxConfirmDialog.js +7 -7
  2. package/cjs/components/material-runbox/MaterialRunbox.js +2 -2
  3. package/cjs/components/material-runbox/MaterialRunboxAlert.js +3 -3
  4. package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +1 -1
  5. package/cjs/components/material-runbox/MaterialRunboxContent.js +33 -23
  6. package/cjs/components/material-runbox/MaterialRunboxHeader.js +13 -11
  7. package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +5 -5
  8. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +6 -6
  9. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.js +11 -9
  10. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +7 -8
  11. package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +25 -24
  12. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +11 -7
  13. package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +15 -16
  14. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +13 -14
  15. package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +8 -8
  16. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +6 -6
  17. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +46 -38
  18. package/cjs/components/material-runbox/contexts/MaterialRunboxCommandContext.js +2 -2
  19. package/cjs/components/material-runbox/contexts/MaterialRunboxContext.d.ts +1 -1
  20. package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +5 -5
  21. package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +17 -13
  22. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
  23. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +5 -6
  24. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +20 -16
  25. package/cjs/components/material-runbox/hooks/useRunboxControl.js +2 -2
  26. package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +7 -7
  27. package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.js +39 -27
  28. package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.js +68 -49
  29. package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +35 -27
  30. package/cjs/components/material-runbox/runtime/runtime-loading-tips.d.ts +2 -2
  31. package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.js +7 -7
  32. package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +1 -1
  33. package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +16 -10
  34. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
  35. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +24 -20
  36. package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +22 -14
  37. package/cjs/components/material-runbox/theme.d.ts +2 -2
  38. package/cjs/components/material-runbox/theme.js +3 -3
  39. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +39 -25
  40. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +7 -5
  41. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +39 -25
  42. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +9 -5
  43. package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +17 -13
  44. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
  45. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +76 -48
  46. package/cjs/components/shared/hooks/useBreakpoint.d.ts +2 -2
  47. package/cjs/components/shared/hooks/useBreakpoint.js +3 -3
  48. package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.d.ts +1 -1
  49. package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +12 -11
  50. package/es/components/material-runbox/MaterialAdminRunboxConfirmDialog.js +1 -1
  51. package/es/components/material-runbox/MaterialRunbox.js +1 -1
  52. package/es/components/material-runbox/MaterialRunboxAlert.js +1 -1
  53. package/es/components/material-runbox/MaterialRunboxContent.d.ts +1 -1
  54. package/es/components/material-runbox/MaterialRunboxContent.js +19 -9
  55. package/es/components/material-runbox/MaterialRunboxHeader.js +9 -7
  56. package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +2 -2
  57. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +3 -3
  58. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.js +4 -2
  59. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +4 -5
  60. package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +6 -5
  61. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +8 -4
  62. package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +5 -6
  63. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +4 -5
  64. package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +4 -4
  65. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +3 -3
  66. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +28 -20
  67. package/es/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -1
  68. package/es/components/material-runbox/contexts/MaterialRunboxContext.d.ts +1 -1
  69. package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +3 -3
  70. package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +10 -6
  71. package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
  72. package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +3 -4
  73. package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +10 -6
  74. package/es/components/material-runbox/hooks/useRunboxControl.js +1 -1
  75. package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +1 -1
  76. package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.js +26 -14
  77. package/es/components/material-runbox/runtime/RuntimeOverlayLoading.js +38 -19
  78. package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +20 -12
  79. package/es/components/material-runbox/runtime/runtime-loading-tips.d.ts +2 -2
  80. package/es/components/material-runbox/status/MaterialRunboxStatusButton.js +5 -5
  81. package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +1 -1
  82. package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +13 -7
  83. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
  84. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +19 -15
  85. package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +17 -9
  86. package/es/components/material-runbox/theme.d.ts +2 -2
  87. package/es/components/material-runbox/theme.js +1 -1
  88. package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +26 -12
  89. package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +5 -3
  90. package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +26 -12
  91. package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +7 -3
  92. package/es/components/material-runbox/timer/MaterialRunboxTimer.js +11 -7
  93. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
  94. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +55 -27
  95. package/es/components/shared/hooks/useBreakpoint.d.ts +2 -2
  96. package/es/components/shared/hooks/useBreakpoint.js +1 -1
  97. package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.d.ts +1 -1
  98. package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +10 -9
  99. package/package.json +15 -19
@@ -1,12 +1,12 @@
1
1
  import { taggedTemplateLiteral as _taggedTemplateLiteral, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { styled, ThemeProvider, CircularProgress, Stack, Typography, Button } from '@elice/eds-material';
5
+ import { SnackbarProvider } from '@elice/eds-x-snackbar';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { SnackbarProvider } from '@elice/mui-x-snackbar';
6
7
  import { RunboxStarterGetResponseStatusEnum } from '@elice/openapi-client-material-runbox';
7
8
  import { EliceRunboxProvider } from '@elice/runbox-client';
8
9
  import { Refresh } from '@mui/icons-material';
9
- import { styled, ThemeProvider, CircularProgress, Stack, Typography, Button } from '@mui/material';
10
10
  import { useQuery } from '@tanstack/react-query';
11
11
  import MaterialAdminRunboxConfirmDialog from './MaterialAdminRunboxConfirmDialog.js';
12
12
  import MaterialRunboxAlert from './MaterialRunboxAlert.js';
@@ -173,14 +173,18 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
173
173
  color: 'text.primary'
174
174
  },
175
175
  children: jsxs(Stack, {
176
- gap: "1.5rem",
176
+ sx: {
177
+ gap: '1.5rem'
178
+ },
177
179
  children: [jsx(Typography, {
178
180
  variant: "h6",
179
181
  children: intl.formatMessage({
180
182
  id: 'runbox.runtime.message.startError'
181
183
  })
182
184
  }), jsxs(Stack, {
183
- gap: "0.5rem",
185
+ sx: {
186
+ gap: '0.5rem'
187
+ },
184
188
  children: [jsx(Button, {
185
189
  startIcon: jsx(Refresh, {}),
186
190
  onClick: function onClick() {
@@ -212,18 +216,24 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
212
216
  color: 'text.primary'
213
217
  },
214
218
  children: jsxs(Stack, {
215
- gap: "0.5rem",
216
- textAlign: "center",
219
+ sx: {
220
+ textAlign: 'center',
221
+ gap: '0.5rem'
222
+ },
217
223
  children: [jsx(Typography, {
218
224
  variant: "h6",
219
- color: "text.secondary",
225
+ sx: {
226
+ color: 'text.secondary'
227
+ },
220
228
  children: intl.formatMessage({
221
229
  id: 'runbox.runtime.message.runbox_unavailable'
222
230
  })
223
231
  }), jsx(Typography, {
224
232
  variant: "body1",
225
- whiteSpace: "pre-line",
226
- color: "text.tertiary",
233
+ sx: {
234
+ color: 'text.tertiary',
235
+ whiteSpace: 'pre-line'
236
+ },
227
237
  children: intl.formatMessage({
228
238
  id: 'runbox.runtime.message.lxp_plan_required'
229
239
  })
@@ -3,13 +3,13 @@ import _styled from '@emotion/styled/base';
3
3
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
  import { getGlobalOrganizationGet } from '@elice/api-client';
6
+ import { Tag, FaIcon } from '@elice/eds-kit';
7
+ import { Stack, IconButton, Button } from '@elice/eds-material';
6
8
  import { useRawEliceIntl } from '@elice/intl';
7
9
  import { useMaterialConfig } from '@elice/material-shared-utils';
8
- import { Tag, EliceIcon } from '@elice/mui-elements';
9
10
  import { useEliceRunboxRunning } from '@elice/runbox-client';
10
11
  import { enums } from '@elice/types';
11
12
  import { faEllipsisVertical } from '@fortawesome/pro-solid-svg-icons';
12
- import { Stack, IconButton, Button } from '@mui/material';
13
13
  import { useQuery } from '@tanstack/react-query';
14
14
  import MaterialRunboxActionDisconnect from './actions/MaterialRunboxActionDisconnect.js';
15
15
  import MaterialRunboxActionGrade from './actions/MaterialRunboxActionGrade.js';
@@ -166,12 +166,12 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
166
166
  size: "small",
167
167
  disabled: !isRunboxRunning,
168
168
  onClick: handleMenuButtonClick,
169
- children: jsx(EliceIcon, {
169
+ children: jsx(FaIcon, {
170
170
  icon: faEllipsisVertical
171
171
  })
172
172
  }) : jsx(Button, {
173
173
  disabled: !isRunboxRunning,
174
- startIcon: jsx(EliceIcon, {
174
+ startIcon: jsx(FaIcon, {
175
175
  icon: faEllipsisVertical
176
176
  }),
177
177
  color: "inherit",
@@ -224,9 +224,11 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
224
224
  userId: studentUserId
225
225
  }), jsxs(Stack, {
226
226
  direction: "row",
227
- alignItems: "center",
228
- gap: "0.5rem",
229
- marginLeft: "auto",
227
+ sx: {
228
+ marginLeft: 'auto',
229
+ gap: '0.5rem',
230
+ alignItems: 'center'
231
+ },
230
232
  children: [renderHeaderSubmitInfo(), renderOptionMenu(), renderHeaderActionDisconnect(), renderHeaderActionGrade()]
231
233
  })]
232
234
  });
@@ -1,7 +1,7 @@
1
1
  import _styled from '@emotion/styled/base';
2
2
  import { jsx } from 'react/jsx-runtime';
3
+ import { FormControlLabel, Tooltip, Switch } from '@elice/eds-material';
3
4
  import { useRawEliceIntl } from '@elice/intl';
4
- import { FormControlLabel, Tooltip, Switch } from '@mui/material';
5
5
  import { useMaterialRunboxApiContext } from '../contexts/MaterialRunboxApiContext.js';
6
6
 
7
7
  function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
@@ -68,7 +68,7 @@ var MaterialRunboxActionAutoShutdown = function MaterialRunboxActionAutoShutdown
68
68
  label: intl.formatMessage({
69
69
  id: 'runbox.action.autoShutdown.title'
70
70
  }),
71
- componentsProps: {
71
+ slotProps: {
72
72
  typography: {
73
73
  variant: 'body2'
74
74
  }
@@ -1,11 +1,11 @@
1
1
  import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { Tooltip, IconButton, Button } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { useEliceRunboxRunning } from '@elice/runbox-client';
7
8
  import { faLinkSlash } from '@fortawesome/pro-solid-svg-icons';
8
- import { Tooltip, IconButton, Button } from '@mui/material';
9
9
  import MaterialRunboxActionDisconnectDialog from './MaterialRunboxActionDisconnectDialog.js';
10
10
  import { useBreakpoint } from '../../shared/hooks/useBreakpoint.js';
11
11
  import { useMaterialRunboxControlContext } from '../contexts/MaterialRunboxControlContext.js';
@@ -53,7 +53,7 @@ var MaterialRunboxActionDisconnect = function MaterialRunboxActionDisconnect() {
53
53
  size: "small",
54
54
  disabled: isRunboxTerminated,
55
55
  onClick: handleClickAction,
56
- children: jsx(EliceIcon, {
56
+ children: jsx(FaIcon, {
57
57
  icon: faLinkSlash
58
58
  })
59
59
  })
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { Dialog, DialogTitle, DialogContent, Typography, DialogActions, Button } from '@elice/eds-material';
2
3
  import { useRawEliceIntl } from '@elice/intl';
3
- import { Dialog, DialogTitle, DialogContent, Typography, DialogActions, Button } from '@mui/material';
4
4
 
5
5
  var MaterialRunboxActionDisconnectDialog = function MaterialRunboxActionDisconnectDialog(_ref) {
6
6
  var open = _ref.open,
@@ -31,7 +31,9 @@ var MaterialRunboxActionDisconnectDialog = function MaterialRunboxActionDisconne
31
31
  })
32
32
  }), jsx(DialogContent, {
33
33
  children: jsx(Typography, {
34
- whiteSpace: "pre-line",
34
+ sx: {
35
+ whiteSpace: 'pre-line'
36
+ },
35
37
  children: intl.formatMessage({
36
38
  id: 'runbox.action.disconnect.dialog.description'
37
39
  })
@@ -1,12 +1,11 @@
1
1
  import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator, regenerator as _regenerator } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { MenuItem, Button, ListItemIcon, ListItemText } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { useEliceRunboxRunning } from '@elice/runbox-client';
7
8
  import { faLinkSlash } from '@fortawesome/pro-solid-svg-icons';
8
- import { LoadingButton } from '@mui/lab';
9
- import { MenuItem, ListItemIcon, ListItemText } from '@mui/material';
10
9
  import MaterialRunboxActionDisconnectDialog from './MaterialRunboxActionDisconnectDialog.js';
11
10
  import { useMaterialRunboxControlContext } from '../contexts/MaterialRunboxControlContext.js';
12
11
 
@@ -51,7 +50,7 @@ var MaterialRunboxActionDisconnectMenuItem = function MaterialRunboxActionDiscon
51
50
  return jsxs(Fragment, {
52
51
  children: [jsxs(MenuItem, {
53
52
  fullWidth: true,
54
- component: LoadingButton,
53
+ component: Button,
55
54
  color: "inherit",
56
55
  loading: isStopping,
57
56
  disabled: isRunboxTerminated,
@@ -59,7 +58,7 @@ var MaterialRunboxActionDisconnectMenuItem = function MaterialRunboxActionDiscon
59
58
  return setDisconnectDialogOpen(true);
60
59
  },
61
60
  children: [jsx(ListItemIcon, {
62
- children: jsx(EliceIcon, {
61
+ children: jsx(FaIcon, {
63
62
  icon: faLinkSlash
64
63
  })
65
64
  }), jsx(ListItemText, {
@@ -3,13 +3,12 @@ import _styled from '@emotion/styled/base';
3
3
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
  import { Transition } from 'react-transition-group';
6
+ import { Button, Tooltip, ButtonGroup, Badge, Dialog, DialogTitle, DialogContent, Stack, Alert, DialogActions, Typography } from '@elice/eds-material';
7
+ import { useSnackbar } from '@elice/eds-x-snackbar';
6
8
  import { useRawEliceIntl } from '@elice/intl';
7
- import { useSnackbar } from '@elice/mui-x-snackbar';
8
9
  import { CommandType } from '@elice/openapi-client-material-runbox';
9
10
  import { useEliceRunboxRunning } from '@elice/runbox-client';
10
11
  import { Terminal } from '@mui/icons-material';
11
- import { LoadingButton } from '@mui/lab';
12
- import { Tooltip, ButtonGroup, Badge, Dialog, DialogTitle, DialogContent, Stack, Alert, DialogActions, Button, Typography } from '@mui/material';
13
12
  import { useQuery } from '@tanstack/react-query';
14
13
  import { useMaterialRunboxApiContext } from '../contexts/MaterialRunboxApiContext.js';
15
14
  import { useMaterialRunboxCommandContext } from '../contexts/MaterialRunboxCommandContext.js';
@@ -39,7 +38,7 @@ var TRANSITION_STYLE_MAP = {
39
38
  //
40
39
  //
41
40
  //
42
- var StyledMainActionButton = /*#__PURE__*/_styled(LoadingButton, {
41
+ var StyledMainActionButton = /*#__PURE__*/_styled(Button, {
43
42
  target: "eae460y2"
44
43
  })("production" === "production" ? {
45
44
  name: "tssn5p",
@@ -296,7 +295,9 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
296
295
  })
297
296
  }), jsx(DialogContent, {
298
297
  children: jsxs(Stack, {
299
- gap: "0.75rem",
298
+ sx: {
299
+ gap: '0.75rem'
300
+ },
300
301
  children: [lastCommand.terminatedReason === 'done' ? jsx(Alert, {
301
302
  severity: "success",
302
303
  children: intl.formatMessage({
@@ -2,9 +2,9 @@ import { asyncToGenerator as _asyncToGenerator, regenerator as _regenerator } fr
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import { getOrgCourseGet } from '@elice/api-client';
5
+ import { Menu, Fade, Stack, Divider } from '@elice/eds-material';
5
6
  import { useEliceRunboxRunning } from '@elice/runbox-client';
6
7
  import { enums } from '@elice/types';
7
- import { Menu, Fade, Stack, Divider } from '@mui/material';
8
8
  import { useQuery } from '@tanstack/react-query';
9
9
  import MaterialRunboxActionAutoShutdown from './MaterialRunboxActionAutoShutdown.js';
10
10
  import MaterialRunboxActionDisconnectMenuItem from './MaterialRunboxActionDisconnectMenuItem.js';
@@ -86,13 +86,17 @@ var MaterialRunboxActionMenu = function MaterialRunboxActionMenu(_ref) {
86
86
  vertical: 'top',
87
87
  horizontal: 'right'
88
88
  },
89
- TransitionComponent: Fade,
89
+ slots: {
90
+ transition: Fade
91
+ },
90
92
  onClose: handleMenuClose,
91
93
  children: [enableAutoShutdown ? jsxs(Fragment, {
92
94
  children: [jsx(Stack, {
93
95
  direction: "row",
94
- alignItems: "center",
95
- padding: "0.25rem 0.5rem",
96
+ sx: {
97
+ padding: '0.25rem 0.5rem',
98
+ alignItems: 'center'
99
+ },
96
100
  children: jsx(MaterialRunboxActionAutoShutdown, {
97
101
  runtime: runtime,
98
102
  runtimeTemplate: runtimeTemplate,
@@ -1,14 +1,13 @@
1
1
  import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator, regenerator as _regenerator } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { MenuItem, ListItemIcon, ListItemText, Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Button } from '@elice/eds-material';
6
+ import { useSnackbar } from '@elice/eds-x-snackbar';
4
7
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
- import { useSnackbar } from '@elice/mui-x-snackbar';
7
8
  import { CommandType } from '@elice/openapi-client-material-runbox';
8
9
  import { enums } from '@elice/types';
9
10
  import { faRefresh } from '@fortawesome/pro-solid-svg-icons';
10
- import { LoadingButton } from '@mui/lab';
11
- import { MenuItem, ListItemIcon, ListItemText, Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Button } from '@mui/material';
12
11
  import { useMaterialRunboxApiContext } from '../contexts/MaterialRunboxApiContext.js';
13
12
  import { useMaterialRunboxCommandContext } from '../contexts/MaterialRunboxCommandContext.js';
14
13
 
@@ -98,7 +97,7 @@ var MaterialRunboxActionReset = function MaterialRunboxActionReset(_ref) {
98
97
  return setDialogOpened(true);
99
98
  },
100
99
  children: [jsx(ListItemIcon, {
101
- children: jsx(EliceIcon, {
100
+ children: jsx(FaIcon, {
102
101
  icon: faRefresh
103
102
  })
104
103
  }), jsx(ListItemText, {
@@ -143,7 +142,7 @@ var MaterialRunboxActionReset = function MaterialRunboxActionReset(_ref) {
143
142
  children: intl.formatMessage({
144
143
  id: 'runbox.common.close'
145
144
  })
146
- }), jsx(LoadingButton, {
145
+ }), jsx(Button, {
147
146
  variant: "contained",
148
147
  color: "warning",
149
148
  loading: isLoading || isLastCommandRunning,
@@ -1,12 +1,11 @@
1
1
  import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { MenuItem, ListItemIcon, ListItemText, Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Button } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { enums } from '@elice/types';
7
8
  import { faRotateRight } from '@fortawesome/pro-solid-svg-icons';
8
- import { LoadingButton } from '@mui/lab';
9
- import { MenuItem, ListItemIcon, ListItemText, Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Button } from '@mui/material';
10
9
  import { useMaterialRunboxControlContext } from '../contexts/MaterialRunboxControlContext.js';
11
10
 
12
11
  //
@@ -51,7 +50,7 @@ var MaterialRunboxActionRestart = function MaterialRunboxActionRestart(_ref) {
51
50
  return setDialogOpened(true);
52
51
  },
53
52
  children: [jsx(ListItemIcon, {
54
- children: jsx(EliceIcon, {
53
+ children: jsx(FaIcon, {
55
54
  icon: faRotateRight
56
55
  })
57
56
  }), jsx(ListItemText, {
@@ -96,7 +95,7 @@ var MaterialRunboxActionRestart = function MaterialRunboxActionRestart(_ref) {
96
95
  children: intl.formatMessage({
97
96
  id: 'runbox.common.close'
98
97
  })
99
- }), jsx(LoadingButton, {
98
+ }), jsx(Button, {
100
99
  variant: "contained",
101
100
  color: "warning",
102
101
  loading: isStarting,
@@ -2,12 +2,12 @@ import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPlugin
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import { useCopyToClipboard } from 'react-use';
5
+ import { FaIcon } from '@elice/eds-kit';
6
+ import { MenuItem, ListItemIcon, ListItemText } from '@elice/eds-material';
7
+ import { useSnackbar } from '@elice/eds-x-snackbar';
5
8
  import { useRawEliceIntl } from '@elice/intl';
6
- import { EliceIcon } from '@elice/mui-elements';
7
- import { useSnackbar } from '@elice/mui-x-snackbar';
8
9
  import { useEliceRunboxRunning } from '@elice/runbox-client';
9
10
  import { faLinkSimple } from '@fortawesome/pro-solid-svg-icons';
10
- import { MenuItem, ListItemIcon, ListItemText } from '@mui/material';
11
11
  import { useMaterialRunboxContext } from '../contexts/MaterialRunboxContext.js';
12
12
 
13
13
  //
@@ -43,7 +43,7 @@ var MaterialRunboxActionShare = function MaterialRunboxActionShare(_ref) {
43
43
  disabled: !url,
44
44
  onClick: handleShareAction,
45
45
  children: [jsx(ListItemIcon, {
46
- children: jsx(EliceIcon, {
46
+ children: jsx(FaIcon, {
47
47
  icon: faLinkSimple
48
48
  })
49
49
  }), jsx(ListItemText, {
@@ -1,10 +1,10 @@
1
1
  import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { MenuItem, ListItemIcon, ListItemText } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { faTimeline } from '@fortawesome/pro-regular-svg-icons';
7
- import { MenuItem, ListItemIcon, ListItemText } from '@mui/material';
8
8
  import MaterialRunboxActionSubmitLogDialog from './MaterialRunboxActionSubmitLogDialog.js';
9
9
 
10
10
  //
@@ -26,7 +26,7 @@ var MaterialRunboxActionSubmitLog = function MaterialRunboxActionSubmitLog(props
26
26
  return setIsOpen(true);
27
27
  },
28
28
  children: [jsx(ListItemIcon, {
29
- children: jsx(EliceIcon, {
29
+ children: jsx(FaIcon, {
30
30
  icon: faTimeline
31
31
  })
32
32
  }), jsx(ListItemText, {
@@ -3,11 +3,11 @@ import { __rest } from 'tslib';
3
3
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
  import { useInView } from 'react-intersection-observer';
6
+ import { Tag, FaIcon } from '@elice/eds-kit';
7
+ import { useMediaQuery, Dialog, DialogTitle, DialogContent, Stack, DialogActions, Button, List, ListItemButton, ListItemText, ListItemSecondaryAction, Tooltip, IconButton, Box, Typography } from '@elice/eds-material';
6
8
  import { useRawEliceIntl } from '@elice/intl';
7
- import { Tag, EliceIcon } from '@elice/mui-elements';
8
9
  import { useTheme } from '@emotion/react';
9
10
  import { faArrowDownToLine } from '@fortawesome/pro-regular-svg-icons';
10
- import { useMediaQuery, Dialog, DialogTitle, DialogContent, Stack, DialogActions, Button, List, ListItemButton, ListItemText, ListItemSecondaryAction, Tooltip, IconButton, Box, Typography } from '@mui/material';
11
11
  import dayjs from 'dayjs';
12
12
  import { useInfiniteRunboxRunboxIdGrade } from '../hooks/useInfiniteRunboxRunboxIdGrade.js';
13
13
  import { useMaterialRunboxContext } from '../contexts/MaterialRunboxContext.js';
@@ -47,8 +47,10 @@ var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLog
47
47
  */
48
48
  var renderEmpty = function renderEmpty() {
49
49
  return jsx(Stack, {
50
- justifyContent: "center",
51
- alignItems: "center",
50
+ sx: {
51
+ justifyContent: 'center',
52
+ alignItems: 'center'
53
+ },
52
54
  children: jsx(Typography, {
53
55
  variant: "body1",
54
56
  children: intl.formatMessage({
@@ -79,8 +81,10 @@ var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLog
79
81
  }), jsx(ListItemSecondaryAction, {
80
82
  children: jsxs(Stack, {
81
83
  direction: "row",
82
- alignItems: "center",
83
- gap: "0.5rem",
84
+ sx: {
85
+ alignItems: 'center',
86
+ gap: '0.5rem'
87
+ },
84
88
  children: [(item === null || item === void 0 ? void 0 : item.score) ? jsx(Tag, {
85
89
  variant: "muted",
86
90
  color: typeof getAchievementColor === 'function' ? getAchievementColor({
@@ -100,7 +104,7 @@ var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLog
100
104
  onClick: function onClick() {
101
105
  window.open(item.submissionFileUrl, '_blank');
102
106
  },
103
- children: jsx(EliceIcon, {
107
+ children: jsx(FaIcon, {
104
108
  icon: faArrowDownToLine
105
109
  })
106
110
  })
@@ -118,17 +122,19 @@ var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLog
118
122
  */
119
123
  var renderCodebox = function renderCodebox() {
120
124
  return jsx(Box, {
121
- bgcolor: function bgcolor(theme) {
122
- return theme.palette.common.black;
125
+ sx: {
126
+ bgcolor: function bgcolor(theme) {
127
+ return theme.palette.common.black;
128
+ },
129
+ borderRadius: '0.5rem',
130
+ padding: '1rem',
131
+ width: '100%',
132
+ overflow: 'auto',
133
+ fontFamily: 'Elice Digital Coding, monospace',
134
+ fontSize: '0.875rem',
135
+ whiteSpace: 'pre-wrap',
136
+ lineHeight: '1.375rem'
123
137
  },
124
- borderRadius: "0.5rem",
125
- padding: "1rem",
126
- width: "100%",
127
- overflow: "auto",
128
- fontFamily: "Elice Digital Coding, monospace",
129
- fontSize: "0.875rem",
130
- whiteSpace: "pre-wrap",
131
- lineHeight: "1.375rem",
132
138
  children: selectedGrade === null || selectedGrade === void 0 ? void 0 : selectedGrade.output
133
139
  });
134
140
  };
@@ -163,9 +169,11 @@ var MaterialRunboxActionSubmitLogDialog = function MaterialRunboxActionSubmitLog
163
169
  }), jsx(DialogContent, {
164
170
  children: jsx(Stack, {
165
171
  direction: "row",
166
- gap: "0.5rem",
167
- overflow: "auto",
168
- maxHeight: "30rem",
172
+ sx: {
173
+ gap: '0.5rem',
174
+ overflow: 'auto',
175
+ maxHeight: '30rem'
176
+ },
169
177
  children: (grade === null || grade === void 0 ? void 0 : grade.length) ? jsxs(Fragment, {
170
178
  children: [renderGradeList(), renderCodebox()]
171
179
  }) : renderEmpty()
@@ -1,8 +1,8 @@
1
1
  import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { useSnackbar } from '@elice/eds-x-snackbar';
4
5
  import { useRawEliceIntl } from '@elice/intl';
5
- import { useSnackbar } from '@elice/mui-x-snackbar';
6
6
  import { CommandStatus } from '@elice/openapi-client-material-runbox';
7
7
  import { timer } from 'rxjs';
8
8
  import { take, switchMap, takeWhile } from 'rxjs/operators';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
+ import type { ButtonProps } from '@elice/eds-material';
2
3
  import type { RunningRunbox } from '@elice/openapi-client-material-runbox';
3
- import type { ButtonProps } from '@mui/material';
4
4
  type OverlayOwnedButtonProps = 'children' | 'variant' | 'color' | 'startIcon' | 'endIcon' | 'sx' | 'disableRipple' | 'role' | 'tabIndex' | 'ref';
5
5
  /**
6
6
  * Props for the button reaching the runbox occupying the runtime. Defaults to an `a`;
@@ -1,8 +1,8 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
+ import { FaIcon } from '@elice/eds-kit';
3
+ import { Alert, Typography } from '@elice/eds-material';
2
4
  import { useRawEliceIntl } from '@elice/intl';
3
- import { EliceIcon } from '@elice/mui-elements';
4
5
  import { faArrowsRotate } from '@fortawesome/pro-solid-svg-icons';
5
- import { Alert, Typography } from '@mui/material';
6
6
  import MaterialRunboxEnvResetButton from './MaterialRunboxEnvResetButton.js';
7
7
  import { useRunboxDiskUsage } from '../hooks/useRunboxDiskUsage.js';
8
8
 
@@ -39,7 +39,7 @@ var MaterialRunboxDiskUsageAlert = function MaterialRunboxDiskUsageAlert(_ref) {
39
39
  variant: "text",
40
40
  size: "small",
41
41
  color: "inherit",
42
- startIcon: jsx(EliceIcon, {
42
+ startIcon: jsx(FaIcon, {
43
43
  icon: faArrowsRotate
44
44
  }),
45
45
  runtimeTemplateId: runtimeTemplateId,
@@ -1,10 +1,10 @@
1
1
  import { slicedToArray as _slicedToArray, defineProperty as _defineProperty, toConsumableArray as _toConsumableArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useSessionStorage } from 'react-use';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { Dialog, DialogTitle, Stack, DialogContent, DialogContentText, DialogActions, Button } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { faCircleExclamation, faTriangleExclamation } from '@fortawesome/pro-solid-svg-icons';
7
- import { Dialog, DialogTitle, Stack, DialogContent, DialogContentText, DialogActions, Button } from '@mui/material';
8
8
  import { useRunboxDiskUsage } from '../hooks/useRunboxDiskUsage.js';
9
9
 
10
10
  //
@@ -54,9 +54,11 @@ var MaterialRunboxDiskUsageDialog = function MaterialRunboxDiskUsageDialog(_ref)
54
54
  children: [jsx(DialogTitle, {
55
55
  children: jsxs(Stack, {
56
56
  direction: "row",
57
- alignItems: "center",
58
- gap: "0.5rem",
59
- children: [jsx(EliceIcon, {
57
+ sx: {
58
+ gap: '0.5rem',
59
+ alignItems: 'center'
60
+ },
61
+ children: [jsx(FaIcon, {
60
62
  icon: severity === 'error' ? faCircleExclamation : faTriangleExclamation,
61
63
  color: severity
62
64
  }), intl.formatMessage({
@@ -65,7 +67,9 @@ var MaterialRunboxDiskUsageDialog = function MaterialRunboxDiskUsageDialog(_ref)
65
67
  })
66
68
  }), jsx(DialogContent, {
67
69
  children: jsx(DialogContentText, {
68
- whiteSpace: "pre-line",
70
+ sx: {
71
+ whiteSpace: 'pre-line'
72
+ },
69
73
  children: intl.formatMessage({
70
74
  id: "runbox.disk.usage.dialog.description.".concat(severity)
71
75
  }, {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import type { LoadingButtonProps } from '@mui/lab';
3
- export interface MaterialRunboxEnvResetButtonProps extends Omit<LoadingButtonProps, 'onClick' | 'loading'> {
2
+ import type { ButtonProps } from '@elice/eds-material';
3
+ export interface MaterialRunboxEnvResetButtonProps extends Omit<ButtonProps, 'onClick' | 'loading'> {
4
4
  runtimeTemplateId: string;
5
5
  courseId: number;
6
6
  userId?: number;
@@ -2,10 +2,9 @@ import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator,
2
2
  import { __rest } from 'tslib';
3
3
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
4
4
  import React from 'react';
5
+ import { Button, ThemeProvider } from '@elice/eds-material';
6
+ import { useSnackbar } from '@elice/eds-x-snackbar';
5
7
  import { useRawEliceIntl } from '@elice/intl';
6
- import { useSnackbar } from '@elice/mui-x-snackbar';
7
- import { LoadingButton } from '@mui/lab';
8
- import { ThemeProvider } from '@mui/material';
9
8
  import { runboxDarkTheme } from '../theme.js';
10
9
  import MaterialRunboxEnvResetDialog from './MaterialRunboxEnvResetDialog.js';
11
10
  import { useMaterialRunboxApiContext } from '../contexts/MaterialRunboxApiContext.js';
@@ -117,7 +116,7 @@ var MaterialRunboxEnvResetButton = function MaterialRunboxEnvResetButton(_a) {
117
116
  //
118
117
  //
119
118
  return jsxs(Fragment, {
120
- children: [jsx(LoadingButton, Object.assign({}, props, {
119
+ children: [jsx(Button, Object.assign({}, props, {
121
120
  loading: isResetting,
122
121
  onClick: function onClick() {
123
122
  return setDialogOpened(true);
@@ -1,10 +1,10 @@
1
1
  import { slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { Dialog, DialogTitle, Stack, DialogContent, DialogContentText, FormControlLabel, Checkbox, DialogActions, Button } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { faCircleExclamation } from '@fortawesome/pro-solid-svg-icons';
7
- import { Dialog, DialogTitle, Stack, DialogContent, DialogContentText, FormControlLabel, Checkbox, DialogActions, Button } from '@mui/material';
8
8
 
9
9
  //
10
10
  //
@@ -39,9 +39,11 @@ var MaterialRunboxEnvResetDialog = function MaterialRunboxEnvResetDialog(_ref) {
39
39
  children: [jsx(DialogTitle, {
40
40
  children: jsxs(Stack, {
41
41
  direction: "row",
42
- alignItems: "center",
43
- gap: "0.5rem",
44
- children: [jsx(EliceIcon, {
42
+ sx: {
43
+ gap: '0.5rem',
44
+ alignItems: 'center'
45
+ },
46
+ children: [jsx(FaIcon, {
45
47
  icon: faCircleExclamation,
46
48
  color: "error"
47
49
  }), intl.formatMessage({
@@ -50,7 +52,9 @@ var MaterialRunboxEnvResetDialog = function MaterialRunboxEnvResetDialog(_ref) {
50
52
  })
51
53
  }), jsxs(DialogContent, {
52
54
  children: [jsx(DialogContentText, {
53
- whiteSpace: "pre-line",
55
+ sx: {
56
+ whiteSpace: 'pre-line'
57
+ },
54
58
  children: intl.formatMessage({
55
59
  id: 'runbox.disk.env_reset.dialog.description'
56
60
  })
@@ -1,7 +1,7 @@
1
1
  import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator, regenerator as _regenerator } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { useRef, useState, useCallback } from 'react';
3
+ import { useSnackbar } from '@elice/eds-x-snackbar';
3
4
  import { useRawEliceIntl } from '@elice/intl';
4
- import { useSnackbar } from '@elice/mui-x-snackbar';
5
5
  import { useEliceRunboxRunning } from '@elice/runbox-client';
6
6
  import { useMaterialRunboxApiContext } from '../contexts/MaterialRunboxApiContext.js';
7
7