@elice/material-runbox 1.260915.0-edsmigration.0 → 1.260921.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 +23 -33
  6. package/cjs/components/material-runbox/MaterialRunboxHeader.js +11 -13
  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 +9 -11
  10. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +8 -7
  11. package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +24 -25
  12. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +7 -11
  13. package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +16 -15
  14. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +14 -13
  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 +38 -46
  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 +13 -17
  22. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
  23. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +6 -5
  24. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +16 -20
  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 +27 -39
  28. package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.js +49 -68
  29. package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +27 -35
  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 +10 -16
  34. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
  35. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +20 -24
  36. package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +14 -22
  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 +25 -39
  40. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +5 -7
  41. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +25 -39
  42. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +5 -9
  43. package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +13 -17
  44. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
  45. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +48 -76
  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 +11 -12
  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 +9 -19
  55. package/es/components/material-runbox/MaterialRunboxHeader.js +7 -9
  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 +2 -4
  59. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +5 -4
  60. package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +5 -6
  61. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +4 -8
  62. package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +6 -5
  63. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +5 -4
  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 +20 -28
  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 +6 -10
  71. package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
  72. package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +4 -3
  73. package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +6 -10
  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 +14 -26
  77. package/es/components/material-runbox/runtime/RuntimeOverlayLoading.js +19 -38
  78. package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +12 -20
  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 +7 -13
  83. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
  84. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +15 -19
  85. package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +9 -17
  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 +12 -26
  89. package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +3 -5
  90. package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +12 -26
  91. package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +3 -7
  92. package/es/components/material-runbox/timer/MaterialRunboxTimer.js +7 -11
  93. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
  94. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +27 -55
  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 +9 -10
  99. package/package.json +18 -17
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var edsMaterial = require('@elice/eds-material');
7
6
  var intl = require('@elice/intl');
7
+ var material = require('@mui/material');
8
8
 
9
9
  //
10
10
  //
@@ -17,25 +17,25 @@ var MaterialAdminRunboxConfirmDialog = function MaterialAdminRunboxConfirmDialog
17
17
  //
18
18
  //
19
19
  //
20
- return jsxRuntime.jsxs(edsMaterial.Dialog, {
20
+ return jsxRuntime.jsxs(material.Dialog, {
21
21
  open: isOpen,
22
22
  onClose: onClose,
23
- children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
23
+ children: [jsxRuntime.jsx(material.DialogTitle, {
24
24
  children: intl$1.formatMessage({
25
25
  id: 'material.tutoring.runbox_confirm_dialog.title'
26
26
  })
27
- }), jsxRuntime.jsx(edsMaterial.DialogContent, {
27
+ }), jsxRuntime.jsx(material.DialogContent, {
28
28
  children: intl$1.formatMessage({
29
29
  id: 'material.tutoring.runbox_confirm_dialog.content'
30
30
  })
31
- }), jsxRuntime.jsxs(edsMaterial.DialogActions, {
32
- children: [jsxRuntime.jsx(edsMaterial.Button, {
31
+ }), jsxRuntime.jsxs(material.DialogActions, {
32
+ children: [jsxRuntime.jsx(material.Button, {
33
33
  color: "inherit",
34
34
  onClick: onClose,
35
35
  children: intl$1.formatMessage({
36
36
  id: 'common.cancel'
37
37
  })
38
- }), jsxRuntime.jsx(edsMaterial.Button, {
38
+ }), jsxRuntime.jsx(material.Button, {
39
39
  onClick: onConfirm,
40
40
  children: intl$1.formatMessage({
41
41
  id: 'material.tutoring.runbox_confirm_dialog.action.confirm'
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
- var edsMaterial = require('@elice/eds-material');
8
7
  var intl = require('@elice/intl');
8
+ var material = require('@mui/material');
9
9
  var MaterialRunboxContent = require('./MaterialRunboxContent.js');
10
10
  var theme = require('./theme.js');
11
11
  var en = require('./locales/en.json.js');
@@ -31,7 +31,7 @@ var MaterialRunbox = function MaterialRunbox(_a) {
31
31
  eliceMaterialRunboxApiConfiguration = _a.eliceMaterialRunboxApiConfiguration,
32
32
  __intl = _a.__intl,
33
33
  contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "getRunningRunboxLinkProps", "eliceMaterialRunboxApiConfiguration", "__intl"]);
34
- return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
34
+ return jsxRuntime.jsx(material.ThemeProvider, {
35
35
  theme: theme.runboxDarkTheme,
36
36
  children: jsxRuntime.jsx(intl.RawEliceIntlProvider, {
37
37
  value: __intl,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var edsMaterial = require('@elice/eds-material');
7
6
  var intl = require('@elice/intl');
7
+ var material = require('@mui/material');
8
8
  var useMaterialRunboxRunboxIdStarterGet = require('./hooks/useMaterialRunboxRunboxIdStarterGet.js');
9
9
 
10
10
  var MaterialRunboxAlert = function MaterialRunboxAlert(_ref) {
@@ -28,13 +28,13 @@ var MaterialRunboxAlert = function MaterialRunboxAlert(_ref) {
28
28
  if (!isStudentRunboxRunning || !isTutoring) {
29
29
  return null;
30
30
  }
31
- return jsxRuntime.jsx(edsMaterial.Alert, {
31
+ return jsxRuntime.jsx(material.Alert, {
32
32
  severity: "warning",
33
33
  sx: {
34
34
  width: '100%',
35
35
  borderRadius: '0'
36
36
  },
37
- children: jsxRuntime.jsx(edsMaterial.AlertTitle, {
37
+ children: jsxRuntime.jsx(material.AlertTitle, {
38
38
  children: intl$1.formatMessage({
39
39
  id: 'runbox.alert.title'
40
40
  })
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { TagProps } from '@elice/eds-kit';
2
+ import type { TagProps } from '@elice/mui-elements';
3
3
  import type { MaterialRunboxHeaderProps } from './MaterialRunboxHeader';
4
4
  export type GetAchievementColor = {
5
5
  (params: {
@@ -5,12 +5,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
- var edsMaterial = require('@elice/eds-material');
9
- var edsXSnackbar = require('@elice/eds-x-snackbar');
10
8
  var intl = require('@elice/intl');
9
+ var muiXSnackbar = require('@elice/mui-x-snackbar');
11
10
  var openapiClientMaterialRunbox = require('@elice/openapi-client-material-runbox');
12
11
  var runboxClient = require('@elice/runbox-client');
13
12
  var iconsMaterial = require('@mui/icons-material');
13
+ var material = require('@mui/material');
14
14
  var reactQuery = require('@tanstack/react-query');
15
15
  var MaterialAdminRunboxConfirmDialog = require('./MaterialAdminRunboxConfirmDialog.js');
16
16
  var MaterialRunboxAlert = require('./MaterialRunboxAlert.js');
@@ -38,7 +38,7 @@ var SNACKBAR_CONTAINER_CLASS = 'elice-material-runbox-snackbar-container';
38
38
  //
39
39
  //
40
40
  //
41
- var StyledRunboxContainer = edsMaterial.styled('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers.taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n\n .", " {\n position: absolute;\n }\n"])), SNACKBAR_CONTAINER_CLASS);
41
+ var StyledRunboxContainer = material.styled('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers.taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n\n .", " {\n position: absolute;\n }\n"])), SNACKBAR_CONTAINER_CLASS);
42
42
  //
43
43
  //
44
44
  //
@@ -162,38 +162,34 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
162
162
  //
163
163
  //
164
164
  if (isInitialLoading || starterEnabled && isLoading) {
165
- return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
165
+ return jsxRuntime.jsx(material.ThemeProvider, {
166
166
  theme: theme.runboxLightTheme,
167
167
  children: jsxRuntime.jsx(StyledRunboxContainer, {
168
168
  sx: {
169
169
  backgroundColor: 'background.paper'
170
170
  },
171
- children: jsxRuntime.jsx(edsMaterial.CircularProgress, {})
171
+ children: jsxRuntime.jsx(material.CircularProgress, {})
172
172
  })
173
173
  });
174
174
  }
175
175
  if (isError) {
176
- return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
176
+ return jsxRuntime.jsx(material.ThemeProvider, {
177
177
  theme: theme.runboxLightTheme,
178
178
  children: jsxRuntime.jsx(StyledRunboxContainer, {
179
179
  sx: {
180
180
  backgroundColor: 'background.paper',
181
181
  color: 'text.primary'
182
182
  },
183
- children: jsxRuntime.jsxs(edsMaterial.Stack, {
184
- sx: {
185
- gap: '1.5rem'
186
- },
187
- children: [jsxRuntime.jsx(edsMaterial.Typography, {
183
+ children: jsxRuntime.jsxs(material.Stack, {
184
+ gap: "1.5rem",
185
+ children: [jsxRuntime.jsx(material.Typography, {
188
186
  variant: "h6",
189
187
  children: intl$1.formatMessage({
190
188
  id: 'runbox.runtime.message.startError'
191
189
  })
192
- }), jsxRuntime.jsxs(edsMaterial.Stack, {
193
- sx: {
194
- gap: '0.5rem'
195
- },
196
- children: [jsxRuntime.jsx(edsMaterial.Button, {
190
+ }), jsxRuntime.jsxs(material.Stack, {
191
+ gap: "0.5rem",
192
+ children: [jsxRuntime.jsx(material.Button, {
197
193
  startIcon: jsxRuntime.jsx(iconsMaterial.Refresh, {}),
198
194
  onClick: function onClick() {
199
195
  return refetch();
@@ -201,7 +197,7 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
201
197
  children: intl$1.formatMessage({
202
198
  id: 'runbox.common.retry'
203
199
  })
204
- }), typeof showMessenger === 'function' ? jsxRuntime.jsx(edsMaterial.Button, {
200
+ }), typeof showMessenger === 'function' ? jsxRuntime.jsx(material.Button, {
205
201
  variant: "outlined",
206
202
  onClick: function onClick() {
207
203
  return showMessenger();
@@ -216,32 +212,26 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
216
212
  });
217
213
  }
218
214
  if (!enabledLxpPlan) {
219
- return jsxRuntime.jsx(edsMaterial.ThemeProvider, {
215
+ return jsxRuntime.jsx(material.ThemeProvider, {
220
216
  theme: theme.runboxLightTheme,
221
217
  children: jsxRuntime.jsx(StyledRunboxContainer, {
222
218
  sx: {
223
219
  backgroundColor: 'background.paper',
224
220
  color: 'text.primary'
225
221
  },
226
- children: jsxRuntime.jsxs(edsMaterial.Stack, {
227
- sx: {
228
- textAlign: 'center',
229
- gap: '0.5rem'
230
- },
231
- children: [jsxRuntime.jsx(edsMaterial.Typography, {
222
+ children: jsxRuntime.jsxs(material.Stack, {
223
+ gap: "0.5rem",
224
+ textAlign: "center",
225
+ children: [jsxRuntime.jsx(material.Typography, {
232
226
  variant: "h6",
233
- sx: {
234
- color: 'text.secondary'
235
- },
227
+ color: "text.secondary",
236
228
  children: intl$1.formatMessage({
237
229
  id: 'runbox.runtime.message.runbox_unavailable'
238
230
  })
239
- }), jsxRuntime.jsx(edsMaterial.Typography, {
231
+ }), jsxRuntime.jsx(material.Typography, {
240
232
  variant: "body1",
241
- sx: {
242
- color: 'text.tertiary',
243
- whiteSpace: 'pre-line'
244
- },
233
+ whiteSpace: "pre-line",
234
+ color: "text.tertiary",
245
235
  children: intl$1.formatMessage({
246
236
  id: 'runbox.runtime.message.lxp_plan_required'
247
237
  })
@@ -306,7 +296,7 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
306
296
  onRunboxRefetchRequest: refetch,
307
297
  onRunboxRunningIdChange: onRunboxRunningIdChange,
308
298
  children: jsxRuntime.jsx(StyledRunboxContainer, {
309
- children: jsxRuntime.jsx(edsXSnackbar.SnackbarProvider, {
299
+ children: jsxRuntime.jsx(muiXSnackbar.SnackbarProvider, {
310
300
  domRoot: snackbarRoot !== null && snackbarRoot !== void 0 ? snackbarRoot : document.body,
311
301
  classes: {
312
302
  containerRoot: SNACKBAR_CONTAINER_CLASS
@@ -7,13 +7,13 @@ var _styled = require('@emotion/styled/base');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var React = require('react');
9
9
  var apiClient = require('@elice/api-client');
10
- var edsKit = require('@elice/eds-kit');
11
- var edsMaterial = require('@elice/eds-material');
12
10
  var intl = require('@elice/intl');
13
11
  var materialSharedUtils = require('@elice/material-shared-utils');
12
+ var muiElements = require('@elice/mui-elements');
14
13
  var runboxClient = require('@elice/runbox-client');
15
14
  var types = require('@elice/types');
16
15
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
16
+ var material = require('@mui/material');
17
17
  var reactQuery = require('@tanstack/react-query');
18
18
  var MaterialRunboxActionDisconnect = require('./actions/MaterialRunboxActionDisconnect.js');
19
19
  var MaterialRunboxActionGrade = require('./actions/MaterialRunboxActionGrade.js');
@@ -125,7 +125,7 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
125
125
  if (isLeaderboardSubmitInfoLoading || remainSubmitCount === null) {
126
126
  return null;
127
127
  }
128
- return jsxRuntime.jsx(edsKit.Tag, {
128
+ return jsxRuntime.jsx(muiElements.Tag, {
129
129
  label: intl$1.formatMessage({
130
130
  id: 'runbox.header.submitInfo'
131
131
  }, {
@@ -171,16 +171,16 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
171
171
  */
172
172
  var renderOptionMenu = function renderOptionMenu() {
173
173
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
174
- children: [isSmallTabletOrSmaller ? jsxRuntime.jsx(edsMaterial.IconButton, {
174
+ children: [isSmallTabletOrSmaller ? jsxRuntime.jsx(material.IconButton, {
175
175
  size: "small",
176
176
  disabled: !isRunboxRunning,
177
177
  onClick: handleMenuButtonClick,
178
- children: jsxRuntime.jsx(edsKit.FaIcon, {
178
+ children: jsxRuntime.jsx(muiElements.EliceIcon, {
179
179
  icon: proSolidSvgIcons.faEllipsisVertical
180
180
  })
181
- }) : jsxRuntime.jsx(edsMaterial.Button, {
181
+ }) : jsxRuntime.jsx(material.Button, {
182
182
  disabled: !isRunboxRunning,
183
- startIcon: jsxRuntime.jsx(edsKit.FaIcon, {
183
+ startIcon: jsxRuntime.jsx(muiElements.EliceIcon, {
184
184
  icon: proSolidSvgIcons.faEllipsisVertical
185
185
  }),
186
186
  color: "inherit",
@@ -231,13 +231,11 @@ var MaterialRunboxHeader = function MaterialRunboxHeader(_ref4) {
231
231
  runtimeTemplateId: runtimeTemplate.id,
232
232
  courseId: courseId,
233
233
  userId: studentUserId
234
- }), jsxRuntime.jsxs(edsMaterial.Stack, {
234
+ }), jsxRuntime.jsxs(material.Stack, {
235
235
  direction: "row",
236
- sx: {
237
- marginLeft: 'auto',
238
- gap: '0.5rem',
239
- alignItems: 'center'
240
- },
236
+ alignItems: "center",
237
+ gap: "0.5rem",
238
+ marginLeft: "auto",
241
239
  children: [renderHeaderSubmitInfo(), renderOptionMenu(), renderHeaderActionDisconnect(), renderHeaderActionGrade()]
242
240
  })]
243
241
  });
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
- var edsMaterial = require('@elice/eds-material');
8
7
  var intl = require('@elice/intl');
8
+ var material = require('@mui/material');
9
9
  var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
@@ -16,7 +16,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
16
16
  //
17
17
  //
18
18
  //
19
- var StyledFormControlLabel = /*#__PURE__*/_styled__default.default(edsMaterial.FormControlLabel, {
19
+ var StyledFormControlLabel = /*#__PURE__*/_styled__default.default(material.FormControlLabel, {
20
20
  target: "e1ket70c0"
21
21
  })("production" === "production" ? {
22
22
  name: "1ep9nyp",
@@ -57,7 +57,7 @@ var MaterialRunboxActionAutoShutdown = function MaterialRunboxActionAutoShutdown
57
57
  //
58
58
  //
59
59
  //
60
- return jsxRuntime.jsx(edsMaterial.Tooltip, {
60
+ return jsxRuntime.jsx(material.Tooltip, {
61
61
  title: intl$1.formatMessage({
62
62
  id: 'runbox.action.autoShutdown.tooltip'
63
63
  }, {
@@ -68,7 +68,7 @@ var MaterialRunboxActionAutoShutdown = function MaterialRunboxActionAutoShutdown
68
68
  })
69
69
  }),
70
70
  children: jsxRuntime.jsx(StyledFormControlLabel, {
71
- control: jsxRuntime.jsx(edsMaterial.Switch, {
71
+ control: jsxRuntime.jsx(material.Switch, {
72
72
  checked: !(runtime === null || runtime === void 0 ? void 0 : runtime.autoShutdown),
73
73
  disabled: !runtime || runtimeTemplate.autoShutdown,
74
74
  onChange: handleAction
@@ -76,7 +76,7 @@ var MaterialRunboxActionAutoShutdown = function MaterialRunboxActionAutoShutdown
76
76
  label: intl$1.formatMessage({
77
77
  id: 'runbox.action.autoShutdown.title'
78
78
  }),
79
- slotProps: {
79
+ componentsProps: {
80
80
  typography: {
81
81
  variant: 'body2'
82
82
  }
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
- var edsKit = require('@elice/eds-kit');
9
- var edsMaterial = require('@elice/eds-material');
10
8
  var intl = require('@elice/intl');
9
+ var muiElements = require('@elice/mui-elements');
11
10
  var runboxClient = require('@elice/runbox-client');
12
11
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
12
+ var material = require('@mui/material');
13
13
  var MaterialRunboxActionDisconnectDialog = require('./MaterialRunboxActionDisconnectDialog.js');
14
14
  var useBreakpoint = require('../../shared/hooks/useBreakpoint.js');
15
15
  var MaterialRunboxControlContext = require('../contexts/MaterialRunboxControlContext.js');
@@ -52,23 +52,23 @@ var MaterialRunboxActionDisconnect = function MaterialRunboxActionDisconnect() {
52
52
  */
53
53
  var renderActionButton = function renderActionButton() {
54
54
  if (isSmallTabletOrSmaller) {
55
- return jsxRuntime.jsx(edsMaterial.Tooltip, {
55
+ return jsxRuntime.jsx(material.Tooltip, {
56
56
  title: intl$1.formatMessage({
57
57
  id: 'runbox.action.disconnect.title'
58
58
  }),
59
59
  children: jsxRuntime.jsx("span", {
60
- children: jsxRuntime.jsx(edsMaterial.IconButton, {
60
+ children: jsxRuntime.jsx(material.IconButton, {
61
61
  size: "small",
62
62
  disabled: isRunboxTerminated,
63
63
  onClick: handleClickAction,
64
- children: jsxRuntime.jsx(edsKit.FaIcon, {
64
+ children: jsxRuntime.jsx(muiElements.EliceIcon, {
65
65
  icon: proSolidSvgIcons.faLinkSlash
66
66
  })
67
67
  })
68
68
  })
69
69
  });
70
70
  }
71
- return jsxRuntime.jsx(edsMaterial.Button, {
71
+ return jsxRuntime.jsx(material.Button, {
72
72
  disabled: isRunboxTerminated,
73
73
  variant: "contained",
74
74
  color: "inherit",
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var jsxRuntime = require('react/jsx-runtime');
6
- var edsMaterial = require('@elice/eds-material');
7
6
  var intl = require('@elice/intl');
7
+ var material = require('@mui/material');
8
8
 
9
9
  var MaterialRunboxActionDisconnectDialog = function MaterialRunboxActionDisconnectDialog(_ref) {
10
10
  var open = _ref.open,
@@ -26,31 +26,29 @@ var MaterialRunboxActionDisconnectDialog = function MaterialRunboxActionDisconne
26
26
  //
27
27
  //
28
28
  //
29
- return jsxRuntime.jsxs(edsMaterial.Dialog, {
29
+ return jsxRuntime.jsxs(material.Dialog, {
30
30
  open: open,
31
31
  onClose: onClose,
32
- children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
32
+ children: [jsxRuntime.jsx(material.DialogTitle, {
33
33
  children: intl$1.formatMessage({
34
34
  id: 'runbox.action.disconnect.dialog.title'
35
35
  })
36
- }), jsxRuntime.jsx(edsMaterial.DialogContent, {
37
- children: jsxRuntime.jsx(edsMaterial.Typography, {
38
- sx: {
39
- whiteSpace: 'pre-line'
40
- },
36
+ }), jsxRuntime.jsx(material.DialogContent, {
37
+ children: jsxRuntime.jsx(material.Typography, {
38
+ whiteSpace: "pre-line",
41
39
  children: intl$1.formatMessage({
42
40
  id: 'runbox.action.disconnect.dialog.description'
43
41
  })
44
42
  })
45
- }), jsxRuntime.jsxs(edsMaterial.DialogActions, {
46
- children: [jsxRuntime.jsx(edsMaterial.Button, {
43
+ }), jsxRuntime.jsxs(material.DialogActions, {
44
+ children: [jsxRuntime.jsx(material.Button, {
47
45
  variant: "contained",
48
46
  color: "inherit",
49
47
  onClick: handleClickClose,
50
48
  children: intl$1.formatMessage({
51
49
  id: 'runbox.common.close'
52
50
  })
53
- }), jsxRuntime.jsx(edsMaterial.Button, {
51
+ }), jsxRuntime.jsx(material.Button, {
54
52
  variant: "contained",
55
53
  color: "primary",
56
54
  onClick: handleClickDisconnect,
@@ -5,11 +5,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
- var edsKit = require('@elice/eds-kit');
9
- var edsMaterial = require('@elice/eds-material');
10
8
  var intl = require('@elice/intl');
9
+ var muiElements = require('@elice/mui-elements');
11
10
  var runboxClient = require('@elice/runbox-client');
12
11
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
12
+ var lab = require('@mui/lab');
13
+ var material = require('@mui/material');
13
14
  var MaterialRunboxActionDisconnectDialog = require('./MaterialRunboxActionDisconnectDialog.js');
14
15
  var MaterialRunboxControlContext = require('../contexts/MaterialRunboxControlContext.js');
15
16
 
@@ -56,20 +57,20 @@ var MaterialRunboxActionDisconnectMenuItem = function MaterialRunboxActionDiscon
56
57
  //
57
58
  //
58
59
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
59
- children: [jsxRuntime.jsxs(edsMaterial.MenuItem, {
60
+ children: [jsxRuntime.jsxs(material.MenuItem, {
60
61
  fullWidth: true,
61
- component: edsMaterial.Button,
62
+ component: lab.LoadingButton,
62
63
  color: "inherit",
63
64
  loading: isStopping,
64
65
  disabled: isRunboxTerminated,
65
66
  onClick: function onClick() {
66
67
  return setDisconnectDialogOpen(true);
67
68
  },
68
- children: [jsxRuntime.jsx(edsMaterial.ListItemIcon, {
69
- children: jsxRuntime.jsx(edsKit.FaIcon, {
69
+ children: [jsxRuntime.jsx(material.ListItemIcon, {
70
+ children: jsxRuntime.jsx(muiElements.EliceIcon, {
70
71
  icon: proSolidSvgIcons.faLinkSlash
71
72
  })
72
- }), jsxRuntime.jsx(edsMaterial.ListItemText, {
73
+ }), jsxRuntime.jsx(material.ListItemText, {
73
74
  children: intl$1.formatMessage({
74
75
  id: 'runbox.action.disconnect.title'
75
76
  })
@@ -7,12 +7,13 @@ var _styled = require('@emotion/styled/base');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
  var React = require('react');
9
9
  var reactTransitionGroup = require('react-transition-group');
10
- var edsMaterial = require('@elice/eds-material');
11
- var edsXSnackbar = require('@elice/eds-x-snackbar');
12
10
  var intl = require('@elice/intl');
11
+ var muiXSnackbar = require('@elice/mui-x-snackbar');
13
12
  var openapiClientMaterialRunbox = require('@elice/openapi-client-material-runbox');
14
13
  var runboxClient = require('@elice/runbox-client');
15
14
  var iconsMaterial = require('@mui/icons-material');
15
+ var lab = require('@mui/lab');
16
+ var material = require('@mui/material');
16
17
  var reactQuery = require('@tanstack/react-query');
17
18
  var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
18
19
  var MaterialRunboxCommandContext = require('../contexts/MaterialRunboxCommandContext.js');
@@ -47,7 +48,7 @@ var TRANSITION_STYLE_MAP = {
47
48
  //
48
49
  //
49
50
  //
50
- var StyledMainActionButton = /*#__PURE__*/_styled__default.default(edsMaterial.Button, {
51
+ var StyledMainActionButton = /*#__PURE__*/_styled__default.default(lab.LoadingButton, {
51
52
  target: "eae460y2"
52
53
  })("production" === "production" ? {
53
54
  name: "tssn5p",
@@ -57,7 +58,7 @@ var StyledMainActionButton = /*#__PURE__*/_styled__default.default(edsMaterial.B
57
58
  styles: "min-width:4rem!important",
58
59
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
59
60
  });
60
- var StyledSubActionButton = /*#__PURE__*/_styled__default.default(edsMaterial.Button, {
61
+ var StyledSubActionButton = /*#__PURE__*/_styled__default.default(material.Button, {
61
62
  target: "eae460y1"
62
63
  })("transition:max-width ", TRANSITION_DURATION, "ms cubic-bezier(0.25, 0.46, 0.45, 1);");
63
64
  var StyledTerminal = /*#__PURE__*/_styled__default.default("textarea", {
@@ -83,7 +84,7 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
83
84
  courseId = _ref5.courseId;
84
85
  var _a;
85
86
  var intl$1 = intl.useRawEliceIntl();
86
- var _useSnackbar = edsXSnackbar.useSnackbar(),
87
+ var _useSnackbar = muiXSnackbar.useSnackbar(),
87
88
  enqueueSnackbar = _useSnackbar.enqueueSnackbar;
88
89
  var materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
89
90
  var _useMaterialRunboxCom = MaterialRunboxCommandContext.useMaterialRunboxCommandContext(),
@@ -247,10 +248,10 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
247
248
  }
248
249
  return '';
249
250
  };
250
- return jsxRuntime.jsx(edsMaterial.Tooltip, {
251
+ return jsxRuntime.jsx(material.Tooltip, {
251
252
  title: getActionTooltipMessage(),
252
253
  placement: "bottom-end",
253
- children: jsxRuntime.jsxs(edsMaterial.ButtonGroup, {
254
+ children: jsxRuntime.jsxs(material.ButtonGroup, {
254
255
  variant: "contained",
255
256
  children: [jsxRuntime.jsx(StyledMainActionButton, {
256
257
  variant: "contained",
@@ -272,7 +273,7 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
272
273
  disabled: isLastCommandRunning,
273
274
  style: TRANSITION_STYLE_MAP[state],
274
275
  onClick: handleGradeResultDialogOpen,
275
- children: jsxRuntime.jsx(edsMaterial.Badge, {
276
+ children: jsxRuntime.jsx(material.Badge, {
276
277
  color: "error",
277
278
  variant: "dot",
278
279
  invisible: !hasUnreadResult,
@@ -293,26 +294,24 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
293
294
  if ((lastCommand === null || lastCommand === void 0 ? void 0 : lastCommand.commandType) !== openapiClientMaterialRunbox.CommandType.Grade) {
294
295
  return null;
295
296
  }
296
- return jsxRuntime.jsxs(edsMaterial.Dialog, {
297
+ return jsxRuntime.jsxs(material.Dialog, {
297
298
  fullWidth: true,
298
299
  open: isGradeResultDialogOpen,
299
300
  maxWidth: "md",
300
301
  onClose: handleGradeResultDialogClose,
301
- children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
302
+ children: [jsxRuntime.jsx(material.DialogTitle, {
302
303
  children: intl$1.formatMessage({
303
304
  id: 'runbox.action.grade.dialog.title'
304
305
  })
305
- }), jsxRuntime.jsx(edsMaterial.DialogContent, {
306
- children: jsxRuntime.jsxs(edsMaterial.Stack, {
307
- sx: {
308
- gap: '0.75rem'
309
- },
310
- children: [lastCommand.terminatedReason === 'done' ? jsxRuntime.jsx(edsMaterial.Alert, {
306
+ }), jsxRuntime.jsx(material.DialogContent, {
307
+ children: jsxRuntime.jsxs(material.Stack, {
308
+ gap: "0.75rem",
309
+ children: [lastCommand.terminatedReason === 'done' ? jsxRuntime.jsx(material.Alert, {
311
310
  severity: "success",
312
311
  children: intl$1.formatMessage({
313
312
  id: 'runbox.action.grade.dialog.description.success'
314
313
  })
315
- }) : jsxRuntime.jsx(edsMaterial.Alert, {
314
+ }) : jsxRuntime.jsx(material.Alert, {
316
315
  severity: "error",
317
316
  sx: {
318
317
  whiteSpace: 'pre-line'
@@ -326,8 +325,8 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
326
325
  rows: 20
327
326
  })]
328
327
  })
329
- }), jsxRuntime.jsx(edsMaterial.DialogActions, {
330
- children: jsxRuntime.jsx(edsMaterial.Button, {
328
+ }), jsxRuntime.jsx(material.DialogActions, {
329
+ children: jsxRuntime.jsx(material.Button, {
331
330
  color: "inherit",
332
331
  disabled: isActionLoading,
333
332
  onClick: handleGradeResultDialogClose,
@@ -342,23 +341,23 @@ var MaterialRunboxActionGrade = function MaterialRunboxActionGrade(_ref5) {
342
341
  *
343
342
  */
344
343
  var renderActionSubmitCountInfoDialog = function renderActionSubmitCountInfoDialog() {
345
- return jsxRuntime.jsxs(edsMaterial.Dialog, {
344
+ return jsxRuntime.jsxs(material.Dialog, {
346
345
  fullWidth: true,
347
346
  maxWidth: "xs",
348
347
  open: isSubmitCountInfoDialogOpen,
349
348
  onClick: handleSubmitCountInfoDialogClose,
350
- children: [jsxRuntime.jsx(edsMaterial.DialogTitle, {
349
+ children: [jsxRuntime.jsx(material.DialogTitle, {
351
350
  children: intl$1.formatMessage({
352
351
  id: 'runbtox.action.submitCountInfo.dialog.title'
353
352
  })
354
- }), jsxRuntime.jsx(edsMaterial.DialogContent, {
355
- children: jsxRuntime.jsx(edsMaterial.Typography, {
353
+ }), jsxRuntime.jsx(material.DialogContent, {
354
+ children: jsxRuntime.jsx(material.Typography, {
356
355
  children: intl$1.formatMessage({
357
356
  id: 'runbox.action.submitCountInfo.dialog.description'
358
357
  })
359
358
  })
360
- }), jsxRuntime.jsx(edsMaterial.DialogActions, {
361
- children: jsxRuntime.jsx(edsMaterial.Button, {
359
+ }), jsxRuntime.jsx(material.DialogActions, {
360
+ children: jsxRuntime.jsx(material.Button, {
362
361
  color: "inherit",
363
362
  onClick: handleSubmitCountInfoDialogClose,
364
363
  children: intl$1.formatMessage({